/*
Theme Name: BunkerTravelDreams
Theme URI: https://bunkertraveldreams.com/
Author: BunkerTravelDreams
Description: The custom editorial theme for BunkerTravelDreams. Fast, lightweight, no page builder; built-in SEO, schema, table of contents, newsletter, contact form and ad slots.
Version: 2.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bunkertraveldreams
Tags: blog, news, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --ink: #0E2A47;
  --ink-2: #1B3F66;
  --coral: #F26B3A;
  --coral-d: #D9552A;
  --gold: #F2A93B;
  --sand: #FBF7F2;
  --paper: #FFFFFF;
  --text: #1D2733;
  --muted: #5B6B7C;
  --line: #E6E1DA;
  --radius: 10px;
  --shadow: 0 12px 30px -14px rgba(14, 42, 71, .3);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-d); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }
.section { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #DCE7E5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 8px; }
.section--dark .eyebrow { color: var(--gold); }
.link-more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more::after { content: " \2192"; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 0; background: var(--coral); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--coral-d); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.topbar { background: var(--ink); color: #C9D6E3; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.topbar__date { white-space: nowrap; opacity: .85; }
.ticker { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.ticker__label { flex-shrink: 0; background: var(--coral); color: #fff; font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
.ticker__item { color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s, transform .35s; }
.ticker__item:hover { color: var(--gold); }
.ticker__item.is-out { opacity: 0; transform: translateY(6px); }
.topbar .social-links a { width: 28px; height: 28px; background: transparent; }
.topbar .social-links a:hover { background: var(--coral); }
.topbar__cta { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar__cta:hover { color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.masthead { display: flex; align-items: center; gap: 24px; height: 86px; }
.site-brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.site-brand svg, .site-brand img { height: 52px; width: auto; }
.site-brand .custom-logo { max-height: 56px; width: auto; }
.masthead .search-form { margin-left: auto; max-width: 360px; width: 100%; box-shadow: none; background: var(--sand); }
.masthead .search-form .btn { padding: 9px 16px; }
.header-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--sand); }
.nav-toggle, .search-toggle { display: none; }
.search-panel { display: none; border-top: 1px solid var(--line); padding: 14px 0; background: #fff; }
.search-panel.is-open { display: block; }

.catnav { border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; justify-content: center; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav a { display: block; white-space: nowrap; padding: 13px 14px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current-category-ancestor > a { color: var(--coral-d); border-bottom-color: var(--coral); }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; display: none; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 0 0 10px 10px; padding: 8px; box-shadow: var(--shadow); z-index: 5; }
.main-nav .sub-menu a { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 500; border: 0; padding: 9px 12px; border-radius: 6px; }
.main-nav .sub-menu a:hover { background: var(--sand); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }

.search-form { display: flex; background: #fff; border-radius: 999px; padding: 5px; border: 1px solid var(--line); max-width: 640px; }
.search-form input[type=search] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 16px; outline: none; font-size: .95rem; }
.search-form button { border-radius: 999px; }

.home-top { padding: 32px 0 8px; }
.lead-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; }
.lead-story { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 470px; display: flex; align-items: flex-end; background: var(--ink); color: #fff; }
.lead-story .media { position: absolute; inset: 0; }
.lead-story .media img, .lead-story .media .ph { width: 100%; height: 100%; object-fit: cover; }
.lead-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 38, 0) 30%, rgba(8, 22, 38, .9) 100%); pointer-events: none; }
.lead-story__body { position: relative; z-index: 2; padding: 34px; max-width: 760px; }
.lead-story h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: 10px 0 12px; }
.lead-story h2 a { color: inherit; text-decoration: none; }
.lead-story h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lead-story p { color: #DCE5EE; margin: 0 0 14px; }
.lead-story .meta { font-size: .85rem; color: #C9D6E3; }
.badge { position: relative; z-index: 2; display: inline-block; background: var(--coral); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; text-decoration: none; }
.badge:hover { background: var(--coral-d); color: #fff; }
.side-stack { display: flex; flex-direction: column; }
.side-stack__title { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.side-post { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.side-post:last-child { border-bottom: 0; }
.side-post .media { width: 112px; height: 82px; border-radius: 8px; overflow: hidden; background: var(--sand); }
.side-post .media img, .side-post .media .ph { width: 100%; height: 100%; object-fit: cover; }
.side-post h3 { font-size: 1.02rem; line-height: 1.3; margin: 4px 0 0; }
.side-post h3 a { color: var(--ink); text-decoration: none; }
.side-post h3 a::after { content: ""; position: absolute; inset: 0; }
.side-post h3 a:hover { color: var(--coral-d); }
.kicker { position: relative; z-index: 2; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-d); text-decoration: none; }

.block-head { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; }
.block-head h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0; white-space: nowrap; }
.block-head::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--ink) 0 64px, var(--line) 64px); order: 2; }
.block-head .link-more { order: 3; font-size: .85rem; color: var(--coral-d); }

.main-side { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
.post-list { display: grid; gap: 26px; }
.list-post { position: relative; display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; }
.list-post .media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.list-post .media img, .list-post .media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.list-post:hover .media img { transform: scale(1.04); }
.list-post h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.list-post h3 a { color: var(--ink); text-decoration: none; }
.list-post h3 a::after { content: ""; position: absolute; inset: 0; }
.list-post h3 a:hover { color: var(--coral-d); }
.list-post p { color: var(--muted); font-size: .95rem; margin: 0 0 8px; }
.meta { font-size: .8rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }

.sidebar { display: grid; gap: 28px; }
.widget-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.widget-box__title { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--coral); display: inline-block; }
.popular-list { list-style: none; counter-reset: pop; margin: 0; padding: 0; }
.popular-list li { counter-increment: pop; position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.popular-list li:last-child { border: 0; padding-bottom: 0; }
.popular-list li::before { content: counter(pop); font-family: var(--serif); font-size: 1.6rem; font-weight: 800; color: var(--coral); line-height: 1; }
.popular-list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.popular-list a:hover { color: var(--coral-d); }
.widget-box--news { background: var(--ink); color: #C9D6E3; border: 0; }
.widget-box--news .widget-box__title { color: #fff; }
.widget-box--news p { font-size: .9rem; }
.widget-box--news .newsletter-form { flex-direction: column; }
.widget-box--news .newsletter-form input[type=email] { flex: none; width: 100%; }
.widget-box--news .newsletter-form .btn { background: var(--coral); }
.widget-box--news .newsletter-form small { color: #9FB2C6; }
.widget-box--news .newsletter-form small a { color: #fff; }

.cat-block-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.cat-block-grid .card { height: 100%; }
.cat-block-list { display: flex; flex-direction: column; }
.cat-block-list .side-post:first-child { padding-top: 0; }

.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; min-height: 100%; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, #2B5C8A 100%); color: rgba(255, 255, 255, .85); text-align: center; padding: 10px; }
.ph svg { width: 34%; max-width: 90px; height: auto; opacity: .95; }
.ph span { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.side-post .ph span, .mini-post .ph span { display: none; }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--coral-d); text-decoration: none; position: relative; z-index: 2; }
.card__title { font-size: 1.25rem; margin: 8px 0 10px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__excerpt { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.card__meta { margin-top: auto; font-size: .82rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.card--overlay { color: #fff; border: 0; min-height: 300px; justify-content: flex-end; background: var(--ink); }
.card--overlay .card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.card--overlay::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(8, 22, 38, .88)); pointer-events: none; }
.card--overlay .card__body { position: relative; z-index: 2; flex: 0; }
.card--overlay .card__title a, .card--overlay .card__meta { color: #fff; }
.card--overlay .card__cat { color: var(--gold); }
.card--row { flex-direction: row; }
.card--row .card__media { width: 42%; aspect-ratio: auto; flex-shrink: 0; }

.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 20px; }
.mosaic > :first-child { grid-row: span 2; }
.mosaic > :first-child .card__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.mosaic > :nth-child(4) { grid-column: span 2; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; }
.chip:hover, .chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { opacity: .65; }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.cat-tile { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: #fff; background: var(--ink-2); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 22, 38, .85)); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile span { position: relative; z-index: 2; padding: 18px; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.cat-tile small { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 500; opacity: .8; margin-top: 4px; }

.tips-list { counter-reset: tip; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.tip-item { counter-increment: tip; display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tip-item::before { content: counter(tip, decimal-leading-zero); font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--coral); line-height: 1; }
.tip-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tip-item h3 a { color: var(--ink); text-decoration: none; }
.tip-item p { margin: 0; color: var(--muted); font-size: .93rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.split__col { border-radius: 20px; padding: 32px; }
.split__col--budget { background: #EAF2EF; }
.split__col--luxury { background: var(--ink); color: #D7E3E1; }
.split__col--luxury h2, .split__col--luxury h3 a { color: #fff; }
.split__col--luxury .eyebrow { color: var(--gold); }
.mini-post { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, .08); align-items: center; }
.split__col--luxury .mini-post { border-color: rgba(255, 255, 255, .12); }
.mini-post img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.mini-post h3 { font-size: 1.05rem; margin: 0; }
.mini-post h3 a { color: var(--ink); text-decoration: none; }

.newsletter { position: relative; border-radius: 24px; padding: clamp(32px, 6vw, 64px); background: var(--coral); color: #fff; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.newsletter::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--gold); opacity: .35; }
.newsletter h2 { color: #fff; margin-bottom: 10px; }
.newsletter p { margin: 0; color: #FFF1EC; }
.newsletter-form { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input[type=email] { flex: 1 1 220px; min-width: 0; padding: 14px 20px; border-radius: 999px; border: 0; }
.newsletter-form .btn { background: var(--ink); }
.newsletter-form .btn:hover { background: #0A1E1D; }
.newsletter-form small { flex-basis: 100%; color: #FFE6DE; font-size: .8rem; }
.newsletter-form small a { color: #fff; }

.gallery-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gallery-strip a { aspect-ratio: 1; overflow: hidden; border-radius: 10px; display: block; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-strip a:hover img { transform: scale(1.08); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: inherit; }
.social-links a:hover { background: var(--coral); color: #fff; }
.social-links--light a { background: var(--sand); color: var(--ink); }

.ad-slot { margin: 40px auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-slot__label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.ad-slot--sidebar { margin: 0 0 24px; }

.page-hero { background: var(--sand); padding: 48px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 10px; }
.page-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: 0; }
.page-hero--image { position: relative; color: #fff; background: var(--ink); padding: 110px 0 60px; border: 0; overflow: hidden; }
.page-hero--image img.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero--image .wrap { position: relative; z-index: 2; }
.page-hero--image h1, .page-hero--image .lead, .page-hero--image .breadcrumbs, .page-hero--image .breadcrumbs a { color: #fff; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--coral-d); }
.pagination { margin-top: 48px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; }
.pagination .current, .pagination .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { text-align: center; padding: 60px 20px; }

.post-hero { padding: 40px 0 0; }
.post-hero .card__cat { display: inline-block; margin-bottom: 10px; }
.post-hero h1 { max-width: 920px; }
.post-dek { font-size: 1.2rem; color: var(--muted); max-width: 760px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; font-size: .9rem; color: var(--muted); margin: 18px 0 28px; }
.post-meta img { width: 40px; height: 40px; border-radius: 50%; }
.post-meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.post-meta svg, .search-form .btn svg { display: inline-block; vertical-align: -3px; }
.post-figure { margin: 0 0 40px; }
.post-figure img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 20px; }
.post-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.post-sidebar { position: sticky; top: 96px; }
.toc { background: var(--sand); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 24px; }
.toc summary { font-family: var(--serif); font-weight: 700; color: var(--ink); cursor: pointer; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; }
.toc[open] summary::after { content: "\2212"; }
.toc ol { margin: 12px 0 0; padding-left: 18px; font-size: .92rem; }
.toc li { margin: 6px 0; }
.toc ol ol { margin-top: 4px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a.is-active, .toc a:hover { color: var(--coral-d); font-weight: 600; }
.toc--inline { display: none; }
.facts { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 32px; background: #fff; }
.facts h2 { font-size: 1.2rem; margin-bottom: 14px; }
.facts dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px 24px; margin: 0; }
.facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.disclosure-note { font-size: .85rem; background: #FFF6E6; border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 8px; margin-bottom: 28px; color: #5A4A2A; }
.entry-content { font-size: 1.08rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.8em; scroll-margin-top: 96px; }
.entry-content h3 { margin-top: 1.5em; scroll-margin-top: 96px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content img { border-radius: 12px; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; text-align: center; }
.entry-content blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--coral); font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--sand); font-weight: 600; }
.entry-content .callout { background: #EAF2EF; border-radius: 12px; padding: 18px 22px; margin: 1.6em 0; }
.entry-content .callout p:last-child { margin: 0; }
.entry-content .product-box { display: flex; gap: 18px; align-items: center; border: 1px dashed var(--gold); border-radius: 14px; padding: 18px; margin: 1.6em 0; background: #FFFCF4; }
.faq { margin: 48px 0 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq summary { padding: 16px 20px; font-weight: 600; cursor: pointer; color: var(--ink); }
.faq details > div { padding: 0 20px 16px; color: var(--muted); }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 40px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share strong { margin-right: 6px; font-size: .9rem; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--ink); border: 0; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--coral); color: #fff; }
.tags a { display: inline-block; font-size: .82rem; padding: 4px 12px; background: var(--sand); border-radius: 999px; margin: 0 6px 6px 0; text-decoration: none; color: var(--ink); }
.author-box { display: flex; gap: 20px; padding: 28px; border-radius: 20px; background: var(--sand); margin: 40px 0; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0; }
.author-box h3 { margin-bottom: 6px; }
.author-box p { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.related { padding: 64px 0; background: var(--sand); }

.comments-area { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-meta { font-size: .85rem; color: var(--muted); }
.comment-respond input:not([type=submit]):not([type=checkbox]), .comment-respond textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.comment-respond .submit { padding: 12px 24px; border-radius: 999px; border: 0; background: var(--coral); color: #fff; font-weight: 600; cursor: pointer; }

.wl-form { display: grid; gap: 16px; }
.wl-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wl-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.wl-form input, .wl-form textarea, .wl-form select { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.wl-form input:focus, .wl-form textarea:focus { border-color: var(--ink-2); outline: none; box-shadow: 0 0 0 3px rgba(27, 63, 102, .15); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.wl-notice--ok { background: #E3F2EA; color: #1D5B3A; }
.wl-notice--err { background: #FCE8E3; color: #8A2E1B; }

.page-content { padding: 56px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-card { background: var(--sand); border-radius: 20px; padding: 28px; }
.sitemap-cols { columns: 2 280px; column-gap: 48px; }
.sitemap-cols section { break-inside: avoid; margin-bottom: 32px; }

.site-footer { background: #0A1F35; color: #AFC0D2; padding: 72px 0 0; font-size: .94rem; }
.site-footer a { color: #E4ECF4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand .site-brand { margin-bottom: 16px; } .footer-brand svg { height: 50px; width: auto; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 18px 20px; display: none; font-size: .9rem; }
.cookie-bar.is-visible { display: block; }
.cookie-bar .actions { display: flex; gap: 8px; margin-top: 12px; }
.cookie-bar .btn { padding: 9px 18px; font-size: .9rem; }

.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text { font-size: .82rem; color: var(--muted); }
.sticky, .bypostauthor, .gallery-caption { }

@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .toc--inline { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-side { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .topbar { display: none; }
  .masthead { height: 66px; gap: 12px; }
  .site-brand svg, .site-brand img { height: 40px; }
  .masthead .search-form { display: none; }
  .nav-toggle, .search-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .catnav { border: 0; }
  .main-nav { position: fixed; inset: 66px 0 0 0; background: #fff; padding: 12px 20px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; z-index: 60; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; flex-wrap: nowrap; }
  .main-nav a { font-size: .95rem; padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .main-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .lead-grid, .cat-block-grid { grid-template-columns: 1fr; }
  .lead-story { min-height: 380px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .wrap { padding: 0 16px; }
  .grid--3, .grid--2, .grid--4, .sidebar { grid-template-columns: 1fr; }
  .lead-story { min-height: 340px; }
  .lead-story__body { padding: 22px; }
  .lead-story p { display: none; }
  .list-post { grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
  .list-post .media { aspect-ratio: 1; border-radius: 8px; }
  .list-post h3 { font-size: 1.05rem; margin: 2px 0 6px; }
  .list-post p { display: none; }
  .block-head h2 { white-space: normal; }
  .card--row { flex-direction: column; }
  .card--row .card__media { width: 100%; aspect-ratio: 3 / 2; }
  .wl-form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; }
  .site-brand svg, .site-brand img { height: 34px; }
}@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .post-sidebar, .share, .related, .ad-slot, .newsletter, .comments-area { display: none !important; }
}
