

/* Start:/local/templates/main/assets/css/p-event-detail.css?178582462015902*/
@import "/local/templates/main/assets/css/statistics-inline.css";
@import "/local/templates/main/assets/css/feedback.css";
@import "/local/templates/main/assets/css/contacts.css";
@import "/local/templates/main/assets/css/event-sidebar.css";
@import "/local/templates/main/assets/css/other-events.css";
@import "/local/templates/main/assets/css/sideblock.css";

/* ============================================
   ADAPTIVE — Event Detail
   ============================================ */

/* ---------- 1500px ---------- */
@media (max-width: 1500px) {
    .event-detail-wrapper {
        flex-direction: column;
        padding: 0;
        gap: 0;
        background: transparent;
    }

    .event-detail-inner {
        max-width: 100%;
        order: 2;
        background: #F1F5F9;
        padding: 32px 40px 80px;
    }

    .event-detail-sidebar-inline {
        width: 100%;
        max-width: 100%;
        margin-top: 0 !important;
        flex-direction: column;
        gap: 0;
        order: 1;
        background: #FFFFFF;
        padding: 32px 40px;
    }

    .event-detail-sidebar-inline .event-sidebar {
        max-width: 100%;
        box-shadow: none;
        border-radius: 0;
    }

    /* Галерея в hero на адаптиве — скрываем оригинальный блок */
    .event-banner-row,
    .event-detail-gallery {
        display: none !important;
    }

    /* Другие события скрываем */
    .other-events--detail {
        display: none;
    }
}

/* ---------- 1024px (планшет) ---------- */
@media (max-width: 1024px) {
    .event-detail-inner {
        padding: 28px 24px 60px;
    }

    .event-detail-sidebar-inline {
        padding: 28px 24px;
    }

    .event-detail-gallery__main {
        height: 360px;
    }

    .event-sidebar {
        max-width: 100%;
    }

    .event-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-content-block__title {
        font-size: 26px;
    }

    .cta-banner {
        padding: 60px 24px;
    }

    .cta-banner__image {
        display: none;
    }

    .cta-banner__title {
        font-size: 26px;
    }
}

/* ---------- 768px (мобильный) ---------- */
@media (max-width: 768px) {
    .event-detail-inner {
        padding: 24px 16px 40px;
    }

    .event-detail-sidebar-inline {
        padding: 24px 16px;
    }

    .event-banner-row {
        margin-top: -60px;
    }

    .event-detail-gallery {
        padding: 16px;
    }

    .event-detail-gallery__main {
        height: 220px;
    }

    .event-detail-gallery__thumbnail {
        width: 72px;
        height: 48px;
    }

    .event-detail-sidebar-inline {
        flex-direction: column;
    }

    .event-sidebar {
        min-width: unset;
    }

    .other-events {
        min-width: unset;
    }

    .event-info-cards {
        grid-template-columns: 1fr;
    }

    .event-content-block__title {
        font-size: 22px;
    }

    .event-content-block__subtitle {
        font-size: 20px;
    }

    .event-content-block__text {
        font-size: 16px;
    }

    .event-quote__text,
    .event-quote__author {
        font-size: 16px;
    }

    .event-quote {
        padding: 16px 20px 20px 16px;
    }

    .event-detail-content__blocks {
        gap: 32px;
    }

    .cta-banner {
        padding: 40px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .cta-banner__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .cta-banner__title {
        font-size: 22px;
    }

    .cta-banner__button {
        width: 100%;
        font-size: 16px;
        height: 52px;
    }

    .event-photo-gallery__item {
        width: 220px;
        height: 165px;
    }
}

/* ---------- 414px ---------- */
@media (max-width: 414px) {
    .event-detail-wrapper {
        padding: 0 12px 32px;
    }

    .event-detail-gallery__main {
        height: 180px;
    }

    .event-content-block__title {
        font-size: 20px;
    }

    .event-content-block__subtitle {
        font-size: 18px;
    }

    .event-content-block__text {
        font-size: 15px;
    }

    .event-photo-gallery__item {
        width: 180px;
        height: 135px;
    }
}

a {
    text-decoration-line: none;
}

html {
    font-family: 'Gilroy';
    color: var(--color-text);
}

body {
    margin: 0;
}

/* Event Detail Wrapper with Sidebar (overlaps hero banner) */
.event-detail-wrapper {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 0 var(--section-side-padding);
    padding-bottom: 80px;
    background: #F1F5F9;
    position: relative;
}

/* Inner container for banner and content */
.event-detail-inner {
    flex: 1;
    max-width: 1034px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Main content area */
.event-detail-main-full--no-gallery {
    margin-top: 80px; /* Отступ от hero-баннера когда нет галереи */
}

/* Banner Row (overlaps hero banner) */
.event-banner-row {
    display: flex;
    width: 100%;
    margin-top: -165px; /* Overlap with hero banner */
    position: relative;
    z-index: 10; /* Above hero banner */
}

/* Event Gallery */
.event-detail-gallery {
    width: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-detail-gallery__main {
    width: 100%;
    height: 552px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.event-detail-gallery__main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Gallery Navigation Buttons */
.event-detail-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px 12px 4px 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #263238;
}

.event-detail-gallery__nav:hover {
    background: #FFFFFF;
    transform: translateY(-50%) scale(1.05);
}

.event-detail-gallery__nav--prev {
    left: 12px;
    background: rgba(236, 239, 241, 0.48);
}

.event-detail-gallery__nav--next {
    right: 12px;
    background: rgba(236, 239, 241, 0.48);
}

.event-detail-gallery__nav svg {
    width: 20px;
    height: 20px;
}

.event-detail-gallery__thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0;
}

.event-detail-gallery__thumbnail {
    width: 98px;
    height: 62px;
    flex-shrink: 0;
    border: 1px solid #CFD8DC;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.event-detail-gallery__thumbnail:hover {
    border-color: #5B98F2;
}

.event-detail-gallery__thumbnail.active {
    border: 2px solid #5B98F2;
}

.event-detail-gallery__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Event Banner (legacy) */
.event-detail-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.12);
}

.event-detail-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Inline Sidebar (overlaps hero banner) */
.event-detail-sidebar-inline {
    width: 342px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: -165px; /* Align with banner top */
    display: flex;
    flex-direction: column;
    gap: 0;
}

.event-detail-sidebar-inline .other-events--detail {
    margin-top: 24px;
}

/* Full Width Main Content */
.event-detail-main-full {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Legacy Event Detail Content Section */
.event-detail-content {
    padding: 64px var(--section-side-padding);
    background: #FFFFFF;
}

.event-detail-content__container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Banner (legacy - for old pages) */
.event-detail-content__banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.event-detail-content__banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Text */
.event-detail-content__text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: #263238;
}

.event-detail-content__text p {
    margin: 0 0 16px 0;
}

.event-detail-content__text p:last-child {
    margin-bottom: 0;
}

.event-detail-content__text h2,
.event-detail-content__text h3 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    color: #263238;
    margin: 32px 0 16px 0;
}

.event-detail-content__text h2 {
    font-size: 32px;
    line-height: 1.2;
}

.event-detail-content__text h3 {
    font-size: 24px;
    line-height: 1.2;
}

.event-detail-content__text ul,
.event-detail-content__text ol {
    margin: 16px 0;
    padding-left: 24px;
}

.event-detail-content__text li {
    margin-bottom: 8px;
}

/* Back Button */
.event-detail-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #CFD8DC;
    border-radius: 4px 12px 4px 12px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #455A64;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: fit-content;
}

.event-detail-back-btn:hover {
    background: #F1F5F9;
    border-color: #90A4AE;
}

.event-detail-back-btn__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Content Blocks */
.event-detail-content__blocks {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.event-content-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-content-block__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-content-block__title {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2em;
    color: #263238;
    margin: 0;
}

.event-content-block__underline {
    width: 127px;
    height: 6px;
    background: #15E691;
}

.event-content-block__subtitle {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2em;
    color: #263238;
    margin: 0;
}

.event-content-block__heading {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 20px;
    line-height: 1.193em;
    color: #263238;
    margin: 0;
}

.event-content-block__text {
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6em;
    color: #263238;
    margin: 0;
}

.event-content-block__text--lead {
    font-size: 16px;
    line-height: 1.5em;
}

/* Photo Gallery */
.event-photo-gallery {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-photo-gallery__container {
    position: relative;
    display: flex;
    gap: 12px;
    overflow: hidden;
}

.event-photo-gallery__item {
    width: 298px;
    height: 224px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.event-photo-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-photo-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: none;
    border-radius: 4px 12px 4px 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.event-photo-gallery__nav:hover {
    background: #F5F5F5;
    transform: translateY(-50%) scale(1.05);
}

.event-photo-gallery__nav--prev {
    left: 7px;
    background: rgba(236, 239, 241, 0.48);
}

.event-photo-gallery__nav--next {
    right: 7px;
}

.event-photo-gallery__nav svg {
    width: 20px;
    height: 20px;
    stroke: #263238;
}

.event-photo-gallery__indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.event-photo-gallery__indicator {
    width: 28px;
    height: 4px;
    background: #CFD8DC;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-photo-gallery__indicator--active {
    width: 83px;
    height: 6px;
    background: #0A5BD7;
}

/* Quote Block */
.event-quote {
    display: flex;
    gap: 24px;
    padding: 24px 32px 32px 24px;
    border: 1px solid #CFD8DC;
    border-radius: 12px 32px 12px 12px;
    background: #FFFFFF;
}

.event-quote__avatar {
    width: 30px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    overflow: hidden;
}

.event-quote__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-quote__icon {
    width: 30px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.event-quote__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.event-quote__text {
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4em;
    color: #263238;
    margin: 0;
}

.event-quote__author {
    font-family: 'Gilroy';
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2em;
    color: #263238;
    margin: 0;
}

/* Info Cards Section */
.event-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/local/templates/main/assets/event-detail/card-bg.png') center/cover no-repeat;
    z-index: 1;
}

.event-info-card > * {
    position: relative;
    z-index: 2;
}

.event-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.event-info-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.event-info-card__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-info-card__title {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 20px;
    line-height: 1.193em;
    color: #263238;
    margin: 0;
}

.event-info-card__text {
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 18px;
    line-height: 1.333em;
    color: #78909C;
    margin: 0;
}

/* CTA Banner Section */
.cta-banner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px var(--section-side-padding);
    background: #1C4B77;
    overflow: hidden;
}

.cta-banner__container {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 1440px;
    z-index: 2;
}

.cta-banner__title {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 32px;
    line-height: 1.193em;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
}

.cta-banner__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 64px;
    padding: 12px 24px;
    background: #15E691;
    border-radius: 4px 12px 4px 12px;
    font-family: 'Gilroy';
    font-weight: 700;
    font-size: 20px;
    line-height: 1.209em;
    text-transform: uppercase;
    color: #ECEFF1;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cta-banner__button:hover {
    background: #00C853;
    transform: scale(1.02);
}

.cta-banner__image {
    position: absolute;
    right: 0;
    top: -54px;
    width: 984px;
    height: 445px;
    z-index: 1;
    pointer-events: none;
}

.cta-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* End */


/* Start:/local/components/custom/hero.banner/templates/event_detail/style.css?17858246204186*/
/* Event Detail Hero Section */
.event-detail-hero {
    position: relative;
    padding: 64px var(--section-side-padding) 237px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.event-detail-hero__container {
    position: relative;
    z-index: 2;
    max-width: 1034px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Content */
.event-detail-hero__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-detail-hero__title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.16;
    color: #FFFFFF;
    margin: 0;
}

.event-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Meta Badges */
.event-meta-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #ECEFF1;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.event-meta-badge:hover {
    background: rgba(255, 255, 255, 0.1);
}

.event-meta-badge__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.event-meta-badge__text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

/* Info Section */
.event-detail-hero__info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.event-detail-hero__info-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
}

.event-detail-hero__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.event-detail-hero__list-item {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFF;
    padding-left: 24px;
    position: relative;
}

.event-detail-hero__list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
}

/* Breadcrumb Override для event detail */
.event-detail-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.event-detail-hero .breadcrumb-item {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    color: #B0BEC5;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.event-detail-hero .breadcrumb-item:hover {
    color: #FFFFFF;
}

.event-detail-hero .breadcrumb-item:last-child {
    color: #FFFFFF;
    text-decoration: none;
    pointer-events: none;
}

.event-detail-hero .breadcrumb-line {
    width: 40px;
    height: 1px;
    background: #B0BEC5;
}

/* Слот для галереи — скрыт на десктопе */
.event-detail-hero__gallery-slot {
    display: none;
}

.event-detail-hero__gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Responsive */

@media (max-width: 1500px) {
    .event-detail-hero__gallery-slot {
        display: block;
    }

    .event-detail-hero__gallery-img {
        display: block;
        width: calc(100% - 40px);
        margin: 20px auto;
    }

    .event-detail-hero {
        padding-bottom: 48px;
    }

    .event-detail-hero__container {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .event-detail-hero__gallery-img {
        height: 200px;
    }
}

@media (max-width: 1024px) {
    .event-detail-hero {
        padding: 48px 24px 48px;
    }

    .event-detail-hero__title {
        font-size: 36px;
    }

    .event-meta-badge__text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .event-detail-hero {
        padding: 32px 16px 32px;
    }

    .event-detail-hero__container {
        gap: 32px;
    }

    .event-detail-hero__title {
        font-size: 26px;
        line-height: 1.3;
    }

    .event-meta-badge__text {
        font-size: 14px;
    }
}

/* End */


/* Start:/local/components/custom/custom.header/templates/.default/style.css?1785824620439*/
.custom-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
    width: 100%;
    flex: none;
    align-self: stretch;
}

.custom-header__title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.custom-header__underline {
    width: 127px;
    height: 6px;
    background: #15E691;
    border-radius: 3px;
    flex: none;
}

/* End */


/* Start:/local/components/custom/text.block/templates/.default/style.css?17859134902539*/
.text-block {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.text-block--with-bg {
    background: #FFFFFF;
    border: 1px solid #CFD8DC;
    border-radius: 12px;
    padding: 32px;
}

.text-block__content {
    font-size: 18px;
    color: #263238;
    line-height: 1.8;
}

.text-block--with-bg .text-block__content {
    font-size: 14px;
    line-height: 1.6;
    color: #546E7A;
}

.text-block__content p {
    margin: 0 0 15px 0;
}

.text-block__content p:last-child {
    margin-bottom: 0;
}

.text-block__content ul,
.text-block__content ol {
    margin: 0 0 15px 0;
    padding-left: 30px;
}

.text-block__content li {
    margin-bottom: 15px;
}

.text-block--with-bg .text-block__content ul,
.text-block--with-bg .text-block__content ol {
    margin: 0 0 16px 0;
    padding-left: 22px;
    list-style-position: outside;
}

.text-block--with-bg .text-block__content li {
    margin-bottom: 6px;
}

.text-block__content ul {
    list-style: disc;
}

.text-block__content ol {
    list-style: decimal;
}

.text-block--with-bg .text-block__content ul,
.text-block--with-bg .text-block__content ol {
    list-style: revert;
}

.text-block__content strong {
    color: #2773E4;
    font-weight: 600;
}

.text-block--with-bg .text-block__content strong {
    color: inherit;
    font-weight: 600;
}

.text-block__content h4,
.text-block__content h5,
.text-block__content h6 {
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.text-block--with-bg .text-block__content :where(h1, h2, h3, h4, h5, h6) {
    color: #263238;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.text-block--with-bg .text-block__content :where(h1) { font-size: 20px; }
.text-block--with-bg .text-block__content :where(h2) { font-size: 18px; }
.text-block--with-bg .text-block__content :where(h3) { font-size: 16px; }

.text-block--with-bg .text-block__content :where(h4, h5, h6) {
    font-size: 14px;
    margin-bottom: 10px;
}

.text-block__content a {
    color: #2773E4;
    text-decoration: none;
}

.text-block__content a:hover {
    text-decoration: underline;
}

.text-block__content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px 0;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .text-block__content {
        font-size: 16px;
        line-height: 1.7;
    }

    .text-block--with-bg {
        padding: 20px 16px;
    }

    .text-block--with-bg .text-block__content {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* End */


/* Start:/local/templates/main/assets/css/statistics-inline.css?17858246204389*/
.statistics {
    padding: 140px var(--section-side-padding);
    gap: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Порядок на десктопе: заголовок → кнопка → список */
.statistics__banner    { order: 1; }
.statistics__more-btn  { order: 2; }
.statistics__list      { order: 3; }

.statistics h3 {
    margin: 0px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 48px;
    line-height: 57px;
    color: var(--color-blue-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.statistics__banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.statistics__more-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 10px;
    margin-top: 24px;
    background: var(--color-secondary-01);
    border-radius: 4px 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.statistics__more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(21, 230, 145, 0.3);
}

.statistics__more-btn span {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.statistics__more-btn svg {
    stroke: white;
}

.statistics__list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    text-align: center;
    gap: 32px;
}

.statistics__fact {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.statistics__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 57px;
    color: #2773E4;
    transition: transform 0.3s ease, color 0.3s ease;
}

.statistics__description {
    margin-top: 12px;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #90A4AE;
    transition: transform 0.3s ease, color 0.3s ease;
}

.statistics__fact:hover .statistics__title {
    transform: translateY(-3px);
    color: #1565C0;
}

.statistics__fact:hover .statistics__description {
    transform: translateY(-2px);
    color: #607D8B;
}

/* ============================================
   ADAPTIVE — статистика (inline/services)
   ============================================ */

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
    .statistics {
        padding: 64px 40px;
    }

    .statistics h3 {
        font-size: 36px;
        line-height: 44px;
    }

    .statistics__title {
        font-size: 36px;
        line-height: 44px;
    }

    .statistics__list {
        gap: 24px;
    }
}

/* ---------- 768px (мобильный) ---------- */
@media (max-width: 768px) {
    .statistics {
        padding: 48px 20px;
        align-items: flex-start;
        gap: 24px;
    }

    .statistics__banner {
        align-items: flex-start;
        width: 100%;
    }

    .statistics h3 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 12px;
        justify-content: flex-start;
    }

    /* На мобиле сбрасываем order — элементы идут в порядке HTML: banner → list → btn */
    .statistics__banner    { order: unset; }
    .statistics__list      { order: unset; }
    .statistics__more-btn  { order: unset; align-self: flex-start; margin-top: 0; }

    .statistics__list {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        text-align: left;
        gap: 20px;
        width: 100%;
    }

    .statistics__fact {
        align-items: flex-start;
        flex: none;
        width: 100%;
    }

    .statistics__title br {
        display: none;
    }

    .statistics__title {
        font-size: 28px;
        line-height: 34px;
    }

    .statistics__description {
        font-size: 14px;
        line-height: 18px;
        margin-top: 6px;
    }
}

/* ---------- 480px ---------- */
@media (max-width: 480px) {
    .statistics {
        padding: 40px 16px;
    }

    .statistics h3 {
        font-size: 24px;
        line-height: 30px;
    }

    .statistics__title {
        font-size: 26px;
        line-height: 32px;
    }

    .statistics__description {
        font-size: 13px;
    }
}

/* End */


/* Start:/local/templates/main/assets/css/feedback.css?178582462013412*/
.feedback {
    padding: 80px var(--section-side-padding);
    display: flex;
    gap: 24px;
    background: url(/local/templates/main/assets/img/feedback.jpg);
}

.feedback__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.feedback__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 57px;
    color: #fff;
}

.feedback__desc {
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;
    color: #fff;
}

.feedback__header,
.feedback__form {
    flex: 1;
}

.feedback__contact__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.feedback__contact__form-row {
    display: flex;
    gap: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.feedback__contact__form-row:nth-child(1) {
    animation-delay: 0.2s;
}

.feedback__contact__form-row:nth-child(2) {
    animation-delay: 0.4s;
}

.feedback__contact__form-row:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback__contact__form-row--two-cols .feedback__contact__form-group {
    flex: 1;
}

.feedback__contact__form-row--full .feedback__contact__form-group {
    flex: 1;
}

.feedback__contact__form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideInUp 0.6s ease-out;
}

.feedback__contact__form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.feedback__contact__form-group:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback__contact__label {
    margin-bottom: 8px;
    color: #fff;

    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
}

.feedback__contact__input,
.feedback__contact__textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 16px 12px;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    transition: all 0.3s ease;
    position: relative;
}

.feedback__contact__input::placeholder,
.feedback__contact__textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    transition: all 0.3s ease;
}

.feedback__contact__textarea {
    resize: vertical;
    min-height: 80px;
    transition: min-height 0.3s ease;
    padding: 16px 12px;
}

.feedback__contact__textarea:focus {
    min-height: 120px;
}

.feedback__contact__submit-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px 24px;
    gap: 10px;

    background: #15E691;
    border-radius: 4px 12px;

    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
    overflow: visible;
}

.feedback__contact__submit-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
    overflow: visible;
}

.feedback__contact__submit-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
    box-shadow: 0 8px 25px rgba(21, 230, 145, 0.4);
}

.feedback__contact__form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.feedback__contact__checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid white;
    background: transparent;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    margin-right: 0;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feedback__contact__checkbox:hover {
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.feedback__contact__checkbox:checked {
    background: transparent;
    border-color: white;
    transform: scale(1);
}

.feedback__contact__checkbox:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkmark 0.3s ease-in-out;
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) scale(1.2);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.feedback__contact__checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ECEFF1;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.feedback__contact__checkbox-label:hover {
    color: #fff;
}

.feedback__contact__checkbox-copy {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35em;
}

.feedback__contact__checkbox-label a {
    color: inherit;
    text-decoration: underline;
}

.feedback__contact__checkbox-label a:hover {
    color: #fff;
}

.feedback__contact__input,
.feedback__contact__textarea {
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 12px;
    font-size: 16px;
    outline: none;
    /* убирает стандартный outline */
}

.feedback__contact__input:-webkit-autofill,
.feedback__contact__input:-webkit-autofill:hover,
.feedback__contact__input:-webkit-autofill:focus,
.feedback__contact__input:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    caret-color: white !important;
}

.feedback__contact__textarea:-webkit-autofill,
.feedback__contact__textarea:-webkit-autofill:hover,
.feedback__contact__textarea:-webkit-autofill:focus,
.feedback__contact__textarea:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    caret-color: white !important;
}

.feedback__contact__input:-webkit-autofill::first-line {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.feedback__contact__input:focus,
.feedback__contact__textarea:focus {
    background: transparent !important;
    border-bottom-color: #15E691;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(21, 230, 145, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 8px rgba(21, 230, 145, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(21, 230, 145, 0.5);
    }
    100% {
        box-shadow: 0 2px 8px rgba(21, 230, 145, 0.3);
    }
}

.feedback__contact__input:hover,
.feedback__contact__textarea:hover {
    border-bottom-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.feedback__contact__input:focus::placeholder,
.feedback__contact__textarea:focus::placeholder {
    color: rgba(21, 230, 145, 0.8);
    transform: translateY(-2px);
}

.feedback__contact__input:hover::placeholder,
.feedback__contact__textarea:hover::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.feedback__contact__input::placeholder,
.feedback__contact__textarea::placeholder {
    opacity: 1;
}

.feedback__contact__submit-btn:focus,
.feedback__contact__submit-btn:active,
.feedback__contact__submit-btn:focus-visible {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Анимация загрузки для кнопки */
.feedback__contact__submit-btn.loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.feedback__contact__submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Анимация успешной отправки */
.feedback__contact__submit-btn.success {
    background: #4CAF50;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Дополнительные анимации для улучшения UX */
.feedback__contact__input:invalid:not(:placeholder-shown),
.feedback__contact__textarea:invalid:not(:placeholder-shown) {
    border-bottom-color: #ff4444;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Анимация для подсветки обязательных полей */
.feedback__contact__form-group.required .feedback__contact__input:focus,
.feedback__contact__form-group.required .feedback__contact__textarea:focus {
    border-bottom-color: #15E691;
    box-shadow: 0 2px 8px rgba(21, 230, 145, 0.3);
}
/* Стили для заполненных полей */
.feedback__contact__form-group.filled .feedback__contact__input,
.feedback__contact__form-group.filled .feedback__contact__textarea {
    border-bottom-color: rgba(21, 230, 145, 0.6);
    transform: translateY(-1px);
}

.feedback__contact__form-group.focused .feedback__contact__input,
.feedback__contact__form-group.focused .feedback__contact__textarea {
    border-bottom-width: 2px;
}

/* Дополнительные стили для подавления автозаполнения */
.feedback__contact__input:-internal-autofill-selected {
    background-color: transparent !important;
    background-image: none !important;
    color: white !important;
}

/* Для Firefox */
.feedback__contact__input:-moz-autofill {
    background: transparent !important;
    color: white !important;
}

/* Альтернативный метод для Webkit */
@-webkit-keyframes autofill {
    0%,100% {
        color: white;
        background: transparent;
    }
}

.feedback__contact__input:-webkit-autofill {
    -webkit-animation-delay: 1s;
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

/* Еще более агрессивные стили */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Специально для наших полей */
.feedback__contact__input {
    background-image: none !important;
    background-color: transparent !important;
    background: transparent !important;
}
/* ============================================
   ADAPTIVE — Feedback Section
   ============================================ */

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
    .feedback {
        flex-direction: column;
        padding: 48px 24px;
        gap: 32px;
    }

    .feedback__title {
        font-size: 32px;
        line-height: normal;
    }

    .feedback__desc {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Двухколоночные строки → одна колонка */
    .feedback__contact__form-row--two-cols {
        flex-direction: column;
    }

    /* Кнопка и чекбокс — вертикально */
    .feedback__contact__form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .feedback__contact__submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
    .feedback {
        padding: 36px 16px;
        gap: 24px;
    }

    .feedback__title {
        font-size: 28px;
    }

    .feedback__desc {
        font-size: 14px;
    }
}

/* ---------- 414px ---------- */
@media (max-width: 414px) {
    .feedback {
        padding: 32px 16px;
    }

    .feedback__title {
        font-size: 24px;
    }
}

/* End */


/* Start:/local/templates/main/assets/css/contacts.css?17858246202868*/
.contacts {
    position: relative;
    overflow: hidden;
    height: 218px;
    padding: 64px var(--section-side-padding);
    padding-right: 540px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: #37474F;
    gap: 40px;
}

.contacts__block {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 8px;
}

.contacts__block-header {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #90A4AE;
    white-space: nowrap;
}

.contacts__block:first-child .contacts__block-body {
    font-size: 24px;
}

.contacts__block-body {
    font-weight: 700;
    font-size: 32px;
    line-height: 29px;
    color: #ECEFF1;
    white-space: nowrap;
}

.contacts__block-body a {
    color: #ECEFF1;
    text-decoration: none;
}

.contacts__content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.contacts__svg {
    position: absolute;
    left: 1457px;
    top: 0px;
    transform: rotate(-15deg);
}

/* ============================================
   ADAPTIVE — Contacts Section
   ============================================ */

/* ---------- 1300px ---------- */
@media (max-width: 1300px) {
    .contacts {
        /* SVG уже уходит за край — освобождаем ширину под текст в 1 строку */
        padding-right: 48px;
        gap: 28px;
    }

    .contacts__block-body {
        font-size: 22px;
        line-height: 1.2;
    }

    .contacts__block:first-child .contacts__block-body {
        font-size: 18px;
        line-height: 1.25;
    }

    .contacts__block-header {
        font-size: 16px;
    }
}

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
    .contacts {
        height: auto;
        padding: 36px 24px;
        padding-right: 24px; /* сбрасываем десктопный 540px */
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .contacts__block-header,
    .contacts__block-body {
        white-space: normal;
    }

    .contacts__block-body {
        font-size: 22px;
        line-height: 1.3;
    }

    .contacts__block:first-child .contacts__block-body {
        font-size: 18px;
    }

    .contacts__svg {
        display: none;
    }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
    .contacts {
        padding: 28px 16px;
        gap: 20px;
    }

    .contacts__block-body {
        font-size: 20px;
    }

    .contacts__block:first-child .contacts__block-body {
        font-size: 16px;
    }

    .contacts__block-header {
        font-size: 16px;
    }
}

/* ---------- 414px ---------- */
@media (max-width: 414px) {
    .contacts {
        padding: 24px 16px;
        gap: 16px;
    }

    .contacts__block-body {
        font-size: 18px;
    }
}

/* End */
/* /local/templates/main/assets/css/p-event-detail.css?178582462015902 */
/* /local/components/custom/hero.banner/templates/event_detail/style.css?17858246204186 */
/* /local/components/custom/custom.header/templates/.default/style.css?1785824620439 */
/* /local/components/custom/text.block/templates/.default/style.css?17859134902539 */
/* /local/templates/main/assets/css/statistics-inline.css?17858246204389 */
/* /local/templates/main/assets/css/feedback.css?178582462013412 */
/* /local/templates/main/assets/css/contacts.css?17858246202868 */
