/* ==========================================================================
   BRODERLIG STYRKA — STILMALL (MODERN HERITAGE)
   Färgpalett: Grafitsvart, Varm Sand, Dämpad Vinröd, Koppar, Mjölkvit
   ========================================================================== */

:root {
  /* Grafitsvart / Mörk bas */
  --bg-dark: #101316;
  --bg-dark-surface: #181d22;
  --bg-dark-card: #20272e;
  --bg-dark-border: #2e3742;

  /* Varm sand / Ljus redaktionell bas */
  --bg-sand-light: #faf7f2;
  --bg-sand: #f3ece1;
  --bg-sand-surface: #ebe3d5;
  --bg-sand-card: #ffffff;
  --bg-sand-border: #dacfc0;

  /* Accentfärger */
  --color-burgundy: #7a262e;
  --color-burgundy-dark: #58191f;
  --color-burgundy-light: #9c363f;
  
  --color-copper: #c5784e;
  --color-copper-dark: #a35d37;
  --color-copper-light: #df9065;
  --color-copper-subtle: rgba(197, 120, 78, 0.15);

  /* Typografifärger */
  --text-light: #f7f6f3;
  --text-light-muted: #b0bac5;
  --text-light-dim: #7f8b98;
  
  --text-dark: #181b1e;
  --text-dark-muted: #4e5764;
  --text-dark-dim: #7b8593;

  /* Typografi */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Radie & Skuggor */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 14px 35px rgba(0, 0, 0, 0.22);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.45);

  /* Övergångar */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --container-max: 1200px;
  --container-narrow: 840px;
  --header-height: 84px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.68;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAFI (Modern Heritage)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-copper);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--color-copper);
}

.quote-pull {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--color-copper-light);
  border-left: 3px solid var(--color-copper);
  padding-left: 1.5rem;
  margin: 2.25rem 0;
}

/* ==========================================================================
   CONTAINERS & STRUKTUR
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.main-content {
  flex: 1 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark-surface {
  background-color: var(--bg-dark-surface);
  color: var(--text-light);
  border-top: 1px solid var(--bg-dark-border);
  border-bottom: 1px solid var(--bg-dark-border);
}

.section-sand {
  background-color: var(--bg-sand-light);
  color: var(--text-dark);
}

.section-sand h1, .section-sand h2, .section-sand h3, .section-sand h4 {
  color: var(--text-dark);
}

.section-sand .eyebrow {
  color: var(--color-burgundy);
}

.section-sand .eyebrow::before {
  background-color: var(--color-burgundy);
}

.section-sand .quote-pull {
  color: var(--color-burgundy-dark);
  border-left-color: var(--color-burgundy);
}

.section-sand-warm {
  background-color: var(--bg-sand);
  color: var(--text-dark);
  border-top: 1px solid var(--bg-sand-border);
  border-bottom: 1px solid var(--bg-sand-border);
}

/* ==========================================================================
   KNAPPAR & INTERAKTIVA ELEMENT
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  border: 1px solid transparent;
}

.btn svg {
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background-color: var(--color-burgundy);
  color: #ffffff;
  border-color: var(--color-burgundy);
  box-shadow: 0 4px 15px rgba(122, 38, 46, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-burgundy-dark);
  border-color: var(--color-burgundy-dark);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(122, 38, 46, 0.5);
  transform: translateY(-2px);
}

.btn-copper {
  background-color: var(--color-copper);
  color: #ffffff;
  border-color: var(--color-copper);
  box-shadow: 0 4px 15px rgba(197, 120, 78, 0.3);
}

.btn-copper:hover {
  background-color: var(--color-copper-dark);
  border-color: var(--color-copper-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 120, 78, 0.45);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-outline-dark {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--bg-sand-border);
}

.btn-outline-dark:hover {
  background-color: var(--bg-sand-surface);
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.15rem 2.3rem;
  font-size: 1.05rem;
}

/* Brickor / Badges */
.badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
}

.badge-copper {
  background-color: var(--color-copper-subtle);
  color: var(--color-copper-light);
  border: 1px solid rgba(197, 120, 78, 0.35);
}

.badge-burgundy {
  background-color: rgba(122, 38, 46, 0.2);
  color: #ff9da6;
  border: 1px solid rgba(122, 38, 46, 0.45);
}

.badge-sand {
  background-color: var(--bg-sand-surface);
  color: var(--color-burgundy-dark);
  border: 1px solid var(--bg-sand-border);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(16, 19, 22, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(13, 15, 18, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(197, 120, 78, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-copper), var(--color-burgundy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.brand-logo span {
  color: var(--color-copper-light);
  font-style: italic;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light-muted);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-copper);
}

.nav-cta {
  margin-left: 0.75rem;
}

/* Mobilmeny knapp */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
}

/* Mobilmeny Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--bg-dark-surface);
  border-left: 1px solid var(--bg-dark-border);
  padding: 2.5rem 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-slow);
  box-shadow: -10px 0 40px rgba(0,0,0,0.6);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav-links .nav-link {
  font-size: 1.15rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================================
   HERO-SEKTIONER
   ========================================================================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(circle at 75% 30%, rgba(122, 38, 46, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(197, 120, 78, 0.12) 0%, transparent 50%),
              linear-gradient(to right, rgba(16, 19, 22, 0.96) 35%, rgba(16, 19, 22, 0.6) 100%);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.45;
  filter: grayscale(35%) contrast(110%);
}

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

.hero-title {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-subpage {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--bg-dark-surface) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--bg-dark-border);
  position: relative;
}

/* ==========================================================================
   KORT & REDAKTIONELLA KOMPONENTER
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

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

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

.card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 120, 78, 0.45);
  box-shadow: var(--shadow-dark);
}

.card-sand {
  background-color: var(--bg-sand-card);
  border: 1px solid var(--bg-sand-border);
  color: var(--text-dark);
}

.card-sand:hover {
  border-color: var(--color-burgundy);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--color-copper-subtle);
  color: var(--color-copper-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.card-sand .card-icon {
  background-color: rgba(122, 38, 46, 0.1);
  color: var(--color-burgundy);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.card-text {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
}

.card-sand .card-text {
  color: var(--text-dark-muted);
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-sand .card-footer {
  border-top: 1px solid var(--bg-sand-border);
}

/* Redaktionellt Feature-block (Split view) */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-feature.reverse {
  direction: rtl;
}

.split-feature.reverse > * {
  direction: ltr;
}

.feature-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-image-wrap:hover img {
  transform: scale(1.03);
}

.feature-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(16, 19, 22, 0.92) 0%, transparent 100%);
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light-muted);
  font-style: italic;
}

/* ==========================================================================
   BERÄTTELSE & REDAKTIONELL LÄSNING
   ========================================================================== */
.story-chapter {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 3.5rem;
  border-left: 2px solid rgba(197, 120, 78, 0.35);
}

.story-chapter-number {
  position: absolute;
  left: -15px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-copper);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.story-lead-quote {
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-left: 4px solid var(--color-copper);
  padding: 2rem;
  border-radius: var(--radius-sm);
  margin: 2.5rem 0;
}

.story-lead-quote p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-light);
  font-style: italic;
}

/* ==========================================================================
   VECKOSCHEMA / PLANERINGSTABELL
   ========================================================================== */
.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-sand-border);
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
  margin: 2.5rem 0;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.schedule-table th, .schedule-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--bg-sand-border);
}

.schedule-table th {
  background-color: var(--bg-sand-surface);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-burgundy-dark);
}

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

.schedule-table tr:hover td {
  background-color: var(--bg-sand-light);
}

.schedule-day {
  font-weight: 700;
  color: var(--color-burgundy);
  white-space: nowrap;
}

.schedule-focus {
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   RECEPTGALLERI & KORT
   ========================================================================== */
.recipe-card {
  background-color: var(--bg-sand-card);
  border: 1px solid var(--bg-sand-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-burgundy);
}

.recipe-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.recipe-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.recipe-card:hover .recipe-image-wrap img {
  transform: scale(1.05);
}

.recipe-meta-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(24, 27, 30, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.recipe-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dark-dim);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bg-sand-border);
}

.recipe-stat-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.recipe-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.recipe-desc {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Modal för receptdetaljer */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 19, 22, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background-color: var(--bg-sand-light);
  color: var(--text-dark);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--bg-sand-border);
}

.modal-header {
  position: relative;
  height: 280px;
}

.modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(16, 19, 22, 0.8);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-burgundy);
}

.modal-content {
  padding: 2.25rem;
}

/* ==========================================================================
   ARTIKELNAVIGERING & FILTER
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.filter-btn {
  background-color: var(--bg-dark-card);
  color: var(--text-light-muted);
  border: 1px solid var(--bg-dark-border);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--color-copper);
  color: #ffffff;
  border-color: var(--color-copper);
}

.article-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-copper);
}

.article-card-image {
  height: 210px;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-light-dim);
}

.article-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.article-card-excerpt {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   FORMULÄR (Endast 2 fält enligt strikt krav)
   ========================================================================== */
.form-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-dark);
}

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

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

.form-control {
  width: 100%;
  padding: 0.95rem 1.15rem;
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-copper);
  box-shadow: 0 0 0 3px rgba(197, 120, 78, 0.25);
}

.form-control::placeholder {
  color: var(--text-light-dim);
}

.form-control.is-invalid {
  border-color: #e04f5f;
  box-shadow: 0 0 0 2px rgba(224, 79, 95, 0.2);
}

.invalid-feedback {
  color: #ff7b88;
  font-size: 0.82rem;
  margin-top: 0.4rem;
  display: none;
}

.is-invalid + .invalid-feedback {
  display: block;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: var(--text-light-muted);
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--color-copper);
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.92rem;
}

.form-status.error {
  display: block;
  background-color: rgba(163, 40, 52, 0.2);
  border: 1px solid rgba(163, 40, 52, 0.5);
  color: #ff9da6;
}

/* ==========================================================================
   COOKIE-BANNER & HANTERING
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 440px;
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-left: 4px solid var(--color-copper);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-dark);
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-light);
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0b0d0f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

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

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-copper-light);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-disclaimer {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-light-dim);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-light-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   TILL TOPPEN KNAPP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal), background-color var(--transition-fast);
  z-index: 500;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--color-copper);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVA REGLER
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .split-feature {
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

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

  .split-feature, .split-feature.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .feature-image-wrap img {
    height: 320px;
  }

  .hero {
    min-height: auto;
    padding: 3.5rem 0;
  }

  .hero-bg-image {
    width: 100%;
    opacity: 0.25;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  
  .form-card {
    padding: 2rem 1.5rem;
  }
}
