/* ==========================================================================
   Feng Shui Today — Soledad child theme
   Palette: jade / gold / ivory / ink (overridable in the Customizer)
   Type:    Playfair Display (display) + Montserrat (text)
   ========================================================================== */

:root {
	--fst-jade: #0f3b2e;
	--fst-gold: #b8933e;
	--fst-ivory: #f7f4ec;
	--fst-ink: #1d2724;
	--fst-muted: #6b746f;
	--fst-line: #e3ded2;
	--fst-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--fst-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--fst-max: 1240px;
	--fst-gap: 32px;
}

/* --------------------------------------------------------------------------
   Global typography over Soledad (Soledad's Customizer fonts can match these)
   ----------------------------------------------------------------------- */
body.fst-site {
	font-family: var(--fst-sans);
	color: var(--fst-ink);
	-webkit-font-smoothing: antialiased;
}
body.fst-site h1, body.fst-site h2, body.fst-site h3, body.fst-site h4,
body.fst-site .entry-title, body.fst-site .post-title,
body.fst-site .penci-entry-title, body.fst-site .penci-post-box-meta .entry-title {
	font-family: var(--fst-serif);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--fst-ink);
}
body.fst-site a:hover { color: var(--fst-gold); }
body.fst-site .entry-content a, body.fst-site .post-entry a { color: var(--fst-jade); text-decoration-color: var(--fst-gold); }

/* Soledad navigation and widget headings */
body.fst-site #navigation .menu > li > a,
body.fst-site .main-navigation > ul > li > a {
	font-family: var(--fst-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}
body.fst-site #navigation .menu > li > a:hover,
body.fst-site #navigation .menu > li.current-menu-item > a { color: var(--fst-gold); }
body.fst-site .penci-border-arrow .inner-arrow,
body.fst-site .widget-title {
	font-family: var(--fst-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--fst-ink);
}
body.fst-site .cat > a.penci-cat-name,
body.fst-site .penci-cat-name {
	font-family: var(--fst-sans);
	color: var(--fst-gold);
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 600;
}
body.fst-site .post-entry blockquote,
body.fst-site .entry-content blockquote {
	border-left: 3px solid var(--fst-gold);
	font-family: var(--fst-serif);
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Layout primitives
   ----------------------------------------------------------------------- */
.fst-home-wrap { width: 100%; overflow: hidden; }
.fst-container { max-width: var(--fst-max); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.fst-narrow { max-width: 760px; }
.fst-section { padding: 72px 0; }
.fst-section + .fst-section { padding-top: 0; }
.fst-catrow--alt { background: var(--fst-ivory); padding-top: 72px !important; }
.fst-catrow--alt + .fst-section { padding-top: 72px; }

.fst-grid { display: grid; gap: var(--fst-gap); }
.fst-grid--1 { grid-template-columns: 1fr; }
.fst-grid--2 { grid-template-columns: repeat(2, 1fr); }
.fst-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fst-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   Kickers, headings, buttons
   ----------------------------------------------------------------------- */
.fst-kicker {
	display: inline-block;
	font-family: var(--fst-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--fst-gold);
	text-decoration: none;
	margin-bottom: 10px;
}
.fst-kicker--light { color: #fff; }
.fst-kicker--gold { color: var(--fst-gold); }

.fst-heading {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	border-bottom: 1px solid var(--fst-line);
	padding-bottom: 14px;
	margin-bottom: 32px;
}
.fst-heading .fst-kicker { grid-column: 1 / -1; margin-bottom: 4px; }
.fst-heading__title { font-family: var(--fst-serif) !important; font-size: 34px; line-height: 1.15; margin: 0 !important; }
.fst-heading__title a { color: inherit; text-decoration: none; }
.fst-heading__more {
	font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	color: var(--fst-ink); text-decoration: none; border-bottom: 1px solid var(--fst-gold); padding-bottom: 2px;
}
.fst-heading--center { display: block; text-align: center; border: 0; }

.fst-btn {
	display: inline-block;
	font-family: var(--fst-sans);
	font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	padding: 15px 28px; border: 1px solid transparent; text-decoration: none !important;
	transition: background .2s, color .2s, border-color .2s;
}
.fst-btn--gold { background: var(--fst-gold); color: #fff !important; }
.fst-btn--gold:hover { background: #fff; color: var(--fst-jade) !important; }
.fst-btn--light { background: #fff; color: var(--fst-ink) !important; }
.fst-btn--light:hover { background: var(--fst-gold); color: #fff !important; }
.fst-btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff !important; }
.fst-btn--outline-light:hover { border-color: var(--fst-gold); color: var(--fst-gold) !important; }
.fst-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* --------------------------------------------------------------------------
   Cards
   ----------------------------------------------------------------------- */
.fst-card { display: flex; flex-direction: column; }
.fst-card__media { display: block; overflow: hidden; aspect-ratio: 10 / 7; background: var(--fst-ivory); margin-bottom: 18px; }
.fst-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.fst-card:hover .fst-card__media img { transform: scale(1.04); }
.fst-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--fst-ivory), var(--fst-line)); }
.fst-card__title { font-family: var(--fst-serif) !important; font-size: 22px; line-height: 1.25; margin: 0 0 10px !important; font-weight: 500; }
.fst-card__title a { color: var(--fst-ink); text-decoration: none; }
.fst-card__title a:hover { color: var(--fst-jade); }
.fst-card__excerpt { font-size: 14px; line-height: 1.65; color: var(--fst-muted); margin: 0 0 12px; }
.fst-card__meta { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fst-muted); display: flex; gap: 10px; }
.fst-card__meta > * + *::before { content: "·"; margin-right: 10px; color: var(--fst-gold); }

.fst-card--wide .fst-card__media { aspect-ratio: 16 / 10; }
.fst-card--wide .fst-card__title { font-size: 34px; }
.fst-card--wide .fst-card__excerpt { font-size: 15px; }

.fst-card--list { flex-direction: row; gap: 18px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--fst-line); }
.fst-card--list:last-child { border-bottom: 0; }
.fst-card--list .fst-card__media { flex: 0 0 120px; aspect-ratio: 1; margin: 0; }
.fst-card--list .fst-card__title { font-size: 19px; }

/* --------------------------------------------------------------------------
   Hero slider
   ----------------------------------------------------------------------- */
.fst-hero { position: relative; height: min(78vh, 760px); min-height: 460px; background: var(--fst-jade); color: #fff; }
.fst-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.fst-hero__slide.is-active { opacity: 1; visibility: visible; }
.fst-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fst-hero__slide::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,25,20,0) 35%, rgba(10,25,20,.78) 100%);
}
.fst-hero__caption {
	position: absolute; z-index: 2; left: 50%; bottom: 72px; transform: translateX(-50%);
	width: min(900px, 90%); text-align: center;
}
.fst-hero__title { font-family: var(--fst-serif) !important; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.08; margin: 0 0 16px !important; font-weight: 500; }
.fst-hero__title a { color: #fff !important; text-decoration: none; }
.fst-hero__excerpt { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.88); margin: 0 auto 26px; max-width: 640px; }
.fst-hero__dots { position: absolute; z-index: 3; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.fst-hero__dot { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.fst-hero__dot.is-active { background: var(--fst-gold); }

/* --------------------------------------------------------------------------
   Feature block
   ----------------------------------------------------------------------- */
.fst-feature__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
.fst-feature__list { display: flex; flex-direction: column; gap: 22px; }

/* --------------------------------------------------------------------------
   Current edition band
   ----------------------------------------------------------------------- */
.fst-edition-band { background: var(--fst-jade); color: #fff; padding: 88px 0; position: relative; }
.fst-edition-band::before {
	content: ""; position: absolute; inset: 18px; border: 1px solid rgba(184,147,62,.35); pointer-events: none;
}
.fst-edition-band__inner { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
.fst-edition-band__cover { display: block; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-1.5deg); transition: transform .4s; }
.fst-edition-band__cover:hover { transform: rotate(0); }
.fst-edition-band__cover img { width: 100%; height: auto; display: block; aspect-ratio: 210 / 297; object-fit: cover; }
.fst-edition-band__title { font-family: var(--fst-serif) !important; font-size: clamp(34px, 4vw, 54px); line-height: 1.1; color: #fff !important; margin: 0 0 18px !important; font-weight: 500; }
.fst-edition-band__excerpt { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.85); max-width: 560px; }
.fst-edition-band__lines { list-style: none; margin: 22px 0 0; padding: 0; columns: 2; column-gap: 32px; }
.fst-edition-band__lines li {
	break-inside: avoid; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18);
	font-family: var(--fst-serif); font-size: 18px; color: #fff;
}

/* --------------------------------------------------------------------------
   Editions carousel + archive grid
   ----------------------------------------------------------------------- */
.fst-carousel { position: relative; }
.fst-carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 28px) / 5);
	gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
}
.fst-carousel__track::-webkit-scrollbar { display: none; }
.fst-carousel__btn {
	position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--fst-line); background: #fff; color: var(--fst-ink); font-size: 26px; line-height: 1; cursor: pointer;
	box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.fst-carousel__btn--prev { left: -22px; }
.fst-carousel__btn--next { right: -22px; }
.fst-carousel__btn[disabled] { opacity: 0; pointer-events: none; }

.fst-cover { display: block; text-decoration: none !important; scroll-snap-align: start; color: var(--fst-ink); }
.fst-cover__img { display: block; aspect-ratio: 210 / 297; overflow: hidden; background: var(--fst-ivory); box-shadow: 0 10px 24px rgba(0,0,0,.12); transition: transform .3s, box-shadow .3s; }
.fst-cover__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fst-cover:hover .fst-cover__img { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(0,0,0,.18); }
.fst-cover__label { display: block; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fst-gold); }
.fst-cover__title { display: block; margin-top: 4px; font-family: var(--fst-serif); font-size: 19px; }
.fst-covers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; }

/* --------------------------------------------------------------------------
   Page header (archives)
   ----------------------------------------------------------------------- */
.fst-page-head { background: var(--fst-jade); color: #fff; text-align: center; padding: 88px 0 72px; }
.fst-page-head__title { font-family: var(--fst-serif) !important; color: #fff !important; font-size: clamp(40px, 5vw, 64px); margin: 0 0 12px !important; font-weight: 500; }
.fst-page-head__text { color: rgba(255,255,255,.82); font-size: 16px; margin: 0; }

/* --------------------------------------------------------------------------
   Tools band, newsletter, Instagram
   ----------------------------------------------------------------------- */
.fst-tools-band { background: var(--fst-ink); color: #fff; padding: 56px 0; }
.fst-tools-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.fst-tools-band__title { font-family: var(--fst-serif) !important; color: #fff !important; font-size: 30px; margin: 0 0 8px !important; font-weight: 500; }
.fst-tools-band p { color: rgba(255,255,255,.78); margin: 0; max-width: 680px; line-height: 1.6; }

.fst-newsletter { background: var(--fst-ivory); padding: 80px 0; text-align: center; border-top: 1px solid var(--fst-line); }
.fst-newsletter__inner { max-width: 720px; }
.fst-newsletter__title { font-family: var(--fst-serif) !important; font-size: 38px; margin: 0 0 10px !important; font-weight: 500; }
.fst-newsletter__text { color: var(--fst-muted); margin: 0 0 26px; }
.fst-newsletter__form input[type="email"], .fst-newsletter__form input[type="text"] {
	border: 1px solid var(--fst-line); background: #fff; padding: 14px 16px; font-family: var(--fst-sans); min-width: 280px;
}
.fst-newsletter__form input[type="submit"], .fst-newsletter__form button {
	background: var(--fst-jade); color: #fff; border: 0; padding: 15px 28px; font-family: var(--fst-sans);
	font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
}
.fst-admin-note { font-size: 13px; color: var(--fst-muted); border: 1px dashed var(--fst-gold); padding: 12px; display: inline-block; }

/* --------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.fst-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.fst-covers-grid { grid-template-columns: repeat(3, 1fr); }
	.fst-carousel__track { grid-auto-columns: calc((100% - 2 * 28px) / 3); }
	.fst-edition-band__inner { grid-template-columns: 280px 1fr; gap: 48px; }
}
@media (max-width: 820px) {
	.fst-section { padding: 52px 0; }
	.fst-grid--3, .fst-grid--2 { grid-template-columns: 1fr 1fr; }
	.fst-feature__grid { grid-template-columns: 1fr; gap: 32px; }
	.fst-edition-band__inner { grid-template-columns: 1fr; text-align: center; }
	.fst-edition-band__cover { max-width: 260px; margin: 0 auto; }
	.fst-edition-band__lines { columns: 1; text-align: left; }
	.fst-btn-row { justify-content: center; }
	.fst-tools-band__inner { flex-direction: column; align-items: flex-start; }
	.fst-heading__title { font-size: 28px; }
	.fst-carousel__btn { display: none; }
}
@media (max-width: 560px) {
	.fst-grid--4, .fst-grid--3, .fst-grid--2 { grid-template-columns: 1fr; }
	.fst-covers-grid { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
	.fst-carousel__track { grid-auto-columns: 62%; }
	.fst-hero { min-height: 520px; }
	.fst-hero__caption { bottom: 64px; }
	.fst-card--wide .fst-card__title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.fst-hero__slide, .fst-card__media img, .fst-cover__img, .fst-edition-band__cover { transition: none; }
}
