/*
Theme Name: SoulWoods
Theme URI: https://www.soulwoods.co/
Author: SoulWoods
Description: A simple, modern block theme for SoulWoods — charcoal, linen and walnut, with room for a shop.
Version: 1.2.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soulwoods
*/

/* ---------- Small labels ("eyebrows") ---------- */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
	line-height: 1.4;
}
.sw-dark .is-style-eyebrow { color: var(--wp--preset--color--tan); }

/* ---------- Dark sections ---------- */
.sw-dark a:where(:not(.wp-element-button)) { color: inherit; }
.sw-soft { color: var(--wp--preset--color--fog); }
.sw-dark .sw-muted { color: var(--wp--preset--color--fog); }
.sw-walnut-section .sw-soft { color: #E4D6C8; }
.sw-muted { color: var(--wp--preset--color--umber); }
.sw-quiet { color: var(--wp--preset--color--taupe); }

/* ---------- Header ---------- */
.sw-header a { text-decoration: none; }
.sw-header .wp-block-site-title a { color: inherit; }
.sw-header .wp-block-navigation a:hover,
.sw-header .wp-block-navigation .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; }
.sw-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--linen);
}
.sw-header .wp-block-site-title { white-space: nowrap; }
@media (max-width: 781px) {
	.sw-header .wp-block-buttons.sw-header-cta { display: none !important; }
}
@media (max-width: 480px) {
	.sw-header .wp-block-site-title { font-size: 1.15rem; letter-spacing: 0.22em; }
}

/* ---------- Buttons ---------- */
.wp-block-button.is-style-walnut .wp-block-button__link { background: var(--wp--preset--color--walnut); color: var(--wp--preset--color--linen); }
.wp-block-button.is-style-walnut .wp-block-button__link:hover { background: var(--wp--preset--color--walnut-deep); }
.wp-block-button.is-style-light .wp-block-button__link { background: var(--wp--preset--color--linen); color: var(--wp--preset--color--charcoal); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #ffffff; }
.wp-block-button.is-style-outline-light .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--linen);
	border: 1px solid var(--wp--preset--color--linen);
	padding: 0.85rem 1.4rem;
	font-size: 0.75rem;
}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: var(--wp--preset--color--linen); color: var(--wp--preset--color--charcoal); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--charcoal); border: 1px solid var(--wp--preset--color--charcoal); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--charcoal); color: var(--wp--preset--color--linen); }

/* ---------- Photos ---------- */
.sw-photo { margin: 0; }
.sw-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.sw-tall img { aspect-ratio: 4 / 5; }
.sw-wide img { aspect-ratio: 16 / 11; }
.sw-square img { aspect-ratio: 1 / 1; }
.sw-feature img { aspect-ratio: 7 / 6; }

/* Hero */
.wp-block-cover.sw-hero { padding-left: var(--wp--preset--spacing--40); padding-right: var(--wp--preset--spacing--40); }
.sw-hero .wp-block-cover__inner-container { width: 100%; max-width: var(--wp--style--global--wide-size); margin-inline: auto; }

/* ---------- Captions under photos ---------- */
.sw-caption { font-size: 0.9375rem; }
.sw-caption p { margin: 0; }

/* ---------- Badges ---------- */
.sw-badge {
	display: inline-block;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: var(--wp--preset--color--stone);
	font-size: 0.75rem;
	font-weight: 600;
}

/* ---------- Ruled lists (commitment, shop info) ---------- */
.sw-rule { border-top: 1px solid rgba(243, 240, 235, 0.28); padding-block: 1.6rem; }
.sw-rule:last-child { border-bottom: 1px solid rgba(243, 240, 235, 0.28); }
.sw-rule-light { border-top: 1px solid #CFC8BF; border-bottom: 1px solid #CFC8BF; }
.sw-number { font-family: var(--wp--preset--font-family--display); color: var(--wp--preset--color--tan); min-width: 2rem; }

/* ---------- Form placeholder ---------- */
.sw-form-placeholder {
	border: 1px dashed var(--wp--preset--color--taupe);
	border-radius: 12px;
	padding: 2.5rem;
	text-align: center;
	color: var(--wp--preset--color--taupe);
}

/* ---------- Footer ---------- */
.sw-footer a { text-decoration: none; }
.sw-footer a:hover { text-decoration: underline; }
.sw-footer .wp-block-site-title { font-size: 1.75rem; }
.sw-footer-bottom { border-top: 1px solid #3A3835; }
