/* Huoleton: heron polun valinta (WordPress, Älysivut, itse tehty sivusto) ja suojausten
   tarkemmat tiedot avattavana lohkona. Ladataan huoleton.css:n jälkeen. */

.polku { max-width: 860px; margin: 36px auto 0; }
.polku-otsikko { margin: 0 0 16px; color: var(--navy-dark); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.polku-kortit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; }
.polku-kortit .polku-kortti--oma { grid-column: 2; grid-row: 1 / span 2; justify-content: center; padding: 30px 30px 28px; }
.polku-kortit .polku-kortti--oma .polku-nimi { font-size: 26px; }
.polku-kortit .polku-kortti--oma .polku-kuvaus { flex: 0 1 auto; font-size: 16px; }
.polku-kortti {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; text-align: left;
  background: #fff; border: 1.5px solid var(--border); border-radius: 20px; box-shadow: var(--sh-md);
  color: var(--text); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.polku-kortti:hover { transform: translateY(-3px); border-color: var(--navy); }
.polku-kortti:focus-visible { outline: 3px solid rgba(233, 30, 133, .4); outline-offset: 3px; }
.polku-nimi { color: var(--navy-dark); font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.polku-kuvaus { flex: 1; color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.polku-hinta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--navy); font-size: 15px; font-weight: 800; }
.polku-hinta .arr { transition: transform .2s ease; }
.polku-kortti:hover .polku-hinta .arr { transform: translateX(3px); }
.polku-kortti--oma { border-color: transparent; background: var(--navy-dark); box-shadow: 0 14px 34px -10px rgba(35, 46, 102, .55); }
.polku-kortti--oma:hover { border-color: var(--orange); }
.polku-kortti--oma .polku-nimi, .polku-kortti--oma .polku-hinta { color: #fff; }
.polku-kortti--oma .polku-kuvaus { color: rgba(255, 255, 255, .8); }
.polku-alv { margin: 12px 0 0; color: var(--text-muted); font-size: 13px; }
.page-hero .polku + .cta-row { margin-top: 24px; }

/* Suojausten tarkemmat tiedot */
.lisatiedot { margin-top: 32px; }
.lisatiedot > summary {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; cursor: pointer; list-style: none;
  border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; font-size: 16px; font-weight: 700;
}
.lisatiedot > summary::-webkit-details-marker { display: none; }
.lisatiedot > summary::after {
  content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.lisatiedot[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.lisatiedot > summary:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 3px; }

@media (max-width: 820px) {
  .polku-kortit { grid-template-columns: 1fr; gap: 12px; }
  .polku-kortit .polku-kortti--oma { grid-column: auto; grid-row: auto; padding: 20px 18px 18px; }
  .polku-kortit .polku-kortti--oma .polku-nimi { font-size: 21px; }
  .polku-kortti { padding: 18px 18px 16px; }
  .polku-otsikko { text-align: left; }
  .polku-alv { text-align: left; }
}
