/* ================= BASE ================= */

.dls-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #222;
}

a {
  color: #1b4b25;
  text-decoration: underline;
}


/* ================= LAYOUT ================= */

.dls-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}


/* ================= HERO ================= */

.hero {
  text-align: center;
  margin-bottom: 64px;
}

.hero h1 {
  font-size: 28px;
  color: #1b4b25;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 16px;
  color: #555;
}

.hero-divider {
  margin: 32px auto 0;
  width: 160px;
  height: 2px;
  background: #1b4b25;
}


/* ================= HEADINGS ================= */

h2 {
  font-size: 23px;
  margin: 72px 0 24px;
}

h3 {
  font-size: 18px;
  margin: 32px 0 16px;
  color: #1b4b25;
}


/* ================= LINK GRIDS ================= */

.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.link-grid a {
  display: block;
  margin-bottom: 10px;
}


/* ================= VALUE BOXES ================= */

.value-box {
  background: #f7f7f7;
  padding: 32px;
  margin: 64px 0;
  border-radius: 6px;
}

.value-box ul {
  margin: 16px 0 0 20px;
}


/* ================= CTA ================= */

.cta {
  background: #1b4b25;
  color: white;
  padding: 40px;
  border-radius: 6px;
  text-align: center;
  margin-top: 72px;
}

.cta-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background: white;
  color: #1b4b25;
  font-weight: 600;
  border-radius: 4px;
}


/* ================= SIDEBAR ================= */

.dls-sidebar {
  margin-top: 120px;
}

.sidebar-rail {
  background: #f7f7f7;
  padding: 28px 26px;
  border-radius: 6px;
}

.sidebar-section + .sidebar-section {
  margin-top: 28px;
}

.sidebar-section h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.sidebar-section ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.sidebar-section li {
  margin-bottom: 6px;
  font-size: 14px;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .dls-layout {
    grid-template-columns: 1fr;
  }

  .dls-sidebar {
    margin-top: 40px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
  
  
/* ================= IMAGE SLIDER ================= */

/* BASE (applies everywhere) */

.media-gallery {
  max-width: 100%;
  margin: 24px auto;
}

.gallery-shell {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  flex-wrap: nowrap;               /* CRITICAL */
}

.gallery-item {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* controls */
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.gallery-controls button {
  font-size: 22px;
  padding: 4px 14px;
  cursor: pointer;
}

/* dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
}

.gallery-dot.active {
  background: #333;
}

/* ================= MOBILE ================= */
@media (max-width: 767px) {
  /* nothing special needed - slider is active */
}

/* ================= DESKTOP ================= */
@media (min-width: 768px) {

  .gallery-shell {
    aspect-ratio: auto;
  }

  .gallery-track {
    flex-wrap: wrap;
    gap: 12px;
    transform: none !important;
  }

  .gallery-item {
    flex: 0 0 auto;
  }

  .gallery-item img {
    max-width: 250px;
    height: auto;
  }

  .gallery-controls,
  .gallery-dots {
    display: none;
  }
}

}