/* Sacred Flame Podcast — uses Astra's global palette so colours follow the Customizer. */
:root {
	--sf-plum: var(--ast-global-color-0, #2b1247);
	--sf-violet: var(--ast-global-color-1, #7215b5);
	--sf-text: var(--ast-global-color-3, #3e3550);
	--sf-mist: var(--ast-global-color-4, #f7f4fb);
	--sf-soft: var(--ast-global-color-6, #ece6f6);
	--sf-lav: var(--ast-global-color-7, #c6badf);
	--sf-muted: #5d5470;
	--sf-radius: 14px;
	--sf-shadow: 0 10px 30px rgba(20, 16, 28, .06);
}

.sf-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; color: var(--sf-violet); margin: 0 0 .3em; }
.sf-meta { font-size: .85rem; color: var(--sf-muted); margin: 0 0 .6em; }
.sf-also { font-size: .8rem; color: var(--sf-muted); margin-top: .6em; }
.sf-also a { font-weight: 600; }

.sf-btn { display: inline-block; padding: .75em 1.5em; border-radius: 999px; background: var(--sf-plum); color: #fff !important; font-weight: 600; font-size: .9rem; text-decoration: none !important; transition: background .2s; }
.sf-btn:hover { background: var(--sf-violet); }
.sf-btn--ghost { background: transparent; color: var(--sf-plum) !important; border: 2px solid var(--sf-plum); }
.sf-btn--ghost:hover { background: var(--sf-plum); color: #fff !important; }

/* Player */
.sf-player { margin: .8em 0; }
.sf-player audio { width: 100%; }
.sf-player.is-ready audio { display: none; }
.sf-ui { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border-radius: var(--sf-radius); padding: 12px 16px; box-shadow: var(--sf-shadow); }
.sf-ui button { border: 0; cursor: pointer; font-family: inherit; line-height: 1; }
.sf-play { width: 52px; height: 52px; border-radius: 50%; background: var(--sf-plum); color: #fff; font-size: 1.15rem; flex: none; padding: 0; }
.sf-play:hover, .sf-play:focus-visible { background: var(--sf-violet); }
.sf-skip, .sf-speed { background: var(--sf-soft); color: var(--sf-plum); border-radius: 999px; padding: 8px 12px; font-size: .75rem; font-weight: 600; }
.sf-skip:hover, .sf-speed:hover { background: var(--sf-lav); }
.sf-bar { flex: 1; min-width: 120px; height: 6px; background: var(--sf-soft); border-radius: 6px; cursor: pointer; position: relative; }
.sf-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--sf-violet); border-radius: 6px; }
.sf-bar:focus-visible { outline: 2px solid var(--sf-violet); outline-offset: 4px; }
.sf-time { font-size: .75rem; color: var(--sf-muted); min-width: 92px; text-align: right; font-variant-numeric: tabular-nums; }

/* Single episode */
.sf-ep-top { margin-bottom: 1.6em; }
.sf-box { background: #fff; border-radius: var(--sf-radius); padding: 24px 26px; box-shadow: var(--sf-shadow); margin: 1.8em 0; }
.sf-box h2 { font-size: 1.7rem; margin: 0 0 .5em; }
.sf-chapters ol { list-style: none; margin: 0; padding: 0; }
.sf-chapters li { display: flex; gap: 14px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--sf-lav); }
.sf-ts { background: none; border: 0; padding: 0; color: var(--sf-violet); font-weight: 600; cursor: pointer; min-width: 58px; text-align: left; font-variant-numeric: tabular-nums; }
.sf-ts:hover { text-decoration: underline; }
.sf-guest-box { display: flex; gap: 22px; align-items: flex-start; }
.sf-guest-box h2 { margin-bottom: .3em; }
.sf-guest-box h2 a { text-decoration: none; }
.sf-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.sf-avatar--initials { display: grid; place-items: center; background: linear-gradient(135deg, #6b3fa0, var(--sf-plum)); color: #fff; font-size: 1.8rem; font-weight: 600; }
.sf-transcript summary { cursor: pointer; font-weight: 600; color: var(--sf-plum); }
.sf-topics-row { margin: 1.6em 0; }
.sf-topics-row .sf-eyebrow { display: inline; margin-right: 8px; }
.sf-book { background: var(--sf-plum); color: #e9e2f6; border-radius: var(--sf-radius); padding: 28px; margin: 2em 0; text-align: center; }
.sf-book h2 { color: #fff; margin: 0 0 .2em; font-size: 1.8rem; }
.sf-book p { color: #d8cdea; margin-bottom: 1em; }
.sf-book-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sf-book .sf-btn { background: var(--sf-lav); color: var(--sf-plum) !important; }
.sf-book .sf-btn:hover { background: #fff; }
.sf-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2em 0 1em; }
.sf-pn { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--sf-radius); padding: 14px; box-shadow: var(--sf-shadow); text-decoration: none !important; color: inherit; }
.sf-pn img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.sf-pn small { display: block; color: var(--sf-violet); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; }
.sf-pn b { display: block; color: var(--sf-plum); line-height: 1.25; }
.sf-pn--next { flex-direction: row-reverse; text-align: right; }

/* Chips */
.sf-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sf-chip { display: inline-block; background: #fff; border: 1.5px solid var(--sf-lav); padding: 7px 16px; border-radius: 999px; font-size: .88rem; color: var(--sf-plum) !important; text-decoration: none !important; margin: 3px 2px; transition: .2s; }
.sf-chip b { color: var(--sf-violet); margin-left: 4px; }
.sf-chip:hover { background: var(--sf-plum); border-color: var(--sf-plum); color: #fff !important; }
.sf-chip:hover b { color: var(--sf-lav); }

/* Latest episode */
.sf-latest { display: grid; grid-template-columns: 160px 1fr; gap: 26px; align-items: center; background: #fff; border-radius: var(--sf-radius); padding: 26px; box-shadow: 0 20px 50px rgba(20, 16, 28, .12); }
.sf-latest img { border-radius: 10px; width: 100%; height: auto; }
.sf-latest h3 { margin: .1em 0 .2em; }
.sf-latest h3 a { text-decoration: none; }
.sf-latest .sf-ui { box-shadow: none; padding: 6px 0 0; }

/* Episode cards */
.sf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sf-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--sf-radius); overflow: hidden; box-shadow: var(--sf-shadow); text-decoration: none !important; color: inherit; transition: transform .2s, box-shadow .2s; }
.sf-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 16, 28, .12); }
.sf-card img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.sf-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.sf-card-title { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.35rem; line-height: 1.2; color: var(--sf-plum); }
.sf-card-text { display: block; font-size: .86rem; color: var(--sf-muted); }
.sf-card-more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .84rem; color: var(--sf-violet); }

/* Guests */
.sf-guests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sf-guest-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--sf-radius); background: var(--sf-mist); text-decoration: none !important; color: inherit; transition: background .2s; }
.sf-guest-card:hover { background: var(--sf-soft); }
.sf-guest-card .sf-avatar { width: 72px; height: 72px; font-size: 1.4rem; }
.sf-guest-card > span { display: flex; flex-direction: column; gap: 4px; }
.sf-guest-head { display: flex; gap: 22px; align-items: center; text-align: left; }
.sf-guest-head .sf-avatar { width: 120px; height: 120px; }

/* Testimonials */
.sf-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.sf-quote { margin: 0; background: #fff; border-radius: var(--sf-radius); padding: 26px; box-shadow: var(--sf-shadow); display: flex; flex-direction: column; gap: 14px; }
.sf-quote blockquote { margin: 0; padding: 0; border: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; line-height: 1.45; color: var(--sf-plum); font-style: italic; }
.sf-quote blockquote::before { content: '\201C'; display: block; font-size: 3rem; line-height: .6; color: var(--sf-lav); font-style: normal; }
.sf-quote figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.sf-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sf-quote figcaption b { display: block; color: var(--sf-plum); }
.sf-quote figcaption small { color: var(--sf-muted); font-size: .78rem; }

@media (max-width: 900px) {
	.sf-grid, .sf-guests { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.sf-grid, .sf-guests, .sf-prevnext { grid-template-columns: 1fr; }
	.sf-latest { grid-template-columns: 1fr; text-align: center; }
	.sf-latest img { max-width: 170px; margin: 0 auto; }
	.sf-latest .sf-ui { justify-content: center; }
	.sf-time { width: 100%; text-align: center; }
	.sf-guest-box, .sf-guest-head { flex-direction: column; align-items: center; text-align: center; }
}

/* ===== Homepage sections (Home page built from core blocks + shortcodes) ===== */
.sf-section { padding: 80px 20px !important; margin: 0 !important; }
.sf-section-head { text-align: center; margin-bottom: 40px !important; }
.sf-section-head h2 { margin: .15em 0 0; }
.sf-section--soft { background: var(--sf-soft); }
.sf-section--white { background: #fff; }
.sf-script { font-family: 'Great Vibes', cursive !important; font-size: 2.4rem !important; line-height: 1 !important; color: var(--sf-violet); margin-top: 0 !important; margin-bottom: 0 !important; }
.sf-center { text-align: center; }
.sf-center .wp-block-buttons { justify-content: center; }

.sf-hero { background: radial-gradient(circle at 75% 40%, #d9cfee 0, var(--sf-lav) 45%, #b3a3d6 100%); padding: 90px 20px 110px !important; margin: 0 !important; }
.sf-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem) !important; margin-top: .1em !important; margin-bottom: .35em !important; }
.sf-hero .sf-lead { font-size: 1.1rem; color: #3b2d55; max-width: 520px; }
.sf-hero .sf-hero-art img { border-radius: 50%; box-shadow: 0 30px 60px rgba(20, 16, 28, .25); aspect-ratio: 1; object-fit: cover; }
.sf-listen-on { font-size: .82rem; color: #3b2d55; margin-top: 1.4em !important; }
.sf-listen-on a { display: inline-block; background: rgba(255, 255, 255, .6); padding: 4px 12px; border-radius: 999px; margin: 4px 4px 0 0; font-weight: 600; color: var(--sf-plum) !important; text-decoration: none !important; }
.sf-listen-on a:hover { background: #fff; }

.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid var(--sf-plum) !important; color: var(--sf-plum) !important; background: transparent !important; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--sf-plum) !important; color: #fff !important; }

.sf-latest-section { padding: 0 20px !important; margin: -56px 0 0 !important; position: relative; z-index: 2; }

.sf-host { background: #fff; border-radius: var(--sf-radius); padding: 36px 30px !important; box-shadow: var(--sf-shadow); text-align: center; height: 100%; }
.sf-host .wp-block-image { margin: 0 auto 18px !important; }
.sf-host .wp-block-image img { width: 190px; height: 190px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--sf-soft); }
.sf-host h3 { margin: 0 !important; }
.sf-host .sf-role { color: var(--sf-violet); font-weight: 600; font-size: .9rem; margin: .2em 0 1em !important; }
.sf-host p { color: var(--sf-muted); }
.sf-host .wp-block-buttons { justify-content: center; }
/* Both host cards are the same height; push the buttons to the bottom so they line up. */
.sf-host { display: flex; flex-direction: column; }
.sf-host > .wp-block-buttons { margin-top: auto !important; padding-top: 1em; }

.sf-band { background: var(--sf-plum); color: #e9e2f6; text-align: center; }
.sf-band h2 { color: #fff !important; }
.sf-band p { color: #d8cdea; }
.sf-band .sf-script { color: var(--sf-lav); }
.sf-band .wp-block-button__link { background: var(--sf-lav) !important; color: var(--sf-plum) !important; }
.sf-band .wp-block-button__link:hover { background: #fff !important; }

@media (max-width: 781px) {
	.sf-hero { padding: 60px 20px 90px !important; text-align: center; }
	.sf-hero .wp-block-buttons { justify-content: center; }
	.sf-hero .sf-lead { margin-left: auto; margin-right: auto; }
	.sf-hero .sf-hero-art { max-width: 280px; margin: 0 auto !important; }
	.sf-section { padding: 60px 20px !important; }
}

/* ===== Meet the Hosts page ===== */
.sf-page-hero { background: radial-gradient(circle at 75% 30%, #d9cfee 0, var(--sf-lav) 55%, #b3a3d6 100%); padding: 70px 20px 60px !important; margin: 0 !important; text-align: center; }
.sf-page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem) !important; margin-top: .1em !important; margin-bottom: .2em !important; }
.sf-page-hero p { color: #3b2d55; }
.sf-host-row { gap: 56px !important; }
.sf-portrait img { width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 8px #fff, 0 24px 50px rgba(20, 16, 28, .18); }
.sf-portrait { margin: 0 auto !important; }
.sf-host-row .sf-eyebrow { margin-bottom: 0 !important; }
.sf-host-row h2 { margin-top: .1em !important; }
.sf-pullquote { border: 0 !important; margin: 1.6em 0 !important; padding: 0 !important; text-align: center; }
.sf-pullquote p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.9rem !important; line-height: 1.3; color: var(--sf-plum); }
.sf-facts { gap: 24px !important; margin-top: 1.4em !important; }
.sf-facts > .wp-block-column { background: #fff; border-radius: var(--sf-radius); padding: 22px 24px; box-shadow: var(--sf-shadow); }
.sf-facts h3 { font-size: 1.4rem !important; margin: 0 0 .4em !important; }
.sf-facts p { font-size: .92rem; color: var(--sf-muted); margin: 0; }
@media (max-width: 781px) {
	.sf-portrait img { max-width: 240px; }
	.sf-host-row .sf-eyebrow, .sf-host-row h2 { text-align: center; }
	.sf-host-row .wp-block-buttons { justify-content: center; }
}

/* Astra doesn't centre constrained-layout children on full-width pages; do it here. */
.sf-hero > *, .sf-page-hero > *, .sf-section > *, .sf-latest-section > * { margin-left: auto !important; margin-right: auto !important; }

/* ===== Contact page ===== */
.sf-note { background: var(--sf-soft); border-radius: 10px; padding: 14px 16px; font-size: .9rem; color: var(--sf-text); }
.sf-contact-info { margin-top: 1.4em !important; }
.sf-contact-info h3 { font-size: 1.4rem !important; margin-bottom: .4em !important; }
.sf-contact-info p { margin-bottom: .8em; }
.sf-contact-info a { word-break: break-all; }
.sf-form-card { background: #fff; border-radius: var(--sf-radius); padding: 32px !important; box-shadow: var(--sf-shadow); }
.sf-form-card .ff-el-input--label label { font-weight: 600; color: var(--sf-plum); }
.sf-form-card .ff-el-form-control { border: 1.5px solid var(--sf-lav) !important; border-radius: 10px !important; padding: 12px 14px !important; background: var(--sf-mist) !important; }
.sf-form-card .ff-el-form-control:focus { border-color: var(--sf-violet) !important; background: #fff !important; box-shadow: 0 0 0 3px var(--sf-soft) !important; }
.sf-form-card .ff-btn-submit { background: var(--sf-plum) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 12px 34px !important; font-weight: 600 !important; }
.sf-form-card .ff-btn-submit:hover { background: var(--sf-violet) !important; }
.sf-form-card .ff-message-success { border: 0; background: var(--sf-soft); color: var(--sf-plum); border-radius: 10px; }
.sf-pullquote cite { display: block; margin-top: .6em; font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sf-violet); }
.sf-contact-info + .sf-book, .sf-host-row .sf-book { text-align: left; }

/* Episode header: artwork beside the details and player */
.sf-ep-top { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--sf-soft), #fff); border-radius: var(--sf-radius); padding: 22px; }
.sf-ep-top:not(:has(.sf-ep-art)) { grid-template-columns: 1fr; }
.sf-ep-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: 0 16px 34px rgba(20, 16, 28, .18); display: block; }
.sf-ep-main .sf-ui { box-shadow: none; }
@media (max-width: 640px) {
	.sf-ep-top { grid-template-columns: 1fr; text-align: center; }
	.sf-ep-art { max-width: 220px; margin: 0 auto; }
	.sf-ep-main .sf-ui { justify-content: center; }
}

/* ===== Episode page (matches the approved demo) ===== */
.single-episode .site-content > .ast-container, .single-episode #primary { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.single-episode article.ast-article-single { padding: 0 !important; margin: 0 !important; background: transparent !important; }
.single-episode .entry-content > .sf-episode { margin: 0; }
.sf-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.sf-ep-hero { background: radial-gradient(circle at 80% 30%, #d9cfee 0, var(--sf-lav) 50%, #b3a3d6 100%); padding: 44px 0 56px; }
.sf-crumbs { font-size: .82rem; color: #3b2d55; margin-bottom: 24px; }
.sf-crumbs a { color: #3b2d55 !important; text-decoration: none; }
.sf-crumbs a:hover { text-decoration: underline; }
.sf-ep-head { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.sf-ep-head .sf-ep-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--sf-radius); box-shadow: 0 20px 40px rgba(20, 16, 28, .22); display: block; }
.sf-ep-title { font-size: clamp(2.1rem, 5vw, 3.3rem) !important; margin-top: .15em !important; margin-bottom: .35em !important; color: var(--sf-plum); }
.sf-chips-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.sf-chips-meta span { background: rgba(255, 255, 255, .6); padding: 3px 13px; border-radius: 999px; font-size: .84rem; font-weight: 500; color: #3b2d55; }
.sf-ep-hero .sf-player { margin-top: 18px; }
.sf-ep-hero .sf-ui { box-shadow: 0 10px 30px rgba(20, 16, 28, .12); }
.sf-ep-hero .sf-also { color: #3b2d55; }
.sf-ep-hero .sf-also a { margin-left: 8px; color: var(--sf-plum) !important; text-decoration: underline; }
.sf-ep-layout { display: grid; grid-template-columns: 1fr 330px; gap: 36px; padding-top: 48px; padding-bottom: 30px; align-items: start; }
.sf-ep-col > .sf-box:first-child, .sf-ep-side > :first-child { margin-top: 0; }
.sf-box .sf-eyebrow { margin-bottom: 2px; }
.sf-box h2 { font-size: 1.8rem; }
.sf-ep-body p:last-child { margin-bottom: 0; }
.sf-notes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sf-notes li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--sf-mist); border-radius: 10px; }
.sf-note-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sf-soft); color: var(--sf-violet); display: grid; place-items: center; font-size: .9rem; }
.sf-notes li b { display: block; color: var(--sf-plum); }
.sf-notes li small { color: var(--sf-muted); font-size: .84rem; }
.sf-go { margin-left: auto; font-weight: 600; font-size: .84rem; color: var(--sf-violet) !important; white-space: nowrap; text-decoration: none; }
.sf-hint { font-size: .8rem; color: var(--sf-muted); margin: 12px 0 0; }
.sf-transcript { padding: 0 !important; overflow: hidden; }
.sf-transcript summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; }
.sf-transcript summary::-webkit-details-marker { display: none; }
.sf-transcript summary b { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--sf-plum); line-height: 1.2; }
.sf-chev { width: 34px; height: 34px; border-radius: 50%; background: var(--sf-soft); position: relative; flex: none; transition: transform .25s; }
.sf-chev::after { content: ""; position: absolute; left: 12px; top: 10px; width: 9px; height: 9px; border-right: 2px solid var(--sf-plum); border-bottom: 2px solid var(--sf-plum); transform: rotate(45deg); }
.sf-transcript[open] .sf-chev { transform: rotate(180deg); }
.sf-transcript-body { max-height: 520px; overflow-y: auto; padding: 4px 26px 22px; border-top: 1px solid var(--sf-soft); }
.sf-transcript-body p { font-size: .93rem; margin: .9em 0; }
.sf-transcript-body .sf-ts { margin-right: 6px; font-size: .8rem; min-width: 0; }
.sf-chips--left { justify-content: flex-start; }
.sf-side-guest { text-align: center; }
.sf-side-guest .sf-avatar { width: 110px; height: 110px; margin: 10px auto 12px; font-size: 2rem; }
.sf-side-guest h3 { margin: 0 0 .3em; font-size: 1.5rem; }
.sf-side-guest h3 a { text-decoration: none; }
.sf-side-guest p { font-size: .88rem; color: var(--sf-muted); }
.sf-side-book { background: var(--sf-plum); border-radius: var(--sf-radius); padding: 26px; margin: 0 0 1.8em; color: #d8cdea; }
.sf-side-book h3 { color: #fff; margin: 0 0 .2em; font-size: 1.5rem; }
.sf-side-book p { color: #d8cdea; font-size: .9rem; }
.sf-side-book .sf-btn { display: block; text-align: center; margin-top: 10px; background: var(--sf-lav); color: var(--sf-plum) !important; }
.sf-side-book .sf-btn:hover { background: #fff; }
.sf-share-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sf-share-buttons a, .sf-share-buttons button { background: var(--sf-soft); color: var(--sf-plum) !important; border: 0; padding: 7px 14px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: .8rem; text-decoration: none; cursor: pointer; }
.sf-share-buttons a:hover, .sf-share-buttons button:hover { background: var(--sf-lav); }
.sf-shortlink { font-size: .84rem; color: var(--sf-muted); margin: 14px 0 0; }
.sf-shortlink code { background: var(--sf-soft); color: var(--sf-plum); padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.sf-episode .sf-prevnext { margin: 10px 0 60px; }
@media (max-width: 900px) {
	.sf-ep-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.sf-ep-head { grid-template-columns: 1fr; text-align: center; gap: 24px; }
	.sf-ep-head .sf-ep-art { max-width: 220px; margin: 0 auto; }
	.sf-chips-meta { justify-content: center; }
	.sf-ep-hero .sf-ui { justify-content: center; }
	.sf-notes li { flex-wrap: wrap; }
}

/* ===== Episode list pages (/episodes/, topics, guests) ===== */
.sf-list .site-content > .ast-container { max-width: 100% !important; padding: 0 !important; margin: 0 !important; display: block !important; }
.sf-list-hero { background: radial-gradient(circle at 75% 30%, #d9cfee 0, var(--sf-lav) 55%, #b3a3d6 100%); padding: 60px 0 56px; text-align: center; }
.sf-list-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: .1em 0 .2em; }
.sf-list-hero .sf-guest-head { justify-content: center; max-width: 820px; margin: 10px auto 0; }
.sf-list-hero .sf-guest-head h1 { margin-top: 0; }
.sf-list-count { color: #3b2d55; margin: 0; }
.sf-list-body { padding-top: 50px; padding-bottom: 70px; }
.sf-card-art { display: block; aspect-ratio: 1; overflow: hidden; background: var(--sf-soft); }
.sf-card-art img, .sf-card img { width: 100% !important; height: 100% !important; aspect-ratio: 1; object-fit: cover; display: block; }
.sf-pagination { margin-top: 44px; text-align: center; }
.sf-pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.sf-pagination .page-numbers { display: inline-block; min-width: 40px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--sf-plum) !important; text-decoration: none; box-shadow: var(--sf-shadow); font-weight: 600; }
.sf-pagination .page-numbers.current, .sf-pagination .page-numbers:hover { background: var(--sf-plum); color: #fff !important; }
.sf-pagination .screen-reader-text { position: absolute; left: -9999px; }
.sf-empty { text-align: center; color: var(--sf-muted); }

/* ===== Search: header box and results page ===== */
.sf-menu-search { position: relative; display: flex; align-items: center; }
.sf-search-toggle { display: grid; place-items: center; width: 40px; height: 40px; margin-left: 6px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--sf-plum); cursor: pointer; }
.sf-search-toggle:hover, .sf-search-toggle:focus-visible, .sf-menu-search.is-open .sf-search-toggle { background: var(--sf-soft); color: var(--sf-violet); }
.sf-search-pop { display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 99; width: 340px; background: #fff; border-radius: var(--sf-radius); padding: 12px; box-shadow: 0 16px 40px rgba(20, 16, 28, .16); }
.sf-menu-search.is-open .sf-search-pop { display: block; }
.sf-search-form { display: flex; gap: 8px; margin: 0; }
.sf-search-form input[type="search"] { flex: 1; min-width: 0; padding: 10px 14px; border: 1.5px solid var(--sf-lav); border-radius: 999px; background: #fff; color: var(--sf-text); font-size: .95rem; }
.sf-search-form input[type="search"]:focus { outline: none; border-color: var(--sf-violet); box-shadow: 0 0 0 3px rgba(114, 21, 181, .15); }
.sf-search-form button { padding: 10px 18px; border: 0; border-radius: 999px; background: var(--sf-plum); color: #fff; font-weight: 600; font-size: .88rem; cursor: pointer; }
.sf-search-form button:hover { background: var(--sf-violet); }
/* In the phone menu the box is always open, full width. */
.ast-builder-menu-mobile .sf-menu-search, .ast-mobile-header-content .sf-menu-search { display: block; padding: 12px 20px 16px; }
.ast-builder-menu-mobile .sf-search-toggle, .ast-mobile-header-content .sf-search-toggle { display: none; }
.ast-builder-menu-mobile .sf-search-pop, .ast-mobile-header-content .sf-search-pop { display: block; position: static; width: auto; padding: 0; box-shadow: none; background: transparent; }

.sf-list-hero .sf-search-form { max-width: 560px; margin: 26px auto 0; }
.sf-list-hero .sf-search-form input[type="search"] { border-color: #fff; padding: 13px 20px; font-size: 1rem; }
.sf-list-hero .sf-search-form button { padding: 13px 24px; }
.sf-results { display: flex; flex-direction: column; gap: 22px; max-width: 920px; margin: 0 auto; }
.sf-result { display: grid; grid-template-columns: 150px 1fr; gap: 24px; background: #fff; border-radius: var(--sf-radius); padding: 20px; box-shadow: var(--sf-shadow); }
.sf-result-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.sf-result-title { font-size: 1.5rem; line-height: 1.2; margin: .1em 0 .3em; }
.sf-result-title a { color: var(--sf-plum); text-decoration: none; }
.sf-result-title a:hover { color: var(--sf-violet); }
.sf-result-count { font-size: .82rem; font-weight: 600; color: var(--sf-violet); margin: 0 0 .5em; }
.sf-result-quotes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sf-result-quotes a { display: flex; gap: 12px; align-items: baseline; padding: 10px 14px; border-radius: 10px; background: var(--sf-mist); color: var(--sf-text) !important; text-decoration: none !important; font-size: .9rem; line-height: 1.5; transition: background .2s; }
.sf-result-quotes a:hover { background: var(--sf-soft); }
.sf-result-time { flex: none; font-weight: 700; font-size: .8rem; color: var(--sf-violet); font-variant-numeric: tabular-nums; }
.sf-result mark, .sf-transcript-body mark { background: #f3e2a6; color: inherit; padding: 0 2px; border-radius: 3px; }
.sf-transcript-body p.sf-here { background: #fbf3d6; border-left: 3px solid #e2c15a; margin-left: -12px; padding: 6px 10px 6px 9px; border-radius: 0 8px 8px 0; }
@media (max-width: 600px) {
	.sf-result { grid-template-columns: 1fr; gap: 14px; }
	.sf-result-art { max-width: 120px; }
	.sf-list-hero .sf-search-form { padding: 0 4px; }
}
@media (max-width: 600px) {
	.sf-result-quotes a { flex-direction: column; gap: 2px; }
}
.sf-here-tip { display: block; margin-top: 6px; font-size: .78rem; font-weight: 600; color: #8a6d12; }
