/* --- FONTTIEN TUONTI --- */

/* --- MUUTTUJAT JA TEHOSTEET --- */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --gold-primary: #c5a059;
  --gold-bright: #e5c07b;
  --gold-dark: #8e6d2f;
  --text-light: #e0e0e0;
  --border-color: rgba(255, 255, 255, 0.1);
  --nav-height: 80px;
}

/* --- PERUSTYYLIT --- */
html {
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

h1, h2, h3, .logo {
  font-family: 'Cinzel', serif;
}

/* Kultatehoste teksteille */
.gold-text-effect, .hero h1, .section-title {
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url("../img/gold-texture.jpg") center;
  background-size: 300px auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  filter: contrast(120%) drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
}

/* --- NAVBAR JA HEADER --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 4rem;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  box-sizing: border-box;
}

header.scrolled {
  padding: 1.2rem 4rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

header .logo {
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: var(--gold-primary);
  font-weight: 400;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Kielivalitsin (Desktop & Yhteinen minimalistinen tyyli) */
.lang-selector-header, .lang-selector {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-selector-header button, .lang-selector button {
  background: none;
  border: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.3s ease;
  padding: 5px;
  text-transform: uppercase;
}

.lang-selector-header button.active, .lang-selector button.active {
  opacity: 1;
  color: var(--gold-primary);
  font-weight: 600;
}

.lang-selector-header .sep, .lang-selector .sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

/* Menu Toggle (Hampurilainen) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 10px;
}

.menu-toggle .bar {
  width: 28px;
  height: 1px;
  background: var(--gold-primary);
  transition: all 0.4s ease;
}

.menu-toggle.active .bar:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.menu-toggle.active .bar:nth-child(3) { display: none; }

/* --- SIDE MENU (Sivuvalikko) --- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.menu-overlay.show { opacity: 1; pointer-events: auto; }

.nav-links.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 500px;
  max-width: 85%;
  height: 100vh;
  background: #080808;
  border-left: 1px solid var(--border-color);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.nav-links.side-menu.show { transform: translateX(0); box-shadow: -15px 0 40px rgba(0,0,0,0.7); }

.nav-container {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: center;
  width: 100%;
}

.nav-links.side-menu a {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: #fff;
  text-decoration: none !important;
  letter-spacing: 5px;
  transition: all 0.5s ease;
  opacity: 0.5;
}

.nav-links.side-menu a:hover { opacity: 1; color: var(--gold-primary); letter-spacing: 7px; }

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  z-index: 1200;
}

/* --- HERO-OSIO (Etusivu) --- */
.hero.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero.video-hero {
    align-items: flex-end;
    height: 100svh;
  }
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* Hero curtain removed — prod has no overlay on the video, only the bottom
   .hero-video-fade gradient. Text legibility comes from the existing
   hero-eyebrow/H1 text-shadows. */

.hero-video-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* Säädä korkeutta (30-50vh) sen mukaan, kuinka ylhäältä haluat häivytyksen alkavan */
  height: 40vh;
  z-index: 2;
  /* Luodaan pehmeä siirtymä läpinäkyvästä täysin mustaan */
    background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.8) 75%,
    var(--bg-dark) 100%
  );
  pointer-events: none;
}

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

.hero h1 { font-size:3.6rem; line-height: 1.1; margin-bottom: 1rem; text-transform: uppercase; }
.hero p { font-size: 1.1rem; font-weight: 300; letter-spacing: 3px; margin-bottom: 3rem; color: rgba(255, 255, 255, 0.65); text-transform: uppercase; text-shadow: 0 0 20px rgba(0,0,0,1), 0 0 10px rgba(0,0,0,1), 0 2px 4px rgba(0,0,0,1); }
.hero-eyebrow { font-family: 'Inter', sans-serif; font-size: 0.65rem; letter-spacing: 3px; color: #f0d090; text-transform: uppercase; display: block; margin-bottom: 1.2rem; text-shadow: 0 0 20px rgba(0,0,0,1), 0 0 10px rgba(0,0,0,1), 0 2px 4px rgba(0,0,0,1); opacity: 1; }
.hero-divider { width: 40px; height: 1px; background: rgba(197, 160, 89, 0.5); margin: 1rem auto 1.5rem; }

.hero-action-area { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-top: 40px; }
.hero-button-pair { display: flex; gap: 0; }

.btn {
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 180px;
  text-align: center;
  border: 1px solid var(--gold-primary);
  cursor: pointer;
}

.btn-primary { background: var(--gold-primary); color: black !important; border-radius: 4px 0 0 4px; }
.btn-primary:hover { background: var(--gold-bright); box-shadow: 0 0 20px rgba(197, 160, 89, 0.5); transform: translateY(-2px); }

.btn-secondary { background: rgba(0, 0, 0, 0.2); color: var(--gold-primary) !important; border-radius: 0 4px 4px 0; backdrop-filter: blur(5px); }
.btn-secondary:hover { background: rgba(197, 160, 89, 0.15); box-shadow: 0 0 20px rgba(197, 160, 89, 0.3); transform: translateY(-2px); }

.btn-book-now {
  min-width: 260px;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-primary));
  color: black !important;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  transition: all 0.4s ease;
  display: inline-block;
  border: none;
  margin-top: 5px;
}
.btn-book-now:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,0.5), 0 0 25px rgba(197, 160, 89, 0.4); background: linear-gradient(135deg, #f0d090, var(--gold-bright)); }

/* --- LISTAUS-SIVUN TYYLIT (Activities & Accommodation) --- */
.accommodation-listing {
  padding: 0 2rem 80px;
  background: var(--bg-dark);
  min-height: 100vh;
  text-align: center;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.premium-card {
  position: relative;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.premium-image-wrapper {
  position: relative;
  height: 420px;
  width: 100%;
  overflow: hidden;
}

.premium-img {
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.premium-card:hover .gallery-arrow {
  opacity: 0.7 !important; /* Nuolet tulevat esiin kun korttiin kosketaan */
}

.gallery-arrow:hover {
  opacity: 1 !important; /* Nuoli kirkastuu entisestään kun sen päällä ollaan */
  transform: translateY(-50%) scale(1.2); /* Pieni suurennusefekti */
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  z-index: 1;
}

.premium-card-info {
  padding: 1.8rem;
  background: var(--bg-card);
  text-align: left;
  position: relative;
  z-index: 2;
}

.premium-card-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: white;
  letter-spacing: 1px;
}

.explore-link {
  color: var(--gold-primary);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.price-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  color: var(--gold-bright);
  padding: 6px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 10;
  border: 1px solid rgba(197, 160, 89, 0.3);
  letter-spacing: 1px;
}

/* --- SANTA LUMISADE --- */
.snowfall-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #fff, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 40px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 50px 160px, #fff, rgba(0,0,0,0));
  background-size: 200px 200px;
  animation: snow-animation 15s linear infinite;
  opacity: 0.3;
}

@keyframes snow-animation {
  from { background-position: 0 0; }
  to { background-position: 100px 200px; }
}

/* --- NAVIGOLINKKIEN ANIMAATIO --- */
@keyframes linkSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-links.side-menu.show .nav-container a {
  animation: linkSlideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
}
.nav-links.side-menu.show .nav-container a:nth-child(1) { animation-delay: 0.1s; }
.nav-links.side-menu.show .nav-container a:nth-child(2) { animation-delay: 0.2s; }
.nav-links.side-menu.show .nav-container a:nth-child(3) { animation-delay: 0.3s; }
.nav-links.side-menu.show .nav-container a:nth-child(4) { animation-delay: 0.4s; }
.nav-links.side-menu.show .nav-container a:nth-child(5) { animation-delay: 0.5s; }
.nav-links.side-menu.show .nav-container a:nth-child(6) { animation-delay: 0.6s; }
.nav-links.side-menu.show .nav-container a:nth-child(7) { animation-delay: 0.7s; }
.nav-links.side-menu.show .nav-container a:nth-child(8) { animation-delay: 0.8s; }

/* --- ACCOMMODATION DETAIL PAGE --- */
.accommodation-detail-page {
  padding-top: 100px; /* Tilaa navbarille */
  background: var(--bg-dark);
}

.gallery-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 15px;
  padding: 20px;
  height: 60vh;
  max-width: 1600px;
  margin: 0 auto;
}

.main-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.main-hero-img { object-fit: cover; }

.gallery-grid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-img { object-fit: cover; opacity: 0.8; transition: opacity 0.3s ease; }
.gallery-item:hover .gallery-img { opacity: 1; }

.content-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 40px;
}

.info-section h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.description-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  white-space: pre-line;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 80px;
}

.content-grid .specs-sidebar {
  grid-column: 2;
  grid-row: 1;
}

.specs-inner {
  border-left: 1px solid rgba(197, 160, 89, 0.2);
  padding-left: 40px;
}

.content-grid .description-text {
  grid-column: 1;
  grid-row: 1;
}

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

  .content-grid .specs-sidebar {
    grid-column: 1;
    grid-row: 1;
  }

  .content-grid .description-text {
    grid-column: 1;
    grid-row: 2;
  }

  .specs-inner {
    border-left: none;
    padding-left: 0;
  }
}

.amenities-container { margin-top: 4rem; }
.amenities-container h3 {
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  list-style: none;
}

.amenities-list li {
  font-size: 0.75rem;
  letter-spacing: 2px;
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 4px;
}

.booking-sticky-card {
  position: sticky;
  top: 120px;
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.booking-sticky-card h3 {
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 2rem;
}

/* Hero-tausta koko näytölle */
.accommodation-hero {
  position: relative;
  height: 85vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
  z-index: 1;
}

.hero-bottom-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%; /* Korkea häivytys tekee siitä pehmeän */
  z-index: 2;
  /* Luodaan pehmeä liuku: 
     1. Alkaa täysin läpinäkyvänä ylhäältä
     2. Puolivälissä alkaa tummeta
     3. Alhaalla on täysin sama väri kuin sivun taustalla */
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.8) 75%,
    var(--bg-dark) 100%
  );
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 20vh;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  letter-spacing: 8px;
  margin: 0;
}

/* Kaksisarakkeinen asettelu */
.detail-layout-container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  max-width: 1500px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: var(--bg-dark); /* POISTETTU GRADIENTTI, käytetään muuttujaa */
}

.detail-main-content {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Mosaiikki-galleria */
.detail-gallery-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  margin: 4rem 0;
  height: 500px;
}

.mosaic-large, .mosaic-small-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.mosaic-small-grid {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
}

.mosaic-img {
  object-fit: cover;
  transition: transform 0.8s ease;
}

.mosaic-large:hover .mosaic-img { transform: scale(1.05); }

/* Varauskortti (Sidebar) */
.detail-sidebar {
  position: relative;
}

.sidebar-booking-card {
  position: sticky;
  top: 100px;
  background: transparent; /* MUUTETTU LÄPINÄKYVÄKSI */
  border: none; /* POISTETTU REUNUS, joka halkeili */
  padding: 0;   /* POISTETTU PADDING, jotta iframe täyttää alan */
}

.sidebar-booking-card h2 {
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.sidebar-price {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #fff;
}

.property-specs {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: #aaa;
}

/* --- GALLERIA MOSAIIKKI Hienosäätö --- */
.mosaic-large, .mosaic-small-item {
  cursor: pointer;
  position: relative;
  background: #1a1a1a;
}

.more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-family: 'Cinzel', serif;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.mosaic-small-item:hover .more-overlay {
  background: rgba(0, 0, 0, 0.4);
}

/* --- LIGHTBOX STYLES --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  width: 90vw;
  height: 80vh;
}

.lightbox-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2100;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 4rem;
  cursor: pointer;
  padding: 20px;
  z-index: 2100;
  transition: scale 0.2s;
}

.lightbox-nav:hover { scale: 1.1; }
.prev { left: 20px; }
.next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #666;
  letter-spacing: 2px;
  font-size: 0.8rem;
}

.booking-page {
  padding-top: 120px;
  background: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

.booking-header {
  text-align: center;
  padding: 4rem 2rem;
}

.booking-header h1 {
  font-size: clamp(1.4rem, 7vw, 4rem);
  letter-spacing: clamp(2px, 1.5vw, 8px);
}

.booking-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.booking-card-long {
  display: grid;
  grid-template-columns: 450px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all 0.5s ease;
  height: 300px;
}

.booking-card-long:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

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

.booking-card-long:hover .card-img {
  transform: scale(1.1);
}

.card-type-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  color: var(--gold-primary);
  padding: 5px 15px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  border: 1px solid var(--gold-dark);
}

.card-details {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-header h2 {
  font-size: 1.8rem;
  margin: 0 0 1rem 0;
  letter-spacing: 2px;
}

.card-line {
  width: 50px;
  height: 1px;
  background: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.card-details p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.view-link {
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--gold-primary);
  font-weight: 700;
}

.inventory-section {
  margin-bottom: 6rem;
}

.booking-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.12);
}

.booking-section-label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.booking-section-num {
  display: none;
}

.booking-section-line {
  width: 40px;
  height: 1px;
  background: rgba(197, 160, 89, 0.3);
  flex-shrink: 0;
}

.booking-section-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--gold-primary);
  text-transform: uppercase;
  white-space: nowrap;
}

.booking-section-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  margin: 0;
  max-width: 380px;
  text-align: left;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .booking-section-header {
    flex-direction: column;
    gap: 1rem;
  }
  .booking-section-desc {
    text-align: left;
  }
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--gold-primary);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}

.section-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Voit halutessasi muuttaa Aktiviteetit-osion gridiksi, jos haluat ne pienempinä: */
/* .inventory-section:nth-of-type(2) .section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
} */

/* --- MAIN FOOTER --- */
.main-footer {
  background: #080808;
  border-top: 1px solid var(--border-color);
  padding: 6rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-brand .logo {
  font-size: 1.2rem;
  letter-spacing: 5px;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.footer-tagline {
  color: #888;
  max-width: 350px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.main-footer h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-contact p {
  color: #ccc;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.social-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 2px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 1;
}

.social-links .sep {
  color: #333;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: #444;
}

.footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--gold-primary);
}

/* Logo-linkin säiliö */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
  padding: 10px 0;
}

/* Itse logo-tiedosto */
.nav-logo {
  width: 130px; /* Sopiva koko tietokoneella */
  height: auto;
  display: block;
  
  /* TÄMÄ MUUTTAA MUSTAN LOGON KULTAISEKSI */
  /* Käytetään tarkkaa sävyä, joka vastaa muuta sivustoa */
  /*filter: invert(72%) sepia(16%) saturate(950%) hue-rotate(355deg) brightness(82%) contrast(98%); */
  
  transition: transform 0.3s ease; /*, filter 0.3s ease;*/
}

/* Hover-efekti (vain kirkastetaan logoa) */
.logo-link:hover .nav-logo {
  transform: scale(1.03);
  filter: brightness(1.2); /* Tekee logosta hieman hohtavan viemättä sitä pois oikeasta sävystä */
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-legal-links a {
  font-size: 0.75rem;
  color: #666;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--gold-primary);
}

.member-image-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid rgba(197, 160, 89, 0.25);
  outline: 1px solid rgba(197, 160, 89, 0.08);
  outline-offset: 5px;
  transition: border-color 0.4s ease, outline-color 0.4s ease;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.08) saturate(0.9);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.team-member:hover .member-image {
  transform: scale(1.05);
  filter: brightness(0.97) contrast(1.05) saturate(0.95);
}

.team-member:hover .member-image-wrapper {
  border-color: rgba(197, 160, 89, 0.7);
  outline-color: rgba(197, 160, 89, 0.2);
}

/* Estetään violetti välähdys ja asetetaan perusmuotoilu heti */
.header-book-btn {
  color: #000 !important;
  background: var(--gold-primary); /* Varaväri ennen liukuväriä */
  text-decoration: none;
  display: inline-block;
}

.logo-tagline {
  color: var(--gold-primary) !important;
  text-decoration: none;
  display: block;
}

/* --- RESPONSIVISUUS (Mobiilioptimointi) --- */
@media (max-width: 1024px) {
  header { padding: 1.5rem 2rem; }
  .premium-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {

  .close-menu {
    display: block; /* Näytetään vain mobiilissa */
  }

  /* HERO MOBILE */
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1.5rem !important;
    left: 0 !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding-bottom: 6rem !important;
  }

  .hero-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 2px;
    margin-bottom: 0.9rem;
    color: #f0d090;
    opacity: 1;
    text-shadow: 0 0 20px rgba(0,0,0,1), 0 0 10px rgba(0,0,0,1), 0 2px 4px rgba(0,0,0,1);
  }

  .hero-divider {
    margin: 0.75rem 0 1.25rem;
    margin-left: 0;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 1.1;
    margin: 0 0 0 0;
    text-align: left;
    width: 100%;
    max-width: 100%;
  }

  .hero p {
    font-size: 0.7rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    padding: 0;
    text-align: left;
    width: 100%;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
  }

  .hero-action-area {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-button-pair {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .hero-button-pair .btn {
    width: 100% !important;
    min-width: unset !important;
    border-radius: 3px !important;
    padding: 1rem 0.5rem !important;
    font-size: 0.7rem !important;
    letter-spacing: 1px !important;
    text-align: center !important;
  }

  .btn-book-now {
    display: block !important;
    width: 100% !important;
    min-width: unset !important;
    border-radius: 50px !important;
    padding: 1rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .lang-selector {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Enemmän tilaa painikkeiden välillä */
    width: 100%;
  }

  .lang-btn {
    background: none;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif; /* Tai 'Cinzel' jos haluat yhtenäistää */
    font-size: 0.8rem;
    letter-spacing: 3px;
    cursor: pointer;
    opacity: 0.4;
    padding: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
  }

  .lang-btn.active {
    opacity: 1;
    color: var(--gold-primary);
    font-weight: 600;
  }

  /* Poistetaan pystyviiva välistä jos se tuntuu liian tekniseltä, 
     pelkkä tyhjä tila on usein tyylikkäämpi */
  .lang-selector .sep {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
  }

  /* 4. Muut listaus- ja navigaatiotyylit */
  .accommodation-listing { padding: 0 1rem 60px; }
  .premium-grid { grid-template-columns: 1fr; gap: 2rem; }
  .premium-image-wrapper { height: 320px; }
  .premium-card-info { padding: 1.25rem 1.5rem 1.5rem; }
  .premium-card-info h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
  .section-title { font-size: 2.2rem; }

  /* ACCOMMODATION PAGE HERO */
  .accom-hero-section { padding-top: 8rem !important; padding-bottom: 3rem !important; }
  .accom-hero-h1 { font-size: clamp(2.4rem, 11vw, 3.5rem) !important; line-height: 1.08 !important; }
  .accom-eyebrow { font-size: 0.58rem !important; letter-spacing: 4px !important; margin-bottom: 1.2rem !important; }
  .accom-hero-sub { margin-top: 1.5rem !important; }
  .accom-story-section { padding: 0 1.5rem 3rem !important; }
  .accom-lead {
    font-size: 0.95rem !important;
    line-height: 1.85 !important;
    margin-bottom: 2.5rem !important;
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid rgba(197,160,89,0.25) !important;
    padding-top: 1.5rem !important;
    color: rgba(255,255,255,0.75) !important;
  }
  .accom-grid-header { padding: 0 1.5rem !important; margin-bottom: 0 !important; }
  .accom-grid-header p { font-size: 0.7rem !important; letter-spacing: 3px !important; margin-bottom: 1.5rem !important; }

  header { padding: 1rem 1.5rem !important; }
  header .logo { font-size: 0.8rem; letter-spacing: 2px; }
  .header-right { gap: 15px; }
  
  .nav-links.side-menu { width: 280px; max-width: 100%; }
  .nav-links.side-menu a { font-size: 1.1rem; letter-spacing: 3px; }
}

/* Mobiilioptimointi yksityiskohtasivulle */
@media (max-width: 1024px) {
  .gallery-section { grid-template-columns: 1fr; height: auto; }
  .gallery-grid { display: none; } /* Piilotetaan pienet kuvat tai laitetaan ne alle */
  .content-container { grid-template-columns: 1fr; }
  .booking-sidebar { order: -1; } /* Varausmoduuli tekstin yläpuolelle mobiilissa */
}

/* Mobiilioptimointi */
@media (max-width: 1024px) {
  .detail-layout-container {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    order: -1; /* Varaus ylös mobiilissa */
  }
  /* Templates emit inline `grid-template-columns:1fr 1fr 1fr` which would win
     by specificity — force single column with !important so phone screens
     don't show ~95px-wide thumbnails. */
  .detail-gallery-mosaic {
    grid-template-columns: 1fr !important;
    height: auto;
    gap: 12px;
  }
  .detail-gallery-mosaic .mosaic-small-item img,
  .detail-gallery-mosaic .mosaic-img {
    height: auto !important;
    aspect-ratio: 4 / 3;
  }
}

/* Mobiilioptimointi */
@media (max-width: 768px) {
  .booking-page { padding-top: 80px; }
  .booking-header { padding: 2rem 1rem; }
  .booking-header h1 { letter-spacing: 2px; }
  .booking-container { padding: 0 1rem 60px; }
  .inventory-section { margin-bottom: 3rem; }
  .section-intro { margin-bottom: 1.5rem; }
  .booking-card-long {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .card-image-wrapper { height: 220px; width: 100%; }
  .card-details { padding: 1.25rem; }
  .card-header h2 { font-size: 1.1rem; word-break: break-word; }
  .card-details p { font-size: 0.85rem; margin-bottom: 1rem; }
  .section-title { font-size: 0.75rem; letter-spacing: 3px; }
  .booking-header p { font-size: 0.9rem; padding: 0 0.5rem; }
}

/* Mobiilioptimointi */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .footer-tagline {
    margin: 0 auto;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* MOBIILISÄÄDÖT (Puhelimet ja tabletit) */
@media (max-width: 768px) {
  .nav-logo {
    width: 60px; /* Hieman pienempi logo mobiilissa, jotta valikko mahtuu */
  }
  
  .logo-link {
    padding: 5px 0;
  }
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===== KARUSELLIN OTSIKKO ===== */
.carousel-header {
  max-width: 1200px;
  margin: 0 auto 2.5rem auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel-heading {
  font-size: 1.2rem;
  letter-spacing: 5px;
  font-family: 'Cinzel', serif;
  margin: 0;
}

.view-all-link {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: #e8c97a;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(232,201,122,0.5);
  padding-bottom: 2px;
}

.view-all-link:hover { color: #fff0b0; letter-spacing: 4px; border-bottom-color: rgba(232,201,122,0.9); }

/* Floor plan section */
.floor-plan-section {
  max-width: 1200px;
  margin: 0 auto 6rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 4rem;
}
.floor-plan-title {
  color: var(--gold-primary);
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  font-weight: 400;
}
.floor-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.floor-plan-grid.single {
  grid-template-columns: 1fr;
  max-width: 800px;
}
.floor-plan-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(197,160,89,0.15);
}
.floor-plan-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.floor-plan-label {
  padding: 0.75rem 1rem;
  color: #888;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #0a0a0a;
  margin: 0;
}
@media (max-width: 768px) {
  .floor-plan-section { padding-top: 3rem; margin-bottom: 4rem; }
  .floor-plan-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .floor-plan-grid.single { max-width: 100%; }
}

@media (max-width: 768px) {
  .carousel-header {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .carousel-heading {
    font-size: 0.9rem;
    letter-spacing: 4px;
  }
  .view-all-link {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #c5a059;
  }
}

/* ===== OVERFLOW-X KORJAUKSET MOBIILILLE ===== */
@media (max-width: 768px) {
  /* Karusellin ulkokehys */
  .carousel-track-wrapper {
    padding: 0 !important;
    overflow: hidden;
  }

  /* Fade-gradientti oikealle reunalle */
  .carousel-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, #0a0a0a);
    pointer-events: none;
    z-index: 5;
  }

  /* Piilotetaan nuolipainikkeet mobiilissa — swipe riittää */
  .side-nav-btn {
    display: none !important;
  }

  /* Karusellin sisäinen alue */
  .hide-scrollbar {
    overflow-x: auto !important;
    padding: 0 1.5rem 16px !important;
    scroll-padding-left: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  /* Booking-kortti — täysi leveys, ei ylivuotoa */
  .booking-card-long {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Estä pitkien tekstien ylivuoto */
  h1, h2, h3, h4, p, span, a {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Kuvat eivät saa vuotaa ulos säiliöstään */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Section-containersit pysyvät näytön sisällä */
  .booking-container,
  .booking-header,
  .inventory-section,
  .section-grid {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* Santa page responsive */
@media (max-width: 900px) {
  .santa-story-grid,
  .santa-services-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .santa-services-block { padding: 2rem !important; }
  .transport-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 500px) {
  .transport-grid { grid-template-columns: 1fr !important; }
}

/* Santa page layout */
.santa-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.santa-transport-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .santa-two-col { grid-template-columns: 1fr; gap: 3rem; }
  .santa-transport-row { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Santa external link */
.santa-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: #c5a059;
  text-decoration: none;
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
}
.santa-ext-link:hover {
  background: rgba(197, 160, 89, 0.08);
  border-color: #c5a059;
}

/* Activities story grid */
.activities-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

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

@media (max-width: 768px) {
  .activities-story-grid { display: none; }
  .act-invite { display: none !important; }
  .santa-two-col { display: none !important; }
  .santa-contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

@media (max-width: 768px) {
  .logo-tagline { font-size: 0.9rem !important; }
}

/* ── Navbar styled-jsx ─────────────────────────────────────────── */
        header {
          position: fixed;
          top: 0;
          left: 0;
          right: 0;
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 1.5rem 2rem;
          z-index: 1000;
          transition: all 0.3s ease;
          background: transparent;
        }

        header::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 180px;
          background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
          pointer-events: none;
          z-index: -1;
        }

        header.scrolled {
          background: rgba(10, 10, 10, 0.95);
          padding: 1rem 2rem;
          backdrop-filter: blur(10px);
        }

        header.scrolled::before {
          display: none;
        }

        .header-actions {
          display: flex;
          align-items: center;
          gap: 2rem;
        }

        .header-center-group {
          display: flex;
          align-items: center;
          gap: 2rem;
        }

        .header-lang-selector {
          display: flex;
          align-items: center;
          gap: 0.5rem;
          background: rgba(0,0,0,0.35);
          backdrop-filter: blur(6px);
          -webkit-backdrop-filter: blur(6px);
          border-radius: 20px;
          padding: 0.3rem 0.8rem;
        }

        .header-lang-selector .lang-btn {
          background: none;
          border: none;
          color: #c5a059;
          font-family: 'Cinzel', serif;
          font-size: 0.8rem;
          letter-spacing: 2px;
          cursor: pointer;
          padding: 0.2rem 0.3rem;
          transition: color 0.2s ease;
        }

        .header-lang-selector .lang-btn.active {
          color: #f0d090;
          font-weight: 600;
        }

        .header-lang-selector .lang-btn:hover {
          color: #f0d090;
        }

        .lang-btn-zh {
          letter-spacing: 0 !important;
        }

        .header-lang-selector .sep {
          color: rgba(197,160,89,0.6);
          font-size: 0.8rem;
          pointer-events: none;
        }

        /* Käytetään :global, jotta tyyli tarttuu Next.js Link-komponenttiin */
        .header-book-btn {
          display: inline-block !important;
          background: rgba(197, 160, 89, 0.15) !important;
          color: #e8c97a !important;
          border: 1px solid rgba(220,190,120,0.85) !important;
          box-shadow: 0 2px 20px rgba(0,0,0,0.5) !important;
          text-shadow: 0 1px 8px rgba(0,0,0,0.9) !important;
          
          /* Siro muotoilu */
          padding: 0.8rem 2.0rem !important;
          border-radius: 2px !important; /* Terävämmät kulmat vastaavat logoa paremmin */
          
          /* Fonttiasetukset */
          font-family: 'Cinzel', serif !important;
          font-size: 0.85rem !important;
          font-weight: 400 !important;
          letter-spacing: 2px !important;
          text-transform: uppercase !important;
          text-decoration: none !important;
          
          transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
          cursor: pointer !important;
          backdrop-filter: blur(5px) !important;
        }

        .header-book-btn:hover {
          background: #c5a059 !important;
          color: #000 !important;
          box-shadow: 0 0 15px rgba(197, 160, 89, 0.4) !important;
        }

        .logo-container {
          display: flex;
          flex-direction: column;
          align-items: center;
        }

        .logo-tagline {
          font-family: 'Cinzel', serif;
          font-size: 1.5rem;
          color: #c5a059;
          letter-spacing: 3px;
          margin-top: 8px;
          font-weight: 400;
          transition: all 0.3s ease;
          opacity: 1;
          display: block;
          line-height: 1.2;
          text-align: center;
        }

        /* Kun sivua rullataan, häivytetään teksti pois, jotta Navbar pysyy matalana */
        header.scrolled .logo-tagline {
          opacity: 1;
          height: 30;
          margin-top: 6px;
          pointer-events: none;
          font-size: 1.2rem;

        }

        header.scrolled .nav-logo {
          height: 75px;
        }


        @media (max-width: 768px) {
          .logo-tagline { font-size: 0.85rem !important; letter-spacing: 2px; }
        }

        /* Hampurilaisvalikon perustyylit jos niitä ei ole globals.css:ssä */
        .menu-toggle {
          background: none;
          border: none;
          cursor: pointer;
          display: flex;
          flex-direction: column;
          gap: 6px;
          padding: 0.4rem;
          transition: opacity 0.2s ease;
          -webkit-tap-highlight-color: transparent;
        }

        .menu-toggle:hover .bar {
          background-color: #f0d090;
          box-shadow: 0 0 8px rgba(197,160,89,0.6);
        }

        .bar {
          width: 30px;
          height: 2px;
          background-color: #c5a059;
          transition: all 0.25s ease;
          filter: drop-shadow(0 0 3px rgba(0,0,0,1)) drop-shadow(0 0 6px rgba(0,0,0,0.8));
        }

        @media (max-width: 768px) {
          header { padding: 0.75rem 1rem; }
          .header-actions { gap: 0.6rem; }

          .header-center-group {
            flex-direction: column;
            align-items: center;
            gap: 0.6rem;
            padding: 0.35rem 0.75rem;
          }

          .header-book-btn {
            padding: 0.35rem 0.75rem !important;
            font-size: 0.58rem !important;
            letter-spacing: 1px !important;
          }

          .logo-tagline {
            font-size: 0.7rem !important;
            letter-spacing: 2px;
            margin-top: 4px;
          }

          .nav-logo { height: 55px !important; }

          .header-lang-selector {
            gap: 0.25rem;
          }

          .header-lang-selector .lang-btn {
            font-size: 0.65rem;
            letter-spacing: 1px;
            padding: 0.3rem 0.4rem;
          }

          .header-lang-selector .sep {
            font-size: 0.65rem;
          }
        }

/* ── Footer styled-jsx ─────────────────────────────────────────── */
        .main-footer {
          background-color: #080808;
          border-top: 1px solid rgba(255,255,255,0.05);
          padding: 6rem 2rem 2rem;
        }

        .footer-container {
          max-width: 1450px;
          margin: 0 auto;
          display: grid;
          grid-template-columns: 2fr 1fr 1fr 1.5fr; 
          gap: 3rem;
        }

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

        .footer-main-logo { 
          height: 120px; 
          width: auto;
          display: block;
        }

        h3 { 
          font-family: 'Cinzel', serif; 
          font-size: 0.75rem; 
          letter-spacing: 2px; 
          color: var(--gold-primary, #c5a059); 
          margin-bottom: 2rem; 
        }

        .footer-col { display: flex; flex-direction: column; }
        .footer-col ul li a { text-transform: uppercase; letter-spacing: 1px; }
        ul { list-style: none; padding: 0; margin: 0; }
        li { margin-bottom: 12px; }
        
        .main-footer a, .main-footer p { 
          color: #999; 
          font-size: 0.85rem; 
          text-decoration: none; 
          transition: 0.3s; 
        }
        .main-footer a:hover { color: var(--gold-primary, #c5a059); }

        .social-icons { display: flex; gap: 12px; }
        .social-circle { 
          width: 48px; height: 48px; border-radius: 50%; 
          border: 1px solid rgba(197, 160, 89, 0.2);
          display: flex; align-items: center; justify-content: center; transition: 0.4s;
        }
        .social-circle:hover { 
          border-color: #c5a059; 
          transform: translateY(-3px);
          background: rgba(197, 160, 89, 0.05);
        }
        .icon-svg { width: 20px; height: 20px; stroke: #c5a059; stroke-width: 1.5; fill: none; }

        .footer-badges-row {
          grid-column: 1 / -1; 
          display: flex;
          justify-content: center;
          padding-top: 3rem;
          margin-top: 1rem;
          border-top: 1px solid rgba(255,255,255,0.03);
        }

        .footer-all-badges { 
          display: flex; 
          align-items: center; 
          gap: 40px; 
        }

        /* Yhtenäistetään logojen visuaalinen koko */
        .footer-badge { 
          height: 90px; 
          width: auto;
          opacity: 0.7; 
          transition: 0.3s;
          object-fit: contain;
        }
        .footer-badge:hover { opacity: 1; transform: scale(1.05); }

        /* Hienosäätö yksittäisille logoille jotta ne näyttävät saman kokoisilta */
        .stf { height: 95px; }
        .ranua { height: 115px; }
        .wikkela { height: 95px; }
        .biosphere { height: 95px; }
        .visitranua { height: 95px; }
        .visitrovaniemi { height: 130px; }
        .textright { height: 95px; }

        .footer-bottom { 
          max-width: 1450px; margin: 4rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05);
          display: flex; justify-content: space-between; font-size: 0.65rem; color: #444; 
          letter-spacing: 1px;
        }
        .footer-legal a { color: #555; margin: 0 10px; }

        @media (max-width: 1100px) {
          .footer-container { grid-template-columns: 1fr 1fr; gap: 4rem; }
          .footer-badges-row { grid-column: 1 / -1; justify-content: center; }
        }

        @media (max-width: 768px) {
          .main-footer { padding: 3rem 1.5rem 2rem; }
          .footer-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
          .footer-main-logo { height: 80px; margin: 0 auto; }
          .social-icons, .footer-all-badges { justify-content: center; margin: 0 auto; }
          .footer-all-badges { gap: 20px; flex-wrap: wrap; }
          .footer-badge { height: 55px; }
          .stf { height: 60px; }
          .ranua { height: 70px; }
          .wikkela { height: 60px; }
          .biosphere { height: 60px; }
          .footer-badges-row { padding-top: 2rem; justify-content: center; }
          .footer-bottom { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
        }

/* ── Hero styled-jsx ─────────────────────────────────────────── */
        /* Alakulman säiliö */
        .season-control-corner {
          position: absolute;
          bottom: 40px;
          left: 40px;
          z-index: 20;
          display: flex;
          flex-direction: column;
          gap: 10px;
        }

        .control-label {
          font-family: 'Inter', sans-serif;
          font-size: 0.6rem;
          color: rgba(255, 255, 255, 0.5);
          letter-spacing: 2px;
          font-weight: 700;
        }

        .control-buttons {
          display: flex;
          gap: 1px; /* Ohut rako nappien välillä */
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(10px);
          padding: 4px;
          border-radius: 4px;
          border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .control-btn {
          background: transparent;
          border: none;
          color: white;
          padding: 8px 15px;
          display: flex;
          align-items: center;
          gap: 8px;
          cursor: pointer;
          transition: all 0.3s ease;
          border-radius: 2px;
          opacity: 0.5;
        }

        .control-btn span {
          font-family: 'Cinzel', serif;
          font-size: 0.65rem;
          letter-spacing: 1px;
        }

        .control-btn.active {
          background: var(--gold-primary);
          color: black;
          opacity: 1;
        }

        .control-btn:hover:not(.active) {
          background: rgba(255, 255, 255, 0.1);
          opacity: 0.8;
        }

        /* Mobiilisäätö alakulmalle */
        @media (max-width: 768px) {
          .season-control-corner {
            bottom: 20px;
            left: 20px;
          }
          .control-label { display: none; } /* Piilotetaan teksti kännykällä tilan säästämiseksi */
        }

        .hero-summer-bg {
          position: absolute;
          top: 0; left: 0; width: 100%; height: 100%;
          background: url('../img/summer-hero.jpeg') center/cover no-repeat;
          filter: brightness(0.9);
          animation: fadeIn 1s ease-out;
        }

        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── AccommodationCard styled-jsx ─────────────────────────────────────────── */
        .fade-in {
          animation: fadeIn 0.4s ease-in-out;
        }
        @keyframes fadeIn {
          from { opacity: 0.5; }
          to { opacity: 1; }
        }

        .card-dots {
          display: none;
        }

        @media (max-width: 768px) {
          .gallery-arrow {
            display: none;
          }
          .card-dots {
            display: flex;
            position: absolute;
            bottom: 14px;
            left: 50%;
            transform: translateX(-50%);
            gap: 5px;
            z-index: 10;
          }
          .card-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: rgba(255,255,255,0.35);
            transition: all 0.3s ease;
          }
          .card-dot.active {
            background: #c5a059;
            width: 16px;
            border-radius: 3px;
          }
        }

/* ── AccommodationCarousel styled-jsx ─────────────────────────────────────────── */
        .hide-scrollbar::-webkit-scrollbar { display: none; }
        
        .view-all-link {
          color: #c5a059;
          font-family: 'Cinzel', serif;
          font-size: 0.7rem;
          letter-spacing: 2px;
          text-decoration: none;
          transition: all 0.3s ease;
          opacity: 0.8;
        }

        .view-all-link:hover {
          color: #fff;
          opacity: 1;
        }

        .side-nav-btn {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          background: transparent;
          border: none;
          color: #c5a059;
          font-size: 2.5rem;
          cursor: pointer;
          z-index: 10;
          transition: all 0.3s ease;
          width: 40px;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .side-nav-btn:hover { color: #fff; }
        .side-nav-btn.left { left: 0; }
        .side-nav-btn.right { right: 0; }
        .card-outer:hover .card-img { transform: scale(1.1); }

        @media (max-width: 768px) {
          .side-nav-btn { display: none; }
          div[style*="padding: 0 50px"] { padding: 0 20px !important; }
        }

/* ── ActivityCarousel styled-jsx ─────────────────────────────────────────── */
        .hide-scrollbar::-webkit-scrollbar { display: none; }
        
        .view-all-link { 
          color: #c5a059; 
          font-family: 'Cinzel', serif; 
          font-size: 0.7rem; 
          letter-spacing: 2px; 
          text-decoration: none; 
          transition: all 0.3s ease; 
          opacity: 0.8; 
        }

        .view-all-link:hover { color: #fff; opacity: 1; }

        .side-nav-btn { 
          position: absolute; 
          top: 50%; 
          transform: translateY(-50%); 
          background: transparent; 
          border: none; 
          color: #c5a059; 
          font-size: 2.5rem; 
          cursor: pointer; 
          z-index: 10; 
          transition: all 0.3s ease; 
          width: 40px; 
          display: flex; 
          align-items: center; 
          justify-content: center; 
        }

        .side-nav-btn:hover { color: #fff; }
        .side-nav-btn.left { left: 0; }
        .side-nav-btn.right { right: 0; }

        .price-tag { 
          position: absolute; 
          top: 15px; 
          right: 15px; 
          background: rgba(0,0,0,0.6); 
          backdrop-filter: blur(4px); 
          padding: 5px 12px; 
          z-index: 2; 
          border: 1px solid rgba(197, 160, 89, 0.3); 
          color: #c5a059; 
          font-family: 'Cinzel', serif; 
          font-size: 0.65rem; 
          letter-spacing: 1px; 
        }

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

        .carousel-season-btn {
          background: transparent;
          border: 1px solid rgba(197, 160, 89, 0.3);
          color: #888;
          font-family: 'Cinzel', serif;
          font-size: 0.7rem;
          letter-spacing: 2px;
          padding: 0.5rem 1.25rem;
          cursor: pointer;
          transition: all 0.3s ease;
        }
        .carousel-season-btn:hover { border-color: #c5a059; color: #c5a059; }
        .carousel-season-btn.active { background: rgba(197, 160, 89, 0.1); border-color: #c5a059; color: #c5a059; }

        @media (max-width: 768px) {
          .carousel-season-btn {
            font-size: 0.6rem;
            letter-spacing: 1.5px;
            padding: 0.4rem 0.75rem;
          }
        }

        @media (max-width: 768px) {
          .side-nav-btn { display: none; }
          div[style*="padding: 0 50px"] { padding: 0 20px !important; }
        }

/* ── ActivitiesGrid styled-jsx ─────────────────────────────────────────── */
        .season-filters {
          display: flex;
          justify-content: center;
          gap: 1rem;
          margin: -1rem auto 3rem;
          flex-wrap: wrap;
        }

        .season-btn {
          background: transparent;
          border: 1px solid rgba(197, 160, 89, 0.3);
          color: #888;
          font-family: 'Cinzel', serif;
          font-size: 0.7rem;
          letter-spacing: 2px;
          padding: 0.6rem 1.5rem;
          cursor: pointer;
          transition: all 0.3s ease;
        }

        .season-btn:hover {
          border-color: #c5a059;
          color: #c5a059;
        }

        .season-btn.active {
          background: rgba(197, 160, 89, 0.1);
          border-color: #c5a059;
          color: #c5a059;
        }

        @media (max-width: 768px) {
          .season-filters {
            gap: 0.6rem;
            margin-bottom: 2rem;
          }
          .season-btn {
            font-size: 0.65rem;
            padding: 0.5rem 1rem;
          }
        }

/* ── Gallery styled-jsx ─────────────────────────────────────────── */
        .modern-gallery-container {
          width: 100%;
        }
        .gallery-layout-wrapper {
          display: flex;
          flex-direction: column;
          gap: 15px;
        }
        .main-featured-image {
          position: relative;
          width: 100%;
          aspect-ratio: 16 / 9;
          max-height: 480px;
          cursor: pointer;
          overflow: hidden;
          background: #111;
        }
        .secondary-images-row {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 15px;
        }
        .secondary-item {
          position: relative;
          aspect-ratio: 3 / 2;
          cursor: pointer;
          overflow: hidden;
          background: #111;
        }
        .img-hover-effect {
          transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .img-hover-effect:hover {
          transform: scale(1.05);
        }
        .elegant-overlay {
          position: absolute;
          inset: 0;
          background: rgba(0, 0, 0, 0.5);
          display: flex;
          align-items: center;
          justify-content: center;
          color: white;
          font-size: 0.8rem;
          letter-spacing: 2px;
          backdrop-filter: blur(2px);
        }
        .lightbox-overlay {
          position: fixed;
          inset: 0;
          background: rgba(0, 0, 0, 0.95);
          z-index: 1000;
          display: flex;
          align-items: center;
          justify-content: center;
        }
        .lightbox-close {
          position: absolute;
          top: 20px;
          right: 20px;
          background: none;
          border: none;
          color: white;
          font-size: 2rem;
          cursor: pointer;
          z-index: 1010;
        }
        .lightbox-nav {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          background: none;
          border: none;
          color: white;
          font-size: 3rem;
          cursor: pointer;
          z-index: 1010;
          padding: 20px;
        }
        .prev { left: 10px; }
        .next { right: 10px; }
        .lightbox-content {
          position: relative;
          width: 90vw;
          height: 75vh;
          display: flex;
          flex-direction: column;
          gap: 12px;
        }
        .lightbox-image-wrapper {
          position: relative;
          flex: 1;
        }
        .thumbnail-strip {
          display: flex;
          gap: 6px;
          overflow-x: auto;
          padding: 4px 0;
          scrollbar-width: thin;
          scrollbar-color: rgba(197,160,89,0.4) transparent;
          flex-shrink: 0;
        }
        .thumbnail-strip::-webkit-scrollbar {
          height: 4px;
        }
        .thumbnail-strip::-webkit-scrollbar-thumb {
          background: rgba(197,160,89,0.4);
          border-radius: 2px;
        }
        .thumbnail-item {
          position: relative;
          width: 70px;
          height: 50px;
          flex-shrink: 0;
          cursor: pointer;
          border: 2px solid transparent;
          transition: border-color 0.2s;
          overflow: hidden;
          opacity: 0.55;
          transition: opacity 0.2s, border-color 0.2s;
        }
        .thumbnail-item:hover {
          opacity: 0.85;
        }
        .thumbnail-item.active {
          border-color: #c5a059;
          opacity: 1;
        }

        @media (max-width: 768px) {
          .secondary-images-row {
            grid-template-columns: repeat(2, 1fr);
          }
          .lightbox-nav {
            font-size: 2rem;
          }
          .lightbox-close {
            font-size: 1.5rem;
          }
        }

/* ── OurStory styled-jsx ─────────────────────────────────────────── */
        .story-section {
          padding: 8rem 0;
          background-color: #0a0a0a;
          margin-top: -1px;
          position: relative;
          overflow: hidden;
        }

        .story-top-grid {
          display: grid;
          grid-template-columns: 1fr 1.4fr;
          gap: 6rem;
          align-items: center;
          margin-bottom: 5rem;
        }

        .story-bottom-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 5rem;
        }

        @media (max-width: 900px) {
          .story-top-grid,
          .story-bottom-grid {
            grid-template-columns: 1fr;
            gap: 2.5rem;
          }
          .story-section { padding: 5rem 0; }
        }

        .title-glow {
          position: absolute;
          top: 0;
          left: 50%;
          transform: translate(-50%, -20%);
          width: 100%;
          height: 150px;
          background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
          filter: blur(40px);
          z-index: 1;
          pointer-events: none;
          animation: pulseGlow 8s infinite ease-in-out;
        }

        @keyframes pulseGlow {
          0%, 100% { opacity: 0.5; transform: translate(-50%, -20%) scale(1); }
          50% { opacity: 1; transform: translate(-50%, -20%) scale(1.1); }
        }

        .stars-container {
          position: absolute;
          inset: 0;
          z-index: 1;
        }

        .star {
          position: absolute;
          background: white;
          border-radius: 50%;
          opacity: 0.1;
          animation: twinkle ease-in-out infinite;
        }

        @keyframes twinkle {
          0%, 100% { opacity: 0.1; transform: scale(1); }
          50% { opacity: 0.6; transform: scale(1.3); }
        }

        @media (max-width: 768px) {
          .story-section {
            padding: 4rem 0;
          }
          .story-section h2 {
            font-size: clamp(1.7rem, 8vw, 2.2rem) !important;
          }
          .story-section p {
            font-size: 0.92rem !important;
            line-height: 1.85 !important;
          }
          /* Poista vasemmanpuolen kultareunus mobiilissa — vie liikaa tilaa */
          .story-section [style*="borderLeft"] {
            border-left: none !important;
            padding-left: 0 !important;
            border-top: 1px solid rgba(197,160,89,0.2);
            padding-top: 1.5rem !important;
            margin-top: 0.5rem;
          }
        }

/* ── SantaCarousel styled-jsx ─────────────────────────────────────────── */
        .hide-scrollbar::-webkit-scrollbar { display: none; }
        .view-all-link { color: #c5a059; font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 2px; text-decoration: none; transition: all 0.3s ease; opacity: 0.8; }
        .view-all-link:hover { color: #fff; opacity: 1; }
        .side-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: #c5a059; font-size: 2.5rem; cursor: pointer; z-index: 10; transition: all 0.3s ease; width: 40px; display: flex; align-items: center; justify-content: center; }
        .side-nav-btn:hover { color: #fff; }
        .side-nav-btn.left { left: 0; }
        .side-nav-btn.right { right: 0; }
        .price-tag { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); padding: 4px 10px; z-index: 2; border: 1px solid rgba(197, 160, 89, 0.3); color: #c5a059; font-family: 'Cinzel', serif; font-size: 0.6rem; }
        .card-outer:hover .card-img { transform: scale(1.1); }

        @media (max-width: 768px) {
          .side-nav-btn { display: none; }
          .price-tag { font-size: 0.7rem; }
          div[style*="padding: 0 50px"] { padding: 0 20px !important; }
        }

/* ── SeasonGallery styled-jsx ─────────────────────────────────────────── */
        .season-controls-container {
          display: flex;
          align-items: center;
          gap: 1.5rem;
          margin-bottom: 1.5rem;
        }

        .season-label {
          font-family: 'Cinzel', serif;
          font-size: 0.7rem;
          letter-spacing: 4px;
          color: var(--gold-primary);
          opacity: 0.6;
        }

        .season-buttons {
          display: flex;
          gap: 0.75rem;
        }

        .season-btn {
          background: transparent;
          border: 1px solid rgba(197, 160, 89, 0.3);
          color: #888;
          font-family: 'Cinzel', serif;
          font-size: 0.7rem;
          letter-spacing: 2px;
          padding: 0.5rem 1.5rem;
          cursor: pointer;
          transition: all 0.3s ease;
        }

        .season-btn:hover {
          border-color: #c5a059;
          color: #c5a059;
        }

        .season-btn.active {
          background: rgba(197, 160, 89, 0.1);
          border-color: #c5a059;
          color: #c5a059;
        }

        @media (max-width: 768px) {
          .season-controls-container {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
          }
        }

/* ── SocialWall styled-jsx ─────────────────────────────────────────── */
        .social-portrait-card {
          position: relative;
          width: 280px;
          height: 360px;
          overflow: hidden;
          flex-shrink: 0;
          background: #111;
          display: block;
          will-change: transform, opacity;
          border-radius: 4px;
        }
        .portrait-img {
          position: absolute;
          inset: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: transform 0.8s ease, opacity 0.4s ease;
          z-index: 3;
        }
        @media (hover: hover) {
          .social-portrait-card:hover .portrait-img {
            transform: scale(1.05);
            opacity: 1;
          }
          .social-portrait-card:hover .portrait-video {
            opacity: 1 !important;
          }
        }
        .portrait-video {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: opacity 0.4s ease;
        }
        .insta-badge {
          position: absolute;
          top: 20px;
          right: 20px;
          color: white;
          font-size: 1.1rem;
          z-index: 10;
          opacity: 0.8;
          filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
        }
        .video-indicator {
          position: absolute;
          bottom: 20px;
          left: 20px;
          width: 32px;
          height: 32px;
          background: rgba(0, 0, 0, 0.4);
          backdrop-filter: blur(4px);
          border: 1px solid rgba(255, 255, 255, 0.2);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          color: white;
          z-index: 10;
          transition: all 0.3s ease;
        }
        .social-portrait-card:hover .video-indicator {
          transform: scale(0);
          opacity: 0;
        }
        .refined-social-section {
          background: #0a0a0a;
          padding: 100px 0 80px;
          color: white;
          position: relative;
        }
        .social-top-border {
          width: 100%;
          height: 1px;
          background: linear-gradient(to right, transparent, rgba(197,160,89,0.2), transparent);
          margin-bottom: 0;
        }
        .social-container {
          max-width: 1400px;
          margin: 0 auto;
          padding: 0 40px;
        }
        .social-header {
          display: flex;
          justify-content: space-between;
          align-items: flex-end;
          margin-bottom: 60px;
          padding-top: 80px;
        }
        .social-eyebrow {
          display: block;
          font-family: 'Inter', sans-serif;
          font-size: 0.6rem;
          letter-spacing: 4px;
          color: rgba(197,160,89,0.6);
          margin-bottom: 1rem;
        }
        .display-title {
          font-family: 'Cinzel', serif;
          font-size: clamp(2rem, 4vw, 3.2rem);
          font-weight: 400;
          margin: 0 0 0.75rem 0;
          letter-spacing: 2px;
          text-transform: uppercase;
        }
        .social-divider {
          width: 40px;
          height: 1px;
          background: rgba(197,160,89,0.5);
          margin-bottom: 1rem;
        }
        .description {
          color: rgba(255,255,255,0.4);
          font-size: 0.85rem;
          letter-spacing: 1px;
          margin: 0;
          font-weight: 300;
        }
        .social-header-right {
          display: flex;
          flex-direction: column;
          align-items: flex-end;
          gap: 12px;
        }
        .follow-label {
          font-family: 'Cinzel', serif;
          font-size: 0.6rem;
          letter-spacing: 3px;
          color: rgba(255,255,255,0.3);
          margin: 0;
        }
        .social-icons-group {
          display: flex;
          gap: 10px;
        }
        .outline-circ {
          width: 40px;
          height: 40px;
          border-radius: 50%;
          border: 1px solid rgba(197,160,89,0.3);
          display: flex;
          align-items: center;
          justify-content: center;
          color: rgba(197,160,89,0.7);
          transition: all 0.3s ease;
          font-size: 0.85rem;
          text-decoration: none;
        }
        .outline-circ:hover {
          background: #c5a059;
          color: #000;
          border-color: #c5a059;
        }
        .gallery-wrapper {
          position: relative;
        }
        .portrait-viewport {
          display: flex;
          gap: 20px;
          overflow-x: auto;
          scrollbar-width: none;
          padding: 40px 60px;
        }
        .portrait-viewport::-webkit-scrollbar { display: none; }
        .nav-arrow {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          width: 46px;
          height: 46px;
          border-radius: 50%;
          background: rgba(10,10,10,0.85);
          border: 1px solid rgba(197,160,89,0.4);
          color: #c5a059;
          z-index: 10;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.3s ease;
          backdrop-filter: blur(8px);
        }
        .nav-arrow:hover { background: #c5a059; color: #000; border-color: #c5a059; }
        .nav-arrow.left { left: -23px; }
        .nav-arrow.right { right: -23px; }

        .social-cta {
          display: flex;
          justify-content: center;
          margin-top: 50px;
        }
        .insta-cta-btn {
          display: flex;
          align-items: center;
          gap: 8px;
          color: rgba(197,160,89,0.7);
          font-family: 'Cinzel', serif;
          font-size: 0.7rem;
          letter-spacing: 2px;
          text-decoration: none;
          border: 1px solid rgba(197,160,89,0.2);
          padding: 0.7rem 1.8rem;
          transition: all 0.3s ease;
        }
        .insta-cta-btn:hover {
          border-color: #c5a059;
          color: #c5a059;
          background: rgba(197,160,89,0.05);
        }

        .scroll-fade-right { display: none; }

        @media (max-width: 768px) {
          .scroll-fade-right {
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            width: 80px;
            height: 100%;
            background: linear-gradient(to right, transparent, #0a0a0a);
            pointer-events: none;
            z-index: 5;
          }
        }

        @media (max-width: 768px) {
          .desktop-only-video { display: none !important; }
          .refined-social-section { padding: 50px 0 40px; }
          .social-container { padding: 0 1.5rem; }
          .social-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding-top: 40px;
          }
          .social-header-right { align-items: flex-start; }
          .nav-arrow { display: none; }
          .portrait-viewport {
            gap: 12px;
            padding: 30px 1.5rem;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
          }
          .social-portrait-card {
            width: 220px !important;
            height: 290px !important;
            scroll-snap-align: center;
          }
        }

/* ── BookingWidget styled-jsx ─────────────────────────────────────────── */
        /* Pakotetaan widgetin tausta ja poistetaan valkoinen */
        johku-widget {
          display: block;
          width: 100%;
          min-height: 100px;
          background-color: #0a0a0a !important;
          color-scheme: dark;
        }

        /* Poistetaan Johkun omat marginaalit, jotta se ei luo tyhjää tilaa */
        .johku-widget-container {
          margin: 0 !important;
          padding: 0 !important;
        }

/* ── ChineseContactModal styled-jsx ─────────────────────────────────────────── */
        /* ── Backdrop & modal ── */
        .cn-backdrop {
          position: fixed; inset: 0;
          background: rgba(0,0,0,0.88);
          backdrop-filter: blur(8px);
          z-index: 2000;
          display: flex; align-items: center; justify-content: center;
          padding: 1.5rem;
        }
        .cn-modal {
          position: relative;
          background: #0d0d0d;
          border: 1px solid rgba(197,160,89,0.2);
          border-radius: 4px;
          width: 100%; max-width: 860px; max-height: 92vh;
          display: flex; flex-direction: column;
          box-shadow: 0 30px 80px rgba(0,0,0,0.9);
          animation: cn-in 0.35s cubic-bezier(0.16,1,0.3,1);
          overflow: hidden;
        }
        @keyframes cn-in {
          from { opacity:0; transform: translateY(16px) scale(0.98); }
          to   { opacity:1; transform: translateY(0) scale(1); }
        }
        .cn-sticky-header {
          display: flex; align-items: center; justify-content: space-between;
          padding: 1rem 1.5rem;
          border-bottom: 1px solid rgba(197,160,89,0.12);
          background: #0d0d0d; flex-shrink: 0;
        }
        .cn-header-title { font-family:'Cinzel',serif; font-size:0.75rem; letter-spacing:3px; text-transform:uppercase; }
        .cn-close {
          background: transparent; border: 1px solid rgba(197,160,89,0.3); color: rgba(197,160,89,0.7);
          width:30px; height:30px; border-radius:50%; cursor:pointer; font-size:0.7rem;
          display:flex; align-items:center; justify-content:center; flex-shrink:0;
          transition:all 0.2s; -webkit-tap-highlight-color:transparent;
        }
        .cn-close:hover { border-color:#c5a059; color:#c5a059; background:rgba(197,160,89,0.08); }

        .cn-scroll-body { overflow-y:auto; -webkit-overflow-scrolling:touch; flex:1; min-height:0; scrollbar-width:thin; scrollbar-color:rgba(197,160,89,0.45) transparent; }
        .cn-scroll-body::-webkit-scrollbar { width:6px; }
        .cn-scroll-body::-webkit-scrollbar-track { background:transparent; }
        .cn-scroll-body::-webkit-scrollbar-thumb { background:rgba(197,160,89,0.35); border-radius:3px; }
        .cn-scroll-body::-webkit-scrollbar-thumb:hover { background:rgba(197,160,89,0.6); }

        /* Content sections */
        .cn-full-image { position:relative; width:100%; aspect-ratio:16/7; overflow:hidden; }
        .cn-full-img    { object-fit:cover; }
        .cn-full-gradient { position:absolute; inset:0; background:linear-gradient(to bottom,transparent 50%,#0d0d0d); }
        .cn-text-block { padding:2.5rem 3rem; border-bottom:1px solid rgba(197,160,89,0.06); }
        .cn-split { display:grid; grid-template-columns:55% 45%; min-height:340px; border-bottom:1px solid rgba(197,160,89,0.06); }
        .cn-split-reversed { grid-template-columns:45% 55%; }
        .cn-split-reversed .cn-split-image { order:2; }
        .cn-split-reversed .cn-split-text  { order:1; }
        .cn-split-image { position:relative; overflow:hidden; }
        .cn-split-img { object-fit:cover; }
        .cn-split-text { padding:2.5rem 2rem; display:flex; flex-direction:column; justify-content:center; }
        .cn-section-title { font-family:'Cinzel',serif; font-size:0.85rem; letter-spacing:2px; color:#e8c97a; margin-bottom:1rem; line-height:1.6; text-transform:uppercase; }
        .cn-section-body  { color:rgba(255,255,255,0.65); font-size:0.87rem; line-height:2; font-weight:300; white-space:pre-line; }

        /* ── Film strip ── */
        .cn-gallery-section { border-top:1px solid rgba(197,160,89,0.06); padding:1.25rem 0; }

        .cn-strip-wrapper {
          position: relative;
          display: flex; align-items: center;
        }

        .cn-film-strip {
          display: flex; gap: 4px;
          overflow-x: auto; -webkit-overflow-scrolling: touch;
          scroll-snap-type: x mandatory;
          scrollbar-width: none;
          padding: 0 1.5rem;
          flex: 1;
        }
        .cn-film-strip::-webkit-scrollbar { display:none; }

        .cn-strip-arrow {
          position: absolute;
          top: 50%; transform: translateY(-50%);
          z-index: 2;
          background: rgba(13,13,13,0.85);
          border: 1px solid rgba(197,160,89,0.3);
          color: rgba(197,160,89,0.8);
          width: 36px; height: 36px; border-radius: 50%;
          font-size: 1.4rem; line-height: 1;
          display: flex; align-items: center; justify-content: center;
          cursor: pointer; transition: all 0.2s;
          -webkit-tap-highlight-color: transparent;
          backdrop-filter: blur(4px);
        }
        .cn-strip-arrow:hover { border-color:#c5a059; color:#c5a059; background:rgba(0,0,0,0.9); }
        .cn-strip-prev { left: 0.25rem; }
        .cn-strip-next { right: 0.25rem; }

        .cn-film-tile {
          position: relative; flex-shrink: 0;
          width: 240px; height: 180px;
          overflow: hidden; cursor: pointer;
          background: #111; border: none; padding: 0;
          scroll-snap-align: start; border-radius: 2px;
        }
        .cn-film-img { object-fit:cover; transition:transform 0.5s cubic-bezier(0.4,0,0.2,1); }
        .cn-tile-overlay {
          position:absolute; inset:0; background:rgba(0,0,0,0);
          display:flex; align-items:center; justify-content:center;
          transition:background 0.3s;
        }
        .cn-tile-zoom { color:rgba(197,160,89,0); font-size:1.8rem; font-weight:300; transition:all 0.3s; line-height:1; }
        .cn-film-tile:hover .cn-film-img { transform:scale(1.06); }
        .cn-film-tile:hover .cn-tile-overlay { background:rgba(0,0,0,0.35); }
        .cn-film-tile:hover .cn-tile-zoom { color:rgba(197,160,89,0.9); }

        /* Contact */
        .cn-contact-section { padding:0; }
        .cn-contact-inner { padding:2rem 3rem; display:flex; flex-direction:column; gap:1.75rem; }
        .cn-gold-rule { height:1px; background:linear-gradient(to right,transparent,rgba(197,160,89,0.35),transparent); }
        .cn-contact-card { display:flex; align-items:center; gap:2rem; flex-wrap:wrap; }
        .cn-profile-img { border-radius:50%; border:1px solid rgba(197,160,89,0.35); object-fit:cover; width:80px !important; height:80px !important; flex-shrink:0; }
        .cn-contact-info { flex:1; min-width:160px; }
        .cn-name { font-family:'Cinzel',serif; font-size:0.9rem; color:#e8c97a; letter-spacing:1.5px; margin-bottom:0.2rem; }
        .cn-role { font-size:0.65rem; color:rgba(197,160,89,0.5); letter-spacing:2px; text-transform:uppercase; margin-bottom:0.9rem; }
        .cn-details { display:flex; flex-direction:column; gap:0.4rem; }
        .cn-detail-item { display:flex; align-items:center; gap:0.6rem; color:rgba(255,255,255,0.6); font-size:0.78rem; text-decoration:none; word-break:break-all; }
        a.cn-detail-item:hover { color:#e8c97a; }
        .cn-icon { color:rgba(197,160,89,0.6); font-size:0.75rem; width:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
        .cn-qr-block { display:flex; flex-direction:column; align-items:center; gap:0.5rem; margin-left:auto; }
        .cn-qr-wrap { padding:7px; background:#fff; border-radius:3px; }
        .cn-qr-img { display:block; width:120px !important; height:auto !important; }
        .cn-qr-label { font-size:0.6rem; letter-spacing:2px; color:rgba(197,160,89,0.45); text-align:center; }

        /* ── Lightbox ── */
        .cn-lightbox {
          position: fixed; inset: 0;
          background: rgba(0,0,0,0.97);
          z-index: 3000;
          display: flex; align-items: center; justify-content: center;
          animation: lb-in 0.2s ease;
        }
        @keyframes lb-in { from { opacity:0; } to { opacity:1; } }

        .cn-lb-inner {
          position: relative;
          width: 100%; height: 100%;
          display: flex; flex-direction: column;
        }

        /* Main image area */
        .cn-lb-main {
          position: relative;
          flex: 1; min-height: 0;
        }
        .cn-lb-img { object-fit:contain !important; padding: 3.5rem 4rem 0.5rem; }

        /* Top bar */
        .cn-lb-topbar {
          position: absolute; top: 0; left: 0; right: 0;
          display: flex; align-items: center; justify-content: space-between;
          padding: 0.75rem 1rem;
          background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
          pointer-events: none;
        }
        .cn-lb-counter { font-family:'Cinzel',serif; font-size:0.6rem; letter-spacing:3px; color:rgba(197,160,89,0.5); pointer-events:none; }
        .cn-lb-close {
          background:transparent; border:1px solid rgba(197,160,89,0.3); color:rgba(197,160,89,0.7);
          width:34px; height:34px; border-radius:50%; cursor:pointer; font-size:0.75rem;
          display:flex; align-items:center; justify-content:center;
          transition:all 0.2s; pointer-events:all;
        }
        .cn-lb-close:hover { border-color:#c5a059; color:#c5a059; }

        .cn-lb-arrow {
          position: absolute; top: calc(50% - 40px); transform: translateY(-50%);
          background: transparent; border: 1px solid rgba(197,160,89,0.25); color: rgba(197,160,89,0.7);
          width:50px; height:50px; border-radius:50%; cursor:pointer; font-size:2rem; line-height:1;
          display:flex; align-items:center; justify-content:center;
          transition:all 0.2s; -webkit-tap-highlight-color:transparent;
        }
        .cn-lb-arrow:hover { border-color:#c5a059; color:#c5a059; background:rgba(197,160,89,0.08); }
        .cn-lb-prev { left:1rem; }
        .cn-lb-next { right:1rem; }

        /* Thumbnail strip in lightbox */
        .cn-lb-thumbs {
          display: flex; gap: 4px;
          overflow-x: auto; -webkit-overflow-scrolling: touch;
          scrollbar-width: none;
          padding: 0.75rem 1rem;
          flex-shrink: 0;
          background: rgba(0,0,0,0.6);
          border-top: 1px solid rgba(197,160,89,0.1);
          justify-content: safe center;
        }
        .cn-lb-thumbs::-webkit-scrollbar { display:none; }

        .cn-lb-thumb {
          position: relative; flex-shrink: 0;
          width: 72px; height: 54px;
          overflow: hidden; cursor: pointer;
          background: #111; border: none; padding: 0; border-radius: 2px;
          opacity: 0.45; transition: opacity 0.2s, outline 0.2s;
          outline: 2px solid transparent;
        }
        .cn-lb-thumb:hover { opacity: 0.75; }
        .cn-lb-thumb-active { opacity: 1 !important; outline-color: rgba(197,160,89,0.8); }
        .cn-lb-thumb-img { object-fit:cover; }

        /* ── Mobile ── */
        @media (max-width: 640px) {
          .cn-backdrop { padding:0; align-items:flex-end; }
          .cn-modal { max-width:100%; max-height:95dvh; border-radius:12px 12px 0 0; border-left:none; border-right:none; border-bottom:none; }
          .cn-split { grid-template-columns:1fr; min-height:unset; }
          .cn-split-reversed .cn-split-image { order:0; }
          .cn-split-reversed .cn-split-text  { order:1; }
          .cn-split-image { aspect-ratio:4/3; min-height:220px; }
          .cn-split-text  { padding:1.75rem 1.5rem; }
          .cn-text-block  { padding:1.75rem 1.5rem; }
          .cn-contact-inner { padding:1.5rem; }
          .cn-contact-card { gap:1.25rem; }
          .cn-qr-block { margin-left:0; width:100%; flex-direction:row; }

          .cn-film-tile { width:180px; height:135px; }
          .cn-strip-arrow { display:none; }

          .cn-lb-img { padding: 3rem 0.25rem 0.25rem; }
          .cn-lb-prev { left:0.25rem; }
          .cn-lb-next { right:0.25rem; }
          .cn-lb-arrow { width:42px; height:42px; font-size:1.6rem; }
          .cn-lb-thumb { width:56px; height:42px; }
        }

/* ===== Articles / single post ===================================== */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}
@media (max-width: 1100px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (max-width: 500px)  { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(197,160,89,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}
.article-card:hover {
    border-color: rgba(197,160,89,0.3);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}
.article-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f0f0f;
}
.article-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.article-card:hover .article-card-img { transform: scale(1.04); }
.article-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.5) 0%, transparent 40%);
}
.article-card-body { padding: 1.1rem 1.25rem 1.4rem; }
.article-card-meta {
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 0.6rem;
    text-transform: uppercase;
}
.article-card-meta-sep { margin: 0 0.4rem; opacity: 0.4; }
.article-card-meta-cat { color: #c5a059; }
.article-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 0.6rem;
    font-weight: 400;
    color: #fff;
    /* Clamp to 2 lines so card heights line up */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-excerpt {
    font-size: 0.83rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.55);
    margin: 0 0 0.9rem;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-cta {
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    letter-spacing: 2.5px;
    color: #c5a059;
    text-transform: uppercase;
}
.article-card-link { display: block; }

/* Pagination */
.articles-pagination .page-numbers {
    display: inline-block;
    margin: 0 0.25rem;
    padding: 0.5rem 0.9rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: 1px solid transparent;
    transition: all 0.25s;
}
.articles-pagination .page-numbers:hover {
    color: #c5a059;
    border-color: rgba(197,160,89,0.3);
}
.articles-pagination .page-numbers.current {
    color: #c5a059;
    border-color: rgba(197,160,89,0.5);
}

/* Single article body typography */
/* Editorial body styling for single articles.
   Selectors are scoped under .single-article to win over Gutenberg core
   block CSS (which is enqueued after the theme bundle). */
.single-article .article-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.82);
    font-weight: 300;
    letter-spacing: 0.01em;
}
.single-article .article-content > *:first-child { margin-top: 0; }
.single-article .article-content > *:last-child  { margin-bottom: 0; }

.single-article .article-content p,
.single-article .article-content .wp-block-paragraph {
    margin: 0 0 1.6rem;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-weight: inherit;
}

/* Lead-paragraph treatment: first paragraph reads larger, slightly lighter. */
.single-article .article-content > p:first-of-type,
.single-article .article-content > .wp-block-paragraph:first-of-type {
    font-size: 1.22rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.single-article .article-content h1,
.single-article .article-content h2,
.single-article .article-content h3,
.single-article .article-content h4,
.single-article .article-content h5,
.single-article .article-content h6,
.single-article .article-content .wp-block-heading {
    font-family: 'Cinzel', serif;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.3;
    font-weight: 400;
    margin: 3rem 0 1.25rem;
}
.single-article .article-content h2,
.single-article .article-content h2.wp-block-heading { font-size: 1.7rem; }
.single-article .article-content h3,
.single-article .article-content h3.wp-block-heading {
    font-size: 1.2rem;
    color: #c5a059;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.single-article .article-content h4,
.single-article .article-content h4.wp-block-heading {
    font-size: 1rem;
    color: #c5a059;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.single-article .article-content a {
    color: #c5a059;
    text-decoration: underline;
    text-decoration-color: rgba(197,160,89,0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.25s;
}
.single-article .article-content a:hover { text-decoration-color: #c5a059; }

.single-article .article-content strong,
.single-article .article-content b { color: #fff; font-weight: 500; }
.single-article .article-content em,
.single-article .article-content i { color: rgba(255,255,255,0.88); }

.single-article .article-content blockquote,
.single-article .article-content .wp-block-quote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    border-left: 2px solid #c5a059;
    color: rgba(255,255,255,0.92);
    font-style: italic;
    font-size: 1.18rem;
    line-height: 1.7;
    background: rgba(197,160,89,0.04);
}
.single-article .article-content .wp-block-quote cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #c5a059;
    text-transform: uppercase;
}
.single-article .article-content .wp-block-pullquote {
    margin: 3.5rem 0;
    padding: 2.5rem 1rem;
    border-top: 1px solid rgba(197,160,89,0.3);
    border-bottom: 1px solid rgba(197,160,89,0.3);
    text-align: center;
    font-size: 1.45rem;
    line-height: 1.5;
    color: #fff;
    font-style: italic;
}

.single-article .article-content ul,
.single-article .article-content ol { margin: 0 0 1.75rem; padding-left: 1.5rem; }
.single-article .article-content li { margin-bottom: 0.5rem; }
.single-article .article-content ul li::marker { color: #c5a059; }
.single-article .article-content ol li::marker { color: #c5a059; font-family: 'Cinzel', serif; }

.single-article .article-content img,
.single-article .article-content figure,
.single-article .article-content .wp-block-image {
    max-width: 100%;
    height: auto;
    margin: 2.5rem auto;
    display: block;
    border-radius: 4px;
}
.single-article .article-content .wp-block-image img { border-radius: 4px; }
.single-article .article-content figure figcaption,
.single-article .article-content .wp-block-image figcaption {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

.single-article .article-content hr,
.single-article .article-content .wp-block-separator {
    border: none;
    height: 1px;
    background: rgba(197,160,89,0.2);
    margin: 3rem auto;
    width: 100%;
}
.single-article .article-content .wp-block-separator.is-style-dots {
    background: none;
    text-align: center;
    height: auto;
    color: #c5a059;
}

.single-article .article-content .wp-block-button__link {
    background: transparent;
    border: 1px solid rgba(197,160,89,0.5);
    color: #c5a059 !important;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.9rem 2.5rem;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s;
}
.single-article .article-content .wp-block-button__link:hover {
    background: rgba(197,160,89,0.08);
    border-color: #c5a059;
}
.single-article .article-content .wp-block-buttons { margin: 2rem 0; }

.single-article .article-content .wp-block-table,
.single-article .article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}
.single-article .article-content th,
.single-article .article-content td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(197,160,89,0.15);
    text-align: left;
}
.single-article .article-content th {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: #c5a059;
    text-transform: uppercase;
    font-weight: 400;
}
.single-article .article-content pre,
.single-article .article-content code {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(197,160,89,0.15);
    border-radius: 4px;
    font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
}
.single-article .article-content code { padding: 0.15rem 0.4rem; font-size: 0.9em; }
.single-article .article-content pre { padding: 1.25rem 1.5rem; overflow-x: auto; margin: 2rem 0; }
.single-article .article-content pre code { border: none; background: transparent; padding: 0; }

@media (max-width: 768px) {
    .single-article .article-content { font-size: 1rem; line-height: 1.75; }
    .single-article .article-content > p:first-of-type,
    .single-article .article-content > .wp-block-paragraph:first-of-type { font-size: 1.1rem; }
    .single-article .article-content h2,
    .single-article .article-content h2.wp-block-heading { font-size: 1.4rem; margin-top: 2.25rem; }
    .single-article .article-content h3,
    .single-article .article-content h3.wp-block-heading { font-size: 1.1rem; }
    .single-article .article-content blockquote,
    .single-article .article-content .wp-block-quote { padding: 1.25rem 1.5rem; font-size: 1.05rem; }
    .single-article .article-content .wp-block-pullquote { font-size: 1.25rem; padding: 2rem 1rem; }
}

/* ===== Generic image lightbox ===================================== */
.adh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 8, 8, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5vh 6vw 14vh;
    backdrop-filter: blur(4px);
}
.adh-lightbox[hidden] { display: none; }
.adh-lb-stage {
    flex: 1;
    width: 100%;
    max-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.adh-lb-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
/* Thumbnail strip — horizontal-scroll, click to jump */
.adh-lb-thumbs {
    position: absolute;
    bottom: 3.75rem;
    left: 0; right: 0;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(197,160,89,0.4) transparent;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
}
.adh-lb-thumbs::-webkit-scrollbar { height: 4px; }
.adh-lb-thumbs::-webkit-scrollbar-thumb { background: rgba(197,160,89,0.35); border-radius: 2px; }
.adh-lb-thumb {
    flex: 0 0 auto;
    width: 110px;
    height: 72px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0a0a0a;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
    border-radius: 2px;
}
.adh-lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.adh-lb-thumb:hover { opacity: 0.85; }
.adh-lb-thumb.is-active {
    opacity: 1;
    border-color: #c5a059;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.adh-lb-btn {
    position: absolute;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(197,160,89,0.3);
    color: rgba(255,255,255,0.9);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.25s;
    backdrop-filter: blur(8px);
    -webkit-tap-highlight-color: transparent;
}
.adh-lb-btn:hover {
    border-color: #c5a059;
    color: #c5a059;
    background: rgba(0,0,0,0.7);
}
.adh-lb-close { top: 2rem; right: 2rem; }
.adh-lb-prev  { left: 2rem; top: 50%; transform: translateY(-50%); }
.adh-lb-next  { right: 2rem; top: 50%; transform: translateY(-50%); }
.adh-lb-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
}
@media (max-width: 600px) {
    .adh-lightbox { padding: 1.5rem 0.5rem 11vh; }
    .adh-lb-btn { width: 42px; height: 42px; font-size: 1.25rem; }
    .adh-lb-close { top: 0.75rem; right: 0.75rem; }
    .adh-lb-prev { left: 0.25rem; }
    .adh-lb-next { right: 0.25rem; }
    .adh-lb-stage { max-height: calc(100vh - 160px); }
    .adh-lb-thumbs { bottom: 2.75rem; gap: 4px; padding: 0 0.5rem 0.25rem; }
    .adh-lb-thumb { width: 70px; height: 50px; }
    .adh-lb-counter { font-size: 0.7rem; bottom: 0.75rem; }
}

/* ===== Read more / Read less toggle ================================ */
.adh-read-more {
    position: relative;
    max-height: var(--rm-collapsed, 320px);
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-bottom: 0;
}
.adh-read-more > *:last-child { margin-bottom: 0; }
.adh-read-more.is-expanded {
    max-height: 9000px;
}
.adh-read-more::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent 0%, #0a0a0a 100%);
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.adh-read-more.is-expanded::after { opacity: 0; }
.adh-read-more-toggle {
    display: inline-block;
    /* Sit close to the fade-out so there's no large empty gap before the
       button (client flagged the gap as too large). */
    margin: 0.25rem 0 1rem;
    background: transparent;
    border: 1px solid rgba(197,160,89,0.5);
    color: #c5a059;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    padding: 0.65rem 1.75rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}
.adh-read-more-toggle:hover {
    background: rgba(197,160,89,0.08);
    border-color: #c5a059;
}
