/*
Theme Name: 4Sicily Podcast
Theme URI: https://4sicily.com/
Author: 4Sicily
Description: An editorial WordPress theme for the 4Sicily podcast, with bundled Sicilian photography and promo video.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: 4sicily-podcast
*/

:root{--navy:#142c43;--navy-deep:#0d243a;--red:#ca1832;--cream:#fdfbf5;--gold:#dba84e;--muted:#536373;--line:#e7e0d3}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--navy);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6}
img,video{display:block;max-width:100%}
a{color:inherit}
a:focus-visible,video:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.skip{position:absolute;left:-100vw;top:8px;z-index:20;padding:.6rem 1rem;background:white}.skip:focus{left:8px}
.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.site-header{background:#fff;position:relative;z-index:2;border-bottom:1px solid rgba(20,44,67,.08)}
.header-inner{min-height:142px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:block;width:280px;height:117px;overflow:hidden;flex-shrink:0}.brand img{width:100%;height:auto;max-width:none;filter:saturate(1.18) contrast(1.12)}
.site-nav{display:flex;align-items:center;gap:32px;margin-left:auto}
.site-nav a,.footer-inner a{text-decoration:none;font-weight:600}.site-nav a:hover,.footer-inner a:hover{color:var(--red)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 24px;min-height:52px;border-radius:6px;text-decoration:none;font-weight:700;line-height:1.2;transition:transform .2s,background-color .2s,box-shadow .2s}
.button:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(24,28,42,.17)}
.button-red{background:var(--red);color:#fff}.button-red:hover{background:#a91129}
.header-subscribe{white-space:nowrap;font-size:14px}
.hero{position:relative;isolation:isolate;min-height:620px;display:flex;align-items:center;overflow:hidden;background:var(--navy)}
.hero-image{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.hero::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,29,48,.83) 0%,rgba(9,29,48,.58) 42%,rgba(9,29,48,.08) 100%),linear-gradient(0deg,rgba(9,29,48,.24),transparent 48%)}
.hero-content{padding-block:100px 110px;color:white}.hero h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.035em}
.hero h1{font-size:clamp(3.5rem,6.7vw,6rem);line-height:1.1;margin:18px 0 20px;max-width:780px}
.hero-lead{font-size:clamp(1.15rem,2vw,1.45rem);line-height:1.5;margin:0 0 34px}
.eyebrow{margin:0;color:var(--red);font-size:12px;font-weight:700;letter-spacing:.24em;line-height:1.4}
.hero-eyebrow{color:#fff}.hero-eyebrow span{color:var(--gold);padding-inline:9px}
.hero-side-note{position:absolute;right:24px;bottom:34px;writing-mode:vertical-rl;color:#fff;font-size:11px;letter-spacing:.24em;opacity:.8}
.section-pad{padding-block:92px}
.intro-grid{display:grid;grid-template-columns:minmax(310px,.82fr) minmax(0,1.18fr);gap:75px;align-items:center}
.intro-copy h2{font-size:clamp(3rem,4.3vw,4.35rem);line-height:1.13;margin:20px 0 25px}
.intro-copy p:not(.eyebrow){color:#394a59;margin:0 0 16px;max-width:480px}
.text-link{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-weight:700;border-bottom:2px solid var(--gold);margin-top:12px;padding-bottom:4px}.text-link:hover{color:var(--red)}
.video-frame{background:var(--navy);border:8px solid white;box-shadow:0 19px 45px rgba(15,42,63,.14);border-radius:8px;overflow:hidden}.video-frame video{width:100%;aspect-ratio:16/9;object-fit:cover}
.video-caption{display:flex;justify-content:space-between;gap:12px;font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--muted);margin:14px 8px 0}
.topics-section{background:#f7f3eb;padding-top:84px}.topics-section h2{font-size:clamp(2.6rem,4vw,4rem);line-height:1.2;margin:18px 0 34px}
.topics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.topic-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 25px rgba(22,44,64,.05)}.topic-card img{width:100%;height:215px;object-fit:cover}.topic-card:nth-child(1) img{object-position:center 38%}.topic-card:nth-child(3) img{object-position:center 59%}
.topic-body{padding:24px 26px 28px}.topic-number{font-size:12px;color:var(--red);font-weight:700;letter-spacing:.18em}.topic-body h3{font-size:1.65rem;line-height:1.25;margin:11px 0}.topic-body p{margin:0;color:#52616d}
.coming-soon{position:relative;overflow:hidden;background:var(--navy-deep);color:#fff;text-align:center}.coming-soon::before{content:'4';position:absolute;left:-30px;bottom:-200px;font:normal 550px/1 Georgia,serif;color:rgba(255,255,255,.035);pointer-events:none}.coming-inner{position:relative}.coming-soon .eyebrow{color:var(--gold)}.coming-soon h2{font-size:clamp(3.7rem,6.4vw,6.2rem);line-height:1.2;margin:12px 0 8px}.coming-soon p:not(.eyebrow){font-size:1.15rem;margin:0 auto 30px;color:#e0e8ef}
.site-footer{background:#0a1d30;color:#cbd6df}.footer-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:13px}.footer-inner a{text-decoration:none;color:#fff}
@media(max-width:950px){.header-inner{flex-wrap:wrap;padding-block:15px;gap:12px}.brand{width:225px;height:94px}.site-nav{order:3;width:100%;margin:0;justify-content:center;gap:28px;padding:5px 0}.header-subscribe{margin-left:auto}.intro-grid{grid-template-columns:1fr;gap:34px}.intro-copy h2 br{display:none}.topic-card img{height:180px}.topic-body{padding:20px}.topic-body h3{font-size:1.45rem}}
@media(max-width:650px){.wrap{width:min(100% - 36px,1180px)}.header-inner{min-height:0}.brand{width:170px;height:71px}.header-subscribe{padding:11px 13px;min-height:43px;font-size:11px;gap:4px}.site-nav{gap:21px;font-size:13px}.hero{min-height:600px}.hero::before{background:linear-gradient(90deg,rgba(9,29,48,.8),rgba(9,29,48,.38)),linear-gradient(0deg,rgba(9,29,48,.45),transparent)}.hero-content{padding-block:85px}.hero h1{font-size:clamp(3.15rem,12vw,4.5rem)}.hero-side-note{display:none}.section-pad{padding-block:65px}.intro-copy h2{font-size:3rem}.topics-grid{grid-template-columns:1fr;gap:18px}.topic-card img{height:230px}.footer-inner{padding-block:20px;flex-wrap:wrap;justify-content:center;text-align:center}.footer-inner span:nth-child(2){flex-basis:100%;order:3}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* WordPress posts and pages use the same visual language as the home page. */
.content-shell{padding-block:70px 100px;min-height:55vh}.content-shell h1{font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.13;margin:12px 0 32px}.content-shell article{max-width:800px}.content-shell .entry-title{font-size:clamp(2rem,3vw,2.7rem);line-height:1.2;margin:0 0 12px}.content-shell .entry-title a{text-decoration:none}.content-shell .entry-title a:hover{color:var(--red)}.content-shell .entry-meta{font-size:14px;color:var(--muted);margin-bottom:16px}.content-shell .entry-content{overflow-wrap:anywhere}.content-shell .entry-content img{height:auto}.content-shell .entry-content a{color:var(--red)}.content-shell .post-card{border-bottom:1px solid var(--line);padding:0 0 35px;margin:0 0 35px}.content-shell .pagination a,.content-shell .pagination span{display:inline-block;margin-right:10px}.content-shell blockquote{border-left:4px solid var(--gold);margin-left:0;padding-left:20px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{clip:auto;height:auto;width:auto;position:static}

/* Episode archive, transcripts, and the optional latest-episodes home section. */
.episode-archive .archive-intro{max-width:720px;color:var(--muted);font-size:1.15rem;margin:-12px 0 42px}
.episode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.content-shell .episode-card,.latest-episodes .episode-card{max-width:none;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 10px 25px rgba(22,44,64,.05)}
.episode-card>a img{width:100%;height:205px;object-fit:cover}.episode-card-body{padding:24px 26px 30px}.episode-card-body .entry-title{font-size:1.65rem;line-height:1.25;margin:0 0 12px}.episode-card-body .entry-title a{text-decoration:none}.episode-card-body .entry-title a:hover{color:var(--red)}.episode-card-body p:not(.entry-meta){margin:0 0 16px;color:var(--muted)}.episode-card-body .entry-meta{color:var(--red);font-size:12px;font-weight:700;letter-spacing:.1em;margin:0 0 10px;text-transform:uppercase}.episode-card-body .text-link{font-size:14px}
.episode-empty{max-width:690px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:42px}.episode-empty h2{font-size:2rem;margin:0 0 8px}.episode-empty p{margin:0 0 22px}
.episode-single article{max-width:820px}.episode-single .entry-title{font-size:clamp(2.6rem,5vw,4.5rem);margin:12px 0 10px}.episode-cover{margin:28px 0}.episode-cover img{width:100%;height:auto;border-radius:8px}.transcript-title{font-size:2rem;border-top:1px solid var(--line);padding-top:25px;margin-top:35px}.episode-single .entry-content{font-size:1.08rem;line-height:1.8}.episode-single .entry-content p{margin:0 0 1.3em}.back-to-episodes{margin-top:50px}
.latest-episodes{background:var(--cream)}.latest-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:12px 0 32px}.latest-heading h2{font-size:clamp(2.6rem,4vw,4rem);line-height:1.15;margin:0}
@media(max-width:950px){.site-nav{flex-wrap:wrap;gap:10px 24px}.episode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.site-nav{gap:8px 17px}.episode-grid{grid-template-columns:1fr}.latest-heading{display:block}.latest-heading .text-link{margin-top:15px}.episode-card>a img{height:225px}}
