:root{
  --bg:#F9F7F4; --ink:#2C2C2C; --muted:#6E675F;
  --accent:#BC5A32; --accent-d:#9A4526; --gold:#D9A441; --sage:#7D8C6F;
  --card:#FFFFFF; --line:#E9E4DD; --soft:#F2EDE7;
}
*{box-sizing:border-box;margin:0;padding:0}
::selection{background:#F3D9B8}
body{font-family:'Jost','Segoe UI',system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--ink);line-height:1.75;-webkit-font-smoothing:antialiased}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:'Cormorant Garamond',Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:-.01em}
/* top accent strip */
.topline{height:4px;background:linear-gradient(90deg,var(--accent),var(--gold) 55%,#D97B29)}
header{background:rgba(250,246,239,.97);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.hd{display:flex;align-items:center;gap:12px;padding:15px 0}
.logo{font-family:'Cormorant Garamond',Georgia,'Times New Roman',serif;font-size:27px;font-weight:800;color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:11px;letter-spacing:-.01em}
.logo .badge{width:38px;height:38px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;flex:none;box-shadow:0 4px 12px rgba(188,90,50,.35)}
.logo .badge svg{width:22px;height:22px}
/* search in header */
.search{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px 4px 4px 14px;margin-left:auto}
.search input{border:0;outline:0;background:transparent;font-size:14px;font-family:inherit;color:var(--ink);width:140px}
.search button{border:0;background:var(--accent);color:#fff;font-weight:700;font-size:13px;font-family:inherit;padding:7px 14px;border-radius:999px;cursor:pointer}
.search button:hover{background:var(--accent-d)}
nav{margin-left:18px;display:flex;gap:8px;align-items:center}
nav a{color:var(--muted);text-decoration:none;font-weight:600;font-size:14px;letter-spacing:.05em;text-transform:uppercase;padding:8px 13px;border-radius:999px}
nav a:hover{color:var(--accent-d);background:#F2EDE7}
nav a.cta{background:var(--accent);color:#fff}
nav a.cta:hover{background:var(--accent-d);color:#fff}
/* featured hero — full-bleed image-led */
.hero-big{position:relative;border-radius:18px;overflow:hidden;margin:36px 0 8px;min-height:540px;display:flex;align-items:flex-end;box-shadow:0 18px 50px rgba(60,50,40,.16)}
.hero-big img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-big .shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(20,12,4,.88) 0%,rgba(20,12,4,.35) 55%,rgba(20,12,4,.05) 100%)}
.hero-big .txt{position:relative;padding:52px 52px 52px 80px;color:#fff;max-width:740px}
.hero-big .kicker{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:#EFC88A;font-weight:800;margin-bottom:14px}
.hero-big h1{font-size:54px;line-height:1.08;margin:0 0 14px;text-shadow:0 2px 22px rgba(0,0,0,.5)}
.hero-big p{font-size:18px;opacity:.92;max-width:580px;margin-bottom:24px}
.hero-big .meta{color:rgba(255,255,255,.75);font-size:13px;margin-top:20px}
.hero-big .chip{background:rgba(255,255,255,.18);color:#fff}
.btn-light{display:inline-block;background:#fff;color:var(--accent-d);text-decoration:none;font-weight:700;font-size:15px;padding:12px 26px;border-radius:999px;transition:background .2s}
.btn-light:hover{background:#FBEEDC}
/* hero text is white, so the white button's text needs an explicit override */
.hero-big .txt a.btn-light{color:var(--accent-d)}
.btn-read{display:inline-block;background:var(--accent);color:#fff;text-decoration:none;font-weight:700;font-size:15px;padding:12px 26px;border-radius:999px;transition:background .2s}
.btn-read:hover{background:var(--accent-d)}
.chip{display:inline-block;background:var(--soft);color:var(--accent-d);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:5px 13px;border-radius:999px;margin-bottom:14px}
/* section + pills */
.sec-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:48px 0 18px}
.sec-t{font-size:30px;margin:0;padding:0;border:0}
.sec-count{color:var(--muted);font-size:14px;white-space:nowrap}
.pills{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}
.pill{border:1px solid #DDD5C4;background:#fff;color:var(--muted);text-decoration:none;font-weight:600;font-size:14px;padding:8px 17px;border-radius:999px;transition:all .2s}
.pill:hover{border-color:var(--accent);color:var(--accent-d)}
.pill.on{background:var(--ink);border-color:var(--ink);color:#fff}
/* story cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:28px;padding-bottom:8px}
.card{background:var(--card);border-radius:16px;overflow:hidden;border:1px solid var(--line);text-decoration:none;color:var(--ink);transition:transform .25s,box-shadow .25s;display:block}
.card:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(60,50,40,.14)}
.card .cim{position:relative;overflow:hidden;height:250px}
.card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s}
.card:hover img{transform:scale(1.05)}
.card .cb{padding:22px 24px 24px}
.card .tag{position:absolute;top:14px;left:14px;background:rgba(255,255,255,.94);color:var(--accent-d);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;padding:5px 12px;border-radius:999px;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.card h3{font-size:23px;margin-bottom:10px;line-height:1.32}
.card p{font-size:15px;color:var(--muted)}
.card .meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.card .meta .rd{color:var(--accent-d);font-weight:700}
/* story page */
.story-hero{border-radius:16px;overflow:hidden;margin:28px 0 0}
.story-hero img{width:100%;max-height:520px;object-fit:cover;display:block}
.cap{color:var(--muted);font-size:13px;font-style:italic;margin-top:10px;text-align:center}
.story{max-width:720px;margin:0 auto;padding:8px 24px 20px}
.story .tag{display:inline-block;background:var(--soft);color:var(--accent-d);font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;padding:5px 13px;border-radius:999px;margin:22px 0 14px}
.story h1{font-size:46px;line-height:1.18;margin-bottom:12px}
.story .meta{color:var(--muted);font-size:14px;margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.story p{margin-bottom:20px;font-size:18px;color:#33302B}
.story h2{font-size:30px;margin:36px 0 14px;padding-top:8px}
.story h3{font-size:23px;margin:28px 0 12px}
.story ul,.story ol{margin:0 0 20px 24px;font-size:18px;color:#33302B}
.story li{margin-bottom:8px;line-height:1.7}
.story li::marker{color:var(--accent)}
.story p strong,.story li strong{color:var(--ink)}
.story > p:first-of-type::first-letter{font-family:'Cormorant Garamond',Georgia,'Times New Roman',serif;font-size:60px;font-weight:800;color:var(--accent);float:left;line-height:.9;margin:6px 10px 0 0}
.back{display:inline-block;margin:28px 0 4px;color:var(--accent-d);font-weight:600;text-decoration:none;font-size:15px}
.rel{margin:8px 0 56px}
.rel h2{font-size:28px;margin-bottom:20px}
/* share row + reading progress + byline */
.progress{position:fixed;top:0;left:0;height:4px;background:linear-gradient(90deg,var(--accent),var(--gold));z-index:100;width:0}
.share{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);align-items:center}
.share span{font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:4px}
.share a{border:1px solid var(--line);background:#fff;color:var(--ink);text-decoration:none;font-weight:700;font-size:13px;padding:8px 16px;border-radius:999px}
.share a:hover{border-color:var(--accent);color:var(--accent-d)}
.byline{display:flex;gap:18px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:24px;margin:30px 0}
.byline .av{width:56px;height:56px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;flex:none}
.byline .av svg{width:30px;height:30px}
.byline .who{font-weight:800;font-size:16px}
.byline p{color:var(--muted);font-size:14px;margin:2px 0 6px}
.byline a{color:var(--accent-d);font-weight:700;font-size:14px;text-decoration:none}
/* newsletter */
.news{background:linear-gradient(135deg,#BC5A32,#D98A5F);border-radius:18px;padding:46px 36px;margin:48px 0;color:#fff;text-align:center;box-shadow:0 16px 40px rgba(188,90,50,.28)}
.news h3{font-size:31px;color:#fff;margin-bottom:10px}
.news p{opacity:.92;font-size:16px;max-width:480px;margin:0 auto 24px}
.news form{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.news input[type=email]{border:0;outline:0;border-radius:999px;padding:13px 20px;font-size:15px;font-family:inherit;width:300px;max-width:100%}
.btn-dark{display:inline-block;background:var(--ink);color:#fff;border:0;font-weight:700;font-size:15px;font-family:inherit;padding:13px 26px;border-radius:999px;cursor:pointer}
.btn-dark:hover{background:#000}
.nl-msg{font-size:14px;font-weight:700;margin-top:14px;min-height:20px}
/* about */
.about{background:var(--soft);border:1px solid #E9E4DD;border-radius:16px;padding:38px;margin:44px 0;display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.about img{width:120px;height:120px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 8px 22px rgba(60,50,40,.18)}
.about h3{font-size:23px;margin-bottom:10px}
.about p{color:var(--muted);font-size:16px;margin-bottom:10px}
.about>div{flex:1;min-width:260px}
/* footer — dark */
footer{background:#2C2C2C;color:#CFC4B2;margin-top:56px;padding:48px 0 40px;font-size:14px}
footer .brand{font-family:'Cormorant Garamond',Georgia,'Times New Roman',serif;font-size:22px;color:#FBF6EF;margin-bottom:8px}
.fcols{display:flex;gap:32px;justify-content:space-between;flex-wrap:wrap;text-align:left;max-width:1160px;margin:0 auto;padding:0 24px 28px}
.fcols h4{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.fcols a{display:block;color:#CFC4B2;text-decoration:none;margin-bottom:7px}
.fcols a:hover{color:#fff}
.fcols p{margin-bottom:6px;line-height:1.7}
.fcopy{text-align:center;border-top:1px solid rgba(255,255,255,.12);padding-top:22px;color:#9C8F7C}
/* admin */
.admin{max-width:760px;margin:0 auto;padding:36px 24px 80px}
.admin h1{font-size:34px;margin-bottom:6px}
.admin .sub{color:var(--muted);margin-bottom:28px}
.acard{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;margin-bottom:28px}
.acard h2{font-size:22px;margin-bottom:18px}
.field{margin-bottom:16px}
.field label{display:block;font-weight:700;margin-bottom:6px;font-size:14px}
.field input[type=text],.field input[type=password],.field textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;font-size:15px;font-family:inherit;background:#fff;color:var(--ink)}
.field textarea{min-height:230px;line-height:1.7;resize:vertical}
.field .hint{font-size:13px;color:var(--muted);margin-top:6px}
.field input[type=file]{font-size:14px}
.btn{background:var(--accent);color:#fff;border:0;border-radius:999px;padding:12px 28px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit}
.btn:hover{background:var(--accent-d)}
.btn-danger{background:#B3261E}
.btn-danger:hover{background:#8f1b15}
.btn-ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.msg{padding:12px 16px;border-radius:8px;margin-bottom:18px;font-size:14px;display:none}
.msg.ok{display:block;background:#E7F4E4;color:#1E6B2E}
.msg.err{display:block;background:#FBE7E5;color:#9C1F16}
.srow{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin-bottom:12px}
.srow img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex:none}
.srow .t{font-weight:700;font-size:15px}
.srow .d{color:var(--muted);font-size:13px}
.srow .x{margin-left:auto;flex:none}
.login-card{max-width:420px;margin:90px auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:36px}
.login-card h1{font-size:26px;margin-bottom:8px}
.login-card p{color:var(--muted);font-size:14px;margin-bottom:20px}
.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
/* story gallery figures */
.fig{margin:30px 0}
.fig img{width:100%;border-radius:14px;display:block}
.fig figcaption{color:var(--muted);font-size:14px;margin-top:10px}
.fig .credit{font-size:13px;font-style:italic}
/* admin gallery thumbs */
.gthumbs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px 78px}
.gthumb{position:relative;width:86px}
.gthumb img{width:86px;height:64px;object-fit:cover;border-radius:8px;display:block}
.gthumb em{display:block;font-size:11px;color:var(--muted);font-style:normal;margin-top:4px;line-height:1.3}
.gthumb button{position:absolute;top:-7px;right:-7px;width:22px;height:22px;border-radius:50%;border:0;background:#B3261E;color:#fff;font-size:13px;line-height:1;cursor:pointer}

@media(max-width:760px){
  .hero-big{min-height:440px}
  .hero-big h1{font-size:34px}
  .hero-big .txt{padding:30px 24px}
  .story h1{font-size:31px}
  .sec-t{font-size:24px}
  .logo{font-size:22px}
  nav a{padding:7px 9px;font-size:12px}
  .search{display:none}
  .news{padding:36px 22px}
  .news h3{font-size:26px}
}

/* Hero slider: auto-rotates top stories every 7s, dots + arrows, pauses on hover */
.hero-slider{position:relative;margin:36px 0 8px}
.hero-slider .hero-big{margin:0}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s linear .35s;pointer-events:none}
.hero-slide:first-child{position:relative}
.hero-slide.on{opacity:1;visibility:visible;transition:opacity .8s ease,visibility 0s;pointer-events:auto}
.hero-dots{position:absolute;right:26px;bottom:22px;display:flex;gap:8px;z-index:5}
.hero-dot{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.45);cursor:pointer;padding:0}
.hero-dot.on{background:#fff;transform:scale(1.25)}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:#2C2C2C;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.25)}
.hero-prev{left:18px}
.hero-next{right:18px}
@media (max-width:760px){.hero-arrow{display:none}.hero-dots{right:16px;bottom:14px}}
