﻿:root {
    --primary: #426bb1;
    --primary-80: rgba(0, 103, 176, 0.6);
    --secondary: #77132a;
    --third: #fdd460;
    --third-80: rgba(0, 103, 176, 0.6);
}

.btn {
    font-family: Arial, Helvetica, sans-serif !important;
    font-family: 18px !important;
    font-weight: 700 !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    -moz-border-radius: 50px !important;
    margin-bottom: 10px;
}

.btn-primary {
    color: #FFF !important;
    background: var(--primary) !important;
    border: 2px solid var(--primary) !important;
}

    .btn-primary:hover {
        color: var(--primary) !important;
        background: transparent !important;
        border: 2px solid var(--primary) !important;
    }

.btn-secondary {
    color: #FFF !important;
    background: var(--secondary) !important;
    border: 2px solid var(--secondary);
}

    .btn-secondary:hover {
        color: var(--secondary) !important;
        background: transparent !important;
        border: 2px solid var(--secondary);
    }

.font-weight-700 {
    font-weight: 700;
}

.font-weight-400 {
    font-weight: 400;
}

.border-primary {
    border-color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.reg-btn {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    transition: 0.5s;
    color: var(--primary);
    border: 2px solid var(--primary);
    background: transparent;
}

    .reg-btn:hover {
        background: var(--primary);
        color: #fff;
    }

a {
    color: var(--primary);
    text-decoration: none;
}

    a:hover {
        color: #5faee3;
        text-decoration: none;
    }

.w-40 {
    width: 40%;
}

.w-35 {
    width: 35%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Arial, Helvetica, sans-serif;
}

.carousel-item {
    height: 450px;
}

.carousel-item img {
    height: 300px;
    object-fit: contain;
    margin: auto;
    display: block;
}

.item {
    display: none;
    position: relative;
    -webkit-transition: 0.3s ease-in-out left;
    -moz-transition: 0.3s ease-in-out left;
    -o-transition: 0.3s ease-in-out left;
    transition: 0.3s ease-in-out left;
}

#stand {
    min-height: 100vh !important;
}

#supporters {
    padding: 60px 0;
}

    #supporters .container {
        background: #FFF;
        padding: 30px;
        box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
    }

#supporters h5 {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    text-align: center;
}

    #supporters .supporters-wrap {
        border: none;
        margin-bottom: 30px;
    }

    #supporters .supporter-logo {
        padding: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.5);
        min-height: 160px;
    }

@media (max-width: 768px) {
    #supporters .supporter-logo {
        padding: 10px;
    }
}

    #supporters .supporter-logo:hover img {
        transform: scale(1.2);
    }

    #supporters img {
        transition: all 0.4s ease-in-out;
    }


    .back-to-top {
        position: fixed;
        visibility: hidden;
        opacity: 0;
        right: 15px;
        bottom: 15px;
        z-index: 996;
        background: var(--primary);
        width: 40px;
        height: 40px;
        border-radius: 4px;
        transition: all 0.4s;
    }

        .back-to-top i {
            font-size: 28px;
            color: #fff;
            line-height: 0;
        }

        .back-to-top:hover {
            background: #57aae1;
            color: #fff;
        }

        .back-to-top.active {
            visibility: visible;
            opacity: 1;
        }


    @media screen and (max-width: 768px) {
        [data-aos-delay] {
            transition-delay: 0 !important;
        }
    }


#stand {
    margin-top: 100px;
}

#header {
    z-index: 997;
    transition: all 0.5s;
    padding: 10px 0;
    background: var(--primary) !important;
    font-weight: 700;
    font-size: 18px;
}

        #header.header-scrolled {
            box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
            padding: 12px 0;
            background: var(--primary) !important;

        }

            #header.header-scrolled nav:not(.navbar-mobile) a {
                color: #FFF !important;
            }

        #header .logo img {
            visibility: hidden;
        }

        #header.header-scrolled .logo img {
            padding: 0;
            margin: 0 10px 0 0;
            max-height: 56px;
            visibility: visible;
        }

        #header .logo h1 {
            font-size: 30px;
            margin: 0;
            padding: 0;
            line-height: 1;
            font-weight: 700;
            letter-spacing: 1px;
        }

            #header .logo h1 a,
            #header .logo h1 a:hover {
                color: var(--secondary);
                text-decoration: none;
            }

        #header .logo img {
            padding: 0;
            margin: 0 20px 0 0;
            max-height: 60px;
        }

    .navbar {
        padding: 0;
    }

        .navbar ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navbar li {
            position: relative;
        }

        .navbar a,
        .navbar a:focus {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0 10px 30px;
            font-size: 16px;
            font-weight: 600;
            color: #ffffff;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navbar a i,
            .navbar a:focus i {
                font-size: 16px;
                line-height: 0;
                margin-left: 5px;
            }

            .navbar a:hover,
            .navbar .active,
            .navbar .active:focus,
            .navbar li:hover > a {
                color: #ffffff;
            }

        .navbar .getstarted,
        .navbar .getstarted:focus {
            color: var(--secondary);
            background: transparent;
            padding: 8px 25px;
            margin-left: 30px;
            border-radius: 5px;
            border: 2px solid var(--secondary);
        }

            .navbar .getstarted:hover,
            .navbar .getstarted:focus:hover {
                background: var(--secondary);
                color: #fff;
            }

        .navbar .dropdown ul {
            display: block;
            position: absolute;
            left: 30px;
            top: calc(100% + 30px);
            margin: 0;
            padding: 10px 0;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            background: #fff;
            box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
            transition: 0.3s;
            border-radius: 4px;
        }

            .navbar .dropdown ul li {
                min-width: 200px;
            }

            .navbar .dropdown ul a {
                padding: 10px 20px;
                font-size: 14px;
            }

                .navbar .dropdown ul a i {
                    font-size: 12px;
                }

                .navbar .dropdown ul a:hover,
                .navbar .dropdown ul .active:hover,
                .navbar .dropdown ul li:hover > a {
                    color: #333;
                }

        .navbar .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navbar .dropdown .dropdown ul {
            top: 0;
            left: calc(100% - 30px);
            visibility: hidden;
        }

        .navbar .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: 100%;
            visibility: visible;
        }

    @media (max-width: 1366px) {
        .navbar .dropdown .dropdown ul {
            left: -90%;
        }

        .navbar .dropdown .dropdown:hover > ul {
            left: -100%;
        }
    }

    /**
* Mobile Navigation 
*/
    .mobile-nav-toggle {
        color: var(--secondary);
        font-size: 28px;
        cursor: pointer;
        display: none;
        line-height: 0;
        transition: 0.5s;
    }

        .mobile-nav-toggle.bi-x {
            color: #fff !important;
        }

    @media (max-width: 991px) {
        .orgs {
            margin-left: -12px;
            margin-right: -12px;
        }

        .mobile-nav-toggle {
            display: block;
            color: #FFF !important;
        }

        .navbar ul {
            display: none;
        }
    }

    .navbar-mobile {
        position: fixed;
        overflow: hidden;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: rgba(9, 9, 9, 0.9);
        transition: 0.3s;
        z-index: 999;
    }

        .navbar-mobile .mobile-nav-toggle {
            position: absolute;
            top: 15px;
            right: 15px;
        }

        .navbar-mobile ul {
            display: block;
            position: absolute;
            top: 55px;
            right: 15px;
            bottom: 15px;
            left: 15px;
            padding: 10px 0;
            border-radius: 8px;
            background-color: #fff;
            overflow-y: auto;
            transition: 0.3s;
        }

        .navbar-mobile a,
        .navbar-mobile a:focus {
            padding: 10px 20px;
            font-size: 15px;
            color: #333 !important;
        }

            .navbar-mobile a:hover,
            .navbar-mobile .active,
            .navbar-mobile li:hover > a {
                color: var(--primary) !important;
            }

        .navbar-mobile .getstarted,
        .navbar-mobile .getstarted:focus {
            margin: 15px;
        }

        .navbar-mobile .dropdown ul {
            position: static;
            display: none;
            margin: 10px 20px;
            padding: 10px 0;
            z-index: 99;
            opacity: 1;
            visibility: visible;
            background: #fff;
            box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
        }

            .navbar-mobile .dropdown ul li {
                min-width: 200px;
            }

            .navbar-mobile .dropdown ul a {
                padding: 10px 20px;
            }

                .navbar-mobile .dropdown ul a i {
                    font-size: 12px;
                }

                .navbar-mobile .dropdown ul a:hover,
                .navbar-mobile .dropdown ul .active:hover,
                .navbar-mobile .dropdown ul li:hover > a {
                    color: var(--primary);
                }

        .navbar-mobile .dropdown > .dropdown-active {
            display: block;
        }

    #video {
        width: 100%;
        margin-top: 80px;
    }

/* =========================================
   HERO — ШКОЛА РЕВМАТОЛОГОВ
========================================= */

.qcr-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 110px 0 80px;
    overflow: hidden;
    /*
       Верхняя тёмно-синяя и нижняя голубая части,
       как на оригинальном макете
    */
    background: linear-gradient( to bottom, #293d7c 0%, #293d7c 55%, #4a73b8 55%, #4a73b8 100% );
}

    /* Едва заметная текстура фона */
    .qcr-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient( circle at center, rgba(255, 255, 255, 0.09) 1px, transparent 1px );
        background-size: 28px 28px;
        opacity: 0.15;
        pointer-events: none;
    }

    /* Световая область справа */
    .qcr-hero::after {
        content: "";
        position: absolute;
        top: 0;
        right: -250px;
        width: 800px;
        height: 800px;
        background: radial-gradient( circle, rgba(116, 157, 220, 0.22), transparent 68% );
        pointer-events: none;
    }

.qcr-hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(420px, 0.85fr) minmax(550px, 1.35fr);
    align-items: center;
    gap: clamp(45px, 6vw, 105px);
    width: 100%;
}

/* =========================================
   ЛЕВАЯ ЧАСТЬ — ЗДАНИЕ
========================================= */

.qcr-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qcr-hero__main-image {
    display: block;
    width: 100%;
    max-width: 610px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow( 0 28px 40px rgba(14, 27, 72, 0.22) );
}

/* =========================================
   ПРАВАЯ ЧАСТЬ — ЗАГОЛОВОК
========================================= */

.qcr-hero__content {
    position: relative;
    min-width: 0;
}

.qcr-hero__title-image {
    display: block;
    width: 100%;
    max-width: 930px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

/* =========================================
   КНОПКИ
========================================= */

.qcr-hero__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
}

.qcr-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 155px;
    min-height: 50px;
    padding: 10px 25px;
    border: 2px solid transparent;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.qcr-hero__button--primary {
    color: #fff;
    background-color: #9e1830;
    border-color: #9e1830;
}

    .qcr-hero__button--primary:hover {
        color: #9e1830;
        background-color: #fff;
        border-color: #fff;
        transform: translateY(-3px);
    }

.qcr-hero__button--outline {
    color: #fff;
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.65);
}

    .qcr-hero__button--outline:hover {
        color: #293d7c;
        background-color: #fff;
        border-color: #fff;
        transform: translateY(-3px);
    }

/* =========================================
   ИНДИКАТОР ПРОКРУТКИ
========================================= */

.qcr-hero__scroll {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 50%;
    display: flex;
    justify-content: center;
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    transform: translateX(-50%);
}

    .qcr-hero__scroll span {
        width: 4px;
        height: 8px;
        margin-top: 8px;
        background-color: #fff;
        border-radius: 5px;
        animation: qcr-scroll 1.8s infinite;
    }

@keyframes qcr-scroll {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(17px);
    }
}

/* =========================================
   НОУТБУКИ
========================================= */

@media (max-width: 1399.98px) {
    .qcr-hero {
        padding-top: 95px;
    }

    .qcr-hero__container {
        grid-template-columns: minmax(370px, 0.85fr) minmax(500px, 1.3fr);
        gap: 55px;
    }

    .qcr-hero__main-image {
        max-width: 530px;
    }
}

/* =========================================
   ПЛАНШЕТЫ
========================================= */

@media (max-width: 991.98px) {
    .qcr-hero {
        min-height: auto;
        padding: 100px 0 80px;
        background: linear-gradient( to bottom, #293d7c 0%, #293d7c 57%, #4a73b8 57%, #4a73b8 100% );
    }

    .qcr-hero__container {
        grid-template-columns: minmax(300px, 0.85fr) 1.15fr;
        gap: 35px;
    }

    .qcr-hero__main-image {
        max-width: 420px;
    }

    .qcr-hero__actions {
        margin-top: 25px;
    }

    .qcr-hero__button {
        min-width: 130px;
        min-height: 44px;
        padding: 9px 16px;
        font-size: 12px;
    }

    .qcr-hero__scroll {
        display: none;
    }
}

/* =========================================
   СМАРТФОНЫ
========================================= */

@media (max-width: 767.98px) {
    .qcr-hero {
        min-height: 100svh;
        padding: 85px 0 45px;
        background: linear-gradient( to bottom, #293d7c 0%, #293d7c 58%, #4a73b8 58%, #4a73b8 100% );
    }

    .qcr-hero__container {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .qcr-hero__visual {
        order: 2;
        width: 100%;
    }

    .qcr-hero__content {
        order: 1;
        width: 100%;
    }

    .qcr-hero__title-image {
        width: 100%;
        max-width: none;
    }

    .qcr-hero__main-image {
        width: min(100%, 440px);
        max-height: 48vh;
    }

    .qcr-hero__actions {
        justify-content: flex-start;
        margin-top: 22px;
    }
}

/* =========================================
   МАЛЕНЬКИЕ СМАРТФОНЫ
========================================= */

@media (max-width: 479.98px) {
    .qcr-hero {
        padding-top: 105px;
    }

    .qcr-hero__container {
        gap: 22px;
    }

    .qcr-hero__title-image {
        /*
           Немного увеличиваем изображение с текстом,
           чтобы надписи не были слишком мелкими
        */
        width: 100%;
        max-width: none;
    }

    .qcr-hero__main-image {
        width: 94%;
        max-height: none;
    }

    .qcr-hero__actions {
        width: 100%;
        gap: 8px;
    }

    .qcr-hero__button {
        flex: 1;
        min-width: 0;
        min-height: 43px;
        padding: 8px 10px;
        font-size: 11px;
    }
}

/* Отключаем анимацию для пользователей,
   предпочитающих уменьшенное движение */
@media (prefers-reduced-motion: reduce) {
    .qcr-hero__scroll span {
        animation: none;
    }

    .qcr-hero__button {
        transition: none;
    }
}


    .flip-clock-wrapper {
        zoom: 0.5;
        -moz-transform: scale(0.5);
    }


@media (max-width: 768px) {
    .flip-clock-wrapper {
        zoom: 0.45;
        -moz-transform: scale(0.5);
    }
}


/*--------------------------------------------------------------
# Doctors
--------------------------------------------------------------*/

/* ===========================
   Спикеры
=========================== */

.doctors {
    padding: 70px 0;
    background-color: #fff;
}

    .section-title {
        margin-bottom: 40px;
        text-align: center;
    }

        .section-title h2 {
            margin: 0;
            color: #263a73;
            font-size: 36px;
            font-weight: 800;
            line-height: 1.15;
            text-transform: uppercase;
        }

    /* Отдельная карточка спикера */
    .doctors .member {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        height: 100%;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

        /* Фотография */
        .doctors .member > img {
            flex: 0 0 105px;
            width: 105px;
            height: 130px;
            margin: 0 !important;
            object-fit: cover;
            object-position: center top;
            border-radius: 0 22px 22px 0;
            background-color: #edf0f5;
        }

    /* Текстовая часть */
    .doctors .member-info {
        flex: 1;
        min-width: 0;
        padding: 0;
    }

        /* ФИО */
        .doctors .member-info h4 {
            display: inline;
            margin: 0;
            color: #a5142d;
            font-size: 16px;
            font-weight: 800;
            line-height: 1.25;
        }

            /* Дефис после ФИО, как в буклете */
            .doctors .member-info h4::after {
                content: " – ";
                color: #17213f;
                font-weight: 400;
            }

        /* Описание */
        .doctors .member-info p {
            display: inline;
            margin: 0;
            color: #17213f;
            font-size: 15px;
            font-weight: 400;
            line-height: 1.25;
        }

            .doctors .member-info p br:first-child {
                display: none;
            }

    /* Расстояние между строками карточек */
    .doctors .row {
        --bs-gutter-x: 42px;
        --bs-gutter-y: 32px;
    }

        .doctors .row > div {
            margin-bottom: 0 !important;
        }

/* Планшеты */
@media (max-width: 991.98px) {
    .doctors .row {
        --bs-gutter-x: 24px;
        --bs-gutter-y: 30px;
    }

    .doctors .member > img {
        flex-basis: 95px;
        width: 95px;
        height: 120px;
    }

    .doctors .member-info h4,
    .doctors .member-info p {
        font-size: 14px;
    }
}

/* Смартфоны */
@media (max-width: 767.98px) {
    .doctors {
        padding: 55px 0;
    }

        .section-title {
            margin-bottom: 30px;
        }

            .section-title h2 {
                font-size: 29px;
            }

        .doctors .member {
            gap: 14px;
        }

            .doctors .member > img {
                flex: 0 0 90px;
                width: 90px;
                height: 115px;
                border-radius: 0 18px 18px 0;
            }

        .doctors .member-info h4,
        .doctors .member-info p {
            font-size: 14px;
            line-height: 1.3;
        }
}

/* Очень узкие экраны */
@media (max-width: 420px) {
    .doctors .member > img {
        flex-basis: 82px;
        width: 82px;
        height: 105px;
    }

    .doctors .member-info h4,
    .doctors .member-info p {
        font-size: 13px;
    }
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
    section:not(:first-child) {
        padding-top: 70px;
        overflow: hidden;
    }

    .section-bg {
        background-color: var(--third);
    }

.section-title {
    margin-bottom: 35px;
    text-align: left !important;
}

    .section-title h2 {
        display: inline-flex;
        align-items: center;
        min-width: 205px;
        min-height: 38px;
        margin: 0;
        padding: 5px 42px 5px 15px;
        color: #fff !important;
        background-color: #9e1830;
        border-radius: 0 24px 24px 0;
        font-size: 25px;
        font-weight: 800;
        line-height: 1;
        text-transform: uppercase;
    }

@media (max-width: 575.98px) {
    .section-title {
        margin-bottom: 28px;
    }

        .section-title h2 {
            min-width: 180px;
            min-height: 36px;
            padding: 5px 34px 5px 14px;
            border-radius: 0 20px 20px 0;
            font-size: 21px;
        }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
    .clients {
        background: var(--third);
        padding: 10px 0;
        text-align: center;
    }

        .clients .col-lg-2 {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .clients img {
            width: 50%;
            filter: grayscale(100);
            transition: all 0.4s ease-in-out;
            display: inline-block;
            padding: 10px 0;
        }

            .clients img:hover {
                filter: none;
                transform: scale(1.1);
            }

    @media (max-width: 768px) {
        .clients img {
            width: 40%;
        }
    }

    @media (max-width: 575px) {
        .clients img {
            width: 30%;
        }
    }

    /*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
    .about .content h3 {
        font-weight: 600;
        font-size: 26px;
    }

    .about .content ul {
        list-style: none;
        padding: 0;
    }

        .about .content ul li {
            padding-left: 28px;
            position: relative;
        }

            .about .content ul li + li {
                margin-top: 10px;
            }

        .about .content ul i {
            position: absolute;
            left: 0;
            top: 2px;
            font-size: 20px;
            color: var(--primary);
            line-height: 1;
        }

    .about .content p:last-child {
        margin-bottom: 0;
    }

    .about .content .btn-learn-more {
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 12px 32px;
        border-radius: 50px;
        transition: 0.3s;
        line-height: 1;
        color: var(--primary);
        animation-delay: 0.8s;
        margin-top: 6px;
        border: 2px solid var(--primary);
    }

        .about .content .btn-learn-more:hover {
            background: var(--primary);
            color: #fff;
            text-decoration: none;
        }

    .countdown {
        font-family: Arial, Helvetica, sans-serif;
    }



.rounded-start-pill {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.rounded-end-pill {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* =========================================
   ПРОГРАММА
========================================= */

.schedule {
    padding: 70px 0 90px;
    background-color: #fff;
    color: #111827;
}

/* Ограничиваем ширину, как в печатной программе */
.schedule-content {
    max-width: 980px;
}

/* =========================================
   ДАТА И НОМЕР ДНЯ
========================================= */

.program-day {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 720px;
    margin: 25px auto 40px;
}

.program-day__label,
.program-day__date {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 22px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.program-day__label {
    flex: 1;
    justify-content: flex-end;
    background-color: #9e1830;
    border-radius: 24px 0 0 24px;
}

.program-day__date {
    flex: 1;
    justify-content: flex-start;
    margin-left: 4px;
    background-color: #263a73;
    border-radius: 0 24px 24px 0;
}

/* =========================================
   ОБЩАЯ СЕТКА
========================================= */

.program-topic,
.program-lecture {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    column-gap: 22px;
}

.program-time {
    color: #111;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* =========================================
   ЗАГОЛОВОК СЕКЦИИ ПРОГРАММЫ
========================================= */

.program-topic {
    margin: 23px 0 17px;
}

.program-topic__title {
    margin: 0;
    color: #9e1830;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.program-topic__subtitle {
    margin-top: 4px;
    color: #263a73;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.program-moderators {
    margin-top: 4px;
    color: #111;
    font-size: 15px;
    line-height: 1.3;
}

    .program-moderators span {
        font-weight: 400;
    }

    .program-moderators strong {
        font-weight: 800;
    }

/* =========================================
   ДОКЛАДЫ
========================================= */

.program-lectures {
    margin: 0 0 26px;
}

.program-lecture {
    margin-bottom: 15px;
}

.program-lecture__content {
    min-width: 0;
    color: #111;
    font-size: 16px;
    line-height: 1.25;
}

.program-speakers {
    display: inline;
    color: #111;
    font-weight: 800;
}

    .program-speakers::after {
        content: " ";
    }

.program-lecture__title {
    display: inline;
    color: #263a73;
    font-weight: 800;
}

.program-lecture__subtitle {
    margin-top: 3px;
    color: #111;
    font-size: 15px;
    font-weight: 400;
}

/* =========================================
   ОТКРЫТИЕ ШКОЛЫ
========================================= */

.program-lecture--opening {
    margin-bottom: 24px;
}

    .program-lecture--opening .program-lecture__heading {
        margin: 0 0 3px;
        color: #9e1830;
        font-size: 18px;
        font-weight: 800;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .program-lecture--opening .program-lecture__subtitle {
        margin: 0 0 5px;
        color: #111;
        font-weight: 800;
    }

.program-opening-speaker {
    line-height: 1.25;
}

    .program-opening-speaker strong {
        display: inline;
        font-size: 16px;
        font-weight: 800;
    }

.program-opening-speaker__title {
    display: inline;
    font-size: 15px;
}

    .program-opening-speaker__title p {
        display: inline;
        margin: 0;
    }

        .program-opening-speaker__title p::before {
            content: ", ";
        }

/* =========================================
   АДАПТИВНОСТЬ
========================================= */

@media (max-width: 767.98px) {
    .schedule {
        padding: 55px 0 70px;
    }

    .program-day {
        margin-bottom: 34px;
    }

    .program-day__label,
    .program-day__date {
        padding: 8px 13px;
        font-size: 15px;
    }

    .program-topic,
    .program-lecture {
        grid-template-columns: 92px minmax(0, 1fr);
        column-gap: 12px;
    }

    .program-time {
        font-size: 14px;
    }

    .program-topic__title {
        font-size: 17px;
    }

    .program-topic__subtitle,
    .program-lecture__content,
    .program-opening-speaker strong {
        font-size: 14px;
    }

    .program-moderators,
    .program-lecture__subtitle,
    .program-opening-speaker__title {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .program-topic,
    .program-lecture {
        grid-template-columns: 78px minmax(0, 1fr);
        column-gap: 9px;
    }

    .program-time {
        font-size: 12px;
    }

    .program-topic__title {
        font-size: 15px;
    }

    .program-lecture__content,
    .program-speakers,
    .program-lecture__title {
        font-size: 13px;
    }
}

/* =========================================
   РЕГИСТРАЦИЯ
========================================= */

.registration-section {
    position: relative;
    padding: 80px 0 90px;
    overflow: hidden;
    background: linear-gradient( 135deg, #293d7c 0%, #293d7c 55%, #466fb7 55%, #466fb7 100% );
}

    /* Ненавязчивая текстура */
    .registration-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient( circle, rgba(255, 255, 255, 0.13) 1px, transparent 1px );
        background-size: 28px 28px;
        opacity: 0.18;
        pointer-events: none;
    }

    /* Бордовый декоративный элемент */
    .registration-section::after {
        content: "";
        position: absolute;
        top: -220px;
        right: -160px;
        width: 460px;
        height: 460px;
        border: 65px solid rgba(158, 24, 48, 0.8);
        border-radius: 95px;
        transform: rotate(45deg);
        pointer-events: none;
    }

    .registration-section .container {
        position: relative;
        z-index: 2;
    }

    /* =========================================
   ЗАГОЛОВОК
========================================= */

    .registration-section .section-title {
        margin-bottom: 38px;
        text-align: left;
    }

        .registration-section .section-title h2 {
            display: inline-flex;
            align-items: center;
            min-width: 260px;
            min-height: 40px;
            margin: 0;
            padding: 6px 52px 6px 16px;
            color: #fff;
            background-color: #9e1830;
            border-radius: 0 24px 24px 0;
            font-size: 24px;
            font-weight: 800;
            line-height: 1;
            text-transform: uppercase;
        }

/* =========================================
   КАРТОЧКА ФОРМЫ
========================================= */

.registration-card {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    padding: 48px 55px;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 4px 55px 4px 55px;
    box-shadow: 0 28px 70px rgba(12, 25, 66, 0.28);
}

    /* Голубой угол */
    .registration-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 105px;
        height: 105px;
        background-color: #d5eeee;
        border-radius: 0 55px 0 100%;
    }

    /* =========================================
   СЕТКА ФОРМЫ
========================================= */

    .registration-card .php-email-form .row {
        --bs-gutter-x: 24px;
    }

    .registration-card .form-group {
        position: relative;
        margin-bottom: 24px;
    }

    /* =========================================
   LABEL
========================================= */

    .registration-card .floating-label {
        display: block;
        order: 0 !important;
        margin: 0 0 8px;
        color: #293d7c;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

        /* Обязательные поля */
        .registration-card .floating-label::after {
            color: #9e1830;
        }

    /* =========================================
   INPUT, SELECT, TEXTAREA
========================================= */

    .registration-card .form-control {
        order: 1 !important;
        width: 100%;
        min-height: 52px;
        padding: 12px 16px;
        color: #17213f;
        background-color: #f7f8fb;
        border: 1px solid #d8dfeb;
        border-radius: 3px;
        font-size: 15px;
        font-weight: 500;
        box-shadow: none;
        transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    }

    .registration-card textarea.form-control {
        min-height: 110px;
        resize: vertical;
    }

    .registration-card select.form-control {
        cursor: pointer;
        background-image: linear-gradient(45deg, transparent 50%, #293d7c 50%), linear-gradient(135deg, #293d7c 50%, transparent 50%);
        background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px;
        background-size: 5px 5px;
        background-repeat: no-repeat;
        appearance: none;
    }

    .registration-card .form-control:hover {
        border-color: #aebad0;
    }

    .registration-card .form-control:focus {
        color: #17213f;
        background-color: #fff;
        border-color: #466fb7;
        box-shadow: 0 0 0 4px rgba(70, 111, 183, 0.12);
        outline: none;
    }

    .registration-card .form-control.input-validation-error {
        border-color: #9e1830;
        background-color: #fff8f9;
    }

    /* =========================================
   СООБЩЕНИЯ ВАЛИДАЦИИ
========================================= */

    .registration-card .text-danger {
        display: block;
        order: 2 !important;
        margin-top: 6px;
        color: #9e1830 !important;
        font-size: 12px;
        font-weight: 600;
    }

    .registration-card div[asp-validation-summary] {
        margin-bottom: 22px;
    }

    /* =========================================
   ИНФОРМАЦИОННЫЕ БЛОКИ
========================================= */

    .registration-card .alert {
        position: relative;
        margin-bottom: 22px;
        padding: 18px 20px;
        border: 0;
        border-left: 5px solid;
        border-radius: 3px;
        font-size: 14px;
        line-height: 1.45;
    }

        .registration-card .alert p {
            margin: 0 0 12px;
        }

    .registration-card .alert-info {
        color: #263a73;
        background-color: #edf3fb;
        border-left-color: #466fb7;
    }

    .registration-card .alert-warning {
        color: #5e2932;
        background-color: #fff3f5;
        border-left-color: #9e1830;
    }


    /* Последнее сообщение после формы */
    .registration-card > .alert:last-child {
        margin-top: 30px !important;
        margin-bottom: 0;
    }

    /* =========================================
   RADIO И CHECKBOX
========================================= */

    .registration-card .form-check {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        min-height: 25px;
        margin-bottom: 8px;
        padding-left: 0;
    }

        .registration-card .form-check:last-child {
            margin-bottom: 0;
        }

    .registration-card .form-check-input {
        flex: 0 0 auto;
        width: 19px;
        height: 19px;
        margin: 1px 0 0;
        border: 2px solid #8291ae;
        box-shadow: none;
        cursor: pointer;
    }

        .registration-card .form-check-input[type="checkbox"] {
            border-radius: 3px;
        }

        .registration-card .form-check-input[type="radio"] {
            border-radius: 50%;
        }

        .registration-card .form-check-input:checked {
            background-color: #9e1830;
            border-color: #9e1830;
        }

        .registration-card .form-check-input:focus {
            border-color: #466fb7;
            box-shadow: 0 0 0 4px rgba(70, 111, 183, 0.15);
        }

    .registration-card .form-check-label {
        color: inherit;
        font-size: 14px;
        line-height: 1.4;
        cursor: pointer;
    }

    /* =========================================
   КНОПКА РЕГИСТРАЦИИ
========================================= */

    .registration-card button[type="submit"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 230px;
        min-height: 52px;
        padding: 12px 32px;
        color: #fff;
        background-color: #9e1830;
        border: 2px solid #9e1830;
        border-radius: 3px;
        font-size: 15px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        box-shadow: 0 12px 25px rgba(158, 24, 48, 0.22);
        transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }

        .registration-card button[type="submit"]:hover {
            color: #fff;
            background-color: #293d7c;
            border-color: #293d7c;
            box-shadow: 0 15px 30px rgba(41, 61, 124, 0.25);
            transform: translateY(-2px);
        }

        .registration-card button[type="submit"]:focus {
            box-shadow: 0 0 0 4px rgba(158, 24, 48, 0.18);
        }

        .registration-card button[type="submit"]:disabled {
            opacity: 0.65;
            cursor: not-allowed;
            transform: none;
        }

/* =========================================
   ПЛАНШЕТЫ
========================================= */

@media (max-width: 991.98px) {
    .registration-card {
        padding: 42px 38px;
    }
}

/* =========================================
   СМАРТФОНЫ
========================================= */

@media (max-width: 767.98px) {
    .registration-section {
        padding: 60px 0 70px;
    }

        .registration-section .section-title {
            margin-bottom: 30px;
        }

            .registration-section .section-title h2 {
                min-width: 225px;
                min-height: 37px;
                padding-right: 38px;
                border-radius: 0 21px 21px 0;
                font-size: 20px;
            }

    .registration-card {
        padding: 35px 22px;
        border-radius: 3px 35px 3px 35px;
    }

        .registration-card::before {
            width: 70px;
            height: 70px;
            border-radius: 0 35px 0 100%;
        }

        .registration-card .form-group {
            margin-bottom: 20px;
        }

        .registration-card .form-control {
            min-height: 50px;
            font-size: 16px;
        }

        .registration-card button[type="submit"] {
            width: 100%;
            min-width: 0;
        }
}

/* =========================================
   УСПЕШНАЯ РЕГИСТРАЦИЯ
========================================= */

.registration-success-card {
    position: relative;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 35px;
    max-width: 950px;
    margin: 0 auto;
    padding: 50px 55px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 4px 55px 4px 55px;
    box-shadow: 0 28px 70px rgba(12, 25, 66, 0.28);
}

    .registration-success-card::after {
        content: "";
        position: absolute;
        top: -80px;
        right: -80px;
        width: 180px;
        height: 180px;
        background-color: #d5eeee;
        border-radius: 50%;
    }

/* Галочка */
.registration-success-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    color: #fff;
    background-color: #9e1830;
    border-radius: 35px 7px 35px 7px;
    font-size: 48px;
}

.registration-success-content {
    position: relative;
    z-index: 2;
}

.registration-success-label {
    display: block;
    margin-bottom: 8px;
    color: #9e1830;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.registration-success-content > h3 {
    margin: 0 0 30px;
    color: #293d7c;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

/* Информация о формате участия */
.participation-message {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
    background-color: #f5f7fb;
    border-left: 5px solid;
    border-radius: 3px 24px 3px 24px;
}

.participation-message--offline {
    border-left-color: #9e1830;
}

.participation-message--online {
    border-left-color: #466fb7;
}

.participation-message__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    color: #fff;
    background-color: #466fb7;
    border-radius: 18px 4px 18px 4px;
    font-size: 24px;
}

.participation-message--offline .participation-message__icon {
    background-color: #9e1830;
}

.participation-message h4 {
    margin: 2px 0 10px;
    color: #293d7c;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.participation-message p {
    margin: 0 0 12px;
    color: #37415a;
    font-size: 15px;
    line-height: 1.55;
}

.participation-message address {
    margin: 0 0 20px;
    color: #37415a;
    font-size: 15px;
    font-style: normal;
    line-height: 1.5;
}

.participation-message__note {
    color: #68748c !important;
    font-size: 13px !important;
}

/* Кнопка */
.registration-success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 20px;
    color: #fff;
    background-color: #9e1830;
    border: 2px solid #9e1830;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

    .registration-success-button:hover {
        color: #fff;
        background-color: #293d7c;
        border-color: #293d7c;
        transform: translateY(-2px);
    }

/* Онлайн-кнопка — синяя */
.participation-message--online .registration-success-button {
    background-color: #466fb7;
    border-color: #466fb7;
}

    .participation-message--online .registration-success-button:hover {
        background-color: #293d7c;
        border-color: #293d7c;
    }

/* =========================================
   АДАПТИВНОСТЬ
========================================= */

@media (max-width: 767.98px) {
    .registration-success-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 35px 22px;
        border-radius: 3px 35px 3px 35px;
    }

    .registration-success-icon {
        width: 75px;
        height: 75px;
        border-radius: 25px 5px 25px 5px;
        font-size: 35px;
    }

    .registration-success-content > h3 {
        margin-bottom: 24px;
        font-size: 27px;
    }

    .participation-message {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .participation-message__icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .registration-success-button {
        width: 100%;
    }
}

/* =========================================
   МЕСТО ПРОВЕДЕНИЯ
========================================= */

.venue-section {
    padding: 80px 0 90px;
    background-color: #f5f7fb;
}

    /* Заголовок в стиле буклета */
    .venue-section .section-title {
        margin-bottom: 38px;
        text-align: left;
    }

        .venue-section .section-title h2 {
            display: inline-flex;
            align-items: center;
            min-width: 290px;
            min-height: 40px;
            margin: 0;
            padding: 6px 50px 6px 16px;
            color: #fff;
            background-color: #9e1830;
            border-radius: 0 24px 24px 0;
            font-size: 24px;
            font-weight: 800;
            line-height: 1;
            text-transform: uppercase;
        }

/* Основная карточка */
.venue-card {
    display: grid;
    grid-template-columns: minmax(330px, 0.8fr) minmax(500px, 1.4fr);
    min-height: 460px;
    overflow: hidden;
    background-color: #466fb7;
    border-radius: 4px 60px 4px 60px;
    box-shadow: 0 24px 60px rgba(36, 55, 114, 0.16);
}

/* Информационная часть */
.venue-info {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 55px 50px;
    overflow: hidden;
    color: #fff;
    background-color: #466fb7;
}

/* Бордовый декоративный угол */
.venue-info__decor {
    position: absolute;
    top: -125px;
    right: -115px;
    width: 270px;
    height: 270px;
    border: 42px solid #9e1830;
    border-radius: 58px;
    transform: rotate(45deg);
    opacity: 0.95;
}

.venue-info__content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.venue-info__label {
    display: inline-block;
    margin-bottom: 35px;
    padding: 8px 14px;
    color: #fff;
    background-color: #9e1830;
    border-radius: 0 18px 18px 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.venue-info h3 {
    margin: 0 0 10px;
    color: #d9eff1;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.venue-hotel {
    margin-bottom: 6px;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.25;
}

.venue-info address {
    margin: 0 0 35px;
    color: #e8edf9;
    font-size: 17px;
    font-style: normal;
    line-height: 1.5;
}

/* Кнопка */
.venue-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 20px;
    color: #fff;
    background-color: #9e1830;
    border: 2px solid #9e1830;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

    .venue-button:hover {
        color: #9e1830;
        background-color: #fff;
        transform: translateY(-2px);
    }

    .venue-button span {
        font-size: 18px;
    }

/* Карта */
.venue-map {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background-color: #e5e8ef;
}

    .venue-map::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient( 90deg, rgba(70, 111, 183, 0.28), transparent 18% );
        pointer-events: none;
    }

    .venue-map iframe {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 460px;
        border: 0;
        /* Немного приглушаем карту под фирменный стиль */
        filter: saturate(0.75) contrast(1.05);
    }

/* =========================================
   ПЛАНШЕТ
========================================= */

@media (max-width: 991.98px) {
    .venue-card {
        grid-template-columns: 1fr 1.2fr;
    }

    .venue-info {
        padding: 45px 35px;
    }

        .venue-info h3 {
            font-size: 35px;
        }

    .venue-hotel {
        font-size: 20px;
    }
}

/* =========================================
   СМАРТФОН
========================================= */

@media (max-width: 767.98px) {
    .venue-section {
        padding: 60px 0 70px;
    }

        .venue-section .section-title {
            margin-bottom: 30px;
        }

            .venue-section .section-title h2 {
                min-width: 245px;
                min-height: 37px;
                padding-right: 38px;
                border-radius: 0 21px 21px 0;
                font-size: 19px;
            }

    .venue-card {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 3px 38px 3px 38px;
    }

    .venue-info {
        min-height: 360px;
        padding: 42px 28px;
    }

    .venue-info__label {
        margin-bottom: 28px;
    }

    .venue-info h3 {
        font-size: 34px;
    }

    .venue-hotel {
        font-size: 20px;
    }

    .venue-info address {
        margin-bottom: 28px;
        font-size: 15px;
    }

    .venue-map,
    .venue-map iframe {
        min-height: 330px;
    }

        .venue-map::before {
            background: linear-gradient( 180deg, rgba(70, 111, 183, 0.25), transparent 18% );
        }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    color: #ffffff;
    font-size: 16px !important;
    background: var(--secondary);
}

#footer h4 {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

    #footer a {
            color: #ffffff !important;
        }