/* =========================================================
   Gümüşlük – gumuslukbodrum.com
   Lime-wash white, Aegean night ink, bougainvillea accent.
   Bricolage Grotesque (headings) + Figtree (text).
   ========================================================= */

:root {
	--wash: #F2F5F4;
	--paper: #FFFFFF;
	--ink: #12324A;
	--text: #1F2D38;
	--muted: #56676F;
	--line: #D3DDDC;
	--glass: #E2EDEB;
	--sea: #1F8A9A;
	--sea-deep: #146B78;
	--begonvil: #B8336A;
	--sun: #E39B4B;
	--olive: #5E6B47;
	--night: #0C2236;

	--f-head: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--measure: 680px;
	--wide: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(56px, 9vw, 120px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--wash);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--begonvil); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); font-optical-sizing: auto; text-wrap: balance; }
p { text-wrap: pretty; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn, .gb-button {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .78em 1.3em; border-radius: 999px; border: 0;
	background: var(--ink); color: #fff;
	font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover, .gb-button:hover { background: var(--sea-deep); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--glass); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-head { position: relative; z-index: 60; background: var(--wash); }
.site-head__in {
	max-width: calc(var(--wide) + 120px); margin: 0 auto; padding: 14px var(--gutter);
	display: flex; align-items: center; gap: 28px; min-height: 78px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.logo__mark { width: 46px; height: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 700 1.5rem/1 var(--f-head); letter-spacing: -.03em; font-stretch: 92%; }
.logo__tag { font-size: .78rem; color: var(--muted); margin-top: 4px; letter-spacing: .01em; }
.logo--custom img { max-height: 52px; width: auto; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 22px; flex-wrap: wrap; justify-content: flex-end; }
.nav__list > li { position: relative; }
.nav__list a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 560; font-size: .97rem; white-space: nowrap; }
.nav__list > li > a { background: linear-gradient(var(--begonvil), var(--begonvil)) left bottom / 0 2px no-repeat; transition: background-size .25s; }
.nav__list > li > a:hover, .nav__list > .current-menu-item > a, .nav__list > .current-menu-ancestor > a, .nav__list > .current_page_parent > a { background-size: 100% 2px; }
.nav__list .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 220px; list-style: none; margin: 0; padding: 10px 0;
	background: var(--paper); border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(18, 50, 74, .35), 0 0 0 1px rgba(18, 50, 74, .06);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { padding: 8px 18px; font-weight: 500; }
.nav__list .sub-menu a:hover { background: var(--wash); }

.site-head__tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.maplink {
	display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px;
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--line);
}
.maplink svg { width: 18px; height: 18px; color: var(--begonvil); }
.maplink:hover { background: var(--paper); }

/* Language switcher with flags */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255,255,255,.5); }
.lang__opt { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; color: var(--ink); text-decoration: none; font: 650 .82rem/1 var(--f-body); letter-spacing: .02em; }
.lang__opt .flag { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.14); flex-shrink: 0; }
a.lang__opt:hover { background: var(--glass); }
.lang__opt.is-current { background: var(--ink); color: #fff; }
.lang__opt.is-current .flag { box-shadow: 0 0 0 1.5px rgba(255,255,255,.85); }

.menu-btn { display: none; align-items: center; gap: 8px; padding: 8px 12px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .9rem/1 var(--f-body); cursor: pointer; }
.menu-btn__lines { position: relative; width: 16px; height: 10px; }
.menu-btn__lines span { position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, top .25s; }
.menu-btn__lines span:first-child { top: 0; }
.menu-btn__lines span:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines span:last-child { top: 4px; transform: rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 50; background: var(--wash); overflow-y: auto; padding-top: 92px; }
.drawer[hidden] { display: none; }
.drawer__in { max-width: 560px; margin: 0 auto; padding: 8px var(--gutter) 48px; display: grid; gap: 28px; }
.drawer__list, .drawer__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.drawer__list > li > a { display: block; padding: 10px 0; font: 650 clamp(1.6rem, 7vw, 2.2rem)/1.1 var(--f-head); letter-spacing: -.02em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer__list .sub-menu a { display: block; padding: 8px 0 8px 14px; color: var(--muted); text-decoration: none; font-weight: 550; }
.drawer__map { font-weight: 650; color: var(--begonvil); }
body.drawer-open { overflow: hidden; }

.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; padding: .75em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: inherit; color: var(--text); }
.search button { padding: .75em 1.2em; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 1rem/1 var(--f-body); cursor: pointer; }
.search--page { max-width: 560px; margin-top: 1.5rem; }

@media (max-width: 1240px) {
	.nav__list { gap: 4px 16px; }
	.nav__list a { font-size: .92rem; }
}
@media (max-width: 1140px) {
	.nav { display: none; }
	.menu-btn { display: inline-flex; }
	.site-head__tools { margin-left: auto; }
}
@media (max-width: 560px) {
	.site-head__in { gap: 12px; min-height: 66px; }
	.logo__mark { width: 38px; }
	.logo__name { font-size: 1.28rem; }
	.logo__tag { display: none; }
	.maplink span, .menu-btn__label { display: none; }
	.maplink { padding: 8px; }
	.menu-btn { padding: 10px; }
	.lang__opt { padding: 3px 8px 3px 3px; gap: 5px; }
	.lang--header .lang__code { font-size: .75rem; }
}

/* ---------- Hero: the live horizon ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 86vh, 880px); background: var(--night); color: var(--ink); }
.hero .sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.sky__sun { transform: translate(var(--sx), var(--sy)); transition: transform 1.8s cubic-bezier(.16, .8, .24, 1); }
.sky__reflection { transform: translateX(var(--sx)); transition: transform 1.8s cubic-bezier(.16, .8, .24, 1), opacity 1s; }
.sky [data-hidden="1"] { display: none; }
.sky__stars { opacity: 0; transition: opacity 1s; }
.sky[data-phase="night"] .sky__stars { opacity: 1; }
.sky[data-phase="dusk"] .sky__stars, .sky[data-phase="dawn"] .sky__stars { opacity: .45; }
.sky stop { transition: stop-color 1.2s; }

.hero__in {
	position: relative; min-height: inherit; max-width: calc(var(--wide) + 120px); margin: 0 auto;
	padding: clamp(36px, 7vh, 90px) var(--gutter) clamp(28px, 5vh, 52px);
	display: grid; grid-template-rows: 1fr auto; gap: 24px;
}
.hero__title {
	margin: 0; font-weight: 750; font-stretch: 80%; font-size: clamp(4.2rem, 23vw, 13.5rem); line-height: .82;
	letter-spacing: -.045em; color: inherit; text-wrap: nowrap;
}
.hero__sub { margin: .95em 0 0; max-width: 24ch; font: 450 clamp(1.25rem, 2.4vw, 1.75rem)/1.25 var(--f-head); letter-spacing: -.01em; }
.hero--light { color: #fff; }
.hero--dark .hero__sub { color: var(--ink); }
.hero__bottom { color: #fff; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 40px; }
.hero__sun .gb-sunset__text { margin: 0; display: grid; gap: 2px; }
.hero__sun .gb-sunset__label { font-size: .95rem; opacity: .85; }
.hero__sun .gb-sunset__time { font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--f-head); letter-spacing: -.03em; font-stretch: 85%; }
.hero__sun .gb-sunset__left { font-size: .95rem; color: inherit; opacity: .85; min-height: 1.4em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 4px auto; }
.hero__note { flex-basis: 100%; margin: 0; font-size: .8rem; opacity: .6; }
@media (max-width: 640px) {
	.hero { min-height: max(700px, 92svh); }
	.hero__bottom { gap: 14px; }
	.hero__actions { margin-left: 0; gap: 8px; }
	.hero__actions .btn { padding: .7em 1.05em; font-size: .95rem; }
	.hero__note { display: none; }
	.sky__reflection { display: none; }
}

/* ---------- Intro ---------- */
.intro { padding: var(--section) 0 calc(var(--section) * .6); }
.intro__in { max-width: var(--wide); margin: 0 auto; padding-inline: var(--gutter); }
.intro__in p { max-width: 34em; margin: 0 0 .8em; font: 420 clamp(1.3rem, 2.3vw, 1.7rem)/1.45 var(--f-head); color: var(--ink); letter-spacing: -.008em; }
.intro__in p + p { font: 400 1.1rem/1.65 var(--f-body); color: var(--muted); max-width: 40em; }

/* ---------- Sections ---------- */
.section-title { margin: 0 0 .35em; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.04; font-weight: 700; letter-spacing: -.025em; font-stretch: 92%; max-width: 20ch; }
.section-text { margin: 0; max-width: 48ch; color: var(--muted); font-size: 1.08rem; }
.section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.more { margin: 1.6rem 0 0; }
.more a, a.more { font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: var(--begonvil); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.more a:hover, a.more:hover { color: var(--begonvil); }

/* Routes */
.routes { padding: calc(var(--section) * .5) 0 var(--section); }
.routes__list { list-style: none; margin: clamp(20px, 3vw, 36px) 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.route__link {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 120px; gap: 20px clamp(20px, 4vw, 56px); align-items: center;
	padding: clamp(18px, 2.6vw, 30px) 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit;
}
.route__title { font: 680 clamp(1.55rem, 3.3vw, 2.6rem)/1.04 var(--f-head); letter-spacing: -.025em; font-stretch: 90%; color: var(--ink); transition: color .2s; }
.route__desc { color: var(--muted); font-size: 1.04rem; }
.route__media { order: 3; }
.route__media img, .route__media svg { width: 120px; height: 120px; object-fit: cover; border-radius: 60px 60px 6px 6px; }
.route__link:hover .route__title, .route__link:focus-visible .route__title { color: var(--begonvil); }
@media (max-width: 760px) {
	.route__link { grid-template-columns: 76px minmax(0, 1fr); gap: 4px 16px; }
	.route__media { order: 0; grid-row: span 2; }
	.route__media img, .route__media svg { width: 76px; height: 76px; border-radius: 38px 38px 4px 4px; }
}

/* The year */
.year { padding: var(--section) 0; background: var(--paper); }

/* Journal */
.journal { padding: var(--section) 0; }
.journal__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px clamp(28px, 4vw, 64px); align-items: start; }
.journal__side { display: grid; gap: 28px; }
@media (max-width: 900px) { .journal__grid { grid-template-columns: 1fr; } }

/* Map teaser */
.maptease { padding: var(--section) 0; background: var(--glass); }
.maptease__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 32px clamp(28px, 4vw, 64px); align-items: center; }
.maptease .gb-map { margin: 0; }
@media (max-width: 900px) { .maptease__grid { grid-template-columns: 1fr; } }

/* Villages */
.villages { padding: var(--section) 0; }
.villages__list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1em 1em; }
.villages__list a { font: 700 clamp(1.7rem, 4.6vw, 3.6rem)/1.15 var(--f-head); letter-spacing: -.03em; font-stretch: 85%; color: var(--ink); text-decoration: none; transition: color .2s; }
.villages__list li:nth-child(3n+2) a { color: var(--sea-deep); }
.villages__list li:nth-child(3n) a { color: #6D8794; }
.villages__list a:hover { color: var(--begonvil); }
.stay-wrap { padding-bottom: var(--section); }

/* ---------- Cards ---------- */
.card { position: relative; }
.card__media { display: block; overflow: hidden; border-radius: 6px; background: var(--glass); }
.card__media img, .card__media svg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img, .card:hover .card__media svg { transform: scale(1.03); }
.card__body { padding-top: 14px; }
.card__title { margin: .3em 0 .35em; font-size: 1.32rem; line-height: 1.18; font-weight: 650; letter-spacing: -.012em; }
.card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--begonvil), var(--begonvil)) left 100% / 0 2px no-repeat; transition: background-size .3s; }
.card__title a:hover { background-size: 100% 2px; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__excerpt { margin: 0 0 .6em; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card__meta { margin: 0; color: var(--muted); font-size: .85rem; }
.card .cat { position: relative; z-index: 1; }

.card--feature .card__media img, .card--feature .card__media svg { aspect-ratio: 16 / 10; }
.card--feature .card__title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.08; letter-spacing: -.02em; }
.card--feature .card__excerpt { font-size: 1.08rem; }

.card--row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: start; }
.card--row .card__body { padding-top: 0; }
.card--row .card__media img, .card--row .card__media svg { aspect-ratio: 1; }
.card--row .card__title { font-size: 1.16rem; margin-top: .25em; }

.cat { display: inline-flex; align-items: center; gap: .45em; color: var(--muted); font-size: .86rem; font-weight: 600; text-decoration: none; }
.cat__dot { width: .62em; height: .62em; border-radius: 50%; background: var(--c, var(--ink)); flex-shrink: 0; }
a.cat:hover { color: var(--ink); }

.gb-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 44px 32px; }

/* ---------- Entry (posts & pages) ---------- */
.entry__head { padding-top: clamp(28px, 6vw, 76px); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); }
.entry__title { margin: .3em 0 .3em; font-size: clamp(2.35rem, 5.6vw, 4.7rem); line-height: 1.0; font-weight: 720; letter-spacing: -.035em; font-stretch: 88%; max-width: 19ch; }
.entry--page .entry__title { margin-top: 0; }
.entry__lede { margin: 0; max-width: 44ch; color: var(--muted); font: 420 clamp(1.18rem, 2vw, 1.45rem)/1.42 var(--f-head); letter-spacing: -.005em; }
.entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 1.4rem; color: var(--muted); font-size: .92rem; }
.entry__meta:empty { display: none; }
.other-lang { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--glass); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.other-lang .flag { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.14); }
.other-lang:hover { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }

.entry__figure { margin-top: clamp(28px, 4vw, 52px); margin-bottom: 0; }
.entry__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 6px; }
.entry__credit { margin-top: .6rem; font-size: .8rem; color: var(--muted); }
.entry__credit a { color: var(--muted); }

.entry__body { max-width: var(--wide); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(60px, 8vw, 110px); }
.entry__body.has-toc { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 0 clamp(40px, 5vw, 72px); }
.toc { position: sticky; top: 24px; align-self: start; font-size: .9rem; padding-top: .3rem; }
.toc__title { margin: 0 0 .7rem; font-weight: 650; color: var(--ink); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: var(--ink); }
.toc li a.is-active { color: var(--ink); border-left-color: var(--begonvil); font-weight: 600; }
@media (max-width: 1100px) {
	.entry__body.has-toc { display: block; }
	.toc { display: none; }
}

/* ---------- Prose ---------- */
.prose { font-size: 1.125rem; line-height: 1.72; color: var(--text); }
.prose > * { max-width: var(--measure); }
.prose > .gb-map, .prose > .gb-post-grid, .prose > .gb-months, .prose > .alignwide, .prose > .wp-block-table, .prose > .gb-stay--inline { max-width: none; }
.prose > .wp-block-table { max-width: 880px; }
.prose > .gb-stay--inline { max-width: var(--measure); }
.prose p { margin: 0 0 1.15em; }
.prose h2 { margin: 2.1em 0 .55em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; scroll-margin-top: 24px; }
.prose h3 { margin: 1.8em 0 .45em; font-size: 1.32rem; line-height: 1.25; font-weight: 660; letter-spacing: -.01em; scroll-margin-top: 24px; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--begonvil); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-thickness .15s; }
.prose a:hover { text-decoration-thickness: 3px; }
.prose strong { font-weight: 660; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.3em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose ul li::marker { color: var(--sea); }
.prose ol li::marker { color: var(--sea-deep); font-weight: 650; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose img { border-radius: 6px; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5em; }

.prose .is-style-gb-callout, .prose .gb-callout {
	margin: 1.9em 0; padding: 1.05em 1.3em 1.1em; border-radius: 10px; background: var(--glass);
	font-size: 1.04rem; line-height: 1.62;
}
.prose .is-style-gb-callout p, .prose .gb-callout p { margin: 0; }
.prose .is-style-gb-callout p + p { margin-top: .6em; }
.prose .is-style-gb-callout strong:first-child { color: var(--sea-deep); }

.prose .is-style-gb-lede { font: 420 1.35rem/1.45 var(--f-head); color: var(--ink); }

.prose .wp-block-table { margin: 2em 0; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; line-height: 1.5; }
.prose th { text-align: left; font-weight: 650; color: var(--ink); padding: .6em 1em .6em 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.prose td { padding: .7em 1em .7em 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:last-child td { border-bottom: 0; }

.prose .wp-block-shortcode { margin: 0; }

/* Related */
.related { padding: 0 0 var(--section); }
.related .section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.2em; padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); max-width: none; }

/* ---------- Listing (journal, categories, search) ---------- */
.listing { padding-bottom: var(--section); }
.listing__head { padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 48px); }
.listing__title { margin: 0; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .95; font-weight: 740; letter-spacing: -.04em; font-stretch: 84%; }
.listing__title::after { content: ""; display: block; width: 72px; height: 5px; margin-top: .3em; border-radius: 3px; background: var(--c, var(--begonvil)); }
.listing__intro { margin: 1.1rem 0 0; max-width: 52ch; font: 420 clamp(1.12rem, 1.8vw, 1.35rem)/1.45 var(--f-head); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.8rem; }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .5em .95em; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; background: rgba(255,255,255,.55); }
.chip:hover { background: var(--paper); }
.chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.listing__lead { grid-column: 1 / -1; }
.listing__lead .card--feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; }
.listing__lead .card__body { padding-top: 0; }
@media (max-width: 860px) { .listing__lead .card--feature { grid-template-columns: 1fr; } }
.gb-empty { color: var(--muted); font-size: 1.1rem; }

.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 56px 0 0; }
.pager a, .pager span { display: inline-block; padding: .55em .95em; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager .current { background: var(--ink); color: #fff; box-shadow: none; }

.notfound { padding-top: clamp(28px, 6vw, 72px); padding-bottom: var(--section); }
.notfound__art svg { width: min(420px, 100%); border-radius: 6px; margin-bottom: 28px; }

/* ---------- Newsletter + Footer ---------- */
.letters { background: var(--glass); padding: clamp(40px, 6vw, 72px) 0; }
.letters__in { max-width: var(--wide); margin: 0 auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.letters__title { margin: 0 0 .3em; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; }
.letters p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .letters__in { grid-template-columns: 1fr; } }

.site-foot { position: relative; background: var(--night); color: #C9D6DC; margin-top: 40px; }
.site-foot__wave { position: absolute; left: 0; right: 0; top: -39px; width: 100%; height: 40px; color: var(--night); }
.site-foot__in { max-width: var(--wide); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) 32px; display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.site-foot a { color: #fff; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.site-foot a:hover { text-decoration-color: var(--sun); }
.site-foot .logo { color: #fff; }
.site-foot .logo__tag { color: #9DB3BE; }
.site-foot__brand p { max-width: 38ch; font-size: .98rem; line-height: 1.6; }
.site-foot__h { margin: 0 0 1rem; font: 650 .95rem/1.2 var(--f-body); color: #9DB3BE; }
.site-foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot__list a { text-decoration: none; }
.site-foot__list a:hover { text-decoration: underline; }
.site-foot .lang { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.site-foot .lang__opt { color: #fff; }
.site-foot a.lang__opt:hover { background: rgba(255,255,255,.1); }
.site-foot .lang__opt.is-current { background: #fff; color: var(--night); }
.site-foot .gb-sunset { margin-top: 24px; color: #fff; }
.site-foot .gb-sunset__icon { color: var(--sun); }
.site-foot__legal { max-width: var(--wide); margin: 0 auto; padding: 22px var(--gutter) 36px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #8FA6B2; }
@media (max-width: 900px) { .site-foot__in { grid-template-columns: 1fr 1fr; } .site-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-foot__in { grid-template-columns: 1fr; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
