/* ===== Track KFUM font — ALWAYS uppercase ===== */
@font-face {
  font-family: 'Track KFUM';
  src: url('/static/fonts/Track_KFUM-Regular.woff2') format('woff2'),
       url('/static/fonts/Track_KFUM-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* Enforce uppercase wherever Track KFUM (--font-heading) is applied.
   This is the single source of truth: every selector that sets
   `font-family: var(--font-heading)` MUST be listed here so the heading
   font never renders mixed case (digits/symbols are unaffected, so adding
   numeric selectors is harmless and future-proofs them).
   Kept at the top of the file on purpose — a later, more specific
   `text-transform: none` can still override it where intended. */
h1, h2, h3, h4, h5,
.nav-logo span,
.mobile-nav a,
.snabblankar-btn,
.btn,
.schedule-time,
.conf-text h3,
.pricing-badge,
.pricing-price .amount,
.pricing-price-dual .price-amount,
.pricing-price-single .price-amount,
.footer-col h4,
.stat-value,
.travel-item .time,
.media-tl-year-badge,
.media-tl-headline,
.impact-amount,
.swish-number,
.policy-content h1,
.policy-content h2,
.htl-eyebrow,
.htl-tab,
.htl-card-year,
.htl-card-title,
.gantt-month {
  text-transform: uppercase;
}

/* ===== CSS Variables ===== */
:root {
  /* Design system */
  --primary-dark: #2D5A3D;
  --primary: #3D7A55;
  --accent: #E8651A;
  --accent-hover: #F0824A;
  --secondary-light: #D4E8D4;
  --secondary-dark: #1A3D2B;
  --neutral: #F5F5F0;
  /* Dämpad grön för gantt-axelns vecko-/dagsiffror. Vald för WCAG AA-kontrast
     (5.7:1 mot --neutral) så småtexten är läsbar, utan opacity-nedtoning. */
  --gantt-axis: #4F6659;

  /* Legacy aliases — keeps all existing CSS working */
  --brevik-forest: #3D7A55;
  --brevik-forest-dark: #2D5A3D;
  --brevik-green: #3D7A55;
  --brevik-green-light: #D4E8D4;
  --brevik-orange: #E8651A;
  --brevik-cream: #F5F5F0;
  --brevik-cream-dark: #1A3D2B;
  --text-light: #ffffff;
  --text-dark: #1A3D2B;
  /* Dämpad vit för mörka/gröna sektioner. 0.92 (ej 0.85) för att klara WCAG AA
     (4.6:1) även mot den ljusaste gröna bakgrunden (--brevik-forest #3D7A55). */
  --text-muted: rgba(255, 255, 255, 0.92);
  --card-bg: rgba(255, 255, 255, 0.10);
  --card-bg-light: rgba(255, 255, 255, 0.07);
  --border-color: rgba(255, 255, 255, 0.20);
  --radius: 0.5rem;
  --font-heading: 'Track KFUM', 'Arial', sans-serif;
  --font-body: 'Hanken Grotesk', 'HK Grotesk', 'Arial', sans-serif;
  --forest-mid:    #5A9E73;
  --forest-pale:   #EBF4EB;
  --orange-pale:   #FDE8D9;
  --radius-lg:     1rem;
  --shadow:        0 4px 24px rgba(26, 61, 43, 0.12);
  --shadow-sm:     0 2px 8px rgba(26, 61, 43, 0.08);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--neutral);
  color: var(--secondary-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brevik-orange);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header & Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.site-header.scrolled {
  background: rgba(245, 245, 240, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(45, 90, 61, 0.15);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

/* Sidor utan mörkt hero (t.ex. integritets-/cookiepolicy, nyhetsdetalj):
   navbaren startar grön så att den vita texten/loggan är läsbar mot den ljusa
   sidbakgrunden. Vid scroll tar .scrolled (högre specificitet) över → ljus. */
.site-header--solid {
  background: var(--brevik-forest-dark);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.35s;
}

.nav-logo img {
  /* Skalar mjukt med skärmen så loggan inte ser krympt ut på stora skärmar */
  height: clamp(40px, 3vw, 58px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.35s;
}

.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.35s;
}

.site-header.scrolled .nav-logo {
  color: var(--primary-dark);
}

.site-header.scrolled .nav-logo img {
  filter: none;
}

/* Snabblänkar dropdown */
.snabblankar-dropdown {
  position: relative;
}

.snabblankar-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #1A1A00;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  white-space: nowrap;
}

.snabblankar-btn:hover {
  background: var(--accent-hover);
}

.snabblankar-btn .chevron {
  flex-shrink: 0;
  transition: transform 0.22s;
}

.snabblankar-btn[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.snabblankar-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.14);
  list-style: none;
  overflow: hidden;
  z-index: 200;
}

.snabblankar-menu.open {
  display: block;
}

.snabblankar-menu li + li {
  border-top: 1px solid hsl(138, 20%, 92%);
}

.snabblankar-menu a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.snabblankar-menu a:hover {
  background: var(--secondary-light);
  color: var(--primary-dark);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s;
}

.site-header.scrolled .hamburger span {
  background: var(--primary-dark);
}

/* Desktop nav links */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 1.5rem;
}

.nav-links-desktop a {
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.35s;
}

.nav-links-desktop a:hover,
.nav-links-desktop a.active {
  opacity: 1;
  color: var(--forest-mid);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header.scrolled .nav-links-desktop a {
  color: var(--primary-dark);
}

.site-header.scrolled .nav-links-desktop a:hover,
.site-header.scrolled .nav-links-desktop a.active {
  color: var(--forest-mid);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .nav-links-desktop {
    gap: 1.25rem;
  }
  .nav-links-desktop a {
    font-size: 0.82rem;
  }
}

@media (max-width: 1000px) {
  .nav-links-desktop {
    display: none;
  }
}

/* Nav dropdown */
.nav-menu-wrap {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  z-index: 200;
  flex-direction: column;
}

.nav-dropdown.open {
  display: flex;
}

.nav-dropdown a {
  display: block;
  padding: 0.85rem 1.5rem;
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-top: 1px solid hsl(138, 20%, 92%);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:first-child {
  border-top: none;
}

.nav-dropdown a:hover {
  background: var(--secondary-light);
  color: var(--primary-dark);
}

.nav-dropdown-divider {
  height: 2px;
  background: hsl(138, 20%, 82%);
  margin: 0.25rem 0;
}

.nav-dropdown-secondary {
  padding: 0.55rem 1.5rem !important;
  font-size: 0.825rem !important;
  font-weight: 400 !important;
  opacity: 0.7;
}

.nav-dropdown-secondary:hover {
  opacity: 1;
}


/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px; /* clear fixed nav bar */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 90, 61, 0.5) 0%,
    rgba(45, 90, 61, 0.3) 40%,
    rgba(45, 90, 61, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 2rem 5rem;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.hero h1 .accent {
  color: var(--brevik-orange);
}

.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero .location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

.hero-badges {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-badge svg {
  stroke: var(--brevik-orange);
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

@media (max-width: 480px) {
  .hero-badges {
    gap: 0.5rem 1.5rem;
    flex-wrap: wrap;
    padding: 0 1rem;
    bottom: 1.5rem;
  }
  .hero-badge {
    font-size: 0.8rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
}

.btn-primary,
.btn.btn-primary {
  background: var(--accent);
  color: #1A1A00;
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--accent-hover);
  color: #1A1A00;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 101, 26, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
  border-color: rgba(255,255,255,0.5);
}

.btn-green {
  background: var(--brevik-green);
  color: white;
}

.btn-green:hover {
  background: var(--primary-dark);
  color: white;
}

/* Inaktiv knapp — t.ex. "Ansökan öppnar snart" innan friplatsansökan öppnat. */
.btn-disabled,
.btn.btn-disabled {
  background: rgba(255,255,255,0.12);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: not-allowed;
  pointer-events: none;
}

/* Statusnotis (friplatsansökan ej öppen ännu). */
.status-notice {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, var(--card-bg), var(--card-bg-light));
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--brevik-orange);
  border-radius: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

.status-notice .status-dot {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--brevik-orange);
  box-shadow: 0 0 0 4px rgba(232, 101, 26, 0.18);
}

.status-notice strong {
  color: var(--text-light);
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--brevik-forest-dark);
}

.section-forest {
  background: var(--brevik-forest);
}

.section-forest .pricing-features li::before {
  color: var(--brevik-orange);
}

.section-forest .btn-green {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.section-forest .btn-green:hover {
  background: white;
  color: var(--primary-dark);
}

.section-card {
  background: var(--primary);
  color: var(--text-light);
}

/* Light-background section utilities */
.section-light {
  background: var(--secondary-light);
  color: var(--secondary-dark);
}

.section-light .section-header h2,
.section-light .section-header p {
  color: var(--secondary-dark);
}

.section-neutral {
  background: var(--neutral);
  color: var(--secondary-dark);
}

.section-neutral .section-header h2,
.section-neutral .section-header p {
  color: var(--secondary-dark);
}

/* h3 som ligger direkt i en two-col-kolumn (ej i ett kort med egen bakgrund)
   ärver annars mörk rubrikfärg och blir oläslig på mörk/grön sektionsbakgrund.
   Kort-h3 (.feature-card/.mission-box) har egen färg och påverkas inte. */
.section-dark .two-col > div > h3,
.section-forest .two-col > div > h3 {
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-header .accent {
  color: var(--brevik-orange);
}

/* Brand book: orange on #3D7A55 (section-card/forest) = 3.3:1 — insufficient. Override to white.
   Light green (#D4E8D4, section-light) also forbidden. Neutral (#F5F5F0) is fine at large heading size. */
.section-card .section-header .accent,
.section-forest .section-header .accent,
.section-dark .section-header .accent,
.section-light .section-header .accent {
  color: var(--text-light);
}

/* Orange stat-values and schedule-steps on medium green backgrounds */
.section-forest .stat-value,
.section-card .schedule-time {
  color: var(--text-light);
}

/* Checkmark bullets in section-forest */
.section-forest .pricing-features li::before {
  color: var(--text-light);
}

/* FAQ accordion toggle icon: orange on forest green = 3.3:1, override to white */
.section-forest .faq-item summary::after {
  color: var(--text-light);
}

/* Brand book + readability: orange as TEXT fails WCAG AA on every section
   background (1.5–2.4:1 on the greens, ~3.2:1 on light). Reserve orange for
   buttons/large headings. In-text links become readable and colour-independent
   — white on dark/green, dark-green on light — and are always underlined so
   they're identifiable without relying on hue (colour-blind safe). */
.section-forest :is(p, li) a:not(.btn),
.section-dark   :is(p, li) a:not(.btn),
.section-card   :is(p, li) a:not(.btn) {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.section-forest :is(p, li) a:not(.btn):hover,
.section-dark   :is(p, li) a:not(.btn):hover,
.section-card   :is(p, li) a:not(.btn):hover {
  color: rgba(255, 255, 255, 0.78);
}
.section-neutral :is(p, li) a:not(.btn),
.section-light   :is(p, li) a:not(.btn) {
  color: var(--secondary-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.section-neutral :is(p, li) a:not(.btn):hover,
.section-light   :is(p, li) a:not(.btn):hover {
  color: var(--brevik-forest);
}

/* Orange accent text (travel times) on green/dark backgrounds → white */
.section-forest .travel-item .time,
.section-dark   .travel-item .time {
  color: var(--text-light);
}

/* Accent / schedule / stat / "read more" text uses orange, which fails WCAG
   contrast on the content-section backgrounds (orange clears 3:1 only on the
   near-black hero). Scope by background family so it stays readable and
   colour-blind safe: white on green/dark, dark-green on light. */
.section-forest :is(.conf-time, .schedule-time, .stat-value, .job-meta, .faq-category-heading, .impact-amount, .swish-number, .fonden-progress-pct, .news-date, .testimonial-stars, .category-card-link, .news-card-link, .media-tl-link, .timeline-eyebrow),
.section-dark   :is(.conf-time, .schedule-time, .stat-value, .job-meta, .faq-category-heading, .impact-amount, .swish-number, .fonden-progress-pct, .news-date, .testimonial-stars, .category-card-link, .news-card-link, .media-tl-link, .timeline-eyebrow),
.section-card   :is(.conf-time, .schedule-time, .stat-value, .job-meta, .faq-category-heading, .impact-amount, .swish-number, .fonden-progress-pct, .news-date, .testimonial-stars, .category-card-link, .news-card-link, .media-tl-link, .timeline-eyebrow) {
  color: var(--text-light);
}
.section-neutral :is(.conf-time, .schedule-time, .stat-value, .job-meta, .faq-category-heading, .impact-amount, .swish-number, .fonden-progress-pct, .news-date, .testimonial-stars, .category-card-link, .news-card-link, .media-tl-link, .timeline-eyebrow),
.section-light   :is(.conf-time, .schedule-time, .stat-value, .job-meta, .faq-category-heading, .impact-amount, .swish-number, .fonden-progress-pct, .news-date, .testimonial-stars, .category-card-link, .news-card-link, .media-tl-link, .timeline-eyebrow) {
  color: var(--secondary-dark);
}

/* Section-header accent (the orange word in a heading) on light backgrounds →
   forest green; orange is unreadable on neutral/light. */
.section-neutral .section-header .accent,
.section-light .section-header .accent {
  color: var(--brevik-forest);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Category Cards (Homepage) ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--brevik-green);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.category-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.category-card-body {
  padding: 1.75rem;
  /* Fyll kortets höjd så att länken kan fästas i nederkant. */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  /* Reservera två rader (line-height 1.1) så att brödtext och länk hamnar i
     samma linje även när rubriken bara tar en rad (t.ex. "Sommarläger"). */
  min-height: 2.2em;
}

/* En kolumn på mobil — ingen grannrubrik att linjera mot. */
@media (max-width: 480px) {
  .category-card-body h3 {
    min-height: 0;
  }
}

.category-card-body p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  /* Fäst i kortets nederkant så länkarna linjerar mellan korten. */
  margin-top: auto;
  align-self: flex-start;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 600;
  font-size: 0.95rem;
}

.category-card-link:hover {
  gap: 0.7rem;
}

/* ===== Sommarlager featured card ===== */
.category-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(232, 101, 26, 0.15);
}

.category-card.featured .category-card-img {
  height: 220px;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #1A1A00;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  z-index: 2;
  letter-spacing: 0.03em;
}

/* ===== News grid ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--brevik-green);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: #1A1A00;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  z-index: 2;
}

.news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-date {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-card-body h3 {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card-body p:not(.news-date) {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.news-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Jämna rader mellan nyhetskorten: bild, datum, rubrik, brödtext och
   "Läs mer" delar radhöjd över alla kort via subgrid, så rubriker och
   brödtext börjar på samma höjd även när en rubrik radbryts. */
@supports (grid-template-rows: subgrid) {
  .news-grid {
    row-gap: 0; /* kortens inre rader är grid-rader; avstånd mellan kortrader sätts nedan */
  }

  .news-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
  }

  .news-card-body {
    display: grid;
    grid-row: 2 / span 4;
    grid-template-rows: subgrid;
  }

  .news-card-img { grid-row: 1; }
  .news-card-body .news-date { grid-row: 1; }
  .news-card-body h3 { grid-row: 2; }
  .news-card-body p:not(.news-date) { grid-row: 3; }
  .news-card-link { grid-row: 4; align-self: end; }

  @media (max-width: 900px) {
    .news-card:nth-child(2n+3) { margin-top: 2rem; }
  }

  @media (max-width: 560px) {
    .news-card:nth-child(n+2) { margin-top: 2rem; }
  }
}

/* ===== Camp grid (sommarlager page) ===== */
.camp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.camp-age-badge {
  display: inline-block;
  background: transparent;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0;
  margin-bottom: 0.75rem;
}

.camp-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brevik-green-light) !important;
  margin-bottom: 0.5rem !important;
}

.camp-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.camp-dates-list {
  list-style: none;
}

.camp-dates-list li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-color);
}

.camp-dates-list li:last-child {
  border-bottom: none;
}

.camp-dates-list li strong {
  color: var(--text-light);
}

/* Activity tags for camp detail pages */
.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  list-style: none;
}

.activity-tags li {
  background: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

.activity-tags li:hover {
  border-color: var(--brevik-green);
  color: var(--text-light);
}

/* ===== Schedule / Timeline ===== */
.schedule-grid {
  display: grid;
  gap: 0;
}

.schedule-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
  align-items: start;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brevik-orange);
  padding-top: 0.2rem;
}

.schedule-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.schedule-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

.schedule-img {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius);
  margin-top: 1rem;
  aspect-ratio: 16/10;
  object-fit: cover;
}

@media (max-width: 600px) {
  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ===== Conference Timeline ===== */
.conf-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 3rem;
}

.conf-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
  pointer-events: none;
}

.conf-item {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

.conf-item-flip .conf-text  { order: 3; }
.conf-item-flip .conf-node  { order: 2; }
.conf-item-flip .conf-media { order: 1; }

.conf-text-right {
  text-align: right;
}

.conf-time {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brevik-orange);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.conf-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.conf-text p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.conf-node {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.conf-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brevik-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px var(--brevik-forest-dark);
}

/* Match ring colour to section background so it stays invisible */
.section-forest .conf-circle {
  box-shadow: 0 0 0 5px var(--brevik-forest);
}

.conf-media img,
.conf-media video {
  width: 100%;
  border-radius: 1rem;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .conf-timeline::before {
    display: none;
  }
  .conf-item,
  .conf-item-flip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .conf-item-flip .conf-text,
  .conf-item-flip .conf-media {
    order: unset;
  }
  .conf-text-right {
    text-align: left;
  }
  /* The vertical line is hidden here, so its icon nodes lose meaning too */
  .conf-node {
    display: none;
  }
}

/* ===== Feature / Info Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.features-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 500px) {
  .features-grid-2col {
    grid-template-columns: 1fr;
  }
}

.features-grid-3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .features-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .features-grid-3col {
    grid-template-columns: 1fr;
  }
}

.feature-icon.feature-icon-accent {
  background: var(--brevik-orange);
  border-radius: 0.75rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--brevik-green);
  transform: translateY(-2px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--brevik-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Feature cards on light background */
.section-neutral .feature-card {
  background: #ffffff;
  border-color: rgba(61, 122, 85, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.section-neutral .feature-card:hover {
  border-color: var(--brevik-green);
  box-shadow: 0 4px 20px rgba(61, 122, 85, 0.15);
}
.section-neutral .feature-card h3 {
  color: var(--secondary-dark);
}
.section-neutral .feature-card p {
  color: rgba(26, 61, 43, 0.7);
}

/* Infobox i nyhetsdetalj, t.ex. "Praktisk information" för ett event.
   Alltid mörkgrön, oavsett vilken section den ligger i, så den sticker ut
   som en egen ruta på både ljusa och mörka nyhetssidor. */
.news-info-box {
  background: var(--brevik-forest-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}

.news-info-box h3 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.news-info-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.news-info-box li {
  color: var(--text-muted);
  line-height: 1.5;
}

.news-info-box li strong {
  color: var(--text-light);
}

.news-info-box a {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.news-info-box a:hover {
  color: rgba(255, 255, 255, 0.78);
}

/* section-neutral overrides for dark-bg components */
.section-neutral .pricing-card {
  background: #ffffff;
  border-color: rgba(61, 122, 85, 0.2);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.section-neutral .pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(232, 101, 26, 0.18);
}
.section-neutral .pricing-card h3 {
  color: var(--secondary-dark);
}
.section-neutral .pricing-subtitle {
  color: rgba(26, 61, 43, 0.6);
}
.section-neutral .pricing-price .from,
.section-neutral .pricing-price .unit {
  color: rgba(26, 61, 43, 0.6);
}
.section-neutral .pricing-price .amount {
  color: var(--secondary-dark);
}
.section-neutral .pricing-desc {
  color: rgba(26, 61, 43, 0.75);
}
.section-neutral .pricing-features li {
  color: rgba(26, 61, 43, 0.8);
}
.section-neutral .pricing-note {
  color: rgba(26, 61, 43, 0.6);
}
.section-neutral .mission-box {
  background: #ffffff;
  border-color: rgba(61, 122, 85, 0.2);
}
.section-neutral .mission-box h3 {
  color: var(--secondary-dark);
}
.section-neutral .mission-box p {
  color: rgba(26, 61, 43, 0.75);
}

.section-note {
  text-align: center;
  margin-top: 2.5rem;
  font-style: italic;
  color: rgba(26, 61, 43, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Staff Cards ===== */
.staff-card {
  text-align: center;
}
.staff-photo-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  flex-shrink: 0;
}
.staff-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  display: block;
  border: 3px solid rgba(61, 122, 85, 0.6);
  box-shadow: 0 0 0 5px rgba(61, 122, 85, 0.15);
}
.staff-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

/* ===== Job Cards ===== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 700px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

.job-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  border-color: var(--brevik-green);
  transform: translateY(-2px);
}

.job-card-img {
  height: 200px;
  overflow: hidden;
}

.job-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.job-card:hover .job-card-img img {
  transform: scale(1.04);
}

.job-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.job-card-body h3 {
  font-size: 1.15rem;
  color: var(--text-light);
  margin: 0.25rem 0 0.25rem;
}

.job-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.job-meta {
  font-size: 0.82rem !important;
  color: var(--text-light) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.job-card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== Pricing Cards ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

/* 2-card layout: wide cards filling full width */
.pricing-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 3-card layout: all three side by side */
.pricing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 3-card: collapse to stacked at tablet */
  .pricing-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pricing-grid,
  .pricing-grid--2 {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(232, 101, 26, 0.18);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #1A1A00;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.pricing-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.pricing-price .from {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-price .amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-light);
}

.pricing-price .unit {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-price-dual {
  display: flex;
  gap: 0;
  margin-bottom: 0.75rem;
}

.pricing-price-dual .price-col {
  flex: 1;
  padding: 0 1rem 0 0;
}

.pricing-price-dual .price-col + .price-col {
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--border-color);
}

.pricing-price-dual .price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.pricing-price-dual .price-amount {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
}

.pricing-price-dual .price-unit {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pricing-price-single {
  margin-bottom: 0.75rem;
}

.pricing-price-single .price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.pricing-price-single .price-amount {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
}

.pricing-price-single .price-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.pricing-card .text-center:last-child {
  margin-top: auto;
}

/* CTA block pinned to the card bottom so buttons align across the row.
   Footnote goes inside, above the button, so the button stays flush. */
.pricing-cta {
  margin-top: auto;
  text-align: center;
}

.pricing-cta .btn {
  width: 100%;
  justify-content: center;
}

.pricing-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "\2713";
  color: var(--brevik-green);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
}

/* ===== Activity Cards ===== */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
}

.activity-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.activity-card:hover {
  transform: translateY(-3px);
  border-color: var(--brevik-green);
}

.activity-card img,
.activity-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.activity-card-body {
  padding: 1.5rem;
}

.activity-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.activity-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

/* ===== Gallery full (with filters) ===== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-filter-btn {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 2px solid var(--border-color);
  background: transparent;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.gallery-filter-btn:hover {
  border-color: var(--brevik-orange);
  color: var(--brevik-orange);
}

.gallery-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1A1A00;
}

.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .gallery-grid-full { grid-template-columns: 1fr; }
}

.gallery-item-full {
  margin: 0;
  cursor: pointer;
}

.gallery-item-full[hidden] {
  display: none;
}

.gallery-item-full img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  transition: transform 0.3s;
}

.gallery-item-full:hover img {
  transform: scale(1.02);
}

.gallery-item-full figcaption {
  font-size: 0.82rem;
  color: var(--text-muted, rgba(255,255,255,0.6));
  font-style: italic;
  margin-top: 0.4rem;
  padding: 0 0.1rem;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.75rem;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
}

.testimonial-stars {
  color: var(--brevik-orange);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Testimonials — neutral-background variant (konferens) ===== */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

#vad-andra-sager .testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

#vad-andra-sager .testimonial-card {
  position: relative;
  background: #fff;
  border: none;
  box-shadow: 0 2px 16px rgba(26, 61, 43, 0.07);
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
  font-family: Georgia, serif;
}

#vad-andra-sager .testimonial-text {
  color: var(--secondary-dark);
  opacity: 0.75;
}

.testimonial-company {
  font-weight: 700;
  color: var(--secondary-dark);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.testimonial-location {
  color: var(--secondary-dark);
  opacity: 0.5;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  #vad-andra-sager .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Contact Section ===== */
/* minmax(0, …) lets the columns shrink below their content's min width —
   otherwise .travel-grid (min 512px) forces the whole column, and the
   contact form with it, wider than a phone screen. */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text-muted);
}

.contact-details li strong {
  color: var(--text-light);
  min-width: 80px;
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.form-group select {
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brevik-green);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
  }

  /* 16px minimum stops iOS Safari from zooming in when a field gets focus */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem;
  }
}

/* Status banner shown after a contact-form submission (?skickat). */
.form-banner {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--brevik-orange);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.5rem;
}

.form-banner strong { color: var(--brevik-orange); }
.form-banner-error { border-left-color: #e05555; }
.form-banner-error strong { color: #e05555; }

.form-banner p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* Honeypot — visually removed but reachable by bots. Never display:none
   (some bots skip hidden fields); push off-screen instead. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--brevik-forest-dark);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .footer-logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  align-self: flex-start;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 0.3rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brevik-orange);
}

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.footer-newsletter-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-newsletter-text strong {
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-newsletter-text span {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 480px;
  line-height: 1.5;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.newsletter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: var(--brevik-forest);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.newsletter-strip-text h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.newsletter-strip-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.6;
}

.newsletter-home-strip {
  padding-top: 0;
  padding-bottom: 2rem;
}

@media (max-width: 640px) {
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom .footer-kfum-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
}

/* ===== Impact / Mission box ===== */
.mission-box {
  background: linear-gradient(135deg, var(--card-bg), var(--card-bg-light));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.mission-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== Why-section split ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.why-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.section-neutral .why-text h2 {
  color: var(--secondary-dark);
}

.section-neutral .why-text p {
  color: rgba(26, 61, 43, 0.75);
}

.section-neutral .why-text li > div {
  color: rgba(26, 61, 43, 0.85);
}

.why-image {
  border-radius: 1rem;
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ===== Stats row ===== */
.stats-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brevik-orange);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Intro text block ===== */
.intro-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-block p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Responsive images with text overlay ===== */
.hero-small {
  position: relative;
  height: 55vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px; /* clear fixed nav bar */
}

.hero-small .hero-content {
  z-index: 2;
}

.hero-small .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(45, 90, 61, 0.6) 0%,
    rgba(45, 90, 61, 0.4) 40%,
    rgba(45, 90, 61, 0.8) 100%
  );
}

/* ===== Split-screen hero ===== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.hero-split-image {
  position: relative;
  overflow: hidden;
}

.hero-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,90,61,0.25) 0%, transparent 60%);
}

.hero-split-panel {
  background: var(--secondary-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-split-panel::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(61,122,85,0.12);
  pointer-events: none;
}

.hero-split-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* Lighter accent so the small label clears WCAG AA (4.7:1) on the dark panel */
  color: var(--accent-hover);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
}

.hero-split-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--brevik-orange);
  flex-shrink: 0;
}

.hero-split-panel h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: none;
}

.hero-split-panel .subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 420px;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.hero-split-panel .subtitle-disclaimer {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  margin-top: -1.5rem;
}

.hero-split-panel .flex-center {
  justify-content: flex-start;
}

.hero-split-stats {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-split-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  /* Lighter accent to clear WCAG AA on the dark hero panel */
  color: var(--accent-hover);
  line-height: 1;
}

.hero-split-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
  font-family: var(--font-body);
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-split-image {
    height: 45vw;
    min-height: 260px;
  }
  .hero-split-panel {
    padding: 3rem 2rem 3rem;
  }
  .hero-split-panel .subtitle {
    max-width: 100%;
  }
  .hero-split-panel h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-split-stats {
    flex-wrap: nowrap;
    gap: 1.2rem;
  }
  .hero-split-stat-num {
    font-size: 1.3rem;
  }
}

/* Bröllop-hero: håll brudparet stort och centrerat i mobilbandet
   (den vida bilden visar annars för mycket tomt vatten till höger). */
.hero-split-image--brollop img {
  object-position: 38% 42%;
}
@media (max-width: 900px) {
  .hero-split-image--brollop {
    min-height: 340px;
  }
  .hero-split-image--brollop img {
    object-position: 22% 45%;
  }
}

/* Hero video */
#hero-ytplayer {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Desktop: container is portrait (~50vw × 100vh) — scale by height */
  width: 177.78vh;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-split-image::after {
  z-index: 2;
}

.hero-video-controls {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-video-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-video-btn:hover {
  background: rgba(0,0,0,0.72);
  border-color: rgba(255,255,255,0.45);
}

@media (max-width: 900px) {
  #hero-ytplayer {
    /* Mobile: fill container height (min-height: 260px kicks in on small phones) */
    width: 177.78%;
    height: 100%;
  }
  .hero-video-controls {
    bottom: 1rem;
    right: 1rem;
  }
}

/* ===== Sommarledare full-width YouTube hero ===== */
#sl-ytplayer {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Cover full viewport regardless of aspect ratio */
  width: max(177.78vh, 100vw);
  height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-orange { color: var(--brevik-orange); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }
.gap-2 { gap: 1rem; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Visitor logos / tags ===== */
.visitor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.visitor-tag {
  background: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Visitor tags on light/neutral background */
.section-neutral .visitor-tag {
  background: #fff;
  border-color: rgba(26, 61, 43, 0.15);
  color: var(--secondary-dark);
  opacity: 0.8;
}

.section-eyebrow-dark {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-visitors-label {
  color: var(--secondary-dark);
  opacity: 0.55;
  font-size: 0.9rem;
}

/* ===== Distance / travel info ===== */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.travel-item {
  text-align: center;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.travel-item .city {
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.95rem;
}

.travel-item .time {
  color: var(--brevik-orange);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===== Two-col layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 3.75rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brevik-orange);
}

.faq-category-heading:first-child {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--text-light);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--brevik-orange);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p,
.faq-item ul {
  padding: 0 0 1.25rem 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* scroll offset for anchors */
[id] {
  scroll-margin-top: 80px;
}

/* "Anmälan, betalning & bokningsregler"-länk vid sekundära boka-knappar.
   Ljus text som standard (heroes + mörka sektioner), mörkgrön på ljusa
   sektioner. Aldrig orange – följer designreglerna. */
.booking-terms-link {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}
.booking-terms-link a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking-terms-link a:hover {
  color: #fff;
}
.section-neutral .booking-terms-link a,
.section-light .booking-terms-link a,
.section-card .booking-terms-link a {
  color: var(--secondary-dark);
  opacity: 0.85;
}
.section-neutral .booking-terms-link a:hover,
.section-light .booking-terms-link a:hover,
.section-card .booking-terms-link a:hover {
  color: var(--secondary-dark);
  opacity: 1;
}

/* ===== Adventure Timeline ===== */
.timeline-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.adventure-timeline {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 3rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.timeline-item.reverse .timeline-img-wrap {
  order: 2;
}

.timeline-item.reverse .timeline-text {
  order: 1;
}

.timeline-img-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.timeline-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

.timeline-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.timeline-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.timeline-text h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.timeline-text p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.97rem;
}

@media (max-width: 760px) {
  .timeline-item,
  .timeline-item.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .timeline-item.reverse .timeline-img-wrap,
  .timeline-item.reverse .timeline-text {
    order: unset;
  }
  .timeline-img-wrap img {
    height: 220px;
  }
}

/* ===== Media page — centerlinje tidslinje ===== */
.media-tl {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.media-tl::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--brevik-green) 3%, var(--brevik-green) 97%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Year badge */
.media-tl-year {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.media-tl-year:first-child { margin-top: 0; }
.media-tl-year-badge {
  background: var(--brevik-orange);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 1.1rem;
  border-radius: 99px;
  position: relative;
  z-index: 2;
  letter-spacing: 0.06em;
}

/* Article row */
.media-tl-item {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: start;
  margin-bottom: 0.5rem;
  position: relative;
}
.media-tl-item-left  { grid-column: 1; padding-right: 1.25rem; }
.media-tl-item-dot   { grid-column: 2; display: flex; justify-content: center; padding-top: 0.85rem; position: relative; z-index: 2; }
.media-tl-item-right { grid-column: 3; padding-left: 1.25rem; }

.media-tl-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brevik-forest-dark, #162e20);
  border: 2px solid var(--brevik-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brevik-orange);
  flex-shrink: 0;
}
.media-tl-dot svg { width: 15px; height: 15px; }

/* Card */
.media-tl-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.media-tl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Meta bar (badges + date) */
.media-tl-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem 0.5rem;
  flex-wrap: wrap;
}
.media-tl-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

/* Badges */
.media-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
}
.media-badge-source { background: var(--brevik-orange); color: #fff; }
.media-badge-sr     { background: #1967d2; color: #fff; }
.media-badge-type   { background: transparent; color: var(--text-muted); border: 1px solid var(--border-color); }
/* Text kept white for readability at this tiny size; the coloured border is a
   decorative category cue (the label text already states the category). */
.media-badge-type-debatt { color: #fff; border-color: var(--brevik-orange); }
.media-badge-type-ledare { color: #fff; border-color: #c9a227; }
.media-badge-type-radio  { color: #fff; border-color: #7ab3f5; }

/* Image */
.media-tl-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.media-tl-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,61,43,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.media-tl-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder (no image) */
.media-tl-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  opacity: 0.55;
}

/* ============================================
   STÖD OSS — sidspecifika komponenter
   ============================================ */

/* Citat */
.support-quote {
  border-left: 3px solid var(--brevik-orange);
  padding: 1.25rem 2rem;
  margin: 0 0 2.5rem;
  font-style: italic;
}

.support-quote p {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.support-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Impact-ankare */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 700px) {
  .impact-grid { grid-template-columns: 1fr; }
}

.impact-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

.impact-card--highlight {
  border-color: var(--brevik-orange);
  background: rgba(0,0,0,0.45);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(232,101,26,0.18);
}

.impact-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brevik-orange);
  margin-bottom: 0.75rem;
}

.impact-card--highlight .impact-amount {
  font-size: 2.4rem;
}

.impact-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Swish-box */
.swish-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  justify-content: center;
}

@media (max-width: 600px) {
  .swish-box {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }
}

.swish-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.swish-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brevik-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.swish-note {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.swish-qr {
  width: 120px;
  height: 120px;
  border-radius: 0.5rem;
  background: #fff;
  padding: 8px;
  display: block;
}

/* Breviksfonden progress-bar */
.fonden-progress-wrap {
  margin: 0.2rem 0;
}

.fonden-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.fonden-progress-pct {
  font-weight: 700;
  color: var(--brevik-orange);
}

.fonden-progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}

.fonden-progress-fill {
  height: 100%;
  background: var(--brevik-orange);
  border-radius: 999px;
}

.fonden-progress-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  opacity: 0.7;
}

/* Body */
.media-tl-body {
  padding: 0.75rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.media-tl-headline {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.3;
}
.media-tl-summary {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.media-tl-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brevik-orange);
  text-decoration: none;
  margin-top: 0.3rem;
  transition: color 0.2s;
}
.media-tl-link:hover { color: var(--accent-hover); }

/* Mobile */
@media (max-width: 700px) {
  .media-tl::before { left: 20px; }
  .media-tl-item {
    grid-template-columns: 44px 1fr;
    margin-bottom: 0.75rem;
  }
  .media-tl-item-left  { display: none; }
  .media-tl-item-dot   { grid-column: 1; }
  .media-tl-item-right { grid-column: 2; padding-left: 0.75rem; padding-right: 0; }
  .media-tl-item.side-left .media-tl-item-left  { display: block; grid-column: 2; padding-left: 0.75rem; padding-right: 0; }
  .media-tl-item.side-left .media-tl-item-dot   { grid-column: 1; }
  .media-tl-item.side-left .media-tl-item-right { display: none; }
  .media-tl-year { justify-content: flex-start; padding-left: 6px; }
}

/* ===== Policy pages (cookies, integritet) ===== */
.policy-page {
  background: var(--neutral);
  padding: 6rem 0 4rem;
  min-height: 60vh;
}

.policy-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--secondary-dark);
}

.policy-content h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.policy-updated {
  color: var(--forest-mid);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin: 2rem 0 0.75rem;
  text-transform: uppercase;
}

.policy-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0 0.5rem;
  text-transform: uppercase;
}

.policy-content p,
.policy-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.policy-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.policy-content a {
  color: var(--primary);
  text-decoration: underline;
}

.policy-content a:hover { color: var(--accent); }

.policy-divider {
  border: none;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  margin: 2.5rem 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
}

.policy-table th {
  background: var(--secondary-light);
  color: var(--primary-dark);
  text-align: left;
  padding: 0.6rem 0.8rem;
  font-weight: 700;
}

.policy-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid #e0e8e0;
  vertical-align: top;
}

.policy-table tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
  .policy-table { font-size: 0.82rem; }
  .policy-content h1 { font-size: 1.6rem; }
}

/* ===== Footer legal links ===== */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-legal a,
.footer-legal span {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--brevik-orange); }

.footer-cookie-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-body);
  padding: 0;
  transition: color 0.2s;
}

.footer-cookie-btn:hover { color: var(--brevik-orange); }

/* ===== vanilla-cookieconsent — Brevik tema ===== */
#cc-main {
  --cc-font-family:                       var(--font-body);
  --cc-modal-border-radius:               0.75rem;
  --cc-btn-border-radius:                 0.5rem;

  --cc-bg:                                #2D5A3D;
  --cc-primary-color:                     #ffffff;
  --cc-secondary-color:                   rgba(255,255,255,0.78);

  --cc-btn-primary-bg:                    #E8651A;
  --cc-btn-primary-color:                 #ffffff;
  --cc-btn-primary-border-color:          #E8651A;
  --cc-btn-primary-hover-bg:              #F0824A;
  --cc-btn-primary-hover-color:           #ffffff;
  --cc-btn-primary-hover-border-color:    #F0824A;

  --cc-btn-secondary-bg:                  rgba(255,255,255,0.10);
  --cc-btn-secondary-color:               #ffffff;
  --cc-btn-secondary-border-color:        rgba(255,255,255,0.25);
  --cc-btn-secondary-hover-bg:            rgba(255,255,255,0.20);
  --cc-btn-secondary-hover-color:         #ffffff;
  --cc-btn-secondary-hover-border-color:  rgba(255,255,255,0.35);

  --cc-toggle-on-bg:                      #E8651A;
  --cc-toggle-off-bg:                     rgba(255,255,255,0.25);
  --cc-toggle-readonly-bg:                rgba(255,255,255,0.15);

  --cc-cookie-category-block-bg:          rgba(255,255,255,0.07);
  --cc-cookie-category-block-border:      rgba(255,255,255,0.12);
  --cc-cookie-category-block-hover-bg:    rgba(255,255,255,0.12);
  --cc-cookie-category-block-hover-border: rgba(255,255,255,0.22);

  --cc-overlay-bg:                        rgba(26,61,43,0.70);
  --cc-separator-border-color:            rgba(255,255,255,0.12);
  --cc-footer-border-color:               rgba(255,255,255,0.12);
  --cc-link-color:                        rgba(255,255,255,0.85);
  --cc-link-hover-color:                  #ffffff;
}

/* ===== Historia — interaktiv tidslinje ===== */
.htl-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brevik-orange);
  margin-bottom: 0.4rem;
}

/* Decade tabs */
.htl-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
}

.htl-tab {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.htl-tab:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.htl-tab--active {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

/* Rail */
.htl-rail-wrap {
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.htl-rail-wrap::-webkit-scrollbar { display: none; }

.htl-rail {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding: 1rem 1.5rem 0.5rem;
  min-width: max-content;
  margin: 0 auto;
}

/* Horizontal connecting line through dots */
.htl-rail::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: calc(1rem + 16px);
  height: 2px;
  background: rgba(255,255,255,0.12);
}

/* Individual point */
.htl-pt {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0 1.1rem;
  position: relative;
  z-index: 1;
  outline: none;
}

.htl-pt-year {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  transition: color 0.15s;
}

.htl-pt-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}

.htl-pt-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.35rem;
  text-align: center;
  max-width: 72px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.htl-pt:hover .htl-pt-year,
.htl-pt:focus .htl-pt-year { color: rgba(255,255,255,0.9); }

.htl-pt:hover .htl-pt-dot,
.htl-pt:focus .htl-pt-dot {
  background: rgba(255,255,255,0.6);
  transform: scale(1.25);
}

.htl-pt:hover .htl-pt-label,
.htl-pt:focus .htl-pt-label { color: rgba(255,255,255,0.6); }

.htl-pt--active .htl-pt-year {
  color: var(--text-light);
  font-weight: 700;
}

.htl-pt--active .htl-pt-dot {
  background: var(--brevik-orange);
  transform: scale(1.5);
  box-shadow: 0 0 0 4px rgba(232,101,26,0.25);
}

.htl-pt--active .htl-pt-label {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* Story card (C-stil) */
.htl-card-wrap {
  display: flex;
  justify-content: center;
}

.htl-card {
  max-width: 640px;
  width: 100%;
}

.htl-card--anim {
  animation: htl-fadein 0.22s ease;
}

@keyframes htl-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.htl-card-year {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-light);
  margin-bottom: 0.15rem;
}

.htl-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.65rem;
  line-height: 1.1;
}

.htl-card-text {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.htl-card-counter {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
}

/* Mobile: smaller point gaps */
@media (max-width: 640px) {
  .htl-pt { padding: 0 0.65rem; }
  .htl-pt-label { display: none; }
  .htl-rail { padding: 1rem 1rem 0.5rem; }
  .htl-rail::before { left: 1rem; right: 1rem; }
}

/* ===================================================
   Lägeröversikt — interaktivt datumrutnät (Gantt)
   =================================================== */
.camp-gantt { --gantt-row-h: 3rem; }

.camp-gantt-scroll-hint {
  display: none;
  font-size: 0.78rem;
  color: var(--secondary-dark);
  opacity: 0.55;
  margin-bottom: 0.6rem;
}

.camp-gantt-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.camp-gantt-grid {
  display: grid;
  grid-template-columns: repeat(var(--gantt-cols), minmax(16px, 1fr));
  grid-template-rows: auto auto auto repeat(var(--gantt-rows), var(--gantt-row-h));
  column-gap: 2px;
  row-gap: 6px;
  min-width: 760px;
}

/* Header — månader */
.gantt-month {
  grid-row: 1;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: var(--secondary-dark);
  text-align: center;
  padding: 0.1rem 0 0.35rem;
  border-bottom: 2px solid rgba(26, 61, 43, 0.18);
}

/* Header — veckor */
.gantt-week {
  grid-row: 2;
  font-size: 0.72rem;
  color: var(--gantt-axis);
  text-align: center;
  padding: 0.25rem 0 0.15rem;
  border-left: 1px solid rgba(26, 61, 43, 0.10);
}

/* Header — dagsiffror */
.gantt-day {
  grid-row: 3;
  font-size: 0.6rem;
  line-height: 1;
  color: var(--gantt-axis);
  text-align: center;
  padding-bottom: 0.3rem;
}
/* Måndag markeras med full mörkgrön + fet stil (mest framträdande, hög kontrast). */
.gantt-day.is-monday { color: var(--secondary-dark); font-weight: 600; }

/* Veckolinjer bakom blocken */
.gantt-weekline {
  border-left: 1px dashed rgba(26, 61, 43, 0.12);
  pointer-events: none;
}

/* Idag-markör */
.gantt-today {
  position: relative;
  border-left: 2px solid var(--brevik-forest);
  pointer-events: none;
}
.gantt-today span {
  position: absolute;
  top: -1.15rem;
  left: -0.5rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brevik-forest);
  white-space: nowrap;
}

/* Lägerblock */
.gantt-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  background: var(--bg, #cfd8d0);
  color: var(--fg, var(--secondary-dark));
  border-radius: 7px;
  padding: 0.3rem 0.5rem;
  overflow: hidden;
  text-decoration: none;
  line-height: 1.15;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}
a.gantt-block:hover,
a.gantt-block:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 61, 43, 0.22);
  filter: brightness(1.04);
  outline: none;
}
.gantt-block-name {
  font-weight: 700;
  font-size: 0.74rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gantt-block-meta {
  font-size: 0.62rem;
  /* Full opacitet (ej 0.82): storlek/vikt skiljer redan meta från namnet, och
     nedtoningen sänkte kontrasten under WCAG AA på flera lägerfärger. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gantt-block-platser {
  margin-top: 0.15rem;
  align-self: flex-start;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--secondary-dark);
  white-space: nowrap;
}
.gantt-block-platser.is-fa   { background: #F6C667; color: #5a3d05; }
.gantt-block-platser.is-full { background: rgba(255,255,255,0.55); color: #6b2b2b; }

/* Placeholder-block (ej klickbart) */
.gantt-block--placeholder {
  background: repeating-linear-gradient(45deg, #ECE7DB, #ECE7DB 6px, #E3DDCF 6px, #E3DDCF 12px);
  border: 1px dashed rgba(26, 61, 43, 0.30);
  box-shadow: none;
}
.gantt-block--placeholder .gantt-block-name {
  font-weight: 600;
  white-space: normal;
  font-size: 0.66rem;
  color: var(--secondary-dark);
  opacity: 0.7;
}

.camp-gantt-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gantt-axis);
}

@media (max-width: 760px) {
  .camp-gantt { --gantt-row-h: 2.85rem; }
  .camp-gantt-scroll-hint { display: block; }
  .gantt-block-name { font-size: 0.7rem; }
}

/* ===== Nyhetsbrev-modal ===== */
.nl-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.nl-modal[hidden] { display: none; }

.nl-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 61, 43, 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nl-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--brevik-forest-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  animation: nlPop 0.18s ease-out;
}
@keyframes nlPop {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.nl-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.85rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}
.nl-modal-close:hover { color: var(--text-light); }

.nl-modal-panel h3 {
  color: var(--text-light);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  padding-right: 1.5rem;
}
.nl-modal-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.nl-consent { margin-bottom: 1.25rem; }
.nl-consent label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.nl-consent input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--brevik-orange);
}
.nl-consent a { color: var(--brevik-orange); }

.nl-message {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-light);
}
.nl-message-success {
  background: rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--brevik-orange);
}
.nl-message-error {
  background: rgba(224, 85, 85, 0.12);
  border-left: 3px solid #e05555;
}

.nl-fallback {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
.nl-fallback a { color: var(--brevik-orange); }

/* "En dag på lägret"-teaser på lägerdetaljsidan */
.day-teaser-section { padding: 3rem 0; }
.day-teaser {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  background: var(--brevik-forest);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  box-shadow: 0 14px 30px rgba(45, 90, 61, 0.16);
}
.day-teaser-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
}
.day-teaser-text { flex: 1 1 300px; }
.day-teaser h2 {
  color: var(--text-light);
  font-size: 1.4rem;
  margin: 0 0 0.25rem;
}
.day-teaser p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin: 0;
}
.day-teaser .btn { flex-shrink: 0; margin-left: auto; }
@media (max-width: 600px) {
  .day-teaser { padding: 1.5rem; }
  .day-teaser .btn { margin-left: 0; }
}

/* Slim säsongsbanner på /sommarlager: bokning öppen för innevarande år */
.season-gap-banner {
  background: var(--secondary-light);
  color: var(--secondary-dark);
  padding: 1rem 0;
}
.season-gap-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.season-gap-banner-inner p {
  margin: 0;
  font-weight: 600;
}
@media (max-width: 600px) {
  .season-gap-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}
