.popular-programs {
    padding-top: 80px;
    overflow: hidden;
    background-color: #f4f7fa;
}
.popular-programs-header {
    font-family: Geologica;
    font-size: 70px;
    font-weight: 800;
    line-height: 61px;
    letter-spacing: -0.92px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(7, 50, 72, 1);
}

/* BC-642 (per design spec):
   plate 257px, gap 30px, layout = [half] [gap] [full] [gap] [full] [gap]
   [full center] [gap] [full] [gap] [half]. On 1440 viewport peek = (1440 -
   (5*257 + 4*30)) / 2 = (1440 - 1405) / 2 ≈ 17.5px space + 128.5px clipped
   slide = ~146px peek visible per side. JS sets slidesOffsetBefore=-128.5
   to push the first slide half-out left; the centre wave then sits ~45-50%
   peek on both sides naturally. */
.popular-programs-container {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    position: relative;
}

.popular-programs-swiper-wrap {
    position: relative;
    padding: 106px 0 126px;
    overflow: hidden;
}
.popular-programs-swiper {
    overflow: visible;
    padding: 6px 0 48px;
    box-sizing: border-box;
}
.popular-programs-swiper,
.popular-programs-swiper .swiper-wrapper {
    height: 287px;
}
.popular-programs-swiper .swiper-slide {
    /* BC-591: plate width is a fixed design constant; on narrower viewports
       fewer plates fit on screen at once (carousel peek handles the rest),
       but the plate itself never shrinks. JS still recalculates
       slidesOffsetBefore (= -slide/2) on init and resize. */
    width: 257px;
    height: 233.25px;
    flex-shrink: 0;
}

.popular-programs-tab {
    box-shadow: 10px 10px 30px 0px rgba(209, 217, 235, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 27px;
    text-align: left;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, background-color 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}

/* BC-642: hover hot-zone covers the entire peek-half-slide on each side, so
   pointing at the peek triggers the slide-in (per spec: "навёл на полуплашку
   — она выехала"). Width = half-slide ≈ (viewport - 4*plate - 3*gap) / 2. */
.pp-edge {
    position: absolute;
    top: 120px;
    bottom: 144px;
    width: max(80px, calc((100vw - 4 * 257px - 3 * 30px) / 2));
    z-index: 4;
    cursor: pointer;
}
.pp-edge-left  { left: 0; }
.pp-edge-right { right: 0; }

/* BC-642: static layout — applied when all editorial plates fit on screen.
   No scroll, no peek, no edges, no indicator. Plates centred in a flex row. */
.pp-static .swiper-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    transform: none !important;
    height: auto;
}
.pp-static .swiper-slide {
    margin: 0 !important;
}
.pp-static .pp-edge {
    display: none;
}
.pp-static .popular-programs-swiper {
    overflow: visible;
    padding-bottom: 0;
    height: auto;
}

/* BC-642 (revision): custom focus indicator — short hairline under the
   centre tile with a red thumb that points at the plate the cursor is
   currently over. Replaces the Swiper-provided scrollbar (which showed
   progress through the long clone strip and was useless to the user). */
.popular-programs-swiper-wrap .pp-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120px;
    width: 200px;
    max-width: 40%;
    height: 3px;
    background: rgba(225, 236, 245, 1);
    border-radius: 3px;
    z-index: 3;
    overflow: hidden;
}
.popular-programs-swiper-wrap .pp-indicator-thumb {
    display: block;
    height: 100%;
    width: 16%;
    background: rgba(239, 104, 96, 1);
    border-radius: 3px;
    transform: translateX(200%);
    transition: transform 0.2s ease, width 0.2s ease;
    will-change: transform, width;
}

@media (max-width: 767px) {
    .popular-programs-swiper-wrap { padding: 32px 0 64px; }
    .popular-programs-swiper      { padding-bottom: 32px; }
    .popular-programs-swiper,
    .popular-programs-swiper .swiper-wrapper { height: 273px; }
    .popular-programs-swiper-wrap .pp-indicator { width: 140px; max-width: 50%; bottom: 24px; }
    .pp-edge { display: none; }
    .popular-programs-header { font-size: 42px; line-height: 38px; letter-spacing: -0.552632px; }
    .popular-programs-container { padding-left: 0; padding-right: 0; }
    .popular-programs-swiper .swiper-slide { height: 244px; }
    .popular-programs-tab { border-radius: 28px; }
    .popular-programs-tab .popular-programs-tab-icons { width: 46px; height: 46px; margin-bottom: 24px; }
    .popular-programs-tab .popular-programs-tab-icon,
    .popular-programs-tab .popular-programs-tab-icon-hover { max-width: 46px; max-height: 46px; width: 100%; height: 100%; object-fit: contain; }
}

/* In static mode the indicator still works — useful as a focus hint on hover. */
.pp-static .pp-indicator { bottom: 24px; }

.popular-programs-tab-href{
    height: 100%;
    display: block;
    padding: 25px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    text-decoration: none;
    white-space: normal;
}
.popular-programs-tab-href:hover{
    text-decoration:none !important;
}

/* BC-642: scale-on-hover only on plates that are fully visible. The peek
   half-slides at the edges of the carousel must not zoom on hover — the
   pp-full class is added by JS based on getBoundingClientRect. In STATIC
   mode every plate gets the class on init. */
.popular-programs-tab.pp-full:hover{
    transform: scale(1.05) translateZ(0);
}

.popular-programs-tab-icons{
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background-color 0.4s ease;
}

.popular-programs-tab-icon{
    position: absolute;
    top: 0;
    left: 0;
    max-height: 48px;
    max-width: 48px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease, filter 0.4s ease;
    /* BC-591: normalise every uploaded icon to the design dark-blue (#073248)
       regardless of its original colour (one plate ships with a red icon on red
       background — that's a quirk of the source asset, not the design intent).
       Filter generated for #073248 via codepen.io/sosuke/pen/Pjoqqp. */
    filter: brightness(0) saturate(100%) invert(15%) sepia(45%) saturate(1500%) hue-rotate(178deg) brightness(85%) contrast(90%);
}

.popular-programs-tab-icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    max-height: 48px;
    max-width: 48px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popular-programs-tab:hover .popular-programs-tab-icon-hover {
    opacity: 1;
}
.popular-programs-tab:hover .popular-programs-tab-icon {
    opacity: 0;
}

.popular-programs-tab-link,
.popular-programs-tab-link:hover{
    font-family: Geologica;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: -0.92px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(7, 50, 72, 1);
    text-decoration:none;
    white-space: normal;
}

.counters-new{
    padding: 0 80px 120px;
    background-color: #f4f7fa;
}
@media (min-width: 992px) {
    .counters-new .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .counters-new .container > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.counters-left{
    width: 50%;
    padding-right: 64px;
}

.counters-left-header{
    font-family: Geologica;
    font-size: 70px;
    font-weight: 800;
    line-height: 61px;
    letter-spacing: -0.92px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(7, 50, 72, 1);
    margin-bottom: 40px;
}
.counters-left-desc{
    font-family: Geologica;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: -1.03px;
    max-width: 576px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(56, 89, 106, 1);
    margin-bottom: 50px;
}

/* BC-642: Shared Premium Button Styles (transition and hover lift/color shift) */
.counters-left-button,
.upcoming-event-button,
.after-upcoming-event-button {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform, background-color;
}

.counters-left-button:hover,
.upcoming-event-button:hover,
.after-upcoming-event-button:hover {
    background-color: #ef6860 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 104, 96, 0.3) !important;
}

.counters-left-button{
    width: 185px;
    height: 64px;
    border-radius: 12px;
    background: rgba(0, 131, 218, 1);
    
    font-family: Geologica;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    letter-spacing: -0.8290389776229858px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(255, 255, 255, 1) !important;
    padding: 18px 29px;
    text-decoration: none !important;
}
.counters-right{
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 30px;
    column-gap: 30px;
}

.counters-right .counter-info:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}
.counters-right .counter-info:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / 2;
}
.counters-right .counter-info:nth-child(3) {
    grid-column: 1;
    grid-row: 3 / 4;
}
.counters-right .counter-info:nth-child(4) {
    grid-column: 2;
    grid-row: 2 / 4;
}

.counter-info{
    border-radius: 27px ;
    background: rgba(225, 236, 245, 1);
    padding: 20px 20px 20px 20px;
    color: rgba(7, 50, 72, 1);
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}

.counter-info-nums-block{
    display:flex;
    padding-left: 20px;
}

.counter-info-num{
    font-family: Geologica;
    font-size: 44.1px;
    font-weight: 800;
    line-height: 38.43px;
    letter-spacing: -2.2px;
    text-align: center;
    color: #073248;
}

.counter-info-num-plus{
    font-family: Geologica;
    font-size: 44.1px;
    font-weight: 800;
    line-height: 38.43px;
    letter-spacing: -2.2px;
    text-align: center;
    color: #073248;
}

.counter-info-num-plus-with-text{
    font-family: Geologica;
    font-size: 26px;
    font-weight: 900;
    line-height: 18.43px;
    letter-spacing: -1.3px;
    text-align: center;
    color: #073248;
}

.counter-info-text-under-plus{
    font-family: Geologica;
    font-size: 14px;
    font-weight: 600;
    line-height: 15.56px;
    letter-spacing: -0.7px;
    text-align: center;
    color: #073248;
}

.counter-info-num-text{
    font-family: Geologica;
    font-size: 14px;
    font-weight: 600;
    line-height: 15.56px;
    letter-spacing: -0.7px;
    text-align: left;
    padding-left: 20px;
}

.counter-info-desc{
    font-family: Geologica;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: -0.84px;
    text-align: left;
    padding-top: 18px;
}

.counter-info:hover{
    transform: scale(1.05) translateZ(0);
    background: rgba(239, 104, 96, 1);
    box-shadow: 10px 10px 30px 0px rgba(255, 170, 165, 1);
    color:white;
}

.counter-info:hover .counter-info-num,
.counter-info:hover .counter-info-num-plus,
.counter-info:hover .counter-info-num-plus-with-text,
.counter-info:hover .counter-info-text-under-plus {
    color: #FFFFFF;
}

@media screen and (max-width: 767px) {
    .counters-new {
        padding: 80px 0 30px;
    }
    .counters-new .row {
        flex-direction: column;
        margin: 0;
    }
    .counters-left {
        width: 100%;
        padding-right: 0;
    }
    .counters-left-header {
        font-size: 42px;
        line-height: 38px;
        letter-spacing: -0.55px;
        margin-bottom: 40px;
    }
    .counters-left-desc {
        margin-bottom: 40px;
    }
    .counters-left-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 80px;
    }
    .counters-right {
        width: 100%;
        grid-template-columns: 1fr;
        row-gap: 16px;
    }
    .counters-right .counter-info {
        grid-column: auto !important;
        grid-row: auto !important;
        border-radius: 28px;
        padding: 20px 29px;
    }
    .counters-right .counter-info:nth-child(odd) {
        background: #E54F47;
        color: #F6F9FC;
    }
    .counters-right .counter-info:nth-child(odd) .counter-info-num,
    .counters-right .counter-info:nth-child(odd) .counter-info-num-plus,
    .counters-right .counter-info:nth-child(odd) .counter-info-num-plus-with-text,
    .counters-right .counter-info:nth-child(odd) .counter-info-text-under-plus,
    .counters-right .counter-info:nth-child(odd) .counter-info-num-text {
        color: #F6F9FC;
    }
    
    .counters-right .counter-info:nth-child(even) {
        background: #E1ECF5;
        color: #073248;
    }
    .counters-right .counter-info:nth-child(even) .counter-info-num,
    .counters-right .counter-info:nth-child(even) .counter-info-num-plus,
    .counters-right .counter-info:nth-child(even) .counter-info-num-plus-with-text,
    .counters-right .counter-info:nth-child(even) .counter-info-text-under-plus,
    .counters-right .counter-info:nth-child(even) .counter-info-num-text {
        color: #073248;
    }
    
    .counters-right .counter-info:hover {
        transform: none;
        box-shadow: none;
    }
    .counters-right .counter-info:nth-child(odd):hover {
        background: #E54F47;
        color: #F6F9FC;
    }
    .counters-right .counter-info:nth-child(odd):hover .counter-info-num,
    .counters-right .counter-info:nth-child(odd):hover .counter-info-num-plus,
    .counters-right .counter-info:nth-child(odd):hover .counter-info-num-plus-with-text,
    .counters-right .counter-info:nth-child(odd):hover .counter-info-text-under-plus,
    .counters-right .counter-info:nth-child(odd):hover .counter-info-num-text {
        color: #F6F9FC;
    }
    .counters-right .counter-info:nth-child(even):hover {
        background: #E1ECF5;
        color: #073248;
    }
    .counters-right .counter-info:nth-child(even):hover .counter-info-num,
    .counters-right .counter-info:nth-child(even):hover .counter-info-num-plus,
    .counters-right .counter-info:nth-child(even):hover .counter-info-num-plus-with-text,
    .counters-right .counter-info:nth-child(even):hover .counter-info-text-under-plus,
    .counters-right .counter-info:nth-child(even):hover .counter-info-num-text {
        color: #073248;
    }
    
    .counter-info-nums-block {
        padding-left: 0;
        justify-content: flex-start;
    }
    .counter-info-nums-block > div {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    .counter-info-num-plus-with-text {
        line-height: 20px;
        text-align: center;
    }
    .counter-info-text-under-plus {
        font-size: 17.86px;
        letter-spacing: -0.89px;
        text-align: center;
    }
    .counter-info-num-text {
        display: block;
        text-align: left;
        padding-left: 0;
    }
    .counter-info-desc {
        text-align: left;
    }
}



.news-blocks{
    background-color: #f4f7fa;
}
/* Keep events above .after-upcoming-event-info (z-index:1); Windows Chrome
   otherwise paints the reveal/composited background over this container. */
.news-blocks > .container {
    position: relative;
    z-index: 2;
}
@media (min-width: 1280px) {
    .popular-programs > .container,
    .news-blocks > .container,
    .current-information > .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .brns .carousel-item .carousel-caption {
        width: 100% !important;
        max-width: 1280px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.upcoming-events-header,
.current-information-header{
    font-family: Geologica;
    font-weight: 800;
    font-size: 70px;
    leading-trim: none;
    line-height: 61px;
    letter-spacing: -0.92px;
    text-align: center;
    color: #073248;
    margin: 0;
    position: relative;
    z-index: 2;
}

.upcoming-events-header{
    padding-bottom: 80px;
}

.current-information-header{
    padding-bottom: 60px;
}

.upcoming-events-list{
    padding: 0;
}
.upcoming-event{
    /* BC-591: was display:-webkit-box + overflow:auto, which gave a horizontal scrollbar
       when the inner padding overflowed. Modern flex with shrinking info block fixes it. */
    display: flex;
    width: 100%;
    box-shadow: 10px 10px 30px 0px rgba(209, 217, 235, 1);
    margin-bottom:30px;
    border-radius: 27px;
    overflow: hidden;
    z-index: 2;
    position: relative;
    background: rgba(250, 252, 253, 1);
}

.upcoming-event-date-block{
    background: #E54F47;
    min-height:133px;
    padding: 22px 26px 22px 33px;
}
@media (min-width: 768px) {
    .upcoming-event-date-block {
        width: 144px;
        min-height: 134px;
        border-top-left-radius: 27px;
        border-bottom-left-radius: 27px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
}

.upcoming-event-day{
    font-family: Geologica;
    font-weight: 800;
    font-size: 70px;
    leading-trim: none;
    line-height: 100%;
    letter-spacing: -0.92px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

.upcoming-event-month{
    font-family: Geologica;
    font-weight: 600;
    font-size: 14px;
    leading-trim: none;
    line-height: 15.56px;
    letter-spacing: 1.1px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 5px 0 0;
}
.upcoming-event-info-block{
    /* BC-591: padding-right was 200px which pushed the block past viewport on
       narrower windows. Let the block shrink and the button-block sit flush right. */
    padding-left: 48px;
    padding-right: 24px;
    padding-top: 35px;
    padding-bottom: 35px;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    background: rgba(250, 252, 253, 1);
    flex: 1 1 auto;
    min-width: 0;
}

.upcoming-event-info-title{
    font-family: Geologica;
    font-weight: 700;
    font-size: 26px;
    leading-trim: none;
    line-height: 30px;
    letter-spacing: -1.2px;
    text-align: left;
    color: #073248;
    margin: 0 0 8px 0;
}

.upcoming-event-info-description {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.upcoming-event-info-location{
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    height: 27px;
    padding: 0 12px;
    border-radius: 8px;
    background: #FF9901;
    font-family: Geologica;
    font-weight: 500;
    font-size: 16px;
    leading-trim: none;
    line-height: 23px;
    letter-spacing: -0.2px;
    color: #FFFFFF;
    white-space: nowrap;
}
.upcoming-event-info-location::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 14px;
    background-color: #FFFFFF;
    -webkit-mask: url('/images/html/pin.svg') no-repeat center / contain;
    mask: url('/images/html/pin.svg') no-repeat center / contain;
    margin-right: 6px;
}
.upcoming-event-info-desc{
    font-family: Geologica;
    font-weight: 500;
    font-size: 14px;
    leading-trim: none;
    line-height: 23px;
    letter-spacing: -0.17px;
    text-align: left;
    color: #38596A;
}

.upcoming-event-button-block{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0 48px;
    background: rgba(250, 252, 253, 1);
    flex: 0 0 auto;
}

/* BC-591: mobile stack — date, info and button stack vertically;
   events-list loses 160px side padding so cards keep readable width. */
/* BC-591: events list — original padding 0 160px breaks below ~1024px (cards
   shrink to a few hundred px). Scale the side padding down on smaller screens. */
@media (max-width: 767px) {
    .news-blocks {
        padding-top: 80px;
    }
    .upcoming-event {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 20px;
    }
    .upcoming-event:last-child {
        margin-bottom: 0;
    }
    /* Date block: full-width top banner, symmetric padding, centered text */
    .upcoming-event-date-block {
        min-height: auto;
        padding: 26px 20px 18px;
        text-align: center;
        border-top-left-radius: 27px;
        border-top-right-radius: 27px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .upcoming-event-day {
        line-height: 61px;
        margin-bottom: 4px;
    }
    .upcoming-event-month {
        margin: 0;
    }
    /* Info block: stack children top-to-bottom, left-aligned */
    .upcoming-event-info-block {
        padding: 30px 29px 0;
        align-items: flex-start;
        flex-direction: column;
    }
    .upcoming-event-info-block > div {
        width: 100%;
    }
    /* Gap between title and location/desc row */
    .upcoming-event-info-title {
        margin-bottom: 20px;
    }
    .upcoming-event-info-location {
        vertical-align: middle;
    }
    .upcoming-event-info-location::before {
        margin-right: 5px;
    }
    /* Location badge and description stack vertically */
    .upcoming-event-info-description {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    /* Button block: full-width button, no divider */
    .upcoming-event-button-block {
        padding: 30px 29px 30px;
        margin-left: 0;
        border-top: none;
    }
    .upcoming-event-button-block .upcoming-event-button {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .upcoming-events-header {
        font-family: Geologica;
        font-weight: 800;
        font-size: 42px;
        line-height: 38px;
        letter-spacing: -0.55px;
        text-align: center;
        color: #073248;
        padding-bottom: 40px;
    }
    .current-information-header {
        font-family: Geologica;
        font-weight: 800;
        font-size: 42px;
        line-height: 38px;
        letter-spacing: -0.55px;
        text-align: center;
        color: #073248;
        padding-bottom: 40px;
    }
    .after-upcoming-event-info {
        margin-top: 0;
        padding-top: 30px;
        padding-bottom: 110px;
        height: auto;
        background-position: center;
    }
    .after-upcoming-event-info p {
        margin: 0;
    }
    /* current-information mobile */
    .current-information {
        margin-top: -40px;
        padding-top: 0;
        padding-bottom: 60px;
    }
    .current-information-list { padding: 0 !important; }
    .current-informations-4 {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0;
        row-gap: 20px;
        column-gap: 0;
    }
    .current-informations-4-col-1 { row-gap: 20px; }
    .current-informations-4-col-1-row-2 {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

}

.upcoming-event-button{
    background: rgba(0, 131, 218, 1);
    border-radius: 12px ;
    color: rgba(255, 255, 255, 1) !important;
    padding: 10px 18px;
}

.after-upcoming-event-info{
    height: 478px;
    box-sizing: border-box;
    padding-top: 120px;
    margin-top: -80px;
    z-index: 1;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center -25px;
}

.after-upcoming-event-button{
    background: rgba(0, 131, 218, 1);
    color: rgba(255, 255, 255, 1) !important;
    font-family: Geologica;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    letter-spacing: -0.8290389776229858px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    border-radius: 12px;
    padding:18px 40px;
}

.current-information{
    margin-top: -180px;
    /* Transparent so .after-upcoming-event-info background shows behind
       (same as .news-blocks > .container); section fill comes from .news-blocks. */
    padding-bottom:120px;
    position: relative;
    z-index: 2;
}

.current-informations-4{
    display: grid;
    grid-template-columns: 13fr 9fr;
    align-items: stretch;
    row-gap: 30px;
    column-gap: 30px;
    flex-wrap: nowrap;
    max-width: 100%;
    z-index: 2;
    position: relative;
    margin: 0 auto;
}

.current-informations-4-col-1{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-self: stretch;
    height: 100%;
    min-height: 0;
    row-gap: 30px;
    column-gap: 30px;
    flex-wrap: nowrap;
}

.current-informations-4-col-1-row-1{
    align-self: start;
    width: 100%;
}

.current-informations-4-col-1-row-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-self: stretch;
    min-height: 0;
    row-gap: 30px;
    column-gap: 30px;
    flex-wrap: nowrap;
}

.current-informations-4-col-2{
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: 100%;
    min-height: 0;
}

.current-informations-4-col-1-row-2-col-1{
    padding:30px;
    background: rgba(239, 104, 96, 1);
    width: 100%;
    height: 100%;
    border-radius: 27px;
    box-shadow: 10px 10px 30px 0px #D1D9EB;
    overflow: hidden;
    color: rgba(255, 255, 255, 1) !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}
.current-informations-4-col-1-row-2-col-1:hover{
    transform: scale(1.03) translateZ(0);
    box-shadow: 10px 20px 40px 0px rgba(239, 104, 96, 0.4);
}
.current-informations-4-col-1-row-2-col-1::after{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    top: 24px;
    right: 24px;
    background: #E9EEF4;
    z-index: 3;
    transition: background-color 0.4s ease;
}

.current-informations-4-col-1-row-2-col-2{
    padding:30px;
    background: rgba(0, 131, 218, 1);
    width: 100%;
    height: 100%;
    border-radius: 27px;
    box-shadow: 10px 10px 30px 0px #D1D9EB;
    overflow: hidden;
    color: rgba(255, 255, 255, 1) !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}
.current-informations-4-col-1-row-2-col-2:hover{
    transform: scale(1.03) translateZ(0);
    box-shadow: 10px 20px 40px 0px rgba(0, 131, 218, 0.4);
}
.current-informations-4-col-1-row-2-col-2::after{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    top: 24px;
    right: 24px;
    background: #E9EEF4;
    z-index: 3;
    transition: background-color 0.4s ease;
}

.simple-current-information{
    display: flex;
    align-items: flex-start;
    width: 100%;
    border-radius: 27px;
    background: rgba(250, 252, 253, 1);
    box-shadow: 10px 10px 30px 0px #D1D9EB;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}
.simple-current-information:hover{
    transform: scale(1.03) translateZ(0);
    box-shadow: 10px 20px 40px 0px rgba(209, 217, 235, 0.8);
}
.simple-current-information::after{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    top: 24px;
    right: 24px;
    background: #E9EEF4;
    z-index: 3;
    transition: background-color 0.4s ease;
}

.simple-current-information-2{
    width: 100%;
    border-radius: 27px;
    background: rgba(250, 252, 253, 1);
    box-shadow: 10px 10px 30px 0px #D1D9EB;
    overflow: hidden;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}
.simple-current-information-2:hover{
    transform: scale(1.03) translateZ(0);
    box-shadow: 10px 20px 40px 0px rgba(209, 217, 235, 0.8);
}
.simple-current-information-2::after{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    top: 24px;
    right: 24px;
    background: #E9EEF4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 3;
    transition: background-color 0.4s ease;
}

/* Hover state to turn dots yellow (#FF9901) when hovering over cards */
.simple-current-information:hover::after,
.simple-current-information-2:hover::after,
.current-informations-4-col-1-row-2-col-1:hover::after,
.current-informations-4-col-1-row-2-col-2:hover::after {
    background-color: #FF9901;
}

.simple-current-information-img{
    width: 210px;
    height: 204px;
    flex-shrink: 0;
    overflow: hidden;
}
.simple-current-information-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.simple-current-information-img-2{
    height: 204px;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}
.simple-current-information-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.simple-current-information-left{
    padding:30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}
.simple-current-information-desc{
    font-family: Geologica;
    font-weight: 600;
    font-size: 20px;
    leading-trim: none;
    line-height: 30px;
    letter-spacing: -0.92px;
    text-align: left;
    color: #073248;
    margin-bottom: 20px;
    padding-right: 30px;
}

.simple-current-information-button{
    font-family: Geologica;
    font-weight: 600;
    font-size: 15px;
    leading-trim: none;
    line-height: 27px;
    letter-spacing: -0.69px;
    text-align: left;
    color: rgba(0, 131, 218, 1) !important;
}
.simple-current-information-button:hover{
    text-decoration: underline !important;
}


.partners{
    background-color: #f4f7fa;
    padding-bottom:120px;
}

.partners-header{
    font-family: Geologica;
    font-size: 70px;
    font-weight: 800;
    line-height: 61px;
    letter-spacing: -0.9210529923439026px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(7, 50, 72, 1);
    padding-bottom:80px;
    margin:0;
}

.partner-item{
    box-shadow: 10px 10px 30px 0px rgba(209, 217, 235, 0.5);
    background-color: #FAFCFD;
    border-radius: 18px;
    width: 226px;
    height: 114px;
    background-repeat: no-repeat;
    background-position: center center;
    flex-shrink: 0;
    margin-right: 30px;
}

/* Brands Marquee Styles */
.brands-marquee-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-top: 15px;
    padding-bottom: 45px;
    margin-top: -15px;
    margin-bottom: -45px;
}

.brands-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.brands-marquee-wrap:hover .brands-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1023px) {
    .partner-item {
        margin-right: 24px;
    }
}

.swiper-wrapper {
    height: auto;
}



/* BC-591: responsive.css gives <footer> margin-top:60px, which leaves a strip
   of body background between the google-maps section and the footer. Override. */
footer {
    margin-top: 0;
}

/* BC-591: "Что о нас говорят" — moderated testimonials block, between Brands
   and Subscription. 3 cards side by side, capped width, centred. */
.testimonials {
    background-color: #f4f7fa;
    padding: 24px 80px 120px;
    text-align: center;
}
.testimonials-header {
    font-family: Geologica;
    font-weight: 800;
    font-size: 70px;
    line-height: 61px;
    letter-spacing: -0.92px;
    text-align: center;
    color: #073248;
    margin: 0 0 56px;
}
.testimonials-swiper-container {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
}
.testimonials-swiper {
    overflow: hidden;
    padding: 40px;
    margin: -40px;
}
@media (max-width: 767px) {
    .testimonials { padding: 24px 16px 56px; }
    .testimonials-header { font-size: 42px; line-height: 38px; letter-spacing: -0.552632px; margin-bottom: 28px; }
    .testimonials-swiper-container { max-width: 100%; }
    .partners { padding-bottom: 80px; }
    .partners-header { font-size: 42px !important; line-height: 38px !important; letter-spacing: -0.552632px !important; padding-bottom: 40px !important; padding-top: 20px !important;}
    .brands-swiper-wrap { overflow: hidden; }
    .brands-swiper-wrap .brands-indicator { width: 140px; max-width: 50%; bottom: 10px; }
    .brands-swiper .swiper-slide { width: 160px !important; height: 90px !important; margin-right: 0; }
    .subscription-header {
        font-family: Geologica;
        font-weight: 800;
        font-size: 42px;
        line-height: 38px;
        letter-spacing: -0.55px;
        text-align: center;
        color: #073248;
        padding-bottom: 9px;
    }
    .subscription-desc {
        font-family: Geologica;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: -0.74px;
        text-align: center;
        color: #0083DA;
        padding-bottom: 40px;
    }
    .subscription-form-input-button {
        width: 100%;
        position: static;
        float: none;
        margin-top: 20px;
        height: 56px !important;
        border-radius: 12px !important;
    }
    .subscription-checkbox-container {
        margin-top: 46px;
        margin-left: 0;
        max-width: 100%;
        font-family: Geologica;
        font-weight: 500;
        font-size: 13px;
        line-height: 17px;
        letter-spacing: -0.68px;
        color: #4C7E9B;
    }
    .subscription-social {
        margin-top: 50px !important;
    }
    .subscription-social-icon {
        width: 46px !important;
        height: 46px !important;
    }
    .current-information { padding-bottom: 80px; }
    .subscription-background-img {
        padding: 60px 0 40px;
        height: auto;
        box-sizing: border-box;
    }
    .subscription {
        padding-bottom: 80px;
    }
    .subscription-block {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .subscription-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .subscription-form-input {
        font-family: Geologica;
        font-weight: 700;
        font-size: 18px;
        leading-trim: none;
        line-height: 24px;
        letter-spacing: -0.83px;
        height: 56px !important;
        padding: 14px 20px !important;
        border-radius: 12px !important;
    }
    .subscription-form-input::placeholder {
        font-family: Geologica;
        font-weight: 700;
        font-size: 18px;
        leading-trim: none;
        line-height: 24px;
        letter-spacing: -0.83px;
    }
    .subscription-form-input::-webkit-input-placeholder {
        font-family: Geologica;
        font-weight: 700;
        font-size: 18px;
        leading-trim: none;
        line-height: 24px;
        letter-spacing: -0.83px;
    }
    .subscription-form-input::-ms-input-placeholder {
        font-family: Geologica;
        font-weight: 700;
        font-size: 18px;
        leading-trim: none;
        line-height: 24px;
        letter-spacing: -0.83px;
    }
}
.testimonial-card {
    background: #fff;
    border-radius: 27px;
    box-shadow: 10px 10px 30px 0px #D1D9EB;
    padding: 20px 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    width: 320px;
    max-width: 100%;
    flex-shrink: 0;
}
.testimonial-card:hover {
    transform: scale(1.03);
    box-shadow: 10px 20px 40px 0 rgba(209, 217, 235, 0.8);
}
.testimonial-card::before {
    content: '';
    position: absolute;
    bottom: -26px;
    left: 0px;
    width: 35px;
    height: 53px;
    background: #ffffff;
    clip-path: polygon(-13.5% 0, 203.3% 0, 0 100%);
    z-index: 2;
}
.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
}
.testimonial-card-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}
.testimonial-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-card-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.testimonial-rating {
    display: flex;
    gap: 2px;
    font-size: 16px;
}
.testimonial-star {
    display: inline-block;
    width: 18px;
    height: 18px;
    color: #d8dde4;
}
.testimonial-star svg {
    display: block;
    width: 100%;
    height: 100%;
}
.testimonial-star.filled {
    color: #ff9901;
}
.testimonial-author-info {
    display: flex;
    flex-direction: column;
}
.testimonial-author-name {
    font-family: Geologica;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: rgba(7, 50, 72, 1);
}
.testimonial-author-position {
    font-family: Geologica;
    font-size: 13px;
    line-height: 1.2;
    color: rgba(56, 89, 106, 0.8);
    margin-top: 0;
}
.testimonial-text {
    font-family: Geologica;
    font-weight: 500;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: -0.84px;
    color: #073248;
    margin: 0;
    flex: 1 1 auto;
}
.testimonials-swiper.swiper-locked ~ .testimonials-nav-wrap {
    display: none !important;
}
.testimonials-nav-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}
.testimonials-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(209, 217, 235, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
}
.testimonials-nav-btn:hover {
    background-color: #0083DA;
    transform: scale(1.05);
}
.testimonials-nav-btn:hover svg path {
    stroke: #ffffff;
}
.testimonials-nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #ffffff;
    transform: none;
}
.testimonials-nav-btn.swiper-button-disabled:hover {
    background: #ffffff;
    transform: none;
}
.testimonials-nav-btn.swiper-button-disabled:hover svg path {
    stroke: #0083DA;
}




@media (max-width: 767px) {

    .current-informations-4-col-1-row-2 {
        grid-template-columns: 1fr;
    }
    .current-informations-4 {
        grid-template-columns: 1fr;
    }
}

#programme-tabs .nav-tabs.nav-tabs .nav-link {
    background: rgba(250, 252, 253, 1);
    color: rgba(16, 122, 228, 1);
}

#programme-tabs .nav-tabs.nav-tabs .nav-link.active {
    background: rgba(16, 122, 228, 1);
    color: rgba(255, 255, 255, 1);
    border-radius: 13px;
}



.title::after,
#main-content .title::after,
#main-content h2::after,
#main-content h3::after,
#main-content h4::after {
    display:none;
}



@media (max-width: 767px) {
    /* белая карточка с фото: вертикальный стек, оранжевая точка */
    .simple-current-information {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    .simple-current-information::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 24px;
        border-radius: 12px;
        top: 15px;
        right: 14px;
        background: #E9EEF4;
        z-index: 3;
        transition: background-color 0.4s ease;
    }
    .simple-current-information-img {
        width: 100%;
        height: auto;
        min-height: unset;
    }
    .simple-current-information-img img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 27px 27px 0 0;
    }
    .simple-current-information-left {
        width: 100%;
        box-sizing: border-box;
        padding: 32px 30px 30px 30px;
    }
    /* большая белая карточка с фото: серая точка */
    .simple-current-information-2 {
        display: flex;
        flex-direction: column;
        height: auto;
        position: relative;
    }
    .simple-current-information-2::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 24px;
        border-radius: 12px;
        top: 12px;
        right: 16px;
        background: #E9EEF4;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        z-index: 3;
    }
    .simple-current-information-img-2 {
        width: 100%;
        height: auto;
        min-height: unset;
    }
    .simple-current-information-img-2 img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 27px 27px 0 0;
    }
    /* цветные карточки: флекс-центр + точка через ::after */
    .current-informations-4-col-1-row-2-col-1,
    .current-informations-4-col-1-row-2-col-2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 185px;
        position: relative;
        padding: 30px;
        box-sizing: border-box;
    }
    /* красная карточка — точка */
    .current-informations-4-col-1-row-2-col-1::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 24px;
        border-radius: 12px;
        top: 16px;
        right: 16px;
        background: #E9EEF4;
        z-index: 3;
    }
    /* синяя карточка — точка */
    .current-informations-4-col-1-row-2-col-2::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 24px;
        border-radius: 12px;
        top: 16px;
        right: 16px;
        background: #E9EEF4;
        z-index: 3;
    }
    .simple-current-information-desc {
        font-family: Geologica;
        font-weight: 600;
        font-size: 17px;
        line-height: 28px;
        letter-spacing: -0.78px;
        color: #073248;
        margin-bottom: 30px;
        padding-right: 0;
    }
    .partners {
        padding-top: 80px;
    }
    .partners-header {
        font-family: Geologica;
        font-weight: 800;
        font-size: 42px;
        line-height: 38px;
        letter-spacing: -0.55px;
        text-align: center;
        color: #073248;
        padding-bottom: 40px;
    }
    .partner-item {
        width: 142px;
        height: 70px;
        border-radius: 12px;
        box-shadow: 6px 6px 19px 0px #D1D9EB;
        background-size: contain;
        background-origin: content-box;
        padding: 10px;
        box-sizing: border-box;
        margin-right: 16px;
    }
    .testimonials {
        padding: 80px 16px 56px;
    }
    .testimonials-header {
        font-family: Geologica;
        font-weight: 800;
        font-size: 42px;
        line-height: 38px;
        letter-spacing: -0.55px;
        text-align: center;
        color: #073248;
        margin-bottom: 40px;
    }
    .testimonial-card {
        padding: 20px 30px 30px;
        gap: 13px;
    }
    .testimonial-card-meta {
        gap: 8px;
    }
    .testimonial-author-name {
        font-family: Geologica;
        font-weight: 700;
        font-size: 15px;
        line-height: 24px;
        letter-spacing: -0.69px;
        color: #002147;
    }
    .testimonial-author-position {
        font-family: Geologica;
        font-weight: 400;
        font-size: 15px;
        line-height: 24px;
        letter-spacing: -0.69px;
        color: #002147;
        margin-top: 0;
    }
}

@media (max-width: 1279px) {
    .brns .carousel-item .carousel-caption {
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
        transform: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .counters-new {
        padding: 0 32px 80px;
    }
    .counters-left {
        padding-right: 24px;
    }
    .counters-left-header {
        font-size: 48px;
        line-height: 48px;
        letter-spacing: -0.6px;
        margin-bottom: 24px;
    }
    .counters-left-desc {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: -0.8px;
        margin-bottom: 32px;
    }
    .counters-right {
        column-gap: 20px;
        row-gap: 20px;
    }
    .counter-info {
        padding: 16px;
        border-radius: 20px;
    }
    .counter-info-num, .counter-info-num-plus {
        font-size: 36px;
        line-height: 32px;
        letter-spacing: -1.8px;
    }
    .counter-info-num-plus-with-text {
        font-size: 20px;
        line-height: 16px;
        letter-spacing: -1px;
    }
    .counter-info-num-text {
        font-size: 13px;
        line-height: 14px;
        padding-left: 12px;
    }
    .counter-info-desc {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.7px;
        padding-top: 12px;
    }
    .counter-info-nums-block {
        padding-left: 12px;
    }
    .counter-info-text-under-plus {
        font-size: 13px;
        line-height: 14px;
}


