/*
 * Свети! — Главная страница
 * Все специфические стили Главной собраны в этом файле.
 * Подключается только на is_front_page() и после style.css.
 * Версия структуры: 1.1.5 — отдельные фотографии для телефона, планшета и десктопа
 */


/* ==========================================================================
   ГЛАВНАЯ ФОТОГРАФИЯ И СЛОГАНЫ — ОСНОВНЫЕ ПРАВИЛА И АДАПТИВ
   ========================================================================== */
/* Desktop panorama: 20% shorter, with the sun and both people inside the crop. */
.home-intro {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: max(240px, 19.2vw);
    margin: 0 auto;
    overflow: hidden;
    background: #e8dfd2;
}
.home-intro > picture { display: contents; }
.home-intro__photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 55%;
}
.home-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(26, 36, 39, .30), rgba(26, 36, 39, .12) 38%, transparent 62%);
    pointer-events: none;
}
.home-intro .home-intro__inner {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    height: 100%;
    padding: 14px 20px;
}
.home-intro__copy { width: 48%; max-width: 550px; color: #fff; text-shadow: 0 1px 3px rgba(20, 26, 30, .65); }
.home-intro .home-intro__title {
    font-family: var(--sveti-editorial-serif);
    font-size: clamp(42px, 3.5vw, 48px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.015em;
    margin: 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(20, 26, 30, .45);
}
.home-intro__title span,
.home-intro__description > span { display: block; }
.home-intro__mobile-line { display: inline; }
.home-intro__description {
    max-width: 380px;
    margin: 12px 0 15px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: #fff;
}
.home-intro .home-intro__button {
    width: auto;
    min-height: 44px;
    padding: 10px 27px;
    margin: 0;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
    line-height: 24px;
    color: #fff;
    text-shadow: none;
}
.home-intro__signature {
    position: absolute;
    right: calc(40px - max(0px, (100vw - 1200px) / 2));
    bottom: 24px;
    max-width: 170px;
    color: #fff;
    font: 500 20px/1.05 "Caveat", cursive;
    text-align: right;
    text-shadow: 0 1px 3px rgba(0,0,0,.65);
    transform: rotate(-6deg);
}

@media (max-width: 1199px) {
    .home-intro { height: 280px; }
    .home-intro__photo { object-position: 50% 61%; }
    .home-intro .home-intro__inner { padding: 16px 20px; }
    .home-intro .home-intro__title { font-size: 43px; }
    .home-intro__description { font-size: 14px; max-width: 320px; margin: 15px 0 19px; }
    .home-intro__signature { max-width: 140px; font-size: 19px; right: 20px; bottom: 16px; }
}
@media (min-width: 600px) and (max-width: 900px) {
    .home-intro__photo { object-position: 85% 62%; }
    .home-intro .home-intro__inner { align-items: flex-start; padding-top: 20px; }
    .home-intro__copy { width: 50%; }
    .home-intro .home-intro__title { font-size: 36px; }
    .home-intro__description { margin: 12px 0 16px; max-width: 280px; }
    .home-intro__signature { left: 20px; right: auto; bottom: 18px; max-width: 290px; text-align: left; transform: none; }
}
/* Low landscape panorama leaves room for the format cards and events heading. */
@media (orientation: landscape) and (min-width: 600px) and (max-width: 1199px) {
    .home-intro { height: clamp(120px, 16.7vw, 201px); }
    .home-intro__photo { object-position: 50% 66%; }
    .home-intro .home-intro__inner {
        align-items: center;
        padding: clamp(6px, .703vw, 8px) var(--sveti-landscape-gutter) !important;
    }
    .home-intro__copy { width: 48%; }
    .home-intro .home-intro__title { font-size: clamp(22px, 3.3vw, 38px); line-height: 1; }
    .home-intro__description {
        max-width: min(100%, clamp(240px, 28.12vw, 320px));
        margin: clamp(4px, .703vw, 8px) 0 clamp(6px, .879vw, 10px);
        font-size: clamp(9px, 1.055vw, 12px);
        line-height: 1.35;
    }
    body.home .home-intro .home-intro__button {
        height: auto !important;
        min-height: 26px;
        padding: clamp(4px, .527vw, 6px) clamp(14px, 2.1vw, 24px) !important;
        border-radius: clamp(8px, 1.055vw, 12px) !important;
        font-size: clamp(10px, 1.23vw, 14px) !important;
        line-height: 1.25;
    }
    .home-intro__signature {
        left: auto;
        right: var(--sveti-landscape-gutter);
        bottom: clamp(7px, 1.055vw, 12px);
        max-width: clamp(90px, 12.3vw, 140px);
        font-size: clamp(11px, 1.406vw, 16px);
        text-align: right;
        transform: rotate(-6deg);
    }
}
@media (max-width: 599px) {
    .home-intro { height: auto; min-height: 300px; }
    /* The dedicated 4:3 phone photo already places the couple to the right. */
    .home-intro__photo { height: 100%; object-position: 50% 80%; }
    .home-intro::before {
        background: linear-gradient(90deg, rgba(23, 33, 37, .36), rgba(23, 33, 37, .14) 38%, transparent 62%);
    }
    .home-intro .home-intro__inner { min-height: 300px; height: auto; align-items: flex-start; padding: 10px 20px 52px; }
    .home-intro__copy { width: 100%; max-width: none; }
    .home-intro .home-intro__title { max-width: min(320px, 75%); font-size: clamp(27px, 7.7vw, 34px); line-height: 1.04; }
    .home-intro__description { margin: 8px 0 14px; max-width: 320px; font-size: 12px; line-height: 1.4; }
    .home-intro__description:lang(en),
    .home-intro__description:lang(sr) { max-width: min(320px, 68%); }
    .home-intro__mobile-line { display: block; }
    .home-intro .home-intro__button { max-width: min(100%, calc(88vw - 200px)); height: auto !important; padding: 9px 12px !important; min-height: 44px; font-size: 13px !important; line-height: 16px; }
    .home-intro__signature { left: 18px; right: auto; bottom: 16px; max-width: 58%; margin: 0; font-size: 18px; text-align: left; transform: none; }
}
@media (max-width: 359px) {
    .home-intro, .home-intro .home-intro__inner { min-height: 280px; }
    .home-intro .home-intro__inner { padding-bottom: 40px; }
    .home-intro .home-intro__title { font-size: 25px; }
    .home-intro__description { font-size: 11px; line-height: 1.4; }
    .home-intro .home-intro__button { max-width: 92px; padding: 7px 8px !important; font-size: 11px !important; }
    .home-intro__signature { max-width: calc(100% - 40px); font-size: 17px; bottom: 12px; }
}


/* ==========================================================================
   A. Стили Главной, перенесённые из style.css
   ========================================================================== */

.events-three-col-section .container,
.experts-layout-section .experts-container,
.latest-posts-section .container,
.cta-section-wrapper .container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}.text-subheading-figma {
    font-family: "Nunito", sans-serif !important;
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    color: #28292A !important;
    text-align: left !important;
    font-weight: 600 !important;
}.events-three-col-section,
.experts-layout-section,
.latest-posts-section,
.cta-section-wrapper {
    margin-top: 40px !important;
}.events-three-col-grid,
.experts-grid-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
    align-items: stretch !important;
}.events-three-col-grid .event-card {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    position: relative !important;
    height: 100% !important;
}.events-three-col-grid .event-card__image {
    width: 100% !important;
    height: 200px !important;
    position: relative !important;
    overflow: hidden !important;
}.events-three-col-grid .event-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}.events-three-col-grid .event-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    padding: 18px !important;
}.events-three-col-grid .event-title {
    font-family: "Nunito", sans-serif !important;
    margin-bottom: 15px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #28292A;
    line-height: 1.35;
}.experts-sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: left;
    height: 100%;
    box-sizing: border-box;
}.experts-sidebar-link {
    font-family: "Nunito", sans-serif !important;
    display: inline-flex;
    align-items: center;
    color: #F60D73 !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s;
}.experts-sidebar-link:hover {
    opacity: 0.8;
}.experts-grid-row .expert-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
}.experts-grid-row .expert-image {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
}.experts-grid-row .expert-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}.experts-grid-row .expert-info {
    padding: 18px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}.experts-grid-row .expert-text h3 {
    font-family: "Nunito", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600;
    margin-bottom: 4px;
    color: #28292A;
}.experts-grid-row .expert-text span {
    font-family: "Nunito", sans-serif !important;
    display: block;
    color: #555; 
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 12px;
}.latest-posts-section .container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}@media (min-width: 993px) {.home .events-three-col-section .container,
    .home .experts-layout-section .experts-container,
    .home .latest-posts-section .container,
    .home .cta-section-wrapper .container {
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }.home .events-three-col-grid {
        width: 100% !important;
        max-width: 840px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
        justify-content: center !important;
        align-items: stretch !important;
    }.home .events-three-col-grid:has(> :nth-child(3)) {
        max-width: 1160px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }.home .experts-grid-row {
        width: 100% !important;
        max-width: 1160px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: grid !important;
        
        
        
    }}@media (min-width: 993px) {.home .events-three-col-section .text-subheading-figma {
        width: 100% !important;
        max-width: 1160px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 20px !important;
    }.home .events-three-col-grid,
    .home .events-three-col-grid:has(> :nth-child(3)) {
        width: 100% !important;
        max-width: 1160px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;
        justify-content: start !important;
        align-items: stretch !important;
    }}@media (min-width: 993px) {.home .latest-posts-section {
        margin-bottom: 36px !important;
    }}.home .home-articles-section .text-subheading-figma {
    margin-bottom: 20px !important;
}.home .home-all-articles-link-wrap {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--home-all-link-gap);
}.home .home-all-articles-link {
    color: #E60073;
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}.home .home-all-articles-link:hover {
    text-decoration: underline;
}.home .experts-sidebar-link,
.home .home-all-articles-link {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    
    color: #F60D73 !important;
    text-decoration: underline !important;
    
    
    transition: opacity 0.2s ease !important;
}.home .experts-sidebar-link:hover,
.home .home-all-articles-link:hover {
    opacity: 0.8 !important;
    text-decoration: underline !important;
}.home {
    --home-all-link-gap: 16px;
    --home-carousel-bottom-padding: 10px;
    --home-carousel-dots-height: 28px;
    background: #FBFAF9 !important;
    color: #28292A;
}.home .events-three-col-section,
.home .experts-layout-section,
.home .cta-section-wrapper,
.home .home-articles-section {
    position: relative;
}.home .events-three-col-section,
.home .experts-layout-section,
.home .home-articles-section {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
    margin-top: 0 !important;
}.home .events-three-col-section {
    background: #FBFAF9;
}.home .experts-layout-section {
    background: #F7F5F6;
}.home .home-articles-section {
    background: #FBFAF9;
}.home .text-subheading-figma {
    margin-bottom: 24px !important;
    color: #242326 !important;
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    font-weight: 650 !important;
    letter-spacing: -0.015em !important;
}.home .button.button-primary {
    border-radius: 12px !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}.home .expert-card {
    background: #FFFFFF !important;
}.home .expert-card h3 {
    color: #28272A !important;
    letter-spacing: -0.01em !important;
}.home .expert-card .profession,
.home .expert-card .expert-profession {
    color: #69656A !important;
}.home .experts-sidebar-link,
.home .home-all-articles-link {
    font-weight: 650 !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 5px !important;
}@media (max-width: 768px) {.home .events-three-col-section,
    .home .experts-layout-section,
    .home .home-articles-section {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }.home .text-subheading-figma {
        margin-bottom: 18px !important;
        font-size: 1.35rem !important;
    }}@media (hover: hover) {.home .button.button-primary:hover {
        transform: translateY(-1px) !important;
        
    }}.home .home-all-trainings-link {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #F60D73 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1px !important;
    transition: opacity 0.2s ease !important;
}.home .home-all-trainings-link:hover {
    opacity: 0.8 !important;
    color: #D90C67 !important;
    text-decoration: underline !important;
}.home .home-all-trainings-link-wrap {
    margin-top: 18px !important;
}@media (min-width: 993px) {.home .experts-grid-row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;
        align-items: stretch !important;
    }.home .experts-grid-row > * {
        min-width: 0 !important;
    }}@media (max-width: 992px) {.home .home-all-trainings-link-wrap {
        max-width: 500px;
        margin-left: auto !important;
        margin-right: auto !important;
    }}.home .button.button-primary {
    background: #F60D73 !important;
    border-color: #F60D73 !important;
    color: #FFFFFF !important;
}@media (hover: hover) {.home .button.button-primary:hover {
        background: #E80D6E !important;
        border-color: #E80D6E !important;
        color: #FFFFFF !important;
        box-shadow: 0 5px 14px rgba(246, 13, 115, 0.13) !important;
    }}.home .button.button-primary:active {
    background: #DC0C68 !important;
    border-color: #DC0C68 !important;
    color: #FFFFFF !important;
}@media (max-width: 768px) {.home .experts-grid-row {
        width: 100% !important;
        max-width: 560px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 18px !important;
    }.home .experts-sidebar-card,
    .home .experts-grid-row .expert-card {
        width: 100% !important;
        max-width: 560px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }.home .experts-grid-row .expert-image {
        height: 290px !important;
        aspect-ratio: auto !important;
    }.home .experts-grid-row .expert-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 22% !important;
    }.home .experts-grid-row .expert-info {
        padding: 16px !important;
    }.home .experts-layout-section .container,
    .home .home-articles-section .container {
        box-sizing: border-box !important;
    }}@media (max-width: 480px) {.home .experts-grid-row .expert-image {
        height: 265px !important;
    }}.home .home-all-experts-link-wrap {
    margin-top: var(--home-all-link-gap);
}.home .home-all-experts-link {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #F60D73 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1px !important;
}.home .home-all-experts-link:hover {
    color: #E80D6E !important;
    opacity: 0.85 !important;
}@media (max-width: 768px) {.home .home-all-experts-link-wrap {
        width: 100%;
        max-width: 560px;
        margin: calc(var(--home-all-link-gap) - var(--home-carousel-bottom-padding) - var(--home-carousel-dots-height)) auto 0 !important;
    }}@media (max-width: 768px) {.home .experts-grid-row .expert-card .expert-info .expert-text > span {
        
        
        margin-top: 4px !important;
    }}.home .experts-sidebar-card {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    padding: 28px !important;
}.home .experts-sidebar-card > div {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}@media (max-width: 768px) {.home .experts-sidebar-card {
        padding: 24px !important;
        justify-content: flex-start !important;
    }.home .experts-sidebar-card > div {
        justify-content: flex-start !important;
    }}.home .experts-sidebar-card > div > div[aria-hidden="true"] {
    margin: 20px 0 !important;
    background: #DDD6DA !important;
}.home .experts-grid-row .expert-card .expert-info .expert-text > span {
    font-family: "Nunito", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: #666166 !important;
    margin-top: 3px !important;
    margin-bottom: 12px !important;
}@media (max-width: 768px) {.home .experts-grid-row .expert-card .expert-info .expert-text > span {
        font-size: 17px !important;
        line-height: 1.48 !important;
    }}.home .experts-intro-card {
    display: flex !important;
    align-items: stretch !important;
    padding: 28px !important;
}.home .experts-intro-card .experts-intro-copy {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}.home .experts-intro-card .experts-intro-paragraph {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 17px !important;
    line-height: 1.52 !important;
    font-weight: 400 !important;
    color: #5F5B60 !important;
    text-align: left !important;
}.home .experts-intro-card .experts-intro-payment {
    margin-top: 22px !important;
    padding-top: 22px !important;
    border-top: 1px solid #DDD6DA !important;
}@media (max-width: 768px) {.home .experts-intro-card {
        padding: 24px !important;
    }.home .experts-intro-card .experts-intro-copy {
        justify-content: flex-start !important;
    }.home .experts-intro-card .experts-intro-paragraph {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }.home .experts-intro-card .experts-intro-payment {
        margin-top: 18px !important;
        padding-top: 18px !important;
        border-top-color: #E4DEE1 !important;
    }}.home .experts-grid-row .home-expert-specialty-badge{
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    padding: 0.28rem 0.62rem !important;
    border: 1px solid #F4CDD9 !important;
    border-radius: 999px !important;
    background: #FFF5F8 !important;
    color: #D90C67 !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}.home .experts-grid-row .home-expert-specialty-badge {
    align-self: flex-start !important;
    margin: 0 0 0.62rem !important;
}.home .experts-grid-row .expert-card .expert-info .expert-text .home-expert-specialty-badge {
    color: #D90C67 !important;
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 0.62rem !important;
}@media (max-width: 768px) {.home .experts-grid-row .home-expert-specialty-badge,
    .home .experts-grid-row .expert-card .expert-info .expert-text .home-expert-specialty-badge{
        font-size: 0.8rem !important;
        padding: 0.32rem 0.66rem !important;
    }}.home .home-all-experts-link,
.home .home-all-experts-link:visited {
    color: #5F5A5E !important;
    text-decoration-color: #BEB8BC !important;
}.home .home-all-experts-link:hover,
.home .home-all-experts-link:focus-visible {
    color: #F60D73 !important;
    text-decoration-color: #F60D73 !important;
    opacity: 1 !important;
}.home .home-all-trainings-link,
.home .home-all-trainings-link:visited,
.home .home-all-experts-link,
.home .home-all-experts-link:visited,
.home .home-all-articles-link,
.home .home-all-articles-link:visited {
    color: #5F5A5E !important;
    text-decoration-color: #BEB8BC !important;
}.home .home-all-trainings-link:hover,
.home .home-all-trainings-link:focus-visible,
.home .home-all-experts-link:hover,
.home .home-all-experts-link:focus-visible,
.home .home-all-articles-link:hover,
.home .home-all-articles-link:focus-visible {
    color: #F60D73 !important;
    text-decoration-color: #F60D73 !important;
    opacity: 1 !important;
}.home .experts-grid-row .expert-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
}.home .experts-grid-row .expert-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center top !important;
}html body.home .site-main .button.button-primary:hover,
html body.home .site-main .button.button-primary:focus-visible,
html body.home .site-main .button.button-secondary:hover,
html body.home .site-main .button.button-secondary:focus-visible {
    background: #D90C67 !important;
    background-color: #D90C67 !important;
    border-color: #D90C67 !important;
    color: #FFFFFF !important;
}.home .experts-layout-section {
    padding-bottom: 36px !important;
}.home .cta-section-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 18px !important;
    background: #F7F5F6 !important;
}.home .home-articles-section {
    padding-top: 34px !important;
}@media (max-width: 768px) {.home .experts-layout-section {
        padding-bottom: 32px !important;
    }.home .cta-section-wrapper {
        padding-top: 0 !important;
        padding-bottom: 18px !important;
    }.home .home-articles-section {
        padding-top: 28px !important;
    }}

/* Логотипы внутренних страниц остаются только в style.css. */
.home .event-badge-date,
.home .event-badge-type{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 3px 10px rgba(35, 29, 32, 0.08) !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 0.76rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}.home .event-badge-date{
    color: var(--color-pink) !important;
}.home .event-badge-type{
    color: #575156 !important;
}@media (min-width: 769px) and (max-width: 992px) {.home .events-three-col-grid .event-card__image {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }.home .experts-grid-row .expert-image {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }.home .experts-grid-row .expert-info,
    .home .events-three-col-grid .event-card__content {
        padding: 16px !important;
    }.home .events-three-col-section,
    .home .experts-layout-section,
    .home .home-articles-section {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }.home .cta-section-wrapper {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }}@media (min-width: 993px) and (max-width: 1366px) {.home .events-three-col-grid,
    .home .experts-grid-row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }.home .events-three-col-grid .event-card__image {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }.home .experts-grid-row .expert-image {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }}@media (min-width: 641px) and (max-width: 768px) {.home .events-three-col-grid,
    .home .experts-grid-row {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }.home .events-three-col-grid .event-card__image,
    .home .experts-grid-row .expert-image {
        height: auto !important;
    }.home .events-three-col-grid .event-card__image {
        aspect-ratio: 16 / 9 !important;
    }.home .experts-grid-row .expert-image {
        aspect-ratio: 4 / 3 !important;
    }.home .experts-grid-row .expert-info,
    .home .events-three-col-grid .event-card__content {
        padding: 14px !important;
    }}@media (max-width: 700px) and (min-device-width: 700px) and (orientation: landscape) {
    .home .events-three-col-grid .event-card__image {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }.home .experts-grid-row .expert-image {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }.home .experts-grid-row .expert-info,
    .home .events-three-col-grid .event-card__content {
        padding: 13px !important;
    }.home .events-three-col-section,
    .home .experts-layout-section,
    .home .home-articles-section {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }}@media (orientation: landscape) and (min-width: 500px) and (max-width: 992px) and (min-device-height: 500px) {.home .events-three-col-grid .event-card__image {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }.home .experts-grid-row .expert-image {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }.home .experts-grid-row .expert-info,
    .home .events-three-col-grid .event-card__content {
        padding: 13px !important;
    }}@media (orientation: landscape) and (min-width: 800px) and (max-width: 1100px) {.home .events-three-col-grid,
    .home .experts-grid-row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }.home .events-three-col-grid .event-card__image {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }.home .events-three-col-grid .event-card__content {
        padding: 11px !important;
    }.home .events-three-col-grid .event-title {
        margin-bottom: 9px !important;
        font-size: 0.82rem !important;
        line-height: 1.28 !important;
    }.home .events-three-col-grid .button-secondary {
        min-height: 34px !important;
        height: 34px !important;
        padding: 6px 10px !important;
        font-size: 0.74rem !important;
        border-radius: 10px !important;
    }.home .events-three-col-grid .event-badge-date,
    .home .events-three-col-grid .event-badge-type {
        padding: 4px 7px !important;
        font-size: 0.64rem !important;
    }.home .experts-grid-row .expert-image {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }.home .experts-grid-row .expert-info {
        padding: 11px !important;
    }.home .experts-grid-row .expert-text h3 {
        margin-bottom: 4px !important;
        font-size: 0.86rem !important;
        line-height: 1.22 !important;
    }.home .experts-grid-row .expert-text span,
    .home .experts-grid-row .expert-card .expert-info span {
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
    }.home .experts-grid-row .button-secondary {
        min-height: 34px !important;
        height: 34px !important;
        margin-top: 10px !important;
        padding: 6px 10px !important;
        font-size: 0.74rem !important;
        border-radius: 10px !important;
    }}@media (orientation: landscape) and (min-width: 769px) and (max-width: 1100px) {body.home .events-three-col-section {
        padding-top: 18px !important;
        padding-bottom: 28px !important;
    }body.home .events-three-col-section .text-subheading-figma {
        margin-bottom: 14px !important;
        font-size: 1.28rem !important;
        line-height: 1.15 !important;
    }}@media (orientation: landscape) and (max-width: 700px) and (min-device-width: 700px) {body.home .events-three-col-section {
        padding-top: 16px !important;
    }}

/* ==========================================================================
   B. Локальные стили, перенесённые из front-page.php
   ========================================================================== */

/* --- бывший inline-блок 1 --- */
/* Главная: только локальные правки этой страницы. */
.home-events-mobile-link {
    display: none;
}

.home-events-links-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    margin-top: var(--home-all-link-gap);
}

.home-events-links-row > div {
    min-width: 0;
}

/* Ссылки начинаются на одной линии со своей группой карточек.
   Номер колонки ретрита учитывает фактическое количество курсов. */
.home .home-events-links-row .home-all-trainings-link-wrap,
.home .home-events-links-row .home-all-retreats-link-wrap {
    margin: 0 !important;
}

.home-events-links-row .home-all-retreats-link-wrap {
    grid-column: var(--retreat-column, 3);
}

@media (orientation: landscape) and (min-width: 800px) and (max-width: 992px) {
    .home-events-links-row {
        gap: 12px;
    }
}

.home-all-retreats-link,
.home-events-mobile-link a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   v38: Балансируем hero.
   Кнопку опускаем чуть ниже слогана, а сам hero делаем немного ниже,
   чтобы сверху/снизу стало визуально ровнее и не было лишней пустоты.
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   v36: более компактный блок основных направлений после hero.
   Он объясняет структуру Sveti с первого экрана, не дублируя большие каталоги.
   -------------------------------------------------------------------------- */
.home-formats-section {
    padding: 26px 0 22px;
    background: #fbf9fa;
    border-bottom: 1px solid rgba(40, 41, 42, .035);
}

.home-formats-heading {
    margin: 0 0 14px;
    font-size: 1.28rem;
    line-height: 1.25;
    font-weight: 700;
    color: #29272a;
}

.home-formats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-format-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 112px;
    padding: 15px 42px 14px 17px;
    border: 1px solid #eee8eb;
    border-radius: 16px;
    background: #fff;
    color: #29272a;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(52, 35, 44, .045);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-format-card:hover {
    transform: translateY(-2px);
    border-color: #efb4cc;
    box-shadow: 0 12px 28px rgba(52, 35, 44, .075);
}

.home-format-card__title {
    display: block;
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.28;
    font-weight: 700;
    color: #29272a;
}

.home-format-card__desc {
    display: block;
    margin: 0;
    color: #777175;
    font-size: .86rem;
    line-height: 1.48;
}

.home-format-card__arrow {
    position: absolute;
    top: 14px;
    right: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border: 1px solid #f3bfd3;
    border-radius: 50%;
    color: #f70667;
    font-size: 0;
    line-height: 1;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

/* Сам символ → имеет шрифтовую базовую линию ниже геометрического центра.
   Выводим его через псевдоэлемент и поднимаем на 1px — кружок не двигается. */
.home-format-card__arrow::before {
    content: "→";
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}

.home-format-card:hover .home-format-card__arrow {
    background: #f70667;
    color: #fff;
    transform: translateX(2px);
}

/* v36: после нового блока чуть быстрее переходим к ближайшим мероприятиям. */
.home .events-three-col-section {
    padding-top: 38px !important;
}


@media (orientation: landscape) and (min-width: 993px) and (max-width: 1100px) {
    .home-formats-grid {
        gap: 10px !important;
    }

    .home-format-card {
        min-height: 78px !important;
        height: 78px !important;
        padding: 10px 12px !important;
    }
}

@media (max-width: 980px) {
    .home-formats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    /* Телефон: события и эксперты идут одной нормальной колонкой.
       На 641–768px сохраняется отдельная двухколоночная планшетная раскладка. */
    .home .events-three-col-grid,
    .home .experts-grid-row {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 560px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 18px !important;
    }

    .home .events-three-col-grid .event-card,
    .home .experts-sidebar-card,
    .home .experts-grid-row .expert-card {
        width: 100% !important;
        max-width: 560px !important;
        min-width: 0 !important;
    }

    .home .events-three-col-grid .event-card__image {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    .home .events-three-col-grid .event-card__content {
        width: 100% !important;
        padding: 16px !important;
        box-sizing: border-box !important;
    }

    .home .events-three-col-grid .button-secondary,
    .home .experts-grid-row .button-secondary {
        width: 100% !important;
        min-width: 0 !important;
    }

    .home .events-three-col-section {
        padding-top: 26px !important;
    }

    .home-formats-section {
        padding: 18px 0 14px;
    }

    .home-formats-heading {
        margin-bottom: 10px;
        font-size: 1.12rem;
    }

    .home-formats-grid {
        gap: 8px;
    }

    .home-format-card {
        min-height: 0;
        padding: 12px 32px 11px 12px;
        border-radius: 13px;
    }

    .home-format-card__title {
        margin-bottom: 5px;
        font-size: .9rem;
        line-height: 1.22;
    }

    .home-format-card__desc {
        font-size: .75rem;
        line-height: 1.34;
    }

    .home-format-card__arrow {
        top: 12px;
        right: 10px;
        width: 22px;
        height: 22px;
    }

    .home-format-card__arrow::before {
        font-size: 13px;
        transform: translateY(-2px);
    }
}


/* ==========================================================================
   HOME ARTICLES — БАЗОВАЯ ГЕОМЕТРИЯ ПРОДВИГАЕМЫХ КАРТОЧЕК
   ========================================================================== */
/* Four promoted articles across from a 960px tablet viewport. */
.home-articles-section .home-featured-articles-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 28px !important;
}

@media (min-width: 769px) and (max-width: 959px) {
    .home-articles-section .home-featured-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ==========================================================================
   HOME CTA — ЕДИНСТВЕННЫЙ АКТУАЛЬНЫЙ БЛОК
   ========================================================================== */
.home .cta-banner--help {
    position: relative !important;
    width: 100% !important;
    max-width: 840px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 88% 18%, rgba(246, 13, 115, 0.055) 0, rgba(246, 13, 115, 0) 34%),
        linear-gradient(135deg, #fffaf7 0%, #fff4ee 58%, #fff8f4 100%) !important;
    border: 1px solid #f1ddd4 !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 30px rgba(112, 72, 54, 0.09) !important;
}

.home .cta-banner--help::before,
.home .cta-banner--help::after,
.home .cta-banner--help .cta-banner-inner::before,
.home .cta-banner--help .cta-banner-inner::after {
    display: none !important;
    content: none !important;
}

.home .cta-banner--help .cta-banner-inner {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 14px 24px !important;
    overflow: visible !important;
    border-radius: inherit !important;
    background: transparent !important;
}

.home .cta-banner--help .cta-banner-content {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
        "eyebrow button"
        "title   button"
        "text    button" !important;
    column-gap: 24px !important;
    row-gap: 3px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 16px 20px !important;
}

.home .cta-banner--help .cta-help-eyebrow {
    grid-area: eyebrow !important;
    justify-self: start !important;
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    min-height: 24px !important;
    margin: 0 0 2px !important;
    padding: 4px 10px !important;
    border: 1px solid rgba(246, 13, 115, 0.16) !important;
    border-radius: 999px !important;
    background: rgba(246, 13, 115, 0.075) !important;
    color: #c92a6b !important;
    box-shadow: none !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    backdrop-filter: none !important;
}

.home .cta-banner--help h2 {
    grid-area: title !important;
    max-width: 520px !important;
    margin: 0 !important;
    color: #28292a !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 25px !important;
    line-height: 1.16 !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    text-align: left !important;
    text-shadow: none !important;
}

.home .cta-banner--help p {
    grid-area: text !important;
    max-width: 760px !important;
    margin: 2px 0 0 !important;
    color: #756761 !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
    text-align: left !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.home .cta-banner--help .button.button-primary {
    grid-area: button !important;
    align-self: center !important;
    justify-self: end !important;
    width: 205px !important;
    min-width: 180px !important;
    height: 42px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 20px !important;
    border: 1px solid #f60d73 !important;
    border-radius: 12px !important;
    background: #f60d73 !important;
    color: #fff !important;
    box-shadow: 0 7px 16px rgba(246, 13, 115, 0.18) !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 0.86rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.home .cta-banner--help .button.button-primary:hover,
.home .cta-banner--help .button.button-primary:focus-visible {
    background: #d90c67 !important;
    border-color: #d90c67 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 9px 20px rgba(246, 13, 115, 0.23) !important;
}

.home .cta-banner--help .button.button-primary:active {
    background: #c90a5e !important;
    border-color: #c90a5e !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .home .cta-banner--help {
        max-width: none !important;
        border-radius: 16px !important;
    }

    .home .cta-banner--help .cta-banner-inner {
        padding: 24px 20px !important;
    }

    .home .cta-banner--help .cta-banner-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "eyebrow"
            "title"
            "text"
            "button" !important;
        row-gap: 8px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .home .cta-banner--help .cta-help-eyebrow {
        margin-bottom: 6px !important;
        font-size: 0.68rem !important;
    }

    .home .cta-banner--help h2 {
        margin: 0 0 5px !important;
        font-size: 23px !important;
    }

    .home .cta-banner--help p {
        max-width: none !important;
        margin: 0 0 11px !important;
        font-size: 0.9rem !important;
    }

    .home .cta-banner--help .button.button-primary {
        justify-self: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 44px !important;
        margin-top: 6px !important;
        padding: 9px 16px !important;
        font-size: 0.86rem !important;
    }
}

/* --- бывший inline-блок 6 (sveti-home-footer-gap-v89) --- */
/* Desktop оставляем компактным.
       На мобильном добавляем немного воздуха между «Все статьи →» и футером. */
    .home .home-articles-section {
        padding-bottom: 4px !important;
    }

    @media (max-width: 768px) {
        .home .home-articles-section {
            padding-bottom: 24px !important;
        }
    }

/* --- бывший inline-блок 8 (sveti-home-article-rows-v31) --- */
/* ==========================================================================
   v31 — ОБЫЧНЫЕ СТАТЬИ НА ГЛАВНОЙ КОМПАКТНЫМИ СТРОКАМИ
   Большие карточки сверху остаются только для продвижения.
   ========================================================================== */
.home-articles-section .home-recent-articles {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 22px;
}


.home-articles-section .home-recent-articles__grid {
    display: block !important;
    width: 100%;
    border-top: 1px solid #E9E4E6;
}

.home-articles-section .home-recent-article-card {
    display: grid !important;
    grid-template-columns: 126px minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: center !important;
    min-height: 112px !important;
    width: 100% !important;
    max-width: none !important;
    padding: 12px 4px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #E9E4E6 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    overflow: visible !important;
}

.home-articles-section .home-recent-article-card__image {
    display: block;
    width: 126px !important;
    height: 86px !important;
    min-width: 126px !important;
    overflow: hidden;
    border-radius: 12px;
    background: #F1EDEF;
}

.home-articles-section .home-recent-article-card__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.home-articles-section .home-recent-article-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F8EFF3, #EEEAF5);
}

.home-articles-section .home-recent-article-card__body {
    min-width: 0;
    padding: 0 !important;
}

.home-articles-section .home-recent-article-card__title {
    margin: 0 !important;
    font-size: 1.02rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

.home-articles-section .home-recent-article-card__title a {
    color: #282629 !important;
    text-decoration: none !important;
}

.home-articles-section .home-recent-article-card__author {
    margin-top: 7px !important;
    color: #8A8587 !important;
    font-size: .82rem !important;
    line-height: 1.35 !important;
}

.home-articles-section .home-recent-article-card__author a,
.home-articles-section .home-recent-article-card__author strong {
    color: #6E696C !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.home-articles-section .home-recent-article-card__date {
    margin-top: 6px;
    color: #9A9598;
    font-size: .80rem;
    line-height: 1.35;
    text-align: left;
    white-space: nowrap;
}


@media (max-width: 768px) {
    .home-articles-section .home-recent-articles {
        margin-top: 18px;
    }

    

    .home-articles-section .home-recent-article-card {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        gap: 14px !important;
        min-height: 104px !important;
        padding: 12px 0 !important;
    }

    .home-articles-section .home-recent-article-card__image {
        width: 92px !important;
        min-width: 92px !important;
        height: 92px !important;
        grid-row: auto;
    }

    .home-articles-section .home-recent-article-card__title {
        font-size: .95rem !important;
        line-height: 1.3 !important;
    }

    .home-articles-section .home-recent-article-card__author {
        margin-top: 5px !important;
        font-size: .78rem !important;
    }

    .home-articles-section .home-recent-article-card__date {
        margin-top: 5px;
        font-size: .76rem;
        text-align: left;
    }
}

/* Адаптив карточек «Выберите формат». */
@media (orientation: landscape) and (min-width: 769px) and (max-width: 992px) {
body.home .home-formats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
}
}
@media (orientation: landscape) and (min-width: 769px) and (max-width: 992px) {
body.home .home-format-card {
    min-height: 78px !important;
    height: 78px !important;
    padding: 10px 34px 10px 12px !important;
}
}
@media (orientation: landscape) and (min-width: 769px) and (max-width: 992px) {
body.home .home-format-card__title {
    margin-bottom: 3px !important;
    font-size: .84rem !important;
    line-height: 1.15 !important;
}
}
@media (orientation: landscape) and (min-width: 769px) and (max-width: 992px) {
body.home .home-format-card__desc {
    font-size: .70rem !important;
    line-height: 1.22 !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
body.home .home-formats-section {
    padding: 16px 0 14px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
body.home .home-formats-section > .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
body.home .home-formats-heading {
    margin-bottom: 10px !important;
    font-size: 16px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
body.home .home-formats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
body.home .home-format-card {
    min-height: 84px !important;
    height: auto !important;
    padding: 9px 28px 9px 10px !important;
    border-radius: 12px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
body.home .home-format-card__title {
    margin-bottom: 3px !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
body.home .home-format-card__desc {
    font-size: 11px !important;
    line-height: 1.22 !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
body.home .home-format-card__arrow {
    top: 9px !important;
    right: 7px !important;
    width: 20px !important;
    height: 20px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
body.home .home-format-card__arrow::before {
    font-size: 13px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .events-three-col-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .experts-grid-row {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .latest-posts-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .home-featured-articles-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .home-recent-articles__grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .events-three-col-grid .event-card__image {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .experts-grid-row .expert-image {
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .events-three-col-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .experts-layout-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}
}
@media (orientation: landscape) and (min-width: 600px) and (max-width: 768px) and (max-height: 500px) {
.home .home-articles-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}
}
@media (orientation: portrait) and (min-width: 560px) and (max-width: 640px) and (min-height: 700px) {
body.home .home-formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}
}
@media (orientation: portrait) and (min-width: 560px) and (max-width: 640px) and (min-height: 700px) {
.home .events-three-col-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
@media (orientation: portrait) and (min-width: 560px) and (max-width: 640px) and (min-height: 700px) {
.home .experts-grid-row {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
@media (orientation: portrait) and (min-width: 560px) and (max-width: 640px) and (min-height: 700px) {
.home .latest-posts-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
@media (orientation: portrait) and (min-width: 560px) and (max-width: 640px) and (min-height: 700px) {
.home .home-featured-articles-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
@media (orientation: portrait) and (min-width: 560px) and (max-width: 640px) and (min-height: 700px) {
.home .home-recent-articles__grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
}
.home .experts-grid-row .expert-text h3 {
    font-weight: 700 !important;
    letter-spacing: -.01em;
}
.home .experts-grid-row .expert-card {
    border: 1px solid var(--sveti-line);
    border-radius: var(--sveti-radius);
    box-shadow: var(--sveti-card-shadow);
}


/* Homepage carousels: wrappers remain transparent to the desktop grids. */
.home-courses-track,
.home-experts-track {
    display: contents;
}
.home-events-mobile-title,
.home-carousel-dots {
    display: none;
}
.home .experts-grid-row .expert-card { min-width: 0; }

/* Long dates may wrap beside the event type instead of escaping a narrow card. */
.home .events-three-col-grid .event-card-overlay-badges {
    gap: 6px;
    align-items: flex-start;
}
.home .events-three-col-grid .event-badge-date {
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.2 !important;
}
.home .events-three-col-grid .event-badge-type {
    flex-shrink: 0;
    max-width: 100%;
}

/* Keep all three courses and the retreat visible on narrower tablets, too.
   Four events use two complete rows; smaller sets keep their existing grid. */
@media (min-width: 769px) and (max-width: 959px) {
    /* Match the expert directory on narrow tablets: intro + seven experts. */
    body.home .experts-grid-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    body.home .events-three-col-grid:has(.home-course-wide-only):has(> .event-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .home .events-three-col-section:has(.home-course-wide-only):has(.home-all-retreats-link-wrap) .home-events-links-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .home .events-three-col-section:has(.home-course-wide-only) .home-events-links-row .home-all-retreats-link-wrap {
        grid-column: 2;
    }
}

/* Four columns on wide screens. The carousel rules below also cover portrait tablets. */
@media (min-width: 960px) {
    body.home .events-three-col-grid,
    body.home .events-three-col-grid:has(> :nth-child(3)),
    body.home .experts-grid-row {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .home .home-events-links-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .home .home-events-links-row .home-all-retreats-link-wrap {
        grid-column: var(--retreat-column-wide, 4);
    }

    .home .events-three-col-grid .event-card__image {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    .home .experts-grid-row .expert-info,
    .home .events-three-col-grid .event-card__content {
        padding: 16px !important;
    }

    .home .experts-intro-card {
        padding: 20px !important;
    }
}

@media (min-width: 960px) and (max-width: 1100px) {
    body.home .events-three-col-grid,
    body.home .events-three-col-grid:has(> :nth-child(3)),
    body.home .experts-grid-row,
    .home .home-articles-section .home-featured-articles-grid {
        gap: 14px !important;
    }

    .home .home-events-links-row {
        gap: 14px;
    }

    .home .experts-grid-row .expert-info,
    .home .events-three-col-grid .event-card__content {
        padding: 11px !important;
    }

    .home .experts-intro-card {
        padding: 16px !important;
    }

    .home .experts-intro-card .experts-intro-paragraph {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    .home .experts-intro-card .experts-intro-payment {
        margin-top: 16px !important;
        padding-top: 16px !important;
    }
}

/* Same manual carousels on phones and portrait tablets.
   Keep this query in sync with carouselMode in front-page.php. */
@media (max-width: 599px), (max-width: 1100px) and (orientation: portrait) {
    .home { --home-all-link-gap: 48px; }
    body.home .site-main .events-three-col-grid,
    body.home .experts-layout-section .experts-grid-row {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .home .experts-grid-row .experts-intro-card {
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 18px !important;
    }
    /* Each catalogue link follows its own group of cards. */
    .home-events-mobile-link {
        display: block;
        grid-column: 1 / -1;
        margin: var(--home-all-link-gap) 0 32px;
    }
    .home-events-links-row {
        display: none;
    }
    .home .home-all-experts-link-wrap {
        margin-top: calc(var(--home-all-link-gap) - var(--home-carousel-bottom-padding) - var(--home-carousel-dots-height)) !important;
    }
    body.home .site-main .home-mobile-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 0 0 var(--home-carousel-bottom-padding) !important;
        margin: 0 !important;
        align-items: stretch;
    }
    .home .home-mobile-carousel::-webkit-scrollbar { display: none; }
    body.home .site-main .home-mobile-carousel > .event-card,
    body.home .site-main .home-mobile-carousel > .expert-card,
    body.home .site-main .home-mobile-carousel > .sveti-editorial-card {
        flex: 0 0 86% !important;
        width: 86% !important;
        max-width: 86% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        scroll-snap-align: start;
        box-sizing: border-box;
    }
    body.home .site-main .home-mobile-carousel > :only-child {
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .home .home-carousel-dots:not([hidden]) {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
        height: var(--home-carousel-dots-height);
        margin: 0;
    }
    .home .home-carousel-dots[hidden] { display: none !important; }
    .home .home-carousel-dot {
        display: grid;
        place-items: center;
        width: var(--home-carousel-dots-height);
        height: var(--home-carousel-dots-height);
        min-width: var(--home-carousel-dots-height);
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        appearance: none;
        cursor: pointer;
    }
    .home .home-carousel-dot::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #d9d2d5;
    }
    .home .home-carousel-dot.is-active::before { background: #f70667; }
    .home .home-carousel-dot:focus-visible,
    .home .home-mobile-carousel:focus-visible {
        outline: 2px solid #b82d63;
        outline-offset: 2px;
    }
    .home .home-events-mobile-link--retreats { margin-bottom: 0; }

    /* The common gap is measured from the card, including carousel controls. */
    .home .home-events-mobile-link--trainings,
    .home .home-carousel-dots + .home-all-articles-link-wrap {
        margin-top: calc(var(--home-all-link-gap) - var(--home-carousel-bottom-padding) - var(--home-carousel-dots-height));
    }
    .home .home-carousel-dots[hidden] + .home-events-mobile-link--trainings,
    .home .home-carousel-dots[hidden] + .home-all-articles-link-wrap,
    .home .experts-container:has(.home-carousel-dots[hidden]) .home-all-experts-link-wrap {
        margin-top: calc(var(--home-all-link-gap) - var(--home-carousel-bottom-padding)) !important;
    }
}

/* Compact landscape windows use the same four-column structure as wide tablets.
   Portrait windows keep the manual carousels above; page zoom stays available. */
@media (orientation: landscape) and (min-width: 600px) and (max-width: 1199px) {
    body.home .site-main .events-three-col-grid,
    body.home .site-main .events-three-col-grid:has(.home-course-wide-only):has(> .event-card),
    body.home .site-main .experts-grid-row,
    body.home .site-main .home-featured-articles-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: var(--sveti-compact-gap) !important;
        width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
    }
    body.home .site-main .home-courses-track,
    body.home .site-main .home-experts-track { display: contents !important; }
    body.home .site-main .event-card,
    body.home .site-main .expert-card,
    body.home .site-main .sveti-editorial-card,
    body.home .site-main .experts-intro-card {
        min-width: 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        grid-column: auto !important;
    }
    body.home .site-main .home-events-mobile-link { display: none !important; }
    body.home .site-main .home-events-links-row {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: var(--sveti-compact-gap) !important;
    }
    body.home .site-main .home-events-links-row .home-all-retreats-link-wrap {
        grid-column: var(--retreat-column-wide, 4) !important;
    }
    body.home .site-main .home-events-links-row .home-all-trainings-link-wrap {
        grid-column: 1 / var(--retreat-column-wide, 4);
    }
    body.home .site-main .home-all-experts-link-wrap {
        max-width: none;
        margin: var(--home-all-link-gap) 0 0 !important;
    }
    body.home .site-main .home-all-trainings-link,
    body.home .site-main .home-all-experts-link,
    body.home .site-main .home-all-articles-link {
        font-size: var(--sveti-compact-title) !important;
    }
    body.home .site-main .events-three-col-grid .event-card__image {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }
    body.home .site-main .expert-image {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }
    body.home .site-main .expert-info,
    body.home .site-main .event-card__content,
    body.home .site-main .sveti-editorial-card__body,
    body.home .site-main .experts-intro-card {
        padding: var(--sveti-compact-padding) !important;
    }
    body.home .site-main .event-title,
    body.home .site-main .expert-text h3,
    body.home .site-main .sveti-editorial-card__title {
        font-size: var(--sveti-compact-title) !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere;
    }
    body.home .site-main .expert-card .expert-info .expert-text > span,
    body.home .site-main .experts-intro-card .experts-intro-paragraph {
        font-size: var(--sveti-compact-text) !important;
        line-height: 1.4 !important;
    }
    body.home .site-main .experts-intro-card .experts-intro-payment {
        margin-top: var(--sveti-compact-padding) !important;
        padding-top: var(--sveti-compact-padding) !important;
    }
    body.home .site-main .home-expert-specialty-badge,
    body.home .site-main .sveti-editorial-card__author,
    body.home .site-main .sveti-editorial-card__date {
        font-size: var(--sveti-compact-meta) !important;
        line-height: 1.4 !important;
    }
    body.home .site-main .home-expert-specialties { gap: clamp(2px, .352vw, 4px) !important; }
    body.home .site-main .home-expert-specialty-badge { padding: clamp(2px, .264vw, 3px) clamp(4px, .527vw, 6px) !important; }
    body.home .site-main .event-card-overlay-badges {
        top: clamp(4px, .703vw, 8px) !important;
        left: clamp(4px, .703vw, 8px) !important;
        right: clamp(4px, .703vw, 8px) !important;
        gap: clamp(2px, .352vw, 4px) !important;
    }
    body.home .site-main .event-badge-date,
    body.home .site-main .event-badge-type {
        min-height: 0 !important;
        padding: clamp(3px, .527vw, 6px) !important;
        font-size: var(--sveti-compact-meta) !important;
        line-height: 1.2 !important;
        border-radius: clamp(6px, .879vw, 10px) !important;
    }
    body.home .site-main .event-badge-type {
        max-width: 55%;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
    body.home .site-main .event-card .button,
    body.home .site-main .expert-info .button.button-secondary,
    body.home .site-main .sveti-button-details {
        min-height: clamp(28px, 3.866vw, 44px) !important;
        height: auto !important;
        padding: clamp(5px, .703vw, 8px) clamp(4px, .879vw, 10px) !important;
        font-size: var(--sveti-compact-text) !important;
        line-height: 1.25 !important;
        border-radius: clamp(8px, 1.055vw, 12px) !important;
    }
}

/* Remove font-dependent inline baseline space above the four catalogue links. */
.home .home-all-trainings-link,
.home .home-all-experts-link,
.home .home-all-articles-link {
    display: inline-block;
    vertical-align: top;
}

/* A promoted-only article block has no recent list to absorb its bottom margin. */
.home .home-articles-section:not(:has(.home-recent-articles)) .home-featured-articles-grid {
    margin-bottom: 0 !important;
}

/* The whole landscape page follows the same scale as its four-column cards.
   Keep these rules together so narrow desktop views do not inherit phone spacing. */
@media (orientation: landscape) and (min-width: 600px) and (max-width: 1199px) {
    body.home { --home-all-link-gap: clamp(12px, 1.406vw, 16px); }
    body.home .home-formats-section {
        padding: clamp(8px, 1.055vw, 12px) 0 !important;
    }
    body.home .home-formats-section > .container,
    body.home .site-main .events-three-col-section > .container,
    body.home .site-main .experts-container,
    body.home .site-main .cta-section-wrapper > .container,
    body.home .site-main .home-articles-section > .container {
        padding-inline: var(--sveti-landscape-gutter) !important;
    }
    body.home .home-formats-grid { gap: var(--sveti-compact-gap) !important; }
    body.home .home-format-card {
        min-height: clamp(60px, 7.557vw, 86px) !important;
        height: auto !important;
        padding: 8px clamp(26px, 3.691vw, 42px) 8px clamp(9px, 1.494vw, 17px) !important;
        border-radius: clamp(10px, 1.406vw, 16px) !important;
    }
    body.home .home-format-card__title {
        margin-bottom: clamp(3px, .527vw, 6px) !important;
        font-size: var(--sveti-compact-title) !important;
        line-height: 1.28 !important;
    }
    body.home .home-format-card__desc {
        font-size: var(--sveti-compact-text) !important;
        line-height: 1.4 !important;
    }
    body.home .home-format-card__arrow {
        top: clamp(8px, 1.23vw, 14px) !important;
        right: clamp(7px, 1.318vw, 15px) !important;
        width: clamp(18px, 2.373vw, 27px) !important;
        height: clamp(18px, 2.373vw, 27px) !important;
    }
    body.home .home-format-card__arrow::before { font-size: clamp(12px, 1.406vw, 16px) !important; }
    body.home .site-main .events-three-col-section,
    body.home .site-main .experts-layout-section,
    body.home .site-main .home-articles-section {
        padding-block: clamp(20px, 3.163vw, 36px) !important;
    }
    /* Keep the upcoming-events heading in the first landscape screen. */
    body.home .site-main .events-three-col-section {
        padding-top: clamp(12px, 1.406vw, 16px) !important;
    }
    body.home .site-main .text-subheading-figma {
        font-size: clamp(14px, 2.109vw, 24px) !important;
        line-height: 1.2 !important;
        margin-bottom: clamp(12px, 2.109vw, 24px) !important;
    }
    body.home .site-main .event-card,
    body.home .site-main .expert-card,
    body.home .site-main .experts-intro-card,
    body.home .site-main .sveti-editorial-card { border-radius: clamp(10px, 1.406vw, 16px) !important; }
    body.home .site-main .event-title { margin-bottom: var(--sveti-compact-padding) !important; }
    body.home .site-main .experts-intro-copy { justify-content: center !important; }
    body.home .site-main .experts-grid-row .expert-card .expert-info .expert-text .home-expert-specialty-badge {
        padding: clamp(2px, .264vw, 3px) clamp(4px, .527vw, 6px) !important;
        margin: 0 0 clamp(4px, .703vw, 8px) !important;
        font-size: var(--sveti-compact-meta) !important;
        line-height: 1.3 !important;
    }
    body.home .site-main .expert-card .expert-info .expert-text > span { margin-bottom: var(--sveti-compact-padding) !important; }
    body.home .site-main .cta-section-wrapper {
        margin-top: 0 !important;
        padding-block: clamp(18px, 2.812vw, 32px) !important;
    }
    body.home .site-main .cta-banner--help {
        width: min(100%, 73.814vw) !important;
        max-width: 840px !important;
        border-radius: clamp(12px, 1.758vw, 20px) !important;
    }
    body.home .site-main .cta-banner--help .cta-banner-inner {
        padding: clamp(14px, 2.636vw, 30px) clamp(16px, 3.866vw, 44px) !important;
    }
    body.home .site-main .cta-banner--help .cta-banner-content {
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: "eyebrow button" "title button" "text button" !important;
        column-gap: clamp(12px, 2.109vw, 24px) !important;
        row-gap: 3px !important;
        padding: 0 !important;
    }
    body.home .site-main .cta-banner--help .cta-help-eyebrow {
        min-height: 0 !important;
        max-width: 100%;
        margin: 0 0 2px !important;
        padding: clamp(2px, .352vw, 4px) clamp(6px, .879vw, 10px) !important;
        font-size: var(--sveti-compact-meta) !important;
    }
    body.home .site-main .cta-banner--help h2 {
        min-width: 0;
        margin: 0 !important;
        font-size: clamp(15px, 2.197vw, 25px) !important;
    }
    body.home .site-main .cta-banner--help p {
        min-width: 0;
        margin: 2px 0 0 !important;
        font-size: var(--sveti-compact-text) !important;
    }
    body.home .site-main .cta-banner--help .button.button-primary {
        width: clamp(124px, 18.014vw, 205px) !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: clamp(28px, 3.866vw, 44px) !important;
        height: auto !important;
        margin: 0 !important;
        padding: clamp(6px, .879vw, 10px) !important;
        font-size: var(--sveti-compact-text) !important;
        white-space: normal !important;
        border-radius: clamp(8px, 1.055vw, 12px) !important;
    }
    body.home .site-main .home-recent-articles,
    body.home .site-main .home-all-articles-link-wrap {
        width: min(100%, 79.086vw);
        max-width: 900px;
        margin-inline: auto !important;
    }
    body.home .site-main .home-recent-articles { margin-top: clamp(14px, 1.933vw, 22px); }
    body.home .site-main .home-recent-article-card {
        grid-template-columns: clamp(66px, 11.072vw, 126px) minmax(0, 1fr) !important;
        gap: clamp(12px, 1.933vw, 22px) !important;
        min-height: clamp(66px, 9.842vw, 112px) !important;
        padding: clamp(7px, 1.055vw, 12px) clamp(2px, .352vw, 4px) !important;
    }
    body.home .site-main .home-recent-article-card__image {
        width: clamp(66px, 11.072vw, 126px) !important;
        min-width: 0 !important;
        height: clamp(46px, 7.557vw, 86px) !important;
        border-radius: clamp(8px, 1.055vw, 12px);
    }
    body.home .site-main .home-recent-article-card__title { font-size: var(--sveti-compact-title) !important; }
    body.home .site-main .home-recent-article-card__author,
    body.home .site-main .home-recent-article-card__date {
        font-size: var(--sveti-compact-meta) !important;
        margin-top: clamp(3px, .527vw, 6px) !important;
    }
}
