/* Nagłówek i kafelki nawigacji */
body .sp1-head.sp1-head {
    position: sticky !important;
    top: 0;
    z-index: 990;
    background: white;
    box-shadow: 0 1px 0 #16304720;
}
body.admin-bar .sp1-head { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width:600px) { body.admin-bar .sp1-head { top: 0; } }
html { scroll-padding-top: 100px; }
@media (min-width:901px) {
    .sp1-head .sp1-menu .wp-block-navigation__submenu-container.wp-block-navigation-submenu {
        position: fixed !important;
        top: var(--sp1-panel-top, 80px) !important;
        left: 0 !important;
        right: 0 !important;
        display: none !important;
        grid-template-columns: repeat(5,minmax(0,146px));
        align-content: start;
        justify-content: center;
        gap: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-height: calc(100dvh - var(--sp1-panel-top, 80px) - 16px);
        margin: 0 !important;
        box-sizing: border-box;
        padding: 18px 24px 24px !important;
        background: #fff !important;
        border: 0 !important;
        border-top: 1px solid #e2e8eb !important;
        border-radius: 0 !important;
        box-shadow: 0 16px 24px #122d4620 !important;
        overflow-y: auto !important;
    }
    .sp1-head .sp1-menu .has-child > button[aria-expanded="true"] ~ ul.wp-block-navigation__submenu-container {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }
    .sp1-head .sp1-menu .wp-block-navigation__submenu-container > li {
        display: flex;
        min-width: 0;
        width: 100%;
        border: 0 !important;
    }
    .sp1-head .sp1-menu .wp-block-navigation__submenu-container > li > a {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 14px;
        box-sizing: border-box;
        width: 100% !important;
        padding: 12px !important;
        aspect-ratio: 1;
        text-align: center;
        white-space: normal !important;
        line-height: 1.25;
        font-size: 14px;
        color: #123451;
        background: white;
        border: 1px solid #dce3e8 !important;
        margin: 0 -1px -1px 0;
    }
    .sp1-head .sp1-menu .wp-block-navigation__submenu-container > li > a::before {
        width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;
        margin: 0 !important;
        background-color: #d16420 !important;
    }
}
.sp1-head .sp1-menu .wp-block-navigation-item__content:hover,
.sp1-head .sp1-menu .has-child:hover > .wp-block-navigation-item__content,
.sp1-head .sp1-menu .wp-block-navigation__submenu-container > li > a:hover {
    color: #bc500d !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.sp1-head .sp1-menu .wp-block-navigation-item__content:hover .wp-block-navigation-item__label,
.sp1-head .sp1-menu .has-child:hover > button .wp-block-navigation-item__label { color: #bc500d !important; }
.sp1-head .sp1-menu .wp-block-navigation-item__content:focus-visible {
    color: #bc500d !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}
@media (max-width:900px) {
    .sp1-menu .is-menu-open .wp-block-navigation__submenu-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        align-items: stretch !important;
        width: 100% !important;
        gap: 3px !important;
        padding: 8px 0 12px !important;
    }
    .sp1-menu .is-menu-open .wp-block-navigation__submenu-container > li { width: 100%; }
    .sp1-menu .is-menu-open .wp-block-navigation__submenu-container > li > a {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 8px !important;
        font-size: 14px;
        line-height: 1.2;
        width: 100%;
        min-height: 82px;
        text-align: center;
        border: 1px solid #dce3e8;
        box-sizing: border-box;
    }
}
/* Panorama i pola strony głównej */
#slajd-1 .sp1-slide-img img { object-position: 74% center !important; }
@media (max-width:700px) { #slajd-1 .sp1-slide-img img { object-position: 76% center !important; } }
.sp1-calendar-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-self: center; }
.sp1-calendar-sheet { background: #fff; border: 1px solid #d6e1e7; min-width: 0; }
.sp1-calendar-caption { background: #133753; color: white; border-top: 3px solid #e87932; display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; font-size: 16px; font-weight: 750; }
.sp1-calendar-caption small { color: #e3eaf0; font-size: 12px; }
.sp1-month-grid { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; font-size: 13px; line-height: 1.7; padding: 7px; color: #143552; font-variant-numeric: tabular-nums; }
.sp1-month-grid b { font-size: 10px; color: #526b7b; }
.sp1-month-grid .sp1-day-on { background: #ffdfbf; font-weight: 750; color: #673000; }
body .sp1-roots-split { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; gap: 0 !important; padding: 0 !important; background: #fff5ed; }
.sp1-roots-copy { box-sizing: border-box; align-self: center; padding: clamp(40px,5vw,90px) clamp(24px,5vw,80px) clamp(40px,5vw,90px) max(5vw,calc((100vw - 1216px)/2)); }
.sp1-roots-copy h2 { margin: 12px 0 20px; font-size: clamp(32px,3.5vw,58px); line-height: 1.06; }
.sp1-roots-copy p { max-width: 54ch; }
.sp1-roots-copy .text-link { display: inline-block; margin-top: 12px; }
body .sp1-roots-split figure.sp1-history-photo { position: relative; margin: 0 !important; width: 100% !important; height: 100% !important; min-height: 340px; overflow: hidden; }
body .sp1-roots-split figure.sp1-history-photo img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0; }
body .sp1-roots-split .sp1-history-photo figcaption { position: absolute; margin: 0; bottom: 0; left: 0; right: 0; padding: 24px 16px 10px; background: linear-gradient(transparent,#102131b8); color: white; font-size: 12px; }
.sp1-faq-section { background: white; }
.sp1-faq-inner { padding-block: clamp(42px,6vw,84px); }
.sp1-faq-inner .parent-block { display: grid; grid-template-columns: minmax(180px, .72fr) minmax(0,1.28fr); column-gap: clamp(28px,6vw,92px); }
.sp1-faq-inner h2 { grid-column: 1; grid-row: 1/5; margin: 0; }
.sp1-faq-inner details { grid-column: 2; width: 100%; box-sizing: border-box; }
@media (max-width:700px) {
    body .sp1-roots-split, .sp1-faq-inner .parent-block { display: block !important; }
    .sp1-roots-copy { padding: 38px max(22px,5vw); }
    body .sp1-roots-split figure.sp1-history-photo { min-height: 0; height: auto !important; aspect-ratio: 16/10; }
    .sp1-faq-inner h2 { margin-bottom: 22px; }
    .sp1-calendar-board { gap: 7px; }
    .sp1-month-grid { font-size: 12px; padding: 5px 3px; }
}
/* Stopka wspólna dla witryny */
body footer#kontakt { background: #102e49; color: white; }
#kontakt .sp1-footer-layout { padding-block: clamp(30px,5vw,65px); }
#kontakt .sp1-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: clamp(24px,3vw,42px); border-bottom: 1px solid #ffffff40; }
#kontakt .sp1-footer-logo { flex: 0 1 275px; min-width: 0; }
#kontakt .sp1-footer-logo img { display: block; width: 100%; height: auto; }
#kontakt .sp1-footer-top .share-links { display: flex; flex: none; align-items: center; gap: 4px; margin: 0; }
#kontakt .sp1-footer-top .share-links > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#kontakt .sp1-footer-top .share-links .wp-block-buttons { margin: 0; }
#kontakt .sp1-footer-top .share-links a { display: grid; place-items: center; background: transparent; min-width: 44px; min-height: 44px; }
#kontakt .sp1-footer-top .share-links img { display: block; width: 25px; height: 25px; filter: brightness(0) invert(1); }
#kontakt .sp1-footer-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: clamp(22px,4vw,64px); padding-top: clamp(26px,3.4vw,48px); }
#kontakt .sp1-footer-columns .sp1-footer-links h2 { margin: 0 0 16px; font-family: inherit; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: normal; color: white; }
#kontakt .sp1-footer-contact p { display: grid; gap: 9px; margin: 0; }
#kontakt .sp1-footer-contact p br { display: none; }
#kontakt .sp1-footer-contact a { overflow-wrap: anywhere; }
#kontakt .sp1-footer-links ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
#kontakt .sp1-footer-links a { color: #e5edf2; font-size: 15px; line-height: 1.4; text-decoration: none; }
#kontakt .sp1-footer-links a:is(:hover,:focus-visible) { color: #ffc396; text-decoration: underline; text-underline-offset: 4px; }
body #kontakt .footer-bottom { border-top: 1px solid #ffffff40; }
@media (max-width:700px) {
    #kontakt .sp1-footer-columns { grid-template-columns: minmax(0,1fr); gap: 28px; }
    #kontakt .sp1-footer-logo { flex-basis: 215px; }
}

/* Pełna panorama z liniowym wskaźnikiem i sterowaniem na zdjęciu. */
body .sp1-hero { position: relative; }
body .sp1-hero .sp1-slide { min-height: clamp(520px,37vw,710px); }
body .sp1-hero .sp1-slide-copy { align-self: center; padding-block: 56px 116px; height: auto; }
body .sp1-hero .sp1-slide-nav {
    position: absolute; z-index: 3; left: max(5vw,calc((100% - 1216px)/2)); bottom: 28px;
    display: flex !important; align-items: center; justify-content: flex-start;
    gap: 7px; width: min(475px,88%); padding: 0; margin: 0; height: 46px;
    border: none; background: transparent; box-sizing: border-box;
}
body .sp1-hero .sp1-slide-nav a { flex: 1 1 30px; min-width: 16px; height: 44px; align-items: center; justify-content: center; }
body .sp1-hero .sp1-slide-nav a span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
body .sp1-hero .sp1-slide-nav a i { width: 100%; height: 3px; background: #ffffff85; }
body .sp1-hero .sp1-slide-nav a[aria-current="true"] i { background: #ff993f; }
body .sp1-hero .sp1-slide-nav button {
    display: inline-grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px;
    border: 1px solid #fffc; border-radius: 50%; background: #0a263d88;
    color: white; padding: 0; margin: 0; font: 600 21px/1 system-ui; cursor: pointer;
}
body .sp1-hero .sp1-slide-nav button:hover { background: #153955; }
body .sp1-hero .sp1-slide-nav :focus-visible { outline: 2px solid white; outline-offset: 2px; }
body .sp1-hero .sp1-slide-nav .sp1-slide-prev { margin-left: 12px; }
body .sp1-hero .sp1-slide-nav .sp1-rotation { font-size: 16px; }
body .wp-block-post-featured-image, body .explore-visual.explore-visual,
body .sp1-community-photo, body .sp1-history-photo { border-radius: 0 !important; overflow: hidden; }
body .wp-block-post-featured-image img, body .explore-visual img, body .sp1-community-photo img,
body .sp1-history-photo img { border-radius: 0 !important; object-fit: cover; display: block; }
body .sp1-community-photo img, body .wp-block-post-featured-image img { transition: transform .4s ease; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .community-card:hover .sp1-community-photo img, .wp-block-post-featured-image a:hover img { transform: scale(1.025); }
}
@media (max-width:700px) {
    body .sp1-hero .sp1-slide { min-height: clamp(500px,72svh,650px); }
    body .sp1-hero .sp1-slide-copy { padding-block: 44px 102px; }
    body .sp1-hero .sp1-slide-nav { bottom: 20px; gap: 5px; }
    body .sp1-hero .sp1-slide-nav .sp1-slide-prev { margin-left: 6px; }
}

/* Ruch fotografii i numerowana nawigacja głównego banera */
body .sp1-hero .sp1-slide {
    min-height: clamp(545px, 39vw, 735px);
}
body .sp1-hero .sp1-slide::before {
    background: linear-gradient(90deg, #081a2bf2 0%, #081a2bcd 25%, #081a2b9c 44%, #081a2b28 72%, transparent);
}
body .sp1-hero .sp1-slide-copy {
    align-self: end;
    padding-block: clamp(54px, 5vw, 96px) clamp(108px, 8vw, 146px);
}
body .sp1-hero .sp1-slide-copy h2 {
    font-size: clamp(48px, 4.8vw, 86px) !important;
    line-height: 1.015 !important;
    letter-spacing: -.052em;
    max-width: min(62%, 17ch);
}
body .sp1-hero .sp1-slide-copy p { max-width: min(46%, 44ch); }
body .sp1-hero .sp1-slide-nav {
    counter-reset: sp1-slide-number;
    width: min(475px, 90%);
}
body .sp1-hero .sp1-slide-nav a {
    counter-increment: sp1-slide-number;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: #fff;
    text-decoration: none;
}
body .sp1-hero .sp1-slide-nav a::before {
    content: counter(sp1-slide-number, decimal-leading-zero);
    font: 600 12px/1 Inter, system-ui, sans-serif;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
body .sp1-hero .sp1-slide-nav a i { flex: 1; height: 2px; min-width: 5px; }
body .sp1-hero .sp1-slide-nav a[aria-current="true"]::before { color: #ffae75; }
@keyframes sp1-fotografia {
    from { transform: translate3d(var(--sp1-pan-from, -.55%), 0, 0) scale(var(--sp1-zoom-from, 1.018)); }
    to { transform: translate3d(var(--sp1-pan-to, 1.25%), 0, 0) scale(var(--sp1-zoom-to, 1.092)); }
}
.sp1-slide:nth-child(even) { --sp1-pan-from: 1%; --sp1-pan-to: -.65%; --sp1-zoom-from: 1.095; --sp1-zoom-to: 1.025; }
@media (prefers-reduced-motion: no-preference) {
    .sp1-hero:has(a[href="#slajd-1"][aria-current="true"]) #slajd-1 img,
    .sp1-hero:has(a[href="#slajd-2"][aria-current="true"]) #slajd-2 img,
    .sp1-hero:has(a[href="#slajd-3"][aria-current="true"]) #slajd-3 img,
    .sp1-hero:has(a[href="#slajd-4"][aria-current="true"]) #slajd-4 img {
        animation: sp1-fotografia 10s cubic-bezier(.2,.48,.4,1) both;
        animation-play-state: var(--sp1-photo-state, running);
    }
    .sp1-hero:has(.sp1-rotation[aria-label^="Wznów"]),
    .sp1-hero:has(.sp1-rotation[aria-label^="Uruchom"]) { --sp1-photo-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
    body .sp1-hero .sp1-track { scroll-behavior: auto !important; }
    body .sp1-hero .sp1-slide-img img { animation: none !important; transform: none !important; }
}

/* Ciemna opowieść o początkach szkoły i jasne sekcje informacyjne */
body.home .wp-site-blocks :is(.family-desk, .practical, .sp1-faq-section) { background: #f3f4f5 !important; }
body.home .wp-site-blocks :is(.family-desk .family-grid, .family-desk .dates-block, .family-desk .parent-block, .sp1-faq-inner, .sp1-faq-inner .parent-block, .practical > .wrap) { background-color: transparent !important; }
body.home .wp-site-blocks :is(.history-band, .sp1-roots-split) { background: #303236 !important; color: #f1f2f4; }
body.home .wp-site-blocks :is(.history-inner, .sp1-roots-copy) { background: transparent !important; }
body.home .wp-site-blocks :is(.history-band, .sp1-roots-split) :is(h2, h2 em, h2 mark, p mark:not(.rule)) { background-color: transparent !important; color: #fff !important; }
body.home .wp-site-blocks :is(.history-band, .sp1-roots-split) :is(p, figcaption) { color: #e7e8eb !important; }
body.home .sp1-roots-split { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
body.home .sp1-roots-copy { padding-block: clamp(58px, 6.5vw, 112px); }
body.home .sp1-roots-copy h2 { font-size: clamp(35px, 3.35vw, 63px); line-height: 1.045; letter-spacing: -.045em; text-wrap: balance; }
body.home .sp1-roots-copy > p:not(:first-child) { max-width: 49ch; }
body.home .sp1-roots-copy > p:first-child .rule { margin-right: .75em; }
body.home .sp1-roots-split .sp1-history-photo figcaption { text-align: right; padding: 35px clamp(14px, 2.4vw, 44px) 13px; background: linear-gradient(transparent, #10191ee0); }

/* Wspólne przyciski z białą kredką */
.wp-site-blocks {
    --sp1-action: #143954;
    --sp1-action-hover: #204f71;
    --sp1-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cg fill='white' transform='rotate(43 14 14)'%3E%3Cpath d='M10 7V4.5A1.5 1.5 0 0 1 11.5 3h5A1.5 1.5 0 0 1 18 4.5V7zM10 8.5h8v10h-8zM10.3 20h7.4l-3.2 5.2a.6.6 0 0 1-1 0z'/%3E%3C/g%3E%3C/svg%3E");
}
body .wp-site-blocks main :is(a.sp1-cta, a.text-link, a.sp1-back, .sp1-search button, .wp-block-button__link:not(:has(img,svg)), .wp-block-read-more) {
    display: inline-flex !important;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: var(--sp1-action) !important;
    color: white !important;
    font: 650 .94rem/1.32 Inter, system-ui, sans-serif;
    text-align: start;
    text-decoration: none !important;
    overflow-wrap: anywhere;
    cursor: pointer;
}
body .wp-site-blocks main p:has(> a.text-link) { text-decoration: none !important; }
body .wp-site-blocks main :is(.sp1-hero, .sp1-roots-copy, .history-band) :is(a.sp1-cta, a.text-link) { border-color: #ffffff85; color: white !important; }
body .wp-site-blocks main :is(a.sp1-cta, a.text-link, a.sp1-back, .sp1-search button, .wp-block-button__link:not(:has(img,svg)), .wp-block-read-more):hover { background: var(--sp1-action-hover) !important; color: white !important; }
body .wp-site-blocks main :is(a.sp1-cta, a.text-link, a.sp1-back, .sp1-search button, .wp-block-button__link, .wp-block-read-more, .sp1-slide-nav button, .sp1-photo-arrows a):focus-visible { outline: 3px solid #ff9855; outline-offset: 3px; }
body .wp-site-blocks main :is(a.sp1-cta, a.text-link, a.sp1-back, .sp1-search button, .wp-block-button__link:not(:has(img,svg)), .wp-block-read-more)::after,
body .wp-site-blocks .sp1-hero .sp1-slide-nav :is(.sp1-slide-prev, .sp1-slide-next)::before,
body .wp-site-blocks .sp1-photo-panel .sp1-photo-arrows a::before,
body .wp-site-blocks :is(.community-card, .practical-tile) p:last-child mark::before {
    content: "";
    display: block;
    position: static;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    margin: 0;
    border: 0;
    background: white !important;
    -webkit-mask: var(--sp1-pencil) center / contain no-repeat !important;
    mask: var(--sp1-pencil) center / contain no-repeat !important;
    transform: scaleX(-1);
}
body .wp-site-blocks .sp1-hero a.sp1-cta span[aria-hidden] { display: none !important; }
body .wp-site-blocks :is(.practical-tile, .community-card) p:last-child mark {
    display: inline-grid !important;
    place-items: center;
    width: 38px !important;
    height: 38px !important;
    border-radius: 5px;
    background: var(--sp1-action) !important;
    color: transparent !important;
    font-size: 0 !important;
    mask: none !important;
    -webkit-mask: none !important;
    transform: none !important;
}
body .wp-site-blocks :is(.practical-tile, .community-card):hover p:last-child mark { background: var(--sp1-action-hover) !important; }
body .wp-site-blocks .sp1-hero .sp1-slide-nav button,
body .wp-site-blocks .sp1-photo-panel .sp1-photo-arrows a {
    border-radius: 5px;
    background: var(--sp1-action);
    color: white;
    border: 1px solid #ffffff85;
    box-sizing: border-box;
}
body .wp-site-blocks .sp1-hero .sp1-slide-nav :is(.sp1-slide-prev, .sp1-slide-next) { font-size: 0; }
body .wp-site-blocks .sp1-hero .sp1-slide-nav .sp1-slide-prev::before,
body .wp-site-blocks .sp1-photo-panel .sp1-photo-arrows .sp1-photo-prev::before { transform: none; }
body .wp-site-blocks .sp1-photo-panel .sp1-photo-return span { background-color: white; }
@media (max-width: 700px) {
    body .sp1-hero .sp1-slide { min-height: clamp(515px, 73svh, 655px); }
    body .sp1-hero .sp1-slide-copy { padding-block: 70px 102px; }
    body .sp1-hero .sp1-slide::before { background: linear-gradient(0deg, #061626f5 0%, #061626d8 33%, #061626a8 56%, #0616263a 85%, transparent); }
    body .sp1-hero .sp1-slide-copy h2 { font-size: clamp(38px, 8.2vw, 56px) !important; max-width: 100%; }
    body .sp1-hero .sp1-slide-copy p { max-width: min(100%, 40ch); }
    body .sp1-hero .sp1-slide-nav { gap: 4px; }
    body .sp1-hero .sp1-slide-nav a { gap: 3px; }
    body .sp1-hero .sp1-slide-nav a::before { font-size: 10px; }
    body.home .sp1-roots-copy { padding: 44px max(5vw, 22px) 38px; }
    body.home .sp1-roots-copy h2 { font-size: clamp(30px, 7.5vw, 42px); }
    body.home .sp1-roots-split .sp1-history-photo figcaption { text-align: left; }
}


/* Podpis na osobnym, półprzezroczystym czarnym panelu. */
body .sp1-hero {
    --sp1-panel-inset: max(5%, calc((100% - 1216px) / 2));
}
body .sp1-hero .sp1-slide::before {
    background: linear-gradient(0deg, rgb(0 0 0 / 36%), transparent 21%);
}
body .sp1-hero .sp1-slide .sp1-slide-copy {
    box-sizing: border-box;
    justify-self: start;
    align-self: center;
    width: clamp(420px, 38vw, 580px);
    max-width: calc(100% - 2 * var(--sp1-panel-inset));
    margin: 52px 0 108px var(--sp1-panel-inset) !important;
    padding: clamp(26px, 2.65vw, 48px);
    border-radius: 0;
    background: rgb(0 0 0 / 72%) !important;
    color: white;
}
body .sp1-hero .sp1-slide .sp1-slide-copy h2 {
    max-width: 100%;
    font-size: clamp(43px, 3.6vw, 70px) !important;
    letter-spacing: -.048em;
    line-height: 1.04 !important;
    margin-block: 14px 18px !important;
}
body .sp1-hero .sp1-slide .sp1-slide-copy p {
    max-width: 43ch;
    line-height: 1.5;
}
body .sp1-hero .sp1-slide .sp1-cta { margin-top: 20px !important; }
@media (max-width: 700px) {
    body .sp1-hero { --sp1-panel-inset: clamp(14px, 4vw, 24px); }
    body .sp1-hero .sp1-slide .sp1-slide-copy {
        align-self: end;
        width: min(440px, calc(100% - 2 * var(--sp1-panel-inset)));
        margin-block: clamp(86px, 15svh, 138px) 78px !important;
        padding: clamp(18px, 5vw, 26px);
    }
    body .sp1-hero .sp1-slide .sp1-slide-copy h2 {
        font-size: clamp(32px, 8.4vw, 46px) !important;
        margin-block: 10px 12px !important;
    }
    body .sp1-hero .sp1-slide .sp1-slide-copy p { font-size: 1rem; }
    body .sp1-hero .sp1-slide .sp1-cta { margin-top: 15px !important; }
    body .sp1-hero .sp1-slide-nav { left: var(--sp1-panel-inset); bottom: 16px; }
}

body .sp1-hero .sp1-slide-nav a { flex-direction: column; justify-content: center; gap: 6px; }
body .sp1-hero .sp1-slide-nav a i { width: 100%; height: 2px !important; min-height: 2px; max-height: 2px; flex: 0 0 2px; }
.sp1-reading.sp1-practical-page { max-width: 860px; box-sizing: border-box; }
.sp1-practical-page .sp1-breadcrumb a { color: #36526b; }
.sp1-practical-page .sp1-page-label { margin: 32px 0 10px; color: #92420e; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.sp1-practical-page h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4rem); line-height: 1.08; color: #102f49; }
.sp1-practical-page .sp1-practical-lead { max-width: 63ch; margin-block: 18px 32px; font-size: 1.12rem; line-height: 1.6; }
.sp1-practical-page .sp1-practical-detail { padding: 25px 0; border-top: 1px solid #dce3e8; }
.sp1-practical-page .sp1-practical-detail h2 { margin: 0 0 .5rem; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.2; }
.sp1-practical-page .sp1-practical-detail p { max-width: 65ch; margin: .6rem 0; }
