/* JB8 Nepal blog
   Main: gold #EFB11B + white. Accents: ink #16181D, crimson #D7261E (logo red),
   Nepal blue #1E3A8A, green #15803D, cream #FFF8E6. */
:root {
  --gold: #EFB11B;
  --gold-dark: #C98F06;
  --gold-soft: #FDF0CC;
  --white: #ffffff;
  --cream: #FFF8E6;
  --ink: #16181D;
  --ink-2: #3A3F4B;
  --muted: #6B7280;
  --line: #ECE6D8;
  --red: #D7261E;
  --blue: #1E3A8A;
  --green: #15803D;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22,24,29,.06), 0 8px 24px rgba(22,24,29,.06);
  --shadow-lg: 0 16px 40px rgba(22,24,29,.14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F6C340; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2E37; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 .6em; }
.eyebrow-dark { color: var(--ink); opacity: .75; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.link-arrow:hover { color: var(--gold-dark); }
.link-arrow svg { transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Top bar */
.topbar { background: var(--ink); color: #D5D8DE; font-size: .8rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-note b { background: var(--gold); color: var(--ink); padding: 1px 7px; border-radius: 4px; margin-right: 6px; font-size: .72rem; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a:hover { color: var(--gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 128px; }
.brand-tag { font-family: var(--serif); font-weight: 800; font-size: .82rem; color: var(--ink); border-left: 2px solid var(--gold); padding-left: 10px; line-height: 1.1; }
.main-nav { margin: 0 auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--ink); transition: background .15s; }
.main-nav a:hover { background: var(--gold-soft); }
.main-nav a[aria-current="page"] { background: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--gold-soft); }
.nav-flag { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--gold); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.search-panel { border-top: 1px solid var(--line); background: var(--cream); padding: 14px 0; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.trending { background: var(--gold); }
.trending-in { display: flex; align-items: center; gap: 14px; min-height: 40px; overflow: hidden; }
.trending-label { flex: none; background: var(--ink); color: var(--gold); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 4px 10px; border-radius: 4px; }
.trending-links { display: flex; gap: 26px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; font-size: .86rem; font-weight: 600; color: var(--ink); }
.trending-links::-webkit-scrollbar { display: none; }
.trending-links a { position: relative; }
.trending-links a + a::before { content: ""; position: absolute; left: -15px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .4; }
.trending-links a:hover { text-decoration: underline; }

/* Category badge + chips */
.cat-badge { display: inline-block; background: var(--cat); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 4px; }
.cat-badge.on-dark { box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.chips { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); cursor: pointer; transition: all .15s; }
.chip:hover, .chip.is-active { border-color: var(--cat); background: var(--cat); color: #fff; }
.chip-glyph { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 999px; background: var(--gold-soft); color: var(--ink); font-size: .72rem; font-weight: 800; }
.chip-sm { padding: 6px 14px; font-size: .85rem; }

/* Post meta */
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); }
.post-meta img { width: 24px; height: 24px; border-radius: 50%; }
.post-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta > span:nth-child(2) { color: var(--ink); font-weight: 600; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.post-meta-light, .post-meta-light > span:nth-child(2) { color: #fff; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); padding: 32px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.hero-side { display: grid; gap: 20px; }
.overlay-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; box-shadow: var(--shadow); isolation: isolate; }
.overlay-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.overlay-card:hover > img { transform: scale(1.04); }
.overlay-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,24,29,0) 25%, rgba(22,24,29,.88) 100%); }
.overlay-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.overlay-big { min-height: 500px; }
.overlay-big .overlay-body { padding: 34px; }
.overlay-title { color: #fff; margin: 10px 0 8px; font-size: 1.3rem; }
.overlay-big .overlay-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.overlay-title a:hover { color: var(--gold); }
.overlay-excerpt { color: #E6E7EA; max-width: 60ch; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; padding-top: 44px; padding-bottom: 60px; align-items: start; }
.section { padding: 56px 20px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); position: relative; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 4px; background: var(--gold); }
.section-head h2 { margin: 0; }
.section-head-light { border-color: rgba(255,255,255,.25); }
.section-head-light h2, .section-head-light .link-arrow { color: #fff; }
.section-head-center { justify-content: center; border: 0; text-align: center; }
.section-head-center::after { left: 50%; transform: translateX(-50%); bottom: -8px; }
.content > .section-head:not(:first-child) { margin-top: 48px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; align-items: flex-start; }
.card-title { margin: 0; font-size: 1.18rem; }
.card-title a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 3px no-repeat; transition: background-size .3s; }
.card-title a:hover { background-size: 100% 3px; }
.card-excerpt { margin: 0; font-size: .93rem; color: var(--muted); }
.card .post-meta { margin-top: auto; }
.card-dark { background: #22252D; border-color: #2E323C; }
.card-dark .card-title, .card-dark .post-meta > span:nth-child(2) { color: #fff; }
.card-dark .card-excerpt, .card-dark .post-meta { color: #A9AEB8; }
.card-flat { border: 0; border-radius: 10px; }
.card-flat .card-body { padding: 14px 0 0; }
.card-flat:hover { transform: none; box-shadow: none; }

/* Row cards (category pages) */
.row-list { display: grid; gap: 22px; }
.row-card { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.row-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.row-img { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; }
.row-img img { width: 100%; height: 100%; object-fit: cover; }
.row-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 4px 6px 4px 0; }
.row-body .card-title { font-size: 1.35rem; }
.row-foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--ink); border-bottom: 2px solid var(--gold); }

/* Category blocks on home */
.cat-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-block-head { display: flex; justify-content: space-between; align-items: center; border-top: 4px solid var(--cat); padding-top: 10px; margin-bottom: 14px; }
.cat-block-head h3 { margin: 0; font-size: 1.15rem; }
.cat-block-head a { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--cat); }
.cat-block .card-excerpt { display: none; }
.cat-block .card-title { font-size: 1.05rem; }
.mini-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.mini { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; }
.mini img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.mini b { display: block; font-family: var(--serif); color: var(--ink); font-size: .92rem; line-height: 1.3; }
.mini small { color: var(--muted); font-size: .76rem; }
.mini:hover b { color: var(--gold-dark); }

/* Promo strip */
.promo-strip { display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 24px; margin-top: 40px; padding: 14px; border-radius: var(--radius); background: var(--gold); box-shadow: var(--shadow); transition: transform .2s; }
.promo-strip:hover { transform: translateY(-2px); }
.promo-strip img { border-radius: 10px; aspect-ratio: 5 / 3; object-fit: cover; }
.promo-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--ink); }
.promo-copy b { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.promo-copy .eyebrow { margin: 0; }
.promo-copy .btn { margin-top: 6px; }

/* Picks band */
.picks { background: var(--ink); padding: 60px 0; position: relative; }
.picks::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--gold) 0 40px, var(--red) 40px 80px, var(--blue) 80px 120px); }

/* Sidebar */
.sidebar { display: grid; gap: 26px; position: sticky; top: 140px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.widget-title { font-size: 1.05rem; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 3px; background: var(--gold); }
.widget-about { text-align: center; background: var(--cream); border-color: #F4E3B5; }
.widget-about img { margin: 0 auto 10px; border-radius: 50%; box-shadow: 0 0 0 4px #fff; }
.widget-about p { font-size: .92rem; }
.widget-cta { background: var(--gold); border: 0; position: relative; overflow: hidden; }
.widget-cta::after { content: "8"; position: absolute; right: -14px; top: -40px; font-family: var(--serif); font-weight: 900; font-size: 9rem; color: rgba(255,255,255,.22); line-height: 1; }
.widget-cta h3 { font-size: 1.4rem; }
.widget-cta p { color: var(--ink); font-size: .93rem; }
.widget-cta small { display: block; text-align: center; margin-top: 10px; font-size: .74rem; color: var(--ink); opacity: .75; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-weight: 600; color: var(--ink); }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover { color: var(--gold-dark); }
.cat-dot { width: 10px; height: 10px; border-radius: 3px; }
.count { margin-left: auto; background: var(--gold-soft); color: var(--ink); font-size: .75rem; padding: 1px 9px; border-radius: 999px; }
.pop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pop { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.pop-num { font-family: var(--serif); font-weight: 900; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.pop b { display: block; font-family: var(--serif); color: var(--ink); font-size: .95rem; line-height: 1.3; }
.pop small { color: var(--muted); font-size: .76rem; }
.pop:hover b { color: var(--gold-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .8rem; padding: 5px 12px; border-radius: 6px; background: var(--cream); border: 1px solid var(--line); color: var(--ink-2); }
.tag::before { content: "#"; color: var(--gold-dark); }
.tag:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.toc { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .92rem; }
.toc a { color: var(--ink-2); }
.toc a:hover, .toc a.is-active { color: var(--gold-dark); font-weight: 600; }
.toc li::marker { color: var(--gold-dark); font-weight: 700; }

/* Page hero */
.page-hero { position: relative; background: var(--cream); padding: 46px 0 50px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: var(--hero); opacity: .14; }
.page-hero::after { content: ""; position: absolute; right: 120px; bottom: -90px; width: 200px; height: 200px; border-radius: 50%; border: 18px solid var(--gold); opacity: .35; }
.page-hero .wrap { position: relative; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero .eyebrow { color: var(--hero); }
.page-hero-text { max-width: 640px; font-size: 1.08rem; margin: 0; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--ink); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-dark); }

/* Filters + pagination */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.filter-js { padding-top: 36px; }
.result-count { margin-left: auto; font-size: .86rem; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0 60px; }
.layout .pagination { margin-bottom: 0; }
.page-btn { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.page-btn:hover { background: var(--gold-soft); }
.page-btn.is-active { background: var(--gold); border-color: var(--gold); }
.page-gap { align-self: center; color: var(--muted); }
.card.is-hidden { display: none; }

/* Article */
.article-head { padding: 40px 0 28px; text-align: center; background: linear-gradient(180deg, var(--cream), #fff); }
.article-head .breadcrumb { justify-content: center; }
.article-head h1 { margin: 16px auto 14px; max-width: 18ch; }
.article-dek { font-size: 1.15rem; color: var(--muted); max-width: 62ch; margin: 0 auto 20px; }
.article-head .post-meta { justify-content: center; font-size: .86rem; }
.article-cover { margin: 0 auto; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); }
.article-cover figcaption { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 10px; }
.layout-article { grid-template-columns: 52px minmax(0, 1fr) 320px; gap: 36px; }
.share-rail { position: sticky; top: 160px; display: grid; gap: 10px; }
.share-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.share-btn:hover { background: var(--gold); border-color: var(--gold); }
.prose { font-size: 1.06rem; line-height: 1.8; }
.prose .lead { font-size: 1.22rem; color: var(--ink); line-height: 1.7; }
.prose .lead::first-letter { float: left; font-family: var(--serif); font-weight: 900; font-size: 4.4rem; line-height: .8; padding: 8px 10px 0 0; color: var(--gold); }
.prose h2 { margin-top: 1.8em; scroll-margin-top: 150px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-dark); font-weight: 700; }
.prose blockquote { margin: 1.8em 0; padding: 22px 28px; border-left: 5px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; }
.prose blockquote p { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1.5; margin-bottom: .4em; }
.prose blockquote cite { font-style: normal; font-weight: 700; font-size: .88rem; color: var(--gold-dark); }
.prose blockquote cite::before { content: "— "; }
.callout { padding: 16px 20px; border-radius: 10px; background: #EEF2FB; border-left: 4px solid var(--blue); margin: 0 0 1.4em; font-size: .98rem; }
.callout b { color: var(--blue); }
.data-table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .95rem; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.data-table th { background: var(--ink); color: #fff; text-align: left; padding: 12px 16px; font-weight: 600; }
.data-table td { padding: 12px 16px; border-top: 1px solid var(--line); }
.data-table tbody tr:nth-child(even) { background: var(--cream); }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border-radius: var(--radius); background: var(--gold); margin: 2em 0; position: relative; overflow: hidden; }
.inline-cta::before { content: ""; position: absolute; right: 160px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.25); }
.inline-cta > * { position: relative; }
.inline-cta h3 { margin: 0 0 4px; font-size: 1.4rem; }
.inline-cta p { margin: 0; color: var(--ink); font-size: .95rem; }
.inline-cta .eyebrow { margin-bottom: 4px; }
.inline-cta-wide { padding: 40px 44px; }
.faq { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gold-dark); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 18px 14px; margin: 0; font-size: .96rem; }
.article-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 22px 0; margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-inline { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.share-inline .share-btn { width: 36px; height: 36px; }
.author-box { display: flex; gap: 20px; padding: 26px; margin: 30px 0; border-radius: var(--radius); background: var(--cream); }
.author-box img { width: 80px; height: 80px; border-radius: 50%; flex: none; }
.author-box h3 { margin: 0 0 6px; }
.author-box p:last-child { margin: 0; font-size: .95rem; }
.author-box .eyebrow { margin-bottom: 2px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 4px; line-height: 1.35; }
.post-nav a:hover { border-color: var(--gold); background: var(--cream); }
.post-nav small { color: var(--gold-dark); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.post-nav b { font-family: var(--serif); color: var(--ink); font-size: 1rem; }
.post-nav .next { text-align: right; }
.related { background: var(--cream); padding: 56px 0 64px; }

/* About */
.about-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.about-img { margin: 0; position: relative; }
.about-img::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--gold); border-radius: 18px; z-index: -1; }
.about-img img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.stats { background: var(--ink); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1.1; }
.stats span { color: #C9CDD4; font-size: .9rem; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 5px solid var(--cat); }
.value-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--cat); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.value-card p { font-size: .93rem; margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { text-align: center; padding: 30px 24px; border-radius: var(--radius); background: var(--cream); }
.team-card img { margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--gold); }
.team-card h3 { margin: 0; }
.team-card .role { color: var(--gold-dark); font-weight: 700; font-size: .85rem; margin-bottom: 8px; }
.team-card p:last-child { font-size: .92rem; margin: 0; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.contact-card { padding: 22px; border-radius: var(--radius); background: var(--cream); text-align: center; }
.contact-icon { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 1.3rem; }
.contact-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.contact-card p { margin: 0; font-size: .92rem; }
.contact-form { display: grid; gap: 16px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form h2 { margin: 0; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #FFFDF8; font-weight: 400; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; color: var(--green); font-weight: 600; }
.faq-head { margin-top: 44px; }

/* Newsletter + footer */
.newsletter { background: var(--gold); padding: 44px 0; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; left: -60px; bottom: -100px; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(255,255,255,.25); }
.newsletter-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.newsletter h2 { margin: 0 0 4px; }
.newsletter p { margin: 0; color: var(--ink); }
.newsletter-form { display: flex; gap: 10px; flex: 0 1 460px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
.newsletter-form input { flex: 1; min-width: 0; border: 0; padding: 0 16px; background: transparent; }
.newsletter-form input:focus { outline: none; }
.site-footer { background: var(--ink); color: #B8BDC6; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-brand { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand img { width: 130px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #262A33; color: #fff; }
.footer-social a:hover { background: var(--gold); color: var(--ink); }
.footer-links, .footer-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a:hover, .footer-recent a:hover, .footer-bottom a:hover { color: var(--gold); }
.footer-recent a { display: block; color: #E6E8EC; font-family: var(--serif); line-height: 1.35; }
.footer-recent span { font-size: .78rem; }
.footer-flag { margin-top: 18px; border-radius: 50%; }
.footer-rg { border-top: 1px solid #262A33; border-bottom: 1px solid #262A33; }
.footer-rg-in { display: flex; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.footer-rg p { margin: 0; font-size: .85rem; }
.badge-18 { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--red); color: #fff; font-weight: 800; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 22px; font-size: .84rem; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
  .layout-article { grid-template-columns: minmax(0, 1fr) 300px; }
  .share-rail { display: none; }
  .cat-blocks { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav a { padding: 8px 10px; }
}
@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 20px 18px; gap: 2px; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; }
  .header-in { position: static; }
  .site-header .wrap.header-in { justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .layout, .layout-article { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .widget-toc { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .overlay-big { min-height: 420px; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-img::before { inset: 14px -8px -14px 14px; }
  .topbar-date { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hide-sm, .topbar-social { display: none; }
  .topbar-in { justify-content: center; text-align: center; }
  .brand img { width: 104px; }
  .brand-tag { display: none; }
  .header-in { min-height: 64px; gap: 10px; }
  .hero { padding-top: 18px; }
  .hero-side, .card-grid, .card-grid-3, .cat-blocks, .sidebar, .contact-cards, .form-row, .team-grid, .value-grid, .post-nav { grid-template-columns: 1fr; }
  .overlay-big { min-height: 380px; }
  .overlay-big .overlay-body { padding: 22px; }
  .overlay-excerpt { display: none; }
  .row-card { grid-template-columns: 1fr; gap: 14px; }
  .promo-strip { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .newsletter-in { flex-direction: column; align-items: stretch; }
  .newsletter-form { flex-basis: auto; }
  .inline-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .post-nav .next { text-align: left; }
  .author-box { flex-direction: column; }
  .result-count { width: 100%; margin-left: 0; }
}

/* SEO copy blocks (added with the English content) */
.h3 { font-size: 1.2rem; }
.widget-about .h3, .widget-cta .h3 { margin-bottom: .5em; }
.widget-cta .h3 { font-size: 1.4rem; }
.contact-card .h3 { margin: 0 0 4px; font-size: 1.05rem; }
.contact-card a { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--gold); }
.hero-intro { max-width: 820px; margin-bottom: 26px; }
.hero-intro h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 8px; }
.hero-intro p { font-size: 1.06rem; margin: 0; }
.seo-block { margin-top: 48px; padding: 30px 32px; border-radius: var(--radius); background: var(--cream); border: 1px solid #F4E3B5; }
.seo-block h2 { margin-top: 0; }
.seo-block h2 + p { margin-top: 0; }
.seo-block p + h2 { margin-top: 1.4em; }
.prose a:not(.btn):not(.cat-badge):not(.tag):not(.share-btn) { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:not(.btn):not(.cat-badge):not(.tag):not(.share-btn):hover { color: var(--gold-dark); }
.prose .post-nav a, .prose .author-box a { text-decoration: none; }
.filter-label { font-size: .86rem; font-weight: 600; color: var(--muted); }
.search-note { margin: -8px 0 20px; font-weight: 600; color: var(--ink); }
.blog-end { height: 60px; }
.rg-note { margin-top: 26px; padding: 14px 18px; border-radius: 10px; background: #FDECEC; border-left: 4px solid var(--red); font-size: .93rem; }
.section-narrow { max-width: 860px; }
.card-grid-tight .card-excerpt { display: none; }
.card-grid-tight .card-title { font-size: 1.02rem; }
span.tag::before { content: "#"; }
.content > .section-head:not(:first-child) { margin-top: 48px; }
@media (max-width: 640px) {
  .seo-block { padding: 22px 18px; }
}

/* Homepage hero cards that use Dean's banner art as background */
.overlay-banner > img { object-position: 100% center; }
.overlay-banner::after { background: linear-gradient(90deg, rgba(10,8,6,.88) 0%, rgba(10,8,6,.55) 45%, rgba(10,8,6,.1) 75%), linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6) 100%); }
.page-hero-text a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.page-hero-text a:hover { color: var(--gold-dark); }
