.page-dates { --turnusy-ink: #123543; --turnusy-sea: #13565f; --turnusy-sand: #f7d893; }
.turnusy-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0f3549; }
.turnusy-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 56% 56%; }
.turnusy-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #0a2738f5 0%, #0a2738e3 33%, #0a273852 69%, transparent 100%),
    linear-gradient(0deg, #0b2d40ee, transparent 48%);
}
.turnusy-hero-content {
  display: grid; align-content: space-between; min-height: clamp(480px, 44vw, 635px);
  padding-top: clamp(46px, 7vw, 103px); padding-bottom: clamp(21px, 3.5vw, 48px);
  gap: clamp(25px, 4vw, 54px);
}
.turnusy-lead { max-width: 760px; }
.turnusy-location { margin: 0 0 clamp(12px, 2vw, 27px); font-size: 14px; font-weight: 650; color: #e5f3f3; }
.turnusy-hero h1 { margin: 0; font-size: clamp(44px, 6.15vw, 95px); line-height: .99; letter-spacing: -.051em; color: #fff; }
.turnusy-hero h1 em { color: #f7daa1; font: inherit; }
.turnusy-intro { margin: clamp(15px, 2vw, 25px) 0 0; max-width: 45ch; font-size: clamp(16px, 1.5vw, 21px); color: #fff; line-height: 1.5; }
.turnusy-dates { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.turnusy-dates a {
  display: grid; gap: 5px; min-width: 0; align-content: center; min-height: 72px; padding: 11px 16px;
  background: #0b2e42ca; border: 1px solid #b0d3da96; border-radius: 12px; color: #fff;
  line-height: 1.25; text-decoration: none; transition: background-color .2s, color .2s;
}
.turnusy-dates a:hover, .turnusy-dates a:focus-visible { background: var(--turnusy-sand); color: #183b49; }
.turnusy-dates strong { font-size: clamp(15px, 1.6vw, 21px); font-weight: 700; }
.turnusy-dates span { font-size: 13px; }
.turnusy-section { margin-block: clamp(40px, 7vw, 96px); scroll-margin-top: 110px; }
.turnusy-section > h2 { margin: 0 0 20px; color: var(--turnusy-ink); font-size: clamp(31px, 4.1vw, 59px); letter-spacing: -.045em; line-height: 1.08; }
.turnusy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px, 2.2vw, 30px); align-items: start; }
.turnusy-card {
  min-width: 0; overflow: hidden; scroll-margin-top: 103px; background: #fff; border-radius: clamp(16px, 2vw, 26px);
  border: 1px solid #c7d8d7; box-shadow: 0 12px 34px #133d4510; color: var(--turnusy-ink);
}
.turnusy-card:target { outline: 3px solid #197178; outline-offset: 3px; }
.turnusy-photo { position: relative; aspect-ratio: 2.18; background: var(--turnusy-sea); overflow: hidden; }
.turnusy-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 63%; }
.turnusy-card:last-child img { object-position: center 70%; }
.turnusy-photo p {
  position: absolute; right: 12px; bottom: 12px; margin: 0; border-radius: 7px; padding: 6px 10px;
  background: #0e3246; color: white; font-size: 14px; font-weight: 650;
}
.turnusy-card-copy { padding: clamp(17px, 3vw, 34px); }
.turnusy-pace { display: flex; align-items: center; gap: 10px; margin: 0 0 9px; font-size: 14px; color: var(--turnusy-sea); font-weight: 650; }
.turnusy-pace-bars { display: flex; gap: 3px; flex-shrink: 0; }
.turnusy-pace-bars i { display: block; width: 12px; height: 5px; border-radius: 3px; background: #d2e0df; }
.turnusy-pace-bars i.filled { background: #1c7374; }
.turnusy-card h3 { margin: 0 0 9px; font-size: clamp(27px, 3vw, 43px); line-height: 1.08; letter-spacing: -.04em; color: inherit; }
.turnusy-description { max-width: 54ch; min-height: 4.5em; margin: 0 0 13px; color: #31515d; line-height: 1.5; font-size: 16px; }
.turnusy-card details { margin-top: 15px; border-top: 1px solid #dce6e3; }
.turnusy-card summary { padding: 12px 0 0; cursor: pointer; font-weight: 650; }
.turnusy-card details p, .turnusy-card details ul { color: #31515d; }
.turnusy-card details ul { padding-inline-start: 20px; }
.turnusy-card details dt { font-weight: 650; }
.turnusy-card details dd { margin: 2px 0 8px; color: #31515d; }
.turnusy-price {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px;
  background: #123f55; color: #fff; border-radius: 8px; font-size: 15px; font-weight: 650; text-decoration: none;
}
.turnusy-price:hover { background: #175b69; color: #fff; }
.turnusy-common {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(22px, 4vw, 65px);
  margin-bottom: clamp(52px, 8vw, 112px); border-top: 1px solid #b9d0d0; padding-top: clamp(24px, 4vw, 44px);
  color: var(--turnusy-ink);
}
.turnusy-common h2 { margin: 0 0 9px; letter-spacing: -.025em; font-size: clamp(24px, 2.8vw, 40px); }
.turnusy-common p { margin: 0 0 12px; color: #31515d; line-height: 1.55; }
.page-dates :is(.turnusy-dates, .turnusy-section, .turnusy-common) :is(a,summary):focus-visible { outline: 3px solid #ba6328; outline-offset: 4px; }
@media (max-width: 740px) {
  .turnusy-hero::before { background: linear-gradient(0deg, #0b2d40f7 0%, #0b2d40e8 38%, #0b2c3c80 76%, #0d344731); }
  .turnusy-hero-photo { object-position: 59% center; }
  .turnusy-hero-content { align-content: end; min-height: clamp(480px, 68svh, 590px); }
  .turnusy-hero h1 { font-size: clamp(35px, 10vw, 64px); letter-spacing: -.052em; }
  .turnusy-dates { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .turnusy-dates a { min-height: 63px; padding: 8px 10px; }
  .turnusy-grid, .turnusy-common { grid-template-columns: minmax(0,1fr); }
  .turnusy-description { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .turnusy-dates a { transition: none; } }

.turnusy-card:nth-child(2) img { object-position: center 46%; }
.turnusy-ages { color: #31515d; margin: 0 0 7px; font-size: 14px; }
.turnusy-quiz-jump {
  display: inline-flex; width: fit-content; min-height: 44px; align-items: center; margin-top: 20px;
  padding: 8px 16px; border-radius: 8px; background: var(--turnusy-sand); color: #183b49;
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.turnusy-quiz-jump:hover { background: #ffe4a6; color: #183b49; }
.turnusy-quiz-jump[hidden], .turnus-quiz[hidden] { display: none; }
.turnus-quiz { margin-top: clamp(32px, 6vw, 82px); scroll-margin-top: 108px; }
.turnus-quiz-panel {
  border: 1px solid #bad2d2; border-radius: 22px; padding: clamp(20px, 4.5vw, 56px);
  background: radial-gradient(ellipse at top right, #c9e4df, transparent 58%), #edf6f5;
  color: var(--turnusy-ink);
}
.turnus-quiz h2 { margin: 0 0 14px; max-width: 25ch; font-size: clamp(32px, 4.9vw, 61px); letter-spacing: -.05em; line-height: 1.04; }
.turnus-quiz h3, .quiz-step { margin: 12px 0 7px; color: var(--turnusy-sea); font-size: 14px; font-weight: 700; }
.turnus-quiz form, .turnus-quiz fieldset { margin: 0; min-width: 0; padding: 0; border: 0; }
.turnus-quiz legend { margin: 0 0 12px; font-size: clamp(19px, 2.5vw, 26px); font-weight: 650; }
.quiz-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-width: 780px; }
.quiz-options label {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 12px; line-height: 1.4;
  background: #fff; border: 1px solid #b7cccc; border-radius: 9px; cursor: pointer;
}
.quiz-options label:has(input:checked) { border-color: #1b7477; background: #d9eeea; }
.quiz-options label:has(input:focus-visible), .turnus-quiz :is(a,button):focus-visible, .turnusy-quiz-jump:focus-visible {
  outline: 3px solid #a95a26; outline-offset: 2px;
}
.quiz-options input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: #1b7377; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 17px; }
.quiz-actions button { cursor: pointer; font-family: inherit; border: 0; }
.quiz-secondary { min-height: 44px; background: transparent; border: 0; color: var(--turnusy-ink); cursor: pointer; font: inherit; text-decoration: underline; }
.quiz-match { color: var(--turnusy-ink); margin: 0 0 2px; font-size: clamp(28px, 3.8vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.quiz-match-meta { margin: 0 0 12px; color: var(--turnusy-sea); font-weight: 650; }
.quiz-explanation { color: #31515d; margin: 0 0 6px; max-width: 65ch; }
.quiz-alternative { padding: 13px; margin: 14px 0 5px; background: #fffdf7; border: 1px solid #b7cccc; border-radius: 9px; max-width: 56ch; }
.quiz-alternative p { margin: 3px 0 7px; }
@media (max-width: 570px) { .quiz-options { grid-template-columns: minmax(0,1fr); } }
