/* ============================================
   NORSK SKIGUIDE — Editorial Alpine Magazine
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy: #0a1628;
  --navy-light: #132240;
  --ice: #a8d4e6;
  --ice-light: #d0e9f4;
  --ice-pale: #e8f2f8;
  --snow: #f0f4f8;
  --white: #fafcfe;
  --gold: #c8a84e;
  --gold-light: #e6d08a;
  --gold-dark: #a08030;
  --slate: #3a4a5c;
  --muted: #6b7c8e;
  --border: #d4dce6;
  --shadow-sm: 0 1px 3px rgba(10,22,40,0.08);
  --shadow-md: 0 4px 16px rgba(10,22,40,0.1);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.15);
  --shadow-xl: 0 20px 60px rgba(10,22,40,0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --max-width: 1280px;
  --header-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p + p { margin-top: 1.2em; }

::selection {
  background: var(--ice);
  color: var(--navy);
}

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---- Grain Overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 212, 230, 0.1);
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--ice), var(--gold));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Desktop Nav */
.main-nav {
  display: none;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

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

.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
  color: var(--white);
  background: rgba(168, 212, 230, 0.12);
}

.main-nav > li > a .arrow {
  font-size: 0.6em;
  transition: transform var(--transition);
}

.main-nav > li:hover > a .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  padding: 8px;
  z-index: 100;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.main-nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--slate);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown a:hover {
  background: var(--ice-pale);
  color: var(--navy);
}

.dropdown-section-title {
  padding: 6px 14px 2px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 14px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

@media (min-width: 900px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: var(--navy);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu-section {
  margin-top: 20px;
}

.mobile-menu-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

/* ============================================
   HERO SECTIONS
   ============================================ */

/* Homepage Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.5) 50%,
    rgba(10, 22, 40, 0.3) 100%
  );
}

.hero:hover .hero-bg {
  transform: scale(1.03);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(200, 168, 78, 0.2);
  border: 1px solid rgba(200, 168, 78, 0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--ice-light);
}

.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Article Hero */
.article-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  max-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.article-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.article-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.9) 0%,
    rgba(10, 22, 40, 0.3) 50%,
    rgba(10, 22, 40, 0.1) 100%
  );
}

.article-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.article-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
  max-width: 800px;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.article-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 168, 78, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

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

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

.breadcrumbs span {
  margin: 0 8px;
  opacity: 0.5;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.section-title {
  color: var(--navy);
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--navy);
}

.section-link::after {
  content: '→';
  transition: transform var(--transition);
}

.section-link:hover::after {
  transform: translateX(4px);
}

/* Alt background */
.section-alt {
  background: var(--snow);
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  gap: 28px;
}

.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ice);
}

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

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.card-img-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-title a {
  transition: color var(--transition);
}

.card-title a:hover {
  color: var(--gold-dark);
}

.card-excerpt {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-read-more {
  font-weight: 600;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-read-more:hover {
  color: var(--navy);
}

/* Featured card (large) */
.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  min-height: 400px;
  position: relative;
}

@media (min-width: 768px) {
  .featured-card {
    grid-template-columns: 1.2fr 1fr;
    min-height: 360px;
  }
}

.featured-card-img {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

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

.featured-card-body {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.featured-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(200, 168, 78, 0.2);
  border: 1px solid rgba(200, 168, 78, 0.3);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.featured-card h2 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.featured-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.featured-card .btn {
  align-self: flex-start;
}

/* ============================================
   ARTICLE LAYOUT
   ============================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 0 80px;
}

@media (min-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr 320px;
  }
}

.article-content {
  max-width: 720px;
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ice-pale);
}

.article-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-content p {
  color: var(--slate);
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--slate);
}

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

.article-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.article-content img {
  border-radius: var(--radius-md);
  margin: 28px 0;
  box-shadow: var(--shadow-md);
}

.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--snow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--slate);
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Fakta Box */
.fakta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.fakta-box::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(168,212,230,0.15), transparent);
  border-radius: 50%;
}

.fakta-box h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fakta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fakta-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

.fakta-label {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.fakta-value {
  font-weight: 600;
  color: var(--white);
  text-align: right;
}

/* Related Articles (sidebar) */
.related-box {
  background: var(--snow);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.related-box h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.related-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.related-item-img {
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.related-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item-text {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  transition: color var(--transition);
}

.related-item:hover .related-item-text {
  color: var(--gold-dark);
}

/* Bottom Related Articles */
.related-section {
  padding: 60px 0;
  background: var(--snow);
  border-top: 1px solid var(--border);
}

/* ============================================
   SEARCH BAR (Homepage)
   ============================================ */
.search-bar {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.search-bar input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  color: var(--navy);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-bar input:focus {
  border-color: var(--ice);
  box-shadow: 0 0 0 4px rgba(168, 212, 230, 0.2);
}

.search-bar input::placeholder {
  color: var(--muted);
}

.search-bar-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
  pointer-events: none;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,168,78,0.08), transparent);
  border-radius: 50%;
}

.newsletter::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168,212,230,0.08), transparent);
  border-radius: 50%;
}

.newsletter-content {
  position: relative;
  z-index: 2;
}

.newsletter h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   CATEGORY PAGE
   ============================================ */
.category-hero {
  background: var(--navy);
  padding: 100px 0 48px;
  text-align: center;
}

.category-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.category-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 899px) {
  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 60px 0;
  }

  .article-hero {
    height: 45vh;
    min-height: 320px;
  }

  .section {
    padding: 56px 0;
  }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  @media (min-width: 500px) {
    .card-grid-2,
    .card-grid-3,
    .card-grid-4 {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}

@media (max-width: 499px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .featured-card-body {
    padding: 28px 20px;
  }

  .fakta-box {
    padding: 22px;
  }
}

/* ============================================
   SNOW PARTICLE DECORATION
   ============================================ */
.snow-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -10px;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: snowfall linear infinite;
  opacity: 0;
}

@keyframes snowfall {
  0% {
    opacity: 0;
    transform: translateY(-10px) translateX(0) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) translateX(80px) rotate(360deg);
  }
}

/* ============================================
   CATEGORY LIST PAGE
   ============================================ */
.category-page-grid {
  padding: 48px 0 80px;
}

/* ============================================
   INFO BOX (inline in articles)
   ============================================ */
.info-box {
  background: linear-gradient(135deg, var(--ice-pale), var(--snow));
  border-left: 4px solid var(--ice);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  margin: 28px 0;
}

.info-box h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.info-box p {
  font-size: 0.92rem;
  color: var(--slate);
}

/* ============================================
   TAG PILLS
   ============================================ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--ice-pale);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
}

.tag:hover {
  background: var(--ice);
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .snow-container,
  .newsletter {
    display: none !important;
  }

  body::before { display: none; }

  .article-hero {
    height: auto;
    min-height: 0;
  }
}
