/* =============================================================================
   Oslo Museum Guide — Main Stylesheet
   Premium Scandinavian minimal design for a tourism affiliate website
   Mobile-first, breakpoints at 768px (tablet) and 1024px (desktop)
   ============================================================================= */

/* =============================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================================= */
:root {
  /* Colors */
  --color-bg: #F8F7F4;
  --color-surface: #FFFFFF;
  --color-text: #1C1C2E;
  --color-text-muted: #6B7280;
  --color-accent: #B8732A;
  --color-accent-light: #F5D5A8;
  --color-cta: #1A5C42;
  --color-cta-hover: #154A35;
  --color-border: #E5E7EB;
  --color-affiliate-bg: #FFF8F0;
  --color-affiliate-border: #F5D5A8;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Borders */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition: 150ms ease;
  --transition-md: 250ms ease;
  --transition-lg: 350ms ease;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 64px;
}

/* =============================================================================
   2. RESET & BASE
   ============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

/* Prevent ALL elements from causing horizontal overflow */
*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}

p, li, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

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

a {
  color: var(--color-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em { font-style: italic; }

button {
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
}

/* =============================================================================
   3. LAYOUT UTILITIES
   ============================================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section--sm {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.section--lg {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* Content + sidebar layout */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.text-cta { color: var(--color-cta); }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }

.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

/* Spacing utilities */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* =============================================================================
   4. NAVIGATION
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-md);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--space-4);
}

.nav-logo {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--color-cta);
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  background: var(--color-bg);
  color: var(--color-cta);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: var(--space-2) 0;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--color-bg);
  color: var(--color-cta);
}

.dropdown-divider {
  padding: var(--space-2) var(--space-4) var(--space-1);
  margin-top: var(--space-1);
  border-top: 1px solid var(--color-border);
}

.dropdown-divider span {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.nav-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.1rem;
  transition: background var(--transition);
  flex-shrink: 0;
}

.nav-search:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

/* Mobile hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--color-bg);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition-md), opacity var(--transition-md);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  z-index: 999;
  padding: var(--space-4);
  overflow-y: auto;
}

.nav-overlay.open {
  display: block;
}

.nav-overlay .nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: var(--space-8);
}

.nav-overlay .nav-links > li > a {
  padding: var(--space-3) var(--space-2);
  font-size: var(--font-size-base);
  border-radius: 0;
  border-bottom: 1px solid var(--color-border);
}

.nav-overlay .dropdown-menu {
  display: block;
  position: static;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0 var(--space-4);
  background: var(--color-bg);
}

.nav-overlay .dropdown-divider {
  padding: var(--space-3) var(--space-2) var(--space-1);
  border-top: none;
}

/* =============================================================================
   5. HERO COMPONENTS
   ============================================================================= */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: #1C1C2E;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-family-museum.jpg');
  background-size: cover;
  background-position: 65% center;
  opacity: 1;
  z-index: 0;
}

/* Dark gradient left side — keeps text readable, people visible on right */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 20, 40, 0.88) 0%,
    rgba(20, 20, 40, 0.70) 35%,
    rgba(20, 20, 40, 0.20) 60%,
    rgba(20, 20, 40, 0.0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: #fff;
  padding: var(--space-16) 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(184, 115, 42, 0.9);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  color: #fff;
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.hero p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-search {
  display: flex;
  gap: var(--space-2);
  max-width: 500px;
  margin-bottom: var(--space-6);
}

.hero-search input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: var(--font-size-base);
  backdrop-filter: blur(4px);
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hero-search input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
}

/* Shorter museum hero */
.hero-museum {
  min-height: 360px;
  background: linear-gradient(135deg, #1C1C2E 0%, #2D4A3E 100%);
}

.hero-museum .hero-content {
  padding: var(--space-10) 0;
}

.hero-museum h1 {
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
  margin-bottom: var(--space-3);
}

.hero-museum .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge--green {
  background: rgba(26, 92, 66, 0.8);
  color: #fff;
  border: 1px solid rgba(26, 92, 66, 0.9);
}

.hero-badge--amber {
  background: rgba(184, 115, 42, 0.85);
  color: #fff;
}

.hero-badge--blue {
  background: rgba(59, 130, 246, 0.8);
  color: #fff;
}

/* Blog hero */
.hero-blog {
  min-height: 280px;
  background: linear-gradient(135deg, #1C1C2E 0%, #2D4A3E 100%);
}

/* =============================================================================
   6. BREADCRUMBS
   ============================================================================= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
}

.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--color-cta);
}

.breadcrumbs .sep {
  color: var(--color-border);
}

.breadcrumbs .current {
  color: var(--color-text);
  font-weight: 500;
}

/* Hero breadcrumbs */
.hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-4);
}

.hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.hero .breadcrumbs a:hover {
  color: #fff;
}

.hero .breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.4);
}

.hero .breadcrumbs .current {
  color: rgba(255, 255, 255, 0.9);
}

/* =============================================================================
   7. BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-cta);
  color: #fff;
  border-color: var(--color-cta);
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg);
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background: #9D6124;
  border-color: #9D6124;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--color-bg);
  color: var(--color-cta);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
}

/* =============================================================================
   8. CARDS
   ============================================================================= */

/* Museum Card */
.museum-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-md), box-shadow var(--transition-md);
  display: flex;
  flex-direction: column;
}

.museum-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.museum-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #1C1C2E, #1A5C42);
}

.museum-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-lg);
}

.museum-card:hover .museum-card__image img {
  transform: scale(1.05);
}

.museum-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 3rem;
}

.museum-card__badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--free {
  background: #DCFCE7;
  color: #166534;
}

.badge--paid {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.badge--family {
  background: rgba(59, 130, 246, 0.85);
  color: #fff;
}

.badge--oslo-pass {
  background: rgba(184, 115, 42, 0.9);
  color: #fff;
}

.badge--category {
  background: rgba(28, 28, 46, 0.8);
  color: #fff;
}

.museum-card__rating {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 3px;
}

.museum-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.museum-card__area {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.museum-card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.museum-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.museum-card__title a:hover {
  color: var(--color-cta);
}

.museum-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  flex: 1;
}

.museum-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  gap: var(--space-3);
}

.museum-card__price {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
}

.museum-card__price.free {
  color: var(--color-cta);
}

/* Blog Card */
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-md), box-shadow var(--transition-md);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #1C1C2E, #2D4A3E);
  flex-shrink: 0;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__category {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.blog-card__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-3);
}

.blog-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--color-cta);
}

.blog-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: var(--space-4);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Blog card horizontal (featured) */
.blog-card--featured {
  flex-direction: row;
}

.blog-card--featured .blog-card__image {
  width: 45%;
  height: auto;
  min-height: 240px;
}

.blog-card--featured .blog-card__title {
  font-size: var(--font-size-xl);
}

/* Category Card */
.category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.category-card:hover {
  border-color: var(--color-cta);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--color-text);
}

.category-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.category-card__title {
  font-size: var(--font-size-base);
  font-weight: 700;
}

.category-card__count {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Sidebar cards */
.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.sidebar-widget h3 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.sidebar-widget ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sidebar-widget ul li a {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}

.sidebar-widget ul li:last-child a {
  border-bottom: none;
}

.sidebar-widget ul li a:hover {
  color: var(--color-cta);
}

/* =============================================================================
   9. AFFILIATE BLOCKS
   ============================================================================= */
.affiliate-block {
  background: var(--color-affiliate-bg);
  border: 1px solid var(--color-affiliate-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
}

.affiliate-block h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.affiliate-block p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.affiliate-block ul {
  list-style: none;
  margin-bottom: var(--space-4);
}

.affiliate-block ul li {
  font-size: var(--font-size-sm);
  padding: var(--space-1) 0;
  color: var(--color-text);
}

.affiliate-block small {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.affiliate-block small a {
  color: var(--color-text-muted);
}

.affiliate-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.affiliate-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.affiliate-block--pass {
  border-left-color: var(--color-cta);
  background: #F0FDF6;
  border-color: #BBF7D0;
}

.affiliate-block--tours {
  border-left-color: #6366F1;
  background: #F5F3FF;
  border-color: #C4B5FD;
}

.affiliate-block--hotel {
  border-left-color: #0284C7;
  background: #F0F9FF;
  border-color: #BAE6FD;
}

/* Compact affiliate widget for sidebar */
.affiliate-widget {
  background: var(--color-affiliate-bg);
  border: 1px solid var(--color-affiliate-border);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.affiliate-widget h4 {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-3);
}

.affiliate-widget .btn {
  width: 100%;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-xs);
  padding: var(--space-2) var(--space-3);
}

/* =============================================================================
   10. AD SLOTS
   ============================================================================= */
.ad-slot {
  background: #F3F4F6;
  border: 2px dashed #D1D5DB;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.ad-slot-leaderboard {
  width: 100%;
  height: 90px;
  margin: var(--space-6) 0;
}

.ad-slot-rectangle {
  width: 100%;
  max-width: 300px;
  height: 250px;
  margin: 0 auto;
}

.ad-slot-inline {
  width: 100%;
  height: 120px;
  margin: var(--space-6) 0;
}

/* =============================================================================
   11. INFO BAR (Museum pages)
   ============================================================================= */
.info-bar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin: var(--space-6) 0;
}

.info-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.info-bar__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.info-bar__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.info-bar__content {}

.info-bar__label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.info-bar__value {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* =============================================================================
   12. FAQ ACCORDION
   ============================================================================= */
.faq {
  margin: var(--space-6) 0;
}

.faq h2 {
  margin-bottom: var(--space-6);
}

.faq-list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

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

.faq-question {
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: var(--font-size-base);
  background: var(--color-surface);
  transition: background var(--transition);
  gap: var(--space-4);
}

.faq-question:hover {
  background: var(--color-bg);
}

.faq-item.open .faq-question {
  background: var(--color-bg);
  color: var(--color-cta);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  transition: transform var(--transition-md);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--color-cta);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer__inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  background: var(--color-bg);
}

.faq-answer__inner p { margin-bottom: var(--space-3); }
.faq-answer__inner p:last-child { margin-bottom: 0; }

/* =============================================================================
   13. FILTER BAR
   ============================================================================= */
.filter-bar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.filter-bar__label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-tab {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
}

.filter-tab.active {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: #fff;
}

.filter-search {
  margin-left: auto;
  position: relative;
}

.filter-search input {
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
  width: 200px;
}

.filter-search input:focus {
  outline: none;
  border-color: var(--color-cta);
  background: var(--color-surface);
}

.filter-search__icon {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* =============================================================================
   14. HIGHLIGHTS LIST
   ============================================================================= */
.highlights-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

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

.highlights-list li::before {
  content: "✓";
  color: var(--color-cta);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================================================
   15. NEARBY MUSEUMS (Horizontal scroll)
   ============================================================================= */
.nearby-museums {
  margin: var(--space-8) 0;
}

.nearby-museums h2 {
  margin-bottom: var(--space-5);
}

.nearby-scroll {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-3);
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.nearby-scroll::-webkit-scrollbar {
  height: 4px;
}

.nearby-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.nearby-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

.nearby-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition-md), box-shadow var(--transition-md);
}

.nearby-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}

.nearby-card__image {
  height: 110px;
  background: linear-gradient(135deg, #1C1C2E, #2D4A3E);
  overflow: hidden;
}

.nearby-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nearby-card__body {
  padding: var(--space-3);
}

.nearby-card__name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.nearby-card__area {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* =============================================================================
   16. SECTION HEADINGS
   ============================================================================= */
.section-header {
  margin-bottom: var(--space-8);
}

.section-header.text-center {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.section-header h2 {
  font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-3xl));
  margin-bottom: var(--space-3);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
}

/* =============================================================================
   17. REASONS / FEATURES (3-col)
   ============================================================================= */
.reason-item {
  text-align: center;
  padding: var(--space-6);
}

.reason-item__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.reason-item h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.reason-item p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* =============================================================================
   18. OSLO PASS SECTION
   ============================================================================= */
.oslo-pass-section {
  background: linear-gradient(135deg, #1A5C42 0%, #0F3D2B 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  margin: var(--space-8) 0;
}

.oslo-pass-section h2 {
  color: #fff;
  font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-3xl));
  margin-bottom: var(--space-4);
}

.oslo-pass-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
}

.oslo-pass-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.oslo-pass-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
}

.oslo-pass-feature::before {
  content: "✓";
  font-weight: 700;
  color: #4ADE80;
  flex-shrink: 0;
}

/* =============================================================================
   19. NEWSLETTER
   ============================================================================= */
.newsletter {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: var(--space-3);
}

.newsletter p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: var(--font-size-sm);
  background: var(--color-bg);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-cta);
}

/* =============================================================================
   20. SEARCH PAGE
   ============================================================================= */
.search-hero {
  padding: var(--space-16) 0;
  text-align: center;
}

.search-hero h1 {
  margin-bottom: var(--space-6);
}

.search-bar {
  display: flex;
  gap: var(--space-3);
  max-width: 600px;
  margin: 0 auto;
}

.search-bar input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-lg);
  background: var(--color-surface);
  transition: border-color var(--transition);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--color-cta);
}

.search-results-count {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-sm);
}

/* =============================================================================
   21. CONTACT FORM
   ============================================================================= */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: var(--font-size-base);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
}

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

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

/* =============================================================================
   22. POLICY PAGES
   ============================================================================= */
.policy-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-xl);
}

.policy-content h3 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-lg);
}

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

.policy-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.policy-content ul li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
}

.policy-updated {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  margin-bottom: var(--space-6);
}

/* =============================================================================
   23. 404 PAGE
   ============================================================================= */
.error-page {
  text-align: center;
  padding: var(--space-24) var(--space-5);
}

.error-page__code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-page h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-4);
}

.error-page p {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* =============================================================================
   24. COOKIE BANNER
   ============================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-text);
  color: #fff;
  padding: var(--space-4) var(--space-5);
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.85);
}

.cookie-banner p a {
  color: rgba(255,255,255,0.85);
}

.cookie-actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cookie-actions .btn-primary {
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-size-sm);
}

.cookie-actions .btn-secondary {
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-size-sm);
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
}

.cookie-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* =============================================================================
   25. FOOTER
   ============================================================================= */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer-col p {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.footer-affiliate-note {
  margin-top: var(--space-4) !important;
  font-size: var(--font-size-xs) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-4);
}

.footer-affiliate-note a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col ul li a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-5) 0;
}

.footer-bottom p {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* =============================================================================
   26. ARTICLE / BLOG CONTENT
   ============================================================================= */
.article-header {
  margin-bottom: var(--space-8);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.article-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--color-border);
  border-radius: 50%;
}

.article-body h2 {
  font-size: var(--font-size-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.article-body h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.article-body h3 {
  font-size: var(--font-size-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article-body h4 {
  font-size: var(--font-size-lg);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.article-body p {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.article-body ul, .article-body ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.article-body a {
  color: var(--color-cta);
  text-decoration: underline;
}

.article-body blockquote {
  border-left: 4px solid var(--color-accent);
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-6);
  background: var(--color-affiliate-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body blockquote p {
  color: var(--color-text);
  font-style: italic;
  margin: 0;
}

/* Table of contents */
.toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-8);
}

.toc h4 {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.toc ol {
  list-style: decimal;
  padding-left: var(--space-5);
}

.toc ol li {
  margin-bottom: var(--space-2);
}

.toc ol li a {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  text-decoration: none;
}

.toc ol li a:hover {
  color: var(--color-cta);
}

/* =============================================================================
   27. MAP PLACEHOLDER
   ============================================================================= */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: #E8EAED;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin: var(--space-6) 0;
  overflow: hidden;
  position: relative;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================================================
   28. RATING DISPLAY
   ============================================================================= */
.rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.rating__stars {
  color: #F59E0B;
  font-size: var(--font-size-sm);
}

.rating__value {
  font-weight: 700;
  font-size: var(--font-size-sm);
}

.rating__count {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* =============================================================================
   29. MISC / UTILITY
   ============================================================================= */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition);
}

.tag:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
}

.no-results {
  text-align: center;
  padding: var(--space-12);
  color: var(--color-text-muted);
}

.no-results p {
  font-size: var(--font-size-lg);
}

/* Hidden class for JS */
.hidden { display: none !important; }

/* Visually hidden (accessible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================================
   30. MOBILE OVERFLOW FIXES (max-width: 767px)
   ============================================================================= */
@media (max-width: 767px) {
  /* --- GLOBAL CONTAINMENT --- */
  html, body { overflow-x: hidden; max-width: 100vw; }
  .container { padding-left: 16px; padding-right: 16px; max-width: 100%; }
  img { max-width: 100%; height: auto; }
  section, div, article, aside, header, footer, nav { max-width: 100%; }

  /* --- GRIDS → SINGLE COLUMN --- */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }

  /* --- CONTENT + SIDEBAR: stack vertically --- */
  .content-sidebar { display: block !important; }
  .content-sidebar > * { width: 100% !important; max-width: 100%; }
  .sidebar { width: 100% !important; position: static !important; }

  /* --- OSLO PASS SECTION --- */
  .oslo-pass-section { padding: 1.5rem 1rem; overflow: hidden; }
  .oslo-pass-section > .container > div,
  .oslo-pass-section .grid-2,
  .oslo-pass-section [style*="grid"] { display: block !important; }
  .oslo-pass-section > .container > div > div { width: 100% !important; max-width: 100%; margin-top: 1.5rem; }
  .oslo-pass-features { grid-template-columns: 1fr !important; }

  /* --- BREADCRUMBS: wrap instead of overflow --- */
  .breadcrumbs { flex-wrap: wrap; white-space: normal; overflow: hidden; }
  .breadcrumbs .current { overflow: hidden; text-overflow: ellipsis; max-width: 150px; white-space: nowrap; }

  /* --- MUSEUM INFO BAR --- */
  .museum-info-bar, .info-bar__grid { flex-wrap: wrap !important; grid-template-columns: 1fr 1fr !important; }
  .info-item { min-width: 45%; max-width: 50%; }

  /* --- AFFILIATE BLOCKS --- */
  .affiliate-block { padding: 1rem; overflow: hidden; }
  .affiliate-buttons { flex-direction: column !important; gap: 0.5rem; }
  .affiliate-buttons .btn, .affiliate-block .btn { width: 100% !important; }

  /* --- HERO --- */
  .hero { min-height: 400px; }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 0.95rem; }
  .hero-content { padding: 2rem 0; max-width: 100%; }
  .hero-search { flex-direction: column; gap: 0.5rem; }
  .hero-search input, .hero-search button { width: 100% !important; }
  .hero-actions { flex-direction: column; gap: 0.5rem; }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* --- BLOG CARDS --- */
  .blog-card--featured { flex-direction: column; }
  .blog-card--featured .blog-card__image { width: 100%; min-height: 180px; }
  .blog-card { flex-direction: column; }
  .blog-card__image { width: 100%; }

  /* --- FOOTER --- */
  .footer-grid { grid-template-columns: 1fr !important; }

  /* --- AD SLOTS --- */
  .ad-slot { max-width: 100%; overflow: hidden; box-sizing: border-box; }
  .ad-slot-leaderboard { height: 70px; }
  .ad-slot-rectangle { width: 100% !important; max-width: 100%; height: 120px; }
  .ad-slot-inline { height: 90px; }

  /* --- NAV DROPDOWN --- */
  .dropdown-menu { left: 0; right: auto; min-width: 200px; max-width: calc(100vw - 32px); }

  /* --- FILTER BAR --- */
  .filter-bar { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .filter-search { margin-left: 0; width: 100%; }
  .filter-search input { width: 100%; }
  .filter-tabs { flex-wrap: wrap; gap: 0.4rem; }

  /* --- NEWSLETTER --- */
  .newsletter { padding: 2rem 1rem; overflow: hidden; }
  .newsletter-form { flex-direction: column; gap: 0.5rem; }
  .newsletter-form input, .newsletter-form button { width: 100% !important; }

  /* --- TABLES --- */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

  /* --- ARTICLE / BLOG CONTENT --- */
  .article-body { overflow: hidden; max-width: 100%; }
  .article-body h2 { font-size: 1.35rem; }
  .article-body h3 { font-size: 1.15rem; }
  .article-toc { margin: 1rem 0; padding: 1rem; }
  .policy-content, .contact-form { padding: 1.25rem 1rem; }

  /* --- NEARBY MUSEUMS SCROLL --- */
  .nearby-scroll { padding-bottom: 1rem; }
  .nearby-card { width: 150px; flex-shrink: 0; }

  /* --- MUSEUM HERO BADGES --- */
  .hero-badges { flex-wrap: wrap; gap: 0.4rem; }
  .hero-badge { font-size: 0.7rem; }

  /* --- HIGHLIGHTS & FAQ --- */
  .highlights-list { grid-template-columns: 1fr !important; }
  .faq-question { padding: 0.9rem 1rem; font-size: 0.9rem; }
  .faq-answer__inner { padding: 0 1rem 0.9rem; }

  /* --- REASON ITEMS --- */
  .reason-item { padding: 1.25rem 1rem; }

  /* --- BUTTONS --- */
  .btn { max-width: 100%; white-space: normal; }
  .btn-lg { font-size: 0.95rem; padding: 0.7rem 1.25rem; }

  /* --- CATEGORY CARDS --- */
  .category-card { padding: 1.25rem 1rem; }

  /* --- COOKIE BANNER --- */
  .cookie-banner { flex-direction: column; gap: 0.75rem; padding: 1rem; }
  .cookie-actions { width: 100%; justify-content: center; }

  /* --- SECTION HEADERS --- */
  .section-header p { font-size: 0.95rem; }
  .section { padding: 2.5rem 0; }
}

/* =============================================================================
   30. RESPONSIVE — 768px TABLET
   ============================================================================= */
@media (min-width: 768px) {
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  h3 { font-size: var(--font-size-2xl); }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .info-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .oslo-pass-features {
    grid-template-columns: 1fr 1fr;
  }

  .highlights-list {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card--featured {
    flex-direction: row;
  }

  .blog-card--featured .blog-card__image {
    width: 40%;
  }

  .newsletter-form {
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 600px;
  }
}

/* =============================================================================
   31. RESPONSIVE — 1024px DESKTOP
   ============================================================================= */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }

  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .content-sidebar {
    grid-template-columns: 1fr 340px;
  }

  .sidebar {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-6));
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .oslo-pass-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    min-height: 640px;
  }
}
