/* These assets are requested only by the two short campaign templates. */
:is(.page-kurs-ai-start,.page-kurs-dla-zespolu) :is(.ail-premiera,.desktop-navigation,.menu-toggle) { display: none; }
:is(.page-kurs-ai-start,.page-kurs-dla-zespolu) .site-header { position: relative; top: auto; }
.short-landing { color: var(--ink); background: white; }
.short-landing h1, .short-landing h2 { text-wrap: balance; }
.short-hero { background: var(--navy); color: white; padding: clamp(2rem,5vw,5.5rem) 0; }
.short-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); align-items: center; gap: clamp(2rem,5vw,5.5rem); }
.short-intro { max-width: 42rem; }
.short-label { margin: 0 0 1rem; font: 700 .95rem/1.3 Space,sans-serif; color: var(--gold); }
.short-intro h1 { font-size: clamp(2.6rem,5.1vw,5.2rem); line-height: 1.01; color: white; margin: 0; }
.short-intro .short-lead { max-width: 54ch; margin: 1rem 0; color: #e2e3ed; font-size: clamp(1rem,1.55vw,1.24rem); line-height: 1.5; }
.short-intro .short-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .15rem .5rem; margin: 1.4rem 0 .8rem; color: white; }
.short-price strong { font: 700 clamp(1.75rem,3.3vw,2.8rem)/1.12 Space,sans-serif; white-space: nowrap; }
.short-price span { color: #c9cada; }
.short-intro .short-date { color: #dbdbe7; margin: .75rem 0 0; font-size: .96rem; line-height: 1.4; }
.short-buy { text-align: center; min-height: 46px; white-space: normal; }
.short-link { display: inline-block; padding: .65rem 0; margin-left: 1rem; }
.short-hero a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.short-hero .short-link { color: white; }
.short-sheet, .short-quote { margin: 0; min-width: 0; padding: clamp(1.2rem,2.6vw,2.4rem); background: #f2f4fa; color: var(--ink); border-radius: 8px; }
.short-sheet figcaption { display: grid; gap: .2rem; margin-bottom: 1rem; }
.short-sheet strong, .short-quote h2 { font: 700 clamp(1.35rem,2.5vw,2.1rem)/1.12 Space,sans-serif; margin: 0; color: var(--ink); }
.short-sheet span, .short-sheet p, .short-quote p { color: #484c61; }
.short-sheet img { width: 100%; height: auto; display: block; border: 1px solid #ced1dc; }
.short-sheet p { margin: 1rem 0 0; font-size: .93rem; }
.short-sheet-preview, .short-sheet-enlarge { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; }
.short-sheet-preview { display: block; width: 100%; cursor: zoom-in; }
.short-sheet-enlarge { text-decoration: underline; text-underline-offset: .2em; }
.short-card-dialog { width: min(1280px,calc(100% - 24px)); max-width: none; max-height: calc(100% - 24px); margin: auto; color: var(--ink); background: white; overflow: hidden; }
.short-card-dialog[open] { display: flex; flex-direction: column; }
.short-card-dialog header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 1rem; }
.short-card-dialog h2 { margin: 0; color: var(--ink); font-size: clamp(1.1rem,2.3vw,1.6rem); }
.short-card-dialog button { min-height: 44px; padding: .4rem .85rem; border: 1px solid #ced1dc; border-radius: 6px; background: white; color: var(--ink); font: inherit; }
.short-card-scroll { overflow: auto; overscroll-behavior: contain; background: var(--navy); }
.short-card-scroll:focus-visible { outline: 3px solid #4587ff; outline-offset: -3px; }
.short-card-scroll img { display: block; width: 100%; min-width: 1024px; max-width: none; height: auto; }
.short-card-hint { display: none; }
@media (max-width: 1047px) {
    .short-card-hint { display: block; padding: 0 1rem .65rem; margin: 0; color: #484c61; font-size: .9rem; }
}
.short-quote a { overflow-wrap: break-word; }
.short-quote table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.short-quote caption { text-align: left; font-weight: 700; margin: .7rem 0; }
.short-quote th, .short-quote td { padding: .55rem .2rem; border-bottom: 1px solid #c6cad7; text-align: left; }
.short-quote th:last-child, .short-quote td:last-child { text-align: right; }
.short-quote > a { display: inline-block; margin-top: 1rem; }
.short-section { padding: clamp(2.4rem,5.5vw,5rem) 0; }
.short-editorial h2, .short-next h2 { margin: 0 0 1rem; font-size: clamp(1.85rem,3.4vw,3rem); }
.short-editorial p, .short-next p { max-width: 68ch; line-height: 1.55; }
.short-editorial ul { padding: 0; margin: 1.6rem 0; list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,3vw,3rem); }
.short-editorial li { border-top: 1px solid #bac1d2; padding: 1rem 0 0; line-height: 1.5; }
.short-editorial li strong { display: block; font: 700 1.2rem/1.25 Space,sans-serif; margin-bottom: .45rem; }
.short-editorial a { color: #174ebf; text-decoration: underline; }
.short-news, .short-next { padding: clamp(2rem,4vw,4rem) 0; background: var(--navy); color: white; }
.short-news .ail-ka-zapis { max-width: 640px; margin-inline: auto; }
.short-news .ail-ka-kup { display: none; }
.short-next > .wrap { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.short-next h2, .short-next p { color: white; }
.short-landing a:focus-visible { outline: 3px solid #4587ff; outline-offset: 3px; }
@media (max-width: 800px) {
    .short-grid { grid-template-columns: minmax(0,1fr); gap: 1.75rem; }
    .short-sheet, .short-quote { max-width: 40rem; }
    .short-next > .wrap { display: block; }
}
@media (max-width: 580px) {
    .short-hero { padding: 1.2rem 0 2rem; }
    .short-label { margin-bottom: .55rem; }
    .short-intro h1 { font-size: clamp(2rem,8.8vw,2.7rem); }
    .short-intro .short-lead { margin: .7rem 0; line-height: 1.4; }
    .short-intro .short-price { margin: .7rem 0; font-size: .94rem; }
    .short-intro .short-price strong { font-size: 1.8rem; }
    .short-link { margin-left: 0; display: block; width: fit-content; }
    .short-editorial ul { grid-template-columns: 1fr; }
}
