/* Home: preserve editorial blocks and carousel behavior, share the Klar foundation. */
.home-page .home-main > .section { padding: 44px 32px; }
.home-page .home-main > .section > .container { width: 100%; max-width: 1100px; }
.home-page .home-main .content { font-size: 16px; line-height: 1.8; color: var(--catalog-muted); overflow-wrap: anywhere; }
.home-page .home-main :is(h1,h2,h3,h4,.title) { font-family: inherit; font-weight: var(--site-weight-emphasis); line-height: 1.35; letter-spacing: -.025em; color: var(--catalog-ink); }
.home-page .home-main .is-size-3 { font-size: 28px !important; }
.home-page .home-main .content :is(h2,h3,h4) { font-size: 25px; }
.home-page .home-main .is-size-5 { font-size: 17px !important; }
.home-page .home-main a:not(.button) { color: var(--catalog-blue); }
.home-page .home-main a:not(.button):hover { text-decoration: underline; }
.home-page .home-main .column { min-width: 0; }
.home-page .home-main .content img { max-width: 100%; height: auto; }
.home-page .home-hero .hero-body { padding-left: 32px; padding-right: 32px; }
.home-page .home-hero .container { max-width: 1100px; }
.home-page .home-hero .title { font-size: clamp(34px, 4vw, 56px); line-height: 1.15; margin-bottom: 28px; }
.home-page .home-hero .columns { align-items: flex-end; }
.home-page .home-hero-partner { display: flex; justify-content: flex-end; align-items: flex-end; }
.home-page .home-hero-badge { width: 130px; height: auto; border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.home-page .home-about-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin: 0 0 20px; }
.home-page .home-about-heading { font-size: 28px; }
.home-page .home-about-viewall { font-size: 14px; font-weight: var(--site-weight-emphasis); white-space: nowrap; }
.home-page .home-about-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: white; border: 1px solid var(--catalog-line); border-radius: 8px; margin: 0 0 28px; }
.home-page .home-about-tab { border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: var(--site-weight-emphasis); color: var(--catalog-muted); padding: 9px 18px; min-height: 40px; border-radius: 6px; cursor: pointer; }
.home-page .home-about-tab.is-active { background: var(--catalog-blue); color: #fff; }
.home-page .home-about-tab:hover:not(.is-active) { color: var(--catalog-ink); }
.home-page .home-about-tab:focus-visible { outline: 3px solid var(--catalog-blue); outline-offset: 2px; }
.home-page .home-about .columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 0; }
.home-page .home-about .column { padding: 0; }
.home-page .card.about-home { padding: 28px; width: 100%; display: flex; flex-direction: column; }
.home-page .home-about .content { font-size: 15px; margin: 0; text-align: center; display: flex; flex-direction: column; flex: 1; }
.home-page .home-about .content > :last-child { margin-bottom: 0; }
.home-page .home-about .content > p:last-child { margin-top: auto; padding-top: 8px; }
.home-page .home-about .content a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: var(--site-weight-emphasis); }
.home-page .home-promo { background: var(--catalog-blue) !important; }
.home-page .home-promo .content { width: 100%; max-width: none; }
.home-page .home-promo .content, .home-page .home-promo .content :is(h1,h2,h3,h4) { color: white; }
.home-page .home-promo-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.home-page .home-promo-button { background: white; border-color: white; color: var(--catalog-blue); font-family: inherit; font-size: 14px; font-weight: var(--site-weight-emphasis); min-height: 44px; height: auto; padding: 11px 18px; border-radius: 5px; white-space: normal; }
.home-page .home-promo-button-secondary { background: transparent; border: 1px solid rgba(255,255,255,.7); color: white; }
.home-page .home-promo-button-secondary:hover { background: rgba(255,255,255,.12); border-color: white; }
.home-page .home-value > .container > .columns:first-child > .column { flex: none; width: 100%; max-width: 900px; margin: 0 auto; }
.home-page .home-value > .container > .columns:last-child { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 28px 0 0; }
.home-page .home-value > .container > .columns:last-child > .column { width: auto; padding: 24px; background: white; border: 1px solid var(--catalog-line); border-radius: var(--site-radius); }
.home-page .home-value .content a { font-size: 14px; font-weight: var(--site-weight-emphasis); }
.home-page .home-value .content img { height: 36px; width: auto; }
.home-page .news-slider:not(.slick-initialized), .home-page .events-slider:not(.slick-initialized) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-left: 0; margin-right: 0; }
.home-page .news-slider:not(.slick-initialized) > .column, .home-page .events-slider:not(.slick-initialized) > .column { width: auto; padding: 0; }
.home-page :is(.news-slider,.events-slider).slick-initialized .slick-track { display: flex; }
.home-page :is(.news-slider,.events-slider).slick-initialized .slick-slide { height: auto; }
.home-page :is(.news-slider,.events-slider) .card { width: 100%; height: 100%; padding: 0; overflow: hidden; }
.home-page :is(.news-home,.events-home) figure.image { margin: 0; width: 100%; }
.home-page :is(.news-home,.events-home) figure img { width: 100%; height: 190px; object-fit: cover; }
.home-page :is(.news-home,.events-home) .title { font-size: 19px !important; line-height: 1.45; margin-top: 20px; overflow-wrap: anywhere; }
.home-page :is(.news-home,.events-home) .is-size-7 { font-size: 14px !important; line-height: 1.8; color: var(--catalog-muted); overflow-wrap: anywhere; }
.home-page .events-home .card-heading, .home-page .events-home .content, .home-page .events-home .push-to-end { padding-left: 20px; padding-right: 20px; }
.home-page .events-home .content { margin-top: 0; }
.home-page :is(.news-home,.events-home) .link-color-lpi a { color: var(--catalog-blue) !important; font-size: 14px !important; font-weight: var(--site-weight-emphasis); display: inline-flex; align-items: center; min-height: 44px; }
.home-page #newsletter > .container > .columns { margin: 0; gap: 32px; }
.home-page #newsletter > .container > .columns > .column { padding: 0; }
.home-page #newsletter > .container > .columns > .column > img { display: block; width: 100%; max-height: 360px; object-fit: contain; border-radius: var(--site-radius); }
.home-page #newsletter form { margin-top: 24px; }
.home-page #newsletter .field { margin-bottom: 16px; }
.home-page .slick-dots li button:before { color: var(--catalog-blue); }
@media (min-width: 769px) and (max-width: 1100px) {
    .home-page .news-slider:not(.slick-initialized), .home-page .events-slider:not(.slick-initialized) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
    .home-page .home-main > .section { padding: 32px 16px; }
    .home-page .home-main .content { font-size: 15px; }
    .home-page .home-main .is-size-3 { font-size: 25px !important; }
    .home-page .home-main .content :is(h2,h3,h4) { font-size: 23px; }
    .home-page .home-hero .hero-body { padding-left: 24px; padding-right: 24px; }
    .home-page .home-hero .columns { flex-wrap: wrap; }
    .home-page .home-hero-partner { justify-content: flex-start; margin-top: 16px; }
    .home-page .home-hero-badge { width: 88px; }
    .home-page .home-about .columns, .home-page .home-value > .container > .columns:last-child { grid-template-columns: 1fr; gap: 18px; }
    .home-page .home-about-heading { font-size: 23px; }
    .home-page .card.about-home { padding: 24px 20px; }
    .home-page .news-slider:not(.slick-initialized), .home-page .events-slider:not(.slick-initialized) { grid-template-columns: minmax(0,1fr); }
    .home-page #newsletter > .container > .columns { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
    .home-page #newsletter > .container > .columns > .column > img { max-height: 220px; }
    .home-page #newsletter .column .column { padding: 0; }
}

/* Carousel arrows stay inside the section on narrow screens. */
.home-page .home-main .slick-prev { left: 0 !important; z-index: 1; }
.home-page .home-main .slick-next { right: 0 !important; z-index: 1; }

.home-page .card.news-home { display: flex; flex-direction: column; }
.home-page .news-home > .space-sides-20 { padding-bottom: 16px; }
.home-page .news-home .to-bottom { position: static; margin-top: auto; }
.home-page #newsletter form > .columns { margin-left: 0; margin-right: 0; }
.home-page #newsletter form > .columns > .column { padding-left: 0; padding-right: 0; }

/* Stretch through Slick's row wrappers so all event cards share one height. */
.home-page .events-slider.slick-initialized .slick-slide { display: flex; align-items: stretch; }
.home-page .events-slider.slick-initialized .slick-slide > div { display: flex; flex: 1; min-width: 0; }
.home-page .events-slider.slick-initialized .slick-slide .column { display: flex; flex: 1; min-width: 0; }
.home-page .events-slider .card.events-home { height: auto; flex: 1; display: flex; flex-direction: column; }
.home-page .events-slider .events-home .push-to-end { margin-top: auto; }
.home-page .events-slider.slick-initialized { margin-bottom: 64px; }
.home-page .home-events .events-slider > .slick-arrow { top: auto; bottom: -60px; transform: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--catalog-line); border-radius: 5px; background: white; color: var(--catalog-blue); font: 28px/1 'OSC Catalog', sans-serif; }
.home-page .home-events .events-slider > .slick-prev { left: calc(50% - 52px) !important; }
.home-page .home-events .events-slider > .slick-next { right: calc(50% - 52px) !important; }
.home-page .home-events .events-slider > .slick-arrow::before { content: none; }
.home-page .home-events .events-slider > .slick-arrow:hover { background: #e7edf5; }
.home-page .home-events .events-slider > .slick-arrow.slick-disabled { opacity: .4; }

.home-page .home-section-action { display: flex; justify-content: center; margin-top: 28px; }

/* Include the slide column padding when matching the visible gaps around the arrows. */
.home-page .home-events .home-section-action { margin-top: 0; }
.home-page .home-events .events-slider.slick-initialized { margin-bottom: calc(76px + .75rem); }


/* Subtle yellow accent in the homepage headline. */
.home-page .home-hero .home-hero-accent { color: #ffcc00; }
