/* =========================================================
   Golf Getaways - editorial luxury polish
   ========================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Palette */
  --gold:       #a68245;
  --gold-soft:  #c8a36a;
  --gold-warm:  #d9b677;
  --gold-deep:  #7a5a2e;
  --gold-dark:  #5a4220;
  --ink:        #131211;
  --ink-2:      #1c1a17;
  --ink-3:      #2a2622;
  --paper:      #f7f3eb;
  --paper-2:    #ece4d4;
  --muted:      #8a8278;
  --text:       #2a2622;
  --white:      #fff;

  /* Type */
  --serif:        "Cardo", "Cormorant Garamond", Georgia, serif;
  --serif-italic: "Cormorant Garamond", "Cardo", Georgia, serif;
  --sans:         "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body:         "Poppins", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max-w: 1320px;
  --header-h: 150px;

  /* Motion */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-in-out: cubic-bezier(.65,.05,.36,1);

  /* Shadows */
  --shadow-lift: 0 30px 60px -20px rgba(0,0,0,.6);
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; }
*::selection { background: var(--gold); color: var(--ink); }

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Default heading reset; per-section types do the work */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--gold);
  margin: 0;
  line-height: 1.1;
}

.serif-italic {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 400;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- GLOBAL: grain & noise overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ---------- REVEAL ANIMATIONS ----------
   Gatade på html.js: utan JS visas allt direkt (resiliens + LCP-säkerhet).
   Med JS startar de dolda och tonas in via IntersectionObserver. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
html.js [data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hero title char-by-char reveal */
.hero-title .char { display: inline-block; }
html.js .hero-title .char {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
html.js .hero-title.in-view .char {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- LCP: hero above-the-fold paints OMEDELBART ----------
   Hero-texten (eyebrow/H1/tagline) är LCP-elementet. opacity:0 fördröjer LCP
   tills JS + delay + transition kört (mätt: 3,4 s mobil). Vi behåller en mjuk
   slide-in (transform fördröjer INTE LCP, bara opacity gör det) men målar texten
   fullt opak direkt. Below-the-fold-sektioner behåller sin fulla fade. */
html.js .hero-eyebrow[data-reveal],
html.js .hero-tagline[data-reveal] { opacity: 1; }
html.js .hero-title .char { opacity: 1; }
.hero-title.in-view .char:nth-child(1)  { transition-delay: .05s; }
.hero-title.in-view .char:nth-child(2)  { transition-delay: .09s; }
.hero-title.in-view .char:nth-child(3)  { transition-delay: .13s; }
.hero-title.in-view .char:nth-child(4)  { transition-delay: .17s; }
.hero-title.in-view .char:nth-child(5)  { transition-delay: .21s; }
.hero-title.in-view .char:nth-child(6)  { transition-delay: .25s; }
.hero-title.in-view .char:nth-child(7)  { transition-delay: .29s; }
.hero-title.in-view .char:nth-child(8)  { transition-delay: .33s; }
.hero-title.in-view .char:nth-child(9)  { transition-delay: .37s; }
.hero-title.in-view .char:nth-child(10) { transition-delay: .41s; }
.hero-title.in-view .char:nth-child(11) { transition-delay: .45s; }
.hero-title.in-view .char:nth-child(12) { transition-delay: .49s; }
.hero-title.in-view .char:nth-child(13) { transition-delay: .53s; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 100%);
  z-index: 1000;
  transition: background .35s var(--ease-out), height .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.site-header.scrolled {
  height: 86px;
  background: rgba(19, 18, 17, .94);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 12px 28px rgba(0,0,0,.45);
}
.site-header.scrolled .brand-mono { font-size: 30px; }
.site-header.scrolled .brand-name { font-size: 10px; }

.header-inner {
  position: relative;
  max-width: 1480px;
  height: 100%;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

/* Brand - img-baserad logo */
.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  transition: opacity .25s;
}
.brand:hover { opacity: .85; }

.brand-logo {
  display: block;
  height: 84px;
  width: auto;
  transition: height .35s var(--ease-out);
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .35));
}
.site-header.scrolled .brand-logo { height: 58px; }
.md-brand .brand-logo { height: 48px; }
.brand--footer .brand-logo { height: 110px; }

@media (max-width: 1080px) {
  .brand-logo { height: 64px; }
  .site-header.scrolled .brand-logo { height: 48px; }
}
@media (max-width: 560px) {
  .brand-logo { height: 56px; }
  .brand--footer .brand-logo { height: 90px; }
  .header-inner { padding: 0 24px; } /* hamburgaren närmare kanten på telefon */
}

.brand-mono {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
  color: var(--gold);
  transition: font-size .35s var(--ease-out);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.brand-mono-letter:nth-child(1) { transform: translateX(8px); }
.brand-mono-letter:nth-child(3) { transform: translateX(-8px); }
.brand-mono-slash {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-warm) 100%);
  transform: rotate(22deg);
  margin: 0 4px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 4px;
  transition: font-size .35s;
}

/* Primary nav */
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 48px;
}
.primary-nav--left ul { justify-content: flex-start; }
.primary-nav--right ul { justify-content: flex-end; }

.primary-nav a {
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: color .25s;
}
.primary-nav a::before {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transition: right .35s var(--ease-out);
}
.primary-nav a:hover::before { right: 0; }
.primary-nav a:hover { color: var(--gold); }

.primary-nav .chev {
  display: inline-grid;
  place-items: center;
  color: var(--gold);
  transition: transform .35s var(--ease-out);
}
.primary-nav .has-sub:hover .chev { transform: translateX(3px); }
.primary-nav .has-sub { position: static; }

/* =========================================================
   MEGA MENU
   ========================================================= */
.mega {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(15, 14, 12, .985);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-top: 1px solid rgba(166, 130, 69, .35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility .4s, top .35s var(--ease-out);
  z-index: 999;
  pointer-events: none;
  /* Begränsa panelen till viewporten; själva scrollen ligger på landlistan (.mega-country-list)
     så att RESORTER + höjdpunkten står kvar när man hovrar ett land längst ner i listan. */
  max-height: calc(100vh - var(--header-h));
  overflow: hidden;
}
.site-header.scrolled ~ .mega,
.mega.scrolled { top: 86px; max-height: calc(100vh - 86px); }
/* When header has scrolled class, mega should follow new header height */
.site-header.scrolled + .mega { top: 86px; max-height: calc(100vh - 86px); }
/* When the header parent has .scrolled, also reposition mega within header */
.site-header.scrolled .mega { top: 86px; max-height: calc(100vh - 86px); }

.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 56px 56px 64px;
  display: grid;
  grid-template-columns: 240px 1fr 360px;
  gap: 64px;
  align-items: start;
}

.mega-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 22px;
  opacity: .9;
}

/* Country column */
.mega-country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  /* Scrolla ENDAST landlistan när den är längre än panelen, så RESORTER + höjdpunkten
     står kvar när man hovrar ett land långt ner. Buffer = mega-inner-padding (56+64) + eyebrow. */
  max-height: calc(100vh - var(--header-h) - 180px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Diskret, on-brand scrollbar. OBS: sätt INTE scrollbar-width/scrollbar-color här — då
   använder Chrome Windows "Fluent"-scrollbaren (med pilknappar) och ignorerar ::-webkit.
   Webkit-only ger ren guld-thumb UTAN pilknappar i Chrome/Edge/Safari (Firefox = diskret default). */
.mega-country-list::-webkit-scrollbar { width: 8px; }
.mega-country-list::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.mega-country-list::-webkit-scrollbar-track { background: transparent; }
.mega-country-list::-webkit-scrollbar-thumb { background: rgba(166, 130, 69, .45); border-radius: 4px; }
.mega-country-list::-webkit-scrollbar-thumb:hover { background: rgba(166, 130, 69, .7); }
.mega-country-list li {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.mega-country-list li:first-child { border-top: 1px solid rgba(255, 255, 255, .05); }
.mega-country-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* höger-padding ger hover-pilen (->) luft från scrollbaren; vänster 0 så landnamnen ligger kvar */
  padding: 13px 18px 13px 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, .82);
  transition: color .25s var(--ease-out), padding-left .25s var(--ease-out);
}
.mega-country-list a::before { content: none; }
.mega-country-list .mega-arrow {
  font-style: normal;
  font-size: 14px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.mega-country-list li:hover a,
.mega-country-list li.is-active a {
  color: var(--gold-warm);
  padding-left: 8px;
}
.mega-country-list li:hover .mega-arrow,
.mega-country-list li.is-active .mega-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Resort column - only the active list is visible */
.mega-col--resorts {
  position: relative;
  min-height: 360px;
}
.mega-resort-list {
  position: absolute;
  inset: 36px 0 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
  pointer-events: none;
}
/* Endast aktivera när hela mega-panelen är öppen, annars override:ar
   .is-active parentens dolda läge och blockerar klick/text-selektion
   över hela övre viewporten. */
.mega.is-open .mega-resort-list.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-resort-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
}
.mega-resort-list li a {
  display: inline-block;
  padding: 8px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, .72);
  transition: color .2s var(--ease-out), letter-spacing .25s var(--ease-out);
  position: relative;
}
.mega-resort-list li a::before { content: none; }
.mega-resort-list li a:hover {
  color: var(--gold-warm);
}
.mega-resort-list li a:hover::after {
  content: "→";
  margin-left: 10px;
  color: var(--gold);
  font-style: normal;
  display: inline-block;
  animation: megaArrowIn .25s var(--ease-out);
}
@keyframes megaArrowIn {
  from { opacity: 0; transform: translateX(-4px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Feature card */
.mega-feature {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
  isolation: isolate;
}
.mega-feature::after { content: none; }
.mega-feature-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.72) saturate(.85) contrast(1.05) sepia(.18);
  transition: transform 1.4s var(--ease-out), filter .5s var(--ease-out);
}
.mega-feature:hover .mega-feature-img {
  transform: scale(1.05);
  filter: brightness(.82) saturate(.95) contrast(1.05) sepia(.1);
}
.mega-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .85) 100%);
}
.mega-feature-meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  color: var(--white);
}
.mega-feature-meta .mega-eyebrow {
  color: var(--gold-warm);
  margin: 0 0 8px;
}
.mega-feature-meta h5 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.05;
}
.mega-feature-meta p {
  font-family: var(--body);
  font-weight: 300;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.55;
  margin: 0 0 16px;
}
.mega-feature-cta {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  color: var(--gold-warm);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mega-feature-cta i {
  font-style: normal;
  transition: transform .3s var(--ease-out);
}
.mega-feature:hover .mega-feature-cta i { transform: translateX(4px); }

/* Hide mega on small screens - mobile drawer handles nav */
@media (max-width: 1080px) {
  .mega { display: none; }
}

/* Hamburger / Mobile drawer */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  margin: 7px 0;
  transition: transform .3s, opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* =========================================================
   MOBILE DRAWER
   ========================================================= */
.mobile-drawer {
  position: fixed;
  inset: 0;
  /* .site-header has backdrop-filter, which makes it the containing block for
     this fixed child. With plain inset:0 the drawer is sized to the header
     (~86px) and the nav gets clipped. Pin top/left/right to it but take the
     height from the viewport (dvh) so the panel fills the screen. */
  bottom: auto;
  height: 100vh;
  height: 100dvh;
  background: #0e0d0c;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.is-open { transform: translateX(0); }
body.menu-locked { overflow: hidden; }

/* Top bar: brand + close */
.md-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(166, 130, 69, .18);
  flex-shrink: 0;
}
.md-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--white);
  gap: 2px;
}
.md-brand .brand-mono { font-size: 30px; }
.md-brand .brand-name {
  font-family: var(--serif);
  font-size: 9px;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.md-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.md-close:hover, .md-close:active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* Main nav list */
.md-nav {
  flex: 1;
  padding: 12px 24px 28px;
}
.md-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.md-nav > ul > li {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.md-nav > ul > li > a {
  display: block;
  padding: 22px 4px;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  transition: color .25s, padding-left .25s;
}
.md-nav > ul > li > a::before { content: none; }
.md-nav > ul > li > a:hover,
.md-nav > ul > li > a:active {
  color: var(--gold-warm);
  padding-left: 8px;
}

/* Accordion */
/* Föräldranivåerna är länkar till översiktssidan; plus-knappen fäller bara ut.
   Grid på li:t behåller syskonordningen trigger + .md-acc-panel som reglerna
   nedan bygger på (adjacent sibling). */
.md-accordion,
.md-countries > li.md-acc {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.md-accordion > .md-acc-panel,
.md-countries > li.md-acc > .md-acc-panel { grid-column: 1 / -1; }
.md-acc-link {
  display: block;
  padding: 22px 4px;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  transition: color .25s, padding-left .25s;
}
.md-acc-link::before { content: none; }
.md-acc-link:hover,
.md-acc-link:focus-visible { color: var(--gold-warm); }
.md-acc-link--sm { padding: 16px 4px; font-size: 18px; }

.md-acc-trigger {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px 4px 22px 18px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition: color .25s;
}
.md-acc-trigger:hover { color: var(--gold-warm); }
.md-acc-trigger[aria-expanded="true"] { color: var(--gold-warm); }

/* Plus / minus icon */
.md-plus {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.md-plus::before, .md-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.md-plus::before {
  top: 50%; left: 0; right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}
.md-plus::after {
  left: 50%; top: 0; bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
}
.md-acc-trigger[aria-expanded="true"] .md-plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

/* Accordion panel - uses grid-template-rows trick for animated height */
.md-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .45s var(--ease-out);
}
.md-acc-panel > * {
  overflow: hidden;
  min-height: 0;   /* allow grid child to shrink fully to 0 when collapsed */
  min-width: 0;
  visibility: hidden;
  transition: visibility .25s linear .2s;
}
.md-acc-trigger[aria-expanded="true"] + .md-acc-panel > * {
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.md-acc-trigger[aria-expanded="true"] + .md-acc-panel {
  grid-template-rows: 1fr;
}

/* Country list inside Destinationer accordion */
.md-countries {
  list-style: none;
  margin: 0;
  padding: 0 0 12px 0;
}
.md-countries > li {
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.md-countries > li:first-child { border-top: 0; }

/* Smaller accordion (country with resorts) */
.md-acc-trigger--sm {
  padding: 16px 4px 16px 18px;
  font-size: 18px;
}
.md-acc-trigger--sm .md-plus {
  width: 13px;
  height: 13px;
}

/* Resort list inside country accordion */
.md-acc-trigger--sm + .md-acc-panel ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.md-acc-trigger--sm + .md-acc-panel li a {
  display: block;
  padding: 10px 0;
  color: rgba(255, 255, 255, .72);
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  transition: color .2s, padding-left .2s;
}
.md-acc-trigger--sm + .md-acc-panel li a::before { content: none; }
.md-acc-trigger--sm + .md-acc-panel li a:hover {
  color: var(--gold-warm);
  padding-left: 4px;
}

/* Single-resort countries (no nested accordion) */
.md-country-link {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px !important;
  font-family: var(--serif) !important;
  font-size: 18px !important;
  line-height: 1.2;
}
.md-country-link::before { content: none; }
.md-country-meta {
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, .45);
  text-align: right;
}

/* Drawer footer */
.md-cta {
  padding: 14px 28px 22px;
  flex-shrink: 0;
}
.md-cta .btn-pill {
  width: 100%;
  justify-content: center;
}
.md-foot {
  padding: 24px 28px 36px;
  border-top: 1px solid rgba(166, 130, 69, .18);
  flex-shrink: 0;
}
.md-foot-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.md-foot-line {
  display: block;
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  color: rgba(255, 255, 255, .82);
  padding: 6px 0;
}
.md-foot-line:hover { color: var(--gold-warm); }
.md-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.md-social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: rgba(255, 255, 255, .8);
  transition: color .25s, background-color .25s, border-color .25s;
}
.md-social a:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.md-social a::before { content: none; }

@media (max-width: 1080px) {
  .primary-nav { display: none; }
  /* Mobil/surfplatta: logga till vänster, hamburgare längst till höger. */
  .brand { grid-column: 1; justify-self: start; }
  .hamburger { display: block; grid-column: 3; justify-self: end; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh; /* mobil: svh ändras INTE när URL-baren göms → ingen 100vh-CLS (fallback ovan för äldre browsers) */
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-align: center;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Fallback gradient if image fails */
  background:
    radial-gradient(ellipse at 50% 30%, rgba(220, 160, 80, .28), transparent 55%),
    linear-gradient(180deg, #0c0c0c 0%, #1a1410 35%, #3a2e1f 75%, #1a1a16 100%);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.62) saturate(.85) contrast(1.05) sepia(.18);
  animation: kenburns 22s var(--ease-in-out) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.08) translate(-1%, -1.5%); }
}

/* Self-hosted background video - fyller hela viewporten (cover), zoomad 15% (matchar tidigare YouTube-hero) */
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video video,
.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15); /* 15% zoom */
  border: 0;
  pointer-events: none;
  filter: brightness(.85) saturate(.9) contrast(1.02) sepia(.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.3) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(0,0,0,.18) 100%);
}

.hero-meta {
  position: absolute;
  top: calc(var(--header-h) + 8px);
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 56px;
  pointer-events: none;
  z-index: 1;
}
.hero-meta span {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--gold-soft);
  text-transform: uppercase;
}

.hero-content {
  max-width: 1200px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--gold);
  margin: 0 0 14px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  /* min scales down so "GOLF GETAWAYS" stays on one line down to ~280px viewport */
  font-size: clamp(24px, 8.5vw, 94px);
  color: var(--gold);
  margin: 0 0 36px;
  text-shadow: 0 2px 40px rgba(0,0,0,.6);
  white-space: nowrap;
}

.hero-tagline {
  font-family: var(--body);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255,255,255,.92);
  margin: 0 auto;
  max-width: 760px;
  line-height: 1.55;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.hero-tagline-mark {
  display: block;
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 14px;
}

/* Scroll affordance */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--gold-soft);
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, var(--gold) 100%);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -30%; left: 0;
  width: 100%; height: 30%;
  background: linear-gradient(180deg, transparent, var(--gold-warm));
  animation: scroll-dot 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-dot {
  0%   { top: -30%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.hero-scroll-text {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: none;
}

/* =========================================================
   ORNAMENT (between sections)
   ========================================================= */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 28px;
  color: var(--gold);
}
.ornament.left-align { justify-content: flex-start; }
.ornament span {
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament.left-align span:first-child { background: linear-gradient(90deg, var(--gold), transparent); width: 36px; }
.ornament.left-align span:last-child { display: none; }
.ornament i {
  font-style: normal;
  font-size: 14px;
  opacity: .8;
}

/* Eyebrow above section titles */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 600;
}

/* =========================================================
   SECTION primitives
   ========================================================= */
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 64px);
  color: var(--paper);
  text-align: center;
  margin: 0 0 18px;
  line-height: 1.05;
}
.section-title .serif-italic { color: var(--gold-warm); }
.section-sub {
  text-align: center;
  color: rgba(255,255,255,.7);
  font-family: var(--body);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 auto 56px;
  max-width: 600px;
}

/* =========================================================
   DESTINATIONS
   ========================================================= */
.destinations {
  background:
    radial-gradient(ellipse at 50% -5%, rgba(166,130,69,.16), transparent 55%),
    var(--ink);
  color: var(--white);
  padding: 140px 0 110px;
  position: relative;
}
.destinations-head {
  text-align: center;
}

.carousel {
  position: relative;
  padding: 0 80px;
  max-width: 1480px;
  margin: 0 auto;
}

.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform .8s var(--ease-out);
  will-change: transform;
}

.card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.04);
  transform: scale(1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease-out);
  /* OBS: inget translateY på hover - det skapar hover-jitter eftersom
     kortets bounding-rect då flyttas under muspekaren och hover-statet
     flimrar av/på. Skala enbart (vilket växer både upp och ned från
     center) + en mjuk shadow ger lyft-känslan utan flicker. */
}
.card:hover {
  transform: scale(1.04);
  border-color: rgba(166, 130, 69, .28);
  box-shadow: 0 28px 60px -16px rgba(0, 0, 0, .55);
  z-index: 2;
}
.card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--img, linear-gradient(135deg, #2a2622, #3a2e1f)) center/cover no-repeat;
  filter: brightness(.78) saturate(.8) contrast(1.05) sepia(.15);
  transition: transform 1.6s var(--ease-out), filter .8s var(--ease-out);
}
/* Lazy/responsiv kort-bild (ersätter --img-bakgrunden). Ärver filter + hover-scale
   från .card-bg ovan (filter appliceras på hela subträdet). */
.card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-grad {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%),
    linear-gradient(180deg, rgba(166,130,69,.05) 0%, transparent 30%);
  transition: opacity .5s var(--ease-out);
}
.card:hover .card-bg { transform: scale(1.06); filter: brightness(.85) saturate(.95) contrast(1.05) sepia(.1); }

/* Card tag (e.g. "Hett just nu") */
.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  background: rgba(15, 14, 12, .72);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  border: 1px solid rgba(166, 130, 69, .55);
  color: var(--gold-warm);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.card-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-warm);
  box-shadow: 0 0 0 0 rgba(217, 182, 119, .8);
  animation: tagPulse 1.8s ease-out infinite;
}
@keyframes tagPulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 182, 119, .65); }
  70%  { box-shadow: 0 0 0 10px rgba(217, 182, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 182, 119, 0); }
}

.card-meta {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: var(--white);
  z-index: 2;
}
.card-meta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.1;
}
.card-loc {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold-warm);
  text-transform: uppercase;
}
.card-cta {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold-warm);
  text-transform: uppercase;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.card-cta i {
  font-style: normal;
  margin-left: 6px;
  display: inline-block;
  transition: transform .35s var(--ease-out);
}
.card:hover .card-cta { opacity: 1; transform: translateY(0); }
.card:hover .card-cta i { transform: translateX(4px); }

/* Carousel controls */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  z-index: 5;
  transition: background-color .3s, color .3s, border-color .3s;
}
.carousel-nav:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.carousel-nav.prev { left: 12px; }
.carousel-nav.next { right: 12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}
.carousel-dots button {
  width: 22px;
  height: 1px;
  border-radius: 0;
  border: 0;
  background: rgba(255,255,255,.2);
  padding: 0;
  cursor: pointer;
  transition: background .3s, width .3s;
}
.carousel-dots button.is-active {
  background: var(--gold);
  width: 38px;
}

@media (max-width: 1024px) {
  .card { flex: 0 0 calc((100% - 24px) / 2); }
  .carousel { padding: 0 56px; }
}
@media (max-width: 720px) {
  .card { flex: 0 0 100%; aspect-ratio: 4/5; }
  .carousel { padding: 0 40px; }
  .carousel-nav { width: 44px; height: 44px; }
}

/* =========================================================
   TAGLINE / SPLIT CTA
   ========================================================= */
.tagline-cta {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.tagline-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(220, 180, 110, .3), transparent 60%),
    linear-gradient(180deg, #14110b 0%, #6b4a25 55%, #14180b 100%);
}
.tagline-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.55) saturate(.8) contrast(1.08) sepia(.22);
}
.tagline-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.6) 100%);
}

.tagline-content {
  max-width: 1080px;
  padding: 120px 24px;
}
.kicker {
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-warm);
  margin: 0 0 22px;
}
.kicker-light { color: var(--gold-warm); }
.kicker-gold {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 22px;
}
.tagline-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 80px);
  color: var(--paper);
  line-height: 1.05;
  margin: 0 0 28px;
}
.tagline-title .serif-italic { color: var(--gold-warm); }
.tagline-sub {
  font-family: var(--body);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(255,255,255,.88);
  margin: 0 auto 40px;
  max-width: 680px;
  line-height: 1.65;
}

/* Pill button */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 36px 17px 40px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color .3s var(--ease-out);
}
.btn-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease-out);
  z-index: 0;
}
.btn-pill:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-pill > * { position: relative; z-index: 1; }
.btn-pill i {
  font-style: normal;
  font-size: 14px;
  transition: transform .35s var(--ease-out);
}
.btn-pill:hover i { transform: translateX(4px); }

/* =========================================================
   TESTIMONIALS - refined, airy
   ========================================================= */
.testimonials {
  background: var(--ink);
  color: var(--white);
  padding: 180px 0 200px;
  position: relative;
}
.testimonials::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(480px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166,130,69,.45), transparent);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 140px;
  align-items: center;
  max-width: 1240px;
}

/* Intro column */
.testimonials-intro { padding-right: 12px; }
.testimonials-intro .eyebrow { color: var(--gold); margin-bottom: 22px; }
.t-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 54px);
  color: var(--paper);
  margin: 0 0 28px;
  line-height: 1.05;
}
.t-title .serif-italic { color: var(--gold-warm); }
.t-sub {
  color: rgba(255,255,255,.6);
  font-family: var(--body);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 380px;
}

/* Quote column */
.t-carousel {
  position: relative;
  padding: 0;
  margin: 0;
}
.t-quote-mark {
  position: absolute;
  top: -100px;
  left: -30px;
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 320px;
  line-height: 1;
  color: rgba(166,130,69,.10);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.t-carousel .carousel-viewport {
  background: transparent;
  border: 0;
  padding: 0;
  overflow: hidden;
}
.t-card {
  flex: 0 0 100%;
  list-style: none;
  text-align: left;
  padding: 30px 8px 20px;
  position: relative;
}
.t-quote {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.45;
  color: rgba(255,255,255,.94);
  margin: 0 0 56px;
  max-width: 620px;
}
.t-divider {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 26px;
  position: relative;
}
.t-divider::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.t-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--gold-warm);
  margin: 0 0 8px;
}
.t-loc {
  font-family: var(--body);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  display: block;
}

/* Controls - minimal text-style nav with dots between */
.t-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.t-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.7);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 0;
  cursor: pointer;
  transition: color .25s ease, gap .3s ease;
}
.t-nav:hover { color: var(--gold-warm); gap: 14px; }
.t-nav svg { transition: transform .35s var(--ease-out); }
.t-nav.prev:hover svg { transform: translateX(-3px); }
.t-nav.next:hover svg { transform: translateX(3px); }

/* Override generic dots inside t-controls so they're centered */
.t-controls .t-dots {
  margin: 0;
  flex: 1;
  justify-content: center;
}

@media (max-width: 980px) {
  .testimonials { padding: 130px 0 140px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 60px; }
  .testimonials-intro { padding-right: 0; }
  .t-quote-mark { font-size: 200px; top: -60px; left: -18px; }
  .t-quote { margin-bottom: 42px; }
}
@media (max-width: 560px) {
  .t-controls { flex-wrap: wrap; gap: 16px; }
  .t-controls .t-dots { order: -1; flex-basis: 100%; }
  .t-nav span { display: none; }
  /* Recensions-citat: bättre balans på mobil. Tar bort höger-trängseln genom att
     minska citatets storlek, nolla kortets sido-padding (så citatet linjerar med
     rubriken) och krympa det dekorativa citattecknet som annars dominerar. */
  .t-card { padding: 20px 0 16px; }
  .t-quote {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: none;
    overflow-wrap: break-word;
  }
  .t-quote-mark { font-size: 116px; top: -24px; left: -4px; }
  .t-card h3 { font-size: 20px; }
}

/* =========================================================
   CTA - TAILORED TRIP
   ========================================================= */
.cta-tailored {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(166,130,69,.22), transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(166,130,69,.06), transparent 50%),
    var(--ink);
  color: var(--white);
  padding: 130px 24px 160px;
  position: relative;
  overflow: hidden;
}
.cta-content {
  text-align: center;
  position: relative;
}
.cta-title {
  font-family: var(--serif);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(40px, 5.4vw, 76px);
  color: var(--gold);
  line-height: 1.05;
  margin: 0 auto 22px;
  max-width: 920px;
}
.cta-sub {
  font-family: var(--body);
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  color: rgba(255,255,255,.72);
  margin: 0 0 40px;
}
.cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
@media (max-width: 540px) {
  .cta-actions { flex-direction: column; gap: 12px; }
  .cta-actions > * { width: 100%; justify-content: center; }
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color .35s var(--ease-out);
}
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease-out);
  z-index: 0;
}
.btn-outline:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-outline:hover { color: var(--ink); }
.btn-outline > * { position: relative; z-index: 1; }
.btn-outline i {
  font-style: normal;
  font-size: 14px;
  transition: transform .35s var(--ease-out);
}
.btn-outline:hover i { transform: translateX(4px); }

/* =========================================================
   NEWSLETTER BAR
   ========================================================= */
.newsletter-bar {
  position: relative;
  padding: 80px 24px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.newsletter-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(166,130,69,.95) 0%, rgba(154,114,57,.93) 50%, rgba(122,90,46,.95) 100%);
}
.newsletter-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: overlay;
  opacity: .25;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter-copy .kicker {
  color: rgba(255,255,255,.85);
  margin-bottom: 10px;
}
.nl-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.1;
}
.nl-title .serif-italic { color: var(--ink); }
.nl-sub {
  font-family: var(--body);
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  color: rgba(255,255,255,.88);
  margin: 0;
  max-width: 420px;
  line-height: 1.65;
}

.newsletter-form {
  display: flex;
  gap: 0;
  align-items: stretch;
  justify-content: flex-end;
  position: relative;
  border-bottom: 1.5px solid rgba(255,255,255,.85);
  max-width: 520px;
  margin-left: auto;
  width: 100%;
}
.newsletter-form input[type=email] {
  flex: 1;
  height: 64px;
  padding: 0 8px 0 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: 22px;
  outline: none;
}
.newsletter-form input::placeholder {
  color: rgba(255,255,255,.6);
  font-style: italic;
}
.newsletter-form button {
  height: 64px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color .25s, gap .25s;
}
.newsletter-form button:hover { gap: 18px; color: var(--ink); }
.newsletter-form button i { font-style: normal; font-size: 14px; }
/* Nyhetsbrev: tillstånd satta av assets/js/newsletter.js (bar + sidfot).
   Kvittot skrivs som placeholder i e-postfältet, så det måste ha kontrast mot
   SIN bakgrund: baren ligger på guldgradienten, sidfoten på ink. Ingen opacity
   på is-sent/is-error - ett meddelande som ska läsas får inte dämpas. */
.newsletter-form.is-busy, .footer-newsletter.is-busy { opacity: .7; pointer-events: none; }

/* Baren: mörk text på guld. */
.newsletter-form.is-sent input[type=email]::placeholder { color: var(--ink); opacity: 1; font-style: normal; font-weight: 600; }
.newsletter-form.is-error input[type=email]::placeholder { color: #5e1512; opacity: 1; font-style: normal; font-weight: 600; }

/* Sidfoten: ljus text på ink. */
.footer-newsletter.is-sent input[type=email]::placeholder { color: var(--gold-warm); opacity: 1; font-style: normal; font-weight: 600; }
.footer-newsletter.is-error input[type=email]::placeholder { color: #ef7a75; opacity: 1; font-style: normal; font-weight: 600; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 880px) {
  .newsletter-grid { grid-template-columns: 1fr; }
  .newsletter-form { max-width: none; margin-left: 0; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 100px 24px 36px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166,130,69,.4), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.brand--footer {
  align-items: flex-start;
}
.brand--footer .brand-name { color: var(--gold-soft); }
.footer-tagline {
  font-family: var(--body);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin: 20px 0 0;
  max-width: 200px;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--serif-italic);
  font-style: italic;
  color: var(--gold);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 22px;
}

.footer-links, .footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.7);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  transition: color .25s, padding-left .25s;
  display: inline-block;
}
.footer-links a:hover { color: var(--gold-warm); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.75);
  font-family: var(--sans);
  font-size: 14px;
}
.footer-contact svg { color: var(--gold); flex-shrink: 0; }
.footer-contact a { color: inherit; transition: color .25s; }
.footer-contact a:hover { color: var(--gold-warm); }

.social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  transition: color .25s, border-color .25s, background-color .25s;
}
.social a:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.footer-col--nl .footer-nl-title {
  font-family: var(--serif-italic) !important;
  font-style: italic;
  color: var(--gold) !important;
  font-size: 24px !important;
  margin: 0 0 10px !important;
  font-weight: 400 !important;
}
.footer-nl-sub {
  font-family: var(--body);
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin: 0 0 22px;
  line-height: 1.65;
  max-width: 280px;
}
.footer-newsletter {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,.25);
  max-width: 320px;
  position: relative;
}
.footer-newsletter input[type=email] {
  flex: 1;
  height: 48px;
  padding: 0 8px 0 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: 16px;
  outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.45); font-style: italic; }
.footer-newsletter input:focus + button { color: var(--gold-warm); }
.footer-newsletter button {
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  transition: color .25s, gap .25s;
}
.footer-newsletter button:hover { gap: 14px; color: var(--gold-warm); }
.footer-newsletter button i { font-style: normal; font-size: 13px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 70px;
  padding-top: 30px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-family: var(--sans);
  color: rgba(255,255,255,.4);
  font-size: 11px;
  margin: 0;
}
.footer-credit {
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: 13px !important;
}

/* Desktop/tablet (rad-layout): putta copyright-texten åt höger så den
   inte hamnar bakom den fasta cookie-knappen (FAB) nere till vänster. */
@media (min-width: 621px) {
  .footer-bottom p:first-child { padding-left: 64px; }
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; }
}

/* =========================================================
   SUBPAGE - DESTINATION DETAIL (Costa Navarino, etc.)
   ========================================================= */

/* Stretched anchor inside a .card (makes whole card clickable) */
.card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
}

/* ---- COUNTRY INTRO (centered text + stats) ---- */
.country-intro {
  background: var(--ink);
  color: rgba(255,255,255,.86);
  padding: 130px 0 100px;
  text-align: center;
}
.country-intro-inner {
  max-width: 880px;
  text-align: center;
}
.country-intro .kicker-gold { margin-bottom: 18px; }
.country-lead {
  font-family: var(--body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,.86);
  margin: 0 auto 56px;
  max-width: 720px;
}
.country-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(166,130,69,.18);
  border-bottom: 1px solid rgba(166,130,69,.18);
  padding: 36px 0;
}
.country-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.country-stats span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 46px);
  color: var(--gold-warm);
  line-height: 1;
}
.country-stats em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
/* Fewer than 3 stats: center within the band instead of a sparse 3-col row */
.country-stats--1 {
  grid-template-columns: auto;
  justify-content: center;
}
.country-stats--2 {
  grid-template-columns: repeat(2, minmax(0, 200px));
  justify-content: center;
}

/* ---- COUNTRY DESTINATIONS GRID (3-up) ---- */
.country-destinations {
  background: var(--ink-2);
  color: var(--white);
  padding: 110px 0 130px;
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.country-grid .card {
  flex: none;
  aspect-ratio: 3 / 4;
}
/* Centrera korten när blocket bara har 1–2 resorter (annars vänsterställt i 3-kol-griden).
   Två-klass-selektorn vinner över media-query-reglerna; auto-fit fäller till 1 kolumn på
   mobil så 2-kortsgrider staplar rätt. justify-content centrerar bara när spåren ej är 1fr. */
.country-grid.country-grid--center {
  grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
  justify-content: center;
}

@media (max-width: 980px) {
  .country-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .country-grid { grid-template-columns: 1fr; }
  /* Stat blocks are compact (number + short label) and stay 3-up on tablet;
     stack them only on phones so tablet width isn't wasted. */
  .country-stats { grid-template-columns: 1fr; gap: 20px; }
  .country-intro,
  .country-destinations { padding: 90px 0; }
}

/* ---- ALL DESTINATIONS (overview page, grouped by country) ---- */
.all-destinations {
  background:
    radial-gradient(ellipse at 50% -5%, rgba(166,130,69,.16), transparent 55%),
    var(--ink);
  color: var(--white);
  padding: 140px 0 120px;
  position: relative;
}
.all-destinations .destinations-head { margin-bottom: 80px; }

.country-block { margin-bottom: 84px; }
.country-block:last-child { margin-bottom: 0; }

.country-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(166,130,69,.22);
}
.country-block-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  color: var(--paper);
  line-height: 1.1;
  margin: 0;
}
.country-block-count {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 12px;
  white-space: nowrap;
}
.country-block-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s var(--ease-out);
}
.country-block-link i {
  font-style: normal;
  display: inline-block;
  margin-left: 4px;
  transition: transform .3s var(--ease-out);
}
.country-block-link:hover { color: var(--gold-warm); }
.country-block-link:hover i { transform: translateX(4px); }

@media (max-width: 560px) {
  .all-destinations { padding: 100px 0 90px; }
  .all-destinations .destinations-head { margin-bottom: 56px; }
  .country-block { margin-bottom: 64px; }
  .country-block-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---- FEATURE GRID (text cards: Om oss "Det vi erbjuder", vision/mission) ---- */
.feature-grid-section {
  background: var(--ink-2);
  color: var(--white);
  padding: 130px 0 120px;
}
.feature-grid-head { text-align: center; }
.feature-grid {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}
.feature-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: var(--ink-3);
  border: 1px solid rgba(166, 130, 69, .18);
  padding: 42px 40px;
  position: relative;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
/* Thin gold accent rule at the top edge of each card */
.feature-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 48px;
  height: 2px;
  background: var(--gold);
  transition: width .4s var(--ease-out);
}
.feature-card:hover {
  border-color: rgba(166, 130, 69, .42);
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .6);
}
.feature-card:hover::before { width: 88px; }
.feature-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 27px);
  color: var(--paper);
  line-height: 1.2;
  margin: 0 0 16px;
}
.feature-card-title em {
  font-family: var(--serif-italic);
  font-style: italic;
  color: var(--gold-warm);
}
.feature-card-body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .72);
  margin: 0;
}
@media (max-width: 980px) {
  /* 3-up grids step down to 2 on tablet instead of going straight to 1 */
  .feature-grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .feature-grid-section { padding: 90px 0; }
  .feature-card { padding: 34px 28px; }
}
@media (max-width: 640px) {
  /* Single column only on phones - keep 2-up on tablet */
  .feature-grid--cols-2,
  .feature-grid--cols-3 { grid-template-columns: 1fr; }
}

/* ---- FAQ (Om oss: vanliga frågor, accordion) ---- */
.faq-section {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--ink);
  color: var(--white);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--ink-3);
  border: 1px solid rgba(166, 130, 69, .18);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .4s var(--ease-out), box-shadow .5s var(--ease-out);
}
.faq-item:hover,
.faq-item[open] {
  border-color: rgba(166, 130, 69, .42);
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .6);
}
.faq-q {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.35;
  color: var(--paper);
}
.faq-q em { font-family: var(--serif-italic); font-style: italic; color: var(--gold-warm); }
summary.faq-q {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 64px 24px 28px;
  cursor: pointer;
  list-style: none;
  transition: color .3s var(--ease-out);
}
summary.faq-q::-webkit-details-marker { display: none; }
summary.faq-q:hover { color: var(--gold-warm); }
/* Plus/minus drawn as two bars so it morphs smoothly between + and - */
summary.faq-q::before,
summary.faq-q::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  background: var(--gold-soft);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), background-color .3s var(--ease-out);
}
summary.faq-q::after { transform: rotate(90deg); }
summary.faq-q:hover::before,
summary.faq-q:hover::after { background: var(--gold-warm); }
.faq-item[open] summary.faq-q { color: var(--gold-warm); }
.faq-item[open] summary.faq-q::after { transform: rotate(0deg); }
/* Animated panel: NO padding here so it can collapse fully to height:0.
   JS animates this element's height; padding lives on .faq-a-inner. */
.faq-a {
  overflow: hidden;
  transition: height .4s var(--ease-out);
}
.faq-a-inner {
  padding: 0 28px 26px;
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.8;
}
.faq-a-inner p { margin: 0 0 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner a {
  color: var(--gold-warm);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .3s var(--ease-out);
}
.faq-a-inner a:hover { color: var(--gold-soft); }
@media (max-width: 640px) {
  .faq-section { padding: 72px 0; }
  summary.faq-q { padding: 20px 52px 20px 20px; font-size: 17px; }
  summary.faq-q::before,
  summary.faq-q::after { right: 20px; }
  .faq-a-inner { padding: 0 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  summary.faq-q::before,
  summary.faq-q::after,
  .faq-a { transition: none; }
}

/* =========================================================
   NEWS (Nyheter - posts as carousel/grid) + single article
   ========================================================= */
.news-section {
  background: var(--ink);
  color: var(--white);
  /* Top padding clears the fixed site-header (this page has no hero). */
  padding: 132px 0 96px;
  position: relative;
}
.news-section--grid {
  background: var(--ink-2);
  padding-top: 40px;
}

/* Shared news card (used in both carousel <li> and grid <article>) */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-3);
  border: 1px solid rgba(166, 130, 69, .18);
  overflow: hidden;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.news-card:hover {
  border-color: rgba(166, 130, 69, .42);
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .6);
}
.news-card-link { position: absolute; inset: 0; z-index: 3; }
.news-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.news-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.92) saturate(.95);
  transition: transform 1.2s var(--ease-out);
}
.news-card:hover .news-card-bg { transform: scale(1.05); }

/* Touch-enheter (mobil): webbläsaren emulerar :hover vid tryck/svep, vilket fick
   karusellkorten att "blinka" ljusare (hover höjer brightness-filtret) under svepet
   och bli mörka igen vid släpp. Neutralisera hover-transform/-filter där det inte
   finns ett riktigt pekdon. Mus-hover (desktop) är oförändrad. */
@media (hover: none) {
  .card:hover { transform: none; }
  .card:hover .card-bg { transform: none; filter: brightness(.78) saturate(.8) contrast(1.05) sepia(.15); }
  .news-card:hover { transform: none; }
  .news-card:hover .news-card-bg { transform: none; }
}
.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 30px 30px;
  flex: 1;
}
.news-card-date {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.news-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.22;
  color: var(--paper);
  margin: 0;
}
.news-card-excerpt {
  font-family: var(--body);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
  margin: 0;
}
.news-card-cta {
  margin-top: auto;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.news-card-cta i { font-style: normal; display: inline-block; margin-left: 4px; transition: transform .3s var(--ease-out); }
.news-card:hover .news-card-cta i { transform: translateX(4px); }

/* Carousel context: 3-up cards (matches .card sizing) */
.carousel-track .news-card { flex: 0 0 calc((100% - 48px) / 3); }

/* Grid context */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Static carousel (cards <= visible): center, no nav/dots */
.carousel--static { padding: 0; }
.carousel--static .carousel-track { justify-content: center; }
.carousel--static .carousel-nav { display: none; }
.carousel--static ~ .carousel-dots { display: none; }

/* JS-karusell där allt redan ryms på nuvarande bredd (maxIndex 0): dölj nav/dots, centrera.
   Sätts av carousel-JS:en per breakpoint → t.ex. 2 nyhetskort = centrerade utan döda pilar
   på desktop, men svepbara med dots på mobil. */
.carousel--nonav .carousel-nav { display: none; }
.carousel--nonav ~ .carousel-dots { display: none; }
.carousel--nonav .carousel-track { justify-content: center; }

@media (max-width: 980px) {
  .carousel-track .news-card { flex: 0 0 calc((100% - 24px) / 2); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-section { padding: 116px 0 72px; }
  .carousel-track .news-card { flex: 0 0 100%; }
  .news-grid { grid-template-columns: 1fr; }
}

/* ---- SINGLE ARTICLE (post) ---- */
.single-article {
  background: var(--ink);
  color: rgba(255, 255, 255, .86);
  /* Clear the fixed header (no hero on articles). */
  padding: 136px 24px 110px;
}
.single-article .article-header { text-align: center; margin-bottom: 40px; }
.single-article .article-eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.single-article .article-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  color: var(--paper);
  margin: 0;
}
.single-article .article-title em { font-family: var(--serif-italic); font-style: italic; color: var(--gold-warm); }
.single-article .article-featured { margin: 0 auto 48px; }
.single-article .article-featured img { width: 100%; height: auto; display: block; }
.single-article .article-content {
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.85;
}
/* Brödtextens typografi gäller bara innehållets direkta barn (>): fullbreddsblocken
   .article-cta / .article-full (CTA, FAQ) behåller sina egna sektionsstilar. */
.single-article .article-content > h2,
.single-article .article-content > h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--paper);
  line-height: 1.2;
  margin: 1.8em 0 .5em;
}
.single-article .article-content > h2 { font-size: clamp(24px, 2.4vw, 32px); }
.single-article .article-content > h3 { font-size: clamp(20px, 2vw, 25px); color: var(--gold-warm); }
.single-article .article-content > p { margin: 0 0 1.2em; }
.single-article .article-content > p a,
.single-article .article-content > ul a,
.single-article .article-content > ol a,
.single-article .article-content > .wp-block-table a { color: var(--gold-warm); text-decoration: underline; text-underline-offset: 3px; }
.single-article .article-content > ul,
.single-article .article-content > ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.single-article .article-content > ul li,
.single-article .article-content > ol li { margin: 0 0 .5em; }
.single-article .article-content > p strong,
.single-article .article-content > ul strong,
.single-article .article-content > ol strong { color: var(--paper); font-weight: 600; }
/* Författare + datum under titeln (single.html .article-meta). */
.single-article .article-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  margin-top: 18px;
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-warm);
}
.single-article .article-meta > * { margin: 0; }
.single-article .article-author::before { content: "Av "; color: rgba(255,255,255,.5); }
.single-article .article-published::before { content: "Publicerad "; color: rgba(255,255,255,.5); }
.single-article .article-updated::before { content: "Uppdaterad "; color: rgba(255,255,255,.5); }
/* Tabeller i artiklar (wp:table). */
.single-article .article-content > .wp-block-table { margin: 0 0 1.6em; overflow-x: auto; }
.single-article .article-content > .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.single-article .article-content > .wp-block-table th, .single-article .article-content > .wp-block-table td {
  padding: 10px 12px; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.single-article .article-content > .wp-block-table th { color: var(--gold-warm); font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.single-article .article-content > .wp-block-table td { color: rgba(255,255,255,.86); }

/* CTA-block sist i artiklar: wp:group alignfull.article-cta runt mönstret cta-tailored.
   Bleeder till viewportkanterna och äter upp main:s bottenpadding så att blocket ligger
   mot sidfoten, som på startsidan. overflow-x: clip tar hand om 100vw + scrollbar. */
.single-article > .article-content { max-width: none; }  /* släpp main:s 780px-grind; barnen är fortsatt 780 via post-content-layouten */
.single-article .article-content > .article-cta,
.single-article .article-content > .article-full {
  width: calc(100% + 48px);          /* main:s sidopadding 24px + 24px */
  max-width: none;
  margin: 72px -24px 0;
}
.single-article .article-content > .article-cta { margin-bottom: -110px; }  /* = main:s bottenpadding → mot sidfoten */
.single-article .article-content > .article-full + .article-cta { margin-top: 0; }

/* =========================================================
   CONTACT (Kontakt - e-post/telefon-rutor)
   ========================================================= */
.contact-section {
  background: var(--ink);
  color: var(--white);
  padding: 120px 0 130px;
}
.contact-head { text-align: center; margin-bottom: 56px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: var(--ink-3);
  border: 1px solid rgba(166, 130, 69, .18);
  padding: 52px 40px;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.contact-card:hover {
  border-color: rgba(166, 130, 69, .42);
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .6);
}
.contact-card-link { position: absolute; inset: 0; z-index: 3; }
.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid rgba(166, 130, 69, .4);
  background: rgba(166, 130, 69, .06);
}
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-card-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.9vw, 25px);
  color: var(--paper);
  line-height: 1.2;
  transition: color .3s var(--ease-out);
}
.contact-card:hover .contact-card-value { color: var(--gold-warm); }

@media (max-width: 640px) {
  .contact-section { padding: 90px 0 96px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 40px 28px; }
}

/* =========================================================
   CONTACT FORM (Kontakt - meddelandeformulär)
   ========================================================= */
.contact-form-section {
  background: var(--ink);
  color: var(--paper);
  padding: 0 0 130px;
}
.contact-form-head { text-align: center; margin-bottom: 44px; }
.contact-form-wrap { max-width: 640px; margin: 0 auto; }
.contact-form {
  background: var(--ink-3);
  border: 1px solid rgba(166, 130, 69, .18);
  padding: 50px 46px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-form .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cf-field { position: relative; }
.cf-field input,
.cf-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 22px 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  outline: none;
  transition: border-color .25s var(--ease-out);
}
.cf-field textarea {
  min-height: 122px;
  line-height: 1.6;
  resize: vertical;
}
.cf-field input:focus,
.cf-field textarea:focus { border-color: var(--gold); }
.cf-field label {
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  color: rgba(255, 255, 255, .5);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--ease-out), color .25s;
}
.cf-field input:focus ~ label,
.cf-field input:not(:placeholder-shown) ~ label,
.cf-field textarea:focus ~ label,
.cf-field textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-20px) scale(.72);
  color: var(--gold-warm);
}
.cf-field--invalid input,
.cf-field--invalid textarea { border-bottom-color: #c66; }
.cf-field--invalid label { color: #c66; }
/* Honeypot - off-screen, ej display:none (vissa bottar hoppar över dolda fält). */
.cf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cf-actions { text-align: center; margin-top: 4px; }
.contact-form .btn-pill { border: 0; cursor: pointer; }
.contact-form .btn-pill span { position: relative; z-index: 1; }
.contact-form .btn-pill[disabled] { opacity: .6; cursor: default; }
.cf-status {
  text-align: center;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  margin: 2px 0 0;
  min-height: 1.2em;
}
.cf-status--error { color: #e0a3a3; }
.cf-status--success { color: var(--gold-warm); }
/* Efter lyckat utskick: dölj fälten, visa bara tack-meddelandet. */
.contact-form.is-sent { align-items: center; }
.contact-form.is-sent > *:not(.cf-status) { display: none; }
.contact-form.is-sent .cf-status--success {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--paper);
  padding: 18px 0;
}
@media (max-width: 640px) {
  .contact-form { padding: 38px 26px; }
  .contact-form .cf-row { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   PARTNERS (Samarbetspartners - logo-karusell)
   ========================================================= */
.partners-section {
  background: var(--ink);
  color: var(--white);
  padding: 130px 0 120px;
}
/* Editor preview grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Carousel context: 3-up */
.carousel-track .partner-card { flex: 0 0 calc((100% - 48px) / 3); }

.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-3);
  border: 1px solid rgba(166, 130, 69, .18);
  overflow: hidden;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.partner-card:hover {
  border-color: rgba(166, 130, 69, .42);
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .6);
}
.partner-card-link { position: absolute; inset: 0; z-index: 3; }
.partner-logo {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 32px;
  min-height: 156px;
}
.partner-logo img,
.partner-logo .partner-logo-img {
  max-width: 100%;
  max-height: 84px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.partner-logo-ph {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.partner-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 28px 30px;
  flex: 1;
}
.partner-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.9vw, 24px);
  color: var(--paper);
  line-height: 1.2;
  margin: 0;
}
.partner-cat {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.partner-cta {
  margin-top: auto;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.partner-cta i { font-style: normal; display: inline-block; margin-left: 4px; transition: transform .3s var(--ease-out); }
.partner-card:hover .partner-cta i { transform: translateX(4px); }

@media (max-width: 980px) {
  .carousel-track .partner-card { flex: 0 0 calc((100% - 24px) / 2); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .partners-section { padding: 90px 0; }
  .carousel-track .partner-card { flex: 0 0 85%; }
  .partners-grid { grid-template-columns: 1fr; }
}

/* Static partners (<=3 partners) = responsiv centrerad grid i stället för en
   kapad karusell: container-rännor (ej kant-i-kant) + wrap så inga kort göms.
   Scopad till .partners-section → Nyheter/Destinationer-karuseller orörda.
   >3 partners faller tillbaka på den vanliga karusellen (pilar/dots/svep). */
.partners-section .carousel--static {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.partners-section .carousel--static .carousel-viewport { overflow: visible; }
.partners-section .carousel--static .carousel-track { flex-wrap: wrap; }
@media (max-width: 640px) {
  .partners-section .carousel--static .carousel-track .partner-card { flex-basis: 100%; }
}

/* Char delay for 14-letter titles (e.g. COSTA NAVARINO) */
.hero-title.in-view .char:nth-child(14) { transition-delay: .57s; }

/* Page-hero variant - slightly tighter title so longer names fit */
.hero-title--page {
  font-size: clamp(22px, 7.6vw, 84px);
  letter-spacing: .01em;
}

/* Long country names (e.g. "Dominikanska Rep.") - scale down further.
   gg_char_split() makes the space a non-breaking char, so the title stays
   on one line; this keeps it from overflowing on small viewports. */
.hero-title--long {
  font-size: clamp(16px, 5vw, 58px);
  letter-spacing: 0;
}

/* RichText italic (<em>) in country headings = the design's serif-italic accent.
   Section/tagline titles use the warm gold; cta-title inherits its own gold. */
.section-title em,
.tagline-title em,
.cta-title em {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 400;
}
.section-title em,
.tagline-title em { color: var(--gold-warm); }

/* Left-aligned section title for split layouts */
.section-title--left {
  text-align: left;
  margin: 0 0 22px;
  font-size: clamp(32px, 3.6vw, 52px);
}

/* ---- INTRO (two-column) ---- */
.dest-intro {
  background: var(--ink);
  color: rgba(255,255,255,.86);
  padding: 130px 0 110px;
}
.dest-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 88px;
  align-items: center;
}
.dest-intro-copy p {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  margin: 0 0 18px;
}
.dest-intro-copy .dest-lead {
  font-size: 18px;
  color: rgba(255,255,255,.92);
}
.dest-intro-cta { margin-top: 28px; }
.dest-intro-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(166,130,69,.18);
}
.dest-intro-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.82) saturate(.9) contrast(1.04) sepia(.1);
  transition: transform 1.6s var(--ease-out);
}
.dest-intro-image:hover img { transform: scale(1.04); }

/* ---- SPLIT (image + copy, alternating) ---- */
.split {
  background: var(--ink-2);
  color: rgba(255,255,255,.86);
  padding: 110px 0;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse .split-grid > .split-image { order: 2; }
.split-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(166,130,69,.18);
}
.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.82) saturate(.9) contrast(1.04) sepia(.1);
  transition: transform 1.6s var(--ease-out);
}
.split-image:hover img { transform: scale(1.04); }
.split-copy p {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
  margin: 0 0 22px;
}
.split-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.split-list li {
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  padding: 14px 0 14px 26px;
  border-top: 1px solid rgba(166,130,69,.14);
  position: relative;
}
.split-list li:last-child { border-bottom: 1px solid rgba(166,130,69,.14); }
.split-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 14px; height: 1px;
  background: var(--gold);
}
.split-list li span {
  font-family: var(--serif-italic);
  font-style: italic;
  color: var(--gold-warm);
  font-size: 17px;
  margin-right: 6px;
}

/* ---- COURSES (2x2 card grid) ---- */
.courses {
  background:
    radial-gradient(ellipse at 50% -5%, rgba(166,130,69,.12), transparent 55%),
    var(--ink);
  color: var(--white);
  padding: 130px 0 120px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.course-card {
  aspect-ratio: 16 / 11;
  flex: none;
}
.course-card .card-meta {
  left: 32px;
  right: 32px;
  bottom: 30px;
}
.course-designer {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold-warm);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.course-card .card-meta h3 {
  font-size: 32px;
  margin: 0 0 10px;
}
.course-desc {
  font-family: var(--body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  margin: 0;
  max-width: 520px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.course-card:hover .course-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ---- AMENITIES (icon tiles) ---- */
.amenities {
  background: var(--ink-2);
  color: var(--white);
  padding: 130px 0 120px;
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.amenity {
  padding: 38px 32px;
  border: 1px solid rgba(166,130,69,.18);
  background: linear-gradient(180deg, rgba(166,130,69,.04), transparent 60%);
  transition: border-color .4s var(--ease-out), background .4s var(--ease-out), transform .4s var(--ease-out);
}
.amenity:hover {
  border-color: rgba(166,130,69,.45);
  background: linear-gradient(180deg, rgba(166,130,69,.08), transparent 60%);
  transform: translateY(-4px);
}
.amenity svg {
  color: var(--gold);
  margin: 0 0 22px;
}
.amenity h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--paper);
  margin: 0 0 10px;
}
.amenity p {
  font-family: var(--body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
  margin: 0;
}

/* ---- TAGLINE CTA - page variant (slightly shorter) ---- */
.tagline-cta--page { min-height: 70vh; }
.tagline-cta--page .tagline-content { padding: 100px 24px; }

/* ---- PACKAGE / PRICE ---- */
.package {
  background: var(--ink);
  color: var(--white);
  padding: 130px 0;
}
.package-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 80px;
  align-items: center;
}
.package-copy p {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
}
.package-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.package-includes li {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  color: rgba(255,255,255,.88);
  padding: 16px 0 16px 36px;
  position: relative;
  border-top: 1px solid rgba(166,130,69,.14);
}
.package-includes li:last-child { border-bottom: 1px solid rgba(166,130,69,.14); }
.package-includes li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 1px;
  background: var(--gold);
}
.package-note {
  font-style: italic;
  color: rgba(255,255,255,.6);
  font-size: 13px;
}

.package-price {
  background: linear-gradient(180deg, rgba(166,130,69,.08), transparent 70%), var(--ink-2);
  border: 1px solid rgba(166,130,69,.32);
  padding: 48px 40px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  position: relative;
}
.package-price::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.price-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold-warm);
  text-transform: uppercase;
}
.price-amount {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  color: var(--paper);
  line-height: 1.1;
  margin: 4px 0 2px;
}
.price-unit {
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: 16px;
  color: rgba(255,255,255,.6);
  margin: 0 0 24px;
}
.package-price .btn-pill { margin-top: 8px; }

/* ---- RELATED (3-up grid) ---- */
.related {
  background: var(--ink-2);
  color: var(--white);
  padding: 120px 0 130px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-grid .card { flex: none; aspect-ratio: 3 / 4; }

/* ---- SUBPAGE RESPONSIVE ---- */
@media (max-width: 980px) {
  .dest-intro-grid,
  .split-grid,
  .package-grid { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split-grid > .split-image { order: 0; }
  .course-grid { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .section-title--left { text-align: left; }
  .package-price { align-items: center; text-align: center; }
}
@media (max-width: 560px) {
  .amenity-grid { grid-template-columns: 1fr; }
  .dest-intro,
  .split,
  .courses,
  .amenities,
  .package,
  .related { padding: 90px 0; }
}

/* =========================================================
   BRÖDSMULOR (över hero på lands-/destinationssidor)
   ========================================================= */
.hero-breadcrumbs {
  position: absolute;
  top: 104px;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
.hero-breadcrumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .25s; }
.hero-breadcrumbs a:hover { color: var(--gold-warm); }
.hero-breadcrumbs .bc-current { color: var(--gold-warm); }
.hero-breadcrumbs .bc-sep { color: rgba(255, 255, 255, .3); }
@media (max-width: 560px) {
  .hero-breadcrumbs { top: 82px; font-size: 10px; letter-spacing: .1em; gap: 6px; }
}

/* =========================================================
   SITEMAP (HTML-sida)
   ========================================================= */
.gg-sitemap-list {
  columns: 2;
  column-gap: 56px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.gg-sitemap-list li { break-inside: avoid; margin: 0 0 12px; }
.gg-sitemap-list a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(166, 130, 69, .35);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.gg-sitemap-list a:hover { color: var(--gold-warm); border-color: var(--gold-warm); }
.footer-sitemap-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-sitemap-link:hover { color: var(--gold-warm); }
.footer-sep { margin: 0 10px; opacity: .45; }
@media (max-width: 560px) { .gg-sitemap-list { columns: 1; } }

/* =========================================================
   ACCESSIBILITY: respect prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero-bg img { animation: none; }
}

/* =========================================================
   404 / ERROR HERO - minimal black-bg hero
   ========================================================= */
.error-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh; /* svh ändras inte när mobil-URL-baren göms */
  display: grid;
  place-items: center;
  text-align: center;
  background: #000;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.error-hero-content {
  max-width: 720px;
  /* generös topp-padding klarar den fasta headern på korta skärmar */
  padding: calc(var(--header-h) + 20px) 24px 80px;
  position: relative;
  z-index: 1;
}
.error-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 6.5vw, 68px);
  line-height: 1.08;
  color: var(--gold);
  margin: 0 0 22px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .6);
}
.error-lead {
  font-family: var(--body);
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.7;
  color: var(--paper);
  max-width: 540px;
  margin: 0 auto;
}
.error-lead a {
  color: var(--gold-warm);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .3s var(--ease-out);
}
.error-lead a:hover { color: var(--gold-soft); }
