/* ===== Murupolku ===== */
.breadcrumb {
  text-align: center;
  font-size: 0.9rem;
  margin: 1.5rem 0 1rem 0;
  color: #555;
}

.breadcrumb a {
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== Hero-kuva päälayoutin leveydellä ===== */
.hero-image {
  max-width: 1200px;
  height: 450px;
  margin: 0 auto;
  background-image: url('img/pexels-glassesshop-gs-1317359316-28065039.webp');
  background-size: cover;
  background-position: center;
  border: 1px solid #000;
  border-radius: 0;
  position: relative; /* tarvitaan absoluuttiselle lapselle */
}

/* ===== Numeroidut tekstiosuudet ===== */
.text-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.text-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


.text-item {
  display: flex;
  flex-direction: column; /* ennen: row, nyt column */
  gap: 0.5rem;            /* tilaa numeron ja kuvauksen väliin */
  align-items: flex-start; /* vasen tasaus */
}

.text-item .number {
  font-size: 2rem;
  font-weight: 500;
  color: #000;
  font-family: 'Pacifico', cursive;
  flex-shrink: 0;
}

.text-item .description {
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== Responsiivisuus ===== */
@media (max-width: 900px) {
  .text-box {
    gap: 1.5rem;
  }
}

/* Container tekstille + videolle */
.text-video-container {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 teksti, 1/3 video */
  gap: 2rem;
  align-items: start;
}

.text-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.video-box iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* pitää kuvasuhteen */
  border-radius: 0.5rem;
}

/* Responsiivisuus */
@media (max-width: 900px) {
  .text-video-container {
    grid-template-columns: 1fr; /* teksti ja video päällekkäin mobiilissa */
    gap: 1.5rem;
  }
}