/* ==========================================================================
   diaskedasi.info — editorial travel template
   Ported from the design handoff (Diaskedasi.dc.html + README tokens).
   Colour/font tokens are injected as CSS vars by index.php; the :root block
   below provides identical fallbacks so the CSS also works standalone
   (error.php / offline.php / component.php).
   ========================================================================== */

:root {
	--dsk-cream: #F5F0E8;
	--dsk-paper: #FBF8F2;
	--dsk-sand: #EADFCD;
	--dsk-sand-related: #EFE7D8;
	--dsk-terracotta: #B75E39;
	--dsk-terracotta-hover: #C96E47;
	--dsk-clay: #8F4A2C;
	--dsk-gold: #D9A87E;
	--dsk-taupe: #8A7E6F;
	--dsk-ink-soft: #4A4038;
	--dsk-body: #3A322B;
	--dsk-espresso: #2B2420;
	--dsk-footer: #231D19;
	--dsk-cream-text: #F7F2E9;

	--dsk-font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--dsk-font-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--dsk-rule: rgba(43, 36, 32, .14);
	--dsk-rule-soft: rgba(43, 36, 32, .08);
	--dsk-hairline: rgba(43, 36, 32, .18);

	/* spacing scale (8px base) */
	--dsk-pad-x: 48px;
	--dsk-max: 1280px;
	--dsk-read: 680px;
	--dsk-header-h: 74px;
	--dsk-hero-copy: 1000px;

	--dsk-ease: cubic-bezier(.2, .7, .2, 1);
	--dsk-ease-out: cubic-bezier(.16, .84, .32, 1); /* soft, expo-like exit */
}

/* Anchor jumps + smooth scroll leave room for the sticky header */
html { scroll-padding-top: 88px; }
[id] { scroll-margin-top: 88px; }

/* ------------------------------------------------------------------ base --- */
* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	max-width: 100%;
	overflow-x: hidden;
	transform: none !important;
}

body {
	margin: 0;
	max-width: 100%;
	background: var(--dsk-cream);
	color: var(--dsk-espresso);
	font-family: var(--dsk-font-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

.site { min-height: 100vh; display: flex; flex-direction: column; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }

::selection { background: var(--dsk-terracotta); color: var(--dsk-cream); }

:focus-visible { outline: 2px solid var(--dsk-clay); outline-offset: 3px; border-radius: 2px; }

.dsk-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--dsk-espresso); color: var(--dsk-cream);
	padding: 12px 20px; border-radius: 0 0 8px 0; font-weight: 700;
}
.dsk-skip:focus { left: 0; }

.dsk-main, .dsk-content, .dsk-home { flex: 1; width: 100%; max-width: 100%; min-width: 0; overflow-x: clip; }

/* Retired layout regions from earlier package builds. They are kept hidden so
   existing Joomla module assignments cannot reintroduce the broken shell. */
.dsk-main > .dsk-crumbs-wrap,
.dsk-sidebar-region,
.dsk-sidebar-inner,
.dsk-shell,
.has-sidebar .dsk-sidebar-region {
	display: none !important;
}

/* type helpers ------------------------------------------------------------- */
.dsk-overline {
	font-family: var(--dsk-font-sans);
	font-size: 12px; font-weight: 700; letter-spacing: .2em;
	text-transform: uppercase; color: var(--dsk-taupe);
}
.dsk-kicker {
	font-size: 11px; font-weight: 700; letter-spacing: .15em;
	text-transform: uppercase; color: var(--dsk-terracotta); margin-bottom: 9px;
}
.dsk-serif { font-family: var(--dsk-font-serif); }

/* buttons ------------------------------------------------------------------ */
.dsk-btn {
	display: inline-flex; align-items: center; gap: 11px;
	font-size: 13.5px; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; padding: 15px 28px; border-radius: 100px;
	transition: all .3s ease; border: 1.5px solid transparent;
}
.dsk-btn-solid { background: var(--dsk-espresso); color: var(--dsk-cream); }
.dsk-btn-solid:hover { background: var(--dsk-clay); }
.dsk-btn-outline { border-color: var(--dsk-hairline); color: var(--dsk-espresso); }
.dsk-btn-outline:hover { border-color: var(--dsk-terracotta); color: var(--dsk-clay); }
.dsk-btn-hero { border: 1.5px solid rgba(247, 242, 233, .65); color: var(--dsk-cream-text); }
.dsk-btn-hero:hover { background: var(--dsk-cream-text); color: var(--dsk-espresso); border-color: var(--dsk-cream-text); }

/* ============================================ reading-progress bar ========= */
.dsk-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
	background: var(--dsk-rule-soft); display: none;
}
body.view-article .dsk-progress { display: block; }
.dsk-progress span {
	display: block; height: 100%; width: 0%;
	background: linear-gradient(90deg, var(--dsk-terracotta), var(--dsk-clay));
	transition: width .1s linear;
}

/* ============================================ header ======================= */
.dsk-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	padding: 22px var(--dsk-pad-x);
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px;
	color: var(--dsk-espresso);
	transition: padding .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease;
}
/* solid state (default, and any scrolled state — toggled by JS) */
.dsk-header.is-solid {
	background: rgba(245, 240, 232, .9);
	-webkit-backdrop-filter: saturate(1.15) blur(12px);
	backdrop-filter: saturate(1.15) blur(12px);
	color: var(--dsk-espresso);
	box-shadow: 0 1px 0 rgba(43, 36, 32, .09);
}
.dsk-header.is-condensed { padding-top: 13px; padding-bottom: 13px; }
/* transparent-over-hero state (homepage top only) */
.dsk-header.is-transparent {
	background: transparent; box-shadow: none;
	-webkit-backdrop-filter: none; backdrop-filter: none;
	color: var(--dsk-cream-text);
	padding-top: 24px; padding-bottom: 24px;
}
body.no-hero .dsk-header { background: rgba(245, 240, 232, .9); box-shadow: 0 1px 0 rgba(43, 36, 32, .09);
	-webkit-backdrop-filter: saturate(1.15) blur(12px); backdrop-filter: saturate(1.15) blur(12px); }
body.no-hero .dsk-main { padding-top: var(--dsk-header-h); }
/* Initial paint over a hero: cream text until JS toggles is-solid on scroll */
body.has-hero .dsk-header:not(.is-solid) { color: var(--dsk-cream-text); }

.dsk-wordmark-link { display: flex; align-items: baseline; gap: 1px; flex: 0 0 auto; min-width: 0; }
.dsk-wordmark {
	font-family: var(--dsk-font-serif); font-weight: 600; font-size: 30px;
	letter-spacing: -.5px; line-height: 1; transition: font-size .35s ease;
}
.dsk-header.is-condensed .dsk-wordmark { font-size: 24px; }
.dsk-wordmark-suffix {
	font-family: var(--dsk-font-sans); font-weight: 600; font-size: 14px;
	letter-spacing: .02em; color: var(--dsk-terracotta);
}
.dsk-logo { max-height: 40px; width: auto; }

.dsk-nav { display: flex; align-items: center; justify-content: flex-end; gap: 34px; min-width: 0; }
.dsk-nav ul { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.dsk-nav a {
	font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
	text-transform: uppercase; opacity: .82; transition: opacity .25s ease;
}
.dsk-nav a:hover, .dsk-nav .active > a { opacity: 1; }

.dsk-search-trigger {
	display: grid; place-items: center; width: 38px; height: 38px;
	border-radius: 50%; transition: background .25s ease; color: inherit;
}
.dsk-search-trigger:hover { background: rgba(43, 36, 32, .08); }
.dsk-header.is-transparent .dsk-search-trigger:hover { background: rgba(247, 242, 233, .16); }

/* ============================================ search overlay =============== */
.dsk-search-overlay {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(30, 25, 21, .55);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	animation: dsk-overlayIn .3s ease;
}
.dsk-search-overlay[hidden] { display: none; }
.dsk-search-panel {
	background: var(--dsk-cream); padding: 40px 48px 48px;
	box-shadow: 0 24px 60px rgba(30, 25, 21, .28);
	animation: dsk-slideDown .35s var(--dsk-ease);
}
.dsk-search-inner { max-width: 900px; margin: 0 auto; }
.dsk-search-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.dsk-search-close {
	display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: var(--dsk-taupe);
}
.dsk-search-close:hover { color: var(--dsk-espresso); }
.dsk-search-field {
	display: flex; align-items: center; gap: 16px;
	border-bottom: 2px solid var(--dsk-espresso); padding-bottom: 14px;
}
.dsk-search-field input[type="text"] {
	flex: 1; border: none; background: none; outline: none;
	font-family: var(--dsk-font-serif); font-size: 38px; font-weight: 500; color: var(--dsk-espresso);
}

/* ============================================ hero (homepage) ============== */
.dsk-hero {
	position: relative; width: 100%; max-width: 100%; height: 100svh; min-height: 640px; overflow: hidden;
	display: block; isolation: isolate; contain: layout paint;
	background: linear-gradient(160deg, #c98a63 0%, #9c6b4a 42%, #5f726f 100%);
}
.dsk-hero-media {
	position: absolute; inset: 0; z-index: 0; transform: scale(1.08);
	background: radial-gradient(120% 90% at 70% 15%, rgba(233, 193, 150, .55), transparent 55%),
		linear-gradient(160deg, #c98a63 0%, #9c6b4a 42%, #5f726f 100%);
	background-size: cover; background-position: center;
	will-change: transform;
}
.dsk-hero-scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(30, 25, 21, .28) 0%, transparent 34%, transparent 46%, rgba(30, 25, 21, .62) 100%);
}
.dsk-hero-inner {
	position: absolute;
	left: 0;
	right: auto;
	bottom: 0;
	z-index: 2;
	width: min(100%, var(--dsk-hero-copy));
	max-width: 100%;
	margin: 0;
	padding: 0 var(--dsk-pad-x) 76px;
	color: var(--dsk-cream-text);
	transform: none !important;
	translate: none;
}
.dsk-hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; min-width: 0; flex-wrap: wrap; }
.dsk-hero-pill {
	padding: 7px 15px; border-radius: 100px; background: rgba(183, 94, 57, .92);
	font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	max-width: 100%;
	overflow-wrap: anywhere;
}
.dsk-hero-byline { font-size: 13px; letter-spacing: .03em; opacity: .9; min-width: 0; overflow-wrap: anywhere; }
.dsk-hero h1, .dsk-hero-title {
	font-family: var(--dsk-font-serif); font-weight: 500;
	font-size: clamp(40px, 5.2vw, 72px); line-height: 1.03; letter-spacing: 0;
	margin: 0 0 20px; max-width: 18ch; text-wrap: balance; overflow-wrap: anywhere;
	/* Cap long imported titles so they never overflow the hero / hit the header */
	display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.dsk-hero-dek {
	font-size: 19px; line-height: 1.55; max-width: min(56ch, 100%); opacity: .92; margin: 0 0 30px; overflow-wrap: anywhere;
	display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.dsk-hero-scroll {
	position: absolute; bottom: 30px; left: 50%; z-index: 3; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	color: var(--dsk-cream-text); opacity: .75;
}
.dsk-hero-scroll span { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.dsk-hero-scroll i { width: 1px; height: 38px; background: linear-gradient(var(--dsk-cream-text), transparent); }

	/* ============================================ layout shell ================= */
	.dsk-content { width: 100%; }

	/* section wrappers --------------------------------------------------------- */
.dsk-section { max-width: var(--dsk-max); margin: 0 auto; padding: 96px var(--dsk-pad-x) 40px; }
.dsk-section-head {
	display: flex; align-items: flex-end; justify-content: space-between;
	margin-bottom: 44px; flex-wrap: wrap; gap: 16px;
}
.dsk-section-head h2 {
	font-family: var(--dsk-font-serif); font-weight: 500;
	font-size: clamp(32px, 4vw, 48px); line-height: 1.05; margin: 0;
}
.dsk-link-cta {
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--dsk-clay); border-bottom: 1.5px solid var(--dsk-clay); padding-bottom: 3px;
}
.dsk-link-cta:hover { opacity: .65; }
.dsk-link-arrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dsk-clay); }
.dsk-link-arrow:hover { opacity: .65; }

/* ============================================ cards ======================== */
.dsk-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.dsk-grid-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 30px; }

.dsk-card { cursor: pointer; display: block; color: inherit; min-width: 0; }
.dsk-card-media {
	display: block; /* required so aspect-ratio takes effect on <a> */
	border-radius: 10px; overflow: hidden; position: relative;
	aspect-ratio: 3 / 2; margin-bottom: 18px;
	background: var(--dsk-sand); /* neutral fill while any image loads / if body has none */
}
.dsk-card-media img, .dsk-card-media .dsk-imgph {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: transform .7s var(--dsk-ease);
}
html[data-cardzoom="1"] .dsk-card:hover .dsk-card-media img,
html[data-cardzoom="1"] .dsk-card:hover .dsk-card-media .dsk-imgph { transform: scale(1.06); }

.dsk-card h3, .dsk-card-title {
	font-family: var(--dsk-font-serif); font-weight: 500; font-size: 24px;
	line-height: 1.12; margin: 0 0 10px; overflow-wrap: anywhere;
}
.dsk-card-dek { margin: 0 0 12px; color: var(--dsk-ink-soft); font-size: 15.5px; }
.dsk-card-meta { font-size: 12.5px; color: var(--dsk-taupe); }

/* featured asymmetric grid ------------------------------------------------- */
.dsk-featured-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 28px; }
.dsk-feat-lead { grid-row: span 2; }
.dsk-feat-lead .dsk-card-media { aspect-ratio: 4 / 3.4; border-radius: 12px; margin-bottom: 22px; }
.dsk-feat-lead .dsk-card-title { font-size: 34px; line-height: 1.08; margin-bottom: 12px; }
.dsk-feat-lead .dsk-kicker { font-size: 11.5px; }
.dsk-feat-side { display: flex; gap: 20px; align-items: center; }
.dsk-feat-side .dsk-card-media { width: 44%; aspect-ratio: 1 / 1; border-radius: 10px; margin-bottom: 0; flex: none; }
.dsk-feat-side .dsk-card-title { font-size: 23px; margin-bottom: 8px; }
.dsk-featured-section .dsk-section-head .dsk-kicker { margin-bottom: 10px; }

/* latest section rule ------------------------------------------------------ */
.dsk-latest-head { border-top: 1px solid var(--dsk-rule); padding-top: 44px; margin-bottom: 40px; }

/* ============================================ newsletter band ============== */
.dsk-newsletter-band { background: var(--dsk-espresso); color: var(--dsk-cream); padding: 84px var(--dsk-pad-x); }
.dsk-newsletter-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.dsk-newsletter-inner .dsk-overline { color: var(--dsk-gold); margin-bottom: 18px; }
.dsk-newsletter-inner h2 {
	font-family: var(--dsk-font-serif); font-weight: 500;
	font-size: clamp(32px, 4.5vw, 52px); line-height: 1.06; margin: 0 0 16px;
}
.dsk-newsletter-inner p.lead { margin: 0 auto 32px; max-width: 48ch; color: rgba(245, 240, 232, .72); font-size: 17px; }
.dsk-newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.dsk-newsletter-form input[type="email"] {
	flex: 1; min-width: 220px; padding: 16px 20px; border-radius: 100px;
	border: 1px solid rgba(245, 240, 232, .24); background: rgba(245, 240, 232, .06);
	color: var(--dsk-cream); font-size: 15px; outline: none;
}
.dsk-newsletter-form button {
	padding: 16px 30px; border-radius: 100px; background: var(--dsk-terracotta);
	color: var(--dsk-cream-text); font-size: 13.5px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; transition: background .25s ease;
}
.dsk-newsletter-form button:hover { background: var(--dsk-terracotta-hover); }
.dsk-newsletter-note { margin: 16px 0 0; font-size: 12.5px; color: rgba(245, 240, 232, .5); }

/* ============================================ article ====================== */
.dsk-article-head { padding: 112px var(--dsk-pad-x) 0; max-width: 820px; margin: 0 auto; text-align: center; }
.dsk-back-cat {
	display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: var(--dsk-taupe); margin-bottom: 26px;
}
.dsk-back-cat:hover { color: var(--dsk-clay); }
.dsk-article-head h1 {
	font-family: var(--dsk-font-serif); font-weight: 500;
	font-size: clamp(38px, 5.2vw, 66px); line-height: 1.03; letter-spacing: -.5px;
	margin: 0 0 22px; text-wrap: balance;
}
.dsk-article-dek {
	font-size: 21px; line-height: 1.5; color: var(--dsk-ink-soft); max-width: 44ch;
	margin: 0 auto 30px; font-family: var(--dsk-font-serif); font-style: italic;
}
.dsk-byline { display: flex; align-items: center; justify-content: center; gap: 14px; padding-bottom: 44px; }
.dsk-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, #c98a63, #8f4a2c); }
.dsk-byline-text { text-align: left; }
.dsk-byline-name { font-size: 14px; font-weight: 600; }
.dsk-byline-meta { font-size: 12.5px; color: var(--dsk-taupe); }

.dsk-article-hero {
	height: min(60vh, 620px); min-height: 420px; background-size: cover; background-position: center;
	margin-bottom: 56px;
}
.dsk-article-hero img { width: 100%; height: 100%; object-fit: cover; }

.dsk-reading {
	max-width: var(--dsk-read); margin: 0 auto; padding: 0 32px 40px;
	font-size: 19px; line-height: 1.75; color: var(--dsk-body);
}
.dsk-reading > * { max-width: 100%; }
.dsk-reading > p { margin: 0 0 26px; }
.dsk-reading > p:first-of-type::first-letter,
.dsk-reading .dsk-dropcap::first-letter {
	float: left; font-family: var(--dsk-font-serif); font-size: 78px; line-height: .8;
	font-weight: 600; color: var(--dsk-clay); padding: 6px 12px 0 0;
}
.dsk-reading h2 {
	font-family: var(--dsk-font-serif); font-weight: 600; font-size: 32px;
	line-height: 1.15; margin: 44px 0 18px;
}
.dsk-reading h3 { font-family: var(--dsk-font-serif); font-weight: 600; font-size: 26px; margin: 36px 0 14px; }
.dsk-reading figure { margin: 40px -60px; }
.dsk-reading figure img, .dsk-reading figure .dsk-imgph { width: 100%; border-radius: 10px; display: block; }
.dsk-reading figcaption { font-size: 13px; color: var(--dsk-taupe); margin-top: 12px; text-align: center; font-style: italic; }
.dsk-reading blockquote { margin: 48px 0; padding: 0 0 0 4px; text-align: center; }
.dsk-reading blockquote p, .dsk-pullquote {
	font-family: var(--dsk-font-serif); font-size: 34px; line-height: 1.25; font-weight: 500;
	color: var(--dsk-clay); margin: 0; text-wrap: balance;
}
.dsk-reading img { border-radius: 10px; }

/* ---------- Legacy / imported-article normalizer --------------------------
   Old Joomla 2.5 & Word-pasted bodies carry inline font/size/color/float and
   fixed-width table cruft. Force everything in the reading column into the
   template's clean type system. !important beats the content's inline styles.
   Headings, links and the design pull-quote keep their treatment (re-asserted
   below where needed). Nothing is edited in the database — pure presentation. */
.dsk-reading :where(p, li, td, th, dd, dt, span, font, small, div, section, article, main) {
	font-family: var(--dsk-font-sans) !important;
	color: var(--dsk-body) !important;
	background-color: transparent !important;
	letter-spacing: normal !important;
}
.dsk-reading :where(span, font, small) {
	font-size: inherit !important;
	line-height: inherit !important;
	font-weight: inherit !important;
}
.dsk-reading :where(p, li) { line-height: 1.75 !important; }
.dsk-reading p { margin: 0 0 24px !important; }
.dsk-reading div, .dsk-reading section, .dsk-reading table { max-width: 100% !important; width: auto !important; }
.dsk-reading p:empty, .dsk-reading div:empty, .dsk-reading span:empty { display: none !important; }

/* headings keep the serif display face */
.dsk-reading :where(h1, h2, h3, h4, h5, h6) { color: var(--dsk-espresso) !important; background: transparent !important; }
.dsk-reading :where(h1, h2, h3, h4, h5, h6) :where(span, font, b, strong) { font-family: var(--dsk-font-serif) !important; color: inherit !important; font-size: inherit !important; }

/* links */
.dsk-reading a, .dsk-reading a :where(span, font) {
	color: var(--dsk-clay) !important; background: transparent !important;
	text-decoration: underline; text-underline-offset: 2px;
}
.dsk-reading a:hover, .dsk-reading a:hover :where(span, font) { color: var(--dsk-terracotta) !important; }

/* media: strip fixed widths & floats, make responsive + rounded */
.dsk-reading :where(img, video, iframe, embed, object) {
	max-width: 100% !important; height: auto !important; float: none !important;
	display: block; margin: 28px auto; border-radius: 10px;
}

/* lists */
.dsk-reading ul, .dsk-reading ol { margin: 0 0 24px !important; padding-left: 1.4em !important; list-style-position: outside; }
.dsk-reading li { margin: 0 0 8px; }

/* tables → clean and horizontally scrollable on small screens */
.dsk-reading table {
	border-collapse: collapse !important; margin: 28px 0; font-size: 16px;
	display: block; overflow-x: auto; border: 0 !important; background: transparent !important;
}
.dsk-reading td, .dsk-reading th {
	border: 1px solid var(--dsk-rule) !important; padding: 10px 12px !important;
	text-align: left; vertical-align: top;
}
.dsk-reading th { font-weight: 600; background: var(--dsk-sand) !important; color: var(--dsk-espresso) !important; }

/* re-assert the design pull-quote (the generic <p> rule above would flatten it) */
.dsk-reading blockquote { margin: 44px 0; padding: 0 0 0 4px; text-align: center; }
.dsk-reading blockquote :where(p, span, font) {
	font-family: var(--dsk-font-serif) !important; color: var(--dsk-clay) !important;
	font-size: clamp(24px, 3.4vw, 32px) !important; line-height: 1.3 !important;
	font-weight: 500 !important; margin: 0 !important; text-wrap: balance;
}

.dsk-tags {
	display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--dsk-rule);
	margin-top: 40px; padding-top: 28px; align-items: center;
}
.dsk-tags-label { font-size: 12px; font-weight: 600; color: var(--dsk-taupe); margin-right: 6px; }
.dsk-tag {
	padding: 7px 14px; border-radius: 100px; background: var(--dsk-sand);
	font-size: 12.5px; font-weight: 600; color: var(--dsk-ink-soft);
}

/* related ("Keep reading") ------------------------------------------------- */
.dsk-related { background: var(--dsk-sand-related); padding: 72px var(--dsk-pad-x); margin-top: 40px; }
.dsk-related-inner { max-width: 1180px; margin: 0 auto; }
.dsk-related h2 { font-family: var(--dsk-font-serif); font-weight: 500; font-size: 36px; margin: 0 0 36px; }
.dsk-related .dsk-card-media { margin-bottom: 16px; }
.dsk-related .dsk-card-title { font-size: 23px; margin: 0; }

/* ============================================ category / listing =========== */
.dsk-listing { padding-top: 100px; }
.dsk-listing-head { max-width: var(--dsk-max); margin: 0 auto; padding: 36px var(--dsk-pad-x) 0; }
.dsk-crumbs, .dsk-crumbs-wrap nav {
	font-size: 12.5px; color: var(--dsk-taupe); margin-bottom: 30px;
	display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.dsk-crumbs a, .dsk-crumbs-wrap a { font-weight: 600; }
.dsk-crumbs a:hover, .dsk-crumbs-wrap a:hover { color: var(--dsk-clay); }
.dsk-crumbs .active, .dsk-crumbs-wrap .active { color: var(--dsk-ink-soft); }
.dsk-crumbs ol, .dsk-crumbs-wrap ol { display: flex; gap: 8px; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.dsk-crumbs .divider { color: var(--dsk-taupe); }

.dsk-listing-intro { max-width: 680px; margin-bottom: 48px; }
.dsk-listing-intro .dsk-kicker { color: var(--dsk-terracotta); font-size: 12px; letter-spacing: .2em; margin-bottom: 14px; }
.dsk-listing-intro h1 {
	font-family: var(--dsk-font-serif); font-weight: 500;
	font-size: clamp(40px, 5.5vw, 68px); line-height: 1.02; margin: 0 0 18px;
}
.dsk-listing-intro p { font-size: 19px; line-height: 1.6; color: var(--dsk-ink-soft); margin: 0; }

.dsk-controls {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	border-bottom: 1px solid var(--dsk-rule); padding-bottom: 22px; margin-bottom: 44px;
}
.dsk-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.dsk-pill {
	padding: 9px 17px; border-radius: 100px; font-size: 13px; font-weight: 600;
	letter-spacing: .01em; transition: all .22s ease; cursor: pointer;
	background: transparent; color: var(--dsk-ink-soft); border: 1px solid var(--dsk-hairline);
}
.dsk-pill:hover { border-color: var(--dsk-terracotta); color: var(--dsk-clay); }
.dsk-pill.is-active { background: var(--dsk-espresso); color: var(--dsk-cream); border-color: var(--dsk-espresso); }
.dsk-category-filter { position: relative; min-width: min(320px, 100%); }
.dsk-category-filter summary {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
	min-height: 46px; padding: 8px 14px; border: 1px solid var(--dsk-hairline);
	border-radius: 6px; background: var(--dsk-paper); color: var(--dsk-espresso);
	cursor: pointer; list-style: none;
}
.dsk-category-filter summary::-webkit-details-marker { display: none; }
.dsk-category-filter summary:hover,
.dsk-category-filter summary:focus-visible { border-color: var(--dsk-terracotta); outline: none; }
.dsk-category-filter[open] summary { border-color: var(--dsk-terracotta); }
.dsk-category-filter[open] summary svg { transform: rotate(180deg); }
.dsk-category-filter-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--dsk-taupe); }
.dsk-category-filter-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.dsk-category-filter-popover {
	position: absolute; z-index: 30; top: calc(100% + 8px); left: 0;
	width: min(380px, calc(100vw - (2 * var(--dsk-pad-x)))); max-height: 360px;
	overflow-y: auto; padding: 8px; border: 1px solid var(--dsk-rule);
	border-radius: 6px; background: var(--dsk-paper); box-shadow: 0 16px 36px rgba(43, 36, 32, .16);
}
.dsk-category-filter-option {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 10px 12px; border-radius: 4px; font-size: 13px; font-weight: 600;
}
.dsk-category-filter-option:hover { background: rgba(183, 94, 57, .08); color: var(--dsk-clay); }
.dsk-category-filter-option.is-active { background: var(--dsk-espresso); color: var(--dsk-cream); }
.dsk-sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dsk-taupe); }
.dsk-sort button {
	display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--dsk-espresso);
	padding: 8px 14px; border: 1px solid var(--dsk-hairline); border-radius: 100px;
}
.dsk-sort button:hover { border-color: var(--dsk-terracotta); }

.dsk-listing-body { max-width: var(--dsk-max); margin: 0 auto; padding: 0 var(--dsk-pad-x) 96px; transition: opacity .18s ease; }
.dsk-listing.is-loading .dsk-listing-body { opacity: .38; pointer-events: none; }

/* empty state -------------------------------------------------------------- */
.dsk-empty { text-align: center; padding: 90px 20px; }
.dsk-empty-badge {
	width: 70px; height: 70px; border-radius: 50%; background: var(--dsk-sand);
	display: grid; place-items: center; margin: 0 auto 24px;
}
.dsk-empty h3 { font-family: var(--dsk-font-serif); font-weight: 500; font-size: 32px; margin: 0 0 10px; }
.dsk-empty p { color: var(--dsk-taupe); max-width: 38ch; margin: 0 auto 26px; }

/* pagination --------------------------------------------------------------- */
.dsk-pagination-section {
	max-width: var(--dsk-max);
	margin: 0 auto;
	padding: 22px var(--dsk-pad-x) 96px;
}
.dsk-pagination-wrap { display: flex; justify-content: center; }
.dsk-home-results { transition: opacity .18s ease; }
.dsk-home.is-loading-results .dsk-home-results { opacity: .38; pointer-events: none; }
.dsk-pagination, .pagination {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 64px; list-style: none; padding: 0; flex-wrap: wrap;
}
.dsk-pagination-wrap .pagination { margin-top: 0; }
.dsk-pagination li { list-style: none; }
.dsk-pagination a, .dsk-pagination span,
.pagination a, .pagination span {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
	font-weight: 600; font-size: 14px; color: var(--dsk-ink-soft); transition: all .2s ease;
}
.dsk-pagination a:hover, .pagination a:hover { background: rgba(43, 36, 32, .06); }
.dsk-pagination .active > span, .dsk-pagination .active > a,
.dsk-pagination .dsk-current,
.pagination .active > span, .pagination .active > a {
	background: var(--dsk-espresso); color: var(--dsk-cream);
}
.dsk-pagination .dsk-page-nav, .pagination .pagenav {
	border: 1px solid var(--dsk-hairline); color: var(--dsk-taupe);
}
.dsk-pagination .dsk-page-nav:hover, .pagination .pagenav:hover { border-color: var(--dsk-terracotta); color: var(--dsk-clay); background: none; }
.dsk-pagination .disabled span, .pagination .disabled span { opacity: .4; }
.dsk-ellipsis { color: var(--dsk-taupe); padding: 0 4px; width: auto !important; }
/* Native Joomla/Bootstrap pagination markup → round buttons */
.pagination .page-item .page-link {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
	font-weight: 600; font-size: 14px; color: var(--dsk-ink-soft); border: none; background: none;
}
.pagination .page-item.active .page-link { background: var(--dsk-espresso); color: var(--dsk-cream); }
.pagination .page-item--first .page-link,
.pagination .page-item--previous .page-link,
.pagination .page-item--next .page-link,
.pagination .page-item--last .page-link { border: 1px solid var(--dsk-hairline); color: var(--dsk-taupe); }
.pagination .page-item.disabled .page-link { opacity: .35; cursor: default; }
.pagination .page-item .page-link:hover { border-color: var(--dsk-terracotta); color: var(--dsk-clay); background: rgba(43, 36, 32, .06); }

/* ============================================ archive ===================== */
.dsk-archive { padding-top: 100px; }
.dsk-archive-inner { max-width: 960px; margin: 0 auto; padding: 40px var(--dsk-pad-x) 96px; }
.dsk-archive-head { margin-bottom: 56px; }
.dsk-archive-head .dsk-kicker { color: var(--dsk-terracotta); font-size: 12px; letter-spacing: .2em; margin-bottom: 14px; }
.dsk-archive-head h1 { font-family: var(--dsk-font-serif); font-weight: 500; font-size: clamp(40px, 5.5vw, 68px); line-height: 1.02; margin: 0 0 16px; }
.dsk-archive-head p { font-size: 19px; color: var(--dsk-ink-soft); margin: 0; max-width: 52ch; }

.dsk-archive-group { margin-bottom: 20px; }
.dsk-archive-group-head {
	display: flex; align-items: baseline; gap: 16px; position: sticky; top: var(--dsk-header-h);
	background: var(--dsk-cream); padding: 14px 0; z-index: 5;
}
.dsk-archive-group-head h2 { font-family: var(--dsk-font-serif); font-weight: 500; font-size: 28px; margin: 0; }
.dsk-archive-group-head .rule { flex: 1; height: 1px; background: var(--dsk-rule); }
.dsk-archive-group-head .count { font-size: 12.5px; color: var(--dsk-taupe); font-weight: 600; }

.dsk-archive-row {
	display: grid; grid-template-columns: 88px 1fr auto; gap: 22px; align-items: center;
	padding: 20px 8px; border-bottom: 1px solid var(--dsk-rule-soft); transition: background .2s ease;
}
.dsk-archive-row:hover { background: rgba(43, 36, 32, .035); }
.dsk-archive-thumb { width: 88px; height: 62px; border-radius: 6px; object-fit: cover; }
.dsk-archive-row .dsk-kicker { font-size: 10.5px; letter-spacing: .14em; margin-bottom: 5px; }
.dsk-archive-row h3 { font-family: var(--dsk-font-serif); font-weight: 500; font-size: 24px; line-height: 1.1; margin: 0; }
.dsk-archive-date { text-align: right; font-size: 12.5px; color: var(--dsk-taupe); white-space: nowrap; }

/* ============================================ image placeholders ========== */
.dsk-imgph { display: block; width: 100%; height: 100%; }
.dsk-imgph-1 { background: radial-gradient(110% 90% at 72% 18%, rgba(255,255,255,.16), transparent 55%), linear-gradient(160deg, #c98a63, #5f726f); }
.dsk-imgph-2 { background: radial-gradient(110% 90% at 72% 18%, rgba(255,255,255,.16), transparent 55%), linear-gradient(150deg, #c47a52, #8f4a2c); }
.dsk-imgph-3 { background: radial-gradient(110% 90% at 72% 18%, rgba(255,255,255,.16), transparent 55%), linear-gradient(150deg, #d8c6a8, #a28e79); }
.dsk-imgph-4 { background: radial-gradient(110% 90% at 72% 18%, rgba(255,255,255,.16), transparent 55%), linear-gradient(150deg, #b07a54, #6b5d49); }

/* blur-up lazy image ------------------------------------------------------- */
img[loading="lazy"].dsk-blur { filter: blur(14px); transition: filter .6s ease; }
img[loading="lazy"].dsk-blur.is-loaded { filter: blur(0); }

/* ============================================ footer ======================= */
.dsk-footer { background: var(--dsk-footer); color: #E8DFD1; padding: 72px var(--dsk-pad-x) 40px; }
.dsk-footer-inner { max-width: var(--dsk-max); margin: 0 auto; }
.dsk-footer-grid {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
	padding-bottom: 52px; border-bottom: 1px solid rgba(232, 223, 209, .14);
}
.dsk-foot-wordmark { display: flex; align-items: baseline; gap: 1px; margin-bottom: 16px; }
.dsk-foot-wordmark .dsk-wordmark-suffix { color: var(--dsk-gold); }
.dsk-foot-desc { color: rgba(232, 223, 209, .6); font-size: 15px; max-width: 38ch; margin: 0; }
.dsk-footer-col h3, .dsk-footer-col .dsk-foot-title, .dsk-footer-col .moduletitle {
	font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--dsk-taupe); margin: 0 0 16px;
}
.dsk-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.dsk-footer-col a { color: rgba(232, 223, 209, .82); }
.dsk-footer-col a:hover { color: var(--dsk-gold); }
.dsk-footer-legal {
	display: flex; align-items: center; justify-content: space-between;
	padding-top: 26px; flex-wrap: wrap; gap: 14px;
	font-size: 12.5px; color: rgba(232, 223, 209, .5);
}
.dsk-footer-legal a:hover { color: var(--dsk-gold); }
.dsk-footer-legal ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }

/* ============================================ 404 / offline =============== */
.dsk-error-body { background: var(--dsk-cream); margin: 0; font-family: var(--dsk-font-sans); }
.dsk-404 {
	min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 120px 32px 60px; position: relative; overflow: hidden;
}
.dsk-404-glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 40%, rgba(183, 94, 57, .1), transparent); }
.dsk-404-inner { position: relative; }
.dsk-404-code { font-family: var(--dsk-font-serif); font-weight: 500; font-size: clamp(120px, 20vw, 240px); line-height: .85; color: var(--dsk-clay); letter-spacing: -4px; }
.dsk-404-over { margin: 8px 0 22px; letter-spacing: .24em; }
.dsk-404-title { font-family: var(--dsk-font-serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; margin: 0 0 16px; max-width: 16ch; }
.dsk-404-copy { color: var(--dsk-ink-soft); max-width: 42ch; margin: 0 auto 34px; }
.dsk-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.dsk-offline-mark { justify-content: center; margin-bottom: 20px; }
.dsk-offline-img { max-width: 220px; margin: 0 auto 24px; }
.dsk-offline-login { max-width: 360px; margin: 24px auto 0; }

	/* ============================================ Joomla module output ========= */
	.moduletable, .module, .dsk-module { margin: 0; }
	body .jmodedit,
	body .btn.jmodedit,
	body a.jmodedit,
	body [role="tooltip"][id^="tip-"],
	body .tip-wrap,
	body .tooltip {
		display: none !important;
		visibility: hidden !important;
		position: absolute !important;
		width: 0 !important;
		height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		pointer-events: none !important;
	}
	.dsk-plain,
	.dsk-module--menu,
	.dsk-module--newsletter,
	.dsk-module--bottom,
	.dsk-module--debug,
	.dsk-module--footer-a,
	.dsk-module--footer-b,
	.dsk-module--footer-c,
	.dsk-module--footer-d,
	.dsk-module--menu > .dsk-module-body,
	.dsk-module--newsletter > .dsk-module-body,
	.dsk-module--bottom > .dsk-module-body,
	.dsk-module--debug > .dsk-module-body,
	.dsk-module--footer-a > .dsk-module-body,
	.dsk-module--footer-b > .dsk-module-body,
	.dsk-module--footer-c > .dsk-module-body,
	.dsk-module--footer-d > .dsk-module-body {
		display: contents;
	}
	.dsk-module-title {
		font-family: var(--dsk-font-serif);
		font-weight: 500;
		font-size: 25px;
		line-height: 1.15;
		margin: 0 0 16px;
	}
	/* Header nav and footer columns supply their own headings, so suppress the
	   module's own title in those regions (prevents "New Menu" showing in nav). */
	.dsk-nav .dsk-module-title,
	.dsk-footer .dsk-module-title { display: none; }
	.visually-hidden {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}

	.dsk-module .mod-menu,
	.dsk-module .mod-login__options {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.dsk-module .mod-menu a,
	.dsk-module .mod-login__options a {
		color: inherit;
		transition: color .2s ease, opacity .2s ease, background .2s ease;
	}

	.dsk-nav .mod-menu,
	.dsk-nav .mod-list {
		display: flex;
		align-items: center;
		gap: 34px;
		min-width: 0;
	}
	.dsk-nav .mod-menu a {
		display: inline-flex;
		align-items: center;
		font-size: 13.5px;
		font-weight: 600;
		letter-spacing: .06em;
		text-transform: uppercase;
		opacity: .82;
	}
	.dsk-nav .mod-menu a:hover,
	.dsk-nav .mod-menu .active > a {
		opacity: 1;
	}

	.mod-login,
	.mod-login-logout {
		display: block;
		margin: 0;
	}
	.mod-login__userdata,
	.mod-login .userdata,
	.mod-login-logout__button {
		display: grid;
		gap: 14px;
	}
	.mod-login .form-group,
	.mod-login-logout .form-group {
		margin: 0;
	}
	.mod-login .input-group {
		display: flex;
		align-items: stretch;
		width: 100%;
	}
	.mod-login input[type="text"],
	.mod-login input[type="password"],
	.mod-login .form-control {
		width: 100%;
		min-height: 46px;
		border: 1px solid var(--dsk-hairline);
		border-radius: 6px;
		background: var(--dsk-paper);
		color: var(--dsk-espresso);
		font: 500 15px/1.4 var(--dsk-font-sans);
		padding: 12px 14px;
		outline: none;
		box-shadow: none;
		transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
	}
	.mod-login input[type="text"]:focus,
	.mod-login input[type="password"]:focus,
	.mod-login .form-control:focus {
		border-color: var(--dsk-terracotta);
		background: #fffaf2;
		box-shadow: 0 0 0 3px rgba(183, 94, 57, .12);
	}
	.mod-login .input-group-text,
	.mod-login .input-password-toggle {
		display: grid;
		place-items: center;
		min-width: 46px;
		margin-left: -1px;
		border: 1px solid var(--dsk-hairline);
		border-radius: 0 6px 6px 0;
		background: var(--dsk-sand);
		color: var(--dsk-taupe);
	}
	.mod-login .input-group .form-control:first-child {
		border-radius: 6px 0 0 6px;
	}
	.mod-login .form-check {
		display: flex;
		align-items: center;
		gap: 10px;
		font-size: 13.5px;
		color: var(--dsk-ink-soft);
	}
	.mod-login .form-check-input {
		width: 18px;
		height: 18px;
		accent-color: var(--dsk-terracotta);
	}
	.mod-login .btn:not(.input-password-toggle),
	.mod-login button[type="submit"],
	.mod-login-logout .btn,
	.mod-login-logout button[type="submit"] {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 46px;
		border-radius: 100px;
		background: var(--dsk-espresso);
		color: var(--dsk-cream);
		font-size: 13px;
		font-weight: 700;
		letter-spacing: .08em;
		text-transform: uppercase;
		padding: 12px 22px;
		transition: background .2s ease, color .2s ease;
	}
	.mod-login .btn:not(.input-password-toggle):hover,
	.mod-login button[type="submit"]:hover,
	.mod-login-logout .btn:hover,
	.mod-login-logout button[type="submit"]:hover {
		background: var(--dsk-clay);
	}
	.mod-login .input-password-toggle {
		width: auto;
		min-height: 46px;
		padding: 0 13px;
		border-radius: 0 6px 6px 0;
		background: var(--dsk-sand);
		color: var(--dsk-clay);
		text-transform: none;
		letter-spacing: 0;
	}
	.mod-login__options {
		display: grid;
		gap: 7px;
		font-size: 13.5px;
		color: var(--dsk-taupe);
	}
	.mod-login__options a:hover {
		color: var(--dsk-clay);
	}
	.mod-login-logout__login-greeting,
	.mod-login-logout .login-greeting {
		margin: 0 0 14px;
		font-family: var(--dsk-font-serif);
		font-size: 23px;
		line-height: 1.15;
		color: var(--dsk-espresso);
	}
	.mod-login input:-webkit-autofill,
	.mod-login input:-webkit-autofill:hover,
	.mod-login input:-webkit-autofill:focus,
	.dsk-search-field input:-webkit-autofill,
	.dsk-newsletter-form input:-webkit-autofill {
		-webkit-text-fill-color: var(--dsk-espresso);
		-webkit-box-shadow: 0 0 0 1000px var(--dsk-paper) inset;
		box-shadow: 0 0 0 1000px var(--dsk-paper) inset;
		caret-color: var(--dsk-espresso);
		transition: background-color 9999s ease-out;
	}

/* ============================================ animations ================== */
@keyframes shimmer { 0% { background-position: -460px 0; } 100% { background-position: 460px 0; } }
@keyframes dsk-fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes dsk-overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dsk-slideDown { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }

.dsk-skeleton {
	background: linear-gradient(90deg, #eae0d0 25%, #f3ebdd 50%, #eae0d0 75%);
	background-size: 920px 100%; animation: shimmer 1.5s infinite;
}

/* reveal-on-scroll (JS toggles .is-in) ------------------------------------- */
/* Longer distance + softer easing = the smooth "settle" feel. Stagger delay is
   set inline by JS on grid children (--dsk-stagger). */
html[data-reveal="1"] [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
html[data-reveal="1"] [data-reveal] {
	transition: opacity .85s var(--dsk-ease-out), transform .85s var(--dsk-ease-out);
	transition-delay: var(--dsk-stagger, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Card interactions — a whisper of lift, works with the existing zoom */
.dsk-card { transition: transform .35s var(--dsk-ease-out); }
html[data-cardzoom="1"] .dsk-card:hover { transform: translateY(-3px); }

/* Skip-to-content link becomes fully visible when focused (contrast + focus ring) */
.dsk-skip:focus { left: 12px; top: 12px; box-shadow: 0 0 0 3px var(--dsk-terracotta); }

/* When the search overlay is open, dim scroll performance work on offscreen sections */
body.dsk-modal-open { overflow: hidden; }

/* ============================================ responsive ================== */
@media (max-width: 1023px) {
	:root { --dsk-pad-x: 32px; }
	.dsk-header { gap: 18px; }
	.dsk-featured-grid { grid-template-columns: 1fr 1fr; }
	.dsk-feat-lead { grid-row: auto; grid-column: span 2; }
	.dsk-grid-3, .dsk-grid-cat { grid-template-columns: repeat(2, 1fr); }
	.dsk-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.dsk-nav { gap: 20px; }
	.dsk-nav ul,
	.dsk-nav .mod-menu,
	.dsk-nav .mod-list { gap: 20px; }
	.dsk-reading figure { margin-left: 0; margin-right: 0; }
}

@media (max-width: 639px) {
	:root { --dsk-pad-x: 20px; --dsk-header-h: 66px; }
	body { font-size: 16px; }
	.dsk-header {
		padding: 17px var(--dsk-pad-x);
		align-items: center;
	}
	.dsk-header.is-transparent { padding-top: 17px; padding-bottom: 17px; }
	.dsk-wordmark { font-size: 25px; }
	.dsk-wordmark-suffix { font-size: 12px; }
	.dsk-nav { gap: 10px; }
	.dsk-nav ul,
	.dsk-nav .mod-menu,
	.dsk-nav .mod-list {
		display: none;
	}
	.dsk-search-trigger { width: 36px; height: 36px; }
	.dsk-hero { height: 100svh; min-height: 540px; }
	.dsk-hero-inner { padding-bottom: 64px; }
	.dsk-hero-meta { gap: 8px 10px; margin-bottom: 16px; }
	.dsk-hero-pill { font-size: 10px; letter-spacing: .08em; padding: 6px 10px; }
	.dsk-hero-byline { font-size: 12px; }
	.dsk-hero h1,
	.dsk-hero-title { font-size: clamp(38px, 13vw, 58px); max-width: 11ch; margin-bottom: 14px; }
	.dsk-hero-dek { font-size: 16.5px; line-height: 1.45; margin-bottom: 22px; }
	.dsk-btn { width: auto; max-width: 100%; justify-content: center; padding: 13px 20px; font-size: 12px; white-space: normal; text-align: center; }
	.dsk-hero-scroll { display: none; }
	.dsk-section { padding: 64px var(--dsk-pad-x) 28px; }
	.dsk-section-head { align-items: flex-start; margin-bottom: 28px; }
	.dsk-featured-grid { grid-template-columns: 1fr; }
	.dsk-feat-lead { grid-column: auto; }
	.dsk-feat-side { flex-direction: column; align-items: stretch; gap: 14px; }
	.dsk-feat-side .dsk-card-media { width: 100%; aspect-ratio: 3 / 2; margin-bottom: 0; }
	.dsk-grid-3, .dsk-grid-cat { grid-template-columns: 1fr; }
	.dsk-newsletter-band { padding: 64px var(--dsk-pad-x); }
	.dsk-newsletter-form { display: grid; grid-template-columns: 1fr; }
	.dsk-newsletter-form input[type="email"] { min-width: 0; width: 100%; }
	.dsk-newsletter-form button { width: 100%; }
	.dsk-footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.dsk-footer { padding: 56px var(--dsk-pad-x) 32px; }
	.dsk-reading { padding: 0 20px 40px; }
	.dsk-reading figure { margin: 32px 0; }
	.dsk-reading,
	.dsk-listing-intro p,
	.dsk-archive-head p { font-size: 17px; }
	.dsk-reading > p:first-of-type::first-letter,
	.dsk-reading .dsk-dropcap::first-letter { font-size: 58px; padding-right: 9px; }
	.dsk-article-head { padding: 90px var(--dsk-pad-x) 0; }
	.dsk-article-head h1 { font-size: clamp(36px, 12vw, 52px); }
	.dsk-article-dek { font-size: 18px; }
	.dsk-byline { padding-bottom: 32px; }
	.dsk-article-hero { height: 34vh; min-height: 240px; margin-bottom: 40px; }
	.dsk-related { padding: 56px var(--dsk-pad-x); }
	.dsk-listing,
	.dsk-archive { padding-top: 76px; }
	.dsk-listing-head,
	.dsk-listing-body,
	.dsk-archive-inner { padding-left: var(--dsk-pad-x); padding-right: var(--dsk-pad-x); }
	.dsk-controls { align-items: stretch; }
	.dsk-category-filter { width: 100%; min-width: 0; }
	.dsk-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
	.dsk-pill { white-space: nowrap; }
	.dsk-search-panel { padding: 28px 20px 32px; }
	.dsk-search-top { align-items: flex-start; gap: 16px; }
	.dsk-search-field { gap: 10px; }
	.dsk-search-field input[type="text"] { font-size: 28px; }
	.dsk-archive-row { grid-template-columns: 64px 1fr; grid-template-areas: "thumb body" "thumb date"; }
	.dsk-archive-thumb { width: 64px; height: 52px; }
	.dsk-archive-date { text-align: left; grid-area: date; }
}

@media (max-width: 379px) {
	:root { --dsk-pad-x: 16px; }
	.dsk-wordmark { font-size: 22px; }
	.dsk-wordmark-suffix { display: none; }
	.dsk-hero h1,
	.dsk-hero-title { font-size: clamp(34px, 12vw, 48px); }
}

/* ============================================ editorial search ============ */
.dsk-search-page { max-width: var(--dsk-max); margin: 0 auto; padding: 58px var(--dsk-pad-x) 104px; }
.dsk-search-page-head { max-width: 720px; margin-bottom: 38px; }
.dsk-search-page-head .dsk-kicker { color: var(--dsk-terracotta); margin-bottom: 12px; }
.dsk-search-page-head h1 {
	font-family: var(--dsk-font-serif); font-size: clamp(44px, 5.5vw, 68px);
	font-weight: 500; line-height: 1; margin: 0 0 16px;
}
.dsk-search-page-head p { max-width: 58ch; margin: 0; color: var(--dsk-taupe); font-size: 18px; line-height: 1.55; }
.dsk-search-page-form {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
	max-width: 880px; min-height: 60px; margin-bottom: 64px; padding-left: 18px;
	border: 1px solid var(--dsk-hairline); border-radius: 6px; background: var(--dsk-paper);
}
.dsk-search-page-form > svg { color: var(--dsk-terracotta); }
.dsk-search-page-form input[type="hidden"] { display: none; }
.dsk-search-page-form input {
	width: 100%; min-width: 0; height: 58px; padding: 0 16px; border: 0; outline: 0;
	background: transparent; color: var(--dsk-espresso); font: 500 18px/1.3 var(--dsk-font-sans);
}
.dsk-search-page-form:focus-within { border-color: var(--dsk-terracotta); box-shadow: 0 0 0 3px rgba(183, 94, 57, .1); }
.dsk-search-page-form button {
	align-self: stretch; min-width: 128px; padding: 0 24px; border: 0; border-radius: 0 5px 5px 0;
	background: var(--dsk-espresso); color: var(--dsk-cream-text); font-size: 12px;
	font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.dsk-search-page-form button:hover { background: var(--dsk-clay); }
.dsk-search-prompt { padding: 44px 0; border-top: 1px solid var(--dsk-rule); color: var(--dsk-taupe); font-size: 16px; }
.dsk-search-results-head {
	display: flex; align-items: end; justify-content: space-between; gap: 24px;
	padding-bottom: 22px; border-bottom: 1px solid var(--dsk-rule);
}
.dsk-search-results-head > div > span { color: var(--dsk-terracotta); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.dsk-search-results-head h2 { font-family: var(--dsk-font-serif); font-size: 34px; font-weight: 500; line-height: 1.15; margin: 6px 0 0; }
.dsk-search-count { flex: 0 0 auto; color: var(--dsk-taupe); font-size: 13px; }
.dsk-search-grid { display: grid; }
.dsk-search-result {
	display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px;
	padding: 30px 0; border-bottom: 1px solid var(--dsk-rule-soft);
}
.dsk-search-result-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--dsk-sand); }
.dsk-search-result-media img, .dsk-search-result-media .dsk-imgph { width: 100%; height: 100%; object-fit: cover; }
.dsk-search-result-copy { align-self: center; min-width: 0; }
.dsk-search-result-copy .dsk-kicker { color: var(--dsk-terracotta); margin-bottom: 8px; }
.dsk-search-result-copy h3 { font-family: var(--dsk-font-serif); font-size: 29px; font-weight: 500; line-height: 1.08; margin: 0 0 10px; }
.dsk-search-result-copy h3 a:hover { color: var(--dsk-clay); }
.dsk-search-result-copy p { max-width: 72ch; margin: 0 0 14px; color: var(--dsk-ink-soft); font-size: 15px; line-height: 1.55; }
.dsk-search-empty { padding: 70px 0; border-bottom: 1px solid var(--dsk-rule); }
.dsk-search-empty h2 { font-family: var(--dsk-font-serif); font-size: 34px; font-weight: 500; margin: 0 0 10px; }
.dsk-search-empty p { margin: 0; color: var(--dsk-taupe); }
.dsk-search-pagination { margin-top: 48px; }

@media (max-width: 639px) {
	.dsk-search-page { padding: 38px var(--dsk-pad-x) 72px; }
	.dsk-search-page-head { margin-bottom: 28px; }
	.dsk-search-page-head h1 { font-size: 42px; }
	.dsk-search-page-head p { font-size: 16px; }
	.dsk-search-page-form { grid-template-columns: auto minmax(0, 1fr); margin-bottom: 48px; padding-left: 14px; }
	.dsk-search-page-form input { padding-right: 12px; font-size: 16px; }
	.dsk-search-page-form button { grid-column: 1 / -1; min-height: 48px; border-radius: 0 0 5px 5px; }
	.dsk-search-results-head { align-items: flex-start; }
	.dsk-search-results-head h2 { font-size: 28px; overflow-wrap: anywhere; }
	.dsk-search-result { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
	.dsk-search-result-copy h3 { font-size: 22px; }
	.dsk-search-result-copy p { display: none; }
}

/* ============================================ reduced motion ============== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html[data-reveal="1"] [data-reveal] { opacity: 1 !important; transform: none !important; }
	.dsk-hero-media { transform: scale(1.08) !important; }
}
