/* A complete frame for documentary photography. */
.field-photo,.fjall-gallery figure,.bio-portrait,.person-photo,.index-photo{margin:0;min-width:0}
.field-photo>img,.fjall-gallery img,.index-photo img,.person-photo img,.bio-portrait img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
.field-photo figcaption,.fjall-gallery figcaption,.location-caption,.index-photo figcaption,.person-photo figcaption,.bio-portrait figcaption{font-size:.79rem;line-height:1.5;color:#4b594e;margin:.55rem 0 0;font-weight:400}
.location-caption{padding:0 16px}.field-photo,.bio-portrait,.pack-list .field-photo{align-self:center}
.jarv-values{display:grid;grid-template-columns:minmax(110px,.45fr) minmax(0,1.5fr);max-width:780px;margin:28px 0}.jarv-values dt,.jarv-values dd{border-top:1px solid #c8cfc4;margin:0;padding:16px 8px 16px 0;line-height:1.5}.jarv-values dt{font-weight:650;color:#29483a}
/* The photo and its play control share a grid cell. */
body[data-race] .hero-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    align-items: start;
    min-width: 0;
    min-height: 0;
    height: auto;
    background: #1f2a26;
}
body[data-race] .hero-photo > img {
    position: static;
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
body[data-race] .hero-photo > .video-launch {
    grid-area: 1 / 1;
    place-self: start end;
    position: relative;
    inset: auto;
    z-index: 1;
    margin: clamp(8px, 1.6vw, 18px);
    padding: 4px 12px 4px 5px;
    gap: 7px;
    max-width: calc(100% - 16px);
    min-height: 36px;
    color: white;
    background: rgb(24 36 32 / 93%);
    border: 1px solid rgb(255 255 255 / 60%);
    border-radius: 30px;
    box-shadow: 0 2px 8px #0003;
    transform: none;
    line-height: 1.25;
}
body[data-race="kolmarden"] .hero-photo > .video-launch { place-self: start start; }
body[data-race="stockholm"] .hero-photo > .video-launch { place-self: end start; }
body[data-race] .hero-photo > .video-launch:hover { background: #17221e; }
body[data-race] .video-launch:focus-visible { outline: 3px solid white; outline-offset: 2px; }
body[data-race] .video-launch .play-icon {
    width: 25px;
    height: 25px;
    color: #242d2b;
    font-size: 11px;
}
body[data-race] .video-launch small, body[data-race] .video-launch .film-short { display: none; }
body[data-race] .adventure-photo{align-self:center;min-height:0;height:auto}
body[data-race] .adventure-photo img{position:static;display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;max-height:700px}
body[data-race] .stay .field-photo img,.feature-inner .field-photo img{max-height:520px}
#paddling { scroll-margin-top: 72px; }
#paddling .feature-inner a { display: inline-block; margin-top: .8rem; color: #fff; text-decoration: underline; text-underline-offset: .2em; }
body[data-race] .distance>img{object-fit:contain;object-position:center;background:#eeece3}
body[data-race="stockholm"] .distance[data-distance="junior"] > img {
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: 46% 38%;
}
body[data-race] .destination-card{display:block;border-top:3px solid #bd622a}.next-salen>img{height:auto;align-self:center;min-height:0;object-fit:contain}
.race-included {
    padding: clamp(22px, 3vw, 38px) 0;
    background: #f2f2e9;
    color: #28352d;
}
.race-included h2 {
    margin: 0;
    font-size: clamp(23px, 2.7vw, 35px);
    letter-spacing: -.04em;
    line-height: 1.15;
}
.race-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 26px;
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
}
.race-facts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid #d3d8cb;
    font-size: 14px;
    line-height: 1.45;
}
.race-facts strong { font-weight: 650; }
.fact-icon {
    flex: none;
    height: 21px;
    width: 21px;
    color: #b35216;
}
.race-included .assignment-intro {
    max-width: 85ch;
    margin: 9px 0 0;
    font-size: 14px;
    line-height: 1.5;
}
.race-included .assignment-intro em { font-style: normal; font-weight: 600; }
@media (max-width: 920px) { .race-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) {
    .race-facts { grid-template-columns: 1fr; margin-top: 9px; }
    .race-facts li { padding: 5px 0; font-size: 14px; line-height: 1.4; }
    .fact-icon { width: 18px; height: 18px; margin-top: 1px; }
}
.fjall-gallery{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:24px}.fjall-gallery img{border-radius:3px}
.page-hero-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;height:auto;background:#1f2b23}
.page-hero-photo img,.home-hero .page-hero-photo video{position:static;display:block;width:100%;height:auto;max-height:680px;object-fit:contain}.home-hero .page-hero-photo video{aspect-ratio:16/9}
.site-page .event-image img,.site-page .guide-card img,.site-page .step-photo,.site-page .press-gallery img,.site-page .portrait-wide{object-fit:contain;height:auto;max-height:420px;min-height:0;transform:none}
.person-teaser .person-photo img{height:auto;max-height:270px;object-fit:contain;background:#e9ece3}.person-photo figcaption{padding:0 18px}.bio-portrait{max-width:350px}.bio-heading .bio-portrait img{max-height:400px;max-width:100%}.bio-spot:not(:has(img)){display:block;max-width:760px}
.footage-grid video[data-format],.how-film[data-format],.video-dialog video[data-format]{object-fit:contain;height:auto;max-width:100%;width:auto;margin-inline:auto;aspect-ratio:auto;display:block}
video[data-format="portrait"].how-film,.footage-grid video[data-format="portrait"]{width:min(100%,400px);aspect-ratio:4/5}
.footage-grid video[data-format="landscape"]{width:100%;aspect-ratio:16/9}.footage-grid{align-items:start}.how-film[data-format]{margin-top:1rem}
body .video-dialog video[data-format="portrait"]{width:min(100%,calc((100dvh - 180px) * .8));aspect-ratio:4/5}.video-dialog video[data-format="landscape"]{width:100%;aspect-ratio:16/9}.video-dialog{background:#f5f4ec}
.index-intro{display:grid;grid-template-columns:1fr minmax(280px,45%);gap:clamp(24px,5vw,78px);align-items:center}.index-photo img{max-height:370px;border-radius:3px}.article-card{border-top:1px solid #a1ad9f;background:transparent}.article-card .cover-image{display:block;width:100%;height:auto;max-height:310px;object-fit:contain}.article-card .index-photo{margin:12px 0 0}.index-photo a{display:block}
@media(max-width:800px){.index-intro{grid-template-columns:1fr}.index-photo{max-width:640px}.bio-portrait{margin-inline:auto}}
@media(max-width:700px){
body[data-race] .hero-photo > .video-launch { font-size: 12px; min-height: 40px; }
body[data-race] .video-launch .film-label { display: none; }
body[data-race] .video-launch .film-short { display: inline; }
body[data-race] .adventure-photo img{max-height:470px}.fjall-gallery{grid-template-columns:1fr}
.page-hero-photo,.home-hero .page-hero-photo{min-height:0;height:auto}.page-hero-photo img{max-height:350px}
body[data-race] .destination-card .destination-copy{padding:18px}.article-questions details{max-width:100%}}
.booking-summary #booking-image{object-fit:contain;background:#f4f2e9}
.bio-heading:not(:has(img)){grid-template-columns:1fr;max-width:780px}
.page-kontakt .person-teaser figure img{height:210px;width:100%;object-fit:contain;background:#eaece3}.page-kontakt .person-teaser figcaption{padding:0 16px}

.race-sponsors { padding: clamp(28px, 4vw, 48px) 0; scroll-margin-top: 70px; background: #fff; border-bottom: 1px solid #dddeda; }
.race-sponsors .container { display: flex; align-items: center; flex-wrap: wrap; gap: 18px clamp(24px, 5vw, 70px); }
.race-sponsors h2 { margin: 0; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.2; }
.race-sponsors ul { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; list-style: none; padding: 0; margin: 0; }
.race-sponsors li { width: 138px; height: 73px; padding: 7px 10px; }
.race-sponsors img { display: block; width: 100%; height: 100%; object-fit: contain; }
.race-sponsors .dark-logo-surface { background: #263632; border-radius: 3px; }
@media (max-width: 700px) {
    .race-sponsors .container { display: block; }
    .race-sponsors ul { margin-top: 14px; gap: 12px; }
    .race-sponsors li { width: min(138px, calc(50% - 6px)); }
}

.article-card .index-photo a { aspect-ratio: 3 / 2; background: #f1f2ec; }
.article-card .index-photo .cover-image { width: 100%; height: 100%; max-height: none; object-fit: contain; }
