/* Koelte story: an evening-plan page. Amber accent, a reading column, the plan as a vertical rail with a time tag on
   each step, questions as ruled rows, a vet box with an amber edge, phone pictures in pairs. Chromium 67 safe
   (no flex gap, clamp, inset or aspect-ratio). */
@font-face { font-family: 'KLT UI'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'KLT Display'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2'); }
body.page-koelte {
  --accent: #F2A33A; --accent-ink: #2A1A02; --accent-soft: rgba(242, 163, 58, .12);
  --head: 'KLT Display', 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'KLT UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Frame */
.page-koelte main .wrap { max-width: 820px; }
.page-koelte main > .wrap:first-child { padding-top: 40px; }
.page-koelte .crumb { margin: 0 0 28px; font-size: 14px; }
.page-koelte .crumb a { color: var(--muted); text-decoration: none; }
.page-koelte .crumb a:before { content: "\2190"; margin-right: 8px; }
.page-koelte .crumb a:hover { color: var(--accent); }
.page-koelte .story-app { margin-bottom: 36px; }
.page-koelte main strong { color: var(--text); font-weight: 600; }
.klt-a, .page-koelte .klt-end a:not(.btn) { color: var(--text); text-decoration: underline; -webkit-text-decoration-color: var(--accent); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.klt-a:hover, .page-koelte .klt-end a:not(.btn):hover { color: var(--accent); }

/* Title block */
.klt-top { padding: 0 0 34px; border-bottom: 1px solid var(--hair-2); }
.klt-tag { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.klt-top h1 { margin: 0 0 18px; font-size: 31px; line-height: 1.15; }
.klt-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }

/* Sections */
.klt-block { padding-top: 40px; }
.klt-block > .wrap:after { content: ""; display: table; clear: both; }
.klt-head { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
.klt-h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; color: var(--text); }
.klt-text { margin: 0 0 18px; color: var(--text-2); }

/* Three questions: ruled rows */
.klt-ask { list-style: none; margin: 8px 0 8px; padding: 0; border-top: 1px solid var(--hair-2); }
.klt-ask li { position: relative; margin: 0; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--hair); color: var(--text-2); }
.klt-ask li:before { content: ""; position: absolute; left: 4px; top: 25px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }

/* The plan: a rail with a time tag on every step */
.klt-rail { list-style: none; margin: 10px 0 34px; padding: 0 0 0 18px; border-left: 2px solid var(--hair-2); }
.klt-rail li { position: relative; margin: 0 0 26px; padding: 0 0 0 22px; }
.klt-rail li:before { content: ""; position: absolute; left: -28px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid #14110c; }
.klt-when { display: inline-block; margin: 0 0 10px; padding: 3px 12px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent); font: 600 12px/20px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.klt-what p { margin: 0; color: var(--text-2); }

/* Where the plan stops */
.klt-vet { margin: 8px 0 0; padding: 24px 24px 6px; background: var(--surface); border: 1px solid var(--hair); border-left: 4px solid var(--accent); border-radius: 12px; }
.klt-vet .klt-head { font-size: 21px; }

/* Phone pictures */
.klt-pair { margin: 28px 0 30px; text-align: center; }
.klt-shot { margin: 0 auto 28px; max-width: 280px; text-align: center; }
.klt-pic { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--hair-2); }
.klt-cap { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: left; }
.klt-shot-one { margin-top: 28px; margin-bottom: 32px; }

/* Limits and the close */
.klt-limits { padding: 26px 24px 12px; border: 1px solid var(--hair-2); border-radius: 16px; background: var(--surface); }
.klt-limits .klt-head { font-size: 22px; }
.klt-list { list-style: none; margin: 0 0 8px; padding: 0; }
.klt-list li { position: relative; margin: 0 0 14px; padding-left: 22px; color: var(--text-2); }
.klt-list li:before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 2px; background: var(--accent); }
.klt-end { margin: 40px 0 48px; }
.klt-end .btn { margin: 0 18px 12px 0; vertical-align: middle; }
.page-koelte .klt-end a:not(.btn) { display: inline-block; margin-bottom: 12px; vertical-align: middle; }

@media (min-width: 640px) {
  .klt-pair { overflow: hidden; }
  .klt-pair .klt-shot { float: left; width: 46%; max-width: 280px; margin: 0 6% 12px 0; }
  .klt-pair .klt-shot + .klt-shot { margin-right: 0; }
  .klt-shot-one { float: right; width: 260px; max-width: none; margin: 6px 0 20px 28px; }
}
@media (min-width: 900px) {
  .page-koelte main > .wrap:first-child { padding-top: 64px; }
  .klt-top h1 { font-size: 42px; }
  .klt-lead { font-size: 20px; }
  .klt-block { padding-top: 56px; }
  .klt-head { font-size: 28px; }
  .klt-vet .klt-head { font-size: 23px; }
  .klt-rail { padding-left: 26px; }
  .klt-rail li:before { left: -36px; }
}
