/* Modern CSS for Ordet i Nord */
:root {
  --primary-color: #1e3a23;
  --primary-light: #2a4d2e;
  --primary-dark: #12261a;
  --secondary-color: #8dab78;
  --accent-color: #d4c9a0;
  --highlight: #d4c9a0;
  --text-primary: #1e2a1f;
  --text-secondary: #4a5a4c;
  --text-light: #7a8c7b;
  --background-primary: #ffffff;
  --background-secondary: #f7f4ee;
  --background-tertiary: #ede8de;
  --border-color: #d6d0c4;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.2s ease-in-out;
  --font-serif: Georgia, "Times New Roman", serif;
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.2rem);
  --text-lg: clamp(1.05rem, 1rem + 0.35vw, 1.35rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: var(--text-base); /* skalerer 16px → ~19px */
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: var(--background-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.25s ease;
}

/* Auto-skjul header ved scroll ned, vis igjen ved scroll opp.
   Toggles på document.body av en side-spesifikk scroll-lytter (se om-script.js);
   ingen side setter denne klassen med mindre den selv kobler den inn. */
body.headers-hidden .header {
  transform: translateY(-100%);
}

.quick-access {
  /* quick-access is positioned fixed under the header so it appears when header is shown */
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-height, 64px);
  z-index: 90;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.28s ease,
    box-shadow 0.35s ease;
  box-shadow: 0 6px 18px rgba(16, 22, 16, 0.04);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(4px);
}

body.headers-hidden .quick-access {
  transform: translateY(-120%);
  opacity: 0;
}

/* Visible state: slightly stronger shadow for emphasis */
body:not(.headers-hidden) .quick-access {
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 14px 34px rgba(16, 22, 16, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400; /* Georgia 400 er allerede visuelt sterk nok */
  letter-spacing: 0.01em;
}

.logo img {
  margin-right: 0.75rem;
  border-radius: 50%; /* Gjør bildet sirkulært */
  background: white; /* Hvit bak logo */
  padding: 0.15em; /* Litt luft rundt logoen */
  box-shadow: 0 2px 8px 0 rgba(44, 85, 48, 0.06); /* Valgfritt: diskret skygge */
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.desktop-nav a:hover {
  color: var(--primary-color);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background: var(--background-tertiary);
}

.mobile-info-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.mobile-info-toggle:hover {
  background: var(--background-tertiary);
}

.toggle-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.desktop-menu-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-left: 1rem;
}

.desktop-menu-group .toggle-label {
  color: var(--text-secondary);
}

.desktop-menu-group .toggle-label {
  color: var(--text-secondary);
}

.desktop-menu-toggle {
  background: var(--primary-color);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.desktop-menu-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Mobile Menu – samme look som full-screen-menu, men med slide-in panel */
.mobile-menu {
  position: fixed;
  inset: 0; /* dekker hele skjermen, men vi bruker panel inni */
  z-index: 10000;
  pointer-events: none; /* blir aktivt når open */
}

.mobile-menu.open {
  pointer-events: auto;
}

/* Dette er selve panelet som slider inn */
.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(92vw, 520px);
  padding: 2rem;
  padding-bottom: 4rem;

  /* Samme bakgrunn som full-screen-menu */
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;

  transform: translateX(110%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-content {
  transform: translateX(0);
}

/* Lukk-knapp – samme uttrykk som full-screen-menu */
.mobile-menu-close {
  position: sticky; /* holder seg på topp når du scroller */
  top: 0;
  margin-left: auto;
  margin-bottom: 1rem;

  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;

  width: 3rem;
  height: 3rem;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.mobile-menu.open::before {
  opacity: 1;
}

/* Mobil: stable kolonner og juster luft */
@media (max-width: 768px) {
  /* I mobile-menu vil vi ha 1 kolonne for oversikt */
  .mobile-menu .menu-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .mobile-menu .menu-column {
    padding: 1.25rem;
    margin-top: 0; /* full-screen har margin-top: 4rem; ikke ønskelig på mobil */
  }

  .mobile-menu .menu-column h3 {
    font-size: 1.25rem;
  }
}

.mobile-menu-footer {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem 1rem 2rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 2px 8px 0 rgba(44, 85, 48, 0.05);
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.02rem;
  text-align: left;
  line-height: 1.6;
}

.mobile-menu-footer strong {
  color: #fff;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mobile-menu-footer::after {
  content: "";
  height: 12px;
  flex-shrink: 0;
}

.footer-menighet {
  display: inline-block;
  font-size: 1.02em;
  font-weight: 600;
  color: var(--highlight);
  margin-top: 0.3em;
  margin-bottom: 0.5em;
}

.footer-list {
  margin: 1.1em 0 1.2em 1.2em;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.97);
  font-size: 0.99em;
}
.footer-list li {
  margin-bottom: 0.5em;
  padding-left: 0.1em;
  text-indent: 0;
}
.footer-tag {
  font-family: monospace, monospace;
  color: var(--highlight);
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.04em 0.35em;
  border-radius: 8px;
  margin-right: 0.4em;
}

.footer-donation {
  margin-top: 1.1em;
  color: #fff;
  font-size: 0.99em;
  line-height: 1.6;
}
.footer-vipps,
.footer-konto {
  color: var(--highlight);
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.01em;
  margin-left: 0.1em;
  margin-right: 0.1em;
}

/* Fullskjerm Meny */
.full-screen-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  z-index: 9999;
  padding: 2rem;
  overflow-y: auto;
}

.full-screen-menu.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.full-screen-menu-content {
  max-width: 1200px;
  margin: 4rem auto 0 auto;
  position: relative;
}

.full-screen-menu-close {
  position: absolute;
  top: -2rem;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.full-screen-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.menu-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.menu-column {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  margin-top: 4rem;
}

.menu-column:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.menu-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
  color: white;
}

.menu-column-link {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  font-weight: 500;
}

.menu-column-link:hover {
  color: white;
  padding-left: 0.5rem;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.menu-column-link:last-child {
  border-bottom: none;
}

.menu-highlight {
  background: var(--highlight);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition);
}

.menu-highlight:hover {
  background: #e55a2b;
  transform: translateY(-2px);
}

/* Quick Access */
.quick-access {
  background: var(--background-secondary);
  border-bottom: 1.5px solid var(--border-color);
  padding: 0.75rem 0;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: var(--primary-color);
  text-decoration: none;
  padding: 0.65rem 0.5rem;
  border-radius: var(--border-radius);
  border: 1.5px solid var(--border-color);
  background: var(--background-primary);
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.85rem;
  min-height: 52px;
}

.quick-link .material-icons {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.quick-link:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-link:hover .material-icons {
  color: var(--accent-color);
}

@media (max-width: 480px) {
  .quick-link {
    font-size: 0.8rem;
    padding: 0.6rem 0.25rem;
  }
}

/* Hero Section */
.hero {
  background: var(--primary-color);
  color: white;
  padding: 2.5rem 0 2rem 0;
  /* .quick-access is position:fixed (out of flow), so its rendered height
     is reserved here as margin instead - otherwise it floats over the hero. */
  margin-top: var(--quick-access-height, 76px);
}

.hero-content {
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  color: #f0ece3;
}

.hero p {
  font-size: 1rem;
  opacity: 0.75;
  max-width: 560px;
  margin: 0 auto;
  color: #f0ece3;
}

/* Hero Cards Carousel */
.hero-cards-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-cards-wrapper {
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.hero-cards {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 400%;
}

.hero-card {
  width: 25%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.hero-card.featured {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-badge {
  display: inline-block;
  background: var(--highlight);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-card p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  flex: 1;
}

.compact-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.compact-list li {
  padding: 0.25rem 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  transition: var(--transition);
  margin-top: auto;
  align-self: flex-start;
}

.card-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

/* Hero Navigation Buttons */
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.hero-controls .hero-nav-btn {
  position: static; /* Fjern absolutt posisjonering */
  transform: none;
  left: unset;
  right: unset;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.3rem;
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  /* transform: translateY(-50%); */
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.5rem;
  z-index: 10;
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* .hero-nav-prev {
  left: -4rem;
}

.hero-nav-next {
  right: -4rem;
} */

/* Hero Indicators */
.hero-indicators {
  display: flex;
  justify-content: center;
  gap: 0.8rem; /* Avstand mellom dot-indikatorene */
  margin: 0;
}

.hero-dot {
  width: 12px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: rgba(255, 255, 255, 0.9);
  width: 24px;
}

/* .hero-dot.featured {
  background: var(--accent-color);
}

.hero-dot.active.featured {
  background: var(--accent-color);
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
} */

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Responsive Hero Cards */
@media (max-width: 768px) {
  .hero {
    padding: 1.75rem 0 1.75rem 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-cards-wrapper {
    max-width: 340px;
  }

  .hero-card {
    padding: 1.5rem;
    min-height: 260px;
  }

  .hero-nav-prev {
    left: -2.5rem;
  }

  .hero-nav-next {
    right: -2.5rem;
  }

  .hero-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-cards-wrapper {
    max-width: 320px;
  }

  .hero-card {
    padding: 1.25rem;
    min-height: 240px;
  }

  .hero-card h3 {
    font-size: 1.3rem;
  }

  .hero-nav-prev {
    left: -1.5rem;
  }

  .hero-nav-next {
    right: -1.5rem;
  }

  .hero-nav-btn {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.2rem;
  }

  .hero-indicators {
    gap: 0.5rem;
  }

  .hero-dot {
    width: 10px;
    height: 3px;
  }

  .hero-dot.active {
    width: 20px;
  }
}

/* Main Content */
.main-content {
  padding: 2rem 0;
}

/* Church Calendar */
.church-calendar {
  background: var(--background-primary);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Responsive adjustments for church calendar */
@media (max-width: 768px) {
  .church-calendar {
    padding: 1.5rem;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .calendar-item.text-display {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .church-calendar {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .calendar-grid {
    gap: 0.75rem;
  }
}

@media (max-width: 360px) {
  .church-calendar {
    padding: 0.75rem;
    border-radius: var(--border-radius);
  }

  .calendar-item {
    padding: 1rem;
  }

  .date-navigator {
    gap: 0.5rem;
  }

  .nav-btn {
    width: 35px;
    height: 35px;
  }

  .date-input {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .custom-select select {
    padding: 10px 35px 10px 12px;
    font-size: 0.9rem;
  }

  #textDisplay {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

.calendar-item {
  background: var(--background-secondary);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.calendar-item .input-label {
  text-align: center;
  margin-bottom: 12px;
}

.date-navigator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.date-navigator {
  margin-top: 8px;
}

.nav-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--primary-dark);
}

.date-input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  text-align: center;
  background: var(--background-primary);
}

/* Custom Dropdown - Erstatter .custom-select */
.custom-dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.dropdown-selected {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  background: var(--background-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.dropdown-selected:hover {
  border-color: var(--primary-light);
}

.dropdown-selected.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.1);
}

.dropdown-arrow {
  font-size: 20px;
  color: var(--text-secondary);
  transition: var(--transition);
  pointer-events: none;
  line-height: 1;
}

.dropdown-selected.active .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.3s ease-in-out,
    opacity 0.2s ease-in-out,
    visibility 0.2s ease-in-out;
}

.dropdown-options.show {
  max-height: 200px;
  opacity: 1;
  visibility: visible;
  border-top: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-top: 2px;
}

.dropdown-option {
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color-light);
  font-size: 1rem;
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background: var(--background-secondary);
  color: var(--primary-color);
}

.dropdown-option.selected {
  background: var(--primary-color);
  color: white;
}

.dropdown-option.selected:hover {
  background: var(--primary-dark);
}

/* Responsive tilpasninger for dropdown */
@media (max-width: 768px) {
  .dropdown-selected {
    padding: 14px 45px 14px 16px;
    font-size: 16px; /* Forhindrer zoom på iOS */
  }

  .dropdown-option {
    padding: 14px 16px;
    font-size: 16px;
  }

  .dropdown-options {
    max-height: 0;
  }

  .dropdown-options.show {
    max-height: 280px;
  }

  .dropdown-arrow {
    font-size: 22px;
    right: 14px;
  }
}

/* Fjern focus outline på mobile */
.custom-dropdown:focus {
  outline: none;
}

.dropdown-selected:focus {
  outline: none;
}

.input-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.text-display {
  grid-column: 1 / -1;
}

#textDisplay {
  background: var(--background-primary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  line-height: 1.7;
}

/* Text Display Styling */
.text-content {
  font-family: var(--font-serif);
  line-height: 1.8;
}

.text-content .bibtekst {
  font-weight: 600;
  color: var(--primary-color);
}

.text-content .bibhenv {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.text-content-inner {
  line-height: 1.7;
}

.text-bible-block {
  margin-bottom: 1rem;
}

.text-bible-block .bibhenv {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.text-bible-block .bibtekst {
  font-weight: 600;
  color: var(--primary-color);
}

.text-bible-block .bibtekst p {
  margin: 0 0 0.6rem 0;
}

.text-bible-block .bibtekst p:last-child {
  margin-bottom: 0;
}

.text-ellipsis {
  margin-top: 0.5rem;
  color: var(--text-secondary);
}

.text-content .tekst {
  color: var(--text-primary);
  margin-top: 1rem;
  display: block;
}

.text-content .tekst p {
  margin: 0 0 1rem 0;
  line-height: 1.8;
}

.text-content .tekst p:last-child {
  margin-bottom: 0;
}

.text-controls {
  margin-top: 1.5rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.text-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.text-toggle-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.text-toggle-btn:active {
  transform: translateY(0);
}

.text-toggle-btn .material-icons {
  font-size: 1.2rem;
  transition: var(--transition);
}

/* Smooth transitions for text display */
.text-short,
.text-full {
  transition: opacity 0.3s ease-in-out;
}

/* Enhanced text formatting */
.text-content h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.text-content h5 {
  color: var(--text-secondary);
  margin: 1.5rem 0 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.text-content p {
  margin-bottom: 1rem;
}

.text-content br + br {
  display: block;
  margin: 0.5rem 0;
  content: "";
}

.read-more-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-top: 1rem;
  transition: var(--transition);
}

.read-more-btn:hover {
  background: var(--primary-dark);
}

/* Luther Quote */
.luther-quote {
  margin: 3rem 0;
}

.quote-container {
  /* background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px); */
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 0;
  box-shadow: var(--shadow-lg);
  text-align: center;
  overflow: hidden;
  transition: var(--transition);
}

.quote-container:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  position: relative;
}

.quote-header span {
  font-size: 0.95rem;
  font-weight: 500;
}

.quote-navigation {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-nav-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.quote-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.quote-nav-btn:active {
  transform: scale(0.95);
}

.quote-counter {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 3rem;
  text-align: center;
}

.quote-content {
  font-family: var(--font-serif);
  padding: 2.5rem 2rem 2rem 2rem;
  background: rgba(255, 255, 255, 0.05);
}

.quote-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quote-content h3 {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.25rem;
  opacity: 0.9;
}

.quote-content p {
  text-align: left;
  line-height: 1.8;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
  margin: 0;
  box-shadow: var(--shadow-sm);
}

.quote-instruction {
  background: rgba(255, 255, 255, 0.1);
  margin: 0;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.quote-instruction::before {
  content: "💡";
  font-size: 1rem;
}

/* Responsive adjustments for quote section */
@media (max-width: 768px) {
  .quote-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }

  .quote-navigation {
    width: 100%;
    justify-content: center;
  }

  .quote-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
  }

  .quote-content h2 {
    font-size: 1.3rem;
  }

  .quote-content h3 {
    font-size: 1.1rem;
  }

  .quote-content p {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .quote-instruction {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
}

/* App Strip: oppdagelsesstripe med lenker til alle appene på /om/-siden */
.app-strip {
  padding: 1rem 0 0.5rem;
}

.app-strip-heading {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.app-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.app-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.6rem;
  background: var(--background-primary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.app-strip-item .material-icons {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.app-strip-item:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.app-strip-item:hover .material-icons {
  color: white;
}

@media (max-width: 480px) {
  .app-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Content Sections */
.content-sections {
  display: grid;
  gap: 3rem;
}

.content-section {
  background: var(--background-primary);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.content-section.highlight {
  border: 2px solid var(--primary-color);
  background: linear-gradient(
    135deg,
    var(--background-primary) 0%,
    #eef4ec 100%
  );
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  color: var(--primary-color);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2.2rem);
  font-weight: 400;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.section-link:hover {
  background: var(--primary-color);
  color: white;
}

.content-section p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  /* font-size: 1.05rem; */
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.subsection {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.subsection h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  /* font-size: 1.2rem; */
  font-weight: 400;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  margin-top: 1rem;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Stevner Section */
.stevner-section {
  margin: 2rem 0;
}

.stevner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stevne-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: rgba(30, 58, 35, 0.06);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  gap: 0.25rem;
}

.stevne-item strong {
  color: var(--primary-color);
}

.nettradio-section,
.donation-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.donation-info {
  text-align: center;
  background: var(--background-secondary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

/* Church Year Tool */
.church-year-tool {
  background: var(--background-secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.year-input-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.year-input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  max-width: 200px;
}

/* Church Year Display */
.church-year-display {
  margin-top: 2rem;
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--primary-color);
  color: white;
  flex-wrap: wrap;
  gap: 1rem;
}

.calendar-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.calendar-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.pdf-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}

.pdf-button:hover {
  background: #e55a2b;
  transform: translateY(-1px);
}

.close-calendar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}

.close-calendar-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.church-year-content {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
}

.church-year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.church-day-item {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.church-day-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.church-day-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.church-day-date {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.church-day-texts {
  line-height: 1.6;
}

.church-day-texts p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.church-day-texts strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Legg til styling for current church day */
.current-day .church-day-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: white;
  padding: 1rem;
  margin: -1.5rem -1.5rem 1.5rem -1.5rem;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.current-day .church-day-header h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.current-day .church-day-content {
  padding: 0;
}

.current-day .church-day-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.bible-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  margin-left: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(44, 85, 48, 0.1);
}

.bible-text-link:hover {
  background: rgba(44, 85, 48, 0.2);
  transform: translateX(2px);
}

.bible-text-link .material-icons {
  font-size: 1rem;
}

.church-song-link-row {
  margin-top: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.church-song-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: white;
  background: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  transition: var(--transition);
}

.church-song-link:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.church-song-link .material-icons {
  font-size: 1.05rem;
}

/* PDF-specific styles */
@media print {
  .calendar-header {
    background: white !important;
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--primary-color);
  }

  .calendar-actions {
    display: none !important;
  }

  .church-year-content {
    max-height: none !important;
    overflow: visible !important;
  }

  .church-day-item {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* Responsive adjustments for church year display */
@media (max-width: 768px) {
  .calendar-header {
    flex-direction: column;
    text-align: center;
  }

  .calendar-actions {
    width: 100%;
    justify-content: center;
  }

  .church-year-grid {
    grid-template-columns: 1fr;
  }

  .church-year-content {
    padding: 1rem;
  }
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--background-primary);
  margin: 5% auto;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--background-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-info-toggle {
    display: flex;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-links {
    /* flex-direction: column; */
    gap: 0.5rem;
  }

  .quick-link {
    justify-content: center;
  }

  .stevner-grid {
    grid-template-columns: 1fr;
  }

  .year-input-group {
    flex-direction: column;
  }

  .container {
    padding: 0 0.75rem;
  }

  .desktop-menu-group {
    display: none;
  }

  .menu-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .menu-column {
    padding: 1.5rem;
  }

  .full-screen-menu-content {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
    font-weight: 400;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .content-section {
    padding: 1.5rem;
  }

  .church-calendar {
    padding: 1rem;
  }

  #textDisplay {
    padding: 1rem;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-toggle-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }

  .text-controls {
    margin-top: 1rem;
    padding-top: 0.75rem;
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }

  .mobile-info-toggle {
    display: none;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  .menu-highlight {
    padding: 0.5rem 0.5rem;
    margin-top: 0.5rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 0.25rem;
  }
}

/* Unik første hero-slide: stevne */
.hero-card.event-slide {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.12)
  );
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.event-card-content {
  align-items: center;
  text-align: center;
  justify-content: flex-start;
}

.event-badge {
  margin-bottom: 1.15rem;
  padding: 0.35rem 0.9rem;
  font-weight: 700;
}

.event-title {
  margin: 0 0 0.75rem 0;
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
}

.event-date {
  font-size: clamp(1.45rem, 7vw, 2.15rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.event-divider {
  width: min(12rem, 70%);
  height: 2px;
  margin: 0.2rem auto 1rem auto;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.event-schedule {
  width: 100%;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.event-day {
  display: grid;
  grid-template-columns: minmax(4.8rem, 0.8fr) 1fr;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  text-align: left;
}

.event-day-name {
  font-weight: 700;
  opacity: 0.98;
}

.event-time {
  font-weight: 500;
  opacity: 0.95;
}

.event-day .event-time + .event-time {
  grid-column: 2;
}

/* Mobiljustering */
@media (max-width: 480px) {
  .hero-card.event-slide {
    min-height: 330px;
    padding: 1.4rem 1.45rem;
  }

  .event-title {
    margin-bottom: 0.65rem;
  }

  .event-date {
    margin-bottom: 0.85rem;
  }

  .event-schedule {
    gap: 0.7rem;
  }

  .event-day {
    grid-template-columns: 4.6rem 1fr;
    font-size: 1rem;
  }
}

/* ===== TILLEGG: Eyebrow-etiketter over seksjonstittler ===== */
/* Legg til <p class="section-eyebrow">Opptak</p> rett før <h2> i .section-header */
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 0.3rem;
}

/* Hero eyebrow */
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Card badge – oppdatert til pergament-stil */
.card-badge {
  background: transparent !important;
  border: 1px solid rgba(212, 201, 160, 0.55);
  color: var(--accent-color) !important;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Hero-kart: oppdatert bakgrunn */
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 201, 160, 0.2);
}

.hero-card.featured {
  background: rgba(255, 255, 255, 0.13);
  border: 1.5px solid rgba(212, 201, 160, 0.3);
}

/* Sitat-boks overskrift bruker serif */
.quote-content h2 {
  font-family: var(--font-serif);
  font-weight: 400;
}
