/*
Theme Name: JolieDestination — Light Editorial
Template: joliedestination-theme
Theme URI: https://joliedestination.com
Author: JolieDestination
Description: Child theme porting the signed-off static prototype (repo zakariachebbah/jolie-destination-site, src/styles.css) onto the JolieDestination parent theme's WordPress mechanics. Replaces the parent's dark/amber "Editorial Expedition" visual system with the prototype's light, monochrome, photography-led design. Structure/logic (nav menus, Elementor compatibility, SEO fixes, contact handling) is inherited from the parent theme unchanged; only markup classes and this stylesheet change.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: joliedestination
*/

/* =========================================================
   Design tokens — verbatim from the prototype's src/styles.css :root
   ========================================================= */
:root {
  --color-bg: #ffffff;
  --color-ink: #14120f;
  --color-ink-soft: #4a4640;
  --color-line: #e6e3dd;
  --color-line-strong: #d3cfc6;
  --color-surface: #f6f4f0;
  --color-dark-bg: #16130f;
  --color-dark-ink: #f6f3ec;
  --color-dark-line: rgba(246, 243, 236, 0.18);
  --color-dark-ink-soft: rgba(246, 243, 236, 0.62);
  --color-black: #000000;
  --color-on-dark: #E8E8E8;
  --color-on-dark-soft: rgba(232, 232, 232, 0.62);
  /* Form-field underline: #85817a is 3.9:1 on white (WCAG 1.4.11 wants 3:1 for the edge that identifies a field; --color-line-strong is only 1.6:1). */
  --color-field-line: #85817a;
  /* Text scrim (see "Text scrim" at the end of this file). The floor, the least ink allowed behind any text set on a photograph, is defined once in PHP (JD_SCRIM_FLOOR in inc/scrim.php) and printed into :root from there, so the stylesheet and the Elementor slider cannot disagree. */
  --jd-scrim-ink: 0, 0, 0;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --font-script: "Petit Formal Script", cursive;

  --tracking-label: 0.14em;
  --container-max: 1200px;
  /* The footer is the one exception to the 1200px rule: on desktop (1100px and up) it gets 1300px (see the media query right after this block). Below that it is the accordion footer and keeps --container-max. */
  --container-footer: var(--container-max);
  /* Footer desktop grid (1100px and up; at 1099px and below the footer is a one-column accordion, further down): brand, four link columns, then the newsletter column. The newsletter column has a floor of 224px because its email field plus the Subscribe button need about 216px (the "Your email address" placeholder is 126px wide, plus 8px of field padding and the 81px button); at the shares alone it would drop below that on narrower desktops. */
  --footer-cols: minmax(0, 1.6fr) repeat(4, minmax(0, 0.85fr)) minmax(224px, 1.5fr);
  --gutter: clamp(20px, 4vw, 64px);
  --radius-none: 0;
  --transition: 320ms cubic-bezier(.22,.61,.36,1);

  --article-main: 840px;
  --article-sidebar: 300px;
  --article-gap: 60px;
  --article-prose-measure: 720px;
}
/* Footer container: 1300px on desktop only. 1100px is the footer's own desktop breakpoint (the six-column grid starts there; at 1099px and below it is the one-column accordion footer). Below 1201px the viewport is narrower than either width, so nothing changes there. */
@media (min-width: 1100px) {
  :root { --container-footer: 1300px; }
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
button, input { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; padding: 0; }
input { border-radius: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--color-ink); color: #fff;
  padding: 12px 20px; font-family: var(--font-mono); font-size: 13px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* =========================================================
   Media placeholders — verbatim from the prototype's src/styles.css.
   Stand-ins for real photography wherever no real content object (a
   post, a category) backs the image yet. On an Elementor container the
   _css_classes setting lands on the container's own div (unlike widgets,
   which land on an outer wrapper), so these classes apply directly with
   no descendant-selector workaround needed.
   ========================================================= */
.media {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.42) 100%);
  pointer-events: none;
}
.media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 6px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ratio-4-5 { aspect-ratio: 4 / 5; height: auto !important; }
.ratio-1-1 { aspect-ratio: 1 / 1; height: auto !important; }
.ratio-16-9 { aspect-ratio: 16 / 9; height: auto !important; }

/* the HTML widget used for captions gets Elementor's own default
   position:relative on its wrapper div, which — sitting between the
   caption and the .media tile — becomes the absolute-positioning
   context instead of the tile. Neutralize it so the caption escapes
   to the tile, matching the prototype's plain <figcaption> behavior. */
.media .elementor-widget-html { position: static !important; }

.media-caption,
.media-caption .elementor-heading-title {
  position: absolute !important;
  left: 20px; bottom: 18px;
  z-index: 1;
  color: #fff !important;
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 70%;
  margin: 0 !important;
}
.media-caption-bottom-left,
.media-caption-bottom-left .elementor-heading-title { left: 28px !important; bottom: 24px !important; font-size: 0.78rem !important; }

.media-coast      { background-image: linear-gradient(150deg,#dfe9ee 0%,#a9c4cf 32%,#5d7d8c 60%,#26404b 100%); }
.media-ruins       { background-image: linear-gradient(150deg,#f1dfc0 0%,#d9b78a 35%,#b0835a 65%,#6e4c34 100%); }
.media-desert      { background-image: linear-gradient(150deg,#f6d4a4 0%,#e2a466 35%,#b3623a 65%,#5c2f22 100%); }
.media-dunes       { background-image: linear-gradient(150deg,#f8e2b8 0%,#eabb76 40%,#c6813f 70%,#7a4726 100%); }
.media-portrait    { background-image: linear-gradient(150deg,#e7cdb2 0%,#c99a72 40%,#8c5c3d 70%,#3c2417 100%); }
.media-portrait2   { background-image: linear-gradient(150deg,#e3c7ab 0%,#bf8f66 40%,#7d4f34 70%,#2f1c12 100%); }
.media-columns     { background-image: linear-gradient(150deg,#eee4d2 0%,#cdb491 35%,#96795a 65%,#4a3627 100%); }
.media-door        { background-image: linear-gradient(150deg,#bcd6d6 0%,#5f9aa0 35%,#2a6b74 65%,#123842 100%); }
.media-food        { background-image: linear-gradient(150deg,#f3c98f 0%,#dd9450 35%,#a85a2e 65%,#5a2c17 100%); }
.media-stairs      { background-image: linear-gradient(150deg,#eef4f6 0%,#c7d9de 35%,#7fa0aa 65%,#3c5a63 100%); }
.media-mzab        { background-image: linear-gradient(150deg,#f0d9b5 0%,#d9ab73 35%,#b5713f 65%,#6b3c22 100%); }
.media-tlemcen     { background-image: linear-gradient(150deg,#eeddc2 0%,#cdaa78 35%,#93693e 65%,#4a3220 100%); }
.media-eastcoast   { background-image: linear-gradient(150deg,#dbeef0 0%,#9fd0d2 35%,#4e97a0 65%,#204f59 100%); }
.media-tassili     { background-image: linear-gradient(150deg,#f6cf9e 0%,#e5985a 30%,#b45a38 55%,#5a2a2e 80%,#2b1520 100%); }
.media-eyes        { background-image: linear-gradient(150deg,#3a4551 0%,#232c38 40%,#141821 70%,#08090c 100%); }
.media-cuisine     { background-image: linear-gradient(150deg,#f4c98a 0%,#dd8f4a 40%,#a85229 70%,#4c2213 100%); }
.media-streetart   { background-image: linear-gradient(150deg,#f2b5c8 0%,#c988d1 30%,#7c6fc9 60%,#3f8fa8 85%,#1f4a5c 100%); }
.media-forest      { background-image: linear-gradient(150deg,#d7e6d2 0%,#9fc79b 35%,#4f8a6b 65%,#1f4536 100%); }
.media-arch        { background-image: linear-gradient(150deg,#f7d9a8 0%,#e7ac6a 35%,#b06a3c 65%,#5a3320 100%); }

/* =========================================================
   Typography helpers
   ========================================================= */
/* Elementor widgets put css_classes on an outer wrapper div, not the text
   element itself (e.g. .eyebrow .elementor-heading-title), and Elementor's
   own global-kit colors/typography are applied directly to that inner
   element with enough cascade weight to beat a plain inherited value — so
   every rule below also targets the Elementor-generated descendant, with
   !important on the properties Elementor's kit actually contests (color,
   font-family/size/weight, background, border, padding). Plain PHP-template
   usage (article/archive) still matches the bare class selector. */
.eyebrow,
.eyebrow .elementor-heading-title { font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.75rem !important; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft) !important; margin: 0 0 14px; }
.section-title,
.section-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.9rem, 2.6vw, 2.6rem) !important; line-height: 1.12; letter-spacing: -0.01em; color: var(--color-ink) !important; }
.section-sub,
.section-sub .elementor-heading-title { font-size: 0.95rem !important; color: var(--color-ink-soft) !important; margin-top: 10px; max-width: 46ch; font-family: var(--font-sans) !important; font-weight: 400 !important; }
/* .link-arrow is used two ways: (a) directly on a real <a> in plain PHP
   templates (single.php, archive.php, 404.php — matching the prototype's
   own <a class="link-arrow"> exactly), and (b) as the CSS class on an
   Elementor button WIDGET's outer wrapper div, whose only child is the
   real <a class="elementor-button">. Case (b) needs its own handling:
   Elementor's per-element atomic CSS competes with a plain class selector
   at (0,2,0) specificity, so styling both this wrapper AND the inner
   .elementor-button with the same border-bottom drew two near-overlapping
   underlines. Making the wrapper `display: contents` removes its own box
   entirely (promoting the <a> straight into its flex parent, e.g.
   .section-head), so only the <a> needs the real visual treatment. The
   more specific `.elementor-widget.link-arrow` selector (every Elementor
   widget wrapper carries `.elementor-widget`, a plain <a> never does)
   keeps that override scoped to case (b) only, so case (a) below still
   gets its own real styling. */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-family: var(--font-sans); color: var(--color-ink); border-bottom: 1px solid currentColor; padding-bottom: 3px; width: fit-content; transition: gap var(--transition), opacity var(--transition); }
.link-arrow:hover { gap: 13px; opacity: 0.8; }
.link-arrow-light { color: var(--color-dark-ink); }
.link-arrow-quiet { font-size: 0.82rem; letter-spacing: 0.02em; }

.elementor-widget.link-arrow { display: contents; }
.elementor-widget.link-arrow .elementor-button { display: inline-flex !important; flex-shrink: 0 !important; align-items: center !important; gap: 8px !important; font-size: 0.85rem !important; font-family: var(--font-sans) !important; color: var(--color-ink) !important; background: none !important; border: none !important; border-bottom: 1px solid currentColor !important; border-radius: 0 !important; padding: 0 0 3px !important; width: fit-content; transition: gap var(--transition), opacity var(--transition); }
.elementor-widget.link-arrow .elementor-button:hover { gap: 13px !important; opacity: 0.8; }
/* the arrow is baked into the button's text string (not a separate
   flex-item span like the prototype's), so it can wrap onto its own
   line whenever the row gets tight — nowrap keeps "label →" atomic. */
.elementor-widget.link-arrow .elementor-button-text { white-space: nowrap; }
.elementor-widget.link-arrow-light .elementor-button { color: var(--color-dark-ink) !important; }
.elementor-widget.link-arrow-quiet .elementor-button { font-size: 0.82rem !important; letter-spacing: 0.02em; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 500; background: rgba(255,255,255,0.94); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--color-line); }
.header-inner { max-width: var(--container-max); margin: 0 auto; padding: 18px var(--gutter); display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; }
.nav-toggle { display: none; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { font-size: 1.1rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-word { font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: -0.01em; }
.logo-tagline { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-soft); margin-top: 3px; }
.primary-nav ul { display: flex; gap: 34px; justify-content: center; }
.primary-nav a { font-size: 0.86rem; position: relative; padding-bottom: 4px; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--transition); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; }
.icon-btn:hover { opacity: 0.6; }
.header-kicker { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; text-align: right; color: var(--color-ink-soft); line-height: 1.6; margin: 0; border-left: 1px solid var(--color-line); padding-left: 18px; }
.header-kicker span { color: var(--color-ink); }
.search-panel { border-top: 1px solid var(--color-line); background: #fff; }
.search-form { max-width: var(--container-max); margin: 0 auto; padding: 20px var(--gutter); display: flex; gap: 16px; }
.search-form input { flex: 1; min-width: 0; border: none; border-bottom: 1px solid var(--color-field-line); padding: 10px 2px; font-size: 1.1rem; font-family: var(--font-serif); background: transparent; }
.search-form input:focus { outline: none; border-bottom-color: var(--color-ink); }
.search-form button { font-size: 0.82rem; letter-spacing: 0.04em; border-bottom: 1px solid var(--color-ink); padding-bottom: 4px; }

/* The drawer opens from the same side as the hamburger: it starts off-screen to the left and slides in until its left edge is flush with the left edge of the screen, on phones and tablets alike (the prototype's version pinned it 18% in from the right, so it entered from the right and stopped in the middle of a tablet). */
.nav-drawer { position: fixed; inset: 0 auto 0 0; width: min(84vw, 360px); background: #fff; z-index: 1000; padding: 88px 32px 40px; overflow-y: auto; transform: translateX(-100%); transition: transform var(--transition); box-shadow: 24px 0 60px rgba(0,0,0,0.12); }
.nav-drawer.open { transform: translateX(0); }
.nav-drawer ul { display: flex; flex-direction: column; gap: 26px; }
.nav-drawer a { font-family: var(--font-serif); font-size: 1.5rem; }
.nav-drawer-close { position: absolute; top: 18px; left: 20px; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: var(--color-ink); }
.nav-drawer-close:hover { opacity: 0.6; }
.nav-drawer-latest { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-line); }
.nav-drawer-latest-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 18px; }
.nav-drawer-latest-list { display: flex; flex-direction: column; gap: 18px; }
.nav-drawer-latest-list a { display: flex; align-items: center; gap: 14px; }
.nav-drawer-latest-list img { flex: none; width: 56px; height: 56px; aspect-ratio: 1/1; object-fit: cover; }
.nav-drawer-latest-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nav-drawer-latest-title { font-family: var(--font-serif); font-size: 0.92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nav-drawer-latest-date { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-ink-soft); }
.nav-drawer-backdrop { position: fixed; inset: 0; background: rgba(20,18,15,0.4); z-index: 900; opacity: 0; transition: opacity var(--transition); }
.nav-drawer-backdrop.open { opacity: 1; }

@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; }
  .nav-toggle-bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
  .nav-toggle-bars span { display: block; height: 1.4px; background: currentColor; }
  .header-kicker { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 720px) {
  .header-inner { padding: 14px var(--gutter); }
  .logo-tagline { display: none; }
}
/* 359px and under: the logo needs 167px and the two 28px header gaps pushed the search icon's box 6px past the edge of a 320px screen (and past the right margin from 340px up), so the page scrolled sideways. Tighter gaps fit it with room to spare. 360px and up keep 28px. */
@media (max-width: 359px) {
  .header-inner { column-gap: 14px; }
}

/* =========================================================
   Breadcrumbs
   ========================================================= */
.breadcrumbs { max-width: var(--container-max) !important; margin: 0 auto !important; width: 100%; padding: 18px var(--gutter) 26px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 0.75rem; color: var(--color-ink-soft); }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs a:hover { color: var(--color-ink); }
.breadcrumbs [aria-current="page"] { color: var(--color-ink); }
.breadcrumbs .crumb-sep { color: var(--color-line-strong); }

/* =========================================================
   Article — master layout
   ========================================================= */
.article-page { padding-bottom: clamp(56px, 7vw, 96px); padding-top: 8px; }
.article-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--article-main)) var(--article-sidebar); column-gap: var(--article-gap); align-items: start; }
.article-main { min-width: 0; }
.article-header { margin-bottom: clamp(28px, 3.6vw, 40px); }
.article-eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin: 0 0 18px; }
.article-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.75rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--color-ink); margin: 0 0 22px; max-width: 15ch; }
.article-dek { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.8vw, 1.85rem); line-height: 1.25; color: var(--color-ink-soft); max-width: 46ch; }
.article-region { font-family: var(--font-sans); font-size: 0.78rem; color: var(--color-ink-soft); margin-top: 16px; }

.article-hero { margin: clamp(28px, 3.6vw, 40px) 0 0; }
/* Hero follows the image's own proportions (no 16:9 crop). Height is capped so a tall image cannot take over the screen; a capped image is letterboxed on the surface colour, never cropped. */
.article-hero { text-align: center; }
.article-hero-media { display: block; width: auto; max-width: 100%; height: auto !important; max-height: min(78vh, 720px); margin: 0 auto; object-fit: contain; background: var(--color-surface); }
.article-hero-caption { text-align: left; }
.article-hero-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; font-family: var(--font-sans); font-size: 0.76rem; color: var(--color-ink-soft); line-height: 1.5; }

.article-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin: 22px 0; padding-bottom: 26px; border-bottom: 1px solid var(--color-line); }
.article-meta-author { display: flex; align-items: center; gap: 12px; }
.article-avatar { display: block; flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--color-surface); }
.article-meta-text { display: flex; flex-direction: column; gap: 4px; }
.article-meta-name { font-family: var(--font-sans); font-size: 0.88rem; font-weight: 500; }
.article-meta-details { font-family: var(--font-sans); font-size: 0.8rem; color: var(--color-ink-soft); }
.article-meta-review { display: inline-flex; align-items: flex-start; gap: 6px; font-family: var(--font-sans); font-size: 0.8rem; color: var(--color-ink-soft); }
.article-meta-review svg { flex: none; margin-top: 0.2em; color: var(--color-ink); }
.article-share { display: flex; align-items: center; gap: 16px; }
.article-share-label { font-family: var(--font-sans); font-size: 0.82rem; color: var(--color-ink-soft); }
.article-share-icons { display: flex; align-items: center; gap: 14px; }
.article-share-icon { display: flex; color: var(--color-ink-soft); transition: color var(--transition); }
.article-share-icon:hover { color: var(--color-ink); }

.article-prose { max-width: var(--article-prose-measure); }
.article-prose p, .article-body p { font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.65; color: var(--color-ink); margin: 0 0 1.5em; }
.article-body { max-width: var(--article-prose-measure); }
.article-body h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.12; letter-spacing: -0.01em; margin-top: clamp(56px, 7vw, 84px); padding-top: clamp(56px, 7vw, 84px); border-top: 1px solid var(--color-line); margin-bottom: 24px; }
.article-body h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; margin: 2em 0 0.6em; }
.article-body img { width: 100%; height: auto; margin: clamp(28px,3.6vw,40px) 0; }
/* The block editor writes an inline aspect-ratio when an image is resized; without an accompanying object-fit that ratio stretches the photograph. A ratio that isn't a deliberate crop is ignored so the picture keeps its own proportions. */
.article-body img[style*="aspect-ratio"]:not([style*="object-fit"]) { aspect-ratio: auto !important; }
/* Captioned images: drop the image's bottom margin so the caption sits right under the photo. The old negative clamp() margin-top was invalid CSS and never applied. */
.article-body figure img { display: block; margin-bottom: 0; }
.article-body figcaption { font-family: var(--font-sans); font-size: 0.72rem; line-height: 1.5; color: var(--color-ink-soft); margin-top: 10px; margin-bottom: clamp(28px,3.6vw,40px); }
.article-body blockquote { margin: clamp(56px, 7vw, 84px) 0; padding: 8px 0 8px clamp(20px, 3vw, 32px); border-left: 2px solid var(--color-ink); max-width: 620px; }
.article-body blockquote p { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.25; color: var(--color-ink); margin: 0; }

.practical-info { margin-top: clamp(56px, 7vw, 84px); padding-top: clamp(56px, 7vw, 84px); border-top: 1px solid var(--color-line); }
.practical-info-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 22px; }
.practical-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.practical-info-grid > div { display: flex; flex-direction: column; gap: 6px; }
.practical-info-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-soft); }
.practical-info-value { font-family: var(--font-serif); font-size: 1.02rem; }

.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: clamp(40px, 5vw, 56px); }
.article-tags-label { font-family: var(--font-sans); font-size: 0.82rem; color: var(--color-ink-soft); }
.article-tags-list { display: flex; flex-wrap: wrap; gap: 10px; }
.article-tags-list li { list-style: none; margin: 0; padding: 0; border: 0; }
.article-tags-list a { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-ink-soft); border: 1px solid var(--color-line-strong); padding: 6px 12px; display: inline-block; }

.article-author { display: flex; gap: 20px; align-items: flex-start; margin-top: clamp(40px, 5vw, 56px); padding: clamp(28px, 3.6vw, 36px) 0; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.article-avatar-lg { width: 60px; height: 60px; border-radius: 50%; }
.article-author-copy { display: flex; flex-direction: column; gap: 8px; }
.article-author-name { font-family: var(--font-serif); font-size: 1.1rem; }
.article-author-bio { font-size: 0.9rem; color: var(--color-ink-soft); line-height: 1.55; max-width: 52ch; }

.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: clamp(32px, 3.6vw, 44px); border-left: 1px solid var(--color-line); padding-left: clamp(24px, 2.6vw, 30px); }
.sidebar-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 16px; }
.topic-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-tags a { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-ink); border: 1px solid var(--color-line-strong); padding: 8px 12px; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.topic-tags a:hover { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.related-stories { display: flex; flex-direction: column; gap: 18px; }
/* Suggestion card: a square photograph (1:1) with the text beside it, never taller than the photograph.
   The topic label is one line and the title is cut at 3 lines with an ellipsis, so photo + text stay one 80px row. */
.related-story-link { display: flex; gap: 14px; align-items: flex-start; }
.related-story-media { flex: none; display: block; width: 80px; height: 80px; aspect-ratio: 1 / 1; object-fit: cover; background: var(--color-surface); }
.related-story-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-height: 80px; overflow: hidden; }
.related-story-meta { font-family: var(--font-mono); font-size: 0.64rem; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-story-meta:empty { display: none; }
.related-story-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; font-family: var(--font-serif); font-size: 0.98rem; line-height: 1.28; }
.newsletter-sidebar { background: var(--color-surface); padding: 26px 20px; }
/* The card is only 269px wide on desktop, and the placeholder "Your email address" needs 126px (137px at the 16px phone size) plus the
   Subscribe button. The input's left padding and the button's right padding are dropped and the card side padding is 20px (was 22px)
   so the field has 6px or more to spare from 320px up to the widest desktop; the text, underline and arrow now line up with the card's text edge. */
.newsletter-sidebar .newsletter-form input { padding-left: 0; }
.newsletter-sidebar .newsletter-form button { padding-right: 0; }
.newsletter-sidebar h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; line-height: 1.15; margin-bottom: 10px; }
.newsletter-sidebar p { font-size: 0.84rem; color: var(--color-ink-soft); line-height: 1.5; margin-bottom: 18px; }

@media (max-width: 1099px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-sidebar { position: static; border-left: none; padding-left: 0; margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--color-line); }
  .practical-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* =========================================================
   Archive / topic pages
   ========================================================= */
.archive-hero { position: relative; min-height: clamp(280px, 32vw, 420px); display: flex; align-items: flex-end; background: var(--color-dark-bg); background-size: cover; background-position: center; }
.archive-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0.15) 0%, rgba(10,10,11,0.72) 100%); }
.archive-hero-copy { position: relative; z-index: 1; max-width: var(--container-max); width: 100%; margin: 0 auto; padding: 0 var(--gutter) clamp(32px, 4vw, 48px); }
.archive-hero-copy .eyebrow { color: rgba(246,243,236,0.72); }
.archive-hero-copy .section-title { color: var(--color-dark-ink); }
.archive-body { max-width: var(--container-max); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(56px, 7vw, 96px); }
.archive-desc { color: var(--color-ink-soft); max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); }
.archive-card-media { aspect-ratio: 4/5; width: 100%; height: auto !important; object-fit: cover; margin-bottom: 16px; background: var(--color-surface); }
.archive-card-meta { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 8px; }
.archive-card-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.12rem; line-height: 1.3; margin-bottom: 8px; }
.archive-card-desc { font-size: 0.86rem; color: var(--color-ink-soft); line-height: 1.5; }
.archive-pagination { display: flex; justify-content: center; gap: 8px; margin-top: clamp(40px,5vw,56px); }
.archive-pagination a, .archive-pagination span { font-family: var(--font-mono); font-size: 0.78rem; padding: 10px 14px; border: 1px solid var(--color-line-strong); color: var(--color-ink-soft); }
.archive-pagination .current { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.archive-empty { text-align: center; padding: 70px 24px; border: 1px dashed var(--color-line-strong); }
@media (max-width: 1024px) { .archive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 599px) { .archive-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Story cards (More from JolieDestination)
   ========================================================= */
.story-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: clamp(20px, 2.4vw, 32px) !important; padding: 0 !important; align-items: start; }
.story-card-link img { margin-bottom: 18px; width: 100%; aspect-ratio: 4/5; height: auto !important; object-fit: cover; transition: transform var(--transition); background: var(--color-surface); }
.story-card-link:hover img { transform: scale(1.02); }
.story-meta { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 10px; }
.story-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.12rem; line-height: 1.32; margin-bottom: 10px; }
.story-desc { font-size: 0.86rem; color: var(--color-ink-soft); margin-bottom: 12px; line-height: 1.5; }
.story-date { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-soft); }
.section { max-width: var(--container-max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) !important; }
/* "Right now" is the very first section right after the hero - the
   hero's own border-bottom already separates them, so the full
   clamp(56px,8vw,104px) section padding on top of that read as too
   much empty space before "Latest stories from Algeria". */
.right-now { padding-top: clamp(24px, 3vw, 48px) !important; }
.section-head { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: flex-end !important; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--color-line); padding: 0 0 28px !important; }
/* explore-algeria's own section-head sits directly on .explore-algeria
   (which has no side padding of its own — it's max-width:none, edge to
   edge, so dark background can bleed full-bleed), so it needs its own
   left/right gutter here, at higher priority than the shorthand reset
   above. */
.explore-algeria .section-head { padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }
.section-head > .e-con-inner { display: contents !important; }
@media (max-width: 1024px) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* the base rule above forces flex-direction/align-items with
   !important, which also wins inside a media query unless matched -
   without !important here this override never actually applied, so
   .section-head stayed a row on mobile and squeezed the title down to
   a sliver next to the "Explore all X" link instead of stacking. */
@media (max-width: 720px) {
  .section { padding: 40px var(--gutter) !important; }
  .section-head { flex-direction: column !important; align-items: flex-start !important; gap: 6px !important; }
  /* title+subtitle sit tight as one group (the 6px flex gap above is
     their only spacing now, .section-sub's own extra margin-top is
     dropped); the link is pulled out of that group and pushed to the
     right edge instead of stacking flush-left under the text, with its
     own margin-top for breathing room since it's no longer part of the
     tight pair. */
  .section-head .section-sub .elementor-heading-title { margin-top: 0 !important; }
  .section-head .link-arrow .elementor-button { align-self: flex-end !important; margin-top: 10px !important; }
}
/* "Latest stories from Algeria" — on narrow phones the 2-up grid was
   cramping the cards. Stack the rows full-width, one per row, but lay
   each card out horizontally within its row: a smaller image on the
   left, the meta/title/desc/date stacked as text on the right (a grid
   with the image spanning all 4 text rows in column 1). Scoped to
   .right-now only, not the other .story-grid usages (More from
   JolieDestination, In Focus pages). */
@media (max-width: 640px) {
  .right-now .story-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .right-now .story-card {
    display: grid !important;
    grid-template-columns: 110px 1fr !important;
    grid-template-rows: repeat(4, auto) !important;
    column-gap: 14px !important;
    row-gap: 2px !important;
  }
  .right-now .story-card .elementor-widget-image { grid-column: 1 !important; grid-row: 1 / span 4 !important; margin-bottom: 0 !important; align-self: start; }
  .right-now .story-card img { aspect-ratio: 4/5 !important; height: auto !important; }
  .right-now .story-card .story-meta,
  .right-now .story-card .story-title,
  .right-now .story-card .story-desc,
  .right-now .story-card .story-date { grid-column: 2 !important; }
  /* text column was taller than the 110px-wide (137.5px-tall) image
     next to it and spilled past its bottom — shrink the type and clamp
     title/desc to 2 lines each so the whole block fits the image's
     height. */
  .right-now .story-card .story-meta .elementor-heading-title { font-size: 0.62rem !important; margin-bottom: 4px !important; }
  .right-now .story-card .story-title .elementor-heading-title { font-size: 0.86rem !important; line-height: 1.22 !important; margin-bottom: 4px !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .right-now .story-card .story-desc .elementor-heading-title { font-size: 0.72rem !important; line-height: 1.32 !important; margin-bottom: 4px !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .right-now .story-card .story-date .elementor-heading-title { font-size: 0.62rem !important; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-line); }
.footer-top { max-width: var(--container-footer); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(36px, 5vw, 56px); display: grid; grid-template-columns: var(--footer-cols); gap: clamp(24px, 3vw, 40px); }
.footer-brand { max-width: 300px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-desc { font-size: 0.86rem; color: var(--color-ink-soft); line-height: 1.6; margin-bottom: 24px; }
.social-list { display: flex; gap: 14px; }
.social-list a { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid var(--color-line-strong); border-radius: 50%; transition: background var(--transition), color var(--transition); }
.social-list a:hover { background: var(--color-ink); color: #fff; }
.footer-col-title,
.footer-col .wp-block-heading { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 18px; font-weight: 400; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.88rem; }
.footer-col a:hover { color: var(--color-ink-soft); }
.footer-col-newsletter .footer-newsletter-lead { font-size: 0.88rem; margin-bottom: 14px; }
.newsletter { background: var(--color-surface); padding: 32px; display: flex; flex-direction: column; justify-content: center; height: 100%; box-sizing: border-box; }
.newsletter .section-title { font-size: clamp(1.5rem, 2vw, 1.9rem) !important; }
.newsletter-form { display: flex; margin-top: 22px; border-bottom: 1px solid var(--color-ink); }
.newsletter-form input { flex: 1; min-width: 0; border: none; background: transparent; padding: 10px 4px; font-size: 0.92rem; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.03em; text-transform: uppercase; padding: 10px 4px; white-space: nowrap; border-bottom: 2px solid transparent; }
.newsletter-form button:hover { opacity: 0.65; }
.newsletter-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-ink-soft); margin-top: 10px; }
.newsletter-form-footer { border-bottom-color: var(--color-ink-soft); }
.footer-bottom { border-top: 1px solid var(--color-line); max-width: var(--container-footer); margin: 0 auto; padding: 22px var(--gutter) 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-legal { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-legal p { font-family: var(--font-mono); font-size: 0.78rem; color: var(--color-ink-soft); }
.footer-legal nav { display: flex; gap: 18px; }
.footer-legal nav a { font-family: var(--font-mono); font-size: 0.78rem; color: var(--color-ink-soft); }
.footer-legal nav a:hover { color: var(--color-ink); }
.footer-motto { font-family: var(--font-serif); font-style: italic; font-size: 0.95rem; }

/* Accordion footer: 1099px and below (narrow desktop, tablet and phone). The columns stack into one list and each link column becomes a disclosure; from 1100px up it is the six-column grid above. */
@media (max-width: 1099px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 8px; }
  .footer-brand { max-width: none; margin-bottom: 28px; }
  .footer-col:not(.footer-col-newsletter) { border-top: 1px solid var(--color-line); }
  /* The four link columns are disclosures (chrome.js swaps each heading's text for a real <button> with aria-expanded and marks the column .is-accordion); "Stay in touch" stays a plain heading, so the signup form is never hidden. Collapsed lists are visibility:hidden so their links can't be tabbed to. Without JavaScript the columns just stay open. */
  .footer-col-title { margin: 0 0 12px; }
  .footer-col.is-accordion .footer-col-title { margin: 0; }
  .footer-col-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin: 0; padding: 12px 0; background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-align: left; cursor: pointer; }
  .footer-col-toggle::after { content: "+"; font-size: 1.1rem; color: var(--color-ink-soft); }
  .footer-col.open .footer-col-toggle::after { content: "\2212"; }
  .footer-col.is-accordion ul { max-height: 0; overflow: hidden; visibility: hidden; gap: 0; transition: max-height var(--transition), visibility 0s linear 320ms; }
  .footer-col.is-accordion.open ul { max-height: 320px; padding-bottom: 12px; visibility: visible; transition-delay: 0s; }
  .footer-col ul li { padding: 0; }
  .footer-col-newsletter { border-top: 1px solid var(--color-line); padding-top: 18px; padding-bottom: 18px; }
}
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =========================================================
   Toast
   ========================================================= */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--color-ink); color: #fff; padding: 14px 22px; font-size: 0.85rem; z-index: 2000; opacity: 0; transition: opacity var(--transition), transform var(--transition); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   Topic hero
   ========================================================= */
.topic-hero { border-bottom: 1px solid var(--color-line); }
/* No top padding: there is no breadcrumb bar above the archive hero any more, so the photograph sits flush under the header. */
.topic-hero-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
/* The scrim is part of this component, not of any one photograph: one wash across the whole image (::after), 60% at the left edge falling in a straight line to 0% at the right edge (bottom to top on phones). See "Text scrim". */
.topic-hero-media { height: clamp(220px, 22vw, 240px); width: 100%; display: flex; align-items: center; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.topic-hero-media::after { content: ""; position: absolute; inset: 0; background: var(--jd-wash); pointer-events: none; }
.topic-hero-copy { position: relative; z-index: 1; padding: 0 clamp(20px, 3vw, 44px); max-width: 560px; color: #fff; }
.topic-hero-copy .eyebrow { color: rgba(255, 255, 255, 0.96) !important; margin-bottom: 12px; }
.topic-hero-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 14px; }
.topic-hero-desc { font-size: clamp(0.92rem, 1.1vw, 1.05rem); line-height: 1.42; max-width: 470px; color: rgba(255, 255, 255, 0.96); }

/* =========================================================
   Topic navigation
   ========================================================= */
.topic-nav { border-bottom: 1px solid var(--color-line); }
.topic-nav ul { max-width: var(--container-max); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; flex-wrap: wrap; row-gap: 14px; column-gap: clamp(20px, 3vw, 36px); }
.topic-nav a { font-size: 0.86rem; color: var(--color-ink-soft); padding-bottom: 4px; border-bottom: 2px solid transparent; transition: color var(--transition), border-color var(--transition); }
.topic-nav a:hover { color: var(--color-ink); }
.topic-nav a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-ink); font-weight: 500; }

/* =========================================================
   Feature area: lead story + More Stories
   ========================================================= */
.archive-feature-section { max-width: var(--container-max); margin: 0 auto; padding: clamp(32px, 4vw, 40px) var(--gutter) 0; }
.archive-feature { display: grid; grid-template-columns: minmax(0, 860px) 300px; gap: 40px; align-items: start; }
.archive-feature-main > a { display: block; }
.archive-feature-media { width: 100%; aspect-ratio: 16/9; height: auto !important; object-fit: cover; background: var(--color-surface); }
.archive-feature-copy { margin-top: 20px; }
.archive-feature-meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 12px; }
.archive-feature-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 12px; }
.archive-feature-desc { font-size: 0.95rem; color: var(--color-ink-soft); max-width: 56ch; margin-bottom: 12px; }
.archive-feature-date { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--color-ink-soft); }
.archive-more-stories h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--color-line); }
.archive-more-stories ol { display: flex; flex-direction: column; gap: 16px; }
.archive-more-stories li { display: flex; gap: 12px; align-items: baseline; }
.archive-more-stories .num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-ink-soft); flex: none; }
.archive-more-stories a { font-family: var(--font-sans); font-size: 0.88rem; line-height: 1.35; transition: color var(--transition); }
.archive-more-stories a:hover { color: var(--color-ink-soft); }

/* =========================================================
   Secondary cards
   ========================================================= */
.archive-secondary { max-width: var(--container-max); margin: 0 auto; padding: clamp(24px, 3vw, 32px) var(--gutter) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.archive-secondary-card { display: block; }
.archive-secondary-card img { width: 100%; aspect-ratio: 7/4; height: auto !important; object-fit: cover; margin-bottom: 14px; transition: transform var(--transition); background: var(--color-surface); }
.archive-secondary-card:hover img { transform: scale(1.02); }
.archive-secondary-meta { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 6px; }
.archive-secondary-card h3 { font-family: var(--font-serif); font-size: 1.05rem; }

/* =========================================================
   Newsletter promotional band
   ========================================================= */
.newsletter-band-wrap { max-width: var(--container-max); margin: clamp(50px, 6vw, 70px) auto 0; padding: 0 var(--gutter); }
.newsletter-band { position: relative; height: clamp(150px, 16vw, 170px); display: flex; align-items: center; overflow: hidden; background: var(--color-dark-bg); background-size: cover; background-position: center; }
.newsletter-band-copy { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 0 clamp(24px, 3vw, 44px); color: #fff; }
.newsletter-band-text h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 6px; }
.newsletter-band-text p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.96); max-width: 44ch; }
.newsletter-band-form { flex: none; display: flex; align-items: stretch; min-width: 320px; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.newsletter-band-form input { flex: 1; min-width: 0; background: transparent; border: none; color: #fff; font-family: var(--font-sans); font-size: 0.9rem; padding: 10px 4px; }
.newsletter-band-form input::placeholder { color: rgba(255, 255, 255, 0.96); }
.newsletter-band-form input:focus { outline: none; }
.newsletter-band-form button { flex: none; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; padding: 10px 4px 10px 18px; white-space: nowrap; transition: opacity var(--transition); }
.newsletter-band-form button:hover { opacity: 0.7; }
.newsletter-band-note { flex-basis: 100%; font-family: var(--font-mono); font-size: 0.72rem; color: #fff; }

/* =========================================================
   Best of {Topic}
   ========================================================= */
.best-of { max-width: var(--container-max); margin: 0 auto; padding: clamp(55px, 7vw, 70px) var(--gutter) 0; text-align: center; }
.best-of-head h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 2.8vw, 2.2rem); margin-bottom: 10px; }
.best-of-head p { font-size: 0.86rem; color: var(--color-ink-soft); margin: 0 auto clamp(32px, 4vw, 44px); max-width: 46ch; }
.best-of-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); align-items: start; text-align: left; }
.best-of-card { display: block; }
.best-of-card img { width: 100%; aspect-ratio: 3/2; height: auto !important; object-fit: cover; margin-bottom: 12px; transition: transform var(--transition); background: var(--color-surface); }
.best-of-card:hover img { transform: scale(1.02); }
.best-of-meta { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 4px; }
.best-of-card h3 { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 500; line-height: 1.3; }

/* =========================================================
   Archive Guides (alternating editorial rows)
   ========================================================= */
.archive-guides { max-width: var(--container-max); margin: 0 auto; padding: clamp(60px, 8vw, 80px) var(--gutter) 0; }
.archive-guides-heading { text-align: center; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 2.8vw, 2.2rem); margin-bottom: clamp(40px, 5vw, 56px); }
.guide-row { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: center; margin-top: 60px; }
.guide-row:first-of-type { margin-top: 0; }
.guide-row-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }
.guide-row-reverse .guide-row-media { order: 2; }
.guide-row-reverse .guide-row-copy { order: 1; }
.guide-row-media { width: 100%; aspect-ratio: 16/9; height: auto !important; object-fit: cover; background: var(--color-surface); }
.guide-row-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 12px; }
.guide-row h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; margin-bottom: 10px; }
.guide-row-desc { font-size: 0.9rem; color: var(--color-ink-soft); max-width: 42ch; }

/* =========================================================
   Read More
   ========================================================= */
.read-more { max-width: var(--container-max); margin: 0 auto; padding: clamp(70px, 8vw, 90px) var(--gutter) 0; }
.read-more-heading { text-align: center; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 2.8vw, 2.2rem); margin-bottom: clamp(40px, 5vw, 56px); }
.read-more-feed { max-width: 800px; margin: 0 auto; }
.read-more-list { display: flex; flex-direction: column; }
.read-more-item { border-top: 1px solid var(--color-line); }
.read-more-item:last-child { border-bottom: 1px solid var(--color-line); }
.read-more-item a { display: grid; grid-template-columns: 200px 1fr; min-height: 110px; gap: 24px; align-items: center; padding: 16px 0; }
.read-more-item img { height: 78px; width: 200px; object-fit: cover; background: var(--color-surface); }
.read-more-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.read-more-meta { display: flex; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 8px; }
.read-more-title { font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.3; transition: color var(--transition); }
.read-more-item a:hover .read-more-title { color: var(--color-ink-soft); }
.archive-empty-note { text-align: center; padding: 48px 24px; color: var(--color-ink-soft); font-size: 0.9rem; }

@media (max-width: 1099px) {
  .archive-feature { grid-template-columns: minmax(0, 1fr); }
  .archive-more-stories { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--color-line); max-width: 480px; }
  .best-of-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .guide-row, .guide-row-reverse { grid-template-columns: minmax(0, 1fr); }
  .guide-row-reverse .guide-row-media, .guide-row-reverse .guide-row-copy { order: initial; }
  .newsletter-band-copy { flex-direction: column; align-items: flex-start; text-align: left; }
  .newsletter-band-form { width: 100%; min-width: 0; }
}
@media (max-width: 720px) {
  /* The copy sits at the bottom of the photograph. Its own ::after is the wash: full darkness behind the copy, then easing out over the space above it (about a third of the screen width), full width of the photograph. */
  .topic-hero-media { height: auto; aspect-ratio: 4/3; align-items: flex-end; padding-bottom: 20px; }
  .topic-hero-media { --jd-dir: 0deg; }
  .topic-hero-copy { width: 100%; max-width: none; margin-bottom: -20px; padding: 0 20px 20px; }
  .topic-nav ul { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; height: 60px; padding: 0 var(--gutter); }
  .archive-feature-section { padding-top: 24px; }
  .archive-secondary { grid-template-columns: minmax(0, 1fr); }
  .best-of-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .newsletter-band { height: auto; }
  .newsletter-band-wrap { margin-top: 40px; }
  .newsletter-band-copy { padding: 28px 20px; }
  .read-more-item a { grid-template-columns: 110px 1fr; gap: 14px; }
  .read-more-item img { width: 110px; height: 70px; }
}

/* =========================================================
   HOME — Elementor structural note
   Elementor wraps a "boxed" container's real children one level deeper,
   inside an auto-generated .e-con-inner div. Setting "display: contents"
   on that wrapper removes it from the box model entirely, so the outer
   container's own grid/flex rule applies directly to the real
   grandchildren (hero-copy/hero-media, card grid items, etc.) exactly as
   if the wrapper weren't there — no need to duplicate or split the
   layout rule across both levels.

   Every Elementor container also carries its own default padding
   (`.elementor .e-flexbox-base { padding: 10px; }` in Elementor's own
   base-desktop.css, specificity 0,2,0) baked into its atomic CSS,
   applied whether or not the editor ever set one. It shows up as an
   unwanted inset wherever we don't deliberately want a gutter — most
   visible on bordered grids like .guides-grid, where it read as a gap
   between the border and the cards. A bare :where()-based reset can't
   beat that rule's specificity, so every container below that doesn't
   want it needs `padding: 0 !important` explicitly; every container
   that DOES want its own padding (.hero-inner, .guide-card,
   .perspective-card, .photography-copy, etc.) needs `!important` on
   that value for the same reason. */

/* =========================================================
   HOME — hero
   ========================================================= */
.hero { border-bottom: 1px solid var(--color-line); padding: 0 !important; }
/* .hero's own direct .e-con-inner wrapper (one level above .hero-inner)
   was never unwrapped like every other level in this file is, so it
   kept rendering as a real box with Elementor's own generated vertical
   padding (10px top/bottom) - the extra whitespace above and below the
   mobile hero carousel. */
.hero > .e-con-inner { display: contents !important; }
.hero-inner { max-width: var(--container-max) !important; margin: 0 auto !important; width: 100% !important; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(56px, 7vw, 88px) !important; display: grid !important; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important; gap: clamp(28px, 4vw, 56px) !important; align-items: center !important; }
.hero-inner > .e-con-inner { display: contents !important; }
.hero-copy { max-width: 420px; min-width: 0; }
.hero-title,
.hero-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(2.4rem, 4.2vw, 3.6rem) !important; line-height: 1.07; letter-spacing: -0.01em; margin-bottom: 20px; color: var(--color-ink) !important; }
.hero-sub,
.hero-sub .elementor-heading-title { color: var(--color-ink-soft) !important; font-size: 1rem !important; font-family: var(--font-sans) !important; font-weight: 400 !important; max-width: 38ch; margin-bottom: 26px; }
.hero-media { display: grid !important; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) !important; gap: 14px !important; height: clamp(320px, 34vw, 460px) !important; min-width: 0; padding: 0 !important; }
.hero-media > .e-con-inner { display: contents !important; }
.hero-media-side { display: grid !important; grid-template-rows: 1fr 1fr !important; gap: 14px !important; padding: 0 !important; }
.hero-media-side > .e-con-inner { display: contents !important; }
/* hero-media-main/side tiles are .media placeholder containers (gradient
   background, no <img>) — they fill their grid cell naturally via
   .media's width:100%/height:100%, no replaced-element sizing quirk.
   Each tile is itself a container (it holds a caption text widget), so
   its own .e-con-inner also needs unwrapping for the caption's
   position:absolute to resolve against the tile, not the wrapper. */
.hero-media-main > .e-con-inner,
.hero-media-side .media > .e-con-inner { display: contents !important; }
/* Mobile hero carousel - the prototype swaps the desktop copy+media
   layout for a swipeable 3-slide carousel below 720px; that markup
   doesn't exist as Elementor content (it's the same hero text/images,
   just re-arranged), so chrome.js builds it at runtime from the
   existing .hero-copy/.hero-media content already in the page rather
   than duplicating it as separate widgets. */
.hero-carousel { display: none; }
/* The prototype's 0.72 is 4.1:1 over the minimum scrim on a white photograph; the scrim's floor assumes text at 0.8 or brighter, like every other eyebrow on a photo. */
.eyebrow-light { color: rgba(246,243,236,0.96) !important; }
@media (max-width: 720px) {
  .hero-inner { display: block !important; padding: 0 !important; }
  .hero-copy, .hero-media { display: none !important; }
  .hero { border-bottom: none; }
  .hero-carousel { display: block; }
  .hero-carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; list-style: none; margin: 0; padding: 0; }
  .hero-carousel-track::-webkit-scrollbar { display: none; }
  /* deliberate deviation from the literal prototype source, per direct
     design feedback: bigger left/right/bottom inset so nothing touches
     the slide's edges, title shrunk to fit 2 lines instead of 3, and
     the button nudged up + right off the corner. */
  /* .hero-slide also carries the .media class (reused for its gradient
     background), and .media's own padding: 0 !important (added earlier
     to stop Elementor's leaked padding) otherwise wins over this plain
     declaration despite equal specificity. */
  .hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; padding: 24px 28px 32px !important; }
  /* The title slide is the only slide with text, so it is the only one with a scrim: one wash over the whole slide, 60% at the bottom edge falling continuously to 0% at the top edge (see "Text scrim"). The other slides have none. */
  .hero-slide-copy { position: relative; z-index: 1; max-width: 320px; }
  .hero-slide-text { --jd-dir: 0deg; }
  .hero-slide-text::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--jd-wash); pointer-events: none; }
  .hero-carousel .hero-title { font-size: 1.9rem !important; }
  .hero-title-light { color: #fff !important; }
  .hero-sub-light { color: rgba(255,255,255,0.96) !important; margin-bottom: 20px; }
  .slide-arrow { position: absolute; right: 24px; bottom: 28px; z-index: 1; color: #fff; font-size: 1.2rem; }
  .hero-dots { display: flex; justify-content: center; gap: 10px; padding: 16px 0; }
  .hero-dots button { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; color: var(--color-ink-soft); padding: 4px 2px; border-bottom: 1px solid transparent; background: none; border-left: 0; border-right: 0; border-top: 0; cursor: pointer; }
  .hero-dots button[aria-selected="true"] { color: var(--color-ink); border-bottom-color: var(--color-ink); }
  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; font-size: 0.85rem; letter-spacing: 0.02em; border: 1px solid currentColor; transition: background var(--transition), color var(--transition); text-decoration: none; margin-left: 6px; }
  .btn-light { color: var(--color-ink); background: #fff; border-color: #fff; }
  .btn-light:hover { background: transparent; color: #fff; }
}

/* =========================================================
   HOME — Explore Algeria (perspective cards, dark)
   Ported structure: a viewport (clips to 5 visible slots) holding a
   9-card track that slides left on "See more", plus a pinned toggle
   tile that never moves. --slot is computed the same way the prototype
   does (see chrome.js syncPerspectiveSlot).
   ========================================================= */
.explore-algeria { background: var(--color-dark-bg); max-width: none; padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 6vw, 80px) !important; }
@media (max-width: 720px) { .explore-algeria { padding-top: 32px !important; } }
.explore-algeria .section-head { max-width: var(--container-max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.explore-algeria .section-title .elementor-heading-title { color: var(--color-dark-ink) !important; }
.explore-algeria .section-sub .elementor-heading-title { color: rgba(246,243,236,0.7) !important; }
/* A single native horizontal-scroll row at every width - swipe on
   touch, click the injected prev/next arrows on desktop - replacing
   the old "5 visible slots + See more slides the track via transform"
   toggle entirely; that mechanism (and the separate ≤1024px grid-wrap
   fallback that came with it) is gone, one interaction model everywhere
   now. --jd-slot is a fixed px value set by JS (syncPerspectiveSlot in
   chrome.js) from the grid's own rendered width, not a CSS percentage:
   .perspective-track's width is content-driven (max-content) so the
   row can overflow for scrolling, which leaves percentages with no
   definite container size to resolve against - every card blew up to
   fill the viewport when tried as %. Namespaced (--jd-*) rather than
   --gap/--slot because Elementor's own atomic CSS sets a bare --gap
   directly on descendant .e-con elements (e.g. on .perspective-track
   itself), shadowing an ancestor's --gap for anything computed at/below
   it - that's what broke an earlier version of this, not a
   transform/specificity issue. */
.perspective-grid {
  --jd-gap: 2px;
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter) !important;
  position: relative;
}
.perspective-grid > .e-con-inner { display: contents !important; }
.perspective-viewport > .e-con-inner,
.perspective-track > .e-con-inner { display: contents !important; }
.perspective-viewport {
  display: block !important;
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0 !important;
}
.perspective-viewport::-webkit-scrollbar { display: none; }
.perspective-track {
  display: flex !important; flex-direction: row !important;
  width: max-content !important; height: auto !important;
  gap: var(--jd-gap) !important;
  padding: 0 !important;
}
.perspective-card, .perspective-card-extra {
  position: relative; flex: 0 0 var(--jd-slot, 190px) !important; min-width: 0; aspect-ratio: 1/1;
  padding: 20px !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important;
  color: #fff; transition: transform var(--transition); overflow: hidden;
  scroll-snap-align: start;
}
.perspective-card > .e-con-inner { display: contents !important; }
.perspective-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.55) 100%); z-index: 0; }
.perspective-card:hover { transform: translateY(-4px); }
.perspective-card .elementor-widget-icon,
.perspective-card .elementor-widget-heading { position: relative; z-index: 1; }
.perspective-card .elementor-icon i,
.perspective-card .elementor-icon svg { color: #fff !important; fill: #fff !important; width: 22px; height: 22px; }
/* the prototype groups title+desc in their own .perspective-copy wrapper
   (icon top, copy group bottom via justify-content:space-between on 2
   items) - the Elementor build has icon/title/desc as 3 flat siblings
   instead, so plain space-between spread them evenly down the card
   instead of grouping the text at the bottom. margin-top:auto on the
   title (the first of the "text" items) consumes all the leftover
   space above it, pushing title+desc down together as one group while
   the icon stays put at the top. */
.perspective-card .perspective-title { margin-top: auto !important; }
.perspective-card .perspective-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 400 !important; font-size: 0.92rem !important; color: #fff !important; text-align: center !important; }
.perspective-card .perspective-desc .elementor-heading-title { font-weight: 400 !important; font-size: 0.72rem !important; color: rgba(255,255,255,0.96) !important; line-height: 1.4; font-family: var(--font-sans) !important; text-align: center !important; }
/* the old toggle tile has no job left now that the row just scrolls */
.perspective-more { display: none !important; }

/* Scroll-edge fade, dynamic via chrome.js (updateScrollFade), which
   reads the viewport's real scroll position and toggles these classes
   on .perspective-grid (not the scrolling viewport itself, so the fade
   stays put at the visual edge instead of scrolling away with the
   content). Right fade shows by default (there's always more of the
   9-card row to see); left fade appears once scrolled away from start
   and disappears again back at the beginning. */
/* Elementor's own core CSS defines a background-overlay feature on
   .e-con::before - since .perspective-grid carries the .e-con class,
   that rule ties this one in specificity (both single-class + pseudo)
   and, loading later in the page, wins several properties outright:
   content resolved to `none` (no box was generated at all - the fade
   wasn't just low-opacity, it didn't exist), and width/opacity/position
   got silently overridden too (::before measured ~100% of the grid's
   width instead of the 80px here). `!important` on every property
   Elementor's rule also sets forces ours to win regardless of load
   order. */
.perspective-grid::before,
.perspective-grid::after {
  content: "" !important; position: absolute !important; top: 0 !important; bottom: 0 !important; width: 80px !important;
  pointer-events: none; z-index: 2; opacity: 0 !important;
  transition: opacity 0.2s ease;
}
.perspective-grid::before { left: var(--gutter) !important; background: linear-gradient(90deg, var(--color-dark-bg), transparent); }
.perspective-grid::after { right: var(--gutter) !important; background: linear-gradient(270deg, var(--color-dark-bg), transparent); }
.perspective-grid.is-scrolled::before { opacity: 1 !important; }
.perspective-grid.can-scroll-more::after { opacity: 1 !important; }

/* Prev/next arrow buttons - injected by chrome.js, since touch/swipe
   alone isn't a discoverable or usable affordance with a mouse. Each
   arrow is centered within its own fade's 80px width (not sitting
   directly on bare card content) and disabled (faded out) at each end
   of the row using the same scroll-position state the fades use,
   reinforcing the same "no more content this direction" signal twice. */
.perspective-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 40px; height: 40px; border-radius: 50%; padding: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1;
  background: rgba(20,18,15,0.55); border: 1px solid rgba(255,255,255,0.3); color: #fff;
  cursor: pointer; transition: opacity 0.2s ease, background 0.2s ease;
}
.perspective-arrow:hover { background: rgba(20,18,15,0.8); }
.perspective-arrow[disabled] { opacity: 0; pointer-events: none; }
.perspective-arrow-prev { left: calc(var(--gutter) + 20px); }
.perspective-arrow-next { right: calc(var(--gutter) + 20px); }
@media (max-width: 640px) { .perspective-arrow { display: none; } }

/* =========================================================
   HOME — Explore by place
   Placeholder-only section: place pages don't exist in this
   architecture yet (matches the prototype's own B2 TBD), so every
   card and the "Explore all places" link stay # until that's decided.
   ========================================================= */
.explore-place { border-bottom: 1px solid var(--color-line); padding-top: clamp(36px, 4vw, 56px) !important; padding-bottom: clamp(32px, 4vw, 48px) !important; }
/* no max-width/margin/padding of its own — .explore-place (a .section)
   already provides the max-width, centering, and gutter; giving
   .place-grid its own on top double-padded the row and shrank the
   cards. */
.place-grid { margin-bottom: clamp(48px, 6vw, 80px) !important; padding: 0 !important; display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: clamp(14px, 1.6vw, 22px) !important; align-items: start; }
.place-grid > .e-con-inner { display: contents !important; }
.place-card { display: block !important; }
.place-card > .e-con-inner { display: contents !important; }
.place-card .media { margin-bottom: 14px; transition: transform var(--transition); }
.place-card:hover .media { transform: scale(1.03); }
.place-name .elementor-heading-title { display: block !important; font-family: var(--font-serif) !important; font-weight: 400 !important; font-size: 1rem !important; color: var(--color-ink) !important; margin-bottom: 2px !important; }
.place-region .elementor-heading-title { display: block !important; font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.76rem !important; color: var(--color-ink-soft) !important; }
@media (max-width: 1024px) { .place-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 720px) { .place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px; } }
/* In the prototype .featured-story sits inside .explore-place, right
   after .place-grid, with no section-level padding of its own - the
   only spacing there is .place-grid's own margin-bottom. Elementor's
   container model pulled it out into its own top-level .section
   sibling instead, stacking a full extra clamp(56px,8vw,104px) on
   both sides on top of .explore-place's own padding. Zero this
   wrapper's vertical padding so the gap matches the prototype. */
.featured-story-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }

/* =========================================================
   HOME — Photography banner
   ========================================================= */
.photography { position: relative; min-height: clamp(420px, 52vw, 640px) !important; display: flex !important; flex-direction: row !important; align-items: stretch !important; background: var(--color-dark-bg); }
.photography > .e-con-inner { display: contents !important; }
.photography-media { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; }
/* The scrim: one wash across the whole banner, 60% at the left edge where the text is, falling in a straight line to 0% at the right edge (bottom to top on phones; see "Text scrim"). */
.photography::after { content: ""; position: absolute; z-index: 1; inset: 0; background: var(--jd-wash); pointer-events: none; }
.photography .photography-copy { z-index: 2; }
.photography-copy .elementor-widget-heading { max-width: 560px; }
/* .photography-copy AND its own .e-con-inner were both getting this
   padding rule, doubling it (e.g. bottom padding was 66px + 66px =
   132px) — that's what was pushing the copy block up away from the
   bottom edge and packing in extra empty space. The inner wrapper is
   unwrapped like everywhere else now, and .photography-copy is
   stretched to the section's full height with the eyebrow pinned to
   the top (margin-bottom: auto) and the heading/desc/link kept as a
   tight group anchored to the bottom, per direct visual feedback -
   the prototype itself just bottom-anchors the whole block together. */
.photography-copy { position: relative; z-index: 1; width: 100%; max-width: var(--container-max); margin: 0 auto; display: flex !important; flex-direction: column !important; padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(32px, 4vw, 56px) !important; }
.photography-copy > .e-con-inner { display: contents !important; }
.photography-copy .eyebrow { margin-bottom: auto !important; }
.photography-copy .section-title .elementor-heading-title { color: var(--color-dark-ink) !important; margin-bottom: 6px !important; }
.photography-copy .eyebrow .elementor-heading-title { color: rgba(246,243,236,0.96) !important; }
.photography-copy .section-sub .elementor-heading-title { color: rgba(246,243,236,0.96) !important; }
.photography-copy .link-arrow .elementor-button { margin-top: 14px !important; color: var(--color-dark-ink) !important; }

/* =========================================================
   HOME — Travel guides
   ========================================================= */
.travel-guides { padding-top: clamp(32px, 4vw, 48px) !important; padding-bottom: clamp(16px, 2vw, 24px) !important; }
.guides-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 1px !important; padding: 0 !important; background: var(--color-line); border: 1px solid var(--color-line); }
.guides-grid > .e-con-inner { display: contents !important; }
.guide-card { background: #fff; padding: 28px 24px !important; display: flex !important; flex-direction: column !important; gap: 6px !important; }
.guide-card > .e-con-inner { display: contents !important; }
.guide-card .elementor-widget-icon { margin-bottom: 8px !important; }
.guide-card .elementor-icon i, .guide-card .elementor-icon svg { color: var(--color-ink) !important; fill: var(--color-ink) !important; width: 24px; height: 24px; }
.guide-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 400 !important; font-size: 1.02rem !important; color: var(--color-ink) !important; }
.guide-desc .elementor-heading-title { font-weight: 400 !important; font-size: 0.82rem !important; color: var(--color-ink-soft) !important; font-family: var(--font-sans) !important; }
@media (max-width: 1024px) { .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 720px) {
  .guides-grid { grid-template-columns: minmax(0, 1fr) !important; border: none; }
  /* each .guide-card is its own row/flex-container, so a plain flex
     row let every row's title column take only as much width as that
     row's own text needed - the desc column then started at a
     different x per row and the border-bottom lines didn't read as
     aligned. Fixed-width icon/title columns make every row's desc
     column start at the same x regardless of content. */
  .guide-card {
    display: grid !important;
    grid-template-columns: 28px 130px 1fr !important;
    align-items: start !important;
    column-gap: 14px !important;
    padding: 16px 4px !important;
    border-bottom: 1px solid var(--color-line);
  }
  .guide-card .elementor-widget-icon { margin-bottom: 0 !important; align-self: start; }
}

/* =========================================================
   HOME — More + Newsletter
   ========================================================= */
.more-and-newsletter { padding-top: clamp(16px, 2vw, 24px) !important; padding-bottom: 0 !important; }
.more-layout { display: block; padding: 0 !important; }
.more-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: clamp(18px, 2vw, 26px) !important; padding: 0 !important; align-items: start; margin-bottom: clamp(20px, 2.4vw, 32px); }
.more-grid > .e-con-inner { display: contents !important; }
.more-secondary { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: clamp(20px, 2.4vw, 32px) !important; padding: 0 !important; }
.more-secondary > .e-con-inner { display: contents !important; }
/* decorative-only, no real content object backs it — .media placeholder
   container, not an <img>. */
.more-feature-media { aspect-ratio: 4/3 !important; }
@media (max-width: 1024px) {
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .more-secondary { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 720px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .newsletter { padding: 26px 22px; } }
/* "More from JolieDestination" — same horizontal-row treatment as
   .right-now's story-grid: a smaller square image on the left, the
   meta/title/desc/date stacked and shrunk to fit that image's height
   on the right, rows stacked full-width instead of a cramped 2-up
   grid. */
@media (max-width: 640px) {
  .more-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .more-grid .story-card {
    display: grid !important;
    grid-template-columns: 110px 1fr !important;
    grid-template-rows: repeat(4, auto) !important;
    column-gap: 14px !important;
    row-gap: 2px !important;
  }
  .more-grid .story-card .elementor-widget-image { grid-column: 1 !important; grid-row: 1 / span 4 !important; margin-bottom: 0 !important; align-self: start; }
  .more-grid .story-card .story-meta,
  .more-grid .story-card .story-title,
  .more-grid .story-card .story-desc,
  .more-grid .story-card .story-date { grid-column: 2 !important; }
  .more-grid .story-card .story-meta .elementor-heading-title { font-size: 0.62rem !important; margin-bottom: 4px !important; }
  .more-grid .story-card .story-title .elementor-heading-title { font-size: 0.86rem !important; line-height: 1.22 !important; margin-bottom: 4px !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .more-grid .story-card .story-desc .elementor-heading-title { font-size: 0.72rem !important; line-height: 1.32 !important; margin-bottom: 4px !important; display: -webkit-box !important; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .more-grid .story-card .story-date .elementor-heading-title { font-size: 0.62rem !important; }
}

/* =========================================================
   HOME — Featured story
   ========================================================= */
.featured-story { display: grid !important; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) !important; gap: clamp(28px, 4vw, 56px) !important; align-items: center !important; padding: 0 !important; }
.featured-story > .e-con-inner { display: contents !important; }
/* decorative-only, no real content object backs it — .media placeholder
   container, not an <img>. */
.featured-story-media { aspect-ratio: 16/10 !important; }
.featured-story-media > .e-con-inner { display: contents !important; }
.featured-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.9rem, 3vw, 2.5rem) !important; line-height: 1.15; margin-bottom: 18px; color: var(--color-ink) !important; }
.featured-desc .elementor-heading-title { font-weight: 400 !important; color: var(--color-ink-soft) !important; font-size: 0.96rem !important; font-family: var(--font-sans) !important; max-width: 42ch; margin-bottom: 22px; }
@media (max-width: 720px) {
  .featured-story { grid-template-columns: minmax(0, 1fr) !important; }
  .featured-story-media { aspect-ratio: 4/3 !important; }
}
/* The "JD Featured Story" widget prints the same .featured-story grid itself (no Elementor containers or heading widgets inside),
   so the text needs its own rules; the values are the ones the hand-built version had, including the 20px Elementor put between
   its widgets (eyebrow 14 + 20, title 18 + 20, description 22 + 20) and the 10px around the text column. */
.jd-featured-story .featured-story-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.jd-featured-story .featured-story-copy { min-width: 0; padding: 10px; }
.jd-featured-story .featured-story-copy .eyebrow { margin: 0 0 34px; line-height: 1; }
.jd-featured-story .featured-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.9rem, 3vw, 2.5rem) !important; line-height: 1.15 !important; margin: 0 0 38px !important; color: var(--color-ink) !important; }
.jd-featured-story .featured-desc { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: 0.96rem !important; color: var(--color-ink-soft) !important; max-width: 42ch; margin: 0 0 42px !important; }
.jd-featured-story .link-arrow { line-height: 1; white-space: nowrap; }
.jd-featured-story-empty { color: var(--color-ink-soft); font-size: 0.9rem; }

/* =========================================================
   HOME — story-card as an Elementor container (Latest Stories /
   More from JolieDestination): the Elementor Posts widget's own
   query settings proved unreliable to guess correctly, so these
   are built the same way as .more-card / .perspective-card —
   real per-post containers looping real WP_Query data.
   ========================================================= */
.story-grid > .e-con-inner { display: contents !important; }
.story-card { padding: 0 !important; }
.story-card > .e-con-inner { display: contents !important; }
.story-card .elementor-widget-image { margin-bottom: 24px !important; }
.story-card img { width: 100%; aspect-ratio: 4/5; height: auto !important; object-fit: cover; transition: transform var(--transition); background: var(--color-surface); }
.story-card:hover img { transform: scale(1.02); }
/* "More from JolieDestination" matches the prototype's own .more-card
   (ratio-1-1) treatment, distinct from "Latest stories"' 4:5 cards —
   both reuse .story-card here since both loop real WP posts. */
.more-grid .story-card img { aspect-ratio: 1/1 !important; height: auto !important; }
.story-meta .elementor-heading-title { font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.68rem !important; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft) !important; margin-bottom: 10px; }
.story-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: 1.12rem !important; line-height: 1.32; margin-bottom: 10px; color: var(--color-ink) !important; }
.story-desc .elementor-heading-title { font-weight: 400 !important; font-size: 0.86rem !important; color: var(--color-ink-soft) !important; margin-bottom: 12px; line-height: 1.5; font-family: var(--font-sans) !important; }
.story-date .elementor-heading-title { font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.72rem !important; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-soft) !important; }

/* =========================================================
   404
   Plain PHP template (404.php), not Elementor — same "stub"
   classes the prototype itself used for its own #/404 route.
   ========================================================= */
.stub-section { max-width: 640px; }
.stub-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 2.6vw, 2.6rem); margin-bottom: 14px; }
.stub-template, .stub-source { font-size: 0.9rem; color: var(--color-ink-soft); margin-bottom: 10px; }

/* =========================================================
   PHOTO OF THE WEEK
   Plain PHP page template (page-photo-of-the-week.php), not
   Elementor. The only page on the site with a pure black body:
   header/nav-drawer/footer/toast invert onto --color-black via
   .page-dark (added to <body> only by this one template), while
   the actual page content below the header uses --color-on-dark
   tokens directly. .social-list/.footer-gsource from the
   prototype's own page-dark block are omitted — this theme's
   footer never had those elements.
   ========================================================= */
.yourshot-body { background: var(--color-black); }

.page-dark :focus-visible { outline-color: var(--color-on-dark); }

.page-dark .site-header { background: rgba(0, 0, 0, 0.94); border-bottom-color: rgba(255, 255, 255, 0.18); color: var(--color-on-dark); }
.page-dark .logo-tagline { color: var(--color-on-dark-soft); }
.page-dark .header-kicker { color: var(--color-on-dark-soft); }
.page-dark .header-kicker span { color: var(--color-on-dark); }

.page-dark .search-panel { background: var(--color-black); border-top-color: rgba(255, 255, 255, 0.18); }
.page-dark .search-form input { border-bottom-color: rgba(255, 255, 255, 0.18); }
.page-dark .search-form input::placeholder { color: var(--color-on-dark-soft); }
.page-dark .search-form input:focus { border-bottom-color: var(--color-on-dark); }
.page-dark .search-form button { border-bottom-color: var(--color-on-dark); }

.page-dark .nav-drawer { background: var(--color-black); color: var(--color-on-dark); }
.page-dark .nav-drawer-close { color: var(--color-on-dark); }
.page-dark .nav-drawer-latest { border-top-color: rgba(255, 255, 255, 0.18); }
.page-dark .nav-drawer-latest-label { color: var(--color-on-dark-soft); }
.page-dark .nav-drawer-latest-date { color: var(--color-on-dark-soft); }

.page-dark .site-footer { background: var(--color-black); border-top-color: rgba(255, 255, 255, 0.18); color: var(--color-on-dark); }
.page-dark .footer-desc { color: var(--color-on-dark-soft); }
.page-dark .footer-col-title { color: var(--color-on-dark-soft); }
.page-dark .footer-col a:hover { color: var(--color-on-dark-soft); }
.page-dark .newsletter-form input::placeholder { color: var(--color-on-dark-soft); }
.page-dark .newsletter-form-footer { border-bottom-color: var(--color-on-dark-soft); }
.page-dark .footer-bottom { border-top-color: rgba(255, 255, 255, 0.18); }
.page-dark .footer-legal p { color: var(--color-on-dark-soft); }
.page-dark .footer-legal nav a { color: var(--color-on-dark-soft); }
.page-dark .footer-legal nav a:hover { color: var(--color-on-dark); }

@media (max-width: 1099px) {
  .page-dark .footer-col:not(.footer-col-newsletter) { border-top-color: rgba(255, 255, 255, 0.18); }
  .page-dark .footer-col-newsletter { border-top-color: rgba(255, 255, 255, 0.18); }
  .page-dark .footer-col-toggle::after { color: var(--color-on-dark-soft); }
}

.page-dark .toast { background: var(--color-black); color: var(--color-on-dark); }

.page-dark .breadcrumbs ol { color: var(--color-on-dark-soft); }
.page-dark .breadcrumbs a:hover { color: var(--color-on-dark); }
.page-dark .breadcrumbs [aria-current="page"] { color: var(--color-on-dark); }
.page-dark .breadcrumbs .crumb-sep { color: rgba(255, 255, 255, 0.3); }

/* ---- Page header ---- */
.yourshot-page-header { max-width: var(--container-max); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(28px, 4vw, 40px); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.yourshot-page-header-inner { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.yourshot-eyebrow { color: var(--color-on-dark-soft) !important; }
.yourshot-intro { font-family: var(--font-serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.4; color: var(--color-on-dark); }

.yourshot-see-all {
  color: var(--color-on-dark);
  border-bottom: 1px solid var(--color-on-dark);
  padding-left: 3px;
  padding-right: 3px;
  margin-left: -3px;
  margin-right: -3px;
  transition: none;
  background: none;
  cursor: pointer;
}
.yourshot-see-all:hover, .yourshot-see-all:focus-visible { background: var(--color-on-dark); color: var(--color-black); }
.yourshot-see-all { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 0.82rem; vertical-align: middle; }

.yourshot-share { margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.yourshot-share-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-on-dark-soft); }
.yourshot-share-icons { display: flex; align-items: center; gap: 14px; }
.yourshot-share-icon { display: flex; color: var(--color-on-dark-soft); transition: color var(--transition); background: none; border: none; cursor: pointer; padding: 0; }
.yourshot-share-icon:hover { color: var(--color-on-dark); }

/* ---- The photograph (real <img>, not a .media placeholder) ---- */
.yourshot-photo-section { max-width: var(--container-max); margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--gutter) 0; }
.yourshot-photo-wrap { max-width: 1000px; margin: 0 auto; padding: clamp(20px, 3vw, 40px) 0; }
.yourshot-photo-trigger { display: block; width: 100%; cursor: zoom-in; background: none; border: none; padding: 0; }
.yourshot-photo-trigger:focus-visible { outline-offset: 6px; }
/* The whole photograph, never cropped: natural proportions (from the image's own width/height), capped in height so a tall photo can't run off the screen; a capped photo is letterboxed on the dark page instead of cut. */
.yourshot-photo-img { display: block; width: 100%; height: auto; max-height: min(78vh, 860px); object-fit: contain; }
.yourshot-enlarge-cue { display: block; margin-top: 16px; text-align: center; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--color-on-dark-soft); }

/* ---- Caption block ---- */
.yourshot-caption { max-width: 1000px; margin: 0 auto; padding: clamp(8px, 1.5vw, 16px) 0 clamp(28px, 4vw, 40px); }
.yourshot-caption-meta { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-on-dark-soft); margin-bottom: 10px; }
.yourshot-caption-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; color: var(--color-on-dark); margin-bottom: 16px; }
.yourshot-caption-body-wrap { max-width: 62ch; }
.yourshot-caption-body { font-family: var(--font-sans); font-size: 0.98rem; line-height: 1.7; color: var(--color-on-dark); margin: 0; }
.yourshot-caption-body a { color: var(--color-on-dark); border-bottom: 1px solid rgba(255, 255, 255, 0.45); }
.yourshot-caption-body a:hover, .yourshot-caption-body a:focus-visible { border-bottom-color: var(--color-on-dark); }


.yourshot-credit { margin-top: 20px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--color-on-dark-soft); }
.yourshot-credit a { color: var(--color-on-dark); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.yourshot-credit a:hover { border-bottom-color: var(--color-on-dark); }

.yourshot-wordmark { margin-top: 14px; display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-on-dark-soft); }

/* ---- Previous / next week ---- */
.yourshot-weeknav { max-width: 1000px; margin: 0 auto; padding: clamp(20px, 3vw, 28px) 0 clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, 0.18); display: flex; justify-content: space-between; gap: 20px; }
.yourshot-weeknav-link { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.03em; color: var(--color-on-dark-soft); transition: color var(--transition); }
.yourshot-weeknav-link:hover { color: var(--color-on-dark); }

/* ---- More photography ---- */
.yourshot-related-heading { text-align: center; color: var(--color-on-dark) !important; margin-bottom: clamp(28px, 4vw, 44px); }
.yourshot-story-card { border: 1px solid rgba(255, 255, 255, 0.18); padding: clamp(14px, 1.6vw, 18px) !important; }
.yourshot-story-meta { color: var(--color-on-dark-soft); }
.yourshot-story-title { color: var(--color-on-dark); margin-bottom: 0; }

/* ---- Newsletter (dark) ---- */
.yourshot-newsletter { max-width: var(--container-max); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.yourshot-newsletter-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 4vw, 56px); align-items: center; }
.yourshot-newsletter-heading { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--color-on-dark); margin: 0 0 10px; }
.yourshot-newsletter-sub { font-size: 0.92rem; color: var(--color-on-dark-soft); max-width: 46ch; }
.yourshot-newsletter-form { border-bottom: 1px solid var(--color-on-dark); }
.yourshot-newsletter-form input { color: var(--color-on-dark); }
.yourshot-newsletter-form input::placeholder { color: var(--color-on-dark-soft); }
.yourshot-newsletter-form button { color: var(--color-on-dark); }
.yourshot-newsletter-form button:hover { opacity: 1; background: var(--color-on-dark); color: var(--color-black); }
.yourshot-newsletter-note { color: var(--color-on-dark-soft); }

/* ---- Submit your work ---- */
.yourshot-submit { max-width: var(--container-max); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(64px, 8vw, 100px); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.yourshot-submit-inner { max-width: 620px; }
.yourshot-submit-heading { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--color-on-dark); margin: 0 0 14px; }
.yourshot-submit-copy { font-size: 0.95rem; line-height: 1.6; color: var(--color-on-dark-soft); margin-bottom: 22px; max-width: 56ch; }
.yourshot-submit-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 30px; font-size: 0.9rem; color: var(--color-on-dark); }
.yourshot-submit-list li { padding-left: 18px; position: relative; }
.yourshot-submit-list li::before { content: "\2014"; position: absolute; left: 0; color: var(--color-on-dark-soft); }
.yourshot-submit-btn { display: inline-flex; align-items: center; padding: 14px 26px; font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.02em; color: var(--color-on-dark); border: 1px solid var(--color-on-dark); background: transparent; transition: background var(--transition), color var(--transition); }
.yourshot-submit-btn:hover { background: var(--color-on-dark); color: var(--color-black); }

/* ---- Lightbox ---- */
/* Open and close only: the photograph fills everything the close button leaves free (edge to edge on phones), letterboxed with object-fit: contain, so it is always larger than on the page and never cropped, whatever its orientation. With a mouse a click anywhere (photo, black, X) or Esc closes it; there is no zoom and nothing scrolls. Touch screens (phones, tablets) get the same enlarged view and can then pinch to zoom: chrome.js scales the photograph with a transform (pinch out = zoom in, pinch in = zoom out, drag to move around while zoomed), so there are no scrollbars. */
.yourshot-lightbox { position: fixed; inset: 0; z-index: 1100; background: var(--color-black); background: color-mix(in srgb, var(--color-black) 96%, transparent); display: flex; align-items: center; justify-content: center; padding: 72px 0 12px; overflow: hidden; overflow: clip; touch-action: none; overscroll-behavior: contain; opacity: 0; transition: opacity var(--transition); }
.yourshot-lightbox[hidden] { display: none; }
.yourshot-lightbox.is-open { opacity: 1; }
.yourshot-lightbox-stage { flex: 1 1 auto; display: flex; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.yourshot-lightbox-photo { display: block; flex: none; width: 100%; height: 100%; margin: auto; cursor: pointer; background: none; border: none; padding: 0; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transform-origin: 50% 50%; transition: transform 0.22s ease; }
.yourshot-lightbox.is-gesturing .yourshot-lightbox-photo { transition: none; }
.yourshot-lightbox-photo:focus-visible { outline-offset: -4px; }
.yourshot-lightbox-media { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; }
.yourshot-lightbox-hint { position: absolute; top: 28px; left: clamp(16px, 3vw, 28px); margin: 0; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-on-dark-soft); pointer-events: none; transition: opacity var(--transition); }
.yourshot-hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .yourshot-hint-touch { display: none; }
  .yourshot-hint-mouse { display: inline; }
}
.yourshot-lightbox.has-zoomed .yourshot-lightbox-hint { opacity: 0; }
@media (min-width: 721px) {
  .yourshot-lightbox { padding: 72px clamp(12px, 2vw, 32px) clamp(12px, 2vw, 32px); }
}
/* z-index 1100 keeps the lightbox (and its close button) above the sticky site header (500) and nav drawer (1000). The WordPress admin bar, shown to logged-in editors only, sits above everything, so leave room for it. */
.admin-bar .yourshot-lightbox { padding-top: calc(72px + var(--wp-admin--admin-bar--height, 32px)); }
.admin-bar .yourshot-lightbox-close { top: calc(var(--wp-admin--admin-bar--height, 32px) + 16px); }
.admin-bar .yourshot-lightbox-hint { top: calc(var(--wp-admin--admin-bar--height, 32px) + 28px); }
.yourshot-lightbox-close { position: absolute; z-index: 2; top: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--color-on-dark); background: none; border: none; cursor: pointer; transition: background var(--transition); }
.yourshot-lightbox-close:hover { opacity: 0.7; }
/* Zoomed in, the photograph can reach under the close button, so give it a dark disc to stay readable on a bright picture. */
.yourshot-lightbox.is-zoomed .yourshot-lightbox-close { background: rgba(0, 0, 0, 0.55); border-radius: 50%; }

/* ---- Responsive: tablet ---- */
@media (max-width: 1024px) {
  .yourshot-newsletter-inner { grid-template-columns: minmax(0, 1fr); }
  .yourshot-newsletter-form-wrap { max-width: 420px; }
}

/* ---- Responsive: mobile ---- */
@media (max-width: 720px) {
  .yourshot-page-header { padding: 16px var(--gutter) 14px; }
  .yourshot-page-header-inner { gap: 4px; }
  .yourshot-page-header .eyebrow { margin-bottom: 8px; }
  .yourshot-intro { font-size: 0.92rem; }
  .yourshot-see-all { display: block; margin-left: 0; margin-top: 8px; justify-content: center; }
  .yourshot-share { margin-top: 12px; }

  .yourshot-photo-section { padding: 10px var(--gutter) 0; }
  .yourshot-photo-wrap { padding: 0; }
  .yourshot-enlarge-cue { display: none; }

  .yourshot-caption { padding: 8px 0 24px; }
  .yourshot-caption-meta { margin-bottom: 6px; }
  .yourshot-caption-title { font-size: 1.2rem; margin-bottom: 6px; }
  .yourshot-caption-body { font-size: 0.9rem; line-height: 1.55; -webkit-line-clamp: 2; }
  .yourshot-credit { margin-top: 8px; }
  .yourshot-wordmark { margin-top: 8px; }

  .yourshot-weeknav { padding: 16px 0 32px; }

  .yourshot-submit-list { gap: 10px; }
}

/* =========================================================
   IN FOCUS (article variant)
   Plain PHP (template-parts/single-infocus.php, included from
   single.php when a post carries the jd_format "In Focus" term),
   reusing .article-container/.article-layout/.article-main/
   .article-sidebar/.sidebar-block from the regular article
   template — only the page header, carousel and body content
   inside .article-main differ.
   ========================================================= */
.infocus-h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 2.2vw, 2.1rem); color: var(--color-ink); margin: 0 0 22px; }

.infocus-about-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 22px; }
.infocus-about-head .infocus-h2 { margin-bottom: 0; }

/* ---- Page header ---- */
.infocus-header { max-width: var(--container-max); margin: 0 auto; padding: 4px var(--gutter) clamp(28px, 3.6vw, 40px); }
.infocus-header-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 40px; }

.infocus-title-block { min-width: 0; max-width: 620px; }
.infocus-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.03; letter-spacing: -0.02em; color: var(--color-ink); margin: 0 0 14px; }
.infocus-subhead { font-family: var(--font-sans); font-size: 1.05rem; color: var(--color-ink-soft); margin: 0 0 20px; }
.infocus-byline { display: flex; align-items: center; gap: 12px; }
.infocus-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; }
.infocus-byline-text { display: flex; flex-direction: column; gap: 3px; }
.infocus-byline-name { font-family: var(--font-mono); font-size: 0.78rem; color: var(--color-ink); }
.infocus-byline-date { font-family: var(--font-mono); font-size: 0.74rem; color: var(--color-ink-soft); }
.infocus-byline-review { display: inline-flex; align-items: flex-start; gap: 6px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--color-ink-soft); }
.infocus-byline-review svg { flex: none; margin-top: 0.2em; color: var(--color-ink); }

/* ---- Full-bleed peek carousel ---- */
.infocus-carousel-section { padding-bottom: clamp(56px, 7vw, 88px); overflow-x: clip; overflow-y: visible; }
.infocus-carousel-bleed { --peek-width: min(1100px, 86vw); position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.infocus-carousel-viewport { position: relative; height: clamp(500px, 42vw, 560px); outline-offset: -2px; }
.infocus-carousel-track { display: flex; align-items: center; height: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 calc((100% - var(--peek-width)) / 2); }
.infocus-carousel-track::-webkit-scrollbar { display: none; }

.infocus-slide { flex: 0 0 auto; height: 100%; aspect-ratio: var(--ar, 1.5); max-width: var(--peek-width); scroll-snap-align: center; position: relative; }
.infocus-slide .media { width: 100%; height: 100%; }
.infocus-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Each slide takes its photo's own proportions (--ar, set from the image metadata) at a fixed row height, so portrait photos are narrow and landscape ones wide, uncropped. Photos wider than the stage are letterboxed. Once the script has built the loop the track gets side padding so any slide can sit centred. */
.infocus-carousel-track.is-ready { padding: 0 50%; }
.infocus-carousel-track.is-single { justify-content: center; padding: 0; }

.infocus-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--color-ink); border: 1px solid var(--color-line); transition: background var(--transition); cursor: pointer; }
.infocus-arrow:hover { background: var(--color-surface); }
.infocus-arrow:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.infocus-arrow-prev { left: calc(50% - (var(--peek-width) / 2) + 20px); }
.infocus-arrow-next { right: calc(50% - (var(--peek-width) / 2) + 20px); }

.infocus-carousel-footer { max-width: var(--container-max); margin: 0 auto; padding: 20px var(--gutter) 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.infocus-caption { grid-column: 1; display: flex; flex-direction: column; gap: 4px; }
.infocus-caption-credit { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-ink-soft); }

.infocus-dots { grid-column: 2; justify-self: center; display: flex; gap: 10px; }
.infocus-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--color-line); transition: background var(--transition); border: none; padding: 0; cursor: pointer; }
.infocus-dots button[aria-current="true"] { background: var(--color-ink); }
.infocus-dots button:hover { background: var(--color-line-strong); }
.infocus-dots button:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }

/* ---- Inline newsletter (left column) ---- */
.infocus-newsletter-inline { margin: clamp(40px, 5vw, 56px) 0; padding: clamp(28px, 3vw, 36px); background: var(--color-surface); }
.infocus-newsletter-inline h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; line-height: 1.2; color: var(--color-ink); margin: 8px 0 10px; }
.infocus-newsletter-inline-copy { font-size: 0.9rem; color: var(--color-ink-soft); margin: 0 0 20px; }
.infocus-newsletter-inline .newsletter-form { margin-top: 0; max-width: 440px; }

/* ---- Related tags (left column) ---- */
.infocus-tags-block { margin: 0 0 clamp(40px, 5vw, 56px); }
.infocus-tags-heading { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft); margin: 0 0 16px; }

/* ---- Contributors band (left column) ---- */
.infocus-contributors-band { margin-top: clamp(40px, 5vw, 56px); padding: clamp(28px, 3vw, 36px); background: var(--color-surface); }
.infocus-contributors-band .infocus-h2 { margin-bottom: 24px; }
.infocus-contributors-row { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.infocus-contributors-item { display: flex; flex-direction: column; gap: 10px; }
.infocus-contributors-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-soft); margin: 0; }
.infocus-contributors-who { display: flex; align-items: center; gap: 12px; }
.infocus-contributors-name { font-family: var(--font-serif); font-size: 1rem; color: var(--color-ink); margin: 0; }
.infocus-contributors-role { font-family: var(--font-sans); font-size: 0.8rem; color: var(--color-ink-soft); margin: 2px 0 0; }
.infocus-contributors-date { font-family: var(--font-sans); font-size: 0.92rem; color: var(--color-ink); margin: 0; }
.infocus-contributors-edit { display: flex; flex-direction: column; gap: 8px; }
.infocus-contributors-edit a { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-sans); font-size: 0.86rem; color: var(--color-ink); border-bottom: 1px solid var(--color-line-strong); padding-bottom: 1px; width: fit-content; }
.infocus-contributors-edit a:hover { border-bottom-color: var(--color-ink); }

/* ---- Sidebar — map card ---- */
.infocus-map-frame { width: 100%; height: 220px; border: 1px solid var(--color-line); display: block; }
iframe.infocus-map-frame { border: 1px solid var(--color-line); background: var(--color-surface); }
.infocus-map-details .link-arrow { display: inline-block; margin-top: 4px; font-size: 0.78rem; }
.infocus-map-placeholder { display: flex; align-items: center; justify-content: center; background: var(--color-surface); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--color-ink-soft); text-align: center; }
.infocus-map-details { display: flex; flex-direction: column; gap: 14px; padding: 18px 0 0; }
.infocus-map-details li { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-sans); font-size: 0.86rem; line-height: 1.4; color: var(--color-ink); }
.infocus-map-details li svg { flex: none; margin-top: 2px; color: var(--color-ink-soft); }
.infocus-map-details strong { font-weight: 500; }

/* ---- Sidebar — related guide ---- */
.infocus-guide-block { padding-top: clamp(28px, 3vw, 36px); border-top: 1px solid var(--color-line); }
/* Compact card: the same 80px row as the article sidebar's "You may also like" (.related-story-*): an 80x80 square photograph
   with the topic label, the title (cut at 2 lines to leave room for the link) and "Read the story" beside it. No teaser. */
.infocus-guide-card { display: flex; gap: 14px; align-items: flex-start; }
.infocus-guide-thumb { flex: none; display: block; width: 80px; height: 80px; aspect-ratio: 1 / 1; object-fit: cover; }
.infocus-guide-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.infocus-guide-label { font-family: var(--font-mono); font-size: 0.64rem; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-soft); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.infocus-guide-label:empty { display: none; }
.infocus-guide-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; font-family: var(--font-serif); font-size: 0.98rem; line-height: 1.28; color: var(--color-ink); margin: 0; }
.infocus-guide-card .link-arrow { font-size: 0.78rem; line-height: 1.2; padding-bottom: 2px; white-space: nowrap; }

/* ---- Related Places / Related Articles spacing ---- */
.infocus-related-places { padding-bottom: clamp(24px, 3vw, 40px); }
.infocus-related-articles { padding-top: clamp(24px, 3vw, 40px); }

/* ---- Responsive: mobile ---- */
@media (max-width: 720px) {
  .infocus-carousel-viewport { height: 70vw; }
  .infocus-carousel-bleed { --peek-width: 88vw; }
  .infocus-arrow { width: 36px; height: 36px; }

  .infocus-carousel-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .infocus-caption { grid-column: 1; align-items: center; }

  .infocus-contributors-row { flex-direction: column; gap: 22px; }

  .infocus-related-places .story-grid,
  .infocus-related-articles .story-grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   ABOUT PAGE
   Ported 1:1 from src/styles.css's "About + Contact page"
   block. Every container gets its own e-con-inner unwrap up
   front (not discovered reactively like on Home) since it's
   always safe and Elementor's leaked 10px padding can land on
   any of them; every text rule targets the descendant
   .elementor-heading-title with !important since that's where
   Elementor's kit sets its own competing value.
   ========================================================= */

/* ---- Shared section-intro row (eyebrow + heading left, paragraph
   right, thin rule below) - "Our Approach" / "Many Faces" /
   "Algeria in Numbers" ---- */
.about-intro { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: flex-end !important; gap: clamp(24px, 4vw, 56px) !important; padding-bottom: 28px !important; margin-bottom: clamp(36px, 4.5vw, 56px) !important; border-bottom: 1px solid var(--color-line); }
.about-intro > .e-con-inner { display: contents !important; }
.about-intro-heading { max-width: 560px; }
.about-intro-heading > .e-con-inner { display: contents !important; }
.about-intro-desc .elementor-heading-title { max-width: 400px; font-size: 0.95rem !important; color: var(--color-ink-soft) !important; line-height: 1.55; font-family: var(--font-sans) !important; font-weight: 400 !important; }
.about-intro-light { border-bottom-color: var(--color-dark-line) !important; }
.about-intro-light .about-intro-desc .elementor-heading-title { color: rgba(246,243,236,0.96) !important; }

/* ---- Hero ---- */
.about-hero { position: relative; min-height: clamp(380px, 42vw, 460px); display: flex !important; flex-direction: row !important; align-items: flex-end !important; padding: 0 !important; }
.about-hero > .e-con-inner { display: contents !important; }
.about-hero-media { position: absolute !important; inset: 0 !important; padding: 0 !important; }
.about-hero-media > .e-con-inner { display: contents !important; }
/* The scrim: one wash across the whole hero, 60% at the left edge where the text is, falling in a straight line to 0% at the right edge on tablet and desktop, bottom to top on phones (see "Text scrim"). */
.about-hero-scrim { position: absolute !important; inset: 0 !important; padding: 0 !important; background: var(--jd-wash) !important; }
.about-hero-copy { position: relative !important; z-index: 1; max-width: 620px; padding: clamp(48px, 7vw, 80px) var(--gutter) clamp(44px, 6vw, 64px) !important; color: #fff; }
.about-hero-copy > .e-con-inner { display: contents !important; }
.about-hero-copy .eyebrow .elementor-heading-title { color: rgba(255, 255, 255, 0.96) !important; }
.about-hero-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(2.6rem, 5vw, 4rem) !important; line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 14px; color: #fff !important; }
.about-hero-subhead .elementor-heading-title { font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.8rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.96) !important; margin-bottom: 20px; }
.about-hero-desc .elementor-heading-title { font-weight: 400 !important; font-size: 0.98rem !important; line-height: 1.6; color: rgba(255,255,255,0.96) !important; max-width: 52ch; font-family: var(--font-sans) !important; }

/* ---- 50/50 split (Our Why / Personal Journey) ---- */
.about-split { max-width: var(--container-max) !important; margin: 0 auto !important; width: 100% !important; padding: clamp(32px, 3.5vw, 48px) var(--gutter) !important; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: clamp(40px, 6vw, 88px) !important; align-items: center !important; }
.about-split > .e-con-inner { display: contents !important; }
.about-split-media { aspect-ratio: 4 / 5; }
.about-split-media > .e-con-inner { display: contents !important; }
.about-split-copy { max-width: 480px; }
.about-split-copy > .e-con-inner { display: contents !important; }
.about-split-copy .eyebrow .elementor-heading-title { color: var(--color-ink-soft) !important; }
.about-split-title .elementor-heading-title { margin-bottom: 20px !important; }
.about-split-desc .elementor-heading-title { font-size: 0.98rem !important; line-height: 1.65; color: var(--color-ink-soft) !important; font-family: var(--font-sans) !important; font-weight: 400 !important; }

.signature { display: inline-block !important; margin-top: 26px; transform: rotate(-2deg); }
.signature .elementor-heading-title { font-family: var(--font-script) !important; font-size: 2rem !important; font-weight: 400 !important; color: var(--color-ink) !important; }

/* Founder section actions (button + signature). The prototype puts 28px between the paragraph and the button; Elementor's own container
   margin (0) and side padding (10px) beat the plain rules, which left the button touching the paragraph and indented 10px from the text
   above it. Both are set with !important so the button sits 28px below the paragraph, flush with the text's left edge. */
.about-split-actions { margin: 28px 0 0 !important; padding: 0 !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 22px !important; }
.about-split-actions > .e-con-inner { display: contents !important; }

/* ---- Outline buttons ---- */
.btn-outline .elementor-button { display: inline-flex !important; align-items: center !important; gap: 10px !important; padding: 14px 28px !important; font-family: var(--font-mono) !important; font-size: 0.78rem !important; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--color-ink) !important; border-radius: 0 !important; color: var(--color-ink) !important; background: transparent !important; transition: background var(--transition), color var(--transition); }
.btn-outline .elementor-button:hover { background: var(--color-ink) !important; color: #fff !important; }
.btn-outline-light .elementor-button { border-color: #fff !important; color: #fff !important; }
.btn-outline-light .elementor-button:hover { background: #fff !important; color: var(--color-ink) !important; }
.contact-form .btn-outline, .contact-form input[type="submit"].btn-outline { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--color-ink); color: var(--color-ink); background: transparent; transition: background var(--transition), color var(--transition); margin-top: 6px; align-self: flex-start; cursor: pointer; }
.contact-form input[type="submit"].btn-outline:hover { background: var(--color-ink); color: #fff; }

/* ---- Feature cards (Our Approach / Many Faces, 5-up) ---- */
.about-cards-section { max-width: var(--container-max) !important; margin: 0 auto !important; width: 100% !important; padding: clamp(32px, 3.5vw, 48px) var(--gutter) !important; }
.about-cards-section > .e-con-inner { display: contents !important; }
.feature-cards { --cards-gap: clamp(16px, 2vw, 24px); display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; gap: var(--cards-gap) !important; }
.feature-cards > .e-con-inner { display: contents !important; }
.feature-card { flex: 0 1 calc((100% - 4 * var(--cards-gap)) / 5) !important; min-width: 0; padding: 0 !important; }
.feature-card > .e-con-inner { display: contents !important; }
.feature-card .media { aspect-ratio: 1 / 1; height: auto; margin-bottom: 16px; transition: transform var(--transition); }
.feature-card:hover .media { transform: scale(1.02); }
.feature-card-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: 1.04rem !important; margin-bottom: 8px; color: var(--color-ink) !important; }
.feature-card-desc .elementor-heading-title { font-size: 0.82rem !important; color: var(--color-ink-soft) !important; line-height: 1.5; font-family: var(--font-sans) !important; font-weight: 400 !important; }

/* ---- Full-width photographic bands (Numbers / Invitation) ---- */
.photo-band { position: relative; padding: 0 !important; }
.photo-band-media { position: absolute !important; inset: 0 !important; padding: 0 !important; }
/* The text spans the whole band, so the scrim here is one even wash at the floor darkness, no fade (see "Text scrim"). */
.photo-band-scrim { position: absolute !important; inset: 0 !important; padding: 0 !important; background: rgba(var(--jd-scrim-ink), var(--jd-alpha)) !important; }
.photo-band-inner { position: relative !important; z-index: 1; max-width: var(--container-max) !important; margin: 0 auto !important; width: 100% !important; padding: clamp(48px, 6vw, 68px) var(--gutter) !important; color: #fff; }
.photo-band-inner > .e-con-inner { display: contents !important; }

.stats-band-head { margin-bottom: clamp(28px, 3.4vw, 40px) !important; }
.stats-band-head .eyebrow .elementor-heading-title { color: rgba(255, 255, 255, 0.96) !important; }
.stats-band-head .section-title .elementor-heading-title { color: #fff !important; }
.stats-band-grid { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; row-gap: 24px !important; }
.stats-band-grid > .e-con-inner { display: contents !important; }
.stat { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 6px !important; flex: 0 0 20% !important; padding: 0 clamp(10px, 1.6vw, 20px) !important; border-left: 1px solid rgba(255,255,255,0.3); text-align: center; }
.stat > .e-con-inner { display: contents !important; }
.stat:first-child { border-left: none; }
.stat-value .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.25rem, 1.9vw, 1.65rem) !important; color: #fff !important; }
.stat-label .elementor-heading-title { font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.68rem !important; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.96) !important; line-height: 1.5; }

.invitation-band-inner { text-align: center; display: flex !important; flex-direction: column !important; align-items: center !important; padding: clamp(64px, 7.5vw, 92px) var(--gutter) !important; }
.invitation-band-inner > .e-con-inner { display: contents !important; }
.invitation-band-inner .eyebrow .elementor-heading-title { color: rgba(255, 255, 255, 0.96) !important; }
.invitation-band-inner .section-title .elementor-heading-title { color: #fff !important; margin-bottom: 16px; }
.invitation-band-inner .invitation-desc .elementor-heading-title { max-width: 56ch; margin: 0 auto 30px; color: rgba(255,255,255,0.96) !important; font-size: 1rem !important; line-height: 1.6; font-family: var(--font-sans) !important; font-weight: 400 !important; }

/* ---- Contact Form 7 form styling (the Contact page's form; matches the prototype's hand-rolled markup 1:1).
   The About page no longer has a form of its own: its "Get in Touch" button links to the Contact page. ---- */
.contact-form .wpcf7-form { display: flex; flex-direction: column; gap: 22px; }
.contact-form .form-field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .form-field label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-soft); }
.contact-form .form-field input, .contact-form .form-field select, .contact-form .form-field textarea { border: none; border-bottom: 1px solid var(--color-field-line); background: transparent; padding: 10px 2px; font-family: var(--font-sans); font-size: 0.95rem; color: var(--color-ink); width: 100%; }
.contact-form .form-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a4640' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 20px; }
.contact-form .form-field textarea { min-height: 120px; resize: vertical; }
.contact-form .form-field input:focus, .contact-form .form-field select:focus, .contact-form .form-field textarea:focus { outline: none; border-bottom-color: var(--color-ink); }
.contact-form .form-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-ink-soft); margin-top: -6px; }
.contact-form .wpcf7-response-output { font-family: var(--font-sans); font-size: 0.85rem; margin: 10px 0 0; border-radius: 0; border-color: var(--color-line-strong) !important; }
.contact-form .wpcf7-not-valid-tip { font-family: var(--font-sans); font-size: 0.75rem; color: #b3402f; margin-top: 4px; }
.contact-form .wpcf7-spinner { margin-left: 10px; }

/* ---- Responsive: tablet ---- */
@media (max-width: 1099px) {
  .feature-cards { row-gap: 32px !important; }
  .feature-card { flex-basis: calc((100% - 2 * var(--cards-gap)) / 3) !important; }
  .stat { flex-basis: 33.3333% !important; }
  .stat:nth-child(3n+1) { border-left: none; }
  .about-split { grid-template-columns: minmax(0, 1fr) !important; }
  .about-split-media { max-width: 460px; }
  .about-split-copy { max-width: none; }
}

/* ---- Responsive: mobile ---- */
@media (max-width: 720px) {
  .about-intro { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  .about-hero-copy { padding: 36px 20px 40px !important; }
  .about-hero-title .elementor-heading-title { max-width: none; }
  /* Phone only: the hero is a fixed 9:16 (width:height) box, e.g. 375 x 667, at every phone width; the text stays anchored to the bottom by the flex layout above. min-height is auto (Elementor writes 0) so that, if an edited text ever needs more than 9:16 gives it, the box grows to hold the text instead of clipping it or letting it spill out over the photo's top edge. Tablet and desktop keep their own height. */
  .about-hero { aspect-ratio: 9 / 16; height: auto !important; min-height: auto !important; }

  .about-split { padding: 56px var(--gutter) !important; }
  .about-split-media { max-width: none; }

  .feature-card { flex-basis: calc((100% - var(--cards-gap)) / 2) !important; }
  .stat { flex-basis: 50% !important; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.3); }
}

/* =========================================================
   Gate 3 — topic tab bar (one row), article pull-quote alignment,
   footer social + Google source (prototype styles), search results
   ========================================================= */
.topic-nav ul { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.topic-nav ul::-webkit-scrollbar { display: none; }
.article-body blockquote, .article-body blockquote p { text-align: left !important; }

.footer-gsource { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; padding: 10px 14px; border: 1px solid var(--color-line); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; line-height: 1.3; color: var(--color-ink); max-width: 320px; transition: border-color var(--transition), color var(--transition); }
.footer-gsource:hover { border-color: var(--color-ink); }
.footer-gsource-icon { flex: none; color: var(--color-ink-soft); }
.footer-gsource:hover .footer-gsource-icon { color: var(--color-ink); }
.footer-gsource:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.page-dark .social-list a { border-color: rgba(255, 255, 255, 0.18); }
.page-dark .social-list a:hover { background: var(--color-on-dark); color: var(--color-black); }
.page-dark .footer-gsource { border-color: rgba(255, 255, 255, 0.18); color: var(--color-on-dark); }
.page-dark .footer-gsource:hover { border-color: var(--color-on-dark); }
.page-dark .footer-gsource-icon { color: var(--color-on-dark-soft); }
.page-dark .footer-gsource:hover .footer-gsource-icon { color: var(--color-on-dark); }

.search-results-head { padding: 0 0 clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--color-line); margin-bottom: clamp(28px, 3.6vw, 44px); }
.search-results-title { color: var(--color-ink); margin-bottom: 10px; }
.search-results-count { color: var(--color-ink-soft); margin-bottom: 22px; }
.search-results-form { display: flex; gap: 16px; max-width: 560px; }
.search-results-form input { flex: 1; min-width: 0; border: none; border-bottom: 1px solid var(--color-field-line); padding: 10px 2px; font-size: 1.1rem; font-family: var(--font-serif); background: transparent; }
.search-results-form input:focus { outline: none; border-bottom-color: var(--color-ink); }
.search-results-form button { font-size: 0.82rem; letter-spacing: 0.04em; border-bottom: 1px solid var(--color-ink); padding-bottom: 4px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
@media (max-width: 640px) { .search-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* =========================================================
   Photo of the Week as a Format + the Photography archive
   (taxonomy-jd_pillar-photography.php, template-parts/single-yourshot.php)
   ========================================================= */
.yourshot-credit-name { color: var(--color-on-dark); }
.yourshot-weeknav-link.is-disabled { opacity: 0.32; cursor: default; }

.photo-badge { display: inline-block; width: fit-content; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: var(--tracking-label); text-transform: uppercase; padding: 5px 10px; border: 1px solid currentColor; }

/* Featured slot: the latest Your Shot photograph, on a true black band (#000) */
.photo-feature { background: var(--color-black); color: var(--color-dark-ink); margin-top: clamp(28px, 4vw, 48px); }
.photo-feature-inner { max-width: var(--container-max); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.photo-feature-media { display: block; overflow: hidden; background: #000; }
/* This week's photo is shown whole (natural proportions, capped in height and letterboxed on black), never cropped: a portrait photograph must stay a portrait. */
.photo-feature-media img { display: block; width: 100%; height: auto !important; max-height: min(70vh, 560px); object-fit: contain; transition: transform var(--transition); }
.photo-feature-media:hover img { transform: scale(1.02); }
.photo-feature-copy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.photo-feature-copy .photo-badge { color: var(--color-dark-ink-soft); }
.photo-feature-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--color-dark-ink); margin: 4px 0 0; }
.photo-feature-title a { color: inherit; }
.photo-feature-meta { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.03em; color: var(--color-dark-ink-soft); }
.photo-feature-desc { font-size: 0.95rem; line-height: 1.55; color: var(--color-on-dark); max-width: 46ch; }
.photo-feature-credit { font-family: var(--font-mono); font-size: 0.74rem; color: var(--color-dark-ink-soft); }
.photo-feature-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 10px; }
.photo-feature .link-arrow { color: var(--color-dark-ink); }

/* Format chips */
.photo-filters ul { max-width: var(--container-max); margin: 0 auto; padding: clamp(24px, 3vw, 36px) var(--gutter) 0; display: flex; flex-wrap: wrap; gap: 8px; }
.photo-filters a { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: var(--tracking-label); text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--color-line-strong); color: var(--color-ink-soft); transition: color var(--transition), border-color var(--transition), background var(--transition); }
.photo-filters a:hover { color: var(--color-ink); border-color: var(--color-ink); }
.photo-filters a[aria-current="page"] { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }

/* Grid: photo-first 4:5 cards; Photo of the Week entries are outlined and badged */
.photo-grid-section { max-width: var(--container-max); margin: 0 auto; padding: clamp(24px, 3vw, 36px) var(--gutter) 0; scroll-margin-top: 90px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.photo-card-link { display: block; }
.photo-card-media { position: relative; display: block; margin-bottom: 16px; }
.photo-card-media img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto !important; object-fit: cover; background: var(--color-surface); transition: transform var(--transition); }
.photo-card-link:hover .photo-card-media img { transform: scale(1.02); }
.photo-card-media { overflow: hidden; }
.photo-card-yourshot .photo-card-media { outline: 2px solid var(--color-ink); outline-offset: -2px; }
.photo-badge-overlay { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--color-ink); border-color: transparent; z-index: 1; }
.photo-card .story-date { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--color-ink-soft); }
@media (max-width: 1024px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .photo-feature-inner { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Home story grids render their cards from [jd_story_cards] inside an
   Elementor shortcode widget; the widget wrappers must not become the grid
   items themselves, the cards inside them are. */
.jd-live-cards,
.jd-live-cards .elementor-shortcode { display: contents !important; }

/* =========================================================
   Contact page (page-contact.php) and legal pages (page-legal.php).
   Light pages on the standard canvas. Elementor only carries the words; the
   containers it wraps them in are flattened here so layout stays in the theme.
   ========================================================= */
.contact-copy, .legal-copy { display: block !important; max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.contact-copy > .e-con-inner, .legal-copy > .e-con-inner { display: block !important; max-width: none !important; width: 100% !important; padding: 0 !important; }
.contact-copy .elementor-widget, .legal-copy .elementor-widget { margin: 0 !important; }

/* Hero: an Elementor image widget in a container of its own (.contact-hero),
   full width, fixed height, cropped to fill and centred. */
.contact-hero { display: block !important; width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; background: #0b0e1a; }
.contact-hero > .e-con-inner { display: block !important; max-width: none !important; width: 100% !important; padding: 0 !important; }
.contact-hero .elementor-widget-image { margin: 0 !important; }
.contact-hero img { display: block; width: 100% !important; max-width: none !important; height: clamp(240px, 34vw, 460px) !important; object-fit: cover; object-position: center; }
/* The words container is the reading column. */
.contact-copy { max-width: 760px !important; margin: 0 auto !important; padding: clamp(40px, 6vw, 72px) var(--gutter) 0 !important; }
.contact-copy .contact-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1.08; letter-spacing: -0.01em; color: var(--color-ink) !important; margin: 0 0 22px !important; }
.contact-copy .contact-subtitle .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.5rem, 2.6vw, 2rem) !important; line-height: 1.15; color: var(--color-ink) !important; margin: 0 0 18px !important; }
.contact-copy .contact-subtitle { margin-top: clamp(40px, 5vw, 56px) !important; padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--color-line); }
.contact-copy .elementor-widget-text-editor p { font-family: var(--font-sans); font-size: 1rem; line-height: 1.7; color: var(--color-ink-soft); margin: 0 0 1.2em; }
.contact-copy .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

.contact-form-section { max-width: 760px; margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--gutter) clamp(64px, 8vw, 104px); }
.contact-form-section .contact-form { padding-top: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--color-line); }
.contact-direct, .contact-privacy { font-family: var(--font-sans); font-size: 0.9rem; color: var(--color-ink-soft); margin-top: 26px; }
.contact-privacy { margin-top: 10px; }
.contact-direct a, .contact-privacy a { color: var(--color-ink); border-bottom: 1px solid var(--color-line-strong); transition: border-color var(--transition); }
.contact-direct a:hover, .contact-privacy a:hover { border-bottom-color: var(--color-ink); }

.legal-header { border-bottom: 1px solid var(--color-line); }
.legal-header-inner { max-width: 760px; margin: 0 auto; padding: clamp(20px, 3vw, 32px) var(--gutter) clamp(28px, 4vw, 44px); }
.legal-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em; color: var(--color-ink); margin: 0; }
.legal-body { max-width: 760px; margin: 0 auto; padding: clamp(32px, 4.4vw, 56px) var(--gutter) clamp(72px, 9vw, 120px); }
.legal-copy .elementor-widget-text-editor { font-family: var(--font-sans); font-size: 1rem; line-height: 1.75; color: var(--color-ink); }
.legal-copy .elementor-widget-text-editor p { margin: 0 0 1.2em; }
.legal-copy .elementor-widget-text-editor h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; margin: 2em 0 0.6em; }
.legal-copy .elementor-widget-text-editor h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem; line-height: 1.3; margin: 1.6em 0 0.5em; }
.legal-copy .elementor-widget-text-editor ul, .legal-copy .elementor-widget-text-editor ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.legal-copy .elementor-widget-text-editor ul { list-style: disc; }
.legal-copy .elementor-widget-text-editor ol { list-style: decimal; }
.legal-copy .elementor-widget-text-editor li { margin-bottom: 0.4em; }
.legal-copy .elementor-widget-text-editor a { border-bottom: 1px solid var(--color-line-strong); }
.legal-copy .elementor-widget-text-editor a:hover { border-bottom-color: var(--color-ink); }

/* Cookie banner (Complianz). Colours, square corners and copy come from the
   banner settings (white, ink, no accent); this only matches the button type
   to the site's own buttons and tidies the message. */
.cmplz-cookiebanner .cmplz-btn,
#cmplz-manage-consent .cmplz-manage-consent { font-family: var(--font-mono) !important; font-size: 0.72rem !important; font-weight: 400 !important; letter-spacing: 0.08em; text-transform: uppercase; }
.cmplz-cookiebanner .cmplz-message { line-height: 1.55; }
.cmplz-cookiebanner .cmplz-message a { text-decoration: underline; text-underline-offset: 3px; }
.cmplz-cookiebanner { border: 1px solid var(--color-line-strong) !important; }

/* Privacy Policy line under each newsletter signup form (jd_newsletter_legal_html) */
.newsletter-legal { font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.5; color: var(--color-ink-soft); margin: 6px 0 0; }
.newsletter-legal a { color: inherit; border-bottom: 1px solid currentColor; }
.newsletter-legal a:hover { color: var(--color-ink); }
.newsletter-band .newsletter-legal { flex-basis: 100%; color: rgba(255, 255, 255, 0.96); margin: 0; }
.newsletter-band .newsletter-legal a:hover { color: #fff; }
.yourshot-newsletter .newsletter-legal { color: var(--color-on-dark-soft); }
.yourshot-newsletter .newsletter-legal a:hover { color: var(--color-on-dark); }

/* Newsletter form messages (validation and signup errors) */
.newsletter-note.is-error { color: #a3341f; }
.newsletter-band .newsletter-note.is-error, .yourshot-newsletter .newsletter-note.is-error { color: #ffd2c8; }
.newsletter-form button[disabled], .newsletter-band-form button[disabled] { opacity: 0.55; cursor: wait; }

/* ---- Mobile / tablet fixes (Gate 2) ---- */

/* iOS Safari zooms the whole page when a text field under 16px takes focus. Phones, tablets and any touch screen get 16px fields (the prototype's smaller sizes stay on mouse-driven desktops). Buttons and check/radio inputs don't trigger it. */
@media (max-width: 1024px), (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]):not([type="range"]),
  select,
  textarea { font-size: 16px !important; } /* !important: every form's own rule (Contact, newsletter, Contact Form 7) is more specific than a bare element selector */
}

/* Newsletter band over a photograph: one even wash across the whole band at the floor darkness, no fade, because the text spans it (see "Text scrim"). */
.newsletter-band::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(var(--jd-scrim-ink), var(--jd-alpha)); pointer-events: none; }
/* Under the scrim the brightest the background can get is about #6c6c6c, so 90% white text clears 4.5:1 even over a pure-white sky. */
.newsletter-band-text p,
.newsletter-band .newsletter-legal { color: rgba(255, 255, 255, 0.96); }

/* The band grows with its content instead of clipping it. Once it stacks (under 1100px) the privacy line and any error message make it taller than the prototype's fixed 150-170px, and overflow: hidden was cutting off the heading. */
.newsletter-band { height: auto; min-height: clamp(150px, 16vw, 170px); }
@media (max-width: 1099px) {
  .newsletter-band-copy { padding-top: 28px; padding-bottom: 28px; }
}

/* Left/right-floated images in an article leave a sliver of text on a phone: stack them full width instead. */
@media (max-width: 600px) {
  .article-body .alignleft,
  .article-body .alignright { float: none; margin-left: 0; margin-right: 0; }
  .article-body figure.alignleft,
  .article-body figure.alignright { display: block; max-width: 100%; }
  .article-body figure.alignleft img,
  .article-body figure.alignright img { width: 100% !important; }
  .article-body figure.alignleft figcaption,
  .article-body figure.alignright figcaption { display: block; } /* core makes it a table-caption, which shrinks to a sliver once the figure is a plain block */
}

/* ---- Tap targets (Gate 3) ----
   44 x 44px minimum on phones, tablets and touch screens. Boxes that can simply be bigger are (icons, chips, buttons, selects). Text links keep their look: the extra height is padding cancelled by an equal negative margin, so the layout doesn't move but the link's box (and tap area) is 44px tall; underlined links (border-bottom) take the padding on top only so the underline stays under the text. */
@media (max-width: 1024px), (pointer: coarse) {
  /* Header */
  .nav-toggle, .icon-btn, .nav-drawer-close { width: 44px; height: 44px; }
  .nav-toggle { margin-left: -5px; }
  .header-actions .icon-btn:last-child { margin-right: -5px; }
  .header-inner { padding-top: 13px; padding-bottom: 13px; }
  .logo { min-height: 44px; }
  .nav-drawer ul:not(.nav-drawer-latest-list) { gap: 10px; }
  .nav-drawer ul:not(.nav-drawer-latest-list) a { display: block; padding: 8px 0; }

  /* Breadcrumbs */
  .breadcrumbs a { display: inline-flex; align-items: center; padding: 13px 6px; margin: -13px -6px; }

  /* Share icons (article and Photo of the Week) */
  .article-share-icons, .yourshot-share-icons { gap: 0; }
  .article-share-icon, .yourshot-share-icon { align-items: center; justify-content: center; width: 44px; height: 44px; }

  /* Underlined text links: grow upward, underline stays put */
  .link-arrow { padding-top: 20px; margin-top: -20px; }
  .elementor-widget.link-arrow .elementor-button { padding-top: 27px !important; margin-top: -27px !important; }
  .jd-featured-story .link-arrow { padding-top: 27px; margin-top: -27px; } /* line-height 1 is 6.8px shorter than a normal line: keeps the 44px tap height */
  .infocus-contributors-edit a { padding-top: 21px; margin-top: -21px; }

  /* Plain text links: symmetric */
  .yourshot-weeknav-link:not(.is-disabled) { display: inline-flex; align-items: center; padding: 13px 0; margin: -13px 0; }
  .footer-legal nav a { display: inline-block; padding: 13px 0; margin: -13px 0; }
  .archive-more-stories a { display: inline-block; padding: 13px 0; margin: -13px 0; }
  .footer-col a { display: inline-block; min-width: 44px; padding: 13px 0; }
  .footer-col.is-accordion a { display: block; }
  .footer-col ul { gap: 0; }

  /* Boxed controls: simply bigger */
  .article-tags-list a, .topic-tags a, .photo-filters a { display: inline-flex; align-items: center; min-height: 44px; }
  .social-list a { width: 44px; height: 44px; }
  .yourshot-lightbox-close { width: 44px; height: 44px; }
  .contact-form .form-field select { min-height: 44px; }
  .newsletter-form input, .newsletter-form button, .newsletter-band-form input, .newsletter-band-form button { min-height: 44px; }
  .btn, .yourshot-submit-btn, .elementor-widget-button:not(.link-arrow) .elementor-button { min-height: 44px; }
  .perspective-arrow { width: 44px; height: 44px; }
  .photo-feature-title a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .hero-dots { gap: 0; padding: 4px 0 8px; }
  .hero-dots button { min-width: 44px; min-height: 44px; padding: 0 2px; border-bottom: 0; text-decoration: underline transparent; text-decoration-thickness: 1px; text-underline-offset: 6px; }
  .hero-dots button[aria-selected="true"] { text-decoration-color: var(--color-ink); }
}
@media (max-width: 720px) {
  .header-inner { padding-top: 9px; padding-bottom: 9px; }
}
/* Accordion footer on a mouse-driven narrow desktop (1025-1099px): the link rows of an opened column get the same 44px rows as at 1024px and below, so they don't sit on top of each other. Only the list links: the inline "Privacy Policy" link in the signup note is left alone. (At 1024px and below and on touch screens the rules above apply. Twin of the Elementor rule in the footer section.) */
@media (min-width: 1025px) and (max-width: 1099px) {
  .footer-col ul { gap: 0; }
  .footer-col ul a { display: block; padding: 13px 0; }
}
/* The desktop nav row starts at 1025px, so a landscape iPad (1080-1366px) gets it too, and its links were 22px tall. On a device that cannot hover, each link gets a 44px-tall, 44px-wide tap box: the padding grows the box upward and sideways, the sides are cancelled by an equal negative margin so nothing moves, and the underline stays as wide as the text. Mouse users get exactly the same nav as before. */
@media (hover: none) {
  .primary-nav a { padding: 22px 4px 4px; margin: 0 -4px; }
  .primary-nav a::after { left: 4px; right: 4px; }
}

/* ---- Text contrast (Gate 3 audit) ---- */
/* Placeholders: the browser default (#757575) is 4.2:1 on the cream form background, just under the 4.5:1 minimum. Forms on a photo or a dark page set their own colours above and below this. */
input::placeholder, textarea::placeholder { color: var(--color-ink-soft); opacity: 1; }
/* The footer's signup note and privacy line kept the light-page ink on the dark Photo of the Week page (2.2:1). */
.page-dark .site-footer .newsletter-note,
.page-dark .site-footer .newsletter-legal { color: var(--color-on-dark-soft); }

/* =========================================================
   Text scrim
   The darkening behind text that sits on a photograph. It is part of each hero
   component, not of any one photograph or page, so a new image inherits it.

   The look: ONE smooth wash across the whole image. It starts at 60% at the edge where
   the text sits and the darkness falls continuously, pixel by pixel, from the very first
   pixel, reaching 0% at the opposite edge: left to right across the whole width on wide
   screens, bottom to top across the whole height on phones. A straight line, two stops.
   No held region, no patches, no diagonals.

   Consequence, measured (see the Text scrim report): the further a line of text sits from
   the dark edge, the less scrim is under it, so worst-case contrast (over a pure-white
   photograph) is only guaranteed near the dark edge. The ink is pure black, and text set
   on a photograph is white at 95% or brighter, so it holds on any photograph that is not
   close to white behind the text.

   Darkness = max(floor, strength).
   --jd-scrim-floor comes from PHP (JD_SCRIM_FLOOR in inc/scrim.php) and is 0.60.
   --jd-scrim-strength is only ever set by the Elementor "Text scrim" slider. Both are
   registered as plain numbers below: a value that is not a number is dropped and the
   floor applies, so a bad value can never blank the scrim. If the floor were ever
   missing its default is 1, a solid scrim: it fails dark, never light.

   Bands where the text spans the whole width (About photo bands, the newsletter band)
   get one even wash at the same darkness instead of a fade.
   ========================================================= */
@property --jd-scrim-floor { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --jd-scrim-strength { syntax: "<number>"; inherits: true; initial-value: 0; }

.topic-hero-media,
.hero-slide-text,
.photography,
.about-hero-scrim,
.photo-band-scrim,
.newsletter-band,
.jd-wash {
  --jd-alpha: max(var(--jd-scrim-floor), var(--jd-scrim-strength));
  /* --jd-dir: 90deg = 60% at the left edge falling to 0% at the right edge; 0deg = 60% at the bottom edge falling to 0% at the top edge. Straight line, two stops, no held region: the darkness starts falling from the very first pixel. */
  --jd-wash: linear-gradient(var(--jd-dir, 90deg), rgba(var(--jd-scrim-ink), var(--jd-alpha)) 0%, rgba(var(--jd-scrim-ink), 0) 100%);
}
/* For a new hero built in Elementor: give the container that holds the photograph the class jd-wash and put the text inside it. It gets the same wash: 60% at the left edge falling continuously to 0% at the right edge (set --jd-dir: 0deg on it for bottom to top). */
.jd-wash { position: relative; }
.jd-wash::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--jd-wash); pointer-events: none; }
.jd-wash > * { position: relative; z-index: 1; }

/* Captioned photo tiles (the About photo credits, "Photo: ...") carry no scrim: they keep the plain tile the prototype had, with its own faint base shade from .media::after above and nothing added on top. */

/* No scrim, no shade and none of the placeholder swatches' faint texture: the three Home hero tiles on desktop and tablet, the Home phone slides that carry no text, and, at every width, the Featured story image and the Explore Algeria cards. Whatever text sits on those photographs relies on the photograph itself. */
.hero-media-main::before, .hero-media-main::after,
.hero-media-side .media::before, .hero-media-side .media::after,
.featured-story-media::before, .featured-story-media::after,
.perspective-card::before, .perspective-card::after,
.hero-slide::before,
.hero-slide:not(.hero-slide-text)::after { display: none !important; }

/* The photographs that sit under a wash carry the wash and nothing else: the prototype's generic faint shade along the bottom of a placeholder tile (and its texture) would darken them beyond the floor (the Home Photography banner, the About hero and both About photo bands). */
.photography-media::before, .photography-media::after,
.about-hero-media::before, .about-hero-media::after,
.photo-band-media::before, .photo-band-media::after { display: none !important; }

/* Phones. The About hero and the Home Photography banner fade bottom to top like the other phone heroes (60% at the bottom edge, 0% at the top edge, no held region); on tablet and desktop the About hero keeps its horizontal fade. The Photography banner's copy is anchored to the bottom (the eyebrow sits with the heading instead of being pinned to the top). */
@media (max-width: 720px) {
  .about-hero-scrim { --jd-dir: 0deg; }
  .photography { --jd-dir: 0deg; }
  .photography-copy { justify-content: flex-end !important; }
  .photography-copy .eyebrow { margin-bottom: 14px !important; }
}

/* =========================================================
   Editable in Elementor
   The header, the footer, the newsletter blocks, the section pages behind every
   Topic / Format / Pillar archive, and the photo captions are Elementor content. This
   block restyles that markup with the same look the PHP markup had. Elementor puts its
   own padding, gap, display and overflow on every container (and its heading typography
   on the inner .elementor-heading-title), so these rules are !important, like the Home
   and About rules above.
   ========================================================= */

/* A container that only groups other things: no padding, no gap, no width cap. */
.jd-flat { padding: 0 !important; gap: 0 !important; min-height: 0; max-width: none !important; width: 100% !important; }
.jd-flat > .e-con-inner { display: contents !important; }
.jd-flat > .elementor-widget { margin: 0 !important; }

/* Header: the widget prints its own <header> (sticky) and the mobile menu; every Elementor wrapper around it drops out of the box tree so the header sticks against the page, not against its wrapper. */
.jd-global-header,
.jd-global-header > .elementor,
.jd-global-header .e-con,
.jd-global-header .elementor-widget-jd_header,
.jd-global-header .elementor-widget-jd_header > .elementor-widget-container { display: contents !important; }
.jd-global-header .logo-image { display: block; height: 34px; width: auto; max-width: 220px; object-fit: contain; }

/* Photo captions are heading widgets now (they were raw HTML): the caption text itself is the absolutely positioned box, its widget wrapper must not be. */
.media .elementor-widget-heading.media-caption { position: static !important; left: auto !important; bottom: auto !important; max-width: none !important; margin: 0 !important; }
.media-caption .elementor-heading-title { max-width: 70%; }

/* ---- Footer ---- */
.site-footer.e-con { display: block !important; padding: 0 !important; gap: 0 !important; margin: 0 !important; width: 100% !important; max-width: none !important; background: var(--color-surface); border-top: 1px solid var(--color-line); }
.site-footer.e-con .elementor-widget { margin: 0 !important; }
.footer-top.e-con { display: grid !important; grid-template-columns: var(--footer-cols) !important; gap: clamp(24px, 3vw, 40px) !important; width: 100% !important; max-width: var(--container-footer) !important; margin: 0 auto !important; padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(36px, 5vw, 56px) !important; }
.footer-brand.e-con, .footer-col.e-con { display: block !important; padding: 0 !important; gap: 0 !important; width: auto !important; min-width: 0; max-width: none !important; }
.footer-brand.e-con { max-width: 300px !important; }
/* Brand column spacing. These need the extra `.site-footer.e-con` in the selector: the blanket `.site-footer.e-con .elementor-widget { margin: 0 !important }` above is three classes strong and used to wipe them, which left the logo, description, social icons and Google button touching each other. */
.site-footer.e-con .footer-brand .elementor-widget-jd_logo { margin-bottom: 18px !important; }
.footer-brand .logo { margin-bottom: 0; }
.footer-desc .elementor-heading-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: 0.86rem !important; line-height: 1.6; color: var(--color-ink-soft) !important; }
.site-footer.e-con .footer-brand .footer-desc { margin-bottom: 24px !important; }
.site-footer.e-con .footer-brand .elementor-widget-jd_social { margin-bottom: 24px !important; }
.footer-gsource-widget .elementor-button { display: inline-flex !important; align-items: center; padding: 10px 14px !important; border: 1px solid var(--color-line) !important; border-radius: 0 !important; background: transparent !important; font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.68rem !important; letter-spacing: 0.04em; line-height: 1.3; text-transform: none; text-align: left; color: var(--color-ink) !important; max-width: 320px; transition: border-color var(--transition); }
.footer-gsource-widget .elementor-button:hover { border-color: var(--color-ink) !important; }
.footer-gsource-widget .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 9px; flex-direction: row; }
.footer-gsource-widget .elementor-button-icon { color: var(--color-ink-soft); font-size: 14px; }
.footer-gsource-widget .elementor-button-icon svg { width: 14px; height: 14px; fill: currentColor; }
.footer-col-title .elementor-heading-title { font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.72rem !important; letter-spacing: var(--tracking-label); text-transform: uppercase; line-height: 1.5; color: var(--color-ink-soft) !important; margin: 0; }
.footer-col .footer-col-title { margin-bottom: 18px !important; }
.footer-col .elementor-icon-list-items { display: flex !important; flex-direction: column !important; gap: 12px; margin: 0; padding: 0; }
.footer-col .elementor-icon-list-item { padding: 0 !important; margin: 0 !important; }
.footer-col .elementor-icon-list-item > a { display: block; padding: 0 !important; }
.footer-col .elementor-icon-list-icon { display: none !important; }
.footer-col .elementor-icon-list-text { font-family: var(--font-sans) !important; font-size: 0.88rem !important; color: var(--color-ink) !important; padding: 0 !important; transition: color var(--transition); }
.footer-col a:hover .elementor-icon-list-text { color: var(--color-ink-soft) !important; }
.footer-newsletter-lead .elementor-heading-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: 0.88rem !important; color: var(--color-ink) !important; }
.footer-col-newsletter .footer-newsletter-lead { margin-bottom: 14px !important; }
.footer-bottom.e-con { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; flex-wrap: wrap; gap: 20px !important; width: 100% !important; max-width: var(--container-footer) !important; margin: 0 auto !important; padding: 22px var(--gutter) 32px !important; border-top: 1px solid var(--color-line); }
.footer-legal.e-con { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: wrap; gap: 24px !important; padding: 0 !important; width: auto !important; max-width: none !important; }
.footer-legal-nav.e-con { display: block !important; padding: 0 !important; width: auto !important; max-width: none !important; }
.footer-copy p { font-family: var(--font-mono); font-size: 0.78rem; color: var(--color-ink-soft); margin: 0; }
.footer-legal-links .elementor-icon-list-items { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.footer-legal-links .elementor-icon-list-item { padding: 0 !important; margin: 0 !important; }
.footer-legal-links .elementor-icon-list-icon { display: none !important; }
.footer-legal-links .elementor-icon-list-text { font-family: var(--font-mono) !important; font-size: 0.78rem !important; color: var(--color-ink-soft) !important; padding: 0 !important; }
.footer-legal-links a:hover .elementor-icon-list-text { color: var(--color-ink) !important; }
.footer-motto .elementor-heading-title { font-family: var(--font-serif) !important; font-style: italic; font-weight: 400 !important; font-size: 0.95rem !important; color: var(--color-ink) !important; }
/* Accordion footer, 1099px and below (see the plain-footer block near the top of this file). */
@media (max-width: 1099px) {
  .footer-top.e-con { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; padding-bottom: 8px !important; }
  .footer-brand.e-con { max-width: none !important; margin-bottom: 28px !important; }
  .footer-col.e-con:not(.footer-col-newsletter) { border-top: 1px solid var(--color-line); }
  .footer-col .footer-col-title { margin: 0 0 12px !important; }
  .footer-col.is-accordion .footer-col-title { margin: 0 !important; }
  .footer-col.is-accordion .footer-col-title .elementor-heading-title { margin: 0; }
  .footer-col.is-accordion .elementor-icon-list-items { max-height: 0; overflow: hidden; visibility: hidden; gap: 0 !important; transition: max-height var(--transition), visibility 0s linear 320ms; }
  .footer-col.is-accordion.open .elementor-icon-list-items { max-height: 320px; padding-bottom: 12px; visibility: visible; transition-delay: 0s; }
  .footer-col-newsletter.e-con { border-top: 1px solid var(--color-line); padding-top: 18px !important; padding-bottom: 18px !important; }
}
@media (max-width: 720px) {
  .footer-bottom.e-con { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
  .footer-legal.e-con { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
}
@media (max-width: 1024px), (pointer: coarse) {
  .footer-col .elementor-icon-list-item > a { display: inline-block; min-width: 44px; padding: 13px 0 !important; }
  .footer-col.is-accordion .elementor-icon-list-item > a { display: block; }
  .footer-col .elementor-icon-list-items { gap: 0; }
  .footer-legal-links .elementor-icon-list-item > a { display: inline-block; padding: 13px 0 !important; margin: -13px 0; }
}
/* Accordion footer on a mouse-driven narrow desktop (1025-1099px): same 44px link rows as at 1024px and below (list links only). */
@media (min-width: 1025px) and (max-width: 1099px) {
  .footer-col .elementor-icon-list-items { gap: 0; }
  .footer-col .elementor-icon-list-item > a { display: block; padding: 13px 0 !important; }
}
/* A footer item with no link is a bare text span, not an <a> (the Elementor icon list drops the <a> when its link is empty; the built-in
   footer uses .footer-col-plain), e.g. "WORK WITH US" until its page exists. It looks like the links around it and, wherever they have
   44px rows (the accordion at 1099px and below, and touch screens), gets the same padding so the rows in the list stay even. */
.footer-col .footer-col-plain { font-size: 0.88rem; }
@media (max-width: 1099px), (pointer: coarse) {
  .footer-col .elementor-icon-list-item > .elementor-icon-list-text, .footer-col .footer-col-plain { display: block; padding: 13px 0 !important; }
}
/* At 1024px and below Elementor's link rule makes each link a block with a 24px line, so its row is 50px; the bare text gets the same 24px line. */
@media (max-width: 1024px) {
  .footer-col .elementor-icon-list-item > .elementor-icon-list-text { line-height: 24px; }
}
/* Photo of the Week is a dark page: the footer follows */
.page-dark .site-footer.e-con { background: var(--color-black); border-top-color: rgba(255, 255, 255, 0.18); color: var(--color-on-dark); }
.page-dark .footer-desc .elementor-heading-title,
.page-dark .footer-col-title .elementor-heading-title,
.page-dark .footer-legal-links .elementor-icon-list-text,
.page-dark .footer-copy p { color: var(--color-on-dark-soft) !important; }
.page-dark .footer-col .elementor-icon-list-text,
.page-dark .footer-newsletter-lead .elementor-heading-title,
.page-dark .footer-motto .elementor-heading-title { color: var(--color-on-dark) !important; }
.page-dark .footer-col a:hover .elementor-icon-list-text { color: var(--color-on-dark-soft) !important; }
.page-dark .footer-legal-links a:hover .elementor-icon-list-text { color: var(--color-on-dark) !important; }
.page-dark .footer-bottom.e-con,
.page-dark .footer-col.e-con:not(.footer-col-newsletter),
.page-dark .footer-col-newsletter.e-con { border-color: rgba(255, 255, 255, 0.18); }
.page-dark .footer-gsource-widget .elementor-button { border-color: rgba(255, 255, 255, 0.18) !important; color: var(--color-on-dark) !important; }
.page-dark .footer-gsource-widget .elementor-button:hover { border-color: var(--color-on-dark) !important; }
.page-dark .footer-gsource-widget .elementor-button-icon { color: var(--color-on-dark-soft); }

/* ---- Newsletter blocks (saved templates) ---- */
.newsletter-band-wrap.e-con { display: block !important; width: 100% !important; max-width: var(--container-max) !important; margin: clamp(50px, 6vw, 70px) auto 0 !important; padding: 0 var(--gutter) !important; gap: 0 !important; }
.newsletter-band.e-con { position: relative; display: flex !important; flex-direction: row !important; align-items: center !important; width: 100% !important; max-width: none !important; height: auto !important; min-height: clamp(150px, 16vw, 170px); padding: 0 !important; gap: 0 !important; overflow: hidden !important; background-color: var(--color-dark-bg); background-size: cover; background-position: center; }
.newsletter-band-copy.e-con { position: relative; z-index: 1; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap; gap: 24px !important; width: 100% !important; max-width: none !important; padding: 0 clamp(24px, 3vw, 44px) !important; color: #fff; }
.newsletter-band-text.e-con { display: block !important; width: auto !important; max-width: none !important; padding: 0 !important; gap: 0 !important; }
.newsletter-band-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.3rem, 2.2vw, 1.6rem) !important; line-height: 1.2; color: #fff !important; }
.newsletter-band-text .newsletter-band-title { margin-bottom: 6px !important; }
.newsletter-band-desc .elementor-heading-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: 0.85rem !important; line-height: 1.5; color: rgba(255, 255, 255, 0.96) !important; max-width: 44ch; }
.newsletter-band .elementor-widget-jd_newsletter,
.newsletter-band .elementor-widget-jd_newsletter > .elementor-widget-container { display: contents !important; }
@media (max-width: 1099px) {
  .newsletter-band-copy.e-con { flex-direction: column !important; align-items: flex-start !important; text-align: left; padding-top: 28px !important; padding-bottom: 28px !important; }
}
@media (max-width: 720px) {
  .newsletter-band-wrap.e-con { margin-top: 40px !important; }
  .newsletter-band-copy.e-con { padding: 28px 20px !important; }
}

.newsletter-sidebar.e-con { display: block !important; width: 100% !important; max-width: none !important; gap: 0 !important; padding: 26px 20px !important; background: var(--color-surface); }
.newsletter-sidebar .sidebar-label .elementor-heading-title { font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.7rem !important; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink-soft) !important; }
.newsletter-sidebar .elementor-widget { margin: 0 !important; }
.newsletter-card-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: 1.4rem !important; line-height: 1.15; color: var(--color-ink) !important; }
.newsletter-sidebar .newsletter-card-title { margin-bottom: 10px !important; }
.newsletter-card-desc .elementor-heading-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: 0.84rem !important; line-height: 1.5; color: var(--color-ink-soft) !important; }
.newsletter-sidebar .newsletter-card-desc { margin-bottom: 18px !important; }

.infocus-newsletter-inline.e-con { display: block !important; width: 100% !important; max-width: none !important; gap: 0 !important; margin: clamp(40px, 5vw, 56px) 0 !important; padding: clamp(28px, 3vw, 36px) !important; background: var(--color-surface); }
.infocus-newsletter-inline .elementor-widget { margin: 0 !important; }
.infocus-newsletter-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: 1.4rem !important; line-height: 1.2; color: var(--color-ink) !important; }
.infocus-newsletter-inline .infocus-newsletter-title { margin: 8px 0 10px !important; }
.infocus-newsletter-inline-copy .elementor-heading-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: 0.9rem !important; color: var(--color-ink-soft) !important; }
.infocus-newsletter-inline .infocus-newsletter-inline-copy { margin: 0 0 20px !important; }
/* This card's placeholder ("Enter your email address") is 179px wide at the 16px phone size, so on small phones it needs the same
   room as the article sidebar card: 20px card side padding, no input-left / button-right padding (the text, underline and arrow then
   line up with the card's text edge) and, on the very smallest screens (345px and under), a slightly smaller placeholder. */
@media (max-width: 369px) {
  .infocus-newsletter-inline { padding-left: 20px; padding-right: 20px; }
  .infocus-newsletter-inline.e-con { padding-left: 20px !important; padding-right: 20px !important; }
  .infocus-newsletter-inline .newsletter-form input { padding-left: 0; }
  .infocus-newsletter-inline .newsletter-form button { padding-right: 0; }
}
@media (max-width: 345px) {
  .infocus-newsletter-inline .newsletter-form input::placeholder { font-size: 0.85rem; }
}

.yourshot-newsletter.e-con { display: block !important; width: 100% !important; max-width: var(--container-max) !important; gap: 0 !important; margin: 0 auto !important; padding: clamp(48px, 6vw, 80px) var(--gutter) !important; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.yourshot-newsletter-inner.e-con { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 420px) !important; gap: clamp(28px, 4vw, 56px) !important; align-items: center; width: 100% !important; max-width: none !important; padding: 0 !important; }
.yourshot-newsletter-text.e-con, .yourshot-newsletter-form-wrap.e-con { display: block !important; width: auto !important; max-width: none !important; padding: 0 !important; gap: 0 !important; min-width: 0; }
.yourshot-newsletter .elementor-widget { margin: 0 !important; }
.yourshot-newsletter .yourshot-eyebrow .elementor-heading-title { color: var(--color-on-dark-soft) !important; }
.yourshot-newsletter-heading .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.5rem, 2.2vw, 1.9rem) !important; line-height: 1.2; color: var(--color-on-dark) !important; }
.yourshot-newsletter .yourshot-newsletter-heading { margin: 0 0 10px !important; }
.yourshot-newsletter-sub .elementor-heading-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: 0.92rem !important; color: var(--color-on-dark-soft) !important; max-width: 46ch; }
@media (max-width: 1024px) {
  .yourshot-newsletter-inner.e-con { grid-template-columns: minmax(0, 1fr) !important; }
  .yourshot-newsletter-form-wrap.e-con { max-width: 420px !important; }
}

/* Home: the "See Algeria differently." card */
.newsletter.e-con { display: flex !important; flex-direction: column !important; justify-content: center !important; height: 100%; padding: 32px !important; gap: 0 !important; background: var(--color-surface); }
.newsletter.e-con .elementor-widget { margin: 0 !important; }
.newsletter.e-con .section-sub { margin-top: 10px !important; }
@media (max-width: 720px) { .newsletter.e-con { padding: 26px 22px !important; } }

/* ---- Section pages (Topic / Format / Pillar archives, Stories) ---- */
.topic-hero.e-con { display: block !important; padding: 0 !important; gap: 0 !important; width: 100% !important; max-width: none !important; }
.topic-hero-inner.e-con { display: block !important; width: 100% !important; max-width: var(--container-max) !important; margin: 0 auto !important; gap: 0 !important; padding: 0 var(--gutter) !important; }
.topic-hero-media.e-con { position: relative; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; width: 100% !important; max-width: none !important; height: clamp(220px, 22vw, 240px) !important; padding: 0 !important; gap: 0 !important; overflow: hidden !important; background-color: var(--color-dark-bg); background-size: cover; background-position: center; }
.topic-hero-copy.e-con { position: relative; z-index: 1; display: block !important; width: auto !important; max-width: 560px !important; padding: 0 clamp(20px, 3vw, 44px) !important; gap: 0 !important; color: #fff; }
.topic-hero-copy .elementor-widget { margin: 0 !important; }
.topic-hero-copy .eyebrow .elementor-heading-title { color: rgba(255, 255, 255, 0.96) !important; }
.topic-hero-copy .eyebrow { margin-bottom: 12px !important; }
.topic-hero-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(2.4rem, 5vw, 3.6rem) !important; line-height: 0.95; letter-spacing: -0.01em; color: #fff !important; }
.topic-hero-copy .topic-hero-title { margin-bottom: 14px !important; }
.topic-hero-desc .elementor-heading-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: clamp(0.92rem, 1.1vw, 1.05rem) !important; line-height: 1.42; color: rgba(255, 255, 255, 0.96) !important; max-width: 470px; }
@media (max-width: 720px) {
  .topic-hero-media.e-con { height: auto !important; aspect-ratio: 4 / 3; align-items: flex-end !important; padding-bottom: 20px !important; }
  .topic-hero-copy.e-con { width: 100% !important; max-width: none !important; margin-bottom: -20px; padding: 0 20px 20px !important; }
}
.topic-nav.e-con { display: block !important; padding: 0 !important; gap: 0 !important; width: 100% !important; max-width: none !important; border-bottom: 1px solid var(--color-line); }
.topic-nav .elementor-widget { margin: 0 !important; }
.topic-nav .elementor-icon-list-items { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: center; overflow-x: auto; white-space: nowrap; scrollbar-width: none; max-width: var(--container-max); margin: 0 auto !important; padding: 18px var(--gutter) !important; row-gap: 14px; column-gap: clamp(20px, 3vw, 36px); }
.topic-nav .elementor-icon-list-items::-webkit-scrollbar { display: none; }
.topic-nav .elementor-icon-list-item { display: block !important; flex: none; padding: 0 !important; margin: 0 !important; }
.topic-nav .elementor-icon-list-item > a { display: block !important; padding: 0 0 4px !important; }
.topic-nav .elementor-icon-list-icon { display: none !important; }
.topic-nav .elementor-icon-list-text { font-family: var(--font-sans) !important; font-size: 0.86rem !important; color: var(--color-ink-soft) !important; padding: 0 !important; transition: color var(--transition); }
.topic-nav a { border-bottom: 2px solid transparent; }
.topic-nav a:hover .elementor-icon-list-text { color: var(--color-ink) !important; }
.topic-nav a[aria-current="page"] { border-bottom-color: var(--color-ink); }
.topic-nav a[aria-current="page"] .elementor-icon-list-text { color: var(--color-ink) !important; font-weight: 500 !important; }
@media (max-width: 720px) { .topic-nav .elementor-icon-list-items { height: 60px; padding-top: 0 !important; padding-bottom: 0 !important; } }
@media (max-width: 1024px), (pointer: coarse) { .topic-nav .elementor-icon-list-item > a { min-height: 44px; display: flex !important; align-items: center; padding-bottom: 0 !important; } }

/* Contact and legal pages */
.legal-header.e-con { display: block !important; width: 100% !important; max-width: none !important; padding: 0 !important; gap: 0 !important; border-bottom: 1px solid var(--color-line); }
.legal-header-inner.e-con { display: block !important; width: 100% !important; max-width: 760px !important; margin: 0 auto !important; gap: 0 !important; padding: clamp(20px, 3vw, 32px) var(--gutter) clamp(28px, 4vw, 44px) !important; }
.legal-header-inner .elementor-widget { margin: 0 !important; }
.legal-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(2.2rem, 4.4vw, 3.4rem) !important; line-height: 1.05; letter-spacing: -0.01em; color: var(--color-ink) !important; }
.legal-copy.legal-body { max-width: 760px !important; margin: 0 auto !important; padding: clamp(32px, 4.4vw, 56px) var(--gutter) clamp(72px, 9vw, 120px) !important; }
.contact-form-section.e-con { display: block !important; width: 100% !important; max-width: 760px !important; margin: 0 auto !important; gap: 0 !important; padding: clamp(36px, 5vw, 56px) var(--gutter) clamp(64px, 8vw, 104px) !important; }
.contact-form-section .elementor-widget { margin: 0 !important; }
.contact-form-section > .contact-form.e-con { display: block !important; max-width: none !important; width: 100% !important; gap: 0 !important; padding: clamp(28px, 3.4vw, 40px) 0 0 !important; border-top: 1px solid var(--color-line); }

/* Photo of the Week: "Submit your work" (saved template) */
.yourshot-submit.e-con { display: block !important; width: 100% !important; max-width: var(--container-max) !important; gap: 0 !important; margin: 0 auto !important; padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(64px, 8vw, 100px) !important; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.yourshot-submit-inner.e-con { display: block !important; width: 100% !important; max-width: 620px !important; padding: 0 !important; gap: 0 !important; }
.yourshot-submit .elementor-widget { margin: 0 !important; }
.yourshot-submit .yourshot-eyebrow .elementor-heading-title { color: var(--color-on-dark-soft) !important; }
.yourshot-submit-heading .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important; line-height: 1.2; color: var(--color-on-dark) !important; }
.yourshot-submit .yourshot-submit-heading { margin: 0 0 14px !important; }
.yourshot-submit-copy .elementor-heading-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: 0.95rem !important; line-height: 1.6; color: var(--color-on-dark-soft) !important; max-width: 56ch; }
.yourshot-submit .yourshot-submit-copy { margin-bottom: 22px !important; }
.yourshot-submit-list .elementor-icon-list-items { display: flex !important; flex-direction: column !important; gap: 8px; margin: 0 0 30px !important; padding: 0 !important; }
.yourshot-submit-list .elementor-icon-list-item { position: relative; padding: 0 0 0 18px !important; margin: 0 !important; }
.yourshot-submit-list .elementor-icon-list-item::before { content: "\2014"; position: absolute; left: 0; color: var(--color-on-dark-soft); }
.yourshot-submit-list .elementor-icon-list-icon { display: none !important; }
.yourshot-submit-list .elementor-icon-list-text { font-family: var(--font-sans) !important; font-size: 0.9rem !important; color: var(--color-on-dark) !important; padding: 0 !important; }
.yourshot-submit-btn-widget .elementor-button { display: inline-flex !important; align-items: center; padding: 14px 26px !important; font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: 0.85rem !important; letter-spacing: 0.02em; color: var(--color-on-dark) !important; border: 1px solid var(--color-on-dark) !important; border-radius: 0 !important; background: transparent !important; transition: background var(--transition), color var(--transition); }
.yourshot-submit-btn-widget .elementor-button:hover { background: var(--color-on-dark) !important; color: var(--color-black) !important; }


/* Links in article text are underlined so readers can see what is clickable (Stories, Guides, In Focus, FAQ, Sources). Buttons are left alone. */
.article-body a:not(.wp-block-button__link):not(.button) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: currentColor; }
.article-body a:not(.wp-block-button__link):not(.button):hover, .article-body a:not(.wp-block-button__link):not(.button):focus-visible { text-decoration-thickness: 2px; }

/* Load more (archive Read More feed): a quiet editorial button, same label voice as the section labels. */
.load-more-wrap { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.load-more-btn { display: inline-block; font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-ink); border: 1px solid var(--color-ink); padding: 14px 32px; background: transparent; text-decoration: none; transition: background-color 0.2s, color 0.2s; cursor: pointer; }
.load-more-btn:hover, .load-more-btn:focus-visible { background: var(--color-ink); color: #fff; }
.load-more-btn[aria-busy='true'] { opacity: 0.6; pointer-events: none; }


/* Sources (end of article): collapsible citation block. Markup is built by inc/sources.php; the article text in the database is unchanged. Same label voice as .eyebrow, hairline divider, no fills, sharp corners. */
.article-body .jd-sources { margin: clamp(56px, 7vw, 84px) 0 0; border-top: 1px solid var(--color-ink); }
.article-body .jd-sources__summary { display: flex; align-items: center; gap: 14px; padding: 32px 0; cursor: pointer; list-style: none; }
.article-body .jd-sources__summary::-webkit-details-marker { display: none; }
.article-body .jd-sources__summary:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 4px; }
.article-body .jd-sources__title { margin: 0; padding: 0; border: 0; font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; line-height: 1.1; letter-spacing: 0; text-transform: none; color: var(--color-ink); }
.article-body .jd-sources__count { font-family: var(--font-serif); font-weight: 400; font-size: 1.4rem; line-height: 1.1; letter-spacing: 0; color: var(--color-ink-soft); }
.article-body .jd-sources__icon { position: relative; flex: none; width: 18px; height: 18px; margin-left: auto; }
.article-body .jd-sources__icon::before, .article-body .jd-sources__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--color-ink); transition: transform 200ms ease; }
.article-body .jd-sources__icon::after { transform: rotate(90deg); }
.article-body .jd-sources[open] .jd-sources__icon::after { transform: rotate(0deg); }
.article-body .jd-sources__body { container-type: inline-size; padding: 0 0 4px; }
.article-body .jd-sources__list { list-style: none; margin: 0; padding: 0; column-gap: 44px; }
@container (min-width: 560px) { .article-body .jd-sources__list { columns: 2; } }
.article-body .jd-sources__list li { break-inside: avoid; margin: 0 0 14px; padding: 0; font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.55; color: var(--color-ink-soft); }
.article-body .jd-sources__list a:not(.wp-block-button__link):not(.button) { color: var(--color-ink); text-decoration-color: var(--color-line-strong); text-underline-offset: 0.2em; }
.article-body .jd-sources__list a:not(.wp-block-button__link):not(.button):hover, .article-body .jd-sources__list a:not(.wp-block-button__link):not(.button):focus-visible { text-decoration-color: var(--color-ink); }

/* FAQ (end of article): collapsed questions. Markup is built by inc/faq.php; the article text in the database is unchanged. Title, count, rules and plus/minus icon match the Sources block above. */
.article-body .jd-faqs { margin: clamp(56px, 7vw, 84px) 0 0; border-top: 1px solid var(--color-ink); }
.article-body .jd-faqs__head { display: flex; align-items: center; gap: 16px; padding: 32px 0 28px; }
.article-body .jd-faqs__title { margin: 0; padding: 0; border: 0; font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; line-height: 1.1; letter-spacing: 0; text-transform: none; color: var(--color-ink); }
.article-body .jd-faqs__count { font-family: var(--font-serif); font-weight: 400; font-size: 1.4rem; line-height: 1.1; letter-spacing: 0; color: var(--color-ink-soft); }
.article-body .jd-faqs__item { border-top: 1px solid var(--color-line); }
.article-body .jd-faqs__item:last-child { border-bottom: 1px solid var(--color-line); }
.article-body .jd-faqs__summary { display: flex; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.article-body .jd-faqs__summary::-webkit-details-marker { display: none; }
.article-body .jd-faqs__summary:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 4px; }
.article-body .jd-faqs__question { flex: 1; margin: 0; padding: 0; font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem; line-height: 1.35; letter-spacing: 0; color: var(--color-ink); }
.article-body .jd-faqs__icon { position: relative; flex: none; width: 18px; height: 18px; }
.article-body .jd-faqs__icon::before, .article-body .jd-faqs__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--color-ink); transition: transform 200ms ease; }
.article-body .jd-faqs__icon::after { transform: rotate(90deg); }
.article-body .jd-faqs__item[open] .jd-faqs__icon::after { transform: rotate(0deg); }
.article-body .jd-faqs__answer { padding: 0 clamp(0px, 4vw, 44px) 26px 0; }
.article-body .jd-faqs__answer p { margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.7; color: var(--color-ink-soft); }
@media (max-width: 720px) { .article-body .jd-faqs__question { font-size: 1.1rem; } .article-body .jd-sources__summary { padding: 26px 0; } }

/* Photo credits (In Focus): numbered list, first credit always visible, the rest behind a toggle. Markup is built by inc/credits.php; the article text in the database is unchanged. Title, count, rule and plus/minus icon match the FAQ and Sources blocks. */
.article-body .jd-credits { margin: clamp(56px, 7vw, 84px) 0 0; border-top: 1px solid var(--color-ink); border-bottom: 1px solid var(--color-line); }
.article-body .jd-credits__head { display: flex; align-items: center; gap: 16px; padding: 32px 0 28px; }
.article-body .jd-credits__title { margin: 0; padding: 0; border: 0; font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; line-height: 1.1; letter-spacing: 0; text-transform: none; color: var(--color-ink); }
.article-body .jd-credits__count { font-family: var(--font-serif); font-weight: 400; font-size: 1.4rem; line-height: 1.1; letter-spacing: 0; color: var(--color-ink-soft); }
.article-body .jd-credits__list { list-style: none; margin: 0; padding: 0; }
.article-body .jd-credits__row { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 8px; margin: 0; padding: 16px 0; border-top: 1px solid var(--color-line); font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.65; color: var(--color-ink-soft); }
.article-body .jd-credits__num { padding-top: 0.2em; font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.4; letter-spacing: 0.1em; color: var(--color-ink-soft); }
.article-body .jd-credits__text a:not(.wp-block-button__link):not(.button) { color: var(--color-ink); text-decoration-color: var(--color-line-strong); text-underline-offset: 0.2em; }
.article-body .jd-credits__text a:not(.wp-block-button__link):not(.button):hover, .article-body .jd-credits__text a:not(.wp-block-button__link):not(.button):focus-visible { text-decoration-color: var(--color-ink); }
.article-body .jd-credits__toggle { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--color-line); cursor: pointer; list-style: none; font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.4; color: var(--color-ink); }
.article-body .jd-credits__toggle::-webkit-details-marker { display: none; }
.article-body .jd-credits__toggle:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 4px; }
.article-body .jd-credits__toggle-open { display: none; }
.article-body .jd-credits__more[open] .jd-credits__toggle-open { display: inline; }
.article-body .jd-credits__more[open] .jd-credits__toggle-closed { display: none; }
.article-body .jd-credits__icon { position: relative; flex: none; width: 14px; height: 14px; margin-left: auto; }
.article-body .jd-credits__icon::before, .article-body .jd-credits__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--color-ink); transition: transform 200ms ease; }
.article-body .jd-credits__icon::after { transform: rotate(90deg); }
.article-body .jd-credits__more[open] .jd-credits__icon::after { transform: rotate(0deg); }
@media (max-width: 720px) { .article-body .jd-credits__row { grid-template-columns: 38px minmax(0, 1fr); } }

/* Article opening heading: when the body starts with an H2, drop its section spacing and divider so it sits right under the byline line (no blank gap, no second rule). */
.article-body > h2:first-child, .article-body > .wp-block-heading:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Google Preferred Sources button (article byline row, between author and share). Links to Google's documented deeplink for joliedestination.com. */
.article-preferred { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--color-line); border-radius: 0; background: #fff; color: var(--color-ink); font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 500; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: border-color var(--transition), box-shadow var(--transition); }
.article-preferred:hover, .article-preferred:focus-visible { border-color: var(--color-ink-soft); box-shadow: 0 1px 3px rgba(0,0,0,0.08); color: var(--color-ink); }
.article-preferred:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.article-preferred-logo { flex: none; display: block; }

/* Byline row: share icons with the Preferred Sources button stacked under them, right-aligned. */
.article-meta { padding-bottom: 16px; }
.article-meta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.article-meta-actions { gap: 12px; }
/* Where the share icons get 44px tap boxes (tablet, phone, touch) they already carry their own spacing, so pull the button up a little. */
/* With 44px tap boxes the Share row is taller than the author name line, so lift the column ~11px to put the Share row on the same line as the author name. */
@media (max-width: 1024px), (pointer: coarse) { .article-meta-actions { gap: 0; margin-top: -11px; } .article-meta-actions .article-preferred { margin-top: -6px; } }
@media (max-width: 720px) { .article-meta-actions { align-items: flex-start; margin-top: 0; } .article-meta-actions .article-preferred { margin-top: 4px; } }
@media (max-width: 420px) { .article-preferred { white-space: normal; } }

/* Byline row: author aligns to the top, level with the Share row. */
.article-meta { align-items: flex-start; }

/* JD type-size update 2026-11-08: article reading text aligned with National Geographic measurements.
   Body line height 1.65 to 1.75, article captions to about 15.5px, byline details to 14px. */
.article-prose p, .article-body p { line-height: 1.75; }
.article-body figcaption { font-size: 0.97rem; }
.article-meta-details { font-size: 0.875rem; }
.article-hero-caption { font-size: 0.97rem; }

/* =========================================================
   Home: opening panels from real articles, Latest carousel, Most read
   ========================================================= */
.jd-hero-link { position: absolute; inset: 0; z-index: 3; display: block; }
.jd-hero-live { cursor: pointer; }
.jd-hero-live::after { display: block !important; content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,0.66) 100%) !important; pointer-events: none; }
.jd-hero-live::before { display: none !important; }
.jd-hero-live .media-caption, .jd-hero-live .media-caption .elementor-heading-title { z-index: 2; pointer-events: none; text-transform: none !important; letter-spacing: 0 !important; max-width: 86% !important; left: 24px !important; bottom: 22px !important; }
.jd-hc-topic { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.88; margin-bottom: 8px; }
.jd-hc-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.2; }
.hero-media-side .jd-hc-title { -webkit-line-clamp: 2; line-clamp: 2; font-size: clamp(0.98rem, 1.35vw, 1.2rem); }
.hero-media-side .jd-hero-live .media-caption, .hero-media-side .jd-hero-live .media-caption .elementor-heading-title { left: 18px !important; bottom: 16px !important; max-width: 90% !important; }
.hero-slide .jd-hc-title { -webkit-line-clamp: 3; line-clamp: 3; font-size: 1.15rem; }
.hero-slide .jd-hero-link { z-index: 4; }

.story-grid .jd-live-cards:has(.jd-carousel) { grid-column: 1 / -1 !important; min-width: 0; display: block !important; }
.jd-carousel { position: relative; }
.jd-carousel-track { display: flex; gap: clamp(16px, 2vw, 26px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.jd-carousel-track::-webkit-scrollbar { display: none; }
.jd-carousel .story-card { display: flex !important; flex-direction: column !important; flex: 0 0 calc((100% - 3 * clamp(16px, 2vw, 26px)) / 3.35); min-width: 0; scroll-snap-align: start; }
.jd-carousel .story-card .elementor-widget-image { margin-bottom: 16px !important; }
.jd-carousel .story-card .story-meta .elementor-heading-title { font-size: 0.68rem !important; margin-bottom: 8px !important; }
.jd-carousel .story-card .story-title .elementor-heading-title { font-size: 1.12rem !important; line-height: 1.3 !important; display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px !important; }
.jd-carousel .story-card .story-desc .elementor-heading-title { font-size: 0.9rem !important; line-height: 1.45 !important; display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px !important; }
.jd-carousel .story-card .story-date .elementor-heading-title { font-size: 0.68rem !important; }
.jd-carousel-arrow { position: absolute; top: calc(clamp(160px, 17vw, 240px) / 2); transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); background: #fff; color: var(--color-ink); font-size: 1.1rem; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center; transition: opacity .2s; }
.jd-carousel-prev { left: -14px; } .jd-carousel-next { right: -14px; }
.jd-carousel-arrow:disabled { opacity: 0; pointer-events: none; }
.jd-carousel.is-static .jd-carousel-arrow { display: none; }
@media (max-width: 1024px) { .jd-carousel .story-card { flex-basis: calc((100% - 2 * 18px) / 2.4); } }
@media (max-width: 640px) {
  .jd-carousel .story-card { flex-basis: 74%; }
  .jd-carousel-arrow { display: none; }
}
/* Latest stories carousel: same compact landscape card as "Best of Stories" */
.jd-carousel .story-card { flex-basis: calc((100% - 4 * clamp(14px, 1.6vw, 22px)) / 4.4) !important; }
.jd-carousel-track { gap: clamp(14px, 1.6vw, 22px); }
.jd-carousel .story-card img { aspect-ratio: 3 / 2 !important; object-fit: cover; width: 100%; height: auto !important; }
.jd-carousel .story-card .elementor-widget-image { margin-bottom: 12px !important; }
.jd-carousel .story-card .story-meta .elementor-heading-title { font-size: 0.62rem !important; margin-bottom: 6px !important; }
.jd-carousel .story-card .story-title .elementor-heading-title { font-size: 0.98rem !important; line-height: 1.28 !important; -webkit-line-clamp: 3; margin-bottom: 0 !important; }
.jd-carousel .story-card .story-desc, .jd-carousel .story-card .story-date { display: none !important; }
.jd-carousel-arrow { top: clamp(55px, 6vw, 85px); width: 40px; height: 40px; }
@media (max-width: 1024px) { .jd-carousel .story-card { flex-basis: calc((100% - 2 * 16px) / 2.6) !important; } }
@media (max-width: 640px) { .jd-carousel .story-card { flex-basis: 62% !important; } }
/* Carousel arrows: outside the cards, dark circle with a centered white arrow */
.jd-carousel-arrow { font-size: 0 !important; line-height: 0; padding: 0 !important; background-color: var(--color-ink, #1a1a1a) !important; border: 0 !important; box-shadow: 0 2px 8px rgba(0,0,0,0.18); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E"); }
.jd-carousel-prev { left: -56px !important; transform: translateY(-50%) scaleX(-1); }
.jd-carousel-next { right: -56px !important; }
@media (max-width: 1240px) { .jd-carousel-arrow { display: none !important; } }
/* Latest stories section: centered heading, tight spacing */
.right-now { padding-top: clamp(20px, 2.4vw, 32px) !important; padding-bottom: clamp(24px, 3vw, 40px) !important; }
.right-now .section-head { position: relative; justify-content: center !important; text-align: center; padding-bottom: 14px !important; margin-bottom: 20px !important; }
.right-now .section-head .section-title, .right-now .section-head .section-title .elementor-heading-title { text-align: center; margin-bottom: 0 !important; }
.right-now .section-head > .e-con-inner { justify-content: center !important; }
.right-now .section-head .elementor-widget-button { position: absolute; right: 0; bottom: 14px; }
@media (max-width: 640px) { .right-now .section-head .elementor-widget-button { position: static; margin-top: 8px; } .right-now .section-head > .e-con-inner { flex-direction: column; align-items: center; } }
/* Latest stories: no rule under the heading, cards closer to it */
.right-now .section-head { border-bottom: 0 !important; padding-bottom: 0 !important; margin-bottom: 14px !important; }
.right-now .section-head .elementor-widget-button { bottom: 4px; }
/* Most read: heading level with the link, no rule, compact landscape cards (not a carousel) */
.more-and-newsletter .section-head { border-bottom: 0 !important; padding-bottom: 0 !important; margin-bottom: 14px !important; }
.more-and-newsletter .section-head > .e-con-inner { align-items: baseline !important; }
.more-and-newsletter .section-head .section-title, .more-and-newsletter .section-head .section-title .elementor-heading-title { margin-bottom: 0 !important; }
@media (min-width: 641px) {
  .more-grid { gap: clamp(14px, 1.6vw, 22px) !important; }
  .more-grid .story-card img { aspect-ratio: 3 / 2 !important; object-fit: cover; width: 100%; height: auto !important; }
  .more-grid .story-card .elementor-widget-image { margin-bottom: 12px !important; }
  .more-grid .story-card .story-meta .elementor-heading-title { font-size: 0.62rem !important; margin-bottom: 6px !important; }
  .more-grid .story-card .story-title .elementor-heading-title { font-size: 0.98rem !important; line-height: 1.28 !important; display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0 !important; }
  .more-grid .story-card .story-desc, .more-grid .story-card .story-date { display: none !important; }
}
.more-and-newsletter .section-head > .e-con-inner { align-items: flex-end !important; }
.more-and-newsletter .section-head .elementor-widget-button { margin-bottom: 15px !important; }
/* Most read: heading centered, link on the right on the same line */
.more-and-newsletter .section-head { position: relative; justify-content: center !important; text-align: center; }
.more-and-newsletter .section-head > .e-con-inner { justify-content: center !important; align-items: center !important; }
.more-and-newsletter .section-head .section-title, .more-and-newsletter .section-head .section-title .elementor-heading-title { text-align: center; }
.more-and-newsletter .section-head .elementor-widget-button { position: absolute; right: 0; top: calc(50% - 22.5px); transform: none; margin: 0 !important; }
@media (max-width: 640px) { .more-and-newsletter .section-head .elementor-widget-button { position: static; transform: none; margin-top: 8px !important; } .more-and-newsletter .section-head > .e-con-inner { flex-direction: column; } }
/* Most read: the button widget has no box of its own, so the link's inner wrapper is what gets positioned */
.more-and-newsletter .section-head .elementor-widget-button .elementor-widget-container { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; }
@media (max-width: 640px) { .more-and-newsletter .section-head .elementor-widget-button .elementor-widget-container { position: static; transform: none; margin-top: 8px; } }
/* Most read: the link itself is the flex item (its wrappers have display: contents), so it is what gets positioned */
.more-and-newsletter .section-head a.elementor-button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; }
@media (max-width: 640px) { .more-and-newsletter .section-head a.elementor-button { position: static; transform: none; margin-top: 8px; } }
/* More from JolieDestination: heading truly centered, link pinned right on the same line */
.right-now .section-head a.elementor-button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; }
.right-now .section-head > .e-con-inner { justify-content: center !important; align-items: center !important; }
@media (max-width: 640px) { .right-now .section-head a.elementor-button { position: static; transform: none; margin-top: 8px; } }
/* Opening section: bigger photo panels, tighter padding, and the site's text scrim (50% at the bottom edge, falling straight to 0% at the top) */
.jd-hero-live::after { background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%) !important; }
@media (min-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr) !important; padding-top: clamp(28px, 4vw, 48px) !important; padding-bottom: clamp(36px, 4.6vw, 56px) !important; }
  .hero-media { height: clamp(360px, 40.5vw, 540px) !important; }
  .hero-title, .hero-title .elementor-heading-title { font-size: clamp(2.1rem, 3.4vw, 3rem) !important; }
}
@media (min-width: 721px) and (max-width: 1099px) {
  .hero-inner { padding-top: clamp(28px, 4vw, 44px) !important; padding-bottom: clamp(36px, 4.6vw, 52px) !important; }
}
/* Opening section: padding halved again, looser title leading */
@media (min-width: 721px) {
  .hero-inner { padding-top: clamp(14px, 2vw, 24px) !important; padding-bottom: clamp(18px, 2.3vw, 28px) !important; }
}
@media (min-width: 721px) {
  .hero-title, .hero-title .elementor-heading-title { line-height: 1.2 !important; letter-spacing: -0.005em; }
  .hero-title { margin-bottom: 26px !important; }
}
/* Hero exception: a 1400px content area, a text column with room for "Discover Algeria," on one line, tight title leading again */
@media (min-width: 1100px) {
  .hero-inner { max-width: 1400px !important; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important; }
  .hero-copy { max-width: 460px; }
  .hero-media { height: clamp(360px, 38vw, 580px) !important; }
  .hero-title, .hero-title .elementor-heading-title { font-size: clamp(2rem, 3.2vw, 3rem) !important; line-height: 1.1 !important; letter-spacing: -0.01em; }
  .hero-title { margin-bottom: 22px !important; }
}
@media (min-width: 721px) and (max-width: 1099px) {
  .hero-title, .hero-title .elementor-heading-title { line-height: 1.1 !important; }
}
/* Hero copy: label, title, sub-line and link read as one block */
@media (min-width: 721px) {
  .hero-copy, .hero-copy > .e-con-inner { gap: 0 !important; row-gap: 0 !important; }
  .hero-copy .eyebrow, .hero-copy .eyebrow .elementor-heading-title { margin-bottom: 0 !important; }
  .hero-copy .eyebrow { margin-bottom: 10px !important; }
  .hero-copy .hero-title { margin-bottom: 0 !important; }
  .hero-copy .hero-title .elementor-heading-title { margin-bottom: 16px !important; }
  .hero-copy .hero-sub .elementor-heading-title { margin-bottom: 20px !important; }
}
/* Hero panels: slow zoom of the photo on hover (the photo is copied onto ::before so only it scales, not the text) */
.hero-media .jd-hero-live { overflow: hidden; }
.hero-media .jd-hero-live::before { display: block !important; content: ""; position: absolute; inset: 0; z-index: 0; background: inherit; mix-blend-mode: normal; pointer-events: none; transform: scale(1); transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-media .jd-hero-live:hover::before, .hero-media .jd-hero-live:focus-within::before { transform: scale(1.02); }
}
/* More Stories (archive): each row is a thumbnail + topic + title, so it reads as articles */
.archive-more-stories ol { gap: 20px; }
.archive-more-stories li { display: block; }
.archive-more-stories li a.more-story-link { display: flex !important; gap: 14px; align-items: flex-start; padding: 0 !important; margin: 0 !important; }
.more-story-thumb { flex: none; width: 96px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-surface); display: block; }
.more-story-thumb img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform var(--transition); }
.archive-more-stories li a:hover .more-story-thumb img { transform: scale(1.02); }
.more-story-text { display: block; min-width: 0; }
.more-story-topic { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 4px; }
.more-story-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-family: var(--font-serif); font-size: 0.95rem; line-height: 1.28; color: var(--color-ink); }
.archive-more-stories ol { padding-left: 0 !important; margin-left: 0 !important; list-style: none; }
.archive-more-stories li { padding-left: 0; margin-left: 0; }

/* More Stories: tighter rows, slightly wider column, text never taller than its thumbnail */
@media (min-width: 1100px) { .archive-feature { grid-template-columns: minmax(0, 860px) 330px; } }
.archive-more-stories ol { gap: 15px; }
.more-story-thumb { width: 112px; height: 75px; aspect-ratio: auto; }
.more-story-text { max-height: 75px; overflow: hidden; }
.more-story-title { font-size: 0.92rem; line-height: 1.28; -webkit-line-clamp: 3; line-clamp: 3; }
.more-story-topic { margin-bottom: 3px; line-height: 1.3; }
/* Article sidebar "You may also like": same card as the archive's More Stories (112x75 photo, 15px between rows, 0.92rem title) */
.related-stories { gap: 15px; }
.related-story-media { width: 112px; height: 75px; aspect-ratio: auto; }
.related-story-copy { gap: 3px; max-height: 75px; }
.related-story-title { font-size: 0.92rem; line-height: 1.28; }
.related-story-link .related-story-media { transition: transform var(--transition); }
.related-story-link:hover .related-story-media { transform: scale(1.02); }
/* Article page: bottom row of related stories (carousel) */
.jd-more-row .section-head { position: relative; justify-content: center !important; text-align: center; border-bottom: 0 !important; padding-bottom: 0 !important; margin-bottom: 14px !important; }
.jd-more-row .section-head .section-title { margin: 0 !important; text-align: center; }
.jd-more-row .section-head > a.link-arrow { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .jd-more-row .section-head { flex-direction: column; } .jd-more-row .section-head > a.link-arrow { position: static; transform: none; margin-top: 8px; } }

.jd-carousel .story-card { flex-shrink: 0 !important; }

/* In Focus: same cards as everywhere else (sidebar guide card = 112x75 photo; Related Places / Articles = carousel) */
.infocus-guide-thumb { width: 112px; height: 75px; aspect-ratio: auto; transition: transform var(--transition); }
.infocus-guide-card:hover .infocus-guide-thumb { transform: scale(1.02); }
.infocus-guide-copy { gap: 3px; }
.infocus-guide-title { font-size: 0.92rem; }

/* Related rows (article + In Focus pages): much less empty space above and below */
.jd-more-row, .jd-more-row.infocus-related-places, .jd-more-row.infocus-related-articles { padding-top: clamp(14px, 1.8vw, 22px) !important; padding-bottom: clamp(22px, 2.6vw, 32px) !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.jd-more-row + .jd-more-row { padding-top: 0 !important; }
/* Photo of the Week: tighter top of the page, no divider under the header */
body .yourshot-breadcrumbs { padding: 14px var(--gutter) 6px; }
body .yourshot-page-header { padding: 14px var(--gutter) 10px; border-bottom: 0; }
body .yourshot-page-header .yourshot-eyebrow { margin-bottom: 6px; }
body .yourshot-share { margin-top: 10px; }
body .yourshot-photo-section { padding: 8px var(--gutter) 0; }
body .yourshot-photo-wrap { padding: 0; }

/* Photo of the Week: previous / next week arrows sit on the sides of the photograph (wide screens); the text links under the caption remain for narrower screens */
.yourshot-photo-stage { position: relative; }
.yourshot-side-arrow { display: none; }
@media (min-width: 1200px) {
  .yourshot-photo-stage .yourshot-side-arrow { display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: rgba(255,255,255,0.92); color: #111; transition: background .2s ease; z-index: 2; }
  .yourshot-photo-stage a.yourshot-side-arrow:hover { background: #fff; }
  .yourshot-side-prev { left: -64px; transform: scaleX(-1); }
  .yourshot-side-next { right: -64px; }
  .yourshot-photo-stage .yourshot-side-arrow.is-disabled { background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.4); cursor: default; }
  .yourshot-weeknav { display: none; }
}

/* Photo of the Week: related rows on the dark page */
.page-dark .yourshot-related.jd-more-row .section-title { color: var(--color-on-dark) !important; margin-bottom: 0; }
.page-dark .yourshot-related .link-arrow { color: var(--color-on-dark); border-color: rgba(255,255,255,0.5); }
.page-dark .jd-carousel .story-card .story-title .elementor-heading-title { color: var(--color-on-dark) !important; }
.page-dark .jd-carousel .story-card .story-meta .elementor-heading-title { color: var(--color-on-dark-soft) !important; }
.page-dark .jd-carousel-arrow { background-color: rgba(255,255,255,0.92) !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") !important; box-shadow: none; }

/* Photo of the Week newsletter: full-width photo band behind the boxed content */
.yourshot-newsletter-band.e-con { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; gap: 0 !important; display: block !important; background-size: cover; }
.yourshot-newsletter-band .yourshot-newsletter.e-con { border-top: 0 !important; }

/* Photo of the Week: no divider lines around the newsletter band; band 50px taller */
.yourshot-submit.e-con, .yourshot-submit { border-top: 0 !important; }
.yourshot-newsletter-band .yourshot-newsletter.e-con { padding-top: calc(clamp(48px, 6vw, 80px) + 25px) !important; padding-bottom: calc(clamp(48px, 6vw, 80px) + 25px) !important; }

/* Photo of the Week: submit block (label, requirements list, notes) */
.yourshot-submit .yourshot-submit-label { margin-top: 26px !important; margin-bottom: 12px !important; }
.yourshot-submit-note .elementor-heading-title { font-size: 0.85rem !important; max-width: 60ch; }
.yourshot-submit .yourshot-submit-note { margin-top: 22px !important; margin-bottom: 0 !important; }
.yourshot-submit .yourshot-submit-note + .yourshot-submit-note { margin-top: 12px !important; }
.yourshot-submit-list .elementor-icon-list-text { line-height: 1.5; }

/* Photo of the Week: wider submit block so lines don't wrap early */
.yourshot-submit-inner.e-con, .yourshot-submit-inner { max-width: 880px !important; }
.yourshot-submit-copy .elementor-heading-title, .yourshot-submit-copy { max-width: 72ch !important; }
.yourshot-submit-note .elementor-heading-title { max-width: 80ch !important; }

/* Contact form: photographer fields */
.jd-photo-fields[hidden] { display: none !important; }
.jd-photo-fields { margin-top: 8px; padding-top: 22px; border-top: 1px solid rgba(0,0,0,0.12); }
.jd-photo-intro { font-size: 0.9rem; line-height: 1.5; margin: 0 0 18px; }
.jd-photo-fields label { display: block; }
.jd-photo-fields input[type=file] { display: block; width: 100%; padding: 10px 0 18px; font-size: 0.9rem; }
.jd-photo-fields .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; line-height: 1.5; margin-top: 4px; }
.jd-turnstile { margin: 6px 0 18px; }

.jd-photo-fields .wpcf7-acceptance, .jd-photo-fields .wpcf7-list-item { display: block; margin: 0; }
.jd-photo-fields .wpcf7-acceptance label { text-transform: none !important; letter-spacing: 0 !important; font-family: var(--font-sans) !important; font-size: 0.85rem !important; color: inherit; padding: 6px 0 0; }
.jd-photo-fields .wpcf7-acceptance input[type=checkbox] { flex: 0 0 auto; width: 16px; height: 16px; margin: 3px 0 0; }
.jd-photo-fields .wpcf7-acceptance .wpcf7-list-item-label { display: block; }

/* =========================================================
   Contact page redesign (hero, path cards, two-column form)
   ========================================================= */
.cx-hero.e-con { position: relative; display: flex !important; align-items: flex-end; min-height: clamp(260px, 28vw, 380px); width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background-color: #0b0e1a; }
.cx-hero-inner.e-con { position: relative; z-index: 1; display: block !important; width: 100% !important; max-width: var(--container-max) !important; margin: 0 auto !important; padding: clamp(32px, 5vw, 56px) var(--gutter) !important; }
.cx-hero .elementor-widget, .cx-paths .elementor-widget, .cx-aside .elementor-widget { margin: 0 !important; }
.cx-eyebrow .elementor-heading-title { font-family: var(--font-mono) !important; font-size: 0.72rem !important; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.82) !important; margin: 0 0 14px; }
.cx-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(2.4rem, 5vw, 3.8rem) !important; line-height: 1.05; color: #fff !important; margin: 0 0 14px; }
.cx-lede .elementor-heading-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: clamp(1rem, 1.3vw, 1.15rem) !important; line-height: 1.5; color: rgba(255,255,255,0.94) !important; max-width: 52ch; }

.cx-paths.e-con { display: block !important; width: 100% !important; max-width: var(--container-max) !important; margin: 0 auto !important; padding: clamp(40px, 5vw, 64px) var(--gutter) 0 !important; }
.cx-section-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.5rem, 2.4vw, 2rem) !important; line-height: 1.15; color: var(--color-ink) !important; margin: 0 0 24px; }
.cx-paths-grid.e-con { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px !important; width: 100% !important; max-width: none !important; padding: 0 !important; }
.cx-path.e-con { display: flex !important; flex-direction: column; gap: 10px !important; width: auto !important; max-width: none !important; min-height: 170px; padding: 20px 20px 22px !important; border: 1px solid #cfcabf; background: #fff; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.cx-path.e-con:hover { border-color: var(--color-ink); }
.cx-path.e-con.is-active { border-color: var(--color-ink); background: #f4f2ed; box-shadow: inset 0 0 0 1px var(--color-ink); }
.cx-path:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.cx-path-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: 1.2rem !important; line-height: 1.2; color: var(--color-ink) !important; margin: 0; }
.cx-path-text p { font-family: var(--font-sans); font-size: 0.86rem; line-height: 1.5; color: var(--color-ink-soft); margin: 0; }

.cx-main.e-con { display: grid !important; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) !important; gap: clamp(32px, 6vw, 80px) !important; align-items: start; width: 100% !important; max-width: var(--container-max) !important; margin: 0 auto !important; padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(64px, 8vw, 110px) !important; }
.cx-aside.e-con { display: block !important; position: sticky; top: 120px; width: auto !important; max-width: none !important; padding: 0 !important; }
.cx-aside-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: 1.35rem !important; line-height: 1.2; color: var(--color-ink) !important; margin: 0 0 12px; }
.cx-aside-text p { font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.6; color: var(--color-ink-soft); margin: 0 0 22px; }
.cx-aside .elementor-widget-text-editor { font-size: 0.88rem; line-height: 1.6; color: var(--color-ink-soft); margin-bottom: 10px !important; }
.cx-aside .elementor-widget-text-editor p { margin: 0; }
.cx-aside .elementor-widget-text-editor a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }

.cx-form.e-con { display: block !important; width: auto !important; max-width: none !important; padding: 0 !important; scroll-margin-top: 110px; }
.cx-form .wpcf7-form { display: flex; flex-direction: column; gap: 22px; }
.cx-form .form-field { display: flex; flex-direction: column; gap: 8px; }
.cx-form .form-field[hidden] { display: none !important; }
.cx-form .cx-field-who { display: none !important; }
.cx-form label { font-family: var(--font-sans); font-size: 0.88rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--color-ink); }
.cx-form input[type="text"], .cx-form input[type="email"], .cx-form select, .cx-form textarea { width: 100%; border: 1px solid #c9c4b9; border-radius: 0; background: #fff; padding: 14px; font-family: var(--font-sans); font-size: 1rem; line-height: 1.4; color: var(--color-ink); box-shadow: none; }
.cx-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a4640' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.cx-form textarea { min-height: 220px; resize: vertical; }
.cx-form input:focus, .cx-form select:focus, .cx-form textarea:focus { outline: none; border-color: var(--color-ink); box-shadow: 0 0 0 1px var(--color-ink); }
.cx-form .cx-submit { align-self: flex-start; cursor: pointer; padding: 16px 36px; border: 1px solid var(--color-ink); border-radius: 0; background: var(--color-ink); color: #fff; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.cx-form .cx-submit:hover { background: transparent; color: var(--color-ink); }
.cx-form .wpcf7-response-output { font-family: var(--font-sans); font-size: 0.9rem; margin: 6px 0 0; border-radius: 0; }
.cx-form .wpcf7-not-valid-tip { font-family: var(--font-sans); font-size: 0.78rem; color: #b3402f; }
.cx-form .jd-photo-fields { padding-top: 24px; border-top: 1px solid #d9d4c9; gap: 18px; }
.cx-form .cx-file, .cx-form .cx-photo-extra { display: flex; flex-direction: column; gap: 8px; }
.cx-form .jd-photo-fields input[type=file] { padding: 8px 0 0; }
.cx-form .jd-photo-intro { margin: 0; font-size: 0.92rem; color: var(--color-ink-soft); }
@media (max-width: 1180px) { .cx-paths-grid.e-con { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 860px) {
  .cx-main.e-con { grid-template-columns: minmax(0, 1fr) !important; }
  .cx-aside.e-con { position: static; order: 2; }
  .cx-form.e-con { order: 1; }
}
@media (max-width: 640px) { .cx-paths-grid.e-con { grid-template-columns: minmax(0, 1fr) !important; } .cx-path.e-con { min-height: 0; } .cx-form .cx-submit { width: 100%; text-align: center; } }

.cx-form input[type=file] { font-family: var(--font-sans); font-size: 0.9rem; color: var(--color-ink-soft); }
.cx-form input[type=file]::file-selector-button { margin-right: 14px; padding: 10px 18px; border: 1px solid var(--color-ink); border-radius: 0; background: #fff; color: var(--color-ink); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, color .2s ease; }
.cx-form input[type=file]::file-selector-button:hover { background: var(--color-ink); color: #fff; }
.cx-form .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.88rem; line-height: 1.5; }

/* Contact: eight path cards (four across), audience kicker on each */
.cx-paths-grid.e-con { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 14px !important; }
.cx-path.e-con { min-height: 190px; gap: 8px !important; }
.cx-path-kicker .elementor-heading-title { font-family: var(--font-mono) !important; font-size: 0.64rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-soft) !important; margin: 0 0 6px; font-weight: 400 !important; }
.cx-path.is-active .cx-path-kicker .elementor-heading-title { color: var(--color-ink) !important; }
@media (max-width: 1000px) { .cx-paths-grid.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .cx-path.e-con { min-height: 0; } }
@media (max-width: 640px) { .cx-paths-grid.e-con { grid-template-columns: minmax(0, 1fr) !important; } }

/* Contact: editorial index (replaces boxed cards), underline form, form heading */
body .cx-paths-grid.e-con { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: repeat(4, auto) !important; grid-auto-flow: column !important; column-gap: clamp(32px, 5vw, 64px) !important; row-gap: 0 !important; border-top: 1px solid var(--color-ink); counter-reset: cxn; }
body .cx-path.e-con { position: relative; counter-increment: cxn; border: 0 !important; border-bottom: 0.5px solid #bdb8ac !important; background: transparent !important; box-shadow: none !important; min-height: 0 !important; gap: 4px !important; padding: 18px 0 19px 42px !important; }
body .cx-path.e-con::before { content: counter(cxn, decimal-leading-zero); position: absolute; left: 0; top: 30px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--color-ink-soft); }
body .cx-path.e-con.is-active::before { color: var(--color-ink); }
body .cx-path.e-con:hover, body .cx-path.e-con.is-active { background: transparent !important; border-color: #bdb8ac !important; }
body .cx-path-kicker .elementor-heading-title { font-size: 0.68rem !important; margin: 0 0 2px !important; }
body .cx-path-title .elementor-heading-title { display: inline; font-size: 1.4rem !important; line-height: 1.3; background: linear-gradient(var(--color-ink), var(--color-ink)) 0 100% / 0 1px no-repeat; transition: background-size .25s ease; }
body .cx-path:hover .cx-path-title .elementor-heading-title, body .cx-path.is-active .cx-path-title .elementor-heading-title { background-size: 100% 1px; }
body .cx-path-text p { font-size: 0.9rem; margin-top: 4px; }
.cx-form-head { margin: 0 0 26px; }
.cx-form-head h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--color-ink); margin: 0 0 6px; }
.cx-form-head p { font-family: var(--font-sans); font-size: 0.92rem; color: var(--color-ink-soft); margin: 0; }
body .cx-form .wpcf7-form { gap: 28px; }
body .cx-form label { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-soft); }
body .cx-form input[type="text"], body .cx-form input[type="email"], body .cx-form select, body .cx-form textarea { border: 0 !important; border-bottom: 1px solid #8f8a7e !important; background-color: transparent !important; padding: 8px 0 10px !important; font-family: var(--font-serif); font-size: 1.2rem; box-shadow: none !important; }
body .cx-form select { background-position: right 2px center; }
body .cx-form textarea { min-height: 170px; }
body .cx-form input:focus, body .cx-form select:focus, body .cx-form textarea:focus { border-bottom-color: var(--color-ink) !important; box-shadow: 0 1px 0 var(--color-ink) !important; }
@media (max-width: 640px) {
  body .cx-paths-grid.e-con { display: flex !important; flex-wrap: wrap; gap: 8px !important; border-top: 0; }
  body .cx-path.e-con { padding: 8px 15px !important; border: 0.5px solid #8f8a7e !important; border-radius: 20px; cursor: pointer; }
  body .cx-path.e-con::before, body .cx-path-kicker, body .cx-path-text { display: none !important; }
  body .cx-path-title .elementor-heading-title { font-family: var(--font-sans) !important; font-size: 0.86rem !important; background: none !important; }
  body .cx-path.e-con.is-active { background: var(--color-ink) !important; border-color: var(--color-ink) !important; }
  body .cx-path.is-active .cx-path-title .elementor-heading-title { color: #fff !important; }
}

@media (max-width: 640px) { body .cx-path.e-con { --width: auto; width: auto !important; flex: 0 0 auto !important; max-width: 100% !important; } body .cx-paths-grid.e-con { flex-direction: row !important; align-items: flex-start; } }

/* Contact: taller Milky Way hero, form revealed on choice (desktop), photo conditions */
body .cx-hero.e-con { min-height: clamp(520px, 56vw, 760px); }
.cx-aside.e-con { position: static !important; }
.cx-aside-photo { display: none; }
.cx-aside-photo.is-on { display: block; margin: 0 0 24px !important; padding-top: 18px; border-top: 0.5px solid #bdb8ac; }
.cx-aside-photo .cx-cond-title { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-soft); margin: 0 0 10px; }
.cx-aside-photo ul { margin: 0 0 12px; padding-left: 1.1em; }
.cx-aside-photo li { margin: 0 0 6px; font-size: 0.88rem; line-height: 1.5; color: var(--color-ink-soft); }
.cx-email-hint { font-family: var(--font-sans); font-size: 0.9rem; color: var(--color-ink-soft); margin: 22px 0 0; }
.cx-email-hint a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
@keyframes cxIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 641px) {
  body .cx-main.e-con:not(.is-open) { display: none !important; }
  body .cx-main.e-con.is-open { animation: cxIn .4s ease both; }
  body .cx-paths.e-con { padding-bottom: clamp(48px, 6vw, 80px) !important; }
}

.cx-aside-photo ul { list-style: '- ' outside; }

/* Contact hero: 500px, centred text */
body .cx-hero.e-con { min-height: 500px; align-items: center; }
@media (max-width: 640px) { body .cx-hero.e-con { min-height: 420px; } }
body .cx-hero-inner.e-con { text-align: center; }
body .cx-hero .elementor-heading-title { text-align: center; }
body .cx-lede .elementor-heading-title { margin-left: auto; margin-right: auto; }
body .cx-lede .elementor-heading-title { max-width: 80ch; text-wrap: balance; }
body .cx-hero.e-con { flex-direction: column !important; justify-content: center !important; align-items: center !important; }
body .cx-hero-inner.e-con { padding-top: 0 !important; padding-bottom: 0 !important; }

/* Contact: writer path (fields, radio, conditions) */
.cx-form .jd-writer-fields { padding-top: 24px; border-top: 1px solid #d9d4c9; gap: 18px; }
.cx-form .jd-writer-fields .cx-photo-extra { display: flex; flex-direction: column; gap: 8px; }
.cx-form .wpcf7-radio { display: flex; flex-direction: column; gap: 10px; }
.cx-form .wpcf7-radio .wpcf7-list-item { margin: 0; }
.cx-form .wpcf7-radio label { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 0.98rem; letter-spacing: 0; text-transform: none; color: var(--color-ink); cursor: pointer; }
.cx-form .wpcf7-radio input { accent-color: var(--color-ink); width: 18px; height: 18px; margin: 0; }
body .cx-form .wpcf7-acceptance label { font-family: var(--font-sans); font-size: 0.9rem; letter-spacing: 0; text-transform: none; color: var(--color-ink-soft); }
body .cx-form .wpcf7-acceptance input { accent-color: var(--color-ink); margin-top: 3px; }

/* Phones: logo centred in the header, menu button left, search right */
@media (max-width: 720px) {
  body .header-inner { grid-template-columns: 1fr auto 1fr; }
  body .header-inner > .nav-toggle { justify-self: start; }
  body .header-inner > .logo, body .header-inner > .custom-logo-link { justify-self: center; }
  body .header-inner > .header-actions { justify-self: end; }
}

/* Home Photo of the Week banner: the whole banner is a link; phones get a tall 3:4 frame */
.photography-link { position: absolute; inset: 0; z-index: 3; cursor: pointer; }
.photography-link:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
@media (max-width: 720px) {
  body .photography { aspect-ratio: 3 / 4 !important; min-height: 0 !important; }
  body .photography-media { background-position: var(--jd-pos, 50% 50%) !important; }
}

/* ---- Newsletter bands: one height, full width, centered (archive band + Photo of the Week band) ---- */
.newsletter-band-wrap.e-con,.yourshot-newsletter-band.e-con{--jd-nl-h:clamp(260px,26vw,320px)}
body .newsletter-band-wrap.e-con{width:100vw !important;max-width:none !important;margin:clamp(50px,6vw,70px) 0 0 calc(50% - 50vw) !important;padding:0 !important}
body .newsletter-band.e-con{min-height:var(--jd-nl-h) !important;justify-content:center !important}
body .newsletter-band-copy.e-con{flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:22px !important;text-align:center !important;padding:40px var(--gutter) !important}
body .newsletter-band-text.e-con{text-align:center !important}
body .newsletter-band-title .elementor-heading-title{font-size:clamp(1.6rem,3vw,2.2rem) !important;text-align:center}
body .newsletter-band-desc .elementor-heading-title{margin-inline:auto !important;text-align:center;max-width:52ch !important;font-size:.98rem !important}
body .yourshot-newsletter-band.e-con{display:flex !important;align-items:center !important;justify-content:center !important;min-height:var(--jd-nl-h) !important}
body .yourshot-newsletter-band .yourshot-newsletter.e-con{padding-top:40px !important;padding-bottom:40px !important;text-align:center}
body .yourshot-newsletter-inner.e-con{justify-items:center;text-align:center}
body .yourshot-newsletter-text.e-con{display:flex !important;flex-direction:column;align-items:center}
body .yourshot-newsletter-heading .elementor-heading-title{font-size:clamp(1.6rem,3vw,2.2rem) !important;text-align:center}
body .yourshot-newsletter-sub .elementor-heading-title,body .yourshot-newsletter-sub{margin-inline:auto !important;text-align:center;max-width:52ch !important;font-size:.98rem !important}
body .yourshot-newsletter .yourshot-eyebrow .elementor-heading-title{text-align:center}
body .yourshot-newsletter-form-wrap.e-con{margin:6px auto 0 !important;display:flex !important;justify-content:center}
/* archive band: parents are already full width */
body .newsletter-band-wrap.e-con{width:100% !important;margin-left:0 !important;margin-right:0 !important}

body .yourshot-newsletter .yourshot-newsletter-inner.e-con{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:22px !important;grid-template-columns:none !important}
body .yourshot-newsletter .yourshot-newsletter-form-wrap.e-con{margin:0 !important;width:auto !important}

body .yourshot-newsletter-sub .elementor-heading-title,body .newsletter-band-desc .elementor-heading-title{line-height:1.55 !important;text-wrap:balance}

/* ---- Newsletter cards on photographs: centered, short copy, one button (sidebar, In Focus, homepage, footer) ---- */
body .jd-nl-card.e-con{position:relative;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;text-align:center !important;gap:0 !important;width:100% !important;max-width:none !important;margin-left:0 !important;margin-right:0 !important;padding:clamp(36px,5vw,52px) 22px !important;color:#fff;background-color:#14120f;overflow:hidden}
body .jd-nl-card .elementor-widget{margin:0 !important;width:100%;text-align:center}
body .jd-nl-mark{margin:0 0 12px !important}
body .jd-nl-mark .elementor-heading-title{font-family:var(--font-serif) !important;font-weight:500 !important;font-size:clamp(1.6rem,2.6vw,2rem) !important;letter-spacing:-.02em !important;text-transform:none !important;line-height:1.1 !important;color:#fff !important;text-align:center}
body .jd-nl-card .newsletter-card-title .elementor-heading-title,body .jd-nl-card .infocus-newsletter-title .elementor-heading-title,body .jd-nl-card .section-title .elementor-heading-title,body .jd-nl-card .section-title{font-family:var(--font-sans) !important;font-weight:500 !important;font-size:1.05rem !important;line-height:1.35 !important;letter-spacing:0 !important;color:#fff !important;text-align:center;margin:0 0 8px !important}
body .jd-nl-card .newsletter-card-desc .elementor-heading-title,body .jd-nl-card .infocus-newsletter-inline-copy .elementor-heading-title,body .jd-nl-card .section-sub .elementor-heading-title,body .jd-nl-card .section-sub{font-size:.88rem !important;line-height:1.55 !important;color:rgba(255,255,255,.92) !important;text-align:center;margin:0 auto 22px !important;max-width:42ch;text-wrap:balance}
body .jd-nl-card .elementor-widget-jd_newsletter,body .jd-nl-card .elementor-widget-jd_newsletter>.elementor-widget-container{display:flex !important;justify-content:center}
body .jd-nl-card .jd-nl-open{background:#fff;border-color:#fff;color:#14120f}
body .jd-nl-card .jd-nl-open:hover{background:transparent;color:#fff}
body .newsletter.jd-nl-card{height:auto}
body .footer-nl-strip.jd-nl-card{padding:clamp(48px,6vw,72px) var(--gutter) !important;border-bottom:1px solid var(--color-line)}
.jd-nlpop__eyebrow{text-align:center}
.site-footer{--footer-cols:minmax(0,1.8fr) repeat(4,minmax(0,.9fr))}

/* ---- Footer: titles read as labels, links read as links, more air between them ---- */
body .site-footer .footer-col:not(.is-accordion) .footer-col-title{margin:0 0 22px !important;padding:0 0 14px;border-bottom:1px solid var(--color-line-strong,#d3cfc6)}
body .site-footer .footer-col-title,body .site-footer .footer-col-title .elementor-heading-title{font-size:.68rem !important;letter-spacing:.16em !important;color:var(--color-ink-soft) !important;line-height:1.5}
body .site-footer .footer-col .elementor-icon-list-items{display:flex;flex-direction:column;gap:15px}
body .site-footer .footer-col .elementor-icon-list-item{margin:0 !important;padding:0 !important}
body .site-footer .footer-col .elementor-icon-list-text{font-family:var(--font-sans) !important;font-size:.95rem !important;font-weight:500;color:var(--color-ink) !important;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color .2s ease}
body .site-footer .footer-col a:hover .elementor-icon-list-text,body .site-footer .footer-col a:focus-visible .elementor-icon-list-text{text-decoration-color:currentColor}
body .site-footer .footer-brand .elementor-widget-jd_logo{margin-bottom:22px !important}
body .site-footer .footer-brand .footer-desc .elementor-heading-title{line-height:1.65}
body .site-footer .footer-brand .logo-tagline{line-height:1.6 !important;display:block;margin-top:6px}

/* Footer: brand column centered; titles stay on one line */
.site-footer{--footer-cols:minmax(0,1.7fr) repeat(3,minmax(0,.85fr)) minmax(0,1.2fr)}
body .site-footer .footer-col:not(.is-accordion) .footer-col-title,body .site-footer .footer-col:not(.is-accordion) .footer-col-title .elementor-heading-title{white-space:nowrap}
body .site-footer .footer-brand.e-con{display:flex !important;flex-direction:column;align-items:center;text-align:center}
body .site-footer .footer-brand .elementor-widget{width:100%;text-align:center}
body .site-footer .footer-brand .elementor-widget-jd_logo a,body .site-footer .footer-brand .elementor-widget-jd_logo .logo{display:inline-flex;flex-direction:column;align-items:center;text-align:center}
body .site-footer .footer-brand .elementor-widget-jd_social,body .site-footer .footer-brand .elementor-widget-jd_social *{justify-content:center}
body .site-footer .footer-brand .footer-gsource-widget .elementor-button-wrapper{display:flex;justify-content:center}
/* Footer: three link columns, brand column, Google button centered and lighter */
.site-footer{--footer-cols:minmax(0,1.5fr) repeat(3,minmax(0,1fr))}
body .site-footer .footer-brand .footer-gsource-widget .elementor-button{width:auto;display:inline-flex;background:transparent;border:1px solid var(--color-line-strong,#d3cfc6);padding:10px 16px;font-family:var(--font-sans) !important;font-size:.8rem !important;letter-spacing:0;text-transform:none}
body .site-footer .footer-brand .footer-gsource-widget,body .site-footer .footer-brand .footer-gsource-widget .elementor-widget-container,body .site-footer .footer-brand .footer-gsource-widget .elementor-button-wrapper{display:flex !important;justify-content:center}
body .site-footer .footer-brand .footer-gsource-widget .elementor-button{width:fit-content !important;max-width:100% !important;flex:0 0 auto !important}
body .site-footer .footer-bottom.e-con,body .site-footer .footer-bottom{box-sizing:border-box;width:calc(100% - 2 * var(--gutter)) !important;max-width:calc(var(--container-footer) - 2 * var(--gutter)) !important;margin-left:auto !important;margin-right:auto !important;padding-left:0 !important;padding-right:0 !important}
/* Newsletter bands: satellite photographs shown unshaded (no scrim). */
.newsletter-band::after{display:none !important}

/* Text over unshaded photographs: soft shadow instead of a scrim. */
.newsletter-band,.yourshot-newsletter-band,.jd-nl-card{text-shadow:0 1px 3px rgba(0,0,0,.4),0 0 24px rgba(0,0,0,.5)}
.yourshot-newsletter-band :is(h1,h2,h3,h4,p,span,div,a):not(.jd-nl-open):not(.jd-nl-open *){color:#fff !important;opacity:1 !important}
.newsletter-band .jd-nl-open,.yourshot-newsletter-band .jd-nl-open,.jd-nl-card .jd-nl-open{text-shadow:none}

/* Newsletter card headlines: same serif voice as the archive band. */
body .footer-nl-strip .newsletter-card-title .elementor-heading-title,body .infocus-newsletter-title .elementor-heading-title,body .newsletter-sidebar .newsletter-card-title .elementor-heading-title{font-family:Fraunces,Georgia,serif !important;font-weight:500 !important;color:#fff !important;text-wrap:balance;overflow-wrap:break-word;letter-spacing:0 !important}
body .footer-nl-strip .newsletter-card-title .elementor-heading-title{font-size:clamp(26px,3.2vw,34px) !important;line-height:1.2 !important}
body .infocus-newsletter-title .elementor-heading-title{font-size:clamp(24px,2.6vw,30px) !important;line-height:1.2 !important}
body .newsletter-sidebar .newsletter-card-title .elementor-heading-title{font-size:22px !important;line-height:1.2 !important}
body .jd-nl-card .infocus-newsletter-title .elementor-heading-title{font-family:Fraunces,Georgia,serif !important;font-size:clamp(24px,2.6vw,30px) !important;line-height:1.2 !important;text-wrap:balance}

/* Newsletter cards keep their original large height after the wordmark was removed. */
body .footer-nl-strip.e-con{min-height:320px !important;justify-content:center !important}
body .infocus-newsletter-inline.e-con{min-height:281px !important;justify-content:center !important}
body .newsletter-sidebar.e-con{min-height:344px !important;justify-content:center !important}
@media (max-width:767px){body .footer-nl-strip.e-con,body .infocus-newsletter-inline.e-con,body .newsletter-sidebar.e-con{min-height:0 !important}}

/* Dark footer (Photo of the Week): light link and label colours. */
body.page-dark .site-footer .elementor-icon-list-text,body.page-dark .site-footer .elementor-icon-list-item a{color:#e8e8e8 !important}
body.page-dark .site-footer .elementor-icon-list-item a:hover .elementor-icon-list-text,body.page-dark .site-footer .elementor-icon-list-item a:hover{color:#fff !important}
body.page-dark .site-footer h3.elementor-heading-title{color:rgba(232,232,232,.62) !important}
body.page-dark .site-footer .newsletter-card-title h3.elementor-heading-title{color:#fff !important}

/* Cookie notice (Complianz): full satellite background, dark text, no shade. */
body .cmplz-cookiebanner.joliedestination-cookie-banner{background:url(https://joliedestination.com/wp-content/uploads/2026/11/jd-sat-cookie.jpg) center/cover no-repeat !important;color:#14120f !important;border:0 !important;border-radius:0 !important;box-shadow:0 14px 40px rgba(20,18,15,.18) !important;width:min(440px,calc(100vw - 32px)) !important;max-width:none !important;padding:28px 28px 26px !important;right:24px !important;bottom:24px !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-header,body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-divider{display:none !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body{padding:0 !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body::before{content:"JolieDestination";display:block;margin:0 0 10px;font-family:Fraunces,Georgia,serif;font-weight:500;font-size:24px;line-height:1.1;letter-spacing:-.01em;color:#14120f}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-message{margin:0 0 20px !important;font-family:"IBM Plex Sans",sans-serif;font-size:14px !important;line-height:1.55 !important;color:#14120f !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-message a{color:#14120f !important;text-decoration:underline;text-underline-offset:3px}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{display:flex !important;gap:10px;margin:0 !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn{flex:1 1 0;min-height:44px;margin:0 !important;border-radius:0 !important;font-family:"IBM Plex Mono",monospace !important;font-size:12px !important;letter-spacing:.06em;text-transform:uppercase;box-shadow:none !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-accept{background:#14120f !important;border:1px solid #14120f !important;color:#fff !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-deny{background:transparent !important;border:1px solid #14120f !important;color:#14120f !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-deny:hover{background:#14120f !important;color:#fff !important}
@media (max-width:600px){body .cmplz-cookiebanner.joliedestination-cookie-banner{right:16px !important;left:16px !important;bottom:16px !important;width:auto !important;padding:22px 20px 20px !important}}

body .cmplz-cookiebanner.joliedestination-cookie-banner{background-image:url(https://joliedestination.com/wp-content/uploads/2026/11/jd-sat-cookie.jpg?v=2) !important}

body .cmplz-cookiebanner.joliedestination-cookie-banner{background-image:url(https://joliedestination.com/wp-content/uploads/2026/11/jd-sat-cookie.jpg?v=3) !important;text-align:center !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body,body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-message{text-align:center !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body::before{text-align:center}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-deny{background:rgba(255,255,255,.4) !important}

body .cmplz-cookiebanner.joliedestination-cookie-banner{background-image:url(https://joliedestination.com/wp-content/uploads/2026/11/jd-sat-cookie.jpg?v=4) !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-message{width:100% !important;max-width:100% !important;box-sizing:border-box !important;margin:0 0 20px !important;padding:0 !important}

body .cmplz-cookiebanner.joliedestination-cookie-banner{background-image:url(https://joliedestination.com/wp-content/uploads/2026/11/jd-sat-cookie.jpg?v=5) !important}

/* Cookie notice v2: same design as the sign-up pop-up (picture strip + white body). */
body .cmplz-cookiebanner.joliedestination-cookie-banner{background:#fff !important;background-image:none !important;padding:0 !important;overflow:hidden;border:0 !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body{position:relative;padding:150px 28px 26px !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body::before{content:"JolieDestination";position:absolute;top:0;left:0;right:0;height:124px;margin:0;display:flex;align-items:center;justify-content:center;background:url(https://joliedestination.com/wp-content/uploads/2026/11/jd-sat-cookie.jpg?v=6) center/cover no-repeat;color:#fff;font-size:28px;text-shadow:0 1px 3px rgba(0,0,0,.4),0 0 24px rgba(0,0,0,.5)}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-deny{background:transparent !important}
@media (max-width:600px){body .cmplz-cookiebanner.joliedestination-cookie-banner{padding:0 !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body{padding:140px 20px 20px !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body::before{height:116px;font-size:24px}}

body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body{padding-bottom:20px !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{padding:0 28px 28px !important;box-sizing:border-box !important;width:100% !important}
@media (max-width:600px){body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{padding:0 20px 20px !important}}

/* Cookie notice v3: smaller, tighter, drop shadow. */
body .cmplz-cookiebanner.joliedestination-cookie-banner{width:min(380px,calc(100vw - 32px)) !important;box-shadow:0 14px 34px rgba(20,18,15,.22),0 3px 8px rgba(20,18,15,.10) !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body{padding:112px 24px 14px !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body::before{height:92px;font-size:24px}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-message{margin:0 !important;font-size:13.5px !important;line-height:1.5 !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{padding:0 24px 24px !important;gap:8px}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn{min-height:40px !important;font-size:11.5px !important}
@media (max-width:600px){body .cmplz-cookiebanner.joliedestination-cookie-banner{width:auto !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body{padding:108px 18px 12px !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body::before{height:88px}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{padding:0 18px 18px !important}}

/* Cookie notice v4: Accept and Decline carry equal weight (both solid, same size). */
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-deny{background:#ece9e2 !important;border:1px solid #14120f !important;color:#14120f !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-deny:hover{background:#dcd8cf !important;color:#14120f !important}

/* Cookie strip v6: satellite image background */
body .cmplz-cookiebanner.joliedestination-cookie-banner{left:0 !important;right:0 !important;bottom:0 !important;width:100% !important;max-width:100% !important;background-color:rgba(4,18,52,0.82) !important;background-image:url('https://joliedestination.com/wp-content/uploads/2026/11/cookie-banner-sat-bg.jpg') !important;background-size:cover !important;background-position:center !important;background-blend-mode:multiply !important;box-shadow:0 -4px 24px rgba(0,10,40,.5) !important;border:none !important;border-top:1px solid rgba(255,255,255,0.12) !important;border-radius:0 !important;padding:0 !important;overflow:visible !important;display:flex !important;flex-direction:row !important;align-items:center !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body::before{display:none !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body{flex:1 1 auto !important;position:static !important;padding:14px 16px 14px 24px !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-message{margin:0 !important;font-size:13px !important;line-height:1.5 !important;color:#ffffff !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-message a{color:rgba(255,255,255,0.75) !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{display:flex !important;flex-direction:row !important;align-items:center !important;gap:8px !important;padding:12px 24px 12px 16px !important;margin:0 !important;flex:0 0 auto !important;overflow:visible !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn{flex:none !important;width:auto !important;min-height:34px !important;padding:0 16px !important;font-size:11px !important;line-height:1 !important;border-radius:0 !important;box-shadow:none !important;white-space:nowrap !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-accept{background:#ffffff !important;border:1px solid #ffffff !important;color:#0a1428 !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-accept:hover{background:rgba(255,255,255,0.88) !important;border-color:rgba(255,255,255,0.88) !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-deny{background:transparent !important;border:1px solid rgba(255,255,255,0.5) !important;color:#ffffff !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn.cmplz-deny:hover{background:rgba(255,255,255,0.12) !important;border-color:rgba(255,255,255,0.75) !important;color:#ffffff !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-links{display:flex !important;align-items:center !important;gap:12px !important;padding:0 24px 0 0 !important;flex-shrink:0 !important}
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-links a{font-family:"IBM Plex Mono",monospace !important;font-size:10.5px !important;letter-spacing:.05em !important;text-transform:uppercase !important;color:rgba(255,255,255,0.65) !important;text-decoration:underline !important;text-underline-offset:2px !important;white-space:nowrap !important}
@media (max-width:700px){body .cmplz-cookiebanner.joliedestination-cookie-banner{flex-direction:column !important;align-items:stretch !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-body{padding:14px 16px 10px !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{padding:0 16px 12px !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn{flex:1 1 0 !important;min-height:40px !important;justify-content:center !important;white-space:normal !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-links{padding:0 16px 12px !important;justify-content:center !important}}

/* Cookie strip v7: constrain button group to its content */
body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{width:fit-content !important;max-width:none !important;}

/* Cookie strip v8: mobile centring and full-width buttons */
@media (max-width:700px){body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{width:100% !important;box-sizing:border-box !important;justify-content:center !important;padding:0 20px 20px !important;gap:10px !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn{flex:1 1 0 !important;min-width:0 !important;max-width:50% !important;text-align:center !important;white-space:normal !important}}
@media (min-width:701px) and (max-width:1024px){body .cmplz-cookiebanner.joliedestination-cookie-banner{width:min(560px, -32px + 100vw) !important;right:24px !important;left:auto !important}}

/* Cookie strip v9: tablet centred, stacked buttons */
@media (min-width:701px) and (max-width:1024px){body .cmplz-cookiebanner.joliedestination-cookie-banner{left:50% !important;right:auto !important;bottom:24px !important;transform:translateX(-50%) !important;width:min(640px, calc(100vw - 48px)) !important;flex-direction:column !important;align-items:stretch !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-buttons{width:100% !important;box-sizing:border-box !important;justify-content:center !important;padding:0 28px 24px !important;gap:10px !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-btn{flex:1 1 0 !important;max-width:none !important;min-width:0 !important;white-space:normal !important}body .cmplz-cookiebanner.joliedestination-cookie-banner .cmplz-links{padding:0 28px 14px !important;justify-content:center !important}}

/* Cookie strip v10: hide once dismissed (overrides v6 display:flex) */
body .cmplz-cookiebanner.joliedestination-cookie-banner.cmplz-dismissed{display:none !important}

/* Cookie strip v11: show after 5 seconds (hidden until then, no layout jump) */
@keyframes jdBannerIn{from{visibility:hidden;opacity:0}to{visibility:visible;opacity:1}}
body .cmplz-cookiebanner.joliedestination-cookie-banner{animation:jdBannerIn .4s ease 5s both}

/* Cookie policy: turn-off-analytics button */
.jd-deny-analytics{font-family:"IBM Plex Mono",monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:12px 18px;min-height:44px;border:1px solid #14120f;background:transparent;color:#14120f;cursor:pointer;border-radius:0}
.jd-deny-analytics:hover{background:#14120f;color:#ffffff}

/* Cookie policy: confirmation message after turning analytics off */
.jd-deny-msg{margin-top:12px;font-family:"IBM Plex Mono",monospace;font-size:12px;letter-spacing:.04em;color:#14120f}

/* =========================================================
   HOME - Explore by place (10 Nov 2026)
   Title centered, link pinned right on the same line, no subtitle,
   no rule under the heading, tight vertical padding, full-width tiles.
   ========================================================= */
.explore-place { padding-top: clamp(14px, 1.8vw, 24px) !important; padding-bottom: clamp(8px, 1vw, 14px) !important; }
.explore-place .section-head { position: relative; justify-content: center !important; text-align: center; border-bottom: 0 !important; padding-bottom: 0 !important; margin-bottom: clamp(14px, 1.8vw, 22px) !important; }
.explore-place .section-head > .e-con-inner { justify-content: center !important; align-items: center !important; }
.explore-place .section-head .section-title, .explore-place .section-head .section-title .elementor-heading-title { text-align: center; margin-bottom: 0 !important; }
.explore-place .section-head a.elementor-button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; }
.explore-place .place-grid { margin-bottom: clamp(14px, 1.8vw, 24px) !important; }
@media (max-width: 640px) {
  .explore-place .section-head a.elementor-button { position: static; transform: none; margin-top: 8px; }
  .explore-place .section-head > .e-con-inner { flex-direction: column; }
}

/* Explore by place: 4 regions with stories, tiles keep the approved ~172px size, centered. Switch to 5 columns when Oasis Sahara has its first story. */
@media (min-width: 1025px) { .explore-place .place-grid { grid-template-columns: repeat(4, minmax(0, 172px)) !important; justify-content: center; } }


/* =========================================================
   HOME - Explore by region (10 Nov 2026)
   Five cards, same shape as the Most read cards (3:2 photo, centered text under it), filling the 1200px container on one row.
   ========================================================= */
.explore-place .place-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: clamp(14px, 1.6vw, 22px) !important; justify-content: stretch !important; }
@media (min-width: 1025px) { .explore-place .place-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; justify-content: stretch !important; } }
.place-card { text-align: center; }
.place-card .elementor-widget-html { margin-bottom: 12px; overflow: hidden; }
.place-card img.place-img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; background: var(--color-surface); transition: transform var(--transition); }
.place-card:hover img.place-img { transform: scale(1.02); }
.place-card .elementor-heading-title { text-align: center !important; }
.place-card .place-name .elementor-heading-title { line-height: 1.28 !important; }
@media (max-width: 1024px) {
  .explore-place .place-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .explore-place .place-card { grid-column: span 2; }
  .explore-place .place-card:nth-child(4) { grid-column: 2 / span 2; }
  .explore-place .place-card:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 720px) {
  .explore-place .place-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .explore-place .place-card:nth-child(n) { grid-column: span 2; }
  .explore-place .place-card:nth-child(5) { grid-column: 2 / span 2; }
}

.explore-place .place-card { padding: 0 !important; }

/* Explore by region: cards the same size as Most read (269px), so the row (1430px) is allowed past the 1200px container; on narrower desktops it shrinks to fit. */
@media (min-width: 1025px) {
  .explore-place .place-grid { position: relative; left: 50%; transform: translateX(-50%); width: min(1430px, calc(100vw - 2 * var(--gutter))) !important; max-width: none !important; }
}

@media (min-width: 1025px) { .explore-place .place-grid { width: min(1430px, calc(100vw - 48px)) !important; } }

/* Explore by region: one scrollable row on tablet and phone (no stacking) */
@media (max-width: 1024px) {
  .explore-place .place-grid { display: flex !important; flex-wrap: nowrap; gap: 16px !important; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; margin-left: calc(-1 * var(--gutter)) !important; margin-right: calc(-1 * var(--gutter)) !important; padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; scrollbar-width: none; }
  .explore-place .place-grid::-webkit-scrollbar { display: none; }
  .explore-place .place-card, .explore-place .place-card:nth-child(n) { grid-column: auto !important; flex: 0 0 calc((100% - 3 * 16px) / 3.4); min-width: 0; scroll-snap-align: start; }
}
@media (max-width: 720px) {
  .explore-place .place-card, .explore-place .place-card:nth-child(n) { flex-basis: 62%; }
}

@media (max-width: 1024px) { .explore-place .place-grid { flex-direction: row !important; align-items: flex-start !important; } }

@media (max-width: 1024px) {
  .explore-section-fix, .explore-place .place-grid .place-card, .explore-place .place-grid .place-card:nth-child(n) { flex: 0 0 29vw !important; width: 29vw; }
  .explore-place .place-grid .place-card:first-child { margin-left: var(--gutter) !important; }
  .explore-place .place-grid .place-card:last-child { margin-right: var(--gutter) !important; }
}
@media (max-width: 720px) {
  .explore-place .place-grid .place-card, .explore-place .place-grid .place-card:nth-child(n) { flex: 0 0 62vw !important; width: 62vw; }
}

@media (max-width: 1024px) { .explore-place .place-grid { scroll-padding-left: calc(2 * var(--gutter)); scroll-snap-type: none; } }

@media (max-width: 1024px) { .explore-place .place-grid .place-card:first-child { margin-left: 0 !important; } .explore-place .place-grid .place-card:last-child { margin-right: 0 !important; } .explore-place .place-grid { scroll-padding-left: var(--gutter); } }

/* Explore by region loop: clones are only shown where the row scrolls (tablet, phone); mouse drag */
.explore-place .place-grid .place-clone { display: none !important; }
@media (max-width: 1024px) {
  .explore-place .place-grid .place-clone { display: block !important; }
  .explore-place .place-grid { cursor: grab; user-select: none; -webkit-user-select: none; overscroll-behavior-x: contain; }
  .explore-place .place-grid.is-dragging { cursor: grabbing; }
  .explore-place .place-grid img { -webkit-user-drag: none; user-select: none; }
}

/* More from JolieDestination: loop + drag + arrows (all screen sizes) */
.right-now .jd-carousel .jd-clone{display:flex !important}
.right-now .jd-carousel-track{scroll-snap-type:none !important;cursor:grab;user-select:none;-webkit-user-select:none;overscroll-behavior-x:contain}
.right-now .jd-carousel-track.is-dragging{cursor:grabbing}
.right-now .jd-carousel .story-card{scroll-snap-align:none}
.right-now .jd-carousel .story-card img{-webkit-user-drag:none;user-select:none}
.right-now .jd-carousel-arrow:disabled{opacity:1;pointer-events:auto}

/* Explore Algeria: loop + drag + arrows */
.explore-algeria .perspective-viewport{scroll-snap-type:none !important;cursor:grab;user-select:none;-webkit-user-select:none;overscroll-behavior-x:contain}
.explore-algeria .perspective-viewport.is-dragging{cursor:grabbing}
.explore-algeria .perspective-card{scroll-snap-align:none !important}
.explore-algeria .perspective-card img{-webkit-user-drag:none}
.explore-algeria .perspective-arrow:disabled{opacity:1;pointer-events:auto}
/* Topics (ex Explore Algeria): centered title, no rule, tighter padding */
.explore-algeria .section-head{justify-content:center !important;text-align:center;border-bottom:0 !important;padding-bottom:0 !important;margin-bottom:clamp(14px,1.8vw,22px) !important}
.explore-algeria .section-head .section-title .elementor-heading-title{text-align:center}
.explore-algeria{padding-top:clamp(20px,2.4vw,30px) !important;padding-bottom:clamp(24px,3vw,38px) !important}
/* Topics arrows: same design and placement as More from JolieDestination, colours reversed for the dark background */
.explore-algeria .perspective-arrow{top:50% !important;width:40px !important;height:40px !important;border-radius:50% !important;border:0 !important;padding:0 !important;font-size:0 !important;line-height:0;background-color:rgba(255,255,255,0.92) !important;box-shadow:0 2px 8px rgba(0,0,0,0.25);background-repeat:no-repeat;background-position:center;background-size:18px 18px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E")}
.explore-algeria .perspective-arrow:hover{background-color:#fff !important}
.explore-algeria .perspective-arrow-prev{left:max(6px,calc(var(--gutter) - 52px)) !important;transform:translateY(-50%) scaleX(-1) !important}
.explore-algeria .perspective-arrow-next{right:max(6px,calc(var(--gutter) - 52px)) !important}
/* Topics edge fades: same eased gradient on both sides */
.explore-algeria .perspective-grid::before,.explore-algeria .perspective-grid::after{width:110px !important}
.explore-algeria .perspective-grid::before{background:linear-gradient(90deg,rgba(22,19,15,1) 0%,rgba(22,19,15,.85) 15%,rgba(22,19,15,.55) 40%,rgba(22,19,15,.2) 70%,rgba(22,19,15,0) 100%) !important}
.explore-algeria .perspective-grid::after{background:linear-gradient(270deg,rgba(22,19,15,1) 0%,rgba(22,19,15,.85) 15%,rgba(22,19,15,.55) 40%,rgba(22,19,15,.2) 70%,rgba(22,19,15,0) 100%) !important}

/* Explore by region: a bit more air between photo and name */
.explore-place .place-card .place-name{margin-top:12px !important}

/* Archive banners run edge to edge; the text keeps the exact position it had inside the container */
.topic-hero-inner,.topic-hero-inner.e-con{max-width:none !important;width:100% !important;padding:0 !important;margin:0 !important}
.topic-hero-copy,.topic-hero-copy.e-con{padding-left:calc(max(0px,(100% - var(--container-max)) / 2) + var(--gutter) + clamp(20px,3vw,44px)) !important}
@media (min-width:721px){
  .topic-hero-copy,.topic-hero-copy.e-con{max-width:calc(560px + max(0px,(100% - var(--container-max)) / 2) + var(--gutter)) !important}
}
/* Archive navigation: centered (falls back to scrolling from the left when it does not fit) */
.topic-nav ul,.topic-nav .elementor-icon-list-items{justify-content:center;justify-content:safe center}
/* Footer: Formats list sits under 'For travel businesses' with clear space above (Nov 2026). */
/* Footer: Formats as one horizontal strip under the link columns on desktop; the accordion version stays on tablet and phone (Nov 2026). */
.footer-formats-strip.e-con{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:center !important;flex-wrap:wrap;gap:12px 36px !important;width:100% !important;max-width:var(--container-footer) !important;margin:0 auto !important;padding:22px var(--gutter) 22px !important;border-top:1px solid var(--color-line)}
.footer-formats-strip .footer-formats-label{margin:0 !important;width:auto !important}
.footer-formats-strip .footer-formats-label .elementor-heading-title{font-family:var(--font-mono) !important;font-weight:400 !important;font-size:0.72rem !important;letter-spacing:var(--tracking-label);text-transform:uppercase;line-height:1.5;margin:0;color:var(--color-ink-soft)}
.footer-formats-strip .footer-formats-links{width:auto !important;margin:0 !important}
.footer-formats-strip .elementor-icon-list-items{display:flex !important;flex-direction:row !important;flex-wrap:wrap;justify-content:center;gap:8px 36px;margin:0;padding:0}
.footer-formats-strip .elementor-icon-list-item{padding:0 !important;margin:0 !important}
.footer-formats-strip .elementor-icon-list-item>a{display:block;padding:0 !important}
.footer-formats-strip .elementor-icon-list-icon{display:none !important}
.footer-formats-strip .elementor-icon-list-text{font-family:var(--font-sans) !important;font-size:0.88rem !important;color:var(--color-ink) !important;padding:0 !important}
.footer-formats-strip a:hover .elementor-icon-list-text{color:var(--color-ink-soft) !important}
.page-dark .footer-formats-strip.e-con{border-top-color:rgba(255,255,255,0.18)}
.page-dark .footer-formats-strip .footer-formats-label .elementor-heading-title{color:var(--color-on-dark-soft)}
.page-dark .footer-formats-strip .elementor-icon-list-text{color:var(--color-on-dark-soft) !important}
@media (min-width:1100px){.jd-global-footer .elementor-element-f0a1b2e{display:none !important}}
@media (max-width:1099px){.footer-formats-strip.e-con{display:none !important}}

/* Photo of the Week: share icons sit under the photograph, centred (12 Nov 2026) */
.yourshot-photo-wrap .yourshot-share { margin-top: 18px; justify-content: center; }

/* Photo of the Week header: title line at H1 size, description at the small mono size of the old 'Click to enlarge' cue (12 Nov 2026) */
body .yourshot-page-header-inner { max-width: 900px; }
body .yourshot-page-header .yourshot-eyebrow { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.01em; text-transform: none; color: var(--color-on-dark) !important; margin-bottom: 14px; }
body .yourshot-intro { font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.5; letter-spacing: 0.05em; color: var(--color-on-dark-soft); }
body .yourshot-intro .yourshot-see-all { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; }
body .yourshot-page-header .yourshot-eyebrow, body .yourshot-page-header .yourshot-eyebrow .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(2.4rem, 5vw, 3.6rem) !important; line-height: 1 !important; letter-spacing: -0.01em !important; text-transform: none !important; color: var(--color-on-dark) !important; }

/* Home Photography banner: short Photo of the Week caption under the title; the Explore button is hidden (the whole banner is a link) (12 Nov 2026) */
.photography-copy .elementor-element-db3b5c2 { display: none !important; }
.photography-copy .jd-yourshot-banner-caption { display: block; max-width: 520px; margin-top: 10px; font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.5; color: rgba(246,243,236,0.96); }

/* Photo of the Week, phone: tidier header, full-width photograph (12 Nov 2026) */
@media (max-width: 720px) {
  body .yourshot-page-header { padding: 24px var(--gutter) 6px; }
  body .yourshot-page-header-inner { text-align: center; align-items: center; gap: 0; }
  body .yourshot-page-header .yourshot-eyebrow, body .yourshot-page-header .yourshot-eyebrow .elementor-heading-title { font-size: 2rem !important; margin-bottom: 10px; }
  body .yourshot-intro { text-align: center; text-wrap: balance; }
  body .yourshot-intro .yourshot-see-all { display: flex; width: fit-content; margin: -12px auto 0; justify-content: center; }
  body .yourshot-photo-section { padding-left: 0; padding-right: 0; }
  body .yourshot-photo-wrap { max-width: none; }
  body .yourshot-photo-wrap .yourshot-share { margin-top: 18px; }
  body .yourshot-caption, body .yourshot-weeknav { padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: border-box; }
}

/* Photo of the Week: no filled box on the See all photography link; it uses the site's normal link hover instead (12 Nov 2026) */
body .yourshot-see-all { -webkit-tap-highlight-color: transparent; transition: gap var(--transition), opacity var(--transition); }
body .yourshot-see-all:hover, body .yourshot-see-all:focus-visible, body .yourshot-see-all:active { background: none; color: var(--color-on-dark); gap: 13px; opacity: 0.8; }

/* Photography archive filters: same look as the topic navigation (Culture etc.), one scrollable line on small screens */
body .photo-filters { border-bottom: 1px solid var(--color-line); }
body .photo-filters ul { max-width: var(--container-max); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; flex-wrap: wrap; row-gap: 14px; column-gap: clamp(20px, 3vw, 36px); justify-content: center; justify-content: safe center; list-style: none; }
body .photo-filters li { margin: 0; flex: 0 0 auto; }
body .photo-filters a { display: inline-block; font-family: var(--font-sans); font-size: 0.86rem; letter-spacing: normal; text-transform: none; padding: 0 0 4px; min-height: 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--color-ink-soft); white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: color var(--transition), border-color var(--transition); }
body .photo-filters a:hover { color: var(--color-ink); background: none; border-color: transparent; border-bottom-color: transparent; }
body .photo-filters a[aria-current="page"] { background: none; color: var(--color-ink); border-bottom-color: var(--color-ink); font-weight: 500; }
@media (max-width: 720px) {
  body .photo-filters ul { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; justify-content: flex-start; height: 60px; padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; }
  body .photo-filters ul::-webkit-scrollbar { display: none; }
  body .photo-filters ul.is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
  body .photo-filters a { display: inline-flex; align-items: center; min-height: 0; }
}
/* Unified archive strip: topic-nav (Stories, Culture...) and photo-filters share one look, one height, one scroll behaviour at every width */
body .topic-nav ul, body .topic-nav .elementor-icon-list-items, body .photo-filters ul { box-sizing: border-box !important; display: flex !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: center !important; justify-content: safe center !important; column-gap: clamp(20px, 3vw, 36px) !important; row-gap: 0 !important; height: 66px !important; max-width: var(--container-max); margin: 0 auto !important; padding: 0 var(--gutter) !important; overflow-x: auto !important; overflow-y: hidden !important; white-space: nowrap; list-style: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; }
body .topic-nav ul::-webkit-scrollbar, body .topic-nav .elementor-icon-list-items::-webkit-scrollbar, body .photo-filters ul::-webkit-scrollbar { display: none; }
body .topic-nav ul.is-dragging, body .photo-filters ul.is-dragging { cursor: grabbing; user-select: none; }
body .topic-nav li, body .photo-filters li { flex: 0 0 auto; margin: 0 !important; padding: 0 !important; }
body .topic-nav a, body .photo-filters a { display: inline-block; line-height: 1.5; padding: 0 0 4px !important; white-space: nowrap; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; }
body .topic-nav .elementor-icon-list-text, body .photo-filters a { font-family: var(--font-sans); font-size: 0.86rem; line-height: 1.5; }
@media (max-width: 1024px) {
  body .topic-nav ul, body .topic-nav .elementor-icon-list-items, body .photo-filters ul { height: 60px !important; justify-content: flex-start !important; }
}
body .photo-filters a { box-sizing: border-box; height: 30px; }

/* Photography archive: strip sits flush under the banner like the Stories archive (remove Elementor widget gaps around it) */
body .elementor-widget:has(+ .elementor-widget .photo-filters) { margin-bottom: 0 !important; }
body .elementor-widget:has(> .elementor-widget-container > .photo-filters) { margin-bottom: 0 !important; }

/* Photography archive: feature band sits directly under the banner (no white strip) */
body .photo-feature { margin-top: 0 !important; }

/* Photography archive: no hairline between banner and dark feature band */
body .topic-hero:has(+ .elementor-widget .photo-feature) { border-bottom: 0 !important; }

/* Photography archive banner: photographer credit, bottom right */
.topic-hero-credit-wrap { position: absolute !important; right: clamp(16px, 2vw, 28px); bottom: 10px; z-index: 2; margin: 0 !important; width: auto !important; }
.topic-hero-credit { margin: 0; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.05em; line-height: 1.2; color: rgba(255,255,255,0.9); text-shadow: 0 0 6px rgba(0,0,0,0.55); }
.topic-hero-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.topic-hero-credit a:hover { color: var(--color-ink); }

@media (max-width: 720px) { .topic-hero-credit-wrap { top: 10px; bottom: auto; right: 14px; } }

/* Photography archive cards: same shape and type scale as the standard story card (3:2 image, small mono label, serif title, mono date) */
body .photo-card-media { margin-bottom: 12px; }
body .photo-card-media img { aspect-ratio: 3 / 2 !important; }
body .photo-card .story-meta { font-size: 0.62rem; line-height: 1; letter-spacing: 0.14em; margin-bottom: 6px; }
body .photo-card .story-title { font-size: 0.98rem; line-height: 1.28; margin-bottom: 8px; }
body .photo-card .story-date { font-size: 0.68rem; line-height: 1; letter-spacing: 0.06em; }

/* Home Photo of the Week banner: copy sits inside the centred 1200px content box (same left edge as the rest of the page), grouped at the bottom, with more presence (14 Nov 2026) */
body .photography .photography-copy { margin-left: auto !important; margin-right: auto !important; max-width: var(--container-max) !important; justify-content: flex-end !important; padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(36px, 5vw, 72px) !important; }
body .photography .photography-copy .elementor-widget-heading { max-width: 760px; }
body .photography .photography-copy .eyebrow { margin-bottom: 16px !important; }
body .photography .photography-copy .eyebrow .elementor-heading-title { display: flex; align-items: center; gap: 14px; font-size: 0.74rem !important; letter-spacing: 0.18em !important; color: rgba(246,243,236,0.96) !important; }
body .photography .photography-copy .eyebrow .elementor-heading-title::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
body .photography .photography-copy .section-title .elementor-heading-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem) !important; line-height: 1.04 !important; letter-spacing: -0.015em; margin-bottom: 14px !important; text-shadow: 0 1px 24px rgba(0,0,0,0.35); }
body .photography .photography-copy .jd-yourshot-banner-caption { max-width: 620px; margin-top: 0; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; text-shadow: 0 1px 16px rgba(0,0,0,0.45); }
@media (max-width: 720px) {
  body .photography .photography-copy .section-title .elementor-heading-title { font-size: clamp(1.9rem, 8vw, 2.4rem) !important; }
  body .photography .photography-copy .jd-yourshot-banner-caption { font-size: 0.98rem; }
}
/* Home Photo of the Week banner: "See the full frame" rectangular outline button (14 Nov 2026) */
body .photography .photography-copy .elementor-element.jd-yourshot-btn { display: block !important; position: relative; z-index: 4; width: auto; max-width: none; margin: 24px 0 0 !important; }
body .photography .photography-copy .jd-yourshot-btn .elementor-button { display: inline-flex; align-items: center; margin: 0 !important; padding: 14px 26px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1; color: rgba(246,243,236,0.98) !important; background: transparent !important; border: 1px solid rgba(246,243,236,0.9); border-radius: 0; box-shadow: none; text-shadow: none; transition: background var(--transition), color var(--transition), border-color var(--transition); -webkit-tap-highlight-color: transparent; }
body .photography .photography-copy .jd-yourshot-btn .elementor-button:hover, body .photography .photography-copy .jd-yourshot-btn .elementor-button:focus-visible { background: rgba(246,243,236,0.98) !important; color: var(--color-black, #14120f) !important; border-color: rgba(246,243,236,0.98); }
body .photography .photography-copy .jd-yourshot-btn .elementor-button-text { padding: 0; }
body .photography .photography-copy { z-index: 5 !important; pointer-events: none; }
body .photography .photography-copy .jd-yourshot-btn { pointer-events: auto; }

/* Lightbox in true browser fullscreen: the photograph uses the whole screen, with the close button on a dark disc over it (14 Nov 2026) */
.yourshot-lightbox:fullscreen, .admin-bar .yourshot-lightbox:fullscreen { padding: 0 !important; background: #000; }
.yourshot-lightbox:-webkit-full-screen, .admin-bar .yourshot-lightbox:-webkit-full-screen { padding: 0 !important; background: #000; }
.yourshot-lightbox:fullscreen .yourshot-lightbox-close, .admin-bar .yourshot-lightbox:fullscreen .yourshot-lightbox-close { top: 20px; right: 20px; background: rgba(0,0,0,0.5); border-radius: 50%; }
.yourshot-lightbox:-webkit-full-screen .yourshot-lightbox-close { top: 20px; right: 20px; background: rgba(0,0,0,0.5); border-radius: 50%; }
.yourshot-lightbox:fullscreen .yourshot-lightbox-hint, .admin-bar .yourshot-lightbox:fullscreen .yourshot-lightbox-hint { display: none; }

/* =========================================================
   HOME - Featured story: the whole card is one link.
   The existing 'Read the story' link is stretched over the card (one real <a>, so screen readers and
   keyboards still see a single link). To change the destination, change the article in the widget.
   ========================================================= */
.jd-featured-story { position: relative; }
.jd-featured-story .link-arrow::after { content: ''; position: absolute; inset: 0; z-index: 3; }
.jd-featured-story .featured-story-img { transition: transform 0.6s ease; }
.jd-featured-story .featured-story-media { overflow: hidden; }
.jd-featured-story .featured-title { transition: opacity var(--transition); }
@media (hover: hover) {
  .jd-featured-story:hover .featured-story-img { transform: scale(1.03); }
  .jd-featured-story:hover .featured-title { opacity: 0.75; }
  .jd-featured-story:hover .link-arrow { gap: 13px; opacity: 0.8; }
}
.jd-featured-story .link-arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.jd-featured-story:has(.link-arrow:focus-visible) { outline: 2px solid var(--color-ink); outline-offset: 6px; }


/* Listen (read aloud), one line, 2026-11-14. Play on the left, Voice and Speed as quiet dropdowns beside it, and a thin underline on the sentence being read. No box, no fills, no new colours. */
.article-listen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0 0 26px; }
.article-listen[hidden] { display: none !important; }
.article-listen-btn { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; background: none; color: var(--color-ink); font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 500; line-height: 1.2; letter-spacing: 0.01em; text-align: left; cursor: pointer; }
.article-listen-btn:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 4px; }
.article-listen-play { display: flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border: 1px solid var(--color-ink); border-radius: 50%; background: transparent; color: var(--color-ink); transition: background-color var(--transition), color var(--transition); }
.article-listen-btn:hover .article-listen-play, .article-listen[data-state="playing"] .article-listen-play { background: var(--color-ink); color: #fff; }
.article-listen-icon { display: block; width: 11px; height: 11px; }
.article-listen .icon-play { margin-left: 1px; }
.article-listen .icon-pause { display: none; }
.article-listen[data-state="playing"] .icon-play { display: none; }
.article-listen[data-state="playing"] .icon-pause { display: block; }
.article-listen-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-left: 22px; border-left: 1px solid var(--color-line-strong); }
.article-listen-field { display: flex; align-items: center; gap: 8px; margin: 0; }
.article-listen-field[hidden] { display: none; }
.article-listen-field-label { font-family: var(--font-sans); font-size: 0.75rem; color: var(--color-ink-soft); }
.article-listen-select { -webkit-appearance: none; appearance: none; margin: 0; padding: 2px 16px 2px 0; border: 0; border-bottom: 1px solid var(--color-line-strong); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2314120f' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 1px center / 8px 5px; color: var(--color-ink); font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.3; cursor: pointer; transition: border-color var(--transition); }
.article-listen-select:hover { border-bottom-color: var(--color-ink); }
.article-listen-select:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
/* Phones: one line. Play circle, Voice and Speed side by side; the words are kept for screen readers but not shown. */
@media (max-width: 560px) {
	.article-listen { flex-wrap: nowrap; gap: 14px; }
	.article-listen-btn { flex: none; }
	.article-listen-play { width: 34px; height: 34px; }
	.article-listen-label, .article-listen-field-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
	.article-listen-options { flex: 1 1 auto; flex-wrap: nowrap; justify-content: flex-start; width: auto; padding-left: 0; border-left: 0; gap: 20px; min-width: 0; }
	.article-listen-field { gap: 0; }
}
@media (pointer: coarse) { .article-listen-btn { min-height: 44px; } .article-listen-select { padding-top: 12px; padding-bottom: 12px; } }

/* The sentence being read: a thin line under the text. */
::highlight(jd-listen) { background-color: transparent; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: currentcolor; }


/* Listen dropdowns: a quiet custom menu instead of the browser's own list. Hairline border, plain text, no blue highlight, no focus box on click. */
.article-listen-select.is-enhanced { display: none; }
.jd-dd { position: relative; display: inline-block; }
.jd-dd-btn { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 2px 0; border: 0; border-bottom: 1px solid var(--color-line-strong); border-radius: 0; background: transparent; color: var(--color-ink); font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.3; cursor: pointer; transition: border-color var(--transition); }
.jd-dd-btn:hover, .jd-dd.is-open .jd-dd-btn { border-bottom-color: var(--color-ink); }
.jd-dd-btn:focus { outline: none; }
.jd-dd-btn:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 4px; }
.jd-dd-chevron { flex: none; transition: transform var(--transition); }
.jd-dd.is-open .jd-dd-chevron { transform: rotate(180deg); }
.jd-dd-menu { position: absolute; z-index: 40; top: calc(100% + 8px); left: -14px; min-width: calc(100% + 28px); margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--color-line-strong); box-shadow: 0 6px 18px rgba(20, 18, 15, 0.08); }
.jd-dd-menu[hidden] { display: none; }
.jd-dd.is-up .jd-dd-menu { top: auto; bottom: calc(100% + 8px); }
.jd-dd-menu [role="option"] { margin: 0; padding: 8px 16px; font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.3; color: var(--color-ink-soft); white-space: nowrap; cursor: pointer; }
.jd-dd-menu [role="option"]:hover, .jd-dd-menu [role="option"]:focus { background: var(--color-surface); color: var(--color-ink); outline: none; }
.jd-dd-menu [role="option"][aria-selected="true"] { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (pointer: coarse) { .jd-dd-btn { padding-top: 12px; padding-bottom: 12px; } .jd-dd-menu [role="option"] { padding: 13px 18px; } }


/* HOME - Topics: pure black section, text only (no icons), bold white text with a drop shadow so it reads on bright photos */
.explore-algeria{background:#000 !important;background-color:#000 !important}
.explore-algeria .perspective-card .elementor-widget-icon{display:none !important}
.explore-algeria .perspective-card .perspective-title .elementor-heading-title{font-weight:700 !important;font-size:1.02rem !important;color:#fff !important;text-shadow:0 1px 2px rgba(0,0,0,.75),0 2px 14px rgba(0,0,0,.8) !important}
.explore-algeria .perspective-card .perspective-desc .elementor-heading-title{font-weight:600 !important;color:#fff !important;text-shadow:0 1px 2px rgba(0,0,0,.75),0 2px 10px rgba(0,0,0,.8) !important}
.explore-algeria .perspective-grid::before{background:linear-gradient(90deg,#000 0%,rgba(0,0,0,.85) 15%,rgba(0,0,0,.55) 40%,rgba(0,0,0,.2) 70%,rgba(0,0,0,0) 100%) !important}
.explore-algeria .perspective-grid::after{background:linear-gradient(270deg,#000 0%,rgba(0,0,0,.85) 15%,rgba(0,0,0,.55) 40%,rgba(0,0,0,.2) 70%,rgba(0,0,0,0) 100%) !important}


/* Side photos (16 Nov 2026): a photo beside the text in an article, built as a Columns block with the classes jd-side-photo (the row) and jd-side-photo__img (the photo column). Both photos get the same width, sit level with the first line of text, and the theme's default image top margin and caption bottom margin are dropped so the block has no stray gaps. Below 782px the row stacks and the photo is capped at 260px. Backup of the file before this rule: style.css.bak-20261116. */
.article-body .wp-block-columns.jd-side-photo { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: clamp(24px, 3.5vw, 44px); margin: 0 0 clamp(36px, 4.5vw, 56px); }
.article-body .jd-side-photo > .wp-block-column { flex: 1 1 0; min-width: 0; }
.article-body .jd-side-photo > .jd-side-photo__img { flex: 0 0 clamp(170px, 27%, 210px); }
.article-body .jd-side-photo figure { margin: 0; }
.article-body .jd-side-photo figure img { display: block; width: 100%; height: auto; margin: 0; }
.article-body .jd-side-photo figcaption { margin: 10px 0 0; }
.article-body .jd-side-photo > .wp-block-column:not(.jd-side-photo__img) > p:first-child { margin-top: 0; }
.article-body .jd-side-photo > .wp-block-column:not(.jd-side-photo__img) > p:last-child { margin-bottom: 0; }
@media (max-width: 781px) {
  .article-body .wp-block-columns.jd-side-photo { flex-direction: column; flex-wrap: nowrap; gap: 20px; }
  .article-body .jd-side-photo > .wp-block-column:not(.jd-side-photo__img) { flex: 1 1 auto !important; width: 100%; }
  .article-body .jd-side-photo > .jd-side-photo__img { flex: 0 0 auto !important; width: min(260px, 100%); }
}


/* Hero side cards (16 Nov 2026): the two stacked cards on the Home hero are perfect squares. The right column is now exactly as wide as one card is tall, ((hero height - 14px gap) / 2), and the big card takes the rest. The hero height is the same value the layout already used (--jd-hero-h), so nothing else moves. Tablet and desktop only; the phone carousel is untouched. Backup of the file before this rule: style.css.bak-20261116-pre-hero-square. */
@media (min-width: 721px) {
  .hero-media { --jd-hero-h: clamp(320px, 34vw, 460px); height: var(--jd-hero-h) !important; grid-template-columns: minmax(0, 1fr) calc((var(--jd-hero-h) - 14px) / 2) !important; }
}
@media (min-width: 1100px) {
  .hero-media { --jd-hero-h: clamp(360px, 38vw, 580px); }
}

/* Header: no tagline under the wordmark (the footer keeps it); logo centred on tablets as on phones (17 Nov 2026) */
body .site-header .logo-tagline { display: none !important; }
@media (max-width: 1024px) {
  body .header-inner { grid-template-columns: 1fr auto 1fr; }
  body .header-inner > .nav-toggle { justify-self: start; }
  body .header-inner > .logo, body .header-inner > .custom-logo-link { justify-self: center; }
  body .header-inner > .header-actions { justify-self: end; }
}
/* Header: slightly slimmer bar, slightly larger wordmark (17 Nov 2026). Touch targets stay 44px on tablet/phone. */
body .site-header .logo-word { font-size: 1.4rem; line-height: 1.1; }
body .header-inner { padding-top: 14px; padding-bottom: 14px; }
@media (max-width: 1024px) {
  body .site-header .logo-word { font-size: 1.3rem; }
  body .header-inner { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 720px) {
  body .header-inner { padding-top: 6px; padding-bottom: 6px; }
}
/* Footer logo mark: five regional logos crossfading every 2 s, beside the wordmark */
body .site-footer .footer-brand .elementor-widget-jd_logo .logo.jd-has-mark{flex-direction:row;align-items:center;gap:14px;text-align:left}
body .site-footer .footer-brand .elementor-widget-jd_logo .logo.jd-has-mark .logo-text{align-items:flex-start;text-align:left}
.jd-mark-rotator{position:relative;flex:0 0 auto;width:48px;height:48px;border-radius:10px;overflow:hidden;display:block}
.jd-mark-rotator img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;opacity:0;animation:jd-mark-fade 10s linear infinite;animation-delay:calc(var(--i) * 2s - 10s)}
.jd-mark-rotator img:first-child{animation-delay:0s}
@keyframes jd-mark-fade{0%{opacity:1}18%{opacity:1}22%{opacity:0}96%{opacity:0}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.jd-mark-rotator img{animation:none}.jd-mark-rotator img:first-child{opacity:1}}
@media (max-width:640px){.jd-mark-rotator{width:42px;height:42px}}
/* ===== About v2 START (19 Nov 2026). Page id 1427 only. Compact layout that matches the home page. ===== */
body.page-id-1427 .footer-nl-strip { display: none !important; }
body.page-id-1427 .ab2-hero { position: relative; width: 100%; max-width: none; min-height: clamp(280px, 26vw, 340px); display: flex !important; flex-direction: column !important; justify-content: flex-end !important; padding: 0 !important; margin: 0 !important; gap: 0 !important; overflow: hidden; }
body.page-id-1427 .ab2-bg { position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0 !important; z-index: 0; }
body.page-id-1427 .ab2-bg .elementor-widget-container, body.page-id-1427 .ab2-bg img { width: 100%; height: 100%; display: block; }
body.page-id-1427 .ab2-bg img { object-fit: cover; }
body.page-id-1427 .ab2-scrim { position: absolute !important; inset: 0; background: rgba(10,10,10,0.5); z-index: 1; padding: 0 !important; pointer-events: none; }
body.page-id-1427 .ab2-hero-copy { position: relative; z-index: 2; width: 100%; max-width: var(--container-max); margin: 0 auto !important; padding: 0 var(--gutter) clamp(32px, 4vw, 52px) !important; display: flex !important; flex-direction: column !important; gap: 12px !important; }
body.page-id-1427 .ab2-hero-copy > * { max-width: 640px; }
body.page-id-1427 .ab2-hero-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(2.2rem, 4.4vw, 3.6rem) !important; line-height: 1.08; letter-spacing: -0.01em; color: #fff !important; margin: 0; }
body.page-id-1427 .ab2-hero-sub .elementor-heading-title { font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.8rem !important; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.9) !important; margin: 0; }
body.page-id-1427 .ab2-hero-desc, body.page-id-1427 .ab2-hero-desc p { font-size: 1.02rem; line-height: 1.65; color: rgba(255,255,255,0.95) !important; margin: 0; }
body.page-id-1427 .ab2-hero .eyebrow .elementor-heading-title, body.page-id-1427 .ab2-dark .eyebrow .elementor-heading-title { color: rgba(255,255,255,0.9) !important; }
body.page-id-1427 .ab2-sec { width: 100%; max-width: var(--container-max); margin: 0 auto !important; padding: clamp(40px, 5vw, 72px) var(--gutter) !important; }
body.page-id-1427 .ab2-head { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: flex-end !important; gap: 24px !important; border-bottom: 1px solid var(--color-line); padding: 0 0 24px !important; margin-bottom: clamp(24px, 3.4vw, 40px); }
body.page-id-1427 .ab2-head-left { display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 0 !important; }
body.page-id-1427 .ab2-head .ab2-lede { max-width: 440px; }
body.page-id-1427 .ab2-text, body.page-id-1427 .ab2-text p, body.page-id-1427 .ab2-lede, body.page-id-1427 .ab2-lede p { font-size: 1rem; line-height: 1.7; color: var(--color-ink-soft) !important; }
body.page-id-1427 .ab2-text p, body.page-id-1427 .ab2-lede p { margin: 0 0 0.9em; }
body.page-id-1427 .ab2-lede, body.page-id-1427 .ab2-lede p { font-size: 0.95rem; }
body.page-id-1427 .ab2-split { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px) !important; align-items: center; }
body.page-id-1427 .ab2-split-founder { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); justify-content: center; }
body.page-id-1427 .ab2-split-copy { display: flex !important; flex-direction: column !important; gap: 14px !important; padding: 0 !important; align-items: flex-start; }
body.page-id-1427 .ab2-img { overflow: hidden; position: relative; }
body.page-id-1427 .ab2-img .elementor-widget-container { height: 100%; }
body.page-id-1427 .ab2-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
body.page-id-1427 .ab2-ratio-43 { aspect-ratio: 4 / 3; }
body.page-id-1427 .ab2-ratio-45 { aspect-ratio: 4 / 5; }
body.page-id-1427 .ab2-sig { margin-top: 6px; }
body.page-id-1427 .ab2-sig img { width: 260px; max-width: 80%; height: auto; display: block; }
body.page-id-1427 .ab2-cards { --g: clamp(14px, 1.6vw, 22px); display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--g) !important; padding: 0 !important; }
body.page-id-1427 .ab2-cards-faces { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
body.page-id-1427 .ab2-cards-faces > .ab2-card { flex: 0 0 calc((100% - 4 * var(--g)) / 5); }
body.page-id-1427 .ab2-card { display: flex !important; flex-direction: column !important; gap: 0 !important; padding: 0 !important; text-decoration: none; color: inherit; }
body.page-id-1427 .ab2-card .ab2-img { aspect-ratio: 4 / 3; margin-bottom: 14px; }
body.page-id-1427 a.ab2-card:hover .ab2-img img { transform: scale(1.04); }
body.page-id-1427 .ab2-card-title .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 400 !important; font-size: 1.1rem !important; line-height: 1.25; color: var(--color-ink) !important; margin: 0 0 4px; }
body.page-id-1427 .ab2-card-desc, body.page-id-1427 .ab2-card-desc p { font-size: 0.86rem; line-height: 1.5; color: var(--color-ink-soft) !important; margin: 0; }
body.page-id-1427 .ab2-band { position: relative; width: 100%; max-width: none; padding: clamp(48px, 6vw, 84px) 0 !important; margin: 0 !important; overflow: hidden; display: flex !important; flex-direction: column !important; align-items: center; gap: 0 !important; }
body.page-id-1427 .ab2-band-inner { position: relative; z-index: 2; width: 100%; max-width: var(--container-max); margin: 0 auto !important; padding: 0 var(--gutter) !important; display: flex !important; flex-direction: column !important; align-items: center; text-align: center; gap: 14px !important; }
body.page-id-1427 .ab2-dark .section-title .elementor-heading-title { color: #fff !important; }
body.page-id-1427 .ab2-dark .ab2-lede, body.page-id-1427 .ab2-dark .ab2-lede p { color: rgba(255,255,255,0.95) !important; max-width: 620px; margin-left: auto; margin-right: auto; }
body.page-id-1427 .ab2-stats { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; margin-top: clamp(16px, 2.4vw, 30px); padding: 0 !important; gap: 0 !important; }
body.page-id-1427 .ab2-stat { display: flex !important; flex-direction: column !important; align-items: center; gap: 6px !important; padding: 6px 14px !important; border-left: 1px solid rgba(255,255,255,0.35); text-align: center; }
body.page-id-1427 .ab2-stat:first-child { border-left: 0; }
body.page-id-1427 .ab2-stat-v .elementor-heading-title { font-family: var(--font-serif) !important; font-weight: 500 !important; font-size: clamp(1.5rem, 2.3vw, 2.1rem) !important; line-height: 1.1; color: #fff !important; margin: 0; white-space: nowrap; }
body.page-id-1427 .ab2-stat-l .elementor-heading-title { font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 0.68rem !important; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.5; color: rgba(255,255,255,0.95) !important; margin: 0; }
body.page-id-1427 .ab2-sources, body.page-id-1427 .ab2-sources p { font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.6; color: rgba(255,255,255,0.85) !important; max-width: 860px; margin: 18px auto 0; }
body.page-id-1427 .ab2-invite-desc, body.page-id-1427 .ab2-invite-desc p { font-size: 1.02rem; line-height: 1.65; color: rgba(255,255,255,0.95) !important; max-width: 620px; margin: 0 auto 6px; }
body.page-id-1427 .ab2-actions { display: flex !important; flex-direction: row !important; gap: 16px !important; padding: 0 !important; margin-top: 6px; }
@media (max-width: 1000px) {
  body.page-id-1427 .ab2-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.page-id-1427 .ab2-cards-faces { display: flex !important; }
  body.page-id-1427 .ab2-cards-faces > .ab2-card { flex: 0 0 calc((100% - 2 * var(--g)) / 3); }
}
@media (max-width: 768px) {
  body.page-id-1427 .ab2-head { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
  body.page-id-1427 .ab2-split, body.page-id-1427 .ab2-split-founder { grid-template-columns: minmax(0, 1fr); }
  body.page-id-1427 .ab2-split-founder .ab2-img { width: 220px; max-width: 70%; }
  body.page-id-1427 .ab2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px !important; }
  body.page-id-1427 .ab2-stat:nth-child(odd) { border-left: 0; }
  body.page-id-1427 .ab2-stat:last-child { grid-column: 1 / -1; border-left: 0; }
}
@media (max-width: 560px) {
  body.page-id-1427 .ab2-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-id-1427 .ab2-cards-faces > .ab2-card { flex: 0 0 calc((100% - var(--g)) / 2); }
}

body.page-id-1427 .ab2-hero .ab2-hero-desc { max-width: 640px !important; width: 100%; margin-top: 8px !important; }
body.page-id-1427 .ab2-hero .ab2-hero-sub { margin-top: 2px !important; }

body.page-id-1427 .ab2-pos-people img { object-position: 50% 58%; }
body.page-id-1427 .ab2-pos-nature img { object-position: 22% 45%; }
body.page-id-1427 .ab2-pos-food img { object-position: 50% 50%; }
body.page-id-1427 .ab2-pos-contemp img { object-position: 50% 12%; }
body.page-id-1427 .ab2-pos-invite img { object-position: 50% 45%; }
body.page-id-1427 .ab2-split-founder .ab2-sig-right { align-self: flex-end; }
body.page-id-1427 .ab2-sec-nobottom { padding-bottom: 0 !important; }
body.page-id-1427 .ab2-sec-tight { padding-bottom: 0 !important; }
body.page-id-1427 .ab2-head-center { justify-content: center !important; text-align: center; }
body.page-id-1427 .ab2-head-center .ab2-head-left { align-items: center; }
body.page-id-1427 .ab2-cards:not(.ab2-cards-faces) .ab2-card .ab2-img { aspect-ratio: 1 / 1; }
body.page-id-1427 .ab2-band-tight { padding: clamp(22px, 2.6vw, 34px) 0 !important; }
body.page-id-1427 .ab2-band-tight .ab2-stats { margin-top: 0; }
body.page-id-1427 .explore-algeria { background: #fff !important; background-color: #fff !important; }
body.page-id-1427 .explore-algeria .section-title .elementor-heading-title { color: var(--color-ink) !important; }
body.page-id-1427 .explore-algeria .perspective-grid::before { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 15%, rgba(255,255,255,.55) 40%, rgba(255,255,255,.2) 70%, rgba(255,255,255,0) 100%) !important; }
body.page-id-1427 .explore-algeria .perspective-grid::after { background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,.85) 15%, rgba(255,255,255,.55) 40%, rgba(255,255,255,.2) 70%, rgba(255,255,255,0) 100%) !important; }
body.page-id-1427 .explore-algeria .perspective-arrow { filter: invert(1); box-shadow: none !important; }

/* About v2 round 4 (19 Nov 2026, 20:40 edits) */
body.page-id-1427 .ab2-hero { justify-content: center !important; }
body.page-id-1427 .ab2-hero-copy { padding: 0 var(--gutter) !important; align-items: center !important; text-align: center; }
body.page-id-1427 .ab2-hero-copy > * { max-width: 100%; margin-left: auto; margin-right: auto; }
body.page-id-1427 .ab2-hero-title .elementor-heading-title { text-align: center !important; }
body.page-id-1427 .ab2-sec { padding-top: clamp(32px, 3.4vw, 48px) !important; padding-bottom: 0 !important; }
body.page-id-1427 .ab2-split:not(.ab2-split-founder) { align-items: stretch !important; }
body.page-id-1427 .ab2-split:not(.ab2-split-founder) .ab2-img { aspect-ratio: auto !important; height: 100%; min-height: 100%; }
body.page-id-1427 .ab2-split:not(.ab2-split-founder) .ab2-split-copy { justify-content: center; }
body.page-id-1427 .ab2-split:not(.ab2-split-founder) .ab2-text p:last-child { margin-bottom: 0; }
body.page-id-1427 .ab2-head { border-bottom: 0 !important; padding-bottom: 0 !important; }
body.page-id-1427 .ab2-band-tight { min-height: 320px; justify-content: center; }
body.page-id-1427 .explore-algeria { padding-bottom: 0 !important; }
body.page-id-1427 .ab2-split-founder { align-items: stretch !important; padding-bottom: clamp(32px, 3.4vw, 48px) !important; }
body.page-id-1427 .ab2-split-founder > .ab2-img { aspect-ratio: auto !important; height: 100%; }
body.page-id-1427 .ab2-split-founder > .ab2-img img { object-position: 50% 20%; }
body.page-id-1427 .ab2-split-founder .ab2-split-copy { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 12px !important; align-content: center; align-items: center; }
body.page-id-1427 .ab2-split-founder .ab2-split-copy > .eyebrow, body.page-id-1427 .ab2-split-founder .ab2-split-copy > .section-title, body.page-id-1427 .ab2-split-founder .ab2-split-copy > .ab2-text { grid-column: 1 / -1; }
body.page-id-1427 .ab2-split-founder .ab2-text p:last-child { margin-bottom: 0; }
body.page-id-1427 .ab2-split-founder .ab2-actions { grid-column: 1; grid-row: 5; margin-top: 4px !important; }
body.page-id-1427 .ab2-split-founder .ab2-sig { grid-column: 2; grid-row: 5; justify-self: end; align-self: center; margin-top: 4px !important; }
body.page-id-1427 .more-and-newsletter { padding-bottom: 0 !important; margin-bottom: 0 !important; }
@media (max-width: 768px) {
  body.page-id-1427 .ab2-split:not(.ab2-split-founder) .ab2-img { height: auto; aspect-ratio: 4 / 3 !important; }
  body.page-id-1427 .ab2-split-founder > .ab2-img { height: auto; aspect-ratio: 4 / 5 !important; }
  body.page-id-1427 .ab2-split-founder .ab2-split-copy { grid-template-columns: 1fr; }
  body.page-id-1427 .ab2-split-founder .ab2-actions, body.page-id-1427 .ab2-split-founder .ab2-sig { grid-column: 1; grid-row: auto; justify-self: start; }
  body.page-id-1427 .ab2-band-tight { min-height: 0; }
}
body.page-id-1427 .ab2-split .ab2-img .elementor-widget-container { position: absolute; inset: 0; }
body.page-id-1427 .ab2-split .ab2-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  body.page-id-1427 .ab2-split .ab2-img .elementor-widget-container { position: static; }
  body.page-id-1427 .ab2-split .ab2-img img { position: static; }
}
body.page-id-1427 .explore-algeria > .e-con-inner { padding-bottom: 0 !important; }
body.page-id-1427 .explore-algeria > .e-con-inner > .elementor-widget-html { position: absolute; width: 0; height: 0; overflow: hidden; margin: 0; }
body.page-id-1427 .more-and-newsletter { padding-bottom: clamp(40px, 5vw, 64px) !important; }
body.page-id-1427 .ab2-split:not(.ab2-split-founder) .ab2-img img { object-position: 45% 78%; }
body.page-id-1427 .ab2-split-founder { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); align-items: center !important; }
body.page-id-1427 .ab2-split-founder > .ab2-img { aspect-ratio: 1000 / 1206 !important; height: auto !important; align-self: center; }
body.page-id-1427 .ab2-split-founder > .ab2-img img { object-position: 50% 50% !important; }
body.page-id-1427 .ab2-split-founder { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
body.page-id-1427 .ab2-split-founder > .ab2-img { align-self: start; }
body.page-id-1427 .ab2-split-founder .ab2-split-copy { align-self: start; }
body.page-id-1427 .ab2-split-founder > .ab2-img { align-self: center; }
body.page-id-1427 .ab2-split-founder { grid-template-columns: minmax(0, min(460px, 40%)) minmax(0, 1fr); }
@media (max-width: 900px) {
  body.page-id-1427 .ab2-split-founder { grid-template-columns: minmax(0, 1fr) !important; align-items: start !important; }
  body.page-id-1427 .ab2-split-founder > .ab2-img { width: min(100%, 420px); align-self: start; }
  body.page-id-1427 .ab2-split-founder .ab2-split-copy { align-self: start; }
}
@media (max-width: 1000px) {
  body.page-id-1427 .ab2-cards:not(.ab2-cards-faces) { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; }
  body.page-id-1427 .ab2-cards:not(.ab2-cards-faces) > .ab2-card { flex: 0 0 calc((100% - 2 * var(--g)) / 3); }
}
@media (max-width: 560px) {
  body.page-id-1427 .ab2-cards:not(.ab2-cards-faces) > .ab2-card { flex: 0 0 calc((100% - var(--g)) / 2); }
}
@media (max-width: 1000px) {
  body.page-id-1427 .ab2-cards:not(.ab2-cards-faces) { flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)) !important; padding-right: var(--gutter) !important; }
  body.page-id-1427 .ab2-cards:not(.ab2-cards-faces)::-webkit-scrollbar { display: none; }
  body.page-id-1427 .ab2-cards:not(.ab2-cards-faces) > .ab2-card { flex: 0 0 calc((100% - 2 * var(--g)) / 3.4); scroll-snap-align: start; }
}
@media (max-width: 560px) {
  body.page-id-1427 .ab2-cards:not(.ab2-cards-faces) > .ab2-card { flex: 0 0 calc((100% - var(--g)) / 2.2); }
}
/* ===== About v2 END ===== */
/* ===== BC catalog START (24 Nov 2026). Book a trip catalog page (/bookatrip/). Classes bc-* only. ===== */
.bc-hero{position:relative;width:100%;max-width:none;min-height:min(86vh,820px);display:flex !important;flex-direction:column !important;justify-content:flex-end !important;padding:0 !important;margin:0 !important;gap:0 !important;overflow:hidden;isolation:isolate;background:#1b1409}
.bc-bg{position:absolute !important;inset:0;width:100% !important;height:100%;margin:0 !important;z-index:0}
.bc-bg .elementor-widget-container{width:100% !important;height:100% !important;display:block}
.bc-bg img{width:100% !important;height:100% !important;max-width:none !important;display:block;object-fit:cover !important;object-position:center 62%}
.bc-scrim{position:absolute !important;inset:0;background:rgba(10,8,5,.34);z-index:1;padding:0 !important;pointer-events:none}
.bc-hero-copy{position:relative;z-index:2;width:100%;max-width:var(--container-max);margin:0 auto !important;padding:120px var(--gutter,24px) 72px !important;display:flex !important;flex-direction:column !important;align-items:flex-start;gap:0 !important}
.bc-hero .bc-label .elementor-heading-title{color:rgba(255,255,255,.88) !important}
.bc-hero .bc-h1 .elementor-heading-title{font-family:var(--font-serif) !important;font-weight:500 !important;font-size:clamp(44px,7.4vw,108px) !important;line-height:1.02 !important;letter-spacing:-.015em;color:#fff !important;margin:20px 0 0}
@media(min-width:700px){.bc-hero .bc-h1 .elementor-heading-title{white-space:nowrap}}
.bc-deck,.bc-deck p{font-size:clamp(17px,1.5vw,20px);line-height:1.5;color:rgba(255,255,255,.92) !important;margin:0}
.bc-deck{max-width:600px;margin-top:24px !important}
.bc-hero .bc-link-light .elementor-button{background:transparent !important;border:0 !important;border-bottom:1px solid #fff !important;border-radius:0 !important;color:#fff !important;padding:6px 0 !important;font-family:var(--font-mono) !important;font-size:12px !important;letter-spacing:.14em;text-transform:uppercase;margin-top:32px}
.bc-hero .bc-credit{position:absolute !important;right:var(--gutter,24px);bottom:20px;z-index:3;margin:0 !important}
.bc-credit,.bc-credit p,.bc-credit a{font-family:var(--font-mono) !important;font-size:10px !important;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.78) !important;margin:0}
.bc-credit a{border-bottom:1px solid rgba(255,255,255,.5)}

.bc-intro{width:100%;max-width:760px;margin:0 auto !important;padding:clamp(72px,10vw,136px) var(--gutter,24px) clamp(64px,8vw,112px) !important;text-align:center;display:flex !important;flex-direction:column !important;align-items:center;gap:0 !important}
.bc-intro .bc-h2 .elementor-heading-title{font-family:var(--font-serif) !important;font-weight:400 !important;font-size:clamp(28px,3.4vw,44px) !important;line-height:1.2 !important;letter-spacing:-.005em;color:var(--color-ink) !important;margin:22px 0 0}
.bc-intro .bc-p,.bc-intro .bc-p p{font-size:18px;line-height:1.7;color:var(--color-ink-soft) !important}
.bc-intro .bc-p{margin-top:28px !important}
.bc-intro .bc-p p{margin:0}

.bc-strip{width:100% !important;max-width:none !important;padding:0 !important;margin:0 !important}
.bc-strip .elementor-widget,.bc-strip .elementor-widget-container{margin:0 !important;padding:0 !important;width:100%}

.bc-zz{width:100%;max-width:var(--container-max);margin:0 auto !important;padding:clamp(88px,11vw,152px) var(--gutter,24px) 0 !important;display:flex !important;flex-direction:column !important;gap:clamp(72px,9vw,128px) !important}
.bc-zz-item{display:grid !important;grid-template-columns:1.25fr 1fr;gap:clamp(40px,6vw,88px) !important;align-items:center;padding:0 !important;width:100%}
.bc-zz-item:nth-child(even){grid-template-columns:1fr 1.25fr}
.bc-zz-item:nth-child(even) .bc-zz-img{order:2}
.bc-zz-img{background:transparent;margin:0 !important}.bc-zz-img img{background:var(--color-surface)}
.bc-zz-img img{width:100% !important;aspect-ratio:4/3;object-fit:cover;height:auto !important;display:block}
.bc-zz-img figcaption,.bc-zz-img .widget-image-caption{font-family:var(--font-mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-soft);padding:10px 0 0;text-align:left;background:transparent}
.bc-zz-img{overflow:visible}
.bc-zz-img .elementor-widget-container{overflow:hidden}
.bc-zz-img figure{margin:0}
.bc-zz-img .elementor-widget-container{background:transparent}
.bc-zz-copy{display:flex !important;flex-direction:column !important;align-items:flex-start;gap:0 !important;padding:0 !important}
.bc-zz-copy .bc-h3 .elementor-heading-title{font-family:var(--font-serif) !important;font-weight:500 !important;font-size:clamp(30px,3.2vw,44px) !important;line-height:1.1 !important;color:var(--color-ink) !important;margin:18px 0 0}
.bc-zz-copy .bc-p,.bc-zz-copy .bc-p p{font-size:17px;line-height:1.7;color:var(--color-ink-soft) !important;max-width:460px}
.bc-zz-copy .bc-p{margin-top:22px !important}
.bc-zz-copy .bc-p p{margin:0}
.bc-link .elementor-button{background:transparent !important;border:0 !important;border-bottom:1px solid currentColor !important;border-radius:0 !important;color:var(--color-ink) !important;padding:6px 0 !important;font-family:var(--font-mono) !important;font-size:12px !important;letter-spacing:.14em;text-transform:uppercase}
.bc-link .elementor-button:hover{opacity:.7}.bc-link .elementor-button,.bc-hero .bc-link-light .elementor-button{line-height:1.5 !important;min-height:0 !important;height:auto !important;display:inline-block !important}.bc-hero .bc-link-light .elementor-button{padding-bottom:6px !important}
.bc-link{margin-top:26px !important}
.bc-label .elementor-heading-title{font-family:var(--font-mono) !important;font-weight:400 !important;font-size:12px !important;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-soft) !important;margin:0}
@media(max-width:820px){.bc-zz-item,.bc-zz-item:nth-child(even){grid-template-columns:1fr}.bc-zz-item:nth-child(even) .bc-zz-img{order:0}}

.bc-band{position:relative;overflow:hidden;isolation:isolate;background:#121110;color:var(--color-dark-ink);width:100%;max-width:none;margin:clamp(88px,11vw,152px) 0 0 !important;padding:0 !important}
.bc-band::before{content:"";position:absolute;inset:-15%;z-index:-1;pointer-events:none;filter:blur(70px);background:radial-gradient(ellipse 50% 60% at 18% 40%,rgba(84,86,86,.5) 0%,rgba(84,86,86,0) 70%),radial-gradient(ellipse 40% 70% at 64% 55%,rgba(88,74,62,.38) 0%,rgba(88,74,62,0) 72%),radial-gradient(ellipse 35% 70% at 100% 30%,rgba(0,0,0,.95) 0%,rgba(0,0,0,0) 75%),radial-gradient(ellipse 45% 55% at 0% 100%,rgba(0,0,0,.9) 0%,rgba(0,0,0,0) 75%)}
.bc-band-inner{width:100%;max-width:var(--container-max);margin:0 auto !important;padding:clamp(64px,8vw,96px) var(--gutter,24px) !important;display:flex !important;flex-direction:column !important;gap:0 !important;align-items:stretch}
.bc-band .bc-label .elementor-heading-title{color:#b9b4a8 !important}
.bc-cols{display:grid !important;grid-template-columns:repeat(3,1fr);gap:40px !important;margin-top:36px;padding:0 !important}
.bc-col{border-top:1px solid #4a4640;padding:20px 0 0 !important;display:flex !important;flex-direction:column !important;gap:0 !important}
.bc-col .bc-col-title .elementor-heading-title{font-family:var(--font-sans) !important;font-size:13px !important;font-weight:600 !important;letter-spacing:.04em;color:var(--color-dark-ink) !important;margin:0}
.bc-col .bc-col-p,.bc-col .bc-col-p p{font-size:16px;line-height:1.65;color:#e6e3dd !important;margin:0}
.bc-col .bc-col-p{margin-top:12px !important}
@media(max-width:820px){.bc-cols{grid-template-columns:1fr;gap:28px !important}}

.bc-faq{width:100%;max-width:var(--container-max);margin:0 auto !important;padding:clamp(72px,9vw,120px) var(--gutter,24px) 0 !important;display:grid !important;grid-template-columns:1fr 1.6fr;gap:clamp(32px,6vw,96px) !important;align-items:start}
.bc-faq-head{display:flex !important;flex-direction:column !important;gap:0 !important;padding:0 !important}
.bc-faq-head .bc-h2s .elementor-heading-title{font-family:var(--font-serif) !important;font-weight:500 !important;font-size:clamp(30px,3vw,40px) !important;line-height:1.12 !important;color:var(--color-ink) !important;margin:16px 0 0}
.bc-acc .elementor-accordion .elementor-accordion-item{border:0 !important;border-top:1px solid var(--color-line) !important;margin:0}
.bc-acc .elementor-accordion .elementor-accordion-item:last-child{border-bottom:1px solid var(--color-line) !important}
.bc-acc .elementor-tab-title{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 0 !important;min-height:44px;background:transparent !important;border:0 !important;cursor:pointer}
.bc-acc .elementor-tab-title a{font-family:var(--font-serif) !important;font-weight:400 !important;font-size:21px !important;line-height:1.25;color:var(--color-ink) !important;text-decoration:none}
.bc-acc .elementor-accordion-icon{display:none !important}
.bc-acc .elementor-tab-title::after{content:"+";font-family:var(--font-sans);font-size:22px;color:var(--color-ink-soft)}
.bc-acc .elementor-tab-title.elementor-active::after{content:"\2212"}
.bc-acc .elementor-tab-content{border:0 !important;padding:0 0 24px !important;background:transparent !important;font-size:16px;line-height:1.7;color:var(--color-ink-soft) !important;max-width:560px}
.bc-acc .elementor-tab-content p{margin:0}
@media(max-width:820px){.bc-faq{grid-template-columns:1fr}}

.bc-notify{width:100%;max-width:var(--container-max);margin:0 auto !important;padding:clamp(72px,9vw,120px) var(--gutter,24px) !important;display:flex !important;flex-direction:row !important;flex-wrap:wrap;gap:32px !important;align-items:center;justify-content:space-between}
.bc-notify-copy{display:flex !important;flex-direction:column !important;gap:0 !important;padding:0 !important}.bc-notify{flex-wrap:wrap !important;justify-content:space-between !important}.bc-notify-copy{flex:0 1 auto !important;width:auto !important}
.bc-notify .bc-h2n .elementor-heading-title{font-family:var(--font-serif) !important;font-weight:400 !important;font-size:32px !important;line-height:1.15 !important;color:var(--color-ink) !important;margin:0}
.bc-notify .bc-note,.bc-notify .bc-note p{font-size:15px;line-height:1.6;color:var(--color-ink-soft) !important;margin:0}
.bc-notify .bc-note{margin-top:10px !important}
.bc-notify .bc-formwrap{flex:1 1 420px !important;width:auto !important;max-width:560px !important;min-width:min(100%,320px)}.bc-notify .bc-formwrap .elementor-widget-container{width:100%}.bc-form{width:100%}
.bc-form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;position:relative}
.bc-form .bc-f{flex:1 1 240px;display:flex;flex-direction:column;gap:6px}
.bc-form label{font-size:12px;color:var(--color-ink-soft)}
.bc-form input[type=email]{height:48px;border:1px solid var(--color-ink);background:#fff;padding:0 14px;font-size:16px;font-family:inherit;border-radius:0;color:var(--color-ink)}
.bc-form button{height:48px;padding:0 28px;background:var(--color-ink);color:#fff;border:0;border-radius:0;font-size:13px;font-weight:500;letter-spacing:.06em;font-family:inherit;cursor:pointer}
.bc-form .bc-ok{flex-basis:100%;font-size:14px;color:var(--color-ink-soft);margin:0}
.bc-form .bc-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

body.page-id-2180 .footer-nl-strip{display:none !important}

/* BC fixes (24 Nov, after comparing with the prototype) */
.bc-hero{min-height:min(86vh,820px) !important}
.bc-hero-copy,.bc-zz,.bc-faq,.bc-notify,.bc-band-inner{max-width:var(--container-max) !important}
.bc-intro{max-width:760px !important;text-align:center !important}
.bc-intro .elementor-heading-title,.bc-intro .bc-p,.bc-intro .bc-p p{text-align:center !important}
.bc-intro .elementor-widget{width:100%}
.bc-deck{max-width:600px !important}
.bc-deck,.bc-deck p,.bc-p,.bc-p p,.bc-col-p,.bc-col-p p,.bc-note,.bc-note p,.bc-acc .elementor-tab-content,.bc-acc .elementor-tab-content p{font-family:var(--font-sans) !important}
.bc-link-light .elementor-button,.bc-link .elementor-button{font-weight:400 !important;text-align:left}
.bc-hero .bc-link-light{align-self:flex-start}
.bc-link{align-self:flex-start}
/* ===== BC catalog END ===== */
/* BC sign-up button */
.bc-formwrap{display:flex !important;justify-content:flex-end}
@media (max-width:700px){.bc-formwrap{justify-content:flex-start}}

/* BC newsletter strip: same look as the footer strip on other pages */
body .bc-nl-strip.jd-nl-card{background-image:url("https://joliedestination.com/wp-content/uploads/2026/11/jd-sat-footer.jpg");background-size:cover;background-position:center;padding:clamp(48px,6vw,72px) var(--gutter) !important;min-height:0 !important}
body .bc-nl-strip .newsletter-card-title .elementor-heading-title{font-family:Fraunces,Georgia,serif !important;font-weight:500 !important;font-size:clamp(26px,3.2vw,34px) !important;line-height:1.2 !important;color:#fff !important;text-wrap:balance;letter-spacing:0 !important;margin:0 0 8px !important}
body .bc-nl-strip .bc-nl-btn{display:flex;justify-content:center}
body.page-id-2180 .bc-nl-strip .elementor-widget-container{display:flex;justify-content:center}

/* BC: space under the FAQ before the sign-up strip */
body .bc-faq.e-con{padding-bottom:clamp(56px,7vw,96px) !important}

/* JD cookie mobile centering fix (29 Nov 2026): Complianz shifts the banner by -50% below 1024px. On phones the banner is full width, so cancel the shift. */
@media (max-width:700px){body .cmplz-cookiebanner.joliedestination-cookie-banner{left:0 !important;right:0 !important;transform:none !important}}
/* JD cookie desktop edge fix (29 Nov 2026): remove the Complianz 10px margin that pushed the banner past the right edge. */
@media (min-width:1024px){body .cmplz-cookiebanner.joliedestination-cookie-banner{margin:0 !important}}
