
/* ========================================================
   SOURCE: aio-home-museum.css
   ======================================================== */

/* ==========================================================================
   AIO HOME MUSEUM EDITORIAL STYLE
   Главная страница АНО Автомобильное историческое общество
   ========================================================================== */

@font-face {
    font-family: "AIO Cormorant";
    src: url("../fonts/CormorantGaramond-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AIO Cormorant";
    src: url("../fonts/CormorantGaramond-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AIO Cormorant";
    src: url("../fonts/CormorantGaramond-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AIO Montserrat";
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AIO Montserrat";
    src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AIO Montserrat";
    src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --aio-ivory: #F8F5EF;
    --aio-cream: #F2E3CF;
    --aio-navy: #072D5B;
    --aio-navy-deep: #061F3E;
    --aio-red: #C85726;
    --aio-graphite: #2D2D2D;
    --aio-line: rgba(7, 45, 91, .14);
    --aio-serif: "AIO Cormorant", "Cormorant Garamond", Georgia, serif;
    --aio-sans: "AIO Montserrat", Montserrat, Arial, sans-serif;
}

/* Общий тон главной */
body,
.aio-page,
.aio-main {
    background: var(--aio-ivory) !important;
    color: var(--aio-graphite) !important;
    font-family: var(--aio-sans) !important;
}

/* Контейнер */
.aio-container {
    width: min(100% - 48px, 1180px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.aio-home-hero-museum {
    position: relative !important;
    overflow: hidden !important;
    min-height: clamp(500px, 58vh, 650px) !important;
    background:
        radial-gradient(circle at 86% 24%, rgba(200, 87, 38, .08), transparent 32%),
        linear-gradient(90deg, #F8F5EF 0%, #F8F5EF 48%, #F2E3CF 100%) !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
}

.aio-home-hero-museum__grid {
    position: relative !important;
    display: block !important;
    min-height: clamp(500px, 58vh, 650px) !important;
    padding-top: clamp(42px, 5vw, 68px) !important;
    padding-bottom: clamp(42px, 5vw, 68px) !important;
}

.aio-home-hero-museum__content {
    position: relative !important;
    z-index: 10 !important;
    width: min(48%, 700px) !important;
    max-width: 700px !important;
    min-height: clamp(390px, 46vh, 520px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.aio-home-hero-museum .aio-kicker,
.aio-home-hero-museum .aio-kicker_red {
    margin: 0 0 20px !important;
    color: var(--aio-red) !important;
    font-family: var(--aio-sans) !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    letter-spacing: .18em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.aio-home-hero-museum h1 {
    margin: 0 !important;
    max-width: 720px !important;
    color: var(--aio-navy-deep) !important;
    background: transparent !important;
    font-family: var(--aio-serif) !important;
    font-size: clamp(56px, 5.5vw, 84px) !important;
    line-height: .94 !important;
    letter-spacing: .005em !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.aio-home-hero-museum__lead {
    display: block !important;
    max-width: 610px !important;
    margin: 24px 0 0 !important;
    color: rgba(45,45,45,.76) !important;
    background: transparent !important;
    font-family: var(--aio-sans) !important;
    font-size: clamp(15px, 1vw, 18px) !important;
    line-height: 1.68 !important;
    text-shadow: none !important;
}

.aio-home-hero-museum__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 28px !important;
}

/* Кнопки: строгие, не таблеточные */
.aio-home-hero-museum .aio-btn,
.aio-final-cta .aio-btn,
.aio-btn {
    border-radius: 0 !important;
    min-height: 42px !important;
    padding: 13px 20px !important;
    font-family: var(--aio-sans) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.aio-home-hero-museum .aio-btn_primary,
.aio-btn_primary {
    background: var(--aio-red) !important;
    border: 1px solid var(--aio-red) !important;
    color: #fff !important;
}

.aio-home-hero-museum .aio-btn_secondary,
.aio-btn_secondary {
    background: transparent !important;
    border: 1px solid rgba(200,87,38,.62) !important;
    color: var(--aio-navy-deep) !important;
}

.aio-home-hero-museum .aio-btn:hover,
.aio-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Медиа справа как музейная плоскость, а не картинка-карточка */
.aio-home-hero-museum__media {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: calc(-1 * max(24px, calc((100vw - 1180px) / 2))) !important;
    bottom: 0 !important;
    left: 39% !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: hidden !important;
}

.aio-home-hero-museum__media::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 50% !important;
    z-index: 5 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            #F8F5EF 0%,
            rgba(248,245,239,.98) 18%,
            rgba(248,245,239,.74) 42%,
            rgba(248,245,239,.26) 68%,
            rgba(248,245,239,0) 100%
        ) !important;
}

.aio-home-hero-museum__media::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            rgba(248,245,239,.70) 4%,
            rgba(248,245,239,0) 17%,
            rgba(248,245,239,0) 82%,
            rgba(248,245,239,.62) 96%,
            #F8F5EF 100%
        ),
        linear-gradient(
            90deg,
            rgba(6,31,62,.08) 0%,
            rgba(6,31,62,0) 48%,
            rgba(200,87,38,.07) 100%
        ) !important;
}

.aio-home-hero-museum__fallback-image,
.aio-home-hero-museum__video,
.aio-home-hero-museum__media img,
.aio-home-hero-museum__media video {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.86) contrast(.98) brightness(.98) !important;
    opacity: .92 !important;
}

.aio-home-hero-museum__veil,
.aio-home-hero-museum__placeholder,
.aio-home-hero-museum__caption {
    display: none !important;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.aio-section {
    padding-top: clamp(56px, 6vw, 86px) !important;
    padding-bottom: clamp(56px, 6vw, 86px) !important;
    background: var(--aio-ivory) !important;
}

.aio-section_tinted,
.aio-home-mission {
    background: var(--aio-cream) !important;
}

.aio-kicker,
.aio-kicker_dark,
.aio-kicker_light {
    font-family: var(--aio-sans) !important;
    color: var(--aio-red) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-section h2,
.aio-home-about h2,
.aio-home-mission h2,
.aio-home-projects h2,
.aio-home-publishing h2,
.aio-home-partners-logos h2,
.aio-final-cta h2 {
    color: var(--aio-navy-deep) !important;
    font-family: var(--aio-serif) !important;
    font-size: clamp(38px, 3.8vw, 58px) !important;
    line-height: .98 !important;
    letter-spacing: .005em !important;
    font-weight: 700 !important;
}

.aio-section p,
.aio-home-text,
.aio-section-lead {
    font-family: var(--aio-sans) !important;
    color: rgba(45,45,45,.76) !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
}

/* О нас */
.aio-home-two-col {
    display: grid !important;
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr) !important;
    gap: clamp(44px, 7vw, 96px) !important;
    align-items: start !important;
}

.aio-home-about {
    border-top: 1px solid var(--aio-line) !important;
    border-bottom: 1px solid var(--aio-line) !important;
}

/* Карточки */
.aio-card,
.aio-event-card,
.aio-home-publishing-card,
.aio-project-card {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(255,255,255,.48) !important;
}

.aio-card h3,
.aio-project-card h3,
.aio-event-card h3,
.aio-home-publishing-card h3 {
    color: var(--aio-navy-deep) !important;
    font-family: var(--aio-serif) !important;
    font-weight: 700 !important;
}

.aio-card-number {
    color: rgba(200,87,38,.86) !important;
    font-family: var(--aio-serif) !important;
}

/* События */
.aio-section_dark,
.aio-events-preview {
    background:
        radial-gradient(circle at 82% 18%, rgba(200,87,38,.16), transparent 32%),
        linear-gradient(135deg, #061F3E 0%, #072D5B 100%) !important;
    color: var(--aio-ivory) !important;
}

.aio-section_dark h2,
.aio-events-preview h2,
.aio-section_dark h3,
.aio-events-preview h3,
.aio-section_dark p,
.aio-events-preview p {
    color: rgba(248,245,239,.92) !important;
}

.aio-section_dark .aio-kicker,
.aio-events-preview .aio-kicker {
    color: #F2E3CF !important;
}

.aio-event-date {
    border-radius: 0 !important;
    background: var(--aio-red) !important;
    color: #fff !important;
}

/* Издания */
.aio-home-publishing-card {
    grid-template-columns: 190px minmax(0, 1fr) !important;
    padding: 22px !important;
}

.aio-home-publishing-card__cover {
    border-radius: 0 !important;
}

/* Фотоархив */
.aio-home-photoarchive-card {
    border-radius: 0 !important;
}

.aio-home-photoarchive-card img {
    filter: saturate(.82) contrast(.96) brightness(.94) !important;
}

/* Партнёры */
.aio-home-partners-logos__item,
.aio-home-partner-logo {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Финальный CTA */
.aio-final-cta {
    background:
        radial-gradient(circle at 80% 10%, rgba(200,87,38,.12), transparent 32%),
        linear-gradient(135deg, #061F3E 0%, #072D5B 100%) !important;
    color: var(--aio-ivory) !important;
    padding-top: clamp(58px, 7vw, 96px) !important;
    padding-bottom: clamp(58px, 7vw, 96px) !important;
}

.aio-final-cta h2,
.aio-final-cta p,
.aio-final-cta .aio-kicker {
    color: var(--aio-ivory) !important;
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 1100px) {
    .aio-home-hero-museum,
    .aio-home-hero-museum__grid {
        min-height: 0 !important;
    }

    .aio-home-hero-museum__content {
        width: 100% !important;
        min-height: 0 !important;
        max-width: 720px !important;
    }

    .aio-home-hero-museum__media {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 330px !important;
        margin-top: 32px !important;
    }

    .aio-home-hero-museum__media::before {
        width: 100% !important;
        background:
            linear-gradient(
                180deg,
                rgba(248,245,239,0) 0%,
                rgba(248,245,239,.18) 100%
            ) !important;
    }

    .aio-home-two-col {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

@media (max-width: 560px) {
    .aio-container {
        width: min(100% - 28px, 1180px) !important;
    }

    .aio-home-hero-museum__grid {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .aio-home-hero-museum h1 {
        font-size: clamp(40px, 12vw, 56px) !important;
    }

    .aio-home-hero-museum__lead {
        font-size: 15px !important;
    }

    .aio-home-hero-museum__actions {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .aio-home-hero-museum__media {
        height: 250px !important;
    }

    .aio-section h2,
    .aio-home-about h2,
    .aio-home-mission h2,
    .aio-home-projects h2,
    .aio-home-publishing h2,
    .aio-home-partners-logos h2,
    .aio-final-cta h2 {
        font-size: clamp(34px, 10vw, 44px) !important;
    }
}


/* ========================================================
   SOURCE: aio-lk-final.css
   ======================================================== */

/* AIO LK FINAL — loaded after global design system */

@font-face {
    font-family: "AIO Lateinisch";
    src: url("/themes/aio/assets/fonts/DXLateinischBookMediumOTF.otf") format("opentype"),
         url("/themes/aio/assets/Fonts/DXLateinischBookMediumOTF.otf") format("opentype"),
         url("/themes/aio/Fonts/DXLateinischBookMediumOTF.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AIO Rublenyi";
    src: url("/themes/aio/assets/fonts/DXRublenyiOTF.otf") format("opentype"),
         url("/themes/aio/assets/Fonts/DXRublenyiOTF.otf") format("opentype"),
         url("/themes/aio/Fonts/DXRublenyiOTF.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body .aio-lk-page,
body .aio-lk-page p,
body .aio-lk-page a,
body .aio-lk-page span,
body .aio-lk-page label,
body .aio-lk-page input,
body .aio-lk-page textarea,
body .aio-lk-page select,
body .aio-lk-page button,
body .aio-lk-page em {
    font-family: "AIO Lateinisch", Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
}

body .aio-lk-page h1,
body .aio-lk-page h2,
body .aio-lk-page h3,
body .aio-lk-page strong {
    font-family: "AIO Rublenyi", "AIO Lateinisch", Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
}

body .aio-lk-page {
    background: #F8F5EF !important;
    color: #2D2D2D !important;
}

body .aio-lk-hero {
    padding: 22px 0 24px !important;
    background: linear-gradient(135deg, #070D18 0%, #09213F 100%) !important;
    color: #F8F5EF !important;
}

body .aio-lk-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 30px !important;
    align-items: center !important;
}

body .aio-lk-hero h1 {
    max-width: 680px !important;
    margin: 0 0 8px !important;
    color: #F8F5EF !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

body .aio-lk-hero p {
    max-width: 660px !important;
    margin: 0 !important;
    color: rgba(248,245,239,.68) !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
}

body .aio-lk-kicker {
    margin: 0 0 8px !important;
    color: rgba(138,47,35,.72) !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

body .aio-lk-hero .aio-lk-kicker {
    color: #F2E3CF !important;
}

body .aio-lk-public-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 9px 16px !important;
    border: 1px solid rgba(242,227,207,.28) !important;
    border-radius: 999px !important;
    color: #F2E3CF !important;
    text-decoration: none !important;
    font-size: 10px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body .aio-lk-layout {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
    padding-top: 42px !important;
    padding-bottom: 76px !important;
}

body .aio-lk-sidebar {
    position: sticky !important;
    top: 104px !important;
}

body .aio-lk-profile-card,
body .aio-lk-card {
    border: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.64) !important;
    box-shadow: 0 18px 50px rgba(7,23,44,.055) !important;
}

body .aio-lk-profile-card {
    padding: 16px !important;
}

body .aio-lk-person {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
}

body .aio-lk-person__photo {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #07172C !important;
    color: #F2E3CF !important;
}

body .aio-lk-person__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body .aio-lk-person__info strong {
    display: block !important;
    color: #07172C !important;
    font-size: 21px !important;
    line-height: 1 !important;
}

body .aio-lk-person__info em {
    display: block !important;
    margin-top: 4px !important;
    color: rgba(45,45,45,.55) !important;
    font-size: 12px !important;
    font-style: normal !important;
}

body .aio-lk-menu {
    display: grid !important;
    gap: 7px !important;
}

body .aio-lk-menu a {
    display: flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.62) !important;
    color: #072D5B !important;
    text-decoration: none !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body .aio-lk-menu a.is-active,
body .aio-lk-menu a.is-active:hover {
    border-color: rgba(200,87,38,.32) !important;
    background: rgba(200,87,38,.13) !important;
    color: #8A2F23 !important;
}

body .aio-lk-head {
    max-width: 760px !important;
    margin: 0 0 22px !important;
}

body .aio-lk-head h2 {
    margin: 0 0 8px !important;
    color: #072D5B !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1 !important;
}

body .aio-lk-head p {
    max-width: 660px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.62) !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
}

body .aio-lk-form {
    display: grid !important;
    gap: 18px !important;
}

body .aio-lk-password-form {
    margin-top: 24px !important;
}

body .aio-lk-card {
    padding: 20px !important;
}

body .aio-lk-card h3 {
    margin: 0 0 16px !important;
    color: #072D5B !important;
    font-size: 26px !important;
    line-height: 1 !important;
}

body .aio-lk-card p {
    margin: 0 0 14px !important;
    color: rgba(45,45,45,.62) !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
}

body .aio-lk-card_photo {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: center !important;
}

body .aio-lk-photo-preview {
    aspect-ratio: 16 / 10 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #07172C !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #F2E3CF !important;
}

body .aio-lk-photo-preview img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body .aio-lk-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 16px !important;
}

body .aio-lk-fields__full {
    grid-column: 1 / -1 !important;
}

body .aio-lk-fields label {
    display: grid !important;
    gap: 6px !important;
}

body .aio-lk-fields label > span {
    color: rgba(138,47,35,.76) !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body .aio-lk-fields input,
body .aio-lk-fields textarea,
body .aio-lk-fields select {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    border-radius: 13px !important;
    background: rgba(248,245,239,.78) !important;
    color: #2D2D2D !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

body .aio-lk-check {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body .aio-lk-check input {
    width: auto !important;
    min-height: 0 !important;
}

body .aio-lk-actions {
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 4px !important;
}

body .aio-lk-actions button {
    min-height: 38px !important;
    padding: 10px 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

@media (max-width: 900px) {
    body .aio-lk-hero__inner,
    body .aio-lk-layout,
    body .aio-lk-card_photo,
    body .aio-lk-fields {
        grid-template-columns: 1fr !important;
    }

    body .aio-lk-sidebar {
        position: static !important;
    }
}

/* AIO LK — cleanup after account pages unification */

body .aio-lk-profile-status {
    margin: -4px 0 14px !important;
    padding: 8px 10px !important;
    border-radius: 999px !important;
    background: rgba(200,87,38,.10) !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body .aio-lk-profile-status span {
    font-family: inherit !important;
}

body .aio-lk-field-title {
    display: block !important;
    margin-bottom: 8px !important;
    color: rgba(138,47,35,.76) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body .aio-lk-club-checks {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 12px !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 14px !important;
    background: rgba(248,245,239,.66) !important;
}

body .aio-lk-club-checks .aio-lk-check {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 30px !important;
}

body .aio-lk-club-checks input {
    width: auto !important;
    min-height: 0 !important;
}

body .aio-lk-club-checks span {
    color: #072D5B !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body .aio-lk-muted {
    margin: 0 !important;
    color: rgba(45,45,45,.58) !important;
    font-size: 13px !important;
}

body .aio-lk-switch-list {
    display: grid !important;
    gap: 10px !important;
}

body .aio-lk-switch {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(7,45,91,.09) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.62) !important;
}

body .aio-lk-switch input {
    width: 18px !important;
    min-height: 18px !important;
    margin: 2px 0 0 !important;
}

body .aio-lk-switch strong {
    display: block !important;
    margin-bottom: 4px !important;
    color: #072D5B !important;
    font-family: "AIO Rublenyi", "AIO Lateinisch", Georgia, serif !important;
    font-size: 20px !important;
    line-height: 1.05 !important;
    font-weight: 400 !important;
}

body .aio-lk-switch em {
    display: block !important;
    color: rgba(45,45,45,.60) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-style: normal !important;
}

body .aio-lk-menu a[href="/account"] {
    display: none !important;
}

@media (max-width: 760px) {
    body .aio-lk-club-checks {
        grid-template-columns: 1fr !important;
    }
}

/* AIO LK — final label unification and menu cleanup */

/* Убираем старый обзор из любых оставшихся меню */
body .aio-account-nav a[href="/account"],
body .aio-lk-menu a[href="/account"] {
    display: none !important;
}

/* Все служебные подписи в кабинете — один стиль */
body .aio-lk-kicker,
body .aio-account-head .aio-kicker,
body .aio-account-head .aio-kicker_dark,
body .aio-account-main .aio-kicker,
body .aio-account-content .aio-kicker,
body .aio-account-content .aio-kicker_dark,
body .aio-account-form span,
body .aio-account-form-card label > span,
body .aio-lk-fields label > span,
body .aio-lk-field-title {
    color: rgba(138,47,35,.74) !important;
    font-family: "AIO Lateinisch", Georgia, "Times New Roman", serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

/* Убираем серые крупные подписи типа АНКЕТА / НАСТРОЙКИ / АВТОРСКИЕ МАТЕРИАЛЫ */
body .aio-account-head .aio-kicker,
body .aio-account-head .aio-kicker_dark {
    margin-bottom: 8px !important;
}

/* Активные пункты меню — одинаково на всех страницах */
body .aio-lk-menu a.is-active,
body .aio-lk-menu a.is-active:hover,
body .aio-account-nav a.is-active,
body .aio-account-nav a.is-active:hover {
    border-color: rgba(200,87,38,.32) !important;
    background: rgba(200,87,38,.13) !important;
    color: #8A2F23 !important;
}

/* Старые кнопки/формы в кабинетных страницах тоже не Montserrat */
body .aio-account-page,
body .aio-account-page *,
body .aio-account-section,
body .aio-account-section *,
body .aio-account-form,
body .aio-account-form *,
body .aio-account-main,
body .aio-account-main * {
    font-family: "AIO Lateinisch", Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
}

body .aio-account-page h1,
body .aio-account-page h2,
body .aio-account-page h3,
body .aio-account-page strong,
body .aio-account-section h1,
body .aio-account-section h2,
body .aio-account-section h3,
body .aio-account-section strong {
    font-family: "AIO Rublenyi", "AIO Lateinisch", Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
}

/* Публичность: заголовки карточек не должны быть огромным Montserrat */
body .aio-lk-switch strong {
    font-family: "AIO Rublenyi", "AIO Lateinisch", Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    color: #072D5B !important;
}


/* AIO LK cars list */

body .aio-lk-cars-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-bottom: 34px !important;
}

body .aio-lk-car-card {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    gap: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.64) !important;
    box-shadow: 0 18px 50px rgba(7,23,44,.055) !important;
}

body .aio-lk-car-card__photo {
    min-height: 210px !important;
    background: #07172C !important;
    color: #F2E3CF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body .aio-lk-car-card__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(1) contrast(1.02) !important;
}

body .aio-lk-car-card__body {
    padding: 18px !important;
}

body .aio-lk-car-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-bottom: 12px !important;
}

body .aio-lk-car-card__meta span {
    padding: 5px 8px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.08) !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body .aio-lk-car-card h3 {
    margin: 0 0 10px !important;
    color: #072D5B !important;
    font-family: "AIO Rublenyi", "AIO Lateinisch", Georgia, serif !important;
    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body .aio-lk-car-card dl {
    display: grid !important;
    gap: 5px !important;
    margin: 0 0 12px !important;
}

body .aio-lk-car-card dl div {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 10px !important;
}

body .aio-lk-car-card dt {
    color: rgba(138,47,35,.74) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body .aio-lk-car-card dd {
    margin: 0 !important;
    color: rgba(45,45,45,.72) !important;
    font-size: 13px !important;
}

body .aio-lk-car-card p {
    margin: 0 !important;
    color: rgba(45,45,45,.62) !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
}

body .aio-lk-head_inner {
    margin-top: 10px !important;
}

@media (max-width: 980px) {
    body .aio-lk-cars-list {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body .aio-lk-car-card {
        grid-template-columns: 1fr !important;
    }

    body .aio-lk-car-card__photo {
        min-height: 180px !important;
    }
}


/* AIO LK cars — calmer existing car cards */

body .aio-lk-cars-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 38px !important;
}

body .aio-lk-car-card {
    display: grid !important;
    grid-template-columns: minmax(260px, 36%) minmax(0, 1fr) !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.66) !important;
    box-shadow: 0 18px 50px rgba(7,23,44,.055) !important;
}

body .aio-lk-car-card__photo {
    min-height: 250px !important;
    background: #07172C !important;
    color: #F2E3CF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body .aio-lk-car-card__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(.75) contrast(1.02) !important;
}

body .aio-lk-car-card__body {
    padding: 22px 24px !important;
}

body .aio-lk-car-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-bottom: 14px !important;
}

body .aio-lk-car-card__meta span {
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.075) !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body .aio-lk-car-card h3 {
    margin: 0 0 14px !important;
    color: #072D5B !important;
    font-family: "AIO Rublenyi", "AIO Lateinisch", Georgia, serif !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body .aio-lk-car-card dl {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 0 16px !important;
}

body .aio-lk-car-card dl div {
    display: grid !important;
    gap: 4px !important;
}

body .aio-lk-car-card dt {
    color: rgba(138,47,35,.74) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body .aio-lk-car-card dd {
    margin: 0 !important;
    color: rgba(45,45,45,.74) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

body .aio-lk-car-card p {
    max-width: 620px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

/* Форма ниже — чуть отделяем от списка */
body .aio-lk-cars-form {
    margin-top: 10px !important;
}

@media (max-width: 900px) {
    body .aio-lk-car-card {
        grid-template-columns: 1fr !important;
    }

    body .aio-lk-car-card__photo {
        min-height: 210px !important;
    }

    body .aio-lk-car-card dl {
        grid-template-columns: 1fr !important;
    }
}


/* AIO LK cars edit controls */

body .aio-lk-car-card__topline {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 12px !important;
}

body .aio-lk-car-card__topline h3 {
    margin: 0 !important;
}

body .aio-lk-edit-link,
body .aio-lk-cancel-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 7px 11px !important;
    border: 1px solid rgba(200,87,38,.30) !important;
    border-radius: 999px !important;
    background: rgba(200,87,38,.10) !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body .aio-lk-actions {
    gap: 10px !important;
    align-items: center !important;
}


/* AIO LK cars edit controls */

body .aio-lk-car-card__topline {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 12px !important;
}

body .aio-lk-car-card__topline h3 {
    margin: 0 !important;
}

body .aio-lk-edit-link,
body .aio-lk-cancel-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 7px 11px !important;
    border: 1px solid rgba(200,87,38,.30) !important;
    border-radius: 999px !important;
    background: rgba(200,87,38,.10) !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body .aio-lk-actions {
    gap: 10px !important;
    align-items: center !important;
}


/* AIO LK cars edit controls */

body .aio-lk-car-card__topline {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 12px !important;
}

body .aio-lk-car-card__topline h3 {
    margin: 0 !important;
}

body .aio-lk-edit-link,
body .aio-lk-cancel-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 7px 11px !important;
    border: 1px solid rgba(200,87,38,.30) !important;
    border-radius: 999px !important;
    background: rgba(200,87,38,.10) !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body .aio-lk-actions {
    gap: 10px !important;
    align-items: center !important;
}


/* AIO LK cars full rebuild polish */

body .aio-lk-cars-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 38px !important;
}

body .aio-lk-car-card {
    display: grid !important;
    grid-template-columns: minmax(260px, 34%) minmax(0, 1fr) !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.68) !important;
    box-shadow: 0 18px 50px rgba(7,23,44,.055) !important;
}

body .aio-lk-car-card__photo {
    min-height: 260px !important;
    background: #07172C !important;
    color: #F2E3CF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body .aio-lk-car-card__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(.65) contrast(1.02) !important;
}

body .aio-lk-car-card__body {
    padding: 22px 24px !important;
}

body .aio-lk-car-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-bottom: 14px !important;
}

body .aio-lk-car-card__meta span {
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.075) !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body .aio-lk-car-card__topline {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
}

body .aio-lk-car-card h3 {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: "AIO Rublenyi", "AIO Lateinisch", Georgia, serif !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body .aio-lk-car-card dl {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 0 16px !important;
}

body .aio-lk-car-card dl div {
    display: grid !important;
    gap: 4px !important;
}

body .aio-lk-car-card dt {
    color: rgba(138,47,35,.74) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body .aio-lk-car-card dd {
    margin: 0 !important;
    color: rgba(45,45,45,.74) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

body .aio-lk-car-card p {
    max-width: 680px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

body .aio-lk-edit-link,
body .aio-lk-cancel-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 7px 11px !important;
    border: 1px solid rgba(200,87,38,.30) !important;
    border-radius: 999px !important;
    background: rgba(200,87,38,.10) !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body .aio-lk-card_photo .aio-lk-photo-preview img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 980px) {
    body .aio-lk-car-card {
        grid-template-columns: 1fr !important;
    }

    body .aio-lk-car-card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    body .aio-lk-car-card dl {
        grid-template-columns: 1fr !important;
    }
}


/* AIO LK cars — final readable specs layout */

body .aio-lk-car-card dl {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 22px !important;
    margin: 0 0 16px !important;
}

body .aio-lk-car-card dl div {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: baseline !important;
    min-width: 0 !important;
}

body .aio-lk-car-card dt {
    min-width: 0 !important;
    white-space: nowrap !important;
}

body .aio-lk-car-card dd {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}

/* Public member car specs — readable, no overlap */

body .aio-member-car-card__specs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 20px !important;
}

body .aio-member-car-card__specs div {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: baseline !important;
    min-width: 0 !important;
}

body .aio-member-car-card__specs dt {
    white-space: nowrap !important;
}

body .aio-member-car-card__specs dd {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
    body .aio-lk-car-card dl,
    body .aio-member-car-card__specs {
        grid-template-columns: 1fr !important;
    }
}


/* Public member car specs — vertical elegant list */

body .aio-member-car-card__specs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    margin-top: 14px !important;
}

body .aio-member-car-card__specs div {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: baseline !important;
    min-width: 0 !important;
}

body .aio-member-car-card__specs dt {
    color: rgba(138,47,35,.78) !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body .aio-member-car-card__specs dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}

body .aio-member-car-card__preview {
    margin-bottom: 8px !important;
}

body .aio-member-car-more {
    margin: 4px 0 12px !important;
}


/* Public member car specs — two clean columns */

body .aio-member-car-card__text {
    padding-top: clamp(24px, 3vw, 38px) !important;
}

body .aio-member-car-card__specs {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(3, auto) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 28px !important;
    margin-top: 16px !important;
}

body .aio-member-car-card__specs div {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: baseline !important;
    min-width: 0 !important;
}

body .aio-member-car-card__specs dt {
    color: rgba(138,47,35,.78) !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body .aio-member-car-card__specs dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}

body .aio-member-car-card__preview {
    margin-bottom: 8px !important;
}

@media (max-width: 760px) {
    body .aio-member-car-card__specs {
        grid-auto-flow: row !important;
        grid-template-rows: none !important;
        grid-template-columns: 1fr !important;
    }
}

/* Public member car card — remove top label space only */

body .aio-member-car-card__text > .aio-kicker:first-child {
    display: none !important;
}

body .aio-member-car-card__text h3 {
    margin-top: 0 !important;
}

body .aio-member-car-card__preview {
    margin-bottom: 8px !important;
}

body .aio-member-car-more {
    margin-bottom: 12px !important;
}


/* Public member car card — lift text block slightly */

body .aio-member-car-card__text {
    padding-top: 22px !important;
    padding-bottom: 18px !important;
}

body .aio-member-car-card__text h3 {
    margin-top: 0 !important;
    margin-bottom: 3px !important;
}

body .aio-member-car-card__text > span {
    margin-bottom: 8px !important;
}

body .aio-member-car-card__preview {
    margin-bottom: 7px !important;
}

body .aio-member-car-more {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

body .aio-member-car-card__specs {
    margin-top: 0 !important;
}


/* AIO LK car photo manager — 20260704 */

body .aio-lk-card_car_photos {
    margin-bottom: 22px !important;
}

body .aio-lk-muted {
    margin: 0 !important;
    color: rgba(45,45,45,.62) !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
}

body .aio-lk-car-photo-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

body .aio-lk-car-photo-card {
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.62) !important;
    box-shadow: 0 10px 26px rgba(7,23,44,.045) !important;
}

body .aio-lk-car-photo-card__image {
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: rgba(7,45,91,.08) !important;
}

body .aio-lk-car-photo-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

body .aio-lk-car-photo-card figcaption {
    padding: 8px 8px 2px !important;
    color: rgba(45,45,45,.58) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 10px !important;
    text-align: center !important;
}

body .aio-lk-car-photo-actions {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 8px 8px 10px !important;
}

body .aio-lk-car-photo-actions form {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .aio-lk-car-photo-actions button {
    border: 1px solid rgba(200,87,38,.22) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.70) !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    padding: 6px 9px !important;
    cursor: pointer !important;
}

body .aio-lk-car-photo-actions button:hover {
    background: rgba(200,87,38,.10) !important;
    border-color: rgba(200,87,38,.36) !important;
}

@media (max-width: 900px) {
    body .aio-lk-car-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    body .aio-lk-car-photo-grid {
        grid-template-columns: 1fr !important;
    }
}


/* LK profile other clubs repeater — 20260705 */
.aio-lk-other-clubs {
    display: grid !important;
    gap: 10px !important;
}

.aio-lk-other-clubs__list {
    display: grid !important;
    gap: 8px !important;
}

.aio-lk-other-club-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
}

.aio-lk-other-club-row input {
    width: 100% !important;
}

.aio-lk-other-club-row button,
.aio-lk-add-row-btn {
    min-height: 34px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(200,87,38,.24) !important;
    background: rgba(200,87,38,.08) !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.aio-lk-add-row-btn {
    width: fit-content !important;
}


/* LK profile — beautiful other clubs repeater override — 20260705 */
body .aio-lk-other-clubs {
    display: grid !important;
    gap: 10px !important;
    margin-top: 2px !important;
}

body .aio-lk-other-clubs__list {
    display: grid !important;
    gap: 9px !important;
}

body .aio-lk-other-club-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 0 !important;
}

body .aio-lk-other-club-row input {
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(248,245,239,.58) !important;
    color: #2D2D2D !important;
    font-family: "AIO Lateinisch", Georgia, "Times New Roman", serif !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.70) !important;
}

body .aio-lk-other-club-row input:focus {
    outline: none !important;
    border-color: rgba(200,87,38,.48) !important;
    box-shadow:
        0 0 0 3px rgba(200,87,38,.10),
        inset 0 1px 0 rgba(255,255,255,.70) !important;
}

body .aio-lk-other-club-row button {
    width: auto !important;
    min-width: 92px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(138,47,35,.22) !important;
    background: rgba(200,87,38,.075) !important;
    color: #8A2F23 !important;
    box-shadow: none !important;
    font-family: "AIO Lateinisch", Georgia, "Times New Roman", serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transform: none !important;
}

body .aio-lk-other-club-row button:hover {
    border-color: rgba(138,47,35,.36) !important;
    background: rgba(200,87,38,.13) !important;
    color: #7A1F18 !important;
}

body .aio-lk-add-row-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-width: 0 !important;
    min-height: 36px !important;
    margin-top: 2px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(200,87,38,.34) !important;
    background: rgba(200,87,38,.12) !important;
    color: #8A2F23 !important;
    box-shadow: 0 8px 20px rgba(200,87,38,.08) !important;
    font-family: "AIO Lateinisch", Georgia, "Times New Roman", serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

body .aio-lk-add-row-btn:hover {
    background: #C85726 !important;
    border-color: #C85726 !important;
    color: #F8F5EF !important;
}

body .aio-lk-other-clubs .aio-lk-muted {
    margin: -2px 0 0 !important;
    color: rgba(45,45,45,.50) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

@media (max-width: 700px) {
    body .aio-lk-other-club-row {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    body .aio-lk-other-club-row button {
        justify-self: start !important;
    }
}


/* AIO post editor/public typography correction — 20260705 */
.aio-native-post-editor {
    min-height: 340px !important;
    padding: 22px 24px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.aio-native-post-editor p {
    margin: 0 0 10px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.aio-native-post-editor h2 {
    margin: 18px 0 9px !important;
    font-size: 21px !important;
    line-height: 1.15 !important;
}

.aio-native-post-editor h3 {
    margin: 16px 0 8px !important;
    font-size: 17px !important;
    line-height: 1.18 !important;
}

.aio-native-post-editor blockquote {
    margin: 14px 0 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.aio-native-post-editor ul,
.aio-native-post-editor ol {
    margin: 10px 0 12px !important;
    padding-left: 20px !important;
}

.aio-native-post-editor li {
    margin: 4px 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Native editor inline images — 20260705 */
.aio-lk-photo-actions > button[data-aio-insert-post-image] {
    width: 100% !important;
    min-height: 30px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(7,45,91,.08) !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.aio-native-post-editor figure,
.aio-native-post-editor .aio-post-inline-figure {
    margin: 18px 0 !important;
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: rgba(248,245,239,.92) !important;
    box-shadow: 0 12px 32px rgba(7,23,44,.05) !important;
}

.aio-native-post-editor figure img,
.aio-native-post-editor .aio-post-inline-image {
    width: 100% !important;
    max-height: 360px !important;
    object-fit: cover !important;
    display: block !important;
}

.aio-native-post-editor figure figcaption,
.aio-native-post-editor .aio-post-inline-figure figcaption {
    padding: 9px 12px !important;
    color: rgba(45,45,45,.55) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

/* AIO native publication editor final repair — 20260705 */
#aioNativePostContent,
.aio-native-post-hidden {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.aio-native-editor-field {
    display: block !important;
}

.aio-native-editor-field > span {
    display: block !important;
    margin: 0 0 10px !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

.aio-native-editor-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 0 12px !important;
    padding: 10px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    background: linear-gradient(180deg, rgba(248,245,239,.98), rgba(242,227,207,.42)) !important;
}

.aio-native-editor-toolbar button {
    min-height: 30px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(255,255,255,.88) !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 8px 18px rgba(7,23,44,.04) !important;
}

.aio-native-editor-toolbar button:hover {
    border-color: rgba(200,87,38,.38) !important;
    color: #8A2F23 !important;
    background: rgba(200,87,38,.08) !important;
}

#aioNativePostEditor.aio-native-post-editor {
    min-height: 360px !important;
    padding: 24px 28px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 44px rgba(7,23,44,.05) !important;
    color: rgba(45,45,45,.80) !important;
    font-family: var(--aio-text, Georgia, serif) !important;
    font-size: 14px !important;
    line-height: 1.56 !important;
    outline: none !important;
}

#aioNativePostEditor.aio-native-post-editor:focus {
    border-color: rgba(7,45,91,.30) !important;
    box-shadow: 0 0 0 4px rgba(7,45,91,.08), 0 18px 44px rgba(7,23,44,.05) !important;
}

#aioNativePostEditor.aio-native-post-editor p {
    margin: 0 0 11px !important;
    color: rgba(45,45,45,.80) !important;
    font-size: 14px !important;
    line-height: 1.56 !important;
    font-weight: 400 !important;
}

#aioNativePostEditor.aio-native-post-editor h2 {
    margin: 18px 0 9px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, Georgia, serif) !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
}

#aioNativePostEditor.aio-native-post-editor h3 {
    margin: 16px 0 8px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, Georgia, serif) !important;
    font-size: 17px !important;
    line-height: 1.18 !important;
    font-weight: 500 !important;
}

#aioNativePostEditor.aio-native-post-editor blockquote {
    margin: 14px 0 !important;
    padding: 12px 14px !important;
    border-left: 3px solid #C85726 !important;
    border-radius: 0 14px 14px 0 !important;
    background: rgba(200,87,38,.07) !important;
    color: rgba(45,45,45,.72) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

#aioNativePostEditor.aio-native-post-editor ul,
#aioNativePostEditor.aio-native-post-editor ol {
    margin: 10px 0 12px !important;
    padding-left: 20px !important;
}

#aioNativePostEditor.aio-native-post-editor li {
    margin: 4px 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

#aioNativePostEditor.aio-native-post-editor figure {
    margin: 16px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: rgba(248,245,239,.96) !important;
    border: 1px solid rgba(7,45,91,.08) !important;
    box-shadow: 0 12px 32px rgba(7,23,44,.05) !important;
}

#aioNativePostEditor.aio-native-post-editor figure img {
    width: 100% !important;
    max-height: 320px !important;
    object-fit: cover !important;
    display: block !important;
}

#aioNativePostEditor.aio-native-post-editor figure figcaption {
    padding: 9px 12px !important;
    color: rgba(45,45,45,.55) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.aio-lk-card_photos .aio-lk-photo-manager-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
    gap: 12px !important;
}

.aio-lk-card_photos .aio-lk-photo-manager-card {
    overflow: hidden !important;
    margin: 0 !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 14px 34px rgba(7,23,44,.06) !important;
}

.aio-lk-card_photos .aio-lk-photo-manager-card__image {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: rgba(7,45,91,.08) !important;
}

.aio-lk-card_photos .aio-lk-photo-manager-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.aio-lk-card_photos .aio-lk-photo-manager-card figcaption {
    padding: 9px 11px 0 !important;
    color: rgba(138,47,35,.84) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

.aio-lk-card_photos .aio-lk-photo-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    padding: 10px !important;
}

.aio-lk-card_photos .aio-lk-photo-actions form,
.aio-lk-card_photos .aio-lk-photo-actions > button {
    flex: 1 1 80px !important;
}

.aio-lk-card_photos .aio-lk-photo-actions button {
    width: 100% !important;
    min-height: 30px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(248,245,239,.92) !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.aio-lk-card_photos .aio-lk-photo-actions button:hover {
    border-color: rgba(200,87,38,.35) !important;
    color: #8A2F23 !important;
    background: rgba(200,87,38,.08) !important;
}

/* AIO LK profile status card — 20260705 */
.aio-lk-profile-status-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 22px !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    border: 1px solid rgba(200,87,38,.16) !important;
    background:
        radial-gradient(circle at 92% 8%, rgba(200,87,38,.10), transparent 9rem),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,245,239,.96)) !important;
}

.aio-lk-profile-status-card h2 {
    margin: 5px 0 8px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, Georgia, serif) !important;
    font-size: 28px !important;
    line-height: 1.05 !important;
    font-weight: 400 !important;
}

.aio-lk-profile-status-card p {
    margin: 0 !important;
    max-width: 680px !important;
    color: rgba(45,45,45,.68) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.aio-lk-profile-status-card__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 10px !important;
}

.aio-lk-profile-status-card__actions .aio-lk-btn[disabled] {
    opacity: .55 !important;
    cursor: default !important;
}

@media (max-width: 820px) {
    .aio-lk-profile-status-card {
        grid-template-columns: 1fr !important;
    }

    .aio-lk-profile-status-card__actions {
        justify-content: flex-start !important;
    }
}

/* AIO LK profile status card visible fix — 20260705 */
.aio-lk-profile-status-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 22px !important;
    align-items: center !important;
    margin-bottom: 22px !important;
    border: 1px solid rgba(200,87,38,.18) !important;
    background:
        radial-gradient(circle at 92% 8%, rgba(200,87,38,.10), transparent 9rem),
        linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,245,239,.96)) !important;
}

.aio-lk-profile-status-card h2 {
    margin: 5px 0 8px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, Georgia, serif) !important;
    font-size: 28px !important;
    line-height: 1.05 !important;
    font-weight: 400 !important;
}

.aio-lk-profile-status-card p {
    margin: 0 !important;
    max-width: 680px !important;
    color: rgba(45,45,45,.68) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.aio-lk-profile-status-card__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 10px !important;
}

.aio-lk-profile-status-card__actions .aio-lk-btn[disabled] {
    opacity: .55 !important;
    cursor: default !important;
}

@media (max-width: 820px) {
    .aio-lk-profile-status-card {
        grid-template-columns: 1fr !important;
    }

    .aio-lk-profile-status-card__actions {
        justify-content: flex-start !important;
    }
}

/* AIO LK profile status action button polish — 20260705 */
.aio-lk-profile-status-card__actions button,
.aio-lk-profile-status-card__actions .aio-lk-btn,
.aio-lk-profile-status-card__actions a.aio-lk-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 42px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.92) !important;
    background:
        linear-gradient(135deg, #072D5B 0%, #061F3E 100%) !important;
    color: #F8F5EF !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 42px !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow:
        0 14px 30px rgba(7,45,91,.16),
        inset 0 1px 0 rgba(255,255,255,.16) !important;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease !important;
}

.aio-lk-profile-status-card__actions button:hover,
.aio-lk-profile-status-card__actions .aio-lk-btn:hover,
.aio-lk-profile-status-card__actions a.aio-lk-btn:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(200,87,38,.75) !important;
    background:
        linear-gradient(135deg, #083765 0%, #072D5B 58%, #C85726 160%) !important;
    color: #FFFFFF !important;
    box-shadow:
        0 18px 38px rgba(7,45,91,.22),
        inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.aio-lk-profile-status-card__actions button:active,
.aio-lk-profile-status-card__actions .aio-lk-btn:active {
    transform: translateY(0) !important;
}

.aio-lk-profile-status-card__actions button[disabled],
.aio-lk-profile-status-card__actions .aio-lk-btn[disabled] {
    border-color: rgba(7,45,91,.16) !important;
    background: rgba(7,45,91,.08) !important;
    color: rgba(7,45,91,.48) !important;
    box-shadow: none !important;
    cursor: default !important;
    transform: none !important;
}

.aio-lk-profile-status-card__actions .aio-lk-btn_secondary {
    border-color: rgba(7,45,91,.18) !important;
    background: rgba(255,255,255,.72) !important;
    color: #072D5B !important;
    box-shadow: 0 10px 22px rgba(7,23,44,.05) !important;
}

.aio-lk-profile-status-card__actions .aio-lk-btn_secondary:hover {
    border-color: rgba(200,87,38,.45) !important;
    background: rgba(200,87,38,.08) !important;
    color: #8A2F23 !important;
}

@media (max-width: 820px) {
    .aio-lk-profile-status-card__actions button,
    .aio-lk-profile-status-card__actions .aio-lk-btn,
    .aio-lk-profile-status-card__actions a.aio-lk-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* AIO LK hidden public profile link — 20260705 */
.aio-lk-public-link_disabled {
    opacity: .62 !important;
    cursor: default !important;
    pointer-events: none !important;
    border-color: rgba(255,255,255,.22) !important;
    color: rgba(248,245,239,.72) !important;
    background: rgba(255,255,255,.04) !important;
}


/* AIO gallery submit card final override — 20260705 */
body .aio-gallery-album-card_submit {
    background:
        radial-gradient(circle at 78% 18%, rgba(200,87,38,.16), transparent 8rem),
        linear-gradient(135deg, #07172C, #072D5B) !important;
    border: 0 !important;
    border-radius: 26px !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.10) !important;
}

body .aio-gallery-album-card_submit .aio-gallery-album-card__body {
    padding: 34px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

body .aio-gallery-album-card_submit p {
    margin: 0 0 12px !important;
    color: rgba(248,245,239,.76) !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body .aio-gallery-album-card_submit .aio-gallery-submit-title,
body .aio-gallery-album-card_submit h3,
body .aio-gallery-album-card_submit h3.aio-gallery-submit-title {
    margin: 0 0 14px !important;
    color: #F8F5EF !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: 31px !important;
    line-height: 1.05 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

body .aio-gallery-album-card_submit span {
    max-width: 420px !important;
    color: rgba(248,245,239,.80) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

body .aio-gallery-submit-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 18px !important;
    flex-wrap: wrap !important;
}

body .aio-gallery-submit-actions .aio-gallery-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 132px !important;
    min-height: 36px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body .aio-gallery-submit-actions .aio-gallery-submit-btn_primary {
    background: rgba(200,87,38,.92) !important;
    border: 1px solid rgba(200,87,38,.92) !important;
    color: #F8F5EF !important;
}

body .aio-gallery-submit-actions .aio-gallery-submit-btn_secondary {
    background: rgba(248,245,239,.10) !important;
    border: 1px solid rgba(248,245,239,.26) !important;
    color: #F8F5EF !important;
}

@media (max-width: 640px) {
    body .aio-gallery-submit-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body .aio-gallery-submit-actions .aio-gallery-submit-btn {
        width: 100% !important;
    }
}


/* AIO home photoarchive dynamic — 20260705 */
body .aio-home-photoarchive {
    padding: 72px 0 76px !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(200,87,38,.08), transparent 18rem),
        linear-gradient(90deg, rgba(242,227,207,.82), rgba(248,245,239,.98)) !important;
}

body .aio-home-photoarchive__head {
    margin-bottom: 28px !important;
}

body .aio-home-photoarchive__head h2 {
    max-width: 780px !important;
}

body .aio-home-photoarchive__grid {
    display: grid !important;
    grid-template-columns: 1.08fr .92fr 1fr !important;
    grid-auto-rows: 230px !important;
    gap: 18px !important;
}

body .aio-home-photoarchive-card {
    position: relative !important;
    display: block !important;
    min-height: 230px !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    background: #07172C !important;
    text-decoration: none !important;
    box-shadow: 0 22px 52px rgba(7,23,44,.10) !important;
}

body .aio-home-photoarchive-card:nth-child(1) {
    grid-row: span 2 !important;
}

body .aio-home-photoarchive-card:nth-child(4) {
    grid-column: span 2 !important;
}

body .aio-home-photoarchive-card img,
body .aio-home-photoarchive-card > span {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

body .aio-home-photoarchive-card img {
    object-fit: cover !important;
    object-position: center !important;
    filter: grayscale(.42) sepia(.18) contrast(1.04) saturate(.82) brightness(.82) !important;
    transform: scale(1.01) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body .aio-home-photoarchive-card:hover img {
    filter: grayscale(.12) sepia(.10) contrast(1.03) saturate(.98) brightness(.96) !important;
    transform: scale(1.045) !important;
}

body .aio-home-photoarchive-card > span {
    display: grid !important;
    place-items: center !important;
    color: rgba(248,245,239,.72) !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: 34px !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(200,87,38,.16), transparent 8rem),
        linear-gradient(135deg, #07172C, #072D5B) !important;
}

body .aio-home-photoarchive-card__shade {
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.06), rgba(7,23,44,.68)),
        linear-gradient(135deg, rgba(7,45,91,.24), rgba(200,87,38,.18)) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

body .aio-home-photoarchive-card__caption {
    position: absolute !important;
    left: 24px !important;
    right: 24px !important;
    bottom: 22px !important;
    z-index: 2 !important;
}

body .aio-home-photoarchive-card__caption p {
    margin: 0 0 8px !important;
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body .aio-home-photoarchive-card__caption h3 {
    margin: 0 !important;
    max-width: 92% !important;
    color: #F8F5EF !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: 31px !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    text-shadow: 0 10px 28px rgba(0,0,0,.22) !important;
}

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

    body .aio-home-photoarchive-card:nth-child(1),
    body .aio-home-photoarchive-card:nth-child(4) {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

@media (max-width: 640px) {
    body .aio-home-photoarchive {
        padding: 46px 0 52px !important;
    }

    body .aio-home-photoarchive__grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 230px !important;
        gap: 14px !important;
    }

    body .aio-home-photoarchive-card__caption h3 {
        font-size: 27px !important;
    }
}


/* AIO warm photo haze system — 20260705 */

/* Главная: подписи в фотоархиве строго белые */
body .aio-home-photoarchive-card__caption,
body .aio-home-photoarchive-card__caption *,
body .aio-home-photoarchive-card__caption p,
body .aio-home-photoarchive-card__caption h3,
body .aio-home-photoarchive-card__caption h3 a {
    color: #F8F5EF !important;
}

body .aio-home-photoarchive-card__caption p {
    color: rgba(248,245,239,.84) !important;
}

body .aio-home-photoarchive-card__caption h3 {
    color: #F8F5EF !important;
    text-shadow: 0 10px 30px rgba(0,0,0,.34) !important;
}

/* Мягкая тёплая дымка вместо жёсткого ч/б */
body .aio-home-photoarchive-card img {
    filter: grayscale(.18) sepia(.18) contrast(1.03) saturate(.78) brightness(.78) !important;
}

body .aio-home-photoarchive-card__shade {
    background:
        linear-gradient(180deg, rgba(7,23,44,.10), rgba(7,23,44,.58)),
        linear-gradient(135deg, rgba(7,45,91,.34), rgba(200,87,38,.24)) !important;
}

body .aio-home-photoarchive-card:hover img {
    filter: grayscale(.02) sepia(.08) contrast(1.02) saturate(1.02) brightness(.93) !important;
}

/* Общий класс для будущих фото-карточек: тёплая вуаль */
body .aio-photo-warm-haze {
    position: relative !important;
    overflow: hidden !important;
    background: #07172C !important;
}

body .aio-photo-warm-haze img {
    filter: grayscale(.18) sepia(.18) contrast(1.03) saturate(.78) brightness(.80) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body .aio-photo-warm-haze::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.08), rgba(7,23,44,.50)),
        linear-gradient(135deg, rgba(7,45,91,.30), rgba(200,87,38,.20)) !important;
    z-index: 1 !important;
}

body .aio-photo-warm-haze:hover img {
    filter: grayscale(.02) sepia(.08) contrast(1.02) saturate(1.02) brightness(.94) !important;
    transform: scale(1.035) !important;
}

body .aio-member-hero .aio-photo-warm-haze img {
    filter: none !important;
    transform: none !important;
}


/* AIO global warm photo haze override — 20260705
   Мягкая серо-буро-малиновая дымка вместо жёсткого ч/б.
   Hero профиля участника не трогаем. */

/* Главная: фотоархив */
body .aio-home-photoarchive-card img,
/* Общая галерея / фотоархив */
body .aio-gallery-dynamic .aio-gallery-album-card:not(.aio-gallery-album-card_submit) .aio-gallery-album-card__image img,
body .aio-gallery-album-card:not(.aio-gallery-album-card_submit) .aio-gallery-album-card__image img,
/* Страница отдельного альбома */
body .aio-gallery-detail img,
body .aio-photo-grid img,
body .aio-photo-card img,
/* Блоги / публикации */
body .aio-blog-card img,
body .aio-blog-item-more-card__visual img,
body .aio-blog-item-gallery img,
body .aio-blog-item-cover img,
/* Единомышленники / карточки людей */
body .aio-person-card__photo img,
body .aio-people-card img,
body .aio-people-card__photo img,
body .aio-club-member-card__photo img,
/* Профиль участника: фотоальбомы, публикации, авто-карточки, но не hero */
body .aio-member-album-promo img,
body .aio-member-photoalbum-card img,
body .aio-member-post-card img,
body .aio-member-car-card img,
/* Органы / персоналии, если где-то затемнялись */
body .aio-board-card__photo img,
body .aio-body-person-card__photo img,
body .aio-person-lux-card__photo img {
    filter: grayscale(.16) sepia(.18) saturate(.82) contrast(1.03) brightness(.84) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

/* Тёплая вуаль поверх карточек с фото */
body .aio-home-photoarchive-card__shade,
body .aio-gallery-dynamic .aio-gallery-album-card:not(.aio-gallery-album-card_submit) .aio-gallery-album-card__image::after,
body .aio-gallery-album-card:not(.aio-gallery-album-card_submit) .aio-gallery-album-card__image::after {
    background:
        linear-gradient(180deg, rgba(7,23,44,.06), rgba(7,23,44,.46)),
        linear-gradient(135deg, rgba(7,45,91,.20), rgba(200,87,38,.18)) !important;
}

/* При наведении возвращаем чуть больше цвета */
body .aio-home-photoarchive-card:hover img,
body .aio-gallery-dynamic .aio-gallery-album-card:not(.aio-gallery-album-card_submit):hover .aio-gallery-album-card__image img,
body .aio-gallery-album-card:not(.aio-gallery-album-card_submit):hover .aio-gallery-album-card__image img,
body .aio-blog-card:hover img,
body .aio-blog-item-more-card__visual:hover img,
body .aio-person-card:hover .aio-person-card__photo img,
body .aio-people-card:hover img,
body .aio-club-member-card:hover .aio-club-member-card__photo img,
body .aio-member-album-promo:hover img,
body .aio-member-post-card:hover img,
body .aio-member-car-card:hover img {
    filter: grayscale(.02) sepia(.08) saturate(1.02) contrast(1.02) brightness(.96) !important;
}

body .aio-member-hero img,
body .aio-member-hero__photo img,
body .aio-author-posts-hero img,
body .aio-author-posts-hero__photo img {
    filter: none !important;
}


/* AIO blogs warm haze override — 20260705
   Убираем жёсткое ч/б в блогах и публикациях, заменяем на мягкую тёплую дымку. */

/* Карточки блогов / списки публикаций */
body .aio-blog-card img,
body .aio-blog-card__image img,
body .aio-blog-card__visual img,
body .aio-blogs-card img,
body .aio-blogs-card__image img,
body .aio-post-card img,
body .aio-post-card__image img,
body .aio-author-post-card img,
body .aio-author-post-card__image img,
body .aio-blog-item-more-card__visual img {
    filter: grayscale(.12) sepia(.16) saturate(.88) contrast(1.03) brightness(.88) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

/* Обложка и галерея внутри публикации */
body .aio-blog-item-cover img,
body .aio-blog-item-gallery img,
body .aio-blog-item-text img,
body .aio-blog-item-page figure img,
body .aio-post-inline-figure img,
body .aio-post-inline-image {
    filter: grayscale(.10) sepia(.12) saturate(.92) contrast(1.02) brightness(.94) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

/* При наведении возвращаем больше цвета */
body .aio-blog-card:hover img,
body .aio-blogs-card:hover img,
body .aio-post-card:hover img,
body .aio-author-post-card:hover img,
body .aio-blog-item-more-card__visual:hover img,
body .aio-blog-item-cover:hover img,
body .aio-blog-item-gallery img:hover,
body .aio-blog-item-text img:hover,
body .aio-blog-item-page figure img:hover {
    filter: grayscale(0) sepia(.05) saturate(1.04) contrast(1.01) brightness(.98) !important;
}

/* Если где-то в блогах есть затемняющая подложка, делаем её теплее и легче */
body .aio-blog-card__image::after,
body .aio-blog-card__visual::after,
body .aio-blogs-card__image::after,
body .aio-post-card__image::after,
body .aio-author-post-card__image::after,
body .aio-blog-item-cover::after,
body .aio-blog-item-more-card__visual::after {
    background:
        linear-gradient(180deg, rgba(7,23,44,.04), rgba(7,23,44,.34)),
        linear-gradient(135deg, rgba(7,45,91,.16), rgba(200,87,38,.14)) !important;
}

/* Не трогаем hero автора/профиля */
body .aio-author-posts-hero img,
body .aio-author-posts-hero__photo img,
body .aio-member-hero img,
body .aio-member-hero__photo img {
    filter: none !important;
}


/* AIO blogs page exact warm haze — 20260705
   Точечно для /blogs: мягкая серо-буро-малиновая дымка вместо ч/б. */

body .aio-blogs-page img,
body .aio-blogs-list img,
body .aio-blogs-grid img,
body .aio-blog-list img,
body .aio-blog-grid img,
body .aio-blog-preview img,
body .aio-blog-preview__image img,
body .aio-blog-preview__visual img,
body .aio-blog-card img,
body .aio-blog-card__image img,
body .aio-blog-card__visual img,
body .aio-posts-grid img,
body .aio-posts-list img,
body .aio-post-card img,
body .aio-post-card__image img,
body .aio-post-card__visual img,
body .aio-publications-grid img,
body .aio-publication-card img,
body .aio-publication-card__image img,
body .aio-publication-card__visual img,
body main a[href^="/blogs/"] img,
body main a[href^="/blog/"] img {
    filter: grayscale(.12) sepia(.18) saturate(.86) contrast(1.03) brightness(.88) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body .aio-blogs-page a:hover img,
body .aio-blogs-list a:hover img,
body .aio-blogs-grid a:hover img,
body .aio-blog-list a:hover img,
body .aio-blog-grid a:hover img,
body .aio-blog-preview:hover img,
body .aio-blog-card:hover img,
body .aio-post-card:hover img,
body .aio-publication-card:hover img,
body main a[href^="/blogs/"]:hover img,
body main a[href^="/blog/"]:hover img {
    filter: grayscale(.02) sepia(.08) saturate(1.02) contrast(1.02) brightness(.96) !important;
    transform: scale(1.025) !important;
}

/* Если на карточках блогов есть отдельная тёмная плашка поверх изображения */
body .aio-blogs-page a[href^="/blogs/"]::after,
body .aio-blogs-page a[href^="/blog/"]::after,
body .aio-blog-card__image::after,
body .aio-blog-card__visual::after,
body .aio-post-card__image::after,
body .aio-post-card__visual::after,
body .aio-publication-card__image::after,
body .aio-publication-card__visual::after {
    background:
        linear-gradient(180deg, rgba(7,23,44,.04), rgba(7,23,44,.28)),
        linear-gradient(135deg, rgba(7,45,91,.14), rgba(200,87,38,.13)) !important;
}

/* Дополнительная страховка: все картинки внутри основной зоны /blogs, кроме логотипов/аватарок */
body:has(.aio-blogs-page) main img:not(.aio-logo img):not(.avatar):not([width="40"]):not([height="40"]) {
    filter: grayscale(.12) sepia(.18) saturate(.86) contrast(1.03) brightness(.88) !important;
}

body:has(.aio-blogs-page) main a:hover img:not(.avatar) {
    filter: grayscale(.02) sepia(.08) saturate(1.02) contrast(1.02) brightness(.96) !important;
}


/* AIO partners dynamic rewrite — 20260705 */
body .aio-partners-dynamic {
    padding: 66px 0 76px !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(200,87,38,.07), transparent 18rem),
        linear-gradient(90deg, rgba(242,227,207,.82), rgba(248,245,239,.98)) !important;
}

body .aio-partners-dynamic__intro {
    max-width: 920px !important;
    margin: 0 0 28px !important;
}

body .aio-partners-dynamic__intro p:not(.aio-kicker) {
    max-width: 780px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.72) !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
}

body .aio-partners-dynamic__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body .aio-partner-dynamic-card {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
    min-height: 188px !important;
    padding: 24px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.84) !important;
    border: 1px solid rgba(7,45,91,.07) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.07) !important;
}

body .aio-partner-dynamic-card__mark {
    width: 78px !important;
    height: 78px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background:
        radial-gradient(circle at 70% 20%, rgba(200,87,38,.28), transparent 4rem),
        linear-gradient(135deg, #07172C, #4B0E18) !important;
    display: grid !important;
    place-items: center !important;
}

body .aio-partner-dynamic-card__mark img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(.12) sepia(.18) saturate(.86) contrast(1.03) brightness(.88) !important;
}

body .aio-partner-dynamic-card__mark span {
    color: #F8F5EF !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: 32px !important;
    line-height: 1 !important;
}

body .aio-partner-dynamic-card__content p {
    margin: 0 0 6px !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

body .aio-partner-dynamic-card__content h3 {
    margin: 0 0 9px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: 27px !important;
    line-height: 1.05 !important;
    font-weight: 500 !important;
}

body .aio-partner-dynamic-card__content > span {
    display: block !important;
    margin: 0 0 13px !important;
    color: rgba(45,45,45,.68) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body .aio-partner-dynamic-card__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 0 13px !important;
}

body .aio-partner-dynamic-card__tags small {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: rgba(242,227,207,.78) !important;
    color: rgba(45,45,45,.68) !important;
    font-size: 9px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

body .aio-partner-dynamic-card__link {
    display: inline-flex !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body .aio-partners-empty {
    padding: 34px !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.78) !important;
    border: 1px solid rgba(7,45,91,.08) !important;
}

body .aio-partners-empty h2 {
    margin: 0 0 10px !important;
    color: #072D5B !important;
}

body .aio-partners-empty p {
    margin: 0 !important;
    color: rgba(45,45,45,.68) !important;
}

body .aio-partners-legal-note {
    margin-top: 24px !important;
    padding: 18px 22px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.64) !important;
    border: 1px solid rgba(138,47,35,.12) !important;
}

body .aio-partners-legal-note p {
    margin: 0 !important;
    color: rgba(45,45,45,.56) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}

@media (max-width: 900px) {
    body .aio-partners-dynamic__grid {
        grid-template-columns: 1fr !important;
    }

    body .aio-partners-cta-simple {
        flex-direction: column !important;
    }
}

@media (max-width: 640px) {
    body .aio-partners-dynamic {
        padding: 46px 0 54px !important;
    }

    body .aio-partner-dynamic-card {
        grid-template-columns: 1fr !important;
    }

    body .aio-partners-cta-simple {
        padding: 28px 24px !important;
    }
}


/* AIO partners cards polish — 20260705 */

/* Кикер "Сотрудничество" должен быть видимым на бежевом фоне */
body .aio-partners-dynamic__intro .aio-kicker,
body .aio-partners-dynamic__intro .aio-kicker_dark {
    color: #8A2F23 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    letter-spacing: .16em !important;
    margin-bottom: 14px !important;
}

/* Сетка и единая высота карточек */
body .aio-partners-dynamic__grid {
    align-items: stretch !important;
}

body .aio-partner-dynamic-card {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    min-height: 292px !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid rgba(7,45,91,.07) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.07) !important;
}

/* Логотип — горизонтальная плашка во всю ширину карточки */
body .aio-partner-dynamic-card__mark {
    width: 100% !important;
    height: 92px !important;
    padding: 18px 24px !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(200,87,38,.22), transparent 9rem),
        linear-gradient(135deg, #07172C, #3A0E18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
}

/* Никаких фильтров на логотипы партнёров */
body .aio-partner-dynamic-card__mark img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Если логотипа нет — буквенный знак остаётся аккуратным */
body .aio-partner-dynamic-card__mark span {
    width: 58px !important;
    height: 58px !important;
    border-radius: 14px !important;
    display: grid !important;
    place-items: center !important;
    color: #F8F5EF !important;
    background: rgba(248,245,239,.08) !important;
    border: 1px solid rgba(248,245,239,.16) !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: 31px !important;
    line-height: 1 !important;
}

/* Контент карточки */
body .aio-partner-dynamic-card__content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 22px 24px 24px !important;
}

body .aio-partner-dynamic-card__content p {
    margin: 0 0 7px !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

body .aio-partner-dynamic-card__content h3 {
    margin: 0 0 10px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: 28px !important;
    line-height: 1.04 !important;
    font-weight: 500 !important;
}

body .aio-partner-dynamic-card__content > span {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 63px !important;
    margin: 0 0 14px !important;
    color: rgba(45,45,45,.68) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body .aio-partner-dynamic-card__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-height: 22px !important;
    margin: 0 0 16px !important;
}

body .aio-partner-dynamic-card__tags small {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: rgba(242,227,207,.82) !important;
    color: rgba(45,45,45,.68) !important;
    font-size: 9px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

/* Кнопка на сайт партнёра внизу каждой карточки */
body .aio-partner-dynamic-card__link {
    margin-top: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-height: 34px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.06) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body .aio-partner-dynamic-card__link:hover {
    background: #C85726 !important;
    border-color: #C85726 !important;
    color: #F8F5EF !important;
}

/* CTA снизу: заголовок точно белый */
body .aio-partners-cta-simple,
body .aio-partners-cta-simple * {
    color: #F8F5EF !important;
}

@media (max-width: 900px) {
    body .aio-partner-dynamic-card {
        min-height: 280px !important;
    }
}

@media (max-width: 640px) {
    body .aio-partner-dynamic-card__mark {
        height: 84px !important;
        padding: 16px 20px !important;
    }

    body .aio-partner-dynamic-card__content h3 {
        font-size: 25px !important;
    }
}


/* AIO partners light logo zone — 20260705 */

/* Общая сетка */
body .aio-partners-dynamic__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

/* Карточка снова двухчастная: логотип слева, текст справа */
body .aio-partner-dynamic-card {
    display: grid !important;
    grid-template-columns: 176px minmax(0, 1fr) !important;
    gap: 0 !important;
    min-height: 220px !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.90) !important;
    border: 1px solid rgba(7,45,91,.07) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.07) !important;
}

/* Левая зона логотипа: светлый фон, центрирование, без фильтров */
body .aio-partner-dynamic-card__mark {
    width: 100% !important;
    height: 100% !important;
    min-height: 220px !important;
    padding: 22px !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 30% 20%, rgba(242,227,207,.55), transparent 8rem),
        #FFFFFF !important;
    border-right: 1px solid rgba(7,45,91,.07) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* PNG-логотипы: не затемнять, не красить, не обрезать */
body .aio-partner-dynamic-card__mark img {
    display: block !important;
    width: 100% !important;
    max-width: 132px !important;
    height: auto !important;
    max-height: 136px !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Длинные логотипы получают место по ширине */
body .aio-partner-dynamic-card__mark img[src*="gork"],
body .aio-partner-dynamic-card__mark img[src*="classic"],
body .aio-partner-dynamic-card__mark img[src*="rally"],
body .aio-partner-dynamic-card__mark img[src*="logo"] {
    max-width: 148px !important;
    max-height: 92px !important;
}

/* Заглушка-буква, если логотипа нет */
body .aio-partner-dynamic-card__mark span {
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px !important;
    display: grid !important;
    place-items: center !important;
    color: #F8F5EF !important;
    background:
        radial-gradient(circle at 70% 20%, rgba(200,87,38,.28), transparent 4rem),
        linear-gradient(135deg, #07172C, #4B0E18) !important;
    border: 1px solid rgba(7,45,91,.08) !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: 34px !important;
    line-height: 1 !important;
}

/* Правая часть */
body .aio-partner-dynamic-card__content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 26px 28px 24px !important;
    min-width: 0 !important;
}

body .aio-partner-dynamic-card__content p {
    margin: 0 0 7px !important;
    color: #8A2F23 !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

body .aio-partner-dynamic-card__content h3 {
    margin: 0 0 10px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: 29px !important;
    line-height: 1.04 !important;
    font-weight: 500 !important;
}

body .aio-partner-dynamic-card__content > span {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 63px !important;
    margin: 0 0 14px !important;
    color: rgba(45,45,45,.68) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body .aio-partner-dynamic-card__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-height: 22px !important;
    margin: 0 0 16px !important;
}

body .aio-partner-dynamic-card__tags small {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: rgba(242,227,207,.82) !important;
    color: rgba(45,45,45,.68) !important;
    font-size: 9px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

/* Кнопка */
body .aio-partner-dynamic-card__link {
    margin-top: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-height: 34px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.06) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body .aio-partner-dynamic-card__link:hover {
    background: #C85726 !important;
    border-color: #C85726 !important;
    color: #F8F5EF !important;
}

/* Кикер */
body .aio-partners-dynamic__intro .aio-kicker,
body .aio-partners-dynamic__intro .aio-kicker_dark {
    color: #8A2F23 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    letter-spacing: .16em !important;
    margin-bottom: 14px !important;
}

/* Мобильная версия */
@media (max-width: 900px) {
    body .aio-partners-dynamic__grid {
        grid-template-columns: 1fr !important;
    }

    body .aio-partner-dynamic-card {
        grid-template-columns: 160px minmax(0, 1fr) !important;
    }
}

@media (max-width: 640px) {
    body .aio-partner-dynamic-card {
        grid-template-columns: 1fr !important;
    }

    body .aio-partner-dynamic-card__mark {
        min-height: 132px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(7,45,91,.07) !important;
    }

    body .aio-partner-dynamic-card__mark img {
        max-width: 180px !important;
        max-height: 92px !important;
    }

    body .aio-partner-dynamic-card__content {
        padding: 22px 22px 24px !important;
    }

    body .aio-partner-dynamic-card__content h3 {
        font-size: 25px !important;
    }
}


/* AIO partner site link small — 20260705 */
body .aio-partner-dynamic-card__link {
    margin-top: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: fit-content !important;
    min-height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #072D5B !important;
    font-family: "AIO Lateinisch", Georgia, serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body .aio-partner-dynamic-card__link:hover {
    background: transparent !important;
    border-color: transparent !important;
    color: #C85726 !important;
}


/* AIO home partners logos only exact — 20260705 */
body .aio-home-partners-logos {
    padding: 64px 0 72px !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(200,87,38,.06), transparent 18rem),
        linear-gradient(90deg, rgba(248,245,239,.98), rgba(242,227,207,.70)) !important;
}

body .aio-home-partners-logos__head {
    max-width: 880px !important;
    margin: 0 0 34px !important;
}

body .aio-home-partners-logos__head .aio-kicker {
    margin: 0 0 12px !important;
    color: #8A2F23 !important;
    opacity: 1 !important;
}

body .aio-home-partners-logos__head h2 {
    margin: 0 0 16px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: clamp(38px, 5vw, 58px) !important;
    line-height: .98 !important;
    font-weight: 500 !important;
}

body .aio-home-partners-logos__head p:not(.aio-kicker) {
    max-width: 760px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.66) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

body .aio-home-partners-logos__grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px 48px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 8px 0 0 !important;
}

body .aio-home-partners-logos__item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 120px !important;
    max-width: 240px !important;
    height: 82px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    opacity: .88 !important;
    transition: opacity .22s ease, transform .22s ease !important;
}

body .aio-home-partners-logos__item:hover {
    opacity: 1 !important;
    transform: translateY(-2px) !important;
}

body .aio-home-partners-logos__item img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 240px !important;
    max-height: 76px !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 760px) {
    body .aio-home-partners-logos {
        padding: 46px 0 54px !important;
    }

    body .aio-home-partners-logos__head h2 {
        font-size: 38px !important;
    }

    body .aio-home-partners-logos__grid {
        gap: 24px 30px !important;
    }

    body .aio-home-partners-logos__item {
        min-width: 104px !important;
        max-width: 170px !important;
        height: 68px !important;
    }

    body .aio-home-partners-logos__item img {
        max-width: 170px !important;
        max-height: 62px !important;
    }
}

/* AIO public member car specs final readable grid — 20260706 */
html body .aio-main .aio-member-cars-section .aio-member-car-card {
    display: grid !important;
    grid-template-columns: minmax(390px, 0.46fr) minmax(0, 0.54fr) !important;
    min-height: 470px !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
    min-width: 390px !important;
    padding: 30px 30px 26px !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__text h3 {
    margin: 0 0 4px !important;
    font-size: clamp(32px, 3vw, 42px) !important;
    line-height: 1 !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__preview {
    max-width: 420px !important;
    margin: 13px 0 15px !important;
    font-size: 13.5px !important;
    line-height: 1.48 !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(155px, 1fr)) !important;
    gap: 10px 12px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs div {
    display: block !important;
    min-width: 0 !important;
    padding: 10px 12px 11px !important;
    border-radius: 14px !important;
    background: rgba(248,245,239,.78) !important;
    border: 1px solid rgba(7,45,91,.08) !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dt {
    display: block !important;
    margin: 0 0 5px !important;
    color: #8A2F23 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 8.8px !important;
    line-height: 1.15 !important;
    letter-spacing: .105em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dd {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: #072D5B !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
    min-height: 470px !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
    height: 360px !important;
    min-height: 360px !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs {
    padding: 8px !important;
    gap: 8px !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs button {
    height: 58px !important;
}

@media (max-width: 1050px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
        min-width: 0 !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
        min-height: 0 !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
        height: 320px !important;
        min-height: 320px !important;
    }
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs {
        grid-template-columns: 1fr !important;
    }
}

/* AIO member car transmission one-row spec — 20260706 */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs .aio-member-car-spec_transmission {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(120px, .34fr) minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: center !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs .aio-member-car-spec_transmission dt {
    margin: 0 !important;
    white-space: nowrap !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs .aio-member-car-spec_transmission dd {
    font-size: 13px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: none !important;
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs .aio-member-car-spec_transmission {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }
}

/* AIO public member car card reset: plain specs + stable tabs — 20260706 */

/* Вкладки автомобилей: показываем только активную карточку */
html body .aio-main .aio-member-cars-grid .aio-member-car-card {
    display: none !important;
}

html body .aio-main .aio-member-cars-grid .aio-member-car-card.is-active {
    display: grid !important;
}

/* Возвращаем устойчивую двухколоночную карточку */
html body .aio-main .aio-member-cars-section .aio-member-car-card {
    grid-template-columns: minmax(360px, .48fr) minmax(0, .52fr) !important;
    min-height: 390px !important;
    overflow: hidden !important;
    align-items: stretch !important;
}

/* Левая часть спокойнее и без расползания */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
    padding: 26px 28px 24px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Характеристики: обычный список, без коробочек */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-top: 16px !important;
    max-width: 430px !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs div,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain div,
html body .aio-main .aio-member-cars-section .aio-member-car-spec {
    display: grid !important;
    grid-template-columns: 126px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: baseline !important;
    min-height: 0 !important;
    padding: 7px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dt {
    margin: 0 !important;
    color: #8A2F23 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: none !important;
}

/* Коробка передач — последней строкой, но в том же стиле */
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    margin-top: 4px !important;
    padding-top: 10px !important;
    border-top-color: rgba(200,87,38,.18) !important;
}

/* Правая часть: фото не скачет от вкладки к вкладке */
html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
    min-height: 390px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
    flex: 1 1 auto !important;
    min-height: 320px !important;
    height: auto !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs {
    flex: 0 0 auto !important;
}

@media (max-width: 980px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card.is-active {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
        min-height: 320px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
        min-height: 280px !important;
    }
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs div,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain div,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
}

/* AIO public member car card final specs layout — 20260706 */

/* Только активная вкладка автомобиля */
html body .aio-main .aio-member-cars-grid .aio-member-car-card {
    display: none !important;
}

html body .aio-main .aio-member-cars-grid .aio-member-car-card.is-active {
    display: grid !important;
}

/* Карточка чуть выше, фото подогнано под высоту */
html body .aio-main .aio-member-cars-section .aio-member-car-card {
    grid-template-columns: minmax(380px, .48fr) minmax(0, .52fr) !important;
    min-height: 430px !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
    padding: 28px 30px 26px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Модель под названием карточки */
html body .aio-main .aio-member-car-card__model-line {
    margin: 2px 0 4px !important;
    color: rgba(7,45,91,.72) !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

/* Характеристики — как раньше, без плиток */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 34px !important;
    row-gap: 0 !important;
    margin-top: 18px !important;
    max-width: 460px !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs div,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain div,
html body .aio-main .aio-member-cars-section .aio-member-car-spec {
    display: grid !important;
    grid-template-columns: 105px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: baseline !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Коробка передач — отдельной широкой строкой под характеристиками */
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    grid-column: 1 / -1 !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    margin-top: 2px !important;
    padding-top: 10px !important;
    border-top-color: rgba(200,87,38,.18) !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dt {
    margin: 0 !important;
    color: #8A2F23 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: none !important;
}

/* Фото больше не скачет */
html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
    min-height: 430px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
    flex: 1 1 auto !important;
    min-height: 350px !important;
    height: auto !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs {
    flex: 0 0 auto !important;
}

@media (max-width: 980px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card.is-active {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain {
        grid-template-columns: 1fr !important;
        max-width: none !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
        min-height: 330px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
        min-height: 285px !important;
    }
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs div,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain div,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
}

/* AIO car card brand-title model-line final override — 20260706 */

/* Личный кабинет: поле названия карточки авто-заполняется маркой */
html body .aio-lk-form .aio-car-title-auto-field input[readonly] {
    background: rgba(248,245,239,.72) !important;
    color: #072D5B !important;
    cursor: default !important;
}

html body .aio-lk-form .aio-car-title-auto-field small {
    display: block !important;
    margin-top: 7px !important;
    color: rgba(45,45,45,.58) !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

/* Публичная карточка автомобиля: вкладки не разъезжаются */
html body .aio-main .aio-member-cars-grid .aio-member-car-card {
    display: none !important;
}

html body .aio-main .aio-member-cars-grid .aio-member-car-card.is-active {
    display: grid !important;
}

/* Возвращаем нормальный широкий формат карточки */
html body .aio-main .aio-member-cars-section .aio-member-car-card {
    grid-template-columns: minmax(390px, 460px) minmax(0, 1fr) !important;
    min-height: 430px !important;
    height: auto !important;
    max-height: none !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

/* Левая текстовая часть */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
    height: auto !important;
    min-height: 430px !important;
    max-height: none !important;
    padding: 28px 30px 26px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Название карточки = марка */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text h3 {
    margin: 0 0 2px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: clamp(36px, 3.2vw, 50px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
}

/* Модель под названием */
html body .aio-main .aio-member-cars-section .aio-member-car-card__model-line {
    margin: 0 0 4px !important;
    color: rgba(7,45,91,.78) !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

/* Год */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text > span {
    margin: 0 0 14px !important;
    color: #C85726 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .06em !important;
}

/* Описание и кнопка */
html body .aio-main .aio-member-cars-section .aio-member-car-card__preview {
    max-height: 92px !important;
    margin: 0 0 8px !important;
    overflow: hidden !important;
    color: rgba(45,45,45,.72) !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-more {
    margin: 0 0 14px !important;
}

/* Характеристики: без коробочек, две колонки, без марки и модели */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 34px !important;
    row-gap: 0 !important;
    margin: 14px 0 0 !important;
    max-width: 460px !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs div,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain div,
html body .aio-main .aio-member-cars-section .aio-member-car-spec {
    display: grid !important;
    grid-template-columns: 105px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: baseline !important;
    min-height: 0 !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Коробка передач — последней широкой строкой */
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    grid-column: 1 / -1 !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    margin-top: 2px !important;
    padding-top: 10px !important;
    border-top-color: rgba(200,87,38,.18) !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dt {
    margin: 0 !important;
    color: #8A2F23 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: none !important;
}

/* Правая часть: фиксируем фото под высоту карточки */
html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
    min-height: 430px !important;
    height: 100% !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: minmax(350px, 1fr) 62px !important;
    gap: 8px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 350px !important;
    max-height: none !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs {
    height: 62px !important;
    min-height: 62px !important;
    flex: 0 0 auto !important;
}

@media (max-width: 980px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card.is-active {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
        min-height: 0 !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
        min-height: 330px !important;
        grid-template-rows: minmax(285px, 1fr) 58px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
        min-height: 285px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain {
        grid-template-columns: 1fr !important;
        max-width: none !important;
    }
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs div,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain div,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
}

/* AIO car card model-title one-column final override — 20260706 */

/* Личный кабинет: название карточки авто-заполняется моделью */
html body .aio-lk-form .aio-car-title-auto-field input[readonly] {
    background: rgba(248,245,239,.72) !important;
    color: #072D5B !important;
    cursor: default !important;
}

html body .aio-lk-form .aio-car-title-auto-field small {
    display: block !important;
    margin-top: 7px !important;
    color: rgba(45,45,45,.58) !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

/* Вкладки автомобилей: только активная карточка */
html body .aio-main .aio-member-cars-grid .aio-member-car-card {
    display: none !important;
}

html body .aio-main .aio-member-cars-grid .aio-member-car-card.is-active {
    display: grid !important;
}

/* Карточка: левая часть компактнее, фото занимает больше площади */
html body .aio-main .aio-member-cars-section .aio-member-car-card {
    grid-template-columns: minmax(350px, 410px) minmax(0, 1fr) !important;
    min-height: 455px !important;
    height: auto !important;
    max-height: none !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

/* Левая текстовая часть */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
    height: auto !important;
    min-height: 455px !important;
    max-height: none !important;
    padding: 30px 30px 26px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Название карточки = модель */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text h3 {
    margin: 0 0 6px !important;
    color: #072D5B !important;
    font-family: var(--aio-display, "Cormorant Garamond", Georgia, serif) !important;
    font-size: clamp(32px, 2.7vw, 43px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

/* Убираем возможные декоративные линии/псевдоэлементы от старых правок */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text h3::before,
html body .aio-main .aio-member-cars-section .aio-member-car-card__text h3::after {
    content: none !important;
    display: none !important;
}

/* Год */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text > span {
    display: block !important;
    margin: 0 0 16px !important;
    color: #C85726 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    letter-spacing: .055em !important;
}

/* Описание крупнее */
html body .aio-main .aio-member-cars-section .aio-member-car-card__preview {
    max-height: 116px !important;
    margin: 0 0 10px !important;
    overflow: hidden !important;
    color: rgba(45,45,45,.74) !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
}

/* Кнопка читать полностью */
html body .aio-main .aio-member-cars-section .aio-member-car-more {
    margin: 0 0 16px !important;
    min-height: 26px !important;
    padding: 0 12px !important;
    font-size: 9px !important;
}

/* Характеристики: один спокойный столбик, без коробочек */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 16px 0 0 !important;
    max-width: 100% !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs div,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain div,
html body .aio-main .aio-member-cars-section .aio-member-car-spec,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    display: grid !important;
    grid-template-columns: 138px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: baseline !important;
    min-height: 0 !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    grid-column: auto !important;
    margin-top: 0 !important;
    border-top-color: rgba(200,87,38,.18) !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dt {
    margin: 0 !important;
    color: #8A2F23 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 9.2px !important;
    line-height: 1.2 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: none !important;
}

/* Фото: больше площади, без скачков между вкладками */
html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
    min-height: 455px !important;
    height: 100% !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: minmax(377px, 1fr) 62px !important;
    gap: 8px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 377px !important;
    max-height: none !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs {
    height: 62px !important;
    min-height: 62px !important;
    flex: 0 0 auto !important;
}

@media (max-width: 980px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card.is-active {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
        min-height: 0 !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
        min-height: 330px !important;
        grid-template-rows: minmax(285px, 1fr) 58px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
        min-height: 285px !important;
    }
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs div,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain div,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
}

/* AIO car card: hide repeated model title + strict one-column specs — 20260706 */

/* Название модели уже есть во вкладке сверху, внутри карточки его не повторяем */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text > h3 {
    display: none !important;
}

/* Левая часть: первой строкой становится год выпуска */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
    padding: 32px 32px 28px !important;
    min-height: 455px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Год выпуска — первая видимая строка */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text > span {
    display: block !important;
    margin: 0 0 18px !important;
    color: #C85726 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    letter-spacing: .055em !important;
    font-weight: 600 !important;
}

/* Описание */
html body .aio-main .aio-member-cars-section .aio-member-car-card__preview {
    max-height: 124px !important;
    margin: 0 0 14px !important;
    overflow: hidden !important;
    color: rgba(45,45,45,.74) !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
}

/* Характеристики строго в один столбик */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain {
    display: grid !important;
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    gap: 0 !important;
    margin: 18px 0 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Каждая характеристика — одна горизонтальная строка */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div,
html body .aio-main .aio-member-cars-section .aio-member-car-spec,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 145px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: baseline !important;
    min-height: 0 !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Коробка передач — такая же строка, без особой сетки */
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    grid-template-columns: 145px minmax(0, 1fr) !important;
    border-top-color: rgba(7,45,91,.09) !important;
}

/* Подписи */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dt,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dt {
    margin: 0 !important;
    color: #8A2F23 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 9.2px !important;
    line-height: 1.2 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/* Значения: не должны раскладываться по буквам */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dd,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Карточка и фото держат нормальную высоту */
html body .aio-main .aio-member-cars-section .aio-member-car-card {
    grid-template-columns: minmax(350px, 410px) minmax(0, 1fr) !important;
    min-height: 455px !important;
    height: auto !important;
    max-height: none !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
    min-height: 455px !important;
    height: 100% !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: minmax(377px, 1fr) 62px !important;
    gap: 8px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
    width: 100% !important;
    height: 100% !important;
    min-height: 377px !important;
    max-height: none !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Мобилка */
@media (max-width: 980px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card.is-active {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
        min-height: 0 !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
        min-height: 330px !important;
        grid-template-rows: minmax(285px, 1fr) 58px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
        min-height: 285px !important;
    }
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
}


/* AIO car card final polish: aligned specs + larger photo — 20260706 */

/* Карточка чуть выше, чтобы фото стало крупнее */
html body .aio-main .aio-member-cars-section .aio-member-car-card {
    grid-template-columns: minmax(350px, 410px) minmax(0, 1fr) !important;
    min-height: 492px !important;
    height: auto !important;
    max-height: none !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

/* Левая колонка */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
    padding: 34px 34px 30px !important;
    min-height: 492px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Год чуть заметнее */
html body .aio-main .aio-member-cars-section .aio-member-car-card__text > span {
    margin: 0 0 20px !important;
    font-size: 11.8px !important;
    line-height: 1.25 !important;
    font-weight: 650 !important;
}

/* Описание чуть крупнее */
html body .aio-main .aio-member-cars-section .aio-member-car-card__preview {
    max-height: 132px !important;
    margin: 0 0 16px !important;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
}

/* Читать полностью */
html body .aio-main .aio-member-cars-section .aio-member-car-more {
    margin-bottom: 18px !important;
}

/* Характеристики: один столбик, ровная сетка */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px 0 0 !important;
}

/* Все строки одинаковые: подпись слева, значение строго с одного края */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div,
html body .aio-main .aio-member-cars-section .aio-member-car-spec,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: baseline !important;
    padding: 8.5px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Подписи */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dt,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dt {
    margin: 0 !important;
    color: #8A2F23 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 9.8px !important;
    line-height: 1.2 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/* Значения — крупнее и ровно по одному левому краю */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dd,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dd {
    justify-self: start !important;
    align-self: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #072D5B !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 14.4px !important;
    line-height: 1.28 !important;
    font-weight: 750 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Правая колонка: главное фото занимает почти весь блок, миниатюры остаются снизу */
html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
    min-height: 492px !important;
    height: 100% !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: minmax(418px, 1fr) 58px !important;
    gap: 8px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Главное фото крупнее */
html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
    width: 100% !important;
    height: 100% !important;
    min-height: 418px !important;
    max-height: none !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Миниатюры аккуратнее и ниже */
html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    gap: 8px !important;
    padding: 0 !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs button {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs img {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    object-fit: cover !important;
}

/* Мобильная версия */
@media (max-width: 980px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card.is-active {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__text {
        min-height: 0 !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
        min-height: 350px !important;
        grid-template-rows: minmax(288px, 1fr) 54px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
        min-height: 288px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs button,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs img {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
    }
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
}


/* AIO car card: final alignment of specs and full photo fit — 20260706 */

/* Левая колонка значений: все значения начинаются с одной линии */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div,
html body .aio-main .aio-member-cars-section .aio-member-car-spec,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    column-gap: 18px !important;
    align-items: baseline !important;
}

/* Подписи слева */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dt,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dt {
    width: 150px !important;
    min-width: 150px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #8A2F23 !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    letter-spacing: .085em !important;
    text-transform: uppercase !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
}

/* Значения справа: одинаковый размер, одинаковая жирность, один левый край */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dd,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dd {
    justify-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #072D5B !important;
    font-family: var(--aio-ui, Montserrat, Arial, sans-serif) !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* У коробки передач тот же шрифт и тот же край, без отдельной логики */
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    grid-column: auto !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dd {
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Фото-блок: фото занимает почти всю поверхность синего блока */
html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
    min-height: 492px !important;
    height: 492px !important;
    max-height: 492px !important;
    display: grid !important;
    grid-template-rows: 408px 58px !important;
    gap: 10px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Главное фото вписано в блок с небольшой каймой */
html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
    display: block !important;
    width: 100% !important;
    height: 408px !important;
    min-height: 408px !important;
    max-height: 408px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Миниатюры снизу, с маленьким ровным промежутком */
html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs button {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    border-radius: 10px !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs img {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    object-fit: cover !important;
}

/* Планшет / мобильный */
@media (max-width: 980px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
        height: 360px !important;
        min-height: 360px !important;
        max-height: 360px !important;
        grid-template-rows: 292px 50px !important;
        gap: 8px !important;
        padding: 8px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
        height: 292px !important;
        min-height: 292px !important;
        max-height: 292px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs button,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs img {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
    }
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs dt,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dt {
        width: auto !important;
        min-width: 0 !important;
    }
}


/* AIO FORCE car specs same font/weight/alignment — 20260706 */

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

/* Каждая строка: подпись слева, значение справа, один общий левый край значений */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div,
html body .aio-main .aio-member-cars-section .aio-member-car-spec,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    display: grid !important;
    grid-template-columns: 150px 1fr !important;
    column-gap: 20px !important;
    align-items: baseline !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Левая подпись */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div dt,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div dt,
html body .aio-main .aio-member-cars-section .aio-member-car-spec dt,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dt {
    display: block !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #8A2F23 !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    letter-spacing: .085em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* Правая надпись: ВСЕ значения одинаковые — седан, зелёный, идеальное, механическая */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div dd,
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div dd,
html body .aio-main .aio-member-cars-section .aio-member-car-spec dd,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dd {
    display: block !important;
    justify-self: start !important;
    align-self: baseline !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #072D5B !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 500 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Убираем отдельное поведение коробки передач, она обычная строка списка */
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
    grid-column: auto !important;
    grid-template-columns: 150px 1fr !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dt,
html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dd {
    font-size: inherit !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dt {
    font-size: 9.5px !important;
    font-weight: 600 !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dd {
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Фото внутри правого блока: почти от края до края */
html body .aio-main .aio-member-cars-section .aio-member-car-card__media {
    height: 492px !important;
    min-height: 492px !important;
    max-height: 492px !important;
    display: grid !important;
    grid-template-rows: 414px 58px !important;
    gap: 10px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main {
    width: 100% !important;
    height: 414px !important;
    min-height: 414px !important;
    max-height: 414px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs,
html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs button,
html body .aio-main .aio-member-cars-section .aio-member-car-card__thumbs img {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs > div dt,
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_plain > div dt,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec dt,
    html body .aio-main .aio-member-cars-section .aio-member-car-spec_transmission dt {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}


/* AIO rebuilt member car card — clean structure — 20260706 */

html body .aio-main .aio-member-cars-grid .aio-member-car-card {
    display: none !important;
}

html body .aio-main .aio-member-cars-grid .aio-member-car-card.is-active {
    display: grid !important;
}

/* Чистая карточка: слева текст, справа фото */
html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt {
    grid-template-columns: minmax(360px, 440px) minmax(0, 1fr) !important;
    min-height: 470px !important;
    height: 470px !important;
    max-height: 470px !important;
    overflow: hidden !important;
    align-items: stretch !important;
    border-radius: 28px !important;
}

/* Левая часть */
html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__text {
    height: 470px !important;
    min-height: 470px !important;
    max-height: 470px !important;
    padding: 30px 34px 28px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Год — первая строка, без повторного заголовка */
html body .aio-main .aio-member-cars-section .aio-member-car-card__year {
    margin: 0 0 18px !important;
    color: #C85726 !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: .035em !important;
}

/* Описание */
html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__preview {
    max-height: 128px !important;
    margin: 0 0 16px !important;
    overflow: hidden !important;
    color: rgba(45,45,45,.76) !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
    font-weight: 400 !important;
}

/* Кнопка читать полностью */
html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-more {
    margin: 0 0 22px !important;
}

/* Характеристики: только один столбик, без плиток */
html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_rebuilt {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_rebuilt .aio-member-car-spec {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    column-gap: 22px !important;
    align-items: baseline !important;
    min-height: 34px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_rebuilt dt {
    margin: 0 !important;
    padding: 0 !important;
    color: #8A2F23 !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_rebuilt dd {
    justify-self: start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #072D5B !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 500 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Правая часть: фото вписано почти во весь синий блок */
html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__media {
    height: 470px !important;
    min-height: 470px !important;
    max-height: 470px !important;
    display: grid !important;
    grid-template-rows: minmax(0, 382px) 58px !important;
    gap: 10px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__main {
    display: block !important;
    width: 100% !important;
    height: 382px !important;
    min-height: 382px !important;
    max-height: 382px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__thumbs {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    gap: 8px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__thumbs button,
html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__thumbs img {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
}

/* Мобильная версия */
@media (max-width: 980px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt.is-active {
        grid-template-columns: 1fr !important;
        height: auto !important;
        max-height: none !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__text {
        height: auto !important;
        max-height: none !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__media {
        height: 360px !important;
        min-height: 360px !important;
        max-height: 360px !important;
        grid-template-rows: 292px 58px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__main {
        height: 292px !important;
        min-height: 292px !important;
        max-height: 292px !important;
    }
}

@media (max-width: 620px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card__specs_rebuilt .aio-member-car-spec {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
}


/* AIO member car photo fill right box — 20260706 */

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__media {
    height: 470px !important;
    min-height: 470px !important;
    max-height: 470px !important;
    padding: 10px !important;
    display: grid !important;
    grid-template-rows: minmax(0, 384px) 56px !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__main {
    width: 100% !important;
    height: 384px !important;
    min-height: 384px !important;
    max-height: 384px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: transparent !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__thumbs {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__thumbs button {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__thumbs img {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    object-fit: cover !important;
    object-position: center center !important;
}

@media (max-width: 980px) {
    html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__media {
        height: 370px !important;
        min-height: 370px !important;
        max-height: 370px !important;
        grid-template-rows: minmax(0, 304px) 54px !important;
        gap: 8px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__main {
        height: 304px !important;
        min-height: 304px !important;
        max-height: 304px !important;
    }

    html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__thumbs,
    html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__thumbs button,
    html body .aio-main .aio-member-cars-section .aio-member-car-card_rebuilt .aio-member-car-card__thumbs img {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
    }
}


/* ========================================================
   SOURCE: aio-design-system-final.css
   ======================================================== */

/* =========================================================
   AIO DESIGN SYSTEM FINAL
   Единая визуальная система сайта АИО
   Fonts: Cormorant Garamond + Montserrat
   Palette: #072D5B, #C85726, #F2E3CF, #F8F5EF, #2D2D2D
   ========================================================= */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "AIO Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "AIO Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --aio-blue: #072D5B;
  --aio-blue-dark: #061F3E;
  --aio-orange: #C85726;
  --aio-cream: #F2E3CF;
  --aio-ivory: #F8F5EF;
  --aio-graphite: #2D2D2D;

  --aio-font-serif: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --aio-font-sans: "AIO Montserrat", "Montserrat", Arial, Helvetica, sans-serif;

  --aio-text: var(--aio-graphite);
  --aio-muted: rgba(45, 45, 45, 0.68);
  --aio-light: var(--aio-ivory);
  --aio-light-soft: rgba(248, 245, 239, 0.86);
  --aio-light-muted: rgba(248, 245, 239, 0.68);

  --aio-border: rgba(7, 45, 91, 0.14);
  --aio-border-light: rgba(248, 245, 239, 0.22);
  --aio-radius-card: 22px;
  --aio-radius-pill: 999px;
  --aio-shadow-card: 0 18px 48px rgba(7, 45, 91, 0.10);
}

/* ---------- Base ---------- */

html,
body {
  background: var(--aio-ivory) !important;
  color: var(--aio-text) !important;
}

body {
  font-family: var(--aio-font-sans) !important;
  font-size: 16px;
  line-height: 1.65;
}

body,
p,
li,
td,
th,
label,
input,
textarea,
select,
button,
figcaption,
blockquote {
  font-family: var(--aio-font-sans) !important;
}

/* ---------- Headings ---------- */

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.page-title,
.section-title,
.aio-section-title,
.block-title,
.card-title,
.event-title,
.project-title,
.club-title,
.person-title,
.publication-title,
.archive-title,
.blog-title,
.news-title {
  font-family: var(--aio-font-serif) !important;
  font-weight: 600 !important;
  color: var(--aio-blue) !important;
  letter-spacing: 0.01em !important;
}

h1 *,
h2 *,
h3 *,
h4 *,
h5 *,
h6 *,
.hero-title *,
.page-title *,
.section-title *,
.aio-section-title *,
.block-title *,
.card-title *,
.event-title *,
.project-title *,
.club-title *,
.person-title *,
.publication-title *,
.archive-title *,
.blog-title *,
.news-title * {
  font-family: inherit !important;
  color: inherit !important;
}

h1,
.hero-title,
.page-title {
  font-size: clamp(44px, 4.8vw, 72px) !important;
  line-height: 1 !important;
}

h2,
.section-title,
.aio-section-title {
  font-size: clamp(34px, 3.2vw, 52px) !important;
  line-height: 1.06 !important;
}

h3,
.block-title,
.card-title,
.event-title,
.project-title,
.club-title,
.person-title,
.publication-title,
.archive-title {
  font-size: clamp(23px, 2vw, 32px) !important;
  line-height: 1.14 !important;
}

/* ---------- Text roles ---------- */

.subtitle,
.section-subtitle,
.section-description,
.hero-subtitle,
.hero-description,
.lead,
.intro,
.description,
.card-description,
.event-description,
.project-description,
.club-description,
.person-description {
  font-family: var(--aio-font-sans) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  color: var(--aio-muted) !important;
}

.aio-eyebrow,
.section-label,
.overline,
.kicker,
.eyebrow,
.rubric,
.category,
.meta,
.date,
.card-meta,
.event-meta,
.badge,
.tag {
  font-family: var(--aio-font-sans) !important;
  color: var(--aio-orange) !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* ---------- Dark backgrounds ---------- */

.hero,
.main-hero,
.page-hero,
.aio-hero,
.dark-section,
.events-section,
.calendar-section,
.cta-section,
.aio-cta,
.join-section,
.apply-section,
.site-footer,
.footer,
footer,
[class*="dark-section"],
[class*="cta-section"] {
  color: var(--aio-light) !important;
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6,
.main-hero h1,
.main-hero h2,
.main-hero h3,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.aio-hero h1,
.aio-hero h2,
.aio-hero h3,
.dark-section h1,
.dark-section h2,
.dark-section h3,
.events-section h1,
.events-section h2,
.events-section h3,
.calendar-section h1,
.calendar-section h2,
.calendar-section h3,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.aio-cta h1,
.aio-cta h2,
.aio-cta h3,
.join-section h1,
.join-section h2,
.join-section h3,
.apply-section h1,
.apply-section h2,
.apply-section h3,
footer h1,
footer h2,
footer h3,
footer h4,
[class*="dark-section"] h1,
[class*="dark-section"] h2,
[class*="dark-section"] h3,
[class*="cta-section"] h1,
[class*="cta-section"] h2,
[class*="cta-section"] h3 {
  color: var(--aio-ivory) !important;
}

.hero h1 *,
.hero h2 *,
.hero h3 *,
.main-hero h1 *,
.main-hero h2 *,
.main-hero h3 *,
.page-hero h1 *,
.page-hero h2 *,
.page-hero h3 *,
.aio-hero h1 *,
.aio-hero h2 *,
.aio-hero h3 *,
.dark-section h1 *,
.dark-section h2 *,
.dark-section h3 *,
.events-section h1 *,
.events-section h2 *,
.events-section h3 *,
.calendar-section h1 *,
.calendar-section h2 *,
.calendar-section h3 *,
.cta-section h1 *,
.cta-section h2 *,
.cta-section h3 *,
footer h1 *,
footer h2 *,
footer h3 * {
  color: inherit !important;
}

.hero p,
.main-hero p,
.page-hero p,
.aio-hero p,
.dark-section p,
.events-section p,
.calendar-section p,
.cta-section p,
.aio-cta p,
.join-section p,
.apply-section p,
footer p {
  color: var(--aio-light-soft) !important;
}

.hero .subtitle,
.hero .section-subtitle,
.hero .section-description,
.hero .hero-subtitle,
.hero .hero-description,
.hero .lead,
.dark-section .subtitle,
.dark-section .section-subtitle,
.dark-section .section-description,
.events-section .subtitle,
.events-section .section-subtitle,
.events-section .section-description,
.calendar-section .subtitle,
.calendar-section .section-subtitle,
.calendar-section .section-description,
.cta-section .subtitle,
.cta-section .section-subtitle,
.cta-section .section-description {
  color: var(--aio-light-soft) !important;
}

.hero .aio-eyebrow,
.hero .section-label,
.hero .overline,
.hero .kicker,
.hero .eyebrow,
.dark-section .aio-eyebrow,
.dark-section .section-label,
.dark-section .overline,
.events-section .aio-eyebrow,
.events-section .section-label,
.events-section .overline,
.calendar-section .aio-eyebrow,
.calendar-section .section-label,
.calendar-section .overline,
.cta-section .aio-eyebrow,
.cta-section .section-label,
.cta-section .overline {
  color: var(--aio-cream) !important;
}

/* ---------- Links and arrows ---------- */

a {
  color: var(--aio-blue);
}

a:hover {
  color: var(--aio-orange);
}

.hero a,
.main-hero a,
.page-hero a,
.aio-hero a,
.dark-section a,
.events-section a,
.calendar-section a,
.cta-section a,
.aio-cta a,
.join-section a,
.apply-section a,
footer a,
[class*="dark-section"] a,
[class*="cta-section"] a {
  color: var(--aio-cream) !important;
}

.hero a:hover,
.main-hero a:hover,
.page-hero a:hover,
.aio-hero a:hover,
.dark-section a:hover,
.events-section a:hover,
.calendar-section a:hover,
.cta-section a:hover,
.aio-cta a:hover,
.join-section a:hover,
.apply-section a:hover,
footer a:hover {
  color: var(--aio-orange) !important;
}

.hero a::before,
.hero a::after,
.dark-section a::before,
.dark-section a::after,
.events-section a::before,
.events-section a::after,
.calendar-section a::before,
.calendar-section a::after,
.cta-section a::before,
.cta-section a::after,
footer a::before,
footer a::after {
  color: var(--aio-orange) !important;
}

.more-link,
.read-more,
.all-link,
.aio-more-link {
  font-family: var(--aio-font-sans) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* ---------- Header and nav ---------- */

.topbar,
.header-top,
.site-top {
  background: var(--aio-blue) !important;
  color: var(--aio-ivory) !important;
}

.header,
.site-header,
.main-header,
.navbar {
  background: var(--aio-ivory) !important;
}

nav,
nav *,
.menu,
.menu *,
.nav,
.nav *,
.header,
.header *,
.site-header,
.site-header *,
.main-header,
.main-header *,
.navbar,
.navbar * {
  font-family: var(--aio-font-sans) !important;
}

nav a,
.menu a,
.nav a,
.header a,
.site-header a,
.main-header a,
.navbar a {
  color: var(--aio-blue) !important;
  font-weight: 600 !important;
}

nav a:hover,
.menu a:hover,
.nav a:hover,
.header a:hover,
.site-header a:hover,
.main-header a:hover,
.navbar a:hover {
  color: var(--aio-orange) !important;
}

/* ---------- Cards ---------- */

.card,
.aio-card,
.panel,
.info-card,
.project-card,
.event-card,
.club-card,
.person-card,
.archive-card,
.publication-card,
.blog-card,
.news-card {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid var(--aio-border) !important;
  border-radius: var(--aio-radius-card) !important;
  box-shadow: var(--aio-shadow-card);
  color: var(--aio-text) !important;
}

.card p,
.aio-card p,
.panel p,
.info-card p,
.project-card p,
.event-card p,
.club-card p,
.person-card p,
.archive-card p,
.publication-card p,
.blog-card p,
.news-card p {
  color: var(--aio-muted) !important;
}

.dark-section .card,
.dark-section .aio-card,
.dark-section .panel,
.dark-section .event-card,
.events-section .card,
.events-section .aio-card,
.events-section .event-card,
.calendar-section .card,
.calendar-section .aio-card,
.calendar-section .event-card {
  background: rgba(248, 245, 239, 0.08) !important;
  border-color: var(--aio-border-light) !important;
  box-shadow: none !important;
  color: var(--aio-ivory) !important;
}

.dark-section .card p,
.dark-section .aio-card p,
.dark-section .event-card p,
.events-section .card p,
.events-section .aio-card p,
.events-section .event-card p,
.calendar-section .card p,
.calendar-section .aio-card p,
.calendar-section .event-card p {
  color: var(--aio-light-soft) !important;
}

/* ---------- Events ---------- */

.event-card h1,
.event-card h2,
.event-card h3,
.event-card h4,
.event-card .event-title,
.events-section .event-title,
.calendar-section .event-title {
  color: inherit !important;
}

.events-section .event-card h1,
.events-section .event-card h2,
.events-section .event-card h3,
.events-section .event-card .event-title,
.calendar-section .event-card h1,
.calendar-section .event-card h2,
.calendar-section .event-card h3,
.calendar-section .event-card .event-title,
.dark-section .event-card h1,
.dark-section .event-card h2,
.dark-section .event-card h3,
.dark-section .event-card .event-title {
  color: var(--aio-ivory) !important;
}

.event-date,
.date-box,
.calendar-date,
.event-card-date {
  background: var(--aio-ivory) !important;
  color: var(--aio-blue) !important;
  border-radius: 14px !important;
  font-family: var(--aio-font-sans) !important;
  text-align: center;
}

.event-date *,
.date-box *,
.calendar-date *,
.event-card-date * {
  color: var(--aio-blue) !important;
  font-family: var(--aio-font-sans) !important;
}

.event-date .month,
.date-box .month,
.calendar-date .month,
.event-card-date .month {
  color: var(--aio-orange) !important;
}

/* ---------- Buttons, filters, chips ---------- */

.btn,
.aio-btn,
button,
input[type="submit"],
input[type="button"],
.button,
.more-link,
.read-more,
.filter a,
.filters a,
.filter button,
.filters button,
.tab,
.chip,
.pill {
  font-family: var(--aio-font-sans) !important;
  border-radius: var(--aio-radius-pill) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
}

.btn-primary,
.aio-btn-primary,
button[type="submit"],
input[type="submit"] {
  background: var(--aio-orange) !important;
  border-color: var(--aio-orange) !important;
  color: #fff !important;
}

.btn-primary:hover,
.aio-btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--aio-blue) !important;
  border-color: var(--aio-blue) !important;
  color: #fff !important;
}

.btn-secondary,
.aio-btn-secondary {
  background: transparent !important;
  color: var(--aio-blue) !important;
  border: 1px solid rgba(7, 45, 91, 0.28) !important;
}

.btn-secondary:hover,
.aio-btn-secondary:hover {
  background: var(--aio-blue) !important;
  color: #fff !important;
}

.filter a,
.filters a,
.filter button,
.filters button,
.tab,
.chip,
.pill {
  color: var(--aio-blue) !important;
  border: 1px solid rgba(7, 45, 91, 0.18) !important;
  background: rgba(255, 255, 255, 0.68) !important;
}

.filter a:hover,
.filters a:hover,
.filter button:hover,
.filters button:hover,
.tab:hover,
.chip:hover,
.pill:hover,
.filter .active,
.filters .active,
.tab.active,
.chip.active,
.pill.active {
  color: #fff !important;
  background: var(--aio-orange) !important;
  border-color: var(--aio-orange) !important;
}

/* ---------- Footer ---------- */

footer,
.footer,
.site-footer {
  background: var(--aio-blue-dark) !important;
  color: rgba(248, 245, 239, 0.82) !important;
}

footer p,
.footer p,
.site-footer p,
footer li,
.footer li,
.site-footer li {
  color: rgba(248, 245, 239, 0.76) !important;
}

footer h1,
footer h2,
footer h3,
footer h4,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--aio-cream) !important;
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  h1,
  .hero-title,
  .page-title {
    font-size: 40px !important;
    line-height: 1.03 !important;
  }

  h2,
  .section-title,
  .aio-section-title {
    font-size: 32px !important;
    line-height: 1.08 !important;
  }

  h3,
  .block-title,
  .card-title,
  .event-title,
  .project-title,
  .club-title,
  .person-title {
    font-size: 23px !important;
    line-height: 1.14 !important;
  }

  .subtitle,
  .section-subtitle,
  .section-description,
  .hero-subtitle,
  .hero-description,
  .lead,
  .intro,
  .description {
    font-size: 15px !important;
  }
}

/* =========================================================
   AIO DARK HEADINGS FINAL FIX
   Все крупные заголовки и title-классы на тёмном фоне — светлые
   ========================================================= */

/* 1. Все типовые тёмные секции */
.hero,
.main-hero,
.page-hero,
.aio-hero,
.home-hero,
.inner-hero,
.dark-section,
.blue-section,
.navy-section,
.events-section,
.home-events,
.events-preview,
.calendar-section,
.cta-section,
.aio-cta,
.join-section,
.apply-section,
.footer,
.site-footer,
footer,
[class*="hero"],
[class*="dark"],
[class*="blue-section"],
[class*="navy"],
[class*="cta"],
[class*="join"],
[class*="apply"] {
  color: #F8F5EF !important;
}

/* 2. Реальные h1-h6 внутри тёмных секций */
.hero :is(h1,h2,h3,h4,h5,h6),
.main-hero :is(h1,h2,h3,h4,h5,h6),
.page-hero :is(h1,h2,h3,h4,h5,h6),
.aio-hero :is(h1,h2,h3,h4,h5,h6),
.home-hero :is(h1,h2,h3,h4,h5,h6),
.inner-hero :is(h1,h2,h3,h4,h5,h6),
.dark-section :is(h1,h2,h3,h4,h5,h6),
.blue-section :is(h1,h2,h3,h4,h5,h6),
.navy-section :is(h1,h2,h3,h4,h5,h6),
.events-section :is(h1,h2,h3,h4,h5,h6),
.home-events :is(h1,h2,h3,h4,h5,h6),
.events-preview :is(h1,h2,h3,h4,h5,h6),
.calendar-section :is(h1,h2,h3,h4,h5,h6),
.cta-section :is(h1,h2,h3,h4,h5,h6),
.aio-cta :is(h1,h2,h3,h4,h5,h6),
.join-section :is(h1,h2,h3,h4,h5,h6),
.apply-section :is(h1,h2,h3,h4,h5,h6),
.footer :is(h1,h2,h3,h4,h5,h6),
.site-footer :is(h1,h2,h3,h4,h5,h6),
footer :is(h1,h2,h3,h4,h5,h6),
[class*="hero"] :is(h1,h2,h3,h4,h5,h6),
[class*="dark"] :is(h1,h2,h3,h4,h5,h6),
[class*="cta"] :is(h1,h2,h3,h4,h5,h6),
[class*="join"] :is(h1,h2,h3,h4,h5,h6),
[class*="apply"] :is(h1,h2,h3,h4,h5,h6) {
  color: #F8F5EF !important;
}

/* 3. Заголовки, которые сделаны не тегами h1-h6, а классами */
.hero [class*="title"],
.hero [class*="heading"],
.hero [class*="headline"],
.hero [class*="caption-title"],
.main-hero [class*="title"],
.main-hero [class*="heading"],
.main-hero [class*="headline"],
.page-hero [class*="title"],
.page-hero [class*="heading"],
.page-hero [class*="headline"],
.aio-hero [class*="title"],
.aio-hero [class*="heading"],
.aio-hero [class*="headline"],
.home-hero [class*="title"],
.home-hero [class*="heading"],
.home-hero [class*="headline"],
.inner-hero [class*="title"],
.inner-hero [class*="heading"],
.inner-hero [class*="headline"],
.dark-section [class*="title"],
.dark-section [class*="heading"],
.dark-section [class*="headline"],
.events-section [class*="title"],
.events-section [class*="heading"],
.events-section [class*="headline"],
.home-events [class*="title"],
.home-events [class*="heading"],
.home-events [class*="headline"],
.events-preview [class*="title"],
.events-preview [class*="heading"],
.events-preview [class*="headline"],
.calendar-section [class*="title"],
.calendar-section [class*="heading"],
.calendar-section [class*="headline"],
.cta-section [class*="title"],
.cta-section [class*="heading"],
.cta-section [class*="headline"],
.aio-cta [class*="title"],
.aio-cta [class*="heading"],
.aio-cta [class*="headline"],
.join-section [class*="title"],
.join-section [class*="heading"],
.join-section [class*="headline"],
.apply-section [class*="title"],
.apply-section [class*="heading"],
.apply-section [class*="headline"],
[class*="hero"] [class*="title"],
[class*="hero"] [class*="heading"],
[class*="hero"] [class*="headline"],
[class*="dark"] [class*="title"],
[class*="dark"] [class*="heading"],
[class*="dark"] [class*="headline"],
[class*="cta"] [class*="title"],
[class*="cta"] [class*="heading"],
[class*="cta"] [class*="headline"],
[class*="join"] [class*="title"],
[class*="join"] [class*="heading"],
[class*="join"] [class*="headline"],
[class*="apply"] [class*="title"],
[class*="apply"] [class*="heading"],
[class*="apply"] [class*="headline"] {
  color: #F8F5EF !important;
}

/* 4. Вложенные span/a/strong внутри заголовков тоже наследуют светлый цвет */
.hero :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.main-hero :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.page-hero :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.aio-hero :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.home-hero :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.inner-hero :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.dark-section :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.events-section :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.home-events :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.events-preview :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.calendar-section :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.cta-section :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.aio-cta :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.join-section :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) *,
.apply-section :is(h1,h2,h3,h4,h5,h6,[class*="title"],[class*="heading"],[class*="headline"]) * {
  color: inherit !important;
}

/* 5. Тексты и подписи на тёмном фоне */
.hero :is(p,li,span,small,div),
.main-hero :is(p,li,span,small,div),
.page-hero :is(p,li,span,small,div),
.aio-hero :is(p,li,span,small,div),
.dark-section :is(p,li,span,small,div),
.events-section :is(p,li,span,small,div),
.calendar-section :is(p,li,span,small,div),
.cta-section :is(p,li,span,small,div),
.aio-cta :is(p,li,span,small,div),
.join-section :is(p,li,span,small,div),
.apply-section :is(p,li,span,small,div) {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* 6. Но рубрики/маленькие верхние подписи делаем кремовыми, не синими */
.hero :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.main-hero :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.page-hero :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.aio-hero :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.dark-section :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.events-section :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.calendar-section :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.cta-section :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.aio-cta :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.join-section :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric),
.apply-section :is(.aio-eyebrow,.section-label,.overline,.kicker,.eyebrow,.rubric) {
  color: #F2E3CF !important;
}

/* 7. Ссылки и стрелки на тёмном фоне */
.hero a,
.main-hero a,
.page-hero a,
.aio-hero a,
.dark-section a,
.events-section a,
.calendar-section a,
.cta-section a,
.aio-cta a,
.join-section a,
.apply-section a {
  color: #F2E3CF !important;
}

.hero a::before,
.hero a::after,
.main-hero a::before,
.main-hero a::after,
.page-hero a::before,
.page-hero a::after,
.aio-hero a::before,
.aio-hero a::after,
.dark-section a::before,
.dark-section a::after,
.events-section a::before,
.events-section a::after,
.calendar-section a::before,
.calendar-section a::after,
.cta-section a::before,
.cta-section a::after,
.aio-cta a::before,
.aio-cta a::after,
.join-section a::before,
.join-section a::after,
.apply-section a::before,
.apply-section a::after {
  color: #C85726 !important;
}

/* 8. Исключение: дата в карточке события остаётся тёмно-синей на светлой плашке */
.event-date,
.date-box,
.calendar-date,
.event-card-date,
.event-date *,
.date-box *,
.calendar-date *,
.event-card-date * {
  color: #072D5B !important;
}

.event-date .month,
.date-box .month,
.calendar-date .month,
.event-card-date .month {
  color: #C85726 !important;
}


/* =========================================================
   AIO REAL CLASSES DARK FIX
   Точные классы сайта: aio-events-preview, aio-event-card, aio-hero
   ========================================================= */

/* ---------- Все hero и тёмные институциональные блоки ---------- */

.aio-hero,
.aio-home-hero,
.aio-page-hero,
.aio-inner-hero,
.aio-section_dark,
.aio-section_navy,
.aio-section_blue,
.aio-events-preview,
.aio-cta,
.aio-join,
.aio-apply {
  color: #F8F5EF !important;
}

/* Крупные заголовки в hero и тёмных секциях */
.aio-hero h1,
.aio-hero h2,
.aio-hero h3,
.aio-home-hero h1,
.aio-home-hero h2,
.aio-home-hero h3,
.aio-page-hero h1,
.aio-page-hero h2,
.aio-page-hero h3,
.aio-inner-hero h1,
.aio-inner-hero h2,
.aio-inner-hero h3,
.aio-section_dark h1,
.aio-section_dark h2,
.aio-section_dark h3,
.aio-section_navy h1,
.aio-section_navy h2,
.aio-section_navy h3,
.aio-section_blue h1,
.aio-section_blue h2,
.aio-section_blue h3,
.aio-events-preview h1,
.aio-events-preview h2,
.aio-events-preview h3,
.aio-cta h1,
.aio-cta h2,
.aio-cta h3,
.aio-join h1,
.aio-join h2,
.aio-join h3,
.aio-apply h1,
.aio-apply h2,
.aio-apply h3 {
  color: #F8F5EF !important;
}

/* Если заголовки сделаны классами */
.aio-hero .aio-title,
.aio-hero .aio-section-title,
.aio-hero .aio-hero-title,
.aio-home-hero .aio-title,
.aio-home-hero .aio-section-title,
.aio-home-hero .aio-hero-title,
.aio-page-hero .aio-title,
.aio-page-hero .aio-section-title,
.aio-page-hero .aio-hero-title,
.aio-inner-hero .aio-title,
.aio-inner-hero .aio-section-title,
.aio-inner-hero .aio-hero-title,
.aio-section_dark .aio-title,
.aio-section_dark .aio-section-title,
.aio-section_navy .aio-title,
.aio-section_navy .aio-section-title,
.aio-section_blue .aio-title,
.aio-section_blue .aio-section-title,
.aio-events-preview .aio-title,
.aio-events-preview .aio-section-title,
.aio-events-preview .aio-section-head h2,
.aio-cta .aio-title,
.aio-cta .aio-section-title,
.aio-join .aio-title,
.aio-join .aio-section-title,
.aio-apply .aio-title,
.aio-apply .aio-section-title {
  color: #F8F5EF !important;
}

/* Вложенные элементы внутри заголовков */
.aio-hero h1 *,
.aio-hero h2 *,
.aio-hero h3 *,
.aio-home-hero h1 *,
.aio-home-hero h2 *,
.aio-home-hero h3 *,
.aio-page-hero h1 *,
.aio-page-hero h2 *,
.aio-page-hero h3 *,
.aio-inner-hero h1 *,
.aio-inner-hero h2 *,
.aio-inner-hero h3 *,
.aio-events-preview h1 *,
.aio-events-preview h2 *,
.aio-events-preview h3 *,
.aio-cta h1 *,
.aio-cta h2 *,
.aio-cta h3 *,
.aio-join h1 *,
.aio-join h2 *,
.aio-join h3 *,
.aio-apply h1 *,
.aio-apply h2 *,
.aio-apply h3 * {
  color: inherit !important;
}

/* ---------- Блок "Ближайшие события" на главной ---------- */

.aio-events-preview .aio-kicker,
.aio-events-preview .aio-eyebrow,
.aio-events-preview .aio-section-label {
  color: #C85726 !important;
}

.aio-events-preview .aio-section-head h2,
.aio-events-preview h2 {
  color: #F8F5EF !important;
}

.aio-events-preview .aio-section-head p,
.aio-events-preview .aio-section-description,
.aio-events-preview p {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* Ссылка "Все события" */
.aio-events-preview .aio-link-arrow,
.aio-events-preview .aio-link-arrow_light,
.aio-events-preview a.aio-link-arrow,
.aio-events-preview a.aio-link-arrow_light {
  color: #F8F5EF !important;
}

.aio-events-preview .aio-link-arrow::before,
.aio-events-preview .aio-link-arrow::after,
.aio-events-preview .aio-link-arrow_light::before,
.aio-events-preview .aio-link-arrow_light::after {
  color: #C85726 !important;
}

/* ---------- Карточка события ---------- */

.aio-events-preview .aio-event-card,
.aio-event-card {
  color: #F8F5EF !important;
}

/* Тип события: РАЛЛИ */
.aio-event-card .aio-event-type {
  color: #F2E3CF !important;
}

/* Название события */
.aio-event-card h1,
.aio-event-card h2,
.aio-event-card h3,
.aio-event-card h4,
.aio-event-card h3 a,
.aio-event-card a {
  color: #F8F5EF !important;
}

.aio-event-card h1 *,
.aio-event-card h2 *,
.aio-event-card h3 *,
.aio-event-card h4 *,
.aio-event-card h3 a *,
.aio-event-card a * {
  color: inherit !important;
}

/* Город и описание */
.aio-event-card p,
.aio-event-card span,
.aio-event-card div {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* ---------- Дата события: светлая плашка, тёмно-синий текст ---------- */

.aio-event-date,
.aio-event-card .aio-event-date {
  background: #F8F5EF !important;
  color: #072D5B !important;
}

.aio-event-date *,
.aio-event-card .aio-event-date * {
  color: #072D5B !important;
}

.aio-event-date span,
.aio-event-card .aio-event-date span {
  color: #C85726 !important;
}

.aio-event-date strong,
.aio-event-card .aio-event-date strong,
.aio-event-date em,
.aio-event-card .aio-event-date em {
  color: #072D5B !important;
}

/* ========================================================= */

/* Club page: cover image inside dark hero */
.aio-club-item-hero {
    position: relative;
    overflow: hidden;
}

.aio-club-item-hero_has-cover {
    isolation: isolate;
}

.aio-club-item-hero_has-cover::before {
    content: "";
    position: absolute;
    inset: 0 0 0 42%;
    z-index: -2;
    background-image: var(--club-cover-image);
    background-size: cover;
    background-position: center;
    opacity: .74;
    filter: saturate(.86) contrast(1.05);
}

.aio-club-item-hero_has-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(5, 16, 32, .98) 0%,
            rgba(5, 16, 32, .94) 34%,
            rgba(5, 16, 32, .74) 55%,
            rgba(5, 16, 32, .38) 78%,
            rgba(5, 16, 32, .66) 100%);
}

.aio-club-item-hero__layout {
    position: relative;
    z-index: 1;
}

.aio-club-item-hero_has-cover .aio-club-item-hero__layout {
    grid-template-columns: minmax(0, .56fr) minmax(280px, .44fr);
}

.aio-club-item-hero__visual {
    min-height: clamp(220px, 28vw, 360px);
    border-radius: 32px;
    border: 1px solid rgba(242, 227, 207, .18);
    background:
        linear-gradient(90deg,
            rgba(5, 16, 32, .86) 0%,
            rgba(5, 16, 32, .32) 46%,
            rgba(5, 16, 32, .10) 100%),
        var(--club-cover-image);
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.aio-club-item-aside-logo {
    width: 104px;
    height: 104px;
    margin: 20px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #F8F5EF;
    border: 1px solid rgba(7, 45, 91, .14);
    color: #072D5B;
    box-shadow: 0 12px 30px rgba(7, 45, 91, .08);
}

.aio-club-item-aside-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aio-club-item-aside-logo span {
    font-size: 24px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .aio-club-item-hero_has-cover::before {
        inset: 42% 0 0 0;
        opacity: .38;
    }

    .aio-club-item-hero_has-cover::after {
        background:
            linear-gradient(180deg,
                rgba(5, 16, 32, .98) 0%,
                rgba(5, 16, 32, .92) 48%,
                rgba(5, 16, 32, .72) 100%);
    }

    .aio-club-item-hero_has-cover .aio-club-item-hero__layout {
        grid-template-columns: 1fr;
    }

    .aio-club-item-hero__visual {
        min-height: 210px;
        border-radius: 24px;
    }
}

/* Club detail page */
.aio-club-item-hero {
    position: relative;
    overflow: hidden;
}

.aio-club-item-hero_has-cover {
    isolation: isolate;
}

.aio-club-item-hero_has-cover::before {
    content: "";
    position: absolute;
    inset: 0 0 0 42%;
    z-index: -2;
    background-image: var(--club-cover-image);
    background-size: cover;
    background-position: center;
    opacity: .74;
    filter: saturate(.86) contrast(1.05);
}

.aio-club-item-hero_has-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(5, 16, 32, .98) 0%,
            rgba(5, 16, 32, .94) 34%,
            rgba(5, 16, 32, .74) 55%,
            rgba(5, 16, 32, .38) 78%,
            rgba(5, 16, 32, .66) 100%);
}

.aio-club-item-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: clamp(32px, 6vw, 86px);
    align-items: center;
}

.aio-club-item-hero_has-cover .aio-club-item-hero__layout {
    grid-template-columns: minmax(0, .56fr) minmax(280px, .44fr);
}

.aio-club-item-hero__visual {
    min-height: clamp(220px, 28vw, 360px);
    border-radius: 32px;
    border: 1px solid rgba(242, 227, 207, .18);
    background:
        linear-gradient(90deg,
            rgba(5, 16, 32, .86) 0%,
            rgba(5, 16, 32, .32) 46%,
            rgba(5, 16, 32, .10) 100%),
        var(--club-cover-image);
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.aio-club-item-hero__logo {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(248, 245, 239, .92);
    border: 1px solid rgba(242, 227, 207, .35);
    color: #072D5B;
    box-shadow: 0 22px 54px rgba(0,0,0,.18);
}

.aio-club-item-hero__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aio-club-item-hero__logo span {
    color: #072D5B;
    font-size: 44px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aio-club-item-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: clamp(34px, 5vw, 76px);
    align-items: start;
}

.aio-club-item-aside {
    position: sticky;
    top: 124px;
    padding: 26px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(7, 45, 91, .08);
    box-shadow: 0 16px 42px rgba(7, 45, 91, .07);
}

.aio-club-item-aside-logo {
    width: 104px;
    height: 104px;
    margin: 20px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #F8F5EF;
    border: 1px solid rgba(7, 45, 91, .14);
    color: #072D5B;
    box-shadow: 0 12px 30px rgba(7, 45, 91, .08);
}

.aio-club-item-aside-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aio-club-item-aside-logo span {
    font-size: 24px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aio-club-item-facts {
    display: grid;
    gap: 16px;
    margin: 20px 0 24px;
}

.aio-club-item-facts div {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(7, 45, 91, .08);
}

.aio-club-item-facts span {
    display: block;
    margin-bottom: 6px;
    color: #C85726;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.aio-club-item-facts strong {
    display: block;
    color: #072D5B;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 400;
}

.aio-club-item-aside__link {
    display: inline-flex;
    margin-top: 18px;
    color: rgba(7, 45, 91, .82);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.3;
}

.aio-club-item-content {
    max-width: 760px;
}

.aio-club-item-content .aio-section-title {
    margin-bottom: 24px;
}

.aio-club-item-text {
    font-size: 17px;
    line-height: 1.65;
}

.aio-club-members-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.aio-club-member-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(7, 45, 91, .08);
    box-shadow: 0 12px 28px rgba(7, 45, 91, .06);
}

.aio-club-member-card.is-hidden {
    display: none;
}

.aio-club-member-card__photo {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(248, 245, 239, .9);
    border: 1px solid rgba(7, 45, 91, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #072D5B;
}

.aio-club-member-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aio-club-member-card__body h3 {
    margin: 0 0 4px;
    color: #072D5B;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 400;
}

.aio-club-member-card__body p {
    margin: 0 0 8px;
    color: rgba(45, 45, 45, .62);
    font-size: 12px;
    line-height: 1.35;
}

.aio-club-member-card__body a {
    color: #C85726;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
}

.aio-club-members-more {
    margin-top: 26px;
    min-height: 34px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(200, 87, 38, .92);
    background: #C85726;
    color: #fff;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.aio-club-materials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.aio-club-materials-column {
    min-height: 220px;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(7, 45, 91, .08);
    box-shadow: 0 14px 34px rgba(7, 45, 91, .06);
}

.aio-club-materials-column h3 {
    margin: 0 0 12px;
    color: #072D5B;
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
}

.aio-club-materials-column p {
    margin: 0;
    color: rgba(45,45,45,.68);
    font-size: 14px;
    line-height: 1.5;
}

.aio-club-mini-list {
    display: grid;
    gap: 10px;
}

.aio-club-mini-list a {
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(7, 45, 91, .08);
    color: inherit;
    text-decoration: none;
}

.aio-club-mini-list strong {
    display: block;
    color: #072D5B;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
}

.aio-club-mini-list span {
    display: block;
    margin-top: 4px;
    color: rgba(45,45,45,.58);
    font-size: 12px;
}

@media (max-width: 980px) {
    .aio-club-item-hero__layout,
    .aio-club-item-layout,
    .aio-club-materials-grid {
        grid-template-columns: 1fr;
    }

    .aio-club-item-aside {
        position: static;
    }

    .aio-club-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aio-club-item-hero__logo {
        width: 132px;
        height: 132px;
    }
}

@media (max-width: 900px) {
    .aio-club-item-hero_has-cover::before {
        inset: 42% 0 0 0;
        opacity: .38;
    }

    .aio-club-item-hero_has-cover::after {
        background:
            linear-gradient(180deg,
                rgba(5, 16, 32, .98) 0%,
                rgba(5, 16, 32, .92) 48%,
                rgba(5, 16, 32, .72) 100%);
    }

    .aio-club-item-hero_has-cover .aio-club-item-hero__layout {
        grid-template-columns: 1fr;
    }

    .aio-club-item-hero__visual {
        min-height: 210px;
        border-radius: 24px;
    }
}

@media (max-width: 640px) {
    .aio-club-members-grid {
        grid-template-columns: 1fr;
    }

    .aio-club-member-card {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .aio-club-member-card__photo {
        width: 54px;
        height: 54px;
    }
}


/* Club detail page: readable text */
.aio-club-item-content {
    max-width: 840px;
}

.aio-club-item-text,
.aio-club-item-text p {
    font-family: var(--aio-font-body, 'Montserrat', Arial, sans-serif);
    font-size: 17px;
    line-height: 1.72;
    color: rgba(45, 45, 45, .82);
}

.aio-club-item-content > .aio-text-block + .aio-text-block {
    margin-top: 34px;
}

.aio-club-item-text h3 {
    margin: 0 0 16px;
    font-family: var(--aio-font-heading, 'Cormorant Garamond', serif);
    font-size: clamp(30px, 2.4vw, 42px);
    line-height: .98;
    font-weight: 600;
    color: #072D5B;
}

.aio-club-item-content .aio-section-title {
    margin-bottom: 26px;
}

.aio-club-item-hero .aio-page-hero__lead {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.58;
}

@media (max-width: 760px) {
    .aio-club-item-text,
    .aio-club-item-text p {
        font-size: 16px;
        line-height: 1.66;
    }

    .aio-club-item-hero .aio-page-hero__lead {
        font-size: 16px;
    }
}

/* Club detail page: main description typography fix */
.aio-club-item-content .aio-page-hero__lead,
.aio-club-item-content .aio-text-block,
.aio-club-item-content .aio-text-block p,
.aio-club-item-text,
.aio-club-item-text p {
    font-family: var(--aio-font-body, 'Montserrat', Arial, sans-serif) !important;
    font-size: 18px !important;
    line-height: 1.72 !important;
    color: rgba(45, 45, 45, .86) !important;
}

.aio-club-item-content > .aio-text-block:first-of-type,
.aio-club-item-content > .aio-text-block:first-of-type p {
    font-size: 19px !important;
    line-height: 1.68 !important;
}

.aio-club-item-content .aio-section-title {
    margin-bottom: 28px !important;
}

.aio-club-item-content h3,
.aio-club-item-text h3 {
    margin: 36px 0 18px !important;
    font-family: var(--aio-font-heading, 'Cormorant Garamond', serif) !important;
    font-size: clamp(34px, 2.8vw, 46px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: #072D5B !important;
}

.aio-club-item-content .aio-text-block + .aio-text-block {
    margin-top: 38px !important;
}

.aio-club-item-hero .aio-page-hero__lead {
    font-size: 19px !important;
    line-height: 1.62 !important;
    color: rgba(45, 45, 45, .82) !important;
}

@media (max-width: 760px) {
    .aio-club-item-content .aio-text-block,
    .aio-club-item-content .aio-text-block p,
    .aio-club-item-text,
    .aio-club-item-text p {
        font-size: 16.5px !important;
        line-height: 1.66 !important;
    }

    .aio-club-item-content > .aio-text-block:first-of-type,
    .aio-club-item-content > .aio-text-block:first-of-type p {
        font-size: 17px !important;
    }
}

/* Club hero: restore light text on dark cover */
.aio-club-item-hero,
.aio-club-item-hero h1,
.aio-club-item-hero .aio-kicker,
.aio-club-item-hero .aio-page-hero__lead {
    color: #F8F5EF !important;
}

.aio-club-item-hero .aio-page-hero__lead {
    max-width: 700px;
    font-size: 17px !important;
    line-height: 1.62 !important;
    color: rgba(248, 245, 239, .86) !important;
}

.aio-club-item-hero .aio-kicker {
    color: rgba(242, 227, 207, .92) !important;
}

.aio-club-item-hero_has-cover::after {
    background:
        linear-gradient(90deg,
            rgba(5, 16, 32, .99) 0%,
            rgba(5, 16, 32, .96) 32%,
            rgba(5, 16, 32, .82) 50%,
            rgba(5, 16, 32, .38) 74%,
            rgba(5, 16, 32, .62) 100%) !important;
}

/* Apply page: restore readable text on light cards */
.aio-apply-card:not(.aio-apply-card_dark) h2,
.aio-apply-card:not(.aio-apply-card_dark) h3,
.aio-apply-card:not(.aio-apply-card_dark) .aio-card-title,
.aio-apply-card:not(.aio-apply-card_dark) .aio-apply-card__title,
.apply-card:not(.apply-card_dark) h2,
.apply-card:not(.apply-card_dark) h3,
.apply-card:not(.apply-card_dark) .apply-card__title,
.page-apply .aio-card:not(.aio-card_dark) h2,
.page-apply .aio-card:not(.aio-card_dark) h3,
.aio-apply .aio-card:not(.aio-card_dark) h2,
.aio-apply .aio-card:not(.aio-card_dark) h3 {
    color: #072D5B !important;
}

.aio-apply-card:not(.aio-apply-card_dark) p,
.aio-apply-card:not(.aio-apply-card_dark) .aio-card-text,
.aio-apply-card:not(.aio-apply-card_dark) .aio-apply-card__text,
.apply-card:not(.apply-card_dark) p,
.apply-card:not(.apply-card_dark) .apply-card__text,
.page-apply .aio-card:not(.aio-card_dark) p,
.aio-apply .aio-card:not(.aio-card_dark) p {
    color: rgba(45, 45, 45, .78) !important;
}

.aio-apply-card:not(.aio-apply-card_dark) .aio-kicker,
.aio-apply-card:not(.aio-apply-card_dark) .aio-card-number,
.aio-apply-card:not(.aio-apply-card_dark) .aio-apply-card__number,
.apply-card:not(.apply-card_dark) .apply-card__number,
.page-apply .aio-card:not(.aio-card_dark) .aio-kicker,
.aio-apply .aio-card:not(.aio-card_dark) .aio-kicker {
    color: #8E2F24 !important;
}

/* Keep dark apply card light */
.aio-apply-card_dark h2,
.aio-apply-card_dark h3,
.aio-apply-card_dark p,
.apply-card_dark h2,
.apply-card_dark h3,
.apply-card_dark p,
.aio-card_dark h2,
.aio-card_dark h3,
.aio-card_dark p {
    color: #F8F5EF !important;
}

.aio-apply-card_dark p,
.apply-card_dark p,
.aio-card_dark p {
    color: rgba(248, 245, 239, .84) !important;
}

/* =========================================================
   AIO APPLY PAGE LIGHT CARDS FIX
   Страница /apply: светлые карточки не должны наследовать белый текст
   ========================================================= */

/* Светлая зона страницы Apply */
body.page-apply main,
body.page-apply .aio-main {
  color: #2D2D2D !important;
}

/* Светлые карточки обращений */
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent),
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent),
body.page-apply .info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent),
body.page-apply .apply-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent),
body.page-apply .appeal-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent),
body.page-apply [class*="card"]:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent):not(:last-child) {
  color: #2D2D2D !important;
}

/* Заголовки на светлых карточках Apply */
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) h1,
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) h2,
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) h3,
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) h4,
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) h1,
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) h2,
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) h3,
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) h4,
body.page-apply .apply-card h1,
body.page-apply .apply-card h2,
body.page-apply .apply-card h3,
body.page-apply .apply-card h4,
body.page-apply .appeal-card h1,
body.page-apply .appeal-card h2,
body.page-apply .appeal-card h3,
body.page-apply .appeal-card h4 {
  color: #072D5B !important;
}

/* Если заголовок сделан не h3, а классом */
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) [class*="title"],
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) [class*="heading"],
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) [class*="title"],
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) [class*="heading"],
body.page-apply .apply-card [class*="title"],
body.page-apply .apply-card [class*="heading"],
body.page-apply .appeal-card [class*="title"],
body.page-apply .appeal-card [class*="heading"] {
  color: #072D5B !important;
}

/* Номера 01, 02, 03 */
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) .num,
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) .number,
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) [class*="num"],
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) [class*="number"],
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) .num,
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) .number,
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) [class*="num"],
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) [class*="number"] {
  color: #C85726 !important;
}

/* Текст на светлых карточках */
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) p,
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) li,
body.page-apply .aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) span,
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) p,
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) li,
body.page-apply .card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_accent) span,
body.page-apply .apply-card p,
body.page-apply .apply-card li,
body.page-apply .apply-card span,
body.page-apply .appeal-card p,
body.page-apply .appeal-card li,
body.page-apply .appeal-card span {
  color: rgba(45, 45, 45, 0.72) !important;
}

/* Последняя тёмная карточка на Apply остаётся светлой по тексту */
body.page-apply .aio-card_dark,
body.page-apply .aio-card_navy,
body.page-apply .aio-card_accent,
body.page-apply [class*="card"]:last-child {
  color: #F8F5EF !important;
}

body.page-apply .aio-card_dark h1,
body.page-apply .aio-card_dark h2,
body.page-apply .aio-card_dark h3,
body.page-apply .aio-card_dark h4,
body.page-apply .aio-card_navy h1,
body.page-apply .aio-card_navy h2,
body.page-apply .aio-card_navy h3,
body.page-apply .aio-card_navy h4,
body.page-apply .aio-card_accent h1,
body.page-apply .aio-card_accent h2,
body.page-apply .aio-card_accent h3,
body.page-apply .aio-card_accent h4,
body.page-apply [class*="card"]:last-child h1,
body.page-apply [class*="card"]:last-child h2,
body.page-apply [class*="card"]:last-child h3,
body.page-apply [class*="card"]:last-child h4 {
  color: #F8F5EF !important;
}

body.page-apply .aio-card_dark p,
body.page-apply .aio-card_navy p,
body.page-apply .aio-card_accent p,
body.page-apply [class*="card"]:last-child p {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* ========================================================= */


/* =========================================================
   AIO LIGHT SURFACE SAFETY LAYER
   Страховка: светлые карточки/секции не наследуют белый текст
   ========================================================= */

/*
   Общий принцип:
   если поверхность светлая, текст должен быть графитовым,
   заголовки — тёмно-синими, рубрики — оранжевыми.
*/

/* ---------- Светлые секции ---------- */

.aio-section:not(.aio-section_dark):not(.aio-section_navy):not(.aio-section_blue),
.aio-section_light,
.aio-section_tinted,
.aio-light-section,
.aio-content,
.aio-main,
main {
  color: #2D2D2D !important;
}

/* Заголовки в светлых секциях */
.aio-section:not(.aio-section_dark):not(.aio-section_navy):not(.aio-section_blue) h1,
.aio-section:not(.aio-section_dark):not(.aio-section_navy):not(.aio-section_blue) h2,
.aio-section:not(.aio-section_dark):not(.aio-section_navy):not(.aio-section_blue) h3,
.aio-section:not(.aio-section_dark):not(.aio-section_navy):not(.aio-section_blue) h4,
.aio-section_light h1,
.aio-section_light h2,
.aio-section_light h3,
.aio-section_light h4,
.aio-section_tinted h1,
.aio-section_tinted h2,
.aio-section_tinted h3,
.aio-section_tinted h4,
main h1,
main h2,
main h3,
main h4 {
  color: #072D5B !important;
}

/* ---------- Светлые карточки ---------- */

.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.project-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.club-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.person-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.publication-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.archive-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.blog-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.news-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.apply-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.appeal-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent),
.request-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) {
  color: #2D2D2D !important;
}

/* Заголовки в светлых карточках */
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h1,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h2,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h3,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h4,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h1,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h2,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h3,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h4,
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h1,
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h2,
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h3,
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h4,
.apply-card h1,
.apply-card h2,
.apply-card h3,
.apply-card h4,
.appeal-card h1,
.appeal-card h2,
.appeal-card h3,
.appeal-card h4,
.request-card h1,
.request-card h2,
.request-card h3,
.request-card h4 {
  color: #072D5B !important;
}

/* Заголовки-классы в светлых карточках */
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="title"],
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="heading"],
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="title"],
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="heading"],
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="title"],
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="heading"],
.apply-card [class*="title"],
.apply-card [class*="heading"],
.appeal-card [class*="title"],
.appeal-card [class*="heading"],
.request-card [class*="title"],
.request-card [class*="heading"] {
  color: #072D5B !important;
}

/* Вложенные span/strong/a внутри заголовков светлых карточек */
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h1 *,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h2 *,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h3 *,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h4 *,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h1 *,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h2 *,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h3 *,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) h4 * {
  color: inherit !important;
}

/* Обычный текст в светлых карточках */
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) p,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) li,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) span,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) p,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) li,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) span,
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) p,
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) li,
.info-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) span {
  color: rgba(45, 45, 45, 0.74) !important;
}

/* Номера и малые рубрики в светлых карточках */
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) .num,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) .number,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="num"],
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="number"],
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) .num,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) .number,
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="num"],
.card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue):not(.aio-card_accent) [class*="number"] {
  color: #C85726 !important;
}

/* ---------- Apply: отдельная страховка по URL-классу страницы ---------- */

body.page-apply main,
body.page-apply .aio-main,
body.page-apply .aio-section {
  color: #2D2D2D !important;
}

body.page-apply main h1,
body.page-apply main h2,
body.page-apply main h3,
body.page-apply main h4,
body.page-apply main [class*="title"],
body.page-apply main [class*="heading"] {
  color: #072D5B !important;
}

body.page-apply main p,
body.page-apply main li,
body.page-apply main span {
  color: rgba(45, 45, 45, 0.74) !important;
}

body.page-apply main [class*="num"],
body.page-apply main [class*="number"] {
  color: #C85726 !important;
}

/* ---------- Тёмные карточки остаются светлыми по тексту ---------- */

.aio-card_dark,
.aio-card_navy,
.aio-card_blue,
.aio-card_accent,
.dark-card,
.accent-card,
[class*="card_dark"],
[class*="card-navy"],
[class*="card_blue"],
[class*="card-accent"] {
  color: #F8F5EF !important;
}

.aio-card_dark h1,
.aio-card_dark h2,
.aio-card_dark h3,
.aio-card_dark h4,
.aio-card_navy h1,
.aio-card_navy h2,
.aio-card_navy h3,
.aio-card_navy h4,
.aio-card_blue h1,
.aio-card_blue h2,
.aio-card_blue h3,
.aio-card_blue h4,
.aio-card_accent h1,
.aio-card_accent h2,
.aio-card_accent h3,
.aio-card_accent h4,
.dark-card h1,
.dark-card h2,
.dark-card h3,
.dark-card h4,
.accent-card h1,
.accent-card h2,
.accent-card h3,
.accent-card h4,
[class*="card_dark"] h1,
[class*="card_dark"] h2,
[class*="card_dark"] h3,
[class*="card_dark"] h4,
[class*="card-navy"] h1,
[class*="card-navy"] h2,
[class*="card-navy"] h3,
[class*="card-navy"] h4,
[class*="card_blue"] h1,
[class*="card_blue"] h2,
[class*="card_blue"] h3,
[class*="card_blue"] h4,
[class*="card-accent"] h1,
[class*="card-accent"] h2,
[class*="card-accent"] h3,
[class*="card-accent"] h4 {
  color: #F8F5EF !important;
}

.aio-card_dark p,
.aio-card_dark li,
.aio-card_dark span,
.aio-card_navy p,
.aio-card_navy li,
.aio-card_navy span,
.aio-card_blue p,
.aio-card_blue li,
.aio-card_blue span,
.aio-card_accent p,
.aio-card_accent li,
.aio-card_accent span,
.dark-card p,
.dark-card li,
.dark-card span,
.accent-card p,
.accent-card li,
.accent-card span {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* ========================================================= */


/* =========================================================
   AIO DARK SURFACE RESTORE
   Последнее правило: тёмные блоки всегда светлый текст
   ========================================================= */

/* Тёмные секции сайта */
.aio-hero,
.aio-home-hero,
.aio-page-hero,
.aio-inner-hero,
.aio-section_dark,
.aio-section_navy,
.aio-section_blue,
.aio-events-preview,
.aio-cta,
.aio-join,
.aio-apply,
.cta-section,
.join-section,
.apply-section,
.dark-section,
.events-section,
.calendar-section,
.site-footer,
.footer,
footer {
  color: #F8F5EF !important;
}

/* Заголовки на тёмных секциях */
.aio-hero h1,
.aio-hero h2,
.aio-hero h3,
.aio-hero h4,
.aio-home-hero h1,
.aio-home-hero h2,
.aio-home-hero h3,
.aio-home-hero h4,
.aio-page-hero h1,
.aio-page-hero h2,
.aio-page-hero h3,
.aio-page-hero h4,
.aio-inner-hero h1,
.aio-inner-hero h2,
.aio-inner-hero h3,
.aio-inner-hero h4,
.aio-section_dark h1,
.aio-section_dark h2,
.aio-section_dark h3,
.aio-section_dark h4,
.aio-section_navy h1,
.aio-section_navy h2,
.aio-section_navy h3,
.aio-section_navy h4,
.aio-section_blue h1,
.aio-section_blue h2,
.aio-section_blue h3,
.aio-section_blue h4,
.aio-events-preview h1,
.aio-events-preview h2,
.aio-events-preview h3,
.aio-events-preview h4,
.aio-cta h1,
.aio-cta h2,
.aio-cta h3,
.aio-cta h4,
.aio-join h1,
.aio-join h2,
.aio-join h3,
.aio-join h4,
.aio-apply h1,
.aio-apply h2,
.aio-apply h3,
.aio-apply h4,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section h4,
.join-section h1,
.join-section h2,
.join-section h3,
.join-section h4,
.apply-section h1,
.apply-section h2,
.apply-section h3,
.apply-section h4,
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.events-section h1,
.events-section h2,
.events-section h3,
.events-section h4,
.calendar-section h1,
.calendar-section h2,
.calendar-section h3,
.calendar-section h4,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
footer h1,
footer h2,
footer h3,
footer h4 {
  color: #F8F5EF !important;
}

/* Заголовки-классы на тёмных секциях */
.aio-hero [class*="title"],
.aio-hero [class*="heading"],
.aio-home-hero [class*="title"],
.aio-home-hero [class*="heading"],
.aio-page-hero [class*="title"],
.aio-page-hero [class*="heading"],
.aio-inner-hero [class*="title"],
.aio-inner-hero [class*="heading"],
.aio-section_dark [class*="title"],
.aio-section_dark [class*="heading"],
.aio-section_navy [class*="title"],
.aio-section_navy [class*="heading"],
.aio-section_blue [class*="title"],
.aio-section_blue [class*="heading"],
.aio-events-preview [class*="title"],
.aio-events-preview [class*="heading"],
.aio-cta [class*="title"],
.aio-cta [class*="heading"],
.aio-join [class*="title"],
.aio-join [class*="heading"],
.aio-apply [class*="title"],
.aio-apply [class*="heading"],
.cta-section [class*="title"],
.cta-section [class*="heading"],
.join-section [class*="title"],
.join-section [class*="heading"],
.apply-section [class*="title"],
.apply-section [class*="heading"],
.dark-section [class*="title"],
.dark-section [class*="heading"],
.events-section [class*="title"],
.events-section [class*="heading"],
.calendar-section [class*="title"],
.calendar-section [class*="heading"] {
  color: #F8F5EF !important;
}

/* Вложенные элементы внутри заголовков */
.aio-hero h1 *,
.aio-hero h2 *,
.aio-hero h3 *,
.aio-hero h4 *,
.aio-home-hero h1 *,
.aio-home-hero h2 *,
.aio-home-hero h3 *,
.aio-home-hero h4 *,
.aio-page-hero h1 *,
.aio-page-hero h2 *,
.aio-page-hero h3 *,
.aio-page-hero h4 *,
.aio-inner-hero h1 *,
.aio-inner-hero h2 *,
.aio-inner-hero h3 *,
.aio-inner-hero h4 *,
.aio-section_dark h1 *,
.aio-section_dark h2 *,
.aio-section_dark h3 *,
.aio-section_dark h4 *,
.aio-section_navy h1 *,
.aio-section_navy h2 *,
.aio-section_navy h3 *,
.aio-section_navy h4 *,
.aio-section_blue h1 *,
.aio-section_blue h2 *,
.aio-section_blue h3 *,
.aio-section_blue h4 *,
.aio-events-preview h1 *,
.aio-events-preview h2 *,
.aio-events-preview h3 *,
.aio-events-preview h4 *,
.aio-cta h1 *,
.aio-cta h2 *,
.aio-cta h3 *,
.aio-cta h4 *,
.aio-join h1 *,
.aio-join h2 *,
.aio-join h3 *,
.aio-join h4 *,
.aio-apply h1 *,
.aio-apply h2 *,
.aio-apply h3 *,
.aio-apply h4 *,
.dark-section h1 *,
.dark-section h2 *,
.dark-section h3 *,
.dark-section h4 * {
  color: inherit !important;
}

/* Обычный текст на тёмных секциях */
.aio-hero p,
.aio-hero li,
.aio-home-hero p,
.aio-home-hero li,
.aio-page-hero p,
.aio-page-hero li,
.aio-inner-hero p,
.aio-inner-hero li,
.aio-section_dark p,
.aio-section_dark li,
.aio-section_navy p,
.aio-section_navy li,
.aio-section_blue p,
.aio-section_blue li,
.aio-events-preview p,
.aio-events-preview li,
.aio-cta p,
.aio-cta li,
.aio-join p,
.aio-join li,
.aio-apply p,
.aio-apply li,
.cta-section p,
.cta-section li,
.join-section p,
.join-section li,
.apply-section p,
.apply-section li,
.dark-section p,
.dark-section li,
.events-section p,
.events-section li,
.calendar-section p,
.calendar-section li,
.site-footer p,
.site-footer li,
.footer p,
.footer li,
footer p,
footer li {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* Малые подписи на тёмном фоне */
.aio-hero .aio-kicker,
.aio-hero .aio-eyebrow,
.aio-hero .section-label,
.aio-home-hero .aio-kicker,
.aio-home-hero .aio-eyebrow,
.aio-home-hero .section-label,
.aio-page-hero .aio-kicker,
.aio-page-hero .aio-eyebrow,
.aio-page-hero .section-label,
.aio-inner-hero .aio-kicker,
.aio-inner-hero .aio-eyebrow,
.aio-inner-hero .section-label,
.aio-section_dark .aio-kicker,
.aio-section_dark .aio-eyebrow,
.aio-section_dark .section-label,
.aio-section_navy .aio-kicker,
.aio-section_navy .aio-eyebrow,
.aio-section_navy .section-label,
.aio-section_blue .aio-kicker,
.aio-section_blue .aio-eyebrow,
.aio-section_blue .section-label,
.aio-events-preview .aio-kicker,
.aio-events-preview .aio-eyebrow,
.aio-events-preview .section-label,
.aio-cta .aio-kicker,
.aio-cta .aio-eyebrow,
.aio-cta .section-label,
.aio-join .aio-kicker,
.aio-join .aio-eyebrow,
.aio-join .section-label,
.aio-apply .aio-kicker,
.aio-apply .aio-eyebrow,
.aio-apply .section-label {
  color: #F2E3CF !important;
}

/* Ссылки и стрелки на тёмном фоне */
.aio-hero a,
.aio-home-hero a,
.aio-page-hero a,
.aio-inner-hero a,
.aio-section_dark a,
.aio-section_navy a,
.aio-section_blue a,
.aio-events-preview a,
.aio-cta a,
.aio-join a,
.aio-apply a,
.cta-section a,
.join-section a,
.apply-section a,
.dark-section a,
.events-section a,
.calendar-section a,
.site-footer a,
.footer a,
footer a {
  color: #F2E3CF !important;
}

.aio-hero a:hover,
.aio-home-hero a:hover,
.aio-page-hero a:hover,
.aio-inner-hero a:hover,
.aio-section_dark a:hover,
.aio-section_navy a:hover,
.aio-section_blue a:hover,
.aio-events-preview a:hover,
.aio-cta a:hover,
.aio-join a:hover,
.aio-apply a:hover,
.cta-section a:hover,
.join-section a:hover,
.apply-section a:hover,
.dark-section a:hover,
.events-section a:hover,
.calendar-section a:hover,
.site-footer a:hover,
.footer a:hover,
footer a:hover {
  color: #C85726 !important;
}

/* Тёмные карточки */
.aio-card_dark,
.aio-card_navy,
.aio-card_blue,
.aio-card_accent,
.dark-card,
.accent-card {
  color: #F8F5EF !important;
}

.aio-card_dark h1,
.aio-card_dark h2,
.aio-card_dark h3,
.aio-card_dark h4,
.aio-card_navy h1,
.aio-card_navy h2,
.aio-card_navy h3,
.aio-card_navy h4,
.aio-card_blue h1,
.aio-card_blue h2,
.aio-card_blue h3,
.aio-card_blue h4,
.aio-card_accent h1,
.aio-card_accent h2,
.aio-card_accent h3,
.aio-card_accent h4,
.dark-card h1,
.dark-card h2,
.dark-card h3,
.dark-card h4,
.accent-card h1,
.accent-card h2,
.accent-card h3,
.accent-card h4 {
  color: #F8F5EF !important;
}

.aio-card_dark p,
.aio-card_dark li,
.aio-card_dark span,
.aio-card_navy p,
.aio-card_navy li,
.aio-card_navy span,
.aio-card_blue p,
.aio-card_blue li,
.aio-card_blue span,
.aio-card_accent p,
.aio-card_accent li,
.aio-card_accent span,
.dark-card p,
.dark-card li,
.dark-card span,
.accent-card p,
.accent-card li,
.accent-card span {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* Apply: тёмная последняя карточка по факту */
body.page-apply .aio-card:last-child,
body.page-apply .card:last-child,
body.page-apply [class*="card"]:last-child {
  color: #F8F5EF !important;
}

body.page-apply .aio-card:last-child h1,
body.page-apply .aio-card:last-child h2,
body.page-apply .aio-card:last-child h3,
body.page-apply .aio-card:last-child h4,
body.page-apply .card:last-child h1,
body.page-apply .card:last-child h2,
body.page-apply .card:last-child h3,
body.page-apply .card:last-child h4,
body.page-apply [class*="card"]:last-child h1,
body.page-apply [class*="card"]:last-child h2,
body.page-apply [class*="card"]:last-child h3,
body.page-apply [class*="card"]:last-child h4 {
  color: #F8F5EF !important;
}

body.page-apply .aio-card:last-child p,
body.page-apply .card:last-child p,
body.page-apply [class*="card"]:last-child p {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* ========================================================= */


/* =========================================================
   AIO APPLY HERO FINAL FIX
   /apply: верхний тёмный hero — светлый текст
   ========================================================= */

/* Первый экран страницы Apply */
body.page-apply main > section:first-child,
body.page-apply .aio-main > section:first-child,
body.page-apply .aio-page-hero,
body.page-apply .aio-inner-hero,
body.page-apply .aio-hero {
  color: #F8F5EF !important;
}

/* Заголовок hero */
body.page-apply main > section:first-child h1,
body.page-apply main > section:first-child h2,
body.page-apply main > section:first-child h3,
body.page-apply .aio-main > section:first-child h1,
body.page-apply .aio-main > section:first-child h2,
body.page-apply .aio-main > section:first-child h3,
body.page-apply .aio-page-hero h1,
body.page-apply .aio-page-hero h2,
body.page-apply .aio-page-hero h3,
body.page-apply .aio-inner-hero h1,
body.page-apply .aio-inner-hero h2,
body.page-apply .aio-inner-hero h3,
body.page-apply .aio-hero h1,
body.page-apply .aio-hero h2,
body.page-apply .aio-hero h3 {
  color: #F8F5EF !important;
}

/* Если заголовок сделан классом */
body.page-apply main > section:first-child [class*="title"],
body.page-apply main > section:first-child [class*="heading"],
body.page-apply main > section:first-child [class*="headline"],
body.page-apply .aio-main > section:first-child [class*="title"],
body.page-apply .aio-main > section:first-child [class*="heading"],
body.page-apply .aio-main > section:first-child [class*="headline"],
body.page-apply .aio-page-hero [class*="title"],
body.page-apply .aio-page-hero [class*="heading"],
body.page-apply .aio-inner-hero [class*="title"],
body.page-apply .aio-inner-hero [class*="heading"],
body.page-apply .aio-hero [class*="title"],
body.page-apply .aio-hero [class*="heading"] {
  color: #F8F5EF !important;
}

/* Вложенные span/strong внутри заголовка */
body.page-apply main > section:first-child h1 *,
body.page-apply main > section:first-child h2 *,
body.page-apply main > section:first-child h3 *,
body.page-apply main > section:first-child [class*="title"] *,
body.page-apply main > section:first-child [class*="heading"] * {
  color: inherit !important;
}

/* Описание hero */
body.page-apply main > section:first-child p,
body.page-apply main > section:first-child li,
body.page-apply .aio-main > section:first-child p,
body.page-apply .aio-main > section:first-child li,
body.page-apply .aio-page-hero p,
body.page-apply .aio-inner-hero p,
body.page-apply .aio-hero p {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* Маленькая подпись "Приёмная общества" */
body.page-apply main > section:first-child .aio-kicker,
body.page-apply main > section:first-child .aio-eyebrow,
body.page-apply main > section:first-child .section-label,
body.page-apply main > section:first-child [class*="kicker"],
body.page-apply main > section:first-child [class*="eyebrow"],
body.page-apply .aio-page-hero .aio-kicker,
body.page-apply .aio-page-hero .aio-eyebrow,
body.page-apply .aio-inner-hero .aio-kicker,
body.page-apply .aio-inner-hero .aio-eyebrow {
  color: #F2E3CF !important;
}

/* ========================================================= */


/* =========================================================
   AIO APPLY CARDS AND STEPS POLISH
   /apply: все карточки обращения — светлые; шаги — аккуратные
   ========================================================= */

/* ---------- Все карточки выбора обращения делаем едиными светлыми ---------- */

body.page-apply .aio-card,
body.page-apply .card,
body.page-apply [class*="card"],
body[class*="page-apply"] .aio-card,
body[class*="page-apply"] .card,
body[class*="page-apply"] [class*="card"] {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(7, 45, 91, 0.14) !important;
  box-shadow: 0 18px 48px rgba(7, 45, 91, 0.10) !important;
  color: #2D2D2D !important;
}

/* Заголовки всех карточек Apply — синие */
body.page-apply .aio-card h1,
body.page-apply .aio-card h2,
body.page-apply .aio-card h3,
body.page-apply .aio-card h4,
body.page-apply .card h1,
body.page-apply .card h2,
body.page-apply .card h3,
body.page-apply .card h4,
body.page-apply [class*="card"] h1,
body.page-apply [class*="card"] h2,
body.page-apply [class*="card"] h3,
body.page-apply [class*="card"] h4,
body.page-apply [class*="card"] [class*="title"],
body.page-apply [class*="card"] [class*="heading"],
body[class*="page-apply"] .aio-card h1,
body[class*="page-apply"] .aio-card h2,
body[class*="page-apply"] .aio-card h3,
body[class*="page-apply"] .aio-card h4,
body[class*="page-apply"] .card h1,
body[class*="page-apply"] .card h2,
body[class*="page-apply"] .card h3,
body[class*="page-apply"] .card h4,
body[class*="page-apply"] [class*="card"] h1,
body[class*="page-apply"] [class*="card"] h2,
body[class*="page-apply"] [class*="card"] h3,
body[class*="page-apply"] [class*="card"] h4,
body[class*="page-apply"] [class*="card"] [class*="title"],
body[class*="page-apply"] [class*="card"] [class*="heading"] {
  color: #072D5B !important;
}

/* Вложенные элементы внутри заголовков карточек */
body.page-apply [class*="card"] h1 *,
body.page-apply [class*="card"] h2 *,
body.page-apply [class*="card"] h3 *,
body.page-apply [class*="card"] h4 *,
body.page-apply [class*="card"] [class*="title"] *,
body.page-apply [class*="card"] [class*="heading"] *,
body[class*="page-apply"] [class*="card"] h1 *,
body[class*="page-apply"] [class*="card"] h2 *,
body[class*="page-apply"] [class*="card"] h3 *,
body[class*="page-apply"] [class*="card"] h4 *,
body[class*="page-apply"] [class*="card"] [class*="title"] *,
body[class*="page-apply"] [class*="card"] [class*="heading"] * {
  color: inherit !important;
}

/* Обычный текст в карточках */
body.page-apply .aio-card p,
body.page-apply .aio-card li,
body.page-apply .aio-card span,
body.page-apply .card p,
body.page-apply .card li,
body.page-apply .card span,
body.page-apply [class*="card"] p,
body.page-apply [class*="card"] li,
body.page-apply [class*="card"] span,
body[class*="page-apply"] .aio-card p,
body[class*="page-apply"] .aio-card li,
body[class*="page-apply"] .aio-card span,
body[class*="page-apply"] .card p,
body[class*="page-apply"] .card li,
body[class*="page-apply"] .card span,
body[class*="page-apply"] [class*="card"] p,
body[class*="page-apply"] [class*="card"] li,
body[class*="page-apply"] [class*="card"] span {
  color: rgba(45, 45, 45, 0.74) !important;
}

/* Номера 01–06 в карточках */
body.page-apply [class*="card"] [class*="num"],
body.page-apply [class*="card"] [class*="number"],
body.page-apply [class*="card"] [class*="count"],
body[class*="page-apply"] [class*="card"] [class*="num"],
body[class*="page-apply"] [class*="card"] [class*="number"],
body[class*="page-apply"] [class*="card"] [class*="count"] {
  color: #C85726 !important;
}

/* ---------- Чёрные круги в блоке шагов заменяем на аккуратные маркеры ---------- */

/* Любые номерные кружки/step number на Apply */
body.page-apply main [class*="step"] [class*="num"],
body.page-apply main [class*="step"] [class*="number"],
body.page-apply main [class*="process"] [class*="num"],
body.page-apply main [class*="process"] [class*="number"],
body.page-apply main [class*="timeline"] [class*="num"],
body.page-apply main [class*="timeline"] [class*="number"],
body.page-apply main .step-number,
body.page-apply main .step-num,
body.page-apply main .process-number,
body.page-apply main .timeline-number,
body[class*="page-apply"] main [class*="step"] [class*="num"],
body[class*="page-apply"] main [class*="step"] [class*="number"],
body[class*="page-apply"] main [class*="process"] [class*="num"],
body[class*="page-apply"] main [class*="process"] [class*="number"],
body[class*="page-apply"] main [class*="timeline"] [class*="num"],
body[class*="page-apply"] main [class*="timeline"] [class*="number"],
body[class*="page-apply"] main .step-number,
body[class*="page-apply"] main .step-num,
body[class*="page-apply"] main .process-number,
body[class*="page-apply"] main .timeline-number {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  border-radius: 50% !important;
  background: #F8F5EF !important;
  border: 1px solid rgba(200, 87, 38, 0.45) !important;
  color: #C85726 !important;
  box-shadow: none !important;
  font-family: var(--aio-font-sans) !important;
  font-size: 11px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

/* Если шаги сделаны обычным ol/li */
body.page-apply main ol,
body[class*="page-apply"] main ol {
  list-style: none !important;
  counter-reset: aio-apply-step !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body.page-apply main ol li,
body[class*="page-apply"] main ol li {
  counter-increment: aio-apply-step !important;
  position: relative !important;
  padding-left: 44px !important;
  margin-bottom: 16px !important;
  color: rgba(45, 45, 45, 0.74) !important;
}

body.page-apply main ol li::before,
body[class*="page-apply"] main ol li::before {
  content: counter(aio-apply-step) !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.05em !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #F8F5EF !important;
  border: 1px solid rgba(200, 87, 38, 0.45) !important;
  color: #C85726 !important;
  font-family: var(--aio-font-sans) !important;
  font-size: 11px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  text-align: center !important;
  box-shadow: none !important;
}

/* На случай, если старый чёрный кружок был псевдоэлементом у div/li */
body.page-apply main [class*="step"]::before,
body.page-apply main [class*="process"]::before,
body.page-apply main [class*="timeline"]::before,
body[class*="page-apply"] main [class*="step"]::before,
body[class*="page-apply"] main [class*="process"]::before,
body[class*="page-apply"] main [class*="timeline"]::before {
  background-color: #F8F5EF !important;
  border-color: rgba(200, 87, 38, 0.45) !important;
  color: #C85726 !important;
  box-shadow: none !important;
}

/* ========================================================= */


/* =========================================================
   AIO APPLY LAST CARD TEXT FIX
   /apply: карточка "Другое обращение" теперь светлая полностью
   ========================================================= */

/* Все карточки выбора обращения на /apply — светлые */
body.page-apply main [class*="card"],
body[class*="page-apply"] main [class*="card"] {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(7, 45, 91, 0.14) !important;
  box-shadow: 0 18px 48px rgba(7, 45, 91, 0.10) !important;
  color: #2D2D2D !important;
}

/* Заголовки всех карточек, включая "Другое обращение" */
body.page-apply main [class*="card"] h1,
body.page-apply main [class*="card"] h2,
body.page-apply main [class*="card"] h3,
body.page-apply main [class*="card"] h4,
body.page-apply main [class*="card"] [class*="title"],
body.page-apply main [class*="card"] [class*="heading"],
body[class*="page-apply"] main [class*="card"] h1,
body[class*="page-apply"] main [class*="card"] h2,
body[class*="page-apply"] main [class*="card"] h3,
body[class*="page-apply"] main [class*="card"] h4,
body[class*="page-apply"] main [class*="card"] [class*="title"],
body[class*="page-apply"] main [class*="card"] [class*="heading"] {
  color: #072D5B !important;
}

/* Текст всех карточек, включая последнюю */
body.page-apply main [class*="card"] p,
body.page-apply main [class*="card"] li,
body.page-apply main [class*="card"] span,
body.page-apply main [class*="card"] div,
body[class*="page-apply"] main [class*="card"] p,
body[class*="page-apply"] main [class*="card"] li,
body[class*="page-apply"] main [class*="card"] span,
body[class*="page-apply"] main [class*="card"] div {
  color: rgba(45, 45, 45, 0.74) !important;
}

/* Номер 06 тоже оранжевый/брендовый, а не белый */
body.page-apply main [class*="card"] [class*="num"],
body.page-apply main [class*="card"] [class*="number"],
body.page-apply main [class*="card"] [class*="count"],
body[class*="page-apply"] main [class*="card"] [class*="num"],
body[class*="page-apply"] main [class*="card"] [class*="number"],
body[class*="page-apply"] main [class*="card"] [class*="count"] {
  color: #C85726 !important;
}

/* ========================================================= */


/* =========================================================
   AIO APPLY LAST CARD TEXT FIX
   /apply: карточка "Другое обращение" теперь светлая полностью
   ========================================================= */

/* Все карточки выбора обращения на /apply — светлые */
body.page-apply main [class*="card"],
body[class*="page-apply"] main [class*="card"] {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(7, 45, 91, 0.14) !important;
  box-shadow: 0 18px 48px rgba(7, 45, 91, 0.10) !important;
  color: #2D2D2D !important;
}

/* Заголовки всех карточек, включая "Другое обращение" */
body.page-apply main [class*="card"] h1,
body.page-apply main [class*="card"] h2,
body.page-apply main [class*="card"] h3,
body.page-apply main [class*="card"] h4,
body.page-apply main [class*="card"] [class*="title"],
body.page-apply main [class*="card"] [class*="heading"],
body[class*="page-apply"] main [class*="card"] h1,
body[class*="page-apply"] main [class*="card"] h2,
body[class*="page-apply"] main [class*="card"] h3,
body[class*="page-apply"] main [class*="card"] h4,
body[class*="page-apply"] main [class*="card"] [class*="title"],
body[class*="page-apply"] main [class*="card"] [class*="heading"] {
  color: #072D5B !important;
}

/* Текст всех карточек, включая последнюю */
body.page-apply main [class*="card"] p,
body.page-apply main [class*="card"] li,
body.page-apply main [class*="card"] span,
body.page-apply main [class*="card"] div,
body[class*="page-apply"] main [class*="card"] p,
body[class*="page-apply"] main [class*="card"] li,
body[class*="page-apply"] main [class*="card"] span,
body[class*="page-apply"] main [class*="card"] div {
  color: rgba(45, 45, 45, 0.74) !important;
}

/* Номер 06 тоже оранжевый/брендовый, а не белый */
body.page-apply main [class*="card"] [class*="num"],
body.page-apply main [class*="card"] [class*="number"],
body.page-apply main [class*="card"] [class*="count"],
body[class*="page-apply"] main [class*="card"] [class*="num"],
body[class*="page-apply"] main [class*="card"] [class*="number"],
body[class*="page-apply"] main [class*="card"] [class*="count"] {
  color: #C85726 !important;
}

/* ========================================================= */


/* =========================================================
   AIO APPLY REAL TEMPLATE FIX
   Точные классы из themes/aio/pages/apply.htm
   ========================================================= */

/* ---------- Карточки выбора обращения: все одинаковые светлые ---------- */

body.page-apply .aio-apply-option-card,
body[class*="page-apply"] .aio-apply-option-card {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(7, 45, 91, 0.14) !important;
  box-shadow: 0 18px 48px rgba(7, 45, 91, 0.10) !important;
  color: #2D2D2D !important;
}

/* Номера 01–06 */
body.page-apply .aio-apply-option-card > span,
body[class*="page-apply"] .aio-apply-option-card > span {
  color: #8A2F23 !important;
  font-family: var(--aio-font-sans) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
}

/* Заголовки карточек */
body.page-apply .aio-apply-option-card h3,
body[class*="page-apply"] .aio-apply-option-card h3 {
  color: #072D5B !important;
  font-family: var(--aio-font-serif) !important;
  font-weight: 600 !important;
}

/* Текст карточек */
body.page-apply .aio-apply-option-card p,
body[class*="page-apply"] .aio-apply-option-card p {
  color: rgba(45, 45, 45, 0.74) !important;
}

/* На всякий случай: если где-то ещё остался dark-класс, он больше не делает карточку тёмной на Apply */
body.page-apply .aio-apply-option-card_dark,
body[class*="page-apply"] .aio-apply-option-card_dark {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(7, 45, 91, 0.14) !important;
  box-shadow: 0 18px 48px rgba(7, 45, 91, 0.10) !important;
  color: #2D2D2D !important;
}

body.page-apply .aio-apply-option-card_dark h3,
body[class*="page-apply"] .aio-apply-option-card_dark h3 {
  color: #072D5B !important;
}

body.page-apply .aio-apply-option-card_dark p,
body[class*="page-apply"] .aio-apply-option-card_dark p {
  color: rgba(45, 45, 45, 0.74) !important;
}

body.page-apply .aio-apply-option-card_dark > span,
body[class*="page-apply"] .aio-apply-option-card_dark > span {
  color: #8A2F23 !important;
}

/* ---------- Пункты процесса: убираем огромные чёрные круги ---------- */

body.page-apply .aio-apply-flow,
body[class*="page-apply"] .aio-apply-flow {
  display: grid !important;
  gap: 14px !important;
}

body.page-apply .aio-apply-flow > div,
body[class*="page-apply"] .aio-apply-flow > div {
  display: grid !important;
  grid-template-columns: 28px 1fr !important;
  align-items: start !important;
  gap: 14px !important;
  color: #2D2D2D !important;
}

/* Сам номер */
body.page-apply .aio-apply-flow > div > span,
body[class*="page-apply"] .aio-apply-flow > div > span {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #F8F5EF !important;
  border: 1px solid rgba(200, 87, 38, 0.48) !important;
  box-shadow: none !important;
  color: #C85726 !important;
  font-family: var(--aio-font-sans) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

/* Текст пункта */
body.page-apply .aio-apply-flow > div > p,
body[class*="page-apply"] .aio-apply-flow > div > p {
  color: rgba(45, 45, 45, 0.74) !important;
  font-family: var(--aio-font-sans) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* ========================================================= */


/* =========================================================
   AIO APPLY OTHER CARD TEXT DARK FIX
   /apply: текст в карточке "Другое обращение" — тёмный
   ========================================================= */

body.page-apply .aio-apply-option-card:nth-child(6),
body[class*="page-apply"] .aio-apply-option-card:nth-child(6) {
  background: rgba(255, 255, 255, 0.86) !important;
  color: #2D2D2D !important;
}

body.page-apply .aio-apply-option-card:nth-child(6) h3,
body[class*="page-apply"] .aio-apply-option-card:nth-child(6) h3 {
  color: #072D5B !important;
}

body.page-apply .aio-apply-option-card:nth-child(6) p,
body.page-apply .aio-apply-option-card:nth-child(6) p *,
body[class*="page-apply"] .aio-apply-option-card:nth-child(6) p,
body[class*="page-apply"] .aio-apply-option-card:nth-child(6) p * {
  color: rgba(45, 45, 45, 0.74) !important;
}

body.page-apply .aio-apply-option-card:nth-child(6) > span,
body[class*="page-apply"] .aio-apply-option-card:nth-child(6) > span {
  color: #8A2F23 !important;
}

/* ========================================================= */


/* =========================================================
   AIO HOME EVENTS DARK SECTION FINAL FIX
   Главная: блок "Ближайшие события" является тёмной секцией
   ========================================================= */

body .aio-section.aio-events-preview,
body .aio-section.aio-section_dark.aio-events-preview {
  color: #F8F5EF !important;
}

body .aio-section.aio-events-preview .aio-section-head h2,
body .aio-section.aio-events-preview h2,
body .aio-section.aio-section_dark.aio-events-preview .aio-section-head h2,
body .aio-section.aio-section_dark.aio-events-preview h2 {
  color: #F8F5EF !important;
}

body .aio-section.aio-events-preview .aio-section-head h2 *,
body .aio-section.aio-events-preview h2 *,
body .aio-section.aio-section_dark.aio-events-preview .aio-section-head h2 *,
body .aio-section.aio-section_dark.aio-events-preview h2 * {
  color: inherit !important;
}

body .aio-section.aio-events-preview .aio-kicker,
body .aio-section.aio-section_dark.aio-events-preview .aio-kicker {
  color: #C85726 !important;
}

body .aio-section.aio-events-preview .aio-section-head p,
body .aio-section.aio-events-preview p,
body .aio-section.aio-section_dark.aio-events-preview .aio-section-head p,
body .aio-section.aio-section_dark.aio-events-preview p {
  color: rgba(248, 245, 239, 0.86) !important;
}

body .aio-section.aio-events-preview .aio-link-arrow,
body .aio-section.aio-events-preview .aio-link-arrow_light,
body .aio-section.aio-section_dark.aio-events-preview .aio-link-arrow,
body .aio-section.aio-section_dark.aio-events-preview .aio-link-arrow_light {
  color: #F8F5EF !important;
}

body .aio-section.aio-events-preview .aio-link-arrow::after,
body .aio-section.aio-events-preview .aio-link-arrow_light::after,
body .aio-section.aio-section_dark.aio-events-preview .aio-link-arrow::after,
body .aio-section.aio-section_dark.aio-events-preview .aio-link-arrow_light::after {
  color: #C85726 !important;
}

/* ========================================================= */

/* AIO events cleanup — 2026-07 */
.aio-events-preview .aio-event-card,
.aio-events-preview .aio-event-item,
.aio-events-preview .aio-home-event-card,
.aio-events-preview [class*="event-card"] {
    gap: clamp(18px, 2.4vw, 34px);
}

.aio-events-preview .aio-event-date,
.aio-events-preview .aio-event-datebox,
.aio-events-preview .aio-date-card,
.aio-events-preview [class*="event-date"] {
    flex: 0 0 auto;
}

.aio-events-preview .aio-event-content,
.aio-events-preview .aio-event-info,
.aio-events-preview [class*="event-content"],
.aio-events-preview [class*="event-info"] {
    min-width: 0;
    padding-left: clamp(4px, 1vw, 14px);
}

.aio-events-preview .aio-event-title,
.aio-events-preview [class*="event-title"] {
    line-height: 1.12;
}

.aio-events-preview .aio-event-date span:last-child:nth-child(4),
.aio-events-preview .aio-event-datebox span:last-child:nth-child(4),
.aio-events-preview .aio-date-card span:last-child:nth-child(4) {
    display: none;
}

.aio-events-preview .aio-event-date span + span + span + span,
.aio-events-preview .aio-event-datebox span + span + span + span,
.aio-events-preview .aio-date-card span + span + span + span {
    display: none;
}

/* /events: убираем визуальные остатки технических подписей, если они были обёрнуты нестандартно */
.aio-events-page .aio-tech-note,
.aio-events-page .tech-note,
.aio-events-page .events-tech-note,
.aio-events-page .aio-filter-note,
.aio-events-page .filter-note {
    display: none !important;
}

@media (max-width: 767px) {
    .aio-events-preview .aio-event-card,
    .aio-events-preview .aio-event-item,
    .aio-events-preview .aio-home-event-card,
    .aio-events-preview [class*="event-card"] {
        gap: 14px;
    }

    .aio-events-preview .aio-event-content,
    .aio-events-preview .aio-event-info,
    .aio-events-preview [class*="event-content"],
    .aio-events-preview [class*="event-info"] {
        padding-left: 0;
    }
}


/* =========================================================
   AIO ABOUT + BODIES POLISH
   Точные правки: /about CTA и /about/bodies
   ========================================================= */

/* ---------- /about: нижний CTA на тёмном фоне ---------- */

.aio-about-cta,
.aio-about-cta .aio-final-cta {
  color: #F8F5EF !important;
}

.aio-about-cta .aio-final-cta h1,
.aio-about-cta .aio-final-cta h2,
.aio-about-cta .aio-final-cta h3,
.aio-about-cta .aio-final-cta h4 {
  color: #F8F5EF !important;
}

.aio-about-cta .aio-final-cta h1 *,
.aio-about-cta .aio-final-cta h2 *,
.aio-about-cta .aio-final-cta h3 *,
.aio-about-cta .aio-final-cta h4 * {
  color: inherit !important;
}

.aio-about-cta .aio-final-cta p:not(.aio-kicker),
.aio-about-cta .aio-final-cta li {
  color: rgba(248, 245, 239, 0.86) !important;
}

.aio-about-cta .aio-final-cta .aio-kicker,
.aio-about-cta .aio-final-cta .aio-kicker_light {
  color: #F2E3CF !important;
}

/* ---------- /about/bodies: заголовки органов компактнее ---------- */

/* "Экспертный совет", "Попечительский совет" и другие body.title */
.aio-bodies-luxury-page .aio-body-lux-card__header h2 {
  font-size: clamp(38px, 4.4vw, 58px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.035em !important;
  max-width: 860px !important;
}

/* Мелкая подпись над заголовком: если плохо читается — делаем заметной, но тихой */
.aio-bodies-luxury-page .aio-body-lux-card__header .aio-lux-kicker,
.aio-bodies-luxury-page .aio-body-lux-card__header .aio-kicker {
  color: rgba(138, 47, 35, 0.72) !important;
  opacity: 1 !important;
}

/* Если есть краткое описание под заголовком органа */
.aio-bodies-luxury-page .aio-body-lux-card__header p:not(.aio-lux-kicker):not(.aio-kicker) {
  color: rgba(45, 45, 45, 0.68) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

/* Номер 01/02 справа — аккуратнее */
.aio-bodies-luxury-page .aio-body-lux-card__number {
  color: #072D5B !important;
  background: #F8F5EF !important;
  border: 1px solid rgba(7, 45, 91, 0.12) !important;
}

/* ---------- /about/bodies: карточки людей на фото ---------- */

/* Имена на затемнённых фотографиях */
.aio-bodies-luxury-page .aio-person-card__photo h3,
.aio-bodies-luxury-page .aio-person-card__photo h4,
.aio-bodies-luxury-page .aio-person-card__photo .aio-person-card__name,
.aio-bodies-luxury-page .aio-person-card__photo [class*="name"],
.aio-bodies-luxury-page .aio-board-card__photo h3,
.aio-bodies-luxury-page .aio-board-card__photo h4,
.aio-bodies-luxury-page .aio-board-card__photo [class*="name"],
.aio-bodies-luxury-page .aio-body-person-card__photo h3,
.aio-bodies-luxury-page .aio-body-person-card__photo h4,
.aio-bodies-luxury-page .aio-body-person-card__photo [class*="name"] {
  color: #F8F5EF !important;
}

/* Если имя лежит в нижнем body поверх фото */
.aio-bodies-luxury-page .aio-person-card__body h3,
.aio-bodies-luxury-page .aio-board-card__body h3,
.aio-bodies-luxury-page .aio-body-person-card__body h3 {
  color: #F8F5EF !important;
}

/* Роль/статус на затемнённой фото */
.aio-bodies-luxury-page .aio-person-card__body p,
.aio-bodies-luxury-page .aio-person-card__body span,
.aio-bodies-luxury-page .aio-board-card__body p,
.aio-bodies-luxury-page .aio-board-card__body span,
.aio-bodies-luxury-page .aio-body-person-card__body p,
.aio-bodies-luxury-page .aio-body-person-card__body span {
  color: rgba(248, 245, 239, 0.82) !important;
}

/* Плейсхолдер "АИО" на карточках/фото — не синий на тёмном */
.aio-bodies-luxury-page .aio-person-card__photo > span,
.aio-bodies-luxury-page .aio-board-card__photo > span,
.aio-bodies-luxury-page .aio-body-person-card__photo > span {
  color: rgba(248, 245, 239, 0.86) !important;
}

/* Если мелкие служебные подписи на белом фоне совсем исчезают */
.aio-bodies-luxury-page .aio-lux-kicker_dark,
.aio-bodies-luxury-page .aio-kicker_dark {
  color: rgba(138, 47, 35, 0.70) !important;
}

/* ========================================================= */


/* =========================================================
   AIO ABOUT BODIES PERSON LUX CARD TEXT FIX
   /about/bodies: имена и подписи на затемнённых фото
   ========================================================= */

/* Вся карточка человека на странице структуры */
.aio-bodies-luxury-page .aio-person-lux-card {
  color: #F8F5EF !important;
}

/* Фото/визуальная часть карточки */
.aio-bodies-luxury-page .aio-person-lux-card__photo {
  color: #F8F5EF !important;
}

/* Имя на карточке */
.aio-bodies-luxury-page .aio-person-lux-card h3,
.aio-bodies-luxury-page .aio-person-lux-card h4,
.aio-bodies-luxury-page .aio-person-lux-card [class*="name"],
.aio-bodies-luxury-page .aio-person-lux-card__name {
  color: #F8F5EF !important;
}

/* Вложенные элементы внутри имени */
.aio-bodies-luxury-page .aio-person-lux-card h3 *,
.aio-bodies-luxury-page .aio-person-lux-card h4 *,
.aio-bodies-luxury-page .aio-person-lux-card [class*="name"] * {
  color: inherit !important;
}

/* Должность / статус / мелкие подписи на фото */
.aio-bodies-luxury-page .aio-person-lux-card p,
.aio-bodies-luxury-page .aio-person-lux-card span,
.aio-bodies-luxury-page .aio-person-lux-card em,
.aio-bodies-luxury-page .aio-person-lux-card [class*="role"],
.aio-bodies-luxury-page .aio-person-lux-card [class*="position"],
.aio-bodies-luxury-page .aio-person-lux-card [class*="status"] {
  color: rgba(248, 245, 239, 0.84) !important;
}

/* Плейсхолдер АИО, если нет фото */
.aio-bodies-luxury-page .aio-person-lux-card__photo > span {
  color: rgba(248, 245, 239, 0.88) !important;
}

/* ========================================================= */


/* =========================================================
   AIO BODIES TITLE + HERO LOGO POLISH
   /about/bodies: компактные названия органов, красные подписи, логотип в hero
   ========================================================= */

/* ---------- Hero: вместо текстового АИО — логотип ---------- */

.aio-bodies-luxury-page .aio-bodies-luxury-hero__mark {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(88px, 9vw, 132px) !important;
  height: clamp(88px, 9vw, 132px) !important;
  border-radius: 999px !important;
  background: rgba(248, 245, 239, 0.92) !important;
  border: 1px solid rgba(7, 45, 91, 0.14) !important;
  box-shadow: 0 18px 46px rgba(7, 45, 91, 0.12) !important;
  color: transparent !important;
  overflow: hidden !important;
}

.aio-bodies-luxury-page .aio-bodies-luxury-hero__mark img {
  display: block !important;
  width: 72% !important;
  height: 72% !important;
  object-fit: contain !important;
}

/* ---------- Заголовки органов: Экспертный совет / Попечительский совет ---------- */

.aio-bodies-luxury-page .aio-body-lux-card__header h2 {
  font-size: clamp(30px, 3.25vw, 44px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em !important;
  max-width: 760px !important;
}

/* На мобильных ещё спокойнее */
@media (max-width: 760px) {
  .aio-bodies-luxury-page .aio-body-lux-card__header h2 {
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 1.04 !important;
  }
}

/* ---------- Красные маленькие подписи ---------- */

.aio-bodies-luxury-page .aio-lux-kicker,
.aio-bodies-luxury-page .aio-kicker,
.aio-bodies-luxury-page .aio-body-lux-card__header .aio-lux-kicker,
.aio-bodies-luxury-page .aio-body-lux-card__header .aio-kicker {
  color: #8A2F23 !important;
  opacity: 1 !important;
  font-family: var(--aio-font-sans) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* Подпись в hero на тёмном фоне можно оставить светлее, но с красным акцентом */
.aio-bodies-luxury-page .aio-bodies-luxury-hero .aio-lux-kicker,
.aio-bodies-luxury-page .aio-bodies-luxury-hero .aio-kicker {
  color: #C85726 !important;
}

/* Номер органа справа */
.aio-bodies-luxury-page .aio-body-lux-card__number {
  font-family: var(--aio-font-serif) !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  color: #072D5B !important;
}

/* ========================================================= */


/* =========================================================
   AIO BODIES HERO LOGO EMERGENCY FIX
   /about/bodies: логотип вместо АИО + компактные названия советов
   ========================================================= */

.aio-bodies-luxury-page .aio-bodies-luxury-hero__mark {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(86px, 8vw, 120px) !important;
  height: clamp(86px, 8vw, 120px) !important;
  border-radius: 999px !important;
  background: rgba(248, 245, 239, 0.94) !important;
  border: 1px solid rgba(7, 45, 91, 0.14) !important;
  box-shadow: 0 18px 46px rgba(7, 45, 91, 0.14) !important;
  overflow: hidden !important;
  color: transparent !important;
}

.aio-bodies-luxury-page .aio-bodies-luxury-hero__mark img {
  display: block !important;
  width: 74% !important;
  height: 74% !important;
  object-fit: contain !important;
}

/* Экспертный совет / Попечительский совет — меньше и спокойнее */
.aio-bodies-luxury-page .aio-body-lux-card__header h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.025em !important;
  max-width: 760px !important;
}

/* Красные маленькие подписи */
.aio-bodies-luxury-page .aio-lux-kicker,
.aio-bodies-luxury-page .aio-kicker,
.aio-bodies-luxury-page .aio-body-lux-card__header .aio-lux-kicker,
.aio-bodies-luxury-page .aio-body-lux-card__header .aio-kicker {
  color: #8A2F23 !important;
  opacity: 1 !important;
  font-family: var(--aio-font-sans) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* ========================================================= */


/* =========================================================
   AIO BODIES HERO LOGO PATH + DIVIDER FIX
   /about/bodies: логотип из assets/images/aio-logo.jpeg и без разделительной линии
   ========================================================= */

/* Убираем вертикальную разделительную линию в hero */
.aio-bodies-luxury-page .aio-bodies-luxury-hero__visual,
.aio-bodies-luxury-page .aio-bodies-luxury-hero__mark,
.aio-bodies-luxury-page .aio-bodies-luxury-hero__media {
  border-left: 0 !important;
  border-right: 0 !important;
}

.aio-bodies-luxury-page .aio-bodies-luxury-hero__visual::before,
.aio-bodies-luxury-page .aio-bodies-luxury-hero__visual::after,
.aio-bodies-luxury-page .aio-bodies-luxury-hero__mark::before,
.aio-bodies-luxury-page .aio-bodies-luxury-hero__mark::after,
.aio-bodies-luxury-page .aio-bodies-luxury-hero__media::before,
.aio-bodies-luxury-page .aio-bodies-luxury-hero__media::after {
  display: none !important;
  content: none !important;
}

/* Логотип в правой части hero */
.aio-bodies-luxury-page .aio-bodies-luxury-hero__mark {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(96px, 9vw, 136px) !important;
  height: clamp(96px, 9vw, 136px) !important;
  border-radius: 999px !important;
  background: rgba(248, 245, 239, 0.94) !important;
  border: 1px solid rgba(248, 245, 239, 0.26) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22) !important;
  overflow: hidden !important;
  color: transparent !important;
}

.aio-bodies-luxury-page .aio-bodies-luxury-hero__mark img {
  display: block !important;
  width: 76% !important;
  height: 76% !important;
  object-fit: contain !important;
}

/* На всякий случай убираем любые линии у внутренних hero-колонок */
.aio-bodies-luxury-page .aio-bodies-luxury-hero * {
  border-left-color: transparent;
  border-right-color: transparent;
}

/* ========================================================= */


/* =========================================================
   AIO BODIES HERO LOGO CIRCLE WINDOW FIX
   /about/bodies: логотип внутри круглого окна, без разделительной полосы
   ========================================================= */

/* Правая визуальная зона hero */
.aio-bodies-luxury-hero__visual,
.aio-bodies-luxury-hero__media {
  border-left: 0 !important;
  border-right: 0 !important;
  overflow: hidden !important;
}

.aio-bodies-luxury-hero__visual::before,
.aio-bodies-luxury-hero__visual::after,
.aio-bodies-luxury-hero__media::before,
.aio-bodies-luxury-hero__media::after {
  display: none !important;
  content: none !important;
}

/* Сам кругляшок — окно */
.aio-bodies-luxury-hero__mark {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: clamp(118px, 12vw, 172px) !important;
  height: clamp(118px, 12vw, 172px) !important;
  flex: 0 0 clamp(118px, 12vw, 172px) !important;
  aspect-ratio: 1 / 1 !important;

  border-radius: 50% !important;
  overflow: hidden !important;

  background: rgba(248, 245, 239, 0.96) !important;
  border: 1px solid rgba(248, 245, 239, 0.34) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;

  color: transparent !important;
}

/* Убираем декоративные псевдо-линии у круга */
.aio-bodies-luxury-hero__mark::before,
.aio-bodies-luxury-hero__mark::after {
  display: none !important;
  content: none !important;
}

/* Картинка строго внутри круга */
.aio-bodies-luxury-hero__mark img {
  position: absolute !important;
  inset: 0 !important;

  display: block !important;
  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center center !important;

  max-width: none !important;
  max-height: none !important;

  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Если хочется чуть меньше кропа на мобильном */
@media (max-width: 760px) {
  .aio-bodies-luxury-hero__mark {
    width: 112px !important;
    height: 112px !important;
    flex-basis: 112px !important;
  }
}

/* ========================================================= */

/* AIO about mentions page system component — 20260706 */
body.page-about-mentions .aio-about-mentions-page {
    padding-top: 48px !important;
    padding-bottom: 70px !important;
    background: linear-gradient(90deg, rgba(242,227,207,.72), rgba(248,245,239,.98)) !important;
}

body.page-about-mentions .aio-about-mentions-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

/* Press card: partner-card proportions, blog typography */
body.page-about-mentions .aio-about-mention-card {
    display: grid !important;
    grid-template-columns: 188px minmax(0, 1fr) !important;
    min-height: 190px !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 1px solid rgba(7,45,91,.08) !important;
    border-radius: 28px !important;
    background: rgba(255,255,255,.80) !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.08) !important;
}

body.page-about-mentions .aio-about-mention-card__logo {
    min-height: 190px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    background:
        radial-gradient(circle at 35% 28%, rgba(242,227,207,.46), transparent 8rem),
        rgba(248,245,239,.86) !important;
    border-right: 1px solid rgba(7,45,91,.08) !important;
}

body.page-about-mentions .aio-about-mention-card__logo img {
    max-width: 132px !important;
    max-height: 92px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: none !important;
}

body.page-about-mentions .aio-about-mention-card__logo span {
    color: #072D5B !important;
    font-family: var(--aio-font-heading, var(--aio-display, "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif)) !important;
    font-size: 38px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body.page-about-mentions .aio-about-mention-card__body {
    min-width: 0 !important;
    padding: 26px 30px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

body.page-about-mentions .aio-about-mention-card .aio-kicker {
    margin: 0 0 8px !important;
    color: #8A2F23 !important;
    font-family: var(--aio-font-body, var(--aio-ui, "AIO Montserrat", Montserrat, Arial, sans-serif)) !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

body.page-about-mentions .aio-about-mention-card h2 {
    margin: 0 0 9px !important;
    color: #072D5B !important;
    font-family: var(--aio-font-heading, var(--aio-display, "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif)) !important;
    font-size: clamp(25px, 2.2vw, 34px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body.page-about-mentions .aio-about-mention-card p:not(.aio-kicker) {
    max-width: 430px !important;
    margin: 0 0 13px !important;
    color: rgba(45,45,45,.70) !important;
    font-family: var(--aio-font-body, var(--aio-ui, "AIO Montserrat", Montserrat, Arial, sans-serif)) !important;
    font-size: 13px !important;
    line-height: 1.48 !important;
    font-weight: 400 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-about-mentions .aio-about-mention-card .aio-link-arrow {
    margin-top: auto !important;
    color: #072D5B !important;
    font-family: var(--aio-font-body, var(--aio-ui, "AIO Montserrat", Montserrat, Arial, sans-serif)) !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Dark vacant review slot, like people-page invitation card */
body.page-about-mentions .aio-about-mentions-review-slot {
    min-height: 190px !important;
    padding: 30px 34px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(200,87,38,.24), transparent 10rem),
        linear-gradient(135deg, #07172C 0%, #072D5B 100%) !important;
    border: 1px solid rgba(242,227,207,.12) !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.12) !important;
}

body.page-about-mentions .aio-about-mentions-review-slot .aio-kicker {
    margin: 0 0 12px !important;
    color: #F2E3CF !important;
    font-family: var(--aio-font-body, var(--aio-ui, "AIO Montserrat", Montserrat, Arial, sans-serif)) !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

body.page-about-mentions .aio-about-mentions-review-slot h2 {
    max-width: 390px !important;
    margin: 0 0 12px !important;
    color: #F8F5EF !important;
    font-family: var(--aio-font-heading, var(--aio-display, "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif)) !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
}

body.page-about-mentions .aio-about-mentions-review-slot p:not(.aio-kicker) {
    max-width: 460px !important;
    margin: 0 0 18px !important;
    color: rgba(248,245,239,.82) !important;
    font-family: var(--aio-font-body, var(--aio-ui, "AIO Montserrat", Montserrat, Arial, sans-serif)) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

body.page-about-mentions .aio-about-mentions-review-slot .aio-btn {
    min-height: 34px !important;
    padding: 0 17px !important;
    font-family: var(--aio-font-body, var(--aio-ui, "AIO Montserrat", Montserrat, Arial, sans-serif)) !important;
    font-size: 9px !important;
    letter-spacing: .12em !important;
    font-weight: 700 !important;
}

@media (max-width: 1120px) {
    body.page-about-mentions .aio-about-mentions-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body.page-about-mentions .aio-about-mention-card {
        grid-template-columns: 1fr !important;
    }

    body.page-about-mentions .aio-about-mention-card__logo {
        min-height: 118px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(7,45,91,.08) !important;
    }

    body.page-about-mentions .aio-about-mention-card__body,
    body.page-about-mentions .aio-about-mentions-review-slot {
        padding: 24px !important;
    }
}


/* =========================================================
   AIO GLOBAL STYLE LOCK — 20260706
   Единая визуальная система публичного сайта
   ========================================================= */

/* 1. Главные токены системы */
:root {
  --aio-color-navy: #072D5B;
  --aio-color-deep: #061F3E;
  --aio-color-accent: #C85726;
  --aio-color-cream: #F2E3CF;
  --aio-color-ivory: #F8F5EF;
  --aio-color-graphite: #2D2D2D;

  --aio-font-heading: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --aio-font-body: "AIO Montserrat", "Montserrat", Arial, Helvetica, sans-serif;

  /* Обезвреживаем старые переменные, если страницы ещё их используют */
  --aio-display: var(--aio-font-heading);
  --aio-serif: var(--aio-font-heading);
  --aio-slab: var(--aio-font-heading);
  --aio-ui: var(--aio-font-body);
  --aio-font-serif: var(--aio-font-heading);
  --aio-font-sans: var(--aio-font-body);
}

/* 2. Базовая типографика */
body.aio-body,
.aio-main {
  font-family: var(--aio-font-body) !important;
  color: var(--aio-color-graphite);
  background: var(--aio-color-ivory);
}

body.aio-body p,
body.aio-body li,
body.aio-body span,
body.aio-body label,
body.aio-body input,
body.aio-body select,
body.aio-body textarea,
body.aio-body button,
body.aio-body a {
  font-family: var(--aio-font-body);
}

/* 3. Все смысловые заголовки */
body.aio-body h1,
body.aio-body h2,
body.aio-body h3,
body.aio-body h4,
.aio-hero-title,
.aio-page-hero h1,
.aio-inner-hero h1,
.aio-home-hero h1,
.aio-section-title,
.aio-card-title,
.aio-card h2,
.aio-card h3,
.aio-event-card h2,
.aio-event-card h3,
.aio-club-card h2,
.aio-club-card h3,
.aio-person-card h2,
.aio-person-card h3,
.aio-article-content h1,
.aio-article-content h2,
.aio-article-content h3 {
  font-family: var(--aio-font-heading) !important;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* 4. Светлые поверхности */
.aio-section,
.aio-section_light,
.aio-card,
.aio-paper,
.aio-legal-card,
.aio-club-card,
.aio-person-card,
.aio-partner-card,
.aio-blog-card,
.aio-archive-card,
.aio-gallery-album-card,
.aio-publishing-book-card,
.aio-about-mission-card,
.aio-about-direction-card {
  color: var(--aio-color-graphite);
}

.aio-section h1,
.aio-section h2,
.aio-section h3,
.aio-section_light h1,
.aio-section_light h2,
.aio-section_light h3,
.aio-card h1,
.aio-card h2,
.aio-card h3,
.aio-paper h1,
.aio-paper h2,
.aio-paper h3,
.aio-legal-card h1,
.aio-legal-card h2,
.aio-legal-card h3,
.aio-club-card h1,
.aio-club-card h2,
.aio-club-card h3,
.aio-person-card h1,
.aio-person-card h2,
.aio-person-card h3,
.aio-partner-card h1,
.aio-partner-card h2,
.aio-partner-card h3 {
  color: var(--aio-color-navy) !important;
}

.aio-section p,
.aio-section li,
.aio-card p,
.aio-card li,
.aio-paper p,
.aio-paper li,
.aio-legal-card p,
.aio-club-card p,
.aio-person-card p,
.aio-partner-card p {
  color: var(--aio-color-graphite);
}

/* 5. Тёмные поверхности */
.aio-section_dark,
.aio-section_navy,
.aio-section_blue,
.aio-card_dark,
.aio-card_navy,
.aio-card_blue,
.aio-hero,
.aio-page-hero,
.aio-inner-hero,
.aio-home-hero,
.aio-final-cta,
.aio-cta,
.aio-join {
  color: var(--aio-color-ivory);
}

.aio-section_dark h1,
.aio-section_dark h2,
.aio-section_dark h3,
.aio-section_navy h1,
.aio-section_navy h2,
.aio-section_navy h3,
.aio-section_blue h1,
.aio-section_blue h2,
.aio-section_blue h3,
.aio-card_dark h1,
.aio-card_dark h2,
.aio-card_dark h3,
.aio-card_navy h1,
.aio-card_navy h2,
.aio-card_navy h3,
.aio-card_blue h1,
.aio-card_blue h2,
.aio-card_blue h3,
.aio-hero h1,
.aio-page-hero h1,
.aio-inner-hero h1,
.aio-home-hero h1,
.aio-final-cta h1,
.aio-final-cta h2,
.aio-final-cta h3,
.aio-cta h1,
.aio-cta h2,
.aio-cta h3,
.aio-join h1,
.aio-join h2,
.aio-join h3 {
  color: var(--aio-color-ivory) !important;
}

.aio-section_dark p,
.aio-section_dark li,
.aio-section_navy p,
.aio-section_navy li,
.aio-section_blue p,
.aio-section_blue li,
.aio-card_dark p,
.aio-card_dark li,
.aio-card_navy p,
.aio-card_navy li,
.aio-card_blue p,
.aio-card_blue li,
.aio-hero p,
.aio-page-hero p,
.aio-inner-hero p,
.aio-home-hero p,
.aio-final-cta p,
.aio-cta p,
.aio-join p {
  color: rgba(248,245,239,.86) !important;
}

/* 6. Kicker / eyebrow / маленькие рубрики */
.aio-kicker,
.aio-eyebrow,
.aio-section-label,
.aio-lux-kicker,
.aio-event-type,
.aio-card-number {
  font-family: var(--aio-font-body) !important;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aio-color-accent) !important;
}

.aio-section_dark .aio-kicker,
.aio-section_navy .aio-kicker,
.aio-section_blue .aio-kicker,
.aio-card_dark .aio-kicker,
.aio-card_navy .aio-kicker,
.aio-card_blue .aio-kicker,
.aio-hero .aio-kicker,
.aio-page-hero .aio-kicker,
.aio-inner-hero .aio-kicker,
.aio-home-hero .aio-kicker,
.aio-final-cta .aio-kicker,
.aio-cta .aio-kicker,
.aio-join .aio-kicker {
  color: var(--aio-color-cream) !important;
}

/* 7. Hero-стандартизация */
.aio-page-hero,
.aio-inner-hero {
  background-color: var(--aio-color-navy);
}

.aio-page-hero h1,
.aio-inner-hero h1 {
  color: var(--aio-color-ivory) !important;
  font-family: var(--aio-font-heading) !important;
  font-weight: 500;
}

.aio-page-hero__lead,
.aio-hero__lead,
.aio-inner-hero p:not(.aio-kicker),
.aio-page-hero p:not(.aio-kicker) {
  color: rgba(248,245,239,.86) !important;
  font-family: var(--aio-font-body) !important;
}

/* 8. Кнопки и ссылки */
.aio-btn,
.aio-btn_primary,
.aio-btn_secondary,
.aio-btn-primary,
.aio-link-arrow,
.aio-link-arrow_light,
button,
input[type="submit"] {
  font-family: var(--aio-font-body) !important;
}

.aio-btn,
.aio-btn_primary,
.aio-btn-primary,
button[type="submit"],
input[type="submit"] {
  background: var(--aio-color-accent);
  border-color: var(--aio-color-accent);
  color: var(--aio-color-ivory) !important;
}

.aio-link-arrow {
  color: var(--aio-color-navy);
}

.aio-link-arrow:hover,
.aio-section a:hover,
.aio-card a:hover {
  color: var(--aio-color-accent);
}

.aio-link-arrow_light,
.aio-section_dark .aio-link-arrow,
.aio-section_navy .aio-link-arrow,
.aio-section_blue .aio-link-arrow,
.aio-page-hero .aio-link-arrow {
  color: var(--aio-color-cream) !important;
}

/* 9. Формы и фильтры */
input,
select,
textarea,
.aio-filter-pills,
.aio-filter-group,
.aio-sidebar-filter-group,
.aio-people-filter,
.aio-events-sidebar,
.aio-blogs-sidebar,
.aio-archive-sidebar {
  font-family: var(--aio-font-body) !important;
}

input,
select,
textarea {
  color: var(--aio-color-graphite);
}

/* 10. Старые шрифты: принудительно не используем визуально */
[style*="AIO Lateinisch"],
[style*="DX Lateinisch"],
[style*="DX Rublenyi"],
[style*="DXLateinisch"],
[style*="DXRublenyi"] {
  font-family: var(--aio-font-heading) !important;
}

/* 11. Страница “О нас говорят” и похожие редакционные страницы */
.page-about-mentions h1,
.page-about-mentions h2,
.page-about-mentions h3,
.page-about-mentions .aio-page-hero h1,
.page-about-mentions .aio-section-title,
.page-about-mentions .aio-card h2,
.page-about-mentions .aio-card h3 {
  font-family: var(--aio-font-heading) !important;
}

.page-about-mentions,
.page-about-mentions p,
.page-about-mentions li,
.page-about-mentions a,
.page-about-mentions span,
.page-about-mentions button {
  font-family: var(--aio-font-body);
}

.page-about-mentions .aio-page-hero,
.page-about-mentions .aio-inner-hero {
  color: var(--aio-color-ivory);
}

.page-about-mentions .aio-page-hero h1,
.page-about-mentions .aio-inner-hero h1 {
  color: var(--aio-color-ivory) !important;
}

.page-about-mentions .aio-page-hero p,
.page-about-mentions .aio-inner-hero p {
  color: rgba(248,245,239,.86) !important;
}

.page-about-mentions .aio-card,
.page-about-mentions article,
.page-about-mentions .aio-paper {
  color: var(--aio-color-graphite);
}

.page-about-mentions .aio-card h2,
.page-about-mentions .aio-card h3,
.page-about-mentions article h2,
.page-about-mentions article h3 {
  color: var(--aio-color-navy) !important;
}


/* ========================================================
   SOURCE: aio-typography-lock.css
   ======================================================== */

/* =========================================================
   AIO TYPOGRAPHY LOCK
   Единая типографика без вмешательства в карточки, сетки и цвета
   ========================================================= */

@font-face {
  font-family: "AIO Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AIO Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --aio-font-heading: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --aio-font-body: "AIO Montserrat", "Montserrat", Arial, Helvetica, sans-serif;

  --aio-serif: var(--aio-font-heading);
  --aio-display: var(--aio-font-heading);
  --aio-slab: var(--aio-font-heading);
  --aio-ui: var(--aio-font-body);
  --aio-font-serif: var(--aio-font-heading);
  --aio-font-sans: var(--aio-font-body);

  --aio-color-navy: #072D5B;
  --aio-color-accent: #C85726;
  --aio-color-ivory: #F8F5EF;
  --aio-color-cream: #F2E3CF;
  --aio-color-graphite: #2D2D2D;
}

/* Текст и интерфейс */
body.aio-body,
.aio-main,
body.aio-body p,
body.aio-body li,
body.aio-body a,
body.aio-body span,
body.aio-body small,
body.aio-body label,
body.aio-body input,
body.aio-body select,
body.aio-body textarea,
body.aio-body button,
.aio-header,
.aio-nav,
.aio-footer,
.aio-kicker,
.aio-eyebrow,
.aio-section-label,
.aio-event-type,
[class*="meta"],
[class*="filter"],
[class*="btn"],
[class*="button"] {
  font-family: var(--aio-font-body) !important;
}

/* Заголовки */
body.aio-body h1,
body.aio-body h2,
body.aio-body h3,
body.aio-body h4,
body.aio-body h5,
body.aio-body h6,
.aio-title,
.aio-hero-title,
.aio-section-title,
.aio-card-title,
.aio-page-hero h1,
.aio-inner-hero h1,
.aio-home-hero h1,
.aio-hero h1,
.aio-card h1,
.aio-card h2,
.aio-card h3,
.aio-event-card h1,
.aio-event-card h2,
.aio-event-card h3,
.aio-blog-card h1,
.aio-blog-card h2,
.aio-blog-card h3,
.aio-club-card h1,
.aio-club-card h2,
.aio-club-card h3,
.aio-person-card h1,
.aio-person-card h2,
.aio-person-card h3,
.aio-people-card h1,
.aio-people-card h2,
.aio-people-card h3,
.aio-article-content h1,
.aio-article-content h2,
.aio-article-content h3,
[class*="hero"] h1,
[class*="hero"] h2,
[class*="hero"] h3,
[class*="title"] {
  font-family: var(--aio-font-heading) !important;
}

/* Hero: тёмный фон — светлый текст */
.aio-page-hero h1,
.aio-inner-hero h1,
.aio-home-hero h1,
.aio-hero h1,
[class*="hero"] h1 {
  color: var(--aio-color-ivory) !important;
}

.aio-page-hero p,
.aio-inner-hero p,
.aio-home-hero p,
.aio-hero p,
[class*="hero"] p {
  color: rgba(248,245,239,.86) !important;
}

.aio-page-hero .aio-kicker,
.aio-inner-hero .aio-kicker,
.aio-home-hero .aio-kicker,
.aio-hero .aio-kicker,
[class*="hero"] .aio-kicker {
  color: var(--aio-color-cream) !important;
}

/* Светлые карточки и секции: заголовки тёмно-синие */
.aio-section:not(.aio-section_dark):not(.aio-section_navy):not(.aio-section_blue) h1,
.aio-section:not(.aio-section_dark):not(.aio-section_navy):not(.aio-section_blue) h2,
.aio-section:not(.aio-section_dark):not(.aio-section_navy):not(.aio-section_blue) h3,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue) h1,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue) h2,
.aio-card:not(.aio-card_dark):not(.aio-card_navy):not(.aio-card_blue) h3 {
  color: var(--aio-color-navy) !important;
}

/* Тёмные карточки и секции: заголовки светлые */
.aio-section_dark h1,
.aio-section_dark h2,
.aio-section_dark h3,
.aio-section_navy h1,
.aio-section_navy h2,
.aio-section_navy h3,
.aio-section_blue h1,
.aio-section_blue h2,
.aio-section_blue h3,
.aio-card_dark h1,
.aio-card_dark h2,
.aio-card_dark h3,
.aio-card_navy h1,
.aio-card_navy h2,
.aio-card_navy h3,
.aio-card_blue h1,
.aio-card_blue h2,
.aio-card_blue h3 {
  color: var(--aio-color-ivory) !important;
}


/* ========================================================
   SOURCE: aio-home-polish.css
   ======================================================== */

/* ==========================================================================
   AIO HOME POLISH — STEP 1: HERO ONLY
   Айвори / графит / бежевый / музейный красный
   ========================================================================== */

:root {
    --aio-polish-ivory: #F8F5EF;
    --aio-polish-cream: #F2E3CF;
    --aio-polish-red: #C85726;
    --aio-polish-red-deep: #A9432B;
    --aio-polish-ink: #111418;
    --aio-polish-graphite: #2D2D2D;
    --aio-polish-line: rgba(45,45,45,.14);
    --aio-polish-serif: "AIO Cormorant", "Cormorant Garamond", Georgia, serif;
    --aio-polish-sans: "AIO Montserrat", Montserrat, Arial, sans-serif;
}

/* HERO: светлый музейный editorial-разворот */
.aio-home-hero-museum {
    position: relative !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 78% 28%, rgba(200,87,38,.08), transparent 34%),
        linear-gradient(90deg, #F8F5EF 0%, #F8F5EF 50%, #F2E3CF 100%) !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
    color: #111418 !important;
}

.aio-home-hero-museum__grid {
    position: relative !important;
    display: block !important;
    min-height: clamp(480px, 56vh, 620px) !important;
    padding-top: clamp(54px, 5.5vw, 82px) !important;
    padding-bottom: clamp(54px, 5.5vw, 82px) !important;
}

/* Левая колонка */
.aio-home-hero-museum__content {
    position: relative !important;
    z-index: 10 !important;
    width: min(48%, 670px) !important;
    max-width: 670px !important;
    min-height: clamp(350px, 43vh, 500px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.aio-home-hero-museum .aio-kicker,
.aio-home-hero-museum .aio-kicker_red {
    margin: 0 0 20px !important;
    color: #A9432B !important;
    font-family: var(--aio-polish-sans) !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    letter-spacing: .18em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.aio-home-hero-museum h1 {
    margin: 0 !important;
    max-width: 700px !important;
    color: #111418 !important;
    background: transparent !important;
    font-family: var(--aio-polish-serif) !important;
    font-size: clamp(58px, 5.5vw, 84px) !important;
    line-height: .94 !important;
    letter-spacing: -.018em !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.aio-home-hero-museum__lead {
    display: block !important;
    max-width: 580px !important;
    margin: 24px 0 0 !important;
    color: rgba(45,45,45,.74) !important;
    background: transparent !important;
    font-family: var(--aio-polish-sans) !important;
    font-size: clamp(15px, 1.05vw, 18px) !important;
    line-height: 1.7 !important;
    text-shadow: none !important;
}

/* Кнопки: графит + контур, красный только hover */
.aio-home-hero-museum__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 30px !important;
}

.aio-home-hero-museum .aio-btn {
    border-radius: 4px !important;
    min-height: 40px !important;
    padding: 13px 18px !important;
    box-shadow: none !important;
    font-family: var(--aio-polish-sans) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.aio-home-hero-museum .aio-btn_primary {
    background: #111418 !important;
    border: 1px solid #111418 !important;
    color: #F8F5EF !important;
}

.aio-home-hero-museum .aio-btn_secondary {
    background: transparent !important;
    border: 1px solid rgba(45,45,45,.32) !important;
    color: #111418 !important;
}

.aio-home-hero-museum .aio-btn:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: #A9432B !important;
    color: #A9432B !important;
}

/* Медиа справа: без рамки, без синей плашки, как мягкая музейная плоскость */
.aio-home-hero-museum__media {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: calc(-1 * max(24px, calc((100vw - 1180px) / 2))) !important;
    bottom: 0 !important;
    left: 43% !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: hidden !important;
}

.aio-home-hero-museum__media::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 45% !important;
    z-index: 5 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            #F8F5EF 0%,
            rgba(248,245,239,.98) 20%,
            rgba(248,245,239,.76) 44%,
            rgba(248,245,239,.34) 68%,
            rgba(248,245,239,0) 100%
        ) !important;
}

.aio-home-hero-museum__media::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            rgba(248,245,239,.56) 5%,
            rgba(248,245,239,0) 20%,
            rgba(248,245,239,0) 78%,
            rgba(248,245,239,.62) 96%,
            #F8F5EF 100%
        ),
        linear-gradient(
            90deg,
            rgba(45,45,45,.10) 0%,
            rgba(45,45,45,0) 48%,
            rgba(200,87,38,.08) 100%
        ) !important;
}

.aio-home-hero-museum__fallback-image,
.aio-home-hero-museum__video,
.aio-home-hero-museum__media img,
.aio-home-hero-museum__media video {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.78) contrast(.92) brightness(.92) !important;
    opacity: .72 !important;
}

.aio-home-hero-museum__veil,
.aio-home-hero-museum__placeholder,
.aio-home-hero-museum__caption {
    display: none !important;
}

/* Mobile */
@media (max-width: 1100px) {
    .aio-home-hero-museum__grid {
        min-height: 0 !important;
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }

    .aio-home-hero-museum__content {
        width: 100% !important;
        max-width: 720px !important;
        min-height: 0 !important;
    }

    .aio-home-hero-museum__media {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 320px !important;
        margin-top: 34px !important;
    }
}

@media (max-width: 720px) {
    .aio-home-hero-museum h1 {
        font-size: clamp(40px, 12vw, 56px) !important;
    }

    .aio-home-hero-museum__lead {
        font-size: 15px !important;
    }

    .aio-home-hero-museum__actions {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .aio-home-hero-museum__media {
        height: 240px !important;
    }
}

/* ==========================================================================
   AIO HOME POLISH — STEP 2: CALENDAR POSTER CARDS
   Календарь как музейная афиша: картинка + дата + ссылка
   ========================================================================== */

.aio-events-preview {
    background:
        linear-gradient(180deg, #F2E3CF 0%, #F8F5EF 100%) !important;
    color: #2D2D2D !important;
    border-top: 1px solid rgba(45,45,45,.12) !important;
    border-bottom: 1px solid rgba(45,45,45,.12) !important;
}

.aio-events-preview .aio-section-head {
    border-bottom: 1px solid rgba(45,45,45,.14) !important;
    padding-bottom: 28px !important;
    margin-bottom: 30px !important;
}

.aio-events-preview .aio-kicker,
.aio-events-preview .aio-kicker_light {
    color: #A9432B !important;
}

.aio-events-preview h2,
.aio-events-preview .aio-section-head p,
.aio-events-preview .aio-link-arrow,
.aio-events-preview .aio-link-arrow_light {
    color: #111418 !important;
}

.aio-event-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    border: 0 !important;
}

.aio-event-card_home-poster {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    border: 1px solid rgba(45,45,45,.14) !important;
    background: rgba(255,255,255,.58) !important;
    box-shadow: 0 8px 22px rgba(17,20,24,.045) !important;
}

.aio-event-card__image {
    position: relative !important;
    display: block !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 185px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 22% 18%, rgba(200,87,38,.18), transparent 32%),
        linear-gradient(135deg, #1D1D1D 0%, #2D2D2D 100%) !important;
    text-decoration: none !important;
    color: #F8F5EF !important;
}

.aio-event-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.76) contrast(.92) brightness(.86) !important;
    transform: scale(1.01) !important;
}

.aio-event-card__image > span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(248,245,239,.36) !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 58px !important;
    letter-spacing: .08em !important;
}

.aio-event-card__image-shade {
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(17,20,24,0) 0%, rgba(17,20,24,.72) 100%),
        linear-gradient(90deg, rgba(17,20,24,.12) 0%, rgba(200,87,38,.08) 100%) !important;
    pointer-events: none !important;
}

.aio-event-card_home-poster .aio-event-date {
    position: absolute !important;
    left: 16px !important;
    bottom: 14px !important;
    z-index: 3 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    color: #F8F5EF !important;
    text-align: left !important;
    border-radius: 0 !important;
}

.aio-event-card_home-poster .aio-event-date span {
    display: block !important;
    color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: .16em !important;
    font-weight: 700 !important;
}

.aio-event-card_home-poster .aio-event-date strong {
    display: block !important;
    margin-top: 4px !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 56px !important;
    line-height: .82 !important;
    font-weight: 600 !important;
}

.aio-event-card_home-poster .aio-event-date em {
    display: block !important;
    margin-top: 8px !important;
    color: rgba(248,245,239,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-style: normal !important;
    line-height: 1 !important;
    letter-spacing: .14em !important;
}

.aio-event-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    padding: 22px 22px 20px !important;
}

.aio-event-card_home-poster .aio-event-type {
    margin: 0 0 12px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-event-card_home-poster h3 {
    margin: 0 0 14px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(26px, 2.2vw, 34px) !important;
    line-height: 1.03 !important;
    font-weight: 600 !important;
}

.aio-event-card_home-poster h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.aio-event-card_home-poster h3 a:hover {
    color: #A9432B !important;
}

.aio-event-card__text {
    margin: 0 0 18px !important;
    color: rgba(45,45,45,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
}

.aio-event-card__text span {
    color: rgba(45,45,45,.84) !important;
    font-weight: 600 !important;
}

.aio-event-card__link {
    display: inline-flex !important;
    align-items: center !important;
    margin-top: auto !important;
    color: #111418 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.aio-event-card__link::after {
    content: "→" !important;
    margin-left: 10px !important;
    color: #A9432B !important;
}

.aio-event-card__link:hover {
    color: #A9432B !important;
}

@media (max-width: 980px) {
    .aio-event-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .aio-event-list {
        grid-template-columns: 1fr !important;
    }

    .aio-event-card__image {
        min-height: 210px !important;
    }
}

/* ==========================================================================
   AIO HOME POLISH — STEP 3: COMPACT GRAPHITE CALENDAR
   Компактный календарь на графитовом фоне
   ========================================================================== */

.aio-events-preview {
    background:
        radial-gradient(circle at 88% 12%, rgba(200,87,38,.12), transparent 28%),
        linear-gradient(135deg, #111418 0%, #2D2D2D 100%) !important;
    color: #F8F5EF !important;
    padding-top: clamp(44px, 5vw, 68px) !important;
    padding-bottom: clamp(46px, 5vw, 72px) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.aio-events-preview .aio-section-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 28px !important;
    padding-bottom: 22px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(248,245,239,.16) !important;
}

.aio-events-preview .aio-kicker,
.aio-events-preview .aio-kicker_light {
    color: #F2E3CF !important;
}

.aio-events-preview h2 {
    margin-bottom: 10px !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(36px, 3.2vw, 52px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

.aio-events-preview .aio-section-head p:not(.aio-kicker),
.aio-events-preview .aio-section-lead {
    max-width: 760px !important;
    margin: 0 !important;
    color: rgba(248,245,239,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.aio-events-preview .aio-link-arrow,
.aio-events-preview .aio-link-arrow_light {
    color: #F2E3CF !important;
    white-space: nowrap !important;
}

.aio-events-preview .aio-link-arrow:hover,
.aio-events-preview .aio-link-arrow_light:hover {
    color: #C85726 !important;
}

.aio-event-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    border: 0 !important;
}

.aio-event-card_home-poster {
    display: grid !important;
    grid-template-rows: 150px minmax(0, 1fr) !important;
    min-height: 365px !important;
    max-height: 410px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    border: 1px solid rgba(248,245,239,.16) !important;
    background: rgba(248,245,239,.94) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.16) !important;
}

.aio-event-card__image {
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    height: 150px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 22% 18%, rgba(200,87,38,.18), transparent 32%),
        linear-gradient(135deg, #111418 0%, #2D2D2D 100%) !important;
    text-decoration: none !important;
    color: #F8F5EF !important;
}

.aio-event-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) contrast(.92) brightness(.78) !important;
    transform: scale(1.01) !important;
}

.aio-event-card__image > span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(248,245,239,.28) !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    letter-spacing: .08em !important;
}

.aio-event-card__image-shade {
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(17,20,24,0) 0%, rgba(17,20,24,.62) 100%),
        linear-gradient(90deg, rgba(17,20,24,.12) 0%, rgba(200,87,38,.08) 100%) !important;
    pointer-events: none !important;
}

.aio-event-card_home-poster .aio-event-date {
    position: absolute !important;
    left: 14px !important;
    bottom: 12px !important;
    z-index: 3 !important;
    width: 70px !important;
    min-height: 76px !important;
    padding: 9px 8px 8px !important;
    border-radius: 6px !important;
    background: rgba(248,245,239,.94) !important;
    color: #111418 !important;
    text-align: center !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.18) !important;
}

.aio-event-card_home-poster .aio-event-date span {
    display: block !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
    font-weight: 700 !important;
}

.aio-event-card_home-poster .aio-event-date strong {
    display: block !important;
    margin-top: 4px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    line-height: .82 !important;
    font-weight: 700 !important;
}

.aio-event-card_home-poster .aio-event-date em {
    display: block !important;
    margin-top: 7px !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-style: normal !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
}

.aio-event-card__body {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px 18px 16px !important;
    min-height: 0 !important;
}

.aio-event-card_home-poster .aio-event-type {
    margin: 0 0 9px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-event-card_home-poster h3 {
    margin: 0 0 10px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(22px, 1.75vw, 28px) !important;
    line-height: 1.04 !important;
    font-weight: 600 !important;
}

.aio-event-card_home-poster h3 a {
    color: #111418 !important;
    text-decoration: none !important;
}

.aio-event-card_home-poster h3 a:hover {
    color: #A9432B !important;
}

.aio-event-card__text {
    margin: 0 0 12px !important;
    color: rgba(45,45,45,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.48 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.aio-event-card__text span {
    color: rgba(45,45,45,.86) !important;
    font-weight: 600 !important;
}

.aio-event-card__link {
    display: inline-flex !important;
    align-items: center !important;
    margin-top: auto !important;
    color: #111418 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.aio-event-card__link::after {
    content: "→" !important;
    margin-left: 9px !important;
    color: #A9432B !important;
}

.aio-event-card__link:hover {
    color: #A9432B !important;
}

@media (max-width: 980px) {
    .aio-event-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .aio-event-card_home-poster {
        min-height: 360px !important;
    }
}

@media (max-width: 640px) {
    .aio-events-preview .aio-section-head {
        grid-template-columns: 1fr !important;
    }

    .aio-event-list {
        grid-template-columns: 1fr !important;
    }

    .aio-event-card__image {
        height: 170px !important;
    }
}


/* ==========================================================================
   AIO HOME POLISH — STEP 4: MINI GRAPHITE CALENDAR
   Исправляет поехавшие карточки и сокращает высоту блока
   ========================================================================== */

.aio-events-preview {
    padding-top: 38px !important;
    padding-bottom: 42px !important;
    background:
        radial-gradient(circle at 88% 12%, rgba(200,87,38,.10), transparent 26%),
        linear-gradient(135deg, #111418 0%, #262626 100%) !important;
}

.aio-events-preview .aio-container {
    max-width: 1180px !important;
}

.aio-events-preview .aio-section-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 24px !important;
    align-items: end !important;
    margin-bottom: 20px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(248,245,239,.14) !important;
}

.aio-events-preview h2 {
    margin: 0 0 8px !important;
    color: #F8F5EF !important;
    font-size: clamp(34px, 3vw, 48px) !important;
    line-height: 1 !important;
}

.aio-events-preview .aio-section-head p:not(.aio-kicker) {
    max-width: 680px !important;
    color: rgba(248,245,239,.68) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.aio-events-preview .aio-kicker,
.aio-events-preview .aio-kicker_light {
    margin-bottom: 10px !important;
    color: #F2E3CF !important;
}

.aio-events-preview .aio-link-arrow,
.aio-events-preview .aio-link-arrow_light {
    color: #F2E3CF !important;
    font-size: 9px !important;
}

/* Сетка компактная */
.aio-event-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

/* Сбрасываем старое “поехавшее” поведение */
.aio-event-card_home-poster {
    display: flex !important;
    flex-direction: column !important;
    min-height: 292px !important;
    max-height: 292px !important;
    height: 292px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    border: 1px solid rgba(248,245,239,.16) !important;
    background: #F8F5EF !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.18) !important;
}

/* Фото сверху, а не узкой полосой слева */
.aio-event-card_home-poster .aio-event-card__image {
    position: relative !important;
    display: block !important;
    flex: 0 0 118px !important;
    width: 100% !important;
    height: 118px !important;
    min-height: 118px !important;
    max-height: 118px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #111418 !important;
}

.aio-event-card_home-poster .aio-event-card__image img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.72) contrast(.92) brightness(.76) !important;
    transform: scale(1.01) !important;
}

.aio-event-card_home-poster .aio-event-card__image > span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(248,245,239,.28) !important;
    font-size: 36px !important;
}

/* Дата компактная */
.aio-event-card_home-poster .aio-event-date {
    position: absolute !important;
    left: 12px !important;
    bottom: 10px !important;
    z-index: 4 !important;
    width: 58px !important;
    min-height: 62px !important;
    padding: 7px 6px 6px !important;
    border-radius: 4px !important;
    background: rgba(248,245,239,.96) !important;
    box-shadow: 0 7px 16px rgba(0,0,0,.20) !important;
    text-align: center !important;
}

.aio-event-card_home-poster .aio-event-date span {
    color: #A9432B !important;
    font-size: 8px !important;
    letter-spacing: .11em !important;
}

.aio-event-card_home-poster .aio-event-date strong {
    margin-top: 3px !important;
    color: #111418 !important;
    font-size: 28px !important;
    line-height: .82 !important;
}

.aio-event-card_home-poster .aio-event-date em {
    margin-top: 6px !important;
    color: rgba(45,45,45,.58) !important;
    font-size: 8px !important;
    letter-spacing: .10em !important;
}

/* Тело карточки компактное и читаемое */
.aio-event-card_home-poster .aio-event-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    padding: 15px 16px 14px !important;
    min-height: 0 !important;
}

.aio-event-card_home-poster .aio-event-type {
    margin: 0 0 7px !important;
    color: #A9432B !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    letter-spacing: .13em !important;
}

.aio-event-card_home-poster h3 {
    margin: 0 0 8px !important;
    color: #111418 !important;
    font-size: clamp(20px, 1.55vw, 25px) !important;
    line-height: 1.02 !important;
    font-weight: 600 !important;
}

.aio-event-card_home-poster h3 a {
    color: #111418 !important;
}

.aio-event-card_home-poster .aio-event-card__text {
    margin: 0 0 10px !important;
    color: rgba(45,45,45,.70) !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 2 !important;
}

.aio-event-card_home-poster .aio-event-card__text span {
    color: rgba(45,45,45,.86) !important;
    font-weight: 600 !important;
}

.aio-event-card_home-poster .aio-event-card__link {
    margin-top: auto !important;
    color: #111418 !important;
    font-size: 8px !important;
    letter-spacing: .13em !important;
}

.aio-event-card_home-poster .aio-event-card__link::after {
    color: #A9432B !important;
}

/* Убираем белые остатки на белом */
.aio-event-card_home-poster * {
    text-shadow: none !important;
}

.aio-event-card_home-poster .aio-event-card__body *,
.aio-event-card_home-poster .aio-event-card__body p,
.aio-event-card_home-poster .aio-event-card__body span,
.aio-event-card_home-poster .aio-event-card__body a {
    color: inherit;
}

@media (max-width: 980px) {
    .aio-event-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .aio-event-card_home-poster {
        height: 300px !important;
        max-height: 300px !important;
    }
}

@media (max-width: 640px) {
    .aio-events-preview .aio-section-head {
        grid-template-columns: 1fr !important;
    }

    .aio-event-list {
        grid-template-columns: 1fr !important;
    }

    .aio-event-card_home-poster {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
    }

    .aio-event-card_home-poster .aio-event-card__image {
        height: 140px !important;
        min-height: 140px !important;
        flex-basis: 140px !important;
    }
}


/* ==========================================================================
   AIO HOME POLISH — STEP 5: CALENDAR BIGGER PHOTO / LESS EMPTY SPACE
   ========================================================================== */

.aio-events-preview {
    padding-top: 34px !important;
    padding-bottom: 38px !important;
}

.aio-events-preview .aio-section-head {
    margin-bottom: 18px !important;
    padding-bottom: 16px !important;
}

.aio-event-card_home-poster {
    height: 292px !important;
    min-height: 292px !important;
    max-height: 292px !important;
}

/* Фото делаем крупнее */
.aio-event-card_home-poster .aio-event-card__image {
    flex: 0 0 170px !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
}

.aio-event-card_home-poster .aio-event-card__image img {
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.74) contrast(.92) brightness(.78) !important;
}

/* Дата чуть меньше, чтобы не спорила с фото */
.aio-event-card_home-poster .aio-event-date {
    width: 56px !important;
    min-height: 58px !important;
    left: 12px !important;
    bottom: 12px !important;
    padding: 7px 6px 6px !important;
}

.aio-event-card_home-poster .aio-event-date span {
    font-size: 8px !important;
}

.aio-event-card_home-poster .aio-event-date strong {
    font-size: 27px !important;
}

.aio-event-card_home-poster .aio-event-date em {
    font-size: 8px !important;
    margin-top: 5px !important;
}

/* Нижний блок становится компактным */
.aio-event-card_home-poster .aio-event-card__body {
    padding: 13px 16px 13px !important;
}

.aio-event-card_home-poster .aio-event-type {
    margin: 0 0 6px !important;
    font-size: 8px !important;
    opacity: .85 !important;
}

.aio-event-card_home-poster h3 {
    margin: 0 0 8px !important;
    font-size: clamp(20px, 1.48vw, 24px) !important;
    line-height: 1.02 !important;
}

/* Описание на главной сейчас не главное: оставляем только если помещается */
.aio-event-card_home-poster .aio-event-card__text {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 1 !important;
}

/* Ссылку делаем тонкой нижней строкой */
.aio-event-card_home-poster .aio-event-card__link {
    margin-top: auto !important;
    font-size: 8px !important;
    opacity: .76 !important;
}

@media (max-width: 980px) {
    .aio-event-card_home-poster {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }

    .aio-event-card_home-poster .aio-event-card__image {
        height: 175px !important;
        min-height: 175px !important;
        flex-basis: 175px !important;
    }
}

@media (max-width: 640px) {
    .aio-event-card_home-poster {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .aio-event-card_home-poster .aio-event-card__image {
        height: 190px !important;
        min-height: 190px !important;
        flex-basis: 190px !important;
    }
}


/* ==========================================================================
   AIO HOME POLISH — STEP 6: CALENDAR TITLE POSITION FIX
   Название сразу под фото, фото чуть ниже по кадрированию
   ========================================================================== */

.aio-event-card_home-poster {
    height: 318px !important;
    min-height: 318px !important;
    max-height: 318px !important;
}

.aio-event-card_home-poster .aio-event-card__image {
    flex: 0 0 168px !important;
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
}

.aio-event-card_home-poster .aio-event-card__image img {
    object-position: center 58% !important;
}

.aio-event-card_home-poster .aio-event-card__body {
    display: block !important;
    padding: 14px 16px 13px !important;
}

.aio-event-card_home-poster .aio-event-type {
    margin: 0 0 7px !important;
    color: #A9432B !important;
    opacity: 1 !important;
}

.aio-event-card_home-poster h3 {
    margin: 0 0 8px !important;
    color: #111418 !important;
    font-size: clamp(20px, 1.45vw, 24px) !important;
    line-height: 1.03 !important;
}

.aio-event-card_home-poster .aio-event-card__text {
    margin: 0 0 10px !important;
    color: rgba(45,45,45,.70) !important;
    font-size: 12px !important;
    line-height: 1.38 !important;
    -webkit-line-clamp: 1 !important;
}

.aio-event-card_home-poster .aio-event-card__link {
    display: inline-flex !important;
    margin-top: 4px !important;
    color: #111418 !important;
    opacity: .82 !important;
}

@media (max-width: 980px) {
    .aio-event-card_home-poster {
        height: 326px !important;
        min-height: 326px !important;
        max-height: 326px !important;
    }
}

@media (max-width: 640px) {
    .aio-event-card_home-poster {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}


/* ==========================================================================
   AIO HOME POLISH — STEP 7: CALENDAR FINAL TUNE
   Фото чуть больше/ниже, текст выше и аккуратнее
   ========================================================================== */

.aio-event-card_home-poster {
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
}

.aio-event-card_home-poster .aio-event-card__image {
    flex: 0 0 176px !important;
    height: 176px !important;
    min-height: 176px !important;
    max-height: 176px !important;
}

.aio-event-card_home-poster .aio-event-card__image img {
    object-position: center 62% !important;
}

.aio-event-card_home-poster .aio-event-card__body {
    display: flex !important;
    flex-direction: column !important;
    padding: 12px 16px 13px !important;
}

.aio-event-card_home-poster .aio-event-type {
    margin: 0 0 5px !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
}

.aio-event-card_home-poster h3 {
    margin: 0 0 7px !important;
    font-size: clamp(19px, 1.38vw, 23px) !important;
    line-height: 1.02 !important;
    max-width: 100% !important;
}

.aio-event-card_home-poster .aio-event-card__text {
    margin: 0 0 8px !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
    -webkit-line-clamp: 1 !important;
}

.aio-event-card_home-poster .aio-event-card__link {
    margin-top: auto !important;
    padding-top: 2px !important;
}

/* первая карточка с длинным названием — чуть компактнее */
.aio-event-card_home-poster h3 a {
    display: block !important;
}

@media (max-width: 980px) {
    .aio-event-card_home-poster {
        height: 338px !important;
        min-height: 338px !important;
        max-height: 338px !important;
    }

    .aio-event-card_home-poster .aio-event-card__image {
        height: 182px !important;
        min-height: 182px !important;
        flex-basis: 182px !important;
    }
}

@media (max-width: 640px) {
    .aio-event-card_home-poster {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .aio-event-card_home-poster .aio-event-card__image {
        height: 190px !important;
        min-height: 190px !important;
        flex-basis: 190px !important;
    }
}


/* ==========================================================================
   AIO HOME POLISH — CALENDAR CARD HARD RESET
   Единая финальная логика карточки календаря
   ========================================================================== */

.aio-events-preview {
    padding-top: 34px !important;
    padding-bottom: 40px !important;
}

.aio-event-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

/* Карточка: фиксированная компактная схема */
.aio-event-card_home-poster {
    display: grid !important;
    grid-template-rows: 165px 135px !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    border: 1px solid rgba(248,245,239,.18) !important;
    background: #F8F5EF !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.18) !important;
}

/* Фото */
.aio-event-card_home-poster .aio-event-card__image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 165px !important;
    min-height: 165px !important;
    max-height: 165px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #111418 !important;
}

.aio-event-card_home-poster .aio-event-card__image img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 60% !important;
    filter: saturate(.72) contrast(.92) brightness(.78) !important;
    transform: scale(1.01) !important;
}

.aio-event-card_home-poster .aio-event-card__image-shade {
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(17,20,24,0) 0%, rgba(17,20,24,.60) 100%) !important;
    pointer-events: none !important;
}

/* Дата */
.aio-event-card_home-poster .aio-event-date {
    position: absolute !important;
    left: 12px !important;
    bottom: 10px !important;
    z-index: 4 !important;
    width: 58px !important;
    min-height: 62px !important;
    padding: 7px 6px 6px !important;
    border-radius: 4px !important;
    background: rgba(248,245,239,.96) !important;
    box-shadow: 0 7px 16px rgba(0,0,0,.20) !important;
    text-align: center !important;
}

.aio-event-card_home-poster .aio-event-date span {
    display: block !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .11em !important;
    font-weight: 700 !important;
}

.aio-event-card_home-poster .aio-event-date strong {
    display: block !important;
    margin-top: 3px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 28px !important;
    line-height: .82 !important;
    font-weight: 700 !important;
}

.aio-event-card_home-poster .aio-event-date em {
    display: block !important;
    margin-top: 6px !important;
    color: rgba(45,45,45,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    font-style: normal !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
}

/* Текстовая часть: без плясок, сразу под фото */
.aio-event-card_home-poster .aio-event-card__body {
    display: grid !important;
    grid-template-rows: auto auto 1fr auto !important;
    height: 135px !important;
    min-height: 135px !important;
    max-height: 135px !important;
    padding: 12px 16px 12px !important;
    box-sizing: border-box !important;
    background: #F8F5EF !important;
}

/* Тип события — маленький, не занимает высоту */
.aio-event-card_home-poster .aio-event-type {
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

/* Заголовок */
.aio-event-card_home-poster h3 {
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 22px !important;
    line-height: 1.02 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
}

.aio-event-card_home-poster h3 a {
    display: block !important;
    color: #111418 !important;
    text-decoration: none !important;
}

/* Описание / город */
.aio-event-card_home-poster .aio-event-card__text {
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(45,45,45,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
}

.aio-event-card_home-poster .aio-event-card__text span {
    color: rgba(45,45,45,.86) !important;
    font-weight: 600 !important;
}

/* Ссылка */
.aio-event-card_home-poster .aio-event-card__link {
    align-self: end !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #111418 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    opacity: .82 !important;
}

.aio-event-card_home-poster .aio-event-card__link::after {
    content: "→" !important;
    margin-left: 8px !important;
    color: #A9432B !important;
}

@media (max-width: 980px) {
    .aio-event-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .aio-event-list {
        grid-template-columns: 1fr !important;
    }

    .aio-event-card_home-poster {
        grid-template-rows: 180px auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .aio-event-card_home-poster .aio-event-card__image {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }

    .aio-event-card_home-poster .aio-event-card__body {
        height: auto !important;
        min-height: 128px !important;
        max-height: none !important;
    }
}


/* ==========================================================================
   AIO CALENDAR REBUILD — clean classes, no old event-card conflicts
   ========================================================================== */

.aio-calendar-redesign {
    padding: 38px 0 42px !important;
    background:
        radial-gradient(circle at 86% 12%, rgba(200,87,38,.12), transparent 28%),
        linear-gradient(135deg, #111418 0%, #2D2D2D 100%) !important;
    color: #F8F5EF !important;
}

.aio-calendar-redesign__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 28px !important;
    align-items: end !important;
    padding-bottom: 18px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid rgba(248,245,239,.16) !important;
}

.aio-calendar-redesign__kicker {
    margin: 0 0 8px !important;
    color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-calendar-redesign h2 {
    margin: 0 0 10px !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(36px, 3vw, 50px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

.aio-calendar-redesign__head p:not(.aio-calendar-redesign__kicker) {
    max-width: 760px !important;
    margin: 0 !important;
    color: rgba(248,245,239,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.aio-calendar-redesign__all {
    color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.aio-calendar-redesign__all::after {
    content: " →" !important;
    color: #C85726 !important;
}

.aio-calendar-redesign__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

/* Новая карточка */
.aio-cal-card {
    display: grid !important;
    grid-template-rows: 158px 132px !important;
    height: 290px !important;
    overflow: hidden !important;
    border: 1px solid rgba(248,245,239,.18) !important;
    border-radius: 4px !important;
    background: #F8F5EF !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.18) !important;
}

.aio-cal-card__photo {
    position: relative !important;
    display: block !important;
    height: 158px !important;
    overflow: hidden !important;
    background: #111418 !important;
    color: #F8F5EF !important;
    text-decoration: none !important;
}

.aio-cal-card__photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 58% !important;
    filter: saturate(.74) contrast(.92) brightness(.78) !important;
}

.aio-cal-card__photo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(17,20,24,0) 0%, rgba(17,20,24,.62) 100%),
        linear-gradient(90deg, rgba(17,20,24,.10), rgba(200,87,38,.08)) !important;
    pointer-events: none !important;
}

.aio-cal-card__photo > span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(248,245,239,.25) !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    letter-spacing: .08em !important;
}

.aio-cal-card__date {
    position: absolute !important;
    z-index: 2 !important;
    left: 12px !important;
    bottom: 10px !important;
    display: block !important;
    width: 58px !important;
    min-height: 62px !important;
    padding: 7px 6px 6px !important;
    border-radius: 4px !important;
    background: rgba(248,245,239,.96) !important;
    box-shadow: 0 7px 16px rgba(0,0,0,.20) !important;
    text-align: center !important;
}

.aio-cal-card__date span {
    display: block !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .11em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.aio-cal-card__date strong {
    display: block !important;
    margin-top: 3px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 28px !important;
    line-height: .82 !important;
    font-weight: 700 !important;
}

.aio-cal-card__date em {
    display: block !important;
    margin-top: 6px !important;
    color: rgba(45,45,45,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .10em !important;
    font-style: normal !important;
}

/* Текст без старых конфликтов */
.aio-cal-card__body {
    display: grid !important;
    grid-template-rows: 12px auto 20px 12px !important;
    row-gap: 6px !important;
    height: 132px !important;
    padding: 12px 16px 12px !important;
    background: #F8F5EF !important;
    box-sizing: border-box !important;
}

.aio-cal-card__type {
    margin: 0 !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.aio-cal-card h3 {
    margin: 0 !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 22px !important;
    line-height: 1.02 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
    overflow: hidden !important;
}

.aio-cal-card h3 a {
    display: block !important;
    color: #111418 !important;
    text-decoration: none !important;
}

.aio-cal-card h3 a:hover {
    color: #A9432B !important;
}

.aio-cal-card__meta {
    margin: 0 !important;
    color: rgba(45,45,45,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.aio-cal-card__meta span {
    color: rgba(45,45,45,.86) !important;
    font-weight: 600 !important;
}

.aio-cal-card__link {
    margin: 0 !important;
    align-self: end !important;
    color: #111418 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    opacity: .82 !important;
}

.aio-cal-card__link::after {
    content: " →" !important;
    color: #A9432B !important;
}

.aio-cal-card__link:hover {
    color: #A9432B !important;
}

.aio-calendar-redesign__empty {
    padding: 24px !important;
    border: 1px solid rgba(248,245,239,.18) !important;
    color: rgba(248,245,239,.72) !important;
}

@media (max-width: 980px) {
    .aio-calendar-redesign__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .aio-calendar-redesign__head {
        grid-template-columns: 1fr !important;
    }

    .aio-calendar-redesign__grid {
        grid-template-columns: 1fr !important;
    }

    .aio-cal-card {
        grid-template-rows: 180px auto !important;
        height: auto !important;
    }

    .aio-cal-card__photo {
        height: 180px !important;
    }

    .aio-cal-card__body {
        height: auto !important;
        min-height: 132px !important;
    }
}

/* ==========================================================================
   AIO CALENDAR REBUILD — spacing and text tune
   Больше воздуха между карточками, текст чуть крупнее, ссылка не впритык
   ========================================================================== */

.aio-calendar-redesign__grid {
    gap: 22px !important;
}

/* Чуть уже визуально: карточки не расползаются слишком широко */
.aio-cal-card {
    max-width: 382px !important;
    width: 100% !important;
    justify-self: center !important;
    grid-template-rows: 158px 142px !important;
    height: 300px !important;
}

/* Нижняя часть чуть выше, чтобы ссылка дышала */
.aio-cal-card__body {
    height: 142px !important;
    min-height: 142px !important;
    max-height: 142px !important;
    grid-template-rows: 12px auto 20px 16px !important;
    row-gap: 7px !important;
    padding: 13px 18px 15px !important;
}

/* Текст делаем немного крупнее и спокойнее */
.aio-cal-card__type {
    font-size: 8.5px !important;
}

.aio-cal-card h3 {
    font-size: 23px !important;
    line-height: 1.03 !important;
}

.aio-cal-card__meta {
    font-size: 12.5px !important;
    line-height: 1.28 !important;
}

/* Подробнее — чуть крупнее и выше от нижней границы */
.aio-cal-card__link {
    align-self: center !important;
    font-size: 8.5px !important;
    line-height: 1.1 !important;
    padding-bottom: 1px !important;
    opacity: .86 !important;
}

@media (max-width: 980px) {
    .aio-calendar-redesign__grid {
        gap: 18px !important;
    }

    .aio-cal-card {
        max-width: none !important;
    }
}

@media (max-width: 640px) {
    .aio-calendar-redesign__grid {
        gap: 16px !important;
    }

    .aio-cal-card {
        max-width: none !important;
        height: auto !important;
    }

    .aio-cal-card__body {
        height: auto !important;
        min-height: 142px !important;
        max-height: none !important;
    }
}


/* ==========================================================================
   AIO HOME POLISH — PUBLISHING HUB
   Две витрины: Издательские проекты / Видеоматериалы
   ========================================================================== */

.aio-publishing-hub {
    padding: clamp(58px, 6vw, 88px) 0 !important;
    background: #F8F5EF !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
}

.aio-publishing-hub__head {
    max-width: 820px !important;
    margin: 0 0 30px !important;
}

.aio-publishing-hub__kicker {
    margin: 0 0 12px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-publishing-hub h2 {
    margin: 0 0 14px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 3.6vw, 56px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

.aio-publishing-hub__head p:not(.aio-publishing-hub__kicker) {
    margin: 0 !important;
    color: rgba(45,45,45,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.68 !important;
}

.aio-publishing-hub__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    max-width: 960px !important;
    margin: 0 auto !important;
}

.aio-publishing-hub-card {
    display: grid !important;
    grid-template-rows: 230px auto !important;
    min-height: 430px !important;
    overflow: hidden !important;
    background: #F2E3CF !important;
    color: #111418 !important;
    border: 1px solid rgba(45,45,45,.16) !important;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(17,20,24,.08) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.aio-publishing-hub-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(169,67,43,.42) !important;
    box-shadow: 0 18px 36px rgba(17,20,24,.12) !important;
}

.aio-publishing-hub-card__image {
    position: relative !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 20% 12%, rgba(200,87,38,.18), transparent 32%),
        linear-gradient(135deg, #111418 0%, #2D2D2D 100%) !important;
}

.aio-publishing-hub-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(17,20,24,.08) 0%, rgba(17,20,24,.18) 100%),
        linear-gradient(90deg, rgba(17,20,24,.12), rgba(200,87,38,.08)) !important;
    pointer-events: none !important;
}

.aio-publishing-hub-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.78) contrast(.92) brightness(.86) !important;
    transform: scale(1.01) !important;
}

.aio-publishing-hub-card__image span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(248,245,239,.28) !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 64px !important;
    letter-spacing: .08em !important;
}

.aio-publishing-hub-card__body {
    min-height: 200px !important;
    padding: 26px 30px 28px !important;
    text-align: center !important;
    background: #F2E3CF !important;
}

.aio-publishing-hub-card h3 {
    margin: 0 0 16px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 3.4vw, 54px) !important;
    line-height: .92 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
}

.aio-publishing-hub-card p {
    margin: 0 !important;
    color: rgba(45,45,45,.54) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
    letter-spacing: .24em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
}

@media (max-width: 820px) {
    .aio-publishing-hub__grid {
        grid-template-columns: 1fr !important;
        max-width: 540px !important;
    }

    .aio-publishing-hub-card {
        grid-template-rows: 220px auto !important;
    }
}

@media (max-width: 560px) {
    .aio-publishing-hub-card {
        min-height: 0 !important;
    }

    .aio-publishing-hub-card__body {
        min-height: 0 !important;
        padding: 24px 22px 26px !important;
    }

    .aio-publishing-hub-card h3 {
        font-size: clamp(34px, 11vw, 44px) !important;
    }
}


/* ==========================================================================
   AIO PUBLISHING HUB — GRAPHITE REBUILD
   Исправление блока "Издательские проекты / Видеоматериалы"
   ========================================================================== */

.aio-publishing-hub {
    padding: clamp(56px, 6vw, 82px) 0 !important;
    background:
        radial-gradient(circle at 86% 16%, rgba(200,87,38,.10), transparent 28%),
        linear-gradient(135deg, #111418 0%, #2D2D2D 100%) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    color: #F8F5EF !important;
}

.aio-publishing-hub__head {
    max-width: 820px !important;
    margin: 0 0 28px !important;
}

.aio-publishing-hub__kicker {
    color: #F2E3CF !important;
}

.aio-publishing-hub h2 {
    color: #F8F5EF !important;
    font-size: clamp(38px, 3.5vw, 54px) !important;
}

.aio-publishing-hub__head p:not(.aio-publishing-hub__kicker) {
    color: rgba(248,245,239,.70) !important;
    max-width: 760px !important;
}

.aio-publishing-hub__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px !important;
    max-width: 930px !important;
    margin: 0 auto !important;
}

.aio-publishing-hub-card {
    display: grid !important;
    grid-template-rows: 220px auto !important;
    min-height: 388px !important;
    overflow: hidden !important;
    background: #F8F5EF !important;
    color: #111418 !important;
    border: 1px solid rgba(248,245,239,.20) !important;
    border-radius: 2px !important;
    text-decoration: none !important;
    box-shadow: 0 14px 30px rgba(0,0,0,.18) !important;
}

.aio-publishing-hub-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(200,87,38,.48) !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.22) !important;
}

.aio-publishing-hub-card__image {
    height: 220px !important;
    background: #111418 !important;
    border-bottom: 1px solid rgba(45,45,45,.12) !important;
}

.aio-publishing-hub-card__image::after {
    background:
        linear-gradient(180deg, rgba(17,20,24,.02) 0%, rgba(17,20,24,.18) 100%),
        linear-gradient(90deg, rgba(17,20,24,.10), rgba(200,87,38,.07)) !important;
}

.aio-publishing-hub-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.82) contrast(.94) brightness(.88) !important;
}

.aio-publishing-hub-card__body {
    min-height: 168px !important;
    padding: 24px 26px 26px !important;
    text-align: center !important;
    background: #F8F5EF !important;
}

.aio-publishing-hub-card h3 {
    margin: 0 0 14px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 3vw, 48px) !important;
    line-height: .92 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
}

.aio-publishing-hub-card p {
    margin: 0 !important;
    color: rgba(45,45,45,.54) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.65 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
}

/* Вторая карточка — видео — чуть темнее по фото, чтобы не выбивалась */
.aio-publishing-hub-card:nth-child(2) .aio-publishing-hub-card__image img {
    filter: saturate(.72) contrast(.94) brightness(.76) !important;
}

@media (max-width: 820px) {
    .aio-publishing-hub__grid {
        grid-template-columns: 1fr !important;
        max-width: 520px !important;
    }

    .aio-publishing-hub-card {
        min-height: 0 !important;
    }
}


/* ==========================================================================
   AIO PUBLISHING HUB — WIDER EDITORIAL CARDS
   Две карточки шире и прямоугольнее, но не во всю ширину экрана
   ========================================================================== */

.aio-publishing-hub {
    padding-top: clamp(54px, 5.6vw, 78px) !important;
    padding-bottom: clamp(56px, 5.8vw, 82px) !important;
}

/* Заголовок блока оставляем слева, но саму витрину делаем увереннее */
.aio-publishing-hub__head {
    max-width: 860px !important;
    margin-bottom: 30px !important;
}

/* Было слишком узко. Делаем ближе к ширине календаря, но с воздухом */
.aio-publishing-hub__grid {
    max-width: 1080px !important;
    gap: 26px !important;
    align-items: stretch !important;
}

/* Карточки шире и ниже по ощущению */
.aio-publishing-hub-card {
    grid-template-rows: 210px auto !important;
    min-height: 356px !important;
    border-radius: 3px !important;
}

/* Фото — широкая журнальная полоса */
.aio-publishing-hub-card__image {
    height: 210px !important;
}

.aio-publishing-hub-card__image img {
    object-position: center center !important;
}

/* Нижний блок компактнее */
.aio-publishing-hub-card__body {
    min-height: 146px !important;
    padding: 22px 28px 24px !important;
}

/* Заголовок крупный, но не такой высокий */
.aio-publishing-hub-card h3 {
    margin-bottom: 12px !important;
    font-size: clamp(32px, 2.85vw, 46px) !important;
    line-height: .93 !important;
    letter-spacing: .022em !important;
}

/* Подпись спокойнее и плотнее */
.aio-publishing-hub-card p {
    font-size: 9px !important;
    line-height: 1.55 !important;
    letter-spacing: .20em !important;
}

/* На широком экране карточки не должны липнуть к краям, но и не выглядеть куцо */
@media (min-width: 1280px) {
    .aio-publishing-hub__grid {
        max-width: 1100px !important;
    }
}

@media (max-width: 820px) {
    .aio-publishing-hub__grid {
        max-width: 540px !important;
        gap: 18px !important;
    }

    .aio-publishing-hub-card {
        grid-template-rows: 220px auto !important;
        min-height: 0 !important;
    }

    .aio-publishing-hub-card__image {
        height: 220px !important;
    }
}


/* ==========================================================================
   AIO PHOTOARCHIVE — MUSEUM ARCHIVE GRID
   Управляется из админки через PhotoAlbum: show_on_home + home_sort_order
   ========================================================================== */

.aio-photoarchive-redesign {
    padding: clamp(58px, 6vw, 86px) 0 !important;
    background: #F8F5EF !important;
    color: #111418 !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
}

.aio-photoarchive-redesign__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 28px !important;
    align-items: end !important;
    margin-bottom: 28px !important;
}

.aio-photoarchive-redesign__kicker {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-photoarchive-redesign h2 {
    margin: 0 0 12px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 3.5vw, 56px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

.aio-photoarchive-redesign__head p:not(.aio-photoarchive-redesign__kicker) {
    max-width: 680px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.aio-photoarchive-redesign__all {
    color: #111418 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.aio-photoarchive-redesign__all::after {
    content: " →" !important;
    color: #A9432B !important;
}

.aio-photoarchive-redesign__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.aio-photo-card {
    display: grid !important;
    grid-template-rows: 210px auto !important;
    min-height: 322px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(45,45,45,.13) !important;
    border-radius: 3px !important;
    color: #111418 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(17,20,24,.06) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.aio-photo-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(169,67,43,.35) !important;
    box-shadow: 0 16px 30px rgba(17,20,24,.10) !important;
}

.aio-photo-card__image {
    position: relative !important;
    overflow: hidden !important;
    background: #111418 !important;
}

.aio-photo-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(17,20,24,.02) 0%, rgba(17,20,24,.16) 100%),
        linear-gradient(90deg, rgba(17,20,24,.08), rgba(200,87,38,.06)) !important;
    pointer-events: none !important;
}

.aio-photo-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.76) contrast(.94) brightness(.88) !important;
    transform: scale(1.01) !important;
}

.aio-photo-card__image span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(248,245,239,.24) !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 40px !important;
    letter-spacing: .08em !important;
}

.aio-photo-card__body {
    padding: 16px 16px 18px !important;
    background: #FFFFFF !important;
}

.aio-photo-card__body p {
    margin: 0 0 8px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.35 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-photo-card__body h3 {
    margin: 0 !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 25px !important;
    line-height: 1.02 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
}

@media (max-width: 1100px) {
    .aio-photoarchive-redesign__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .aio-photo-card {
        grid-template-rows: 230px auto !important;
    }
}

@media (max-width: 640px) {
    .aio-photoarchive-redesign__head {
        grid-template-columns: 1fr !important;
    }

    .aio-photoarchive-redesign__grid {
        grid-template-columns: 1fr !important;
    }

    .aio-photo-card {
        min-height: 0 !important;
    }
}


/* ==========================================================================
   AIO PHOTOARCHIVE — BENTO / MAGAZINE MUSEUM GRID
   Разнообразная журнальная сетка вместо одинаковых карточек
   ========================================================================== */

.aio-photoarchive-redesign {
    padding: clamp(58px, 6vw, 86px) 0 !important;
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;
}

/* Заголовок оставляем спокойным и музейным */
.aio-photoarchive-redesign__head {
    margin-bottom: 30px !important;
}

/* Bento-сетка */
.aio-photoarchive-redesign__grid {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-template-rows: 178px 178px !important;
    gap: 18px !important;
}

/* Все карточки теперь работают как фото-плашки с подписью поверх */
.aio-photo-card {
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #111418 !important;
    border: 1px solid rgba(45,45,45,.14) !important;
    border-radius: 3px !important;
    box-shadow: 0 14px 28px rgba(17,20,24,.10) !important;
}

/* Большая карточка слева */
.aio-photo-card:nth-child(1) {
    grid-column: 1 / span 6 !important;
    grid-row: 1 / span 2 !important;
}

/* Две малые карточки справа сверху */
.aio-photo-card:nth-child(2) {
    grid-column: 7 / span 3 !important;
    grid-row: 1 !important;
}

.aio-photo-card:nth-child(3) {
    grid-column: 10 / span 3 !important;
    grid-row: 1 !important;
}

/* Широкая карточка справа снизу */
.aio-photo-card:nth-child(4) {
    grid-column: 7 / span 6 !important;
    grid-row: 2 !important;
}

/* Фото занимает всю карточку */
.aio-photo-card__image {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #111418 !important;
}

.aio-photo-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(17,20,24,.04) 0%, rgba(17,20,24,.18) 42%, rgba(17,20,24,.78) 100%),
        linear-gradient(90deg, rgba(7,18,30,.18), rgba(200,87,38,.08)) !important;
    pointer-events: none !important;
}

.aio-photo-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.72) contrast(.94) brightness(.84) !important;
    transform: scale(1.02) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

.aio-photo-card:hover .aio-photo-card__image img {
    transform: scale(1.055) !important;
    filter: saturate(.88) contrast(.96) brightness(.88) !important;
}

/* Подпись поверх фото */
.aio-photo-card__body {
    position: absolute !important;
    z-index: 2 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 18px 20px 20px !important;
    background: linear-gradient(180deg, rgba(17,20,24,0) 0%, rgba(17,20,24,.82) 100%) !important;
}

/* У большой карточки подпись крупнее */
.aio-photo-card:nth-child(1) .aio-photo-card__body {
    padding: 24px 28px 26px !important;
}

.aio-photo-card__body p {
    margin: 0 0 8px !important;
    color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.35 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-photo-card__body h3 {
    margin: 0 !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 25px !important;
    line-height: 1.02 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
    text-shadow: 0 10px 26px rgba(0,0,0,.34) !important;
}

.aio-photo-card:nth-child(1) .aio-photo-card__body h3 {
    max-width: 520px !important;
    font-size: clamp(36px, 3vw, 50px) !important;
    line-height: .96 !important;
}

.aio-photo-card:nth-child(2) .aio-photo-card__body,
.aio-photo-card:nth-child(3) .aio-photo-card__body {
    padding: 14px 15px 16px !important;
}

.aio-photo-card:nth-child(2) .aio-photo-card__body h3,
.aio-photo-card:nth-child(3) .aio-photo-card__body h3 {
    font-size: 22px !important;
    line-height: 1 !important;
}

.aio-photo-card:nth-child(2) .aio-photo-card__body p,
.aio-photo-card:nth-child(3) .aio-photo-card__body p {
    font-size: 7.5px !important;
    margin-bottom: 6px !important;
}

/* Если карточек меньше четырёх — чтобы не разваливалось */
.aio-photo-card:only-child {
    grid-column: 1 / -1 !important;
    grid-row: 1 / span 2 !important;
}

.aio-photo-card:first-child:nth-last-child(2),
.aio-photo-card:first-child:nth-last-child(2) ~ .aio-photo-card {
    grid-column: span 6 !important;
    grid-row: 1 / span 2 !important;
}

.aio-photo-card:first-child:nth-last-child(3) {
    grid-column: 1 / span 6 !important;
    grid-row: 1 / span 2 !important;
}

.aio-photo-card:first-child:nth-last-child(3) ~ .aio-photo-card {
    grid-column: 7 / span 6 !important;
}

/* Планшет */
@media (max-width: 1100px) {
    .aio-photoarchive-redesign__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: 260px 260px !important;
    }

    .aio-photo-card,
    .aio-photo-card:nth-child(1),
    .aio-photo-card:nth-child(2),
    .aio-photo-card:nth-child(3),
    .aio-photo-card:nth-child(4) {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .aio-photo-card:nth-child(1) {
        grid-column: 1 / -1 !important;
    }
}

/* Мобильная */
@media (max-width: 640px) {
    .aio-photoarchive-redesign__grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 14px !important;
    }

    .aio-photo-card,
    .aio-photo-card:nth-child(1),
    .aio-photo-card:nth-child(2),
    .aio-photo-card:nth-child(3),
    .aio-photo-card:nth-child(4) {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 260px !important;
    }

    .aio-photo-card:nth-child(1) .aio-photo-card__body h3 {
        font-size: 34px !important;
    }
}


/* ==========================================================================
   AIO PARTNERS — MUSEUM LOGO WALL
   Только логотипы партнёров: музеи, клубы, архивы, издатели
   ========================================================================== */

.aio-home-partners-logos {
    padding: clamp(56px, 5.8vw, 82px) 0 clamp(64px, 6.4vw, 92px) !important;
    background:
        linear-gradient(180deg, #F8F5EF 0%, #FFFFFF 100%) !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
    color: #111418 !important;
}

.aio-home-partners-logos__head {
    max-width: 820px !important;
    margin: 0 0 30px !important;
    text-align: left !important;
}

.aio-home-partners-logos__head .aio-kicker,
.aio-home-partners-logos__head .aio-kicker_dark {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-home-partners-logos__head h2 {
    margin: 0 0 12px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 3.5vw, 56px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

.aio-home-partners-logos__head p {
    max-width: 680px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.66) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

/* Сетка логотипов */
.aio-home-partners-logos__grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

/* Универсальная ячейка партнёра / клуба */
.aio-home-partners-logos__item,
.aio-home-partner-logo,
.aio-home-club-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 104px !important;
    padding: 20px 22px !important;
    background: rgba(255,255,255,.78) !important;
    border: 1px solid rgba(45,45,45,.11) !important;
    border-radius: 3px !important;
    box-shadow: 0 8px 18px rgba(17,20,24,.045) !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.aio-home-partners-logos__item:hover,
.aio-home-partner-logo:hover,
.aio-home-club-logo:hover {
    transform: translateY(-2px) !important;
    background: #FFFFFF !important;
    border-color: rgba(169,67,43,.32) !important;
    box-shadow: 0 14px 28px rgba(17,20,24,.075) !important;
}

/* Нормализация масштаба логотипов */
.aio-home-partners-logos__item img,
.aio-home-partner-logo img,
.aio-home-club-logo img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 58px !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: saturate(.78) contrast(.94) brightness(.96) !important;
    opacity: .88 !important;
    transition: filter .18s ease, opacity .18s ease, transform .18s ease !important;
}

/* На наведении возвращаем логотипу чуть больше живости */
.aio-home-partners-logos__item:hover img,
.aio-home-partner-logo:hover img,
.aio-home-club-logo:hover img {
    filter: saturate(.95) contrast(1) brightness(1) !important;
    opacity: 1 !important;
    transform: scale(1.015) !important;
}

/* Если логотип очень горизонтальный — ячейка всё равно держит порядок */
.aio-home-partners-logos__item img[src$=".svg"],
.aio-home-partner-logo img[src$=".svg"],
.aio-home-club-logo img[src$=".svg"] {
    max-height: 54px !important;
}

/* Убираем нижний CTA визуально на всякий случай, если он остался в другой разметке */
.aio-home-cta,
.aio-cta,
.aio-section_cta,
.aio-section-cta,
section[class*="cta"] {
    display: none !important;
}

@media (min-width: 1180px) {
    .aio-home-partners-logos__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    .aio-home-partners-logos__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .aio-home-partners-logos__item,
    .aio-home-partner-logo,
    .aio-home-club-logo {
        min-height: 96px !important;
    }
}

@media (max-width: 560px) {
    .aio-home-partners-logos__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .aio-home-partners-logos__item,
    .aio-home-partner-logo,
    .aio-home-club-logo {
        min-height: 88px !important;
        padding: 16px !important;
    }

    .aio-home-partners-logos__item img,
    .aio-home-partner-logo img,
    .aio-home-club-logo img {
        max-height: 48px !important;
    }
}


/* ==========================================================================
   AIO PARTNERS — INSTITUTIONAL STRIP FIX
   Не большой пустой раздел, а компактная партнёрская полоса перед футером
   ========================================================================== */

.aio-home-partners-logos {
    padding: 42px 0 44px !important;
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
    border-bottom: 1px solid rgba(200,87,38,.36) !important;
    color: #111418 !important;
}

.aio-home-partners-logos > .aio-container {
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    gap: 42px !important;
    align-items: start !important;
}

.aio-home-partners-logos__head {
    max-width: 330px !important;
    margin: 0 !important;
    padding: 4px 0 0 !important;
    text-align: left !important;
}

.aio-home-partners-logos__head .aio-kicker,
.aio-home-partners-logos__head .aio-kicker_dark {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-home-partners-logos__head h2,
.aio-home-partners-logos .aio-home-partners-logos__head h2 {
    margin: 0 0 12px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 38px !important;
    line-height: .98 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
}

.aio-home-partners-logos__head p {
    max-width: 300px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.58 !important;
}

/* Правая часть — плотная музейная сетка логотипов */
.aio-home-partners-logos__grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Ячейка логотипа */
.aio-home-partners-logos__item,
.aio-home-partner-logo,
.aio-home-club-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 82px !important;
    height: 82px !important;
    padding: 14px 16px !important;
    background: rgba(255,255,255,.58) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    text-decoration: none !important;
    overflow: hidden !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease !important;
}

.aio-home-partners-logos__item:hover,
.aio-home-partner-logo:hover,
.aio-home-club-logo:hover {
    transform: translateY(-1px) !important;
    background: rgba(255,255,255,.88) !important;
    border-color: rgba(169,67,43,.32) !important;
}

/* Логотипы делаем заметнее */
.aio-home-partners-logos__item img,
.aio-home-partner-logo img,
.aio-home-club-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 118px !important;
    max-height: 54px !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: saturate(.72) contrast(.96) brightness(.96) !important;
    opacity: .92 !important;
    transform: none !important;
}

.aio-home-partners-logos__item:hover img,
.aio-home-partner-logo:hover img,
.aio-home-club-logo:hover img {
    filter: saturate(.95) contrast(1) brightness(1) !important;
    opacity: 1 !important;
}

/* Для вертикальных логотипов даём больше высоты, чтобы они не пропадали */
.aio-home-partners-logos__item img[height],
.aio-home-partner-logo img[height],
.aio-home-club-logo img[height] {
    max-height: 60px !important;
}

/* Не даём старым стилям снова раздувать блок */
.aio-home-partners-logos .aio-section-head,
.aio-home-partners-logos .aio-section-head_row {
    margin: 0 !important;
    padding: 0 !important;
}

/* Нижний CTA точно не показываем */
.aio-home-cta,
.aio-cta,
.aio-section_cta,
.aio-section-cta,
section[class*="cta"] {
    display: none !important;
}

@media (min-width: 1180px) {
    .aio-home-partners-logos__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    .aio-home-partners-logos > .aio-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .aio-home-partners-logos__head {
        max-width: 720px !important;
    }

    .aio-home-partners-logos__head p {
        max-width: 620px !important;
    }

    .aio-home-partners-logos__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .aio-home-partners-logos {
        padding: 34px 0 38px !important;
    }

    .aio-home-partners-logos__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .aio-home-partners-logos__item,
    .aio-home-partner-logo,
    .aio-home-club-logo {
        height: 76px !important;
        min-height: 76px !important;
        padding: 12px !important;
    }

    .aio-home-partners-logos__item img,
    .aio-home-partner-logo img,
    .aio-home-club-logo img {
        max-width: 104px !important;
        max-height: 48px !important;
    }
}


/* ==========================================================================
   AIO PARTNERS — FINAL WALL RESET
   Заголовок сверху, партнёры под ним, одинаковые широкие боксы
   ========================================================================== */

.aio-home-partners-logos {
    padding: clamp(54px, 5.8vw, 78px) 0 clamp(58px, 6vw, 84px) !important;
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
    border-bottom: 1px solid rgba(200,87,38,.34) !important;
    color: #111418 !important;
}

/* Возвращаем нормальную структуру: заголовок сверху, сетка снизу */
.aio-home-partners-logos > .aio-container {
    display: block !important;
}

.aio-home-partners-logos__head {
    max-width: 880px !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
    text-align: left !important;
}

.aio-home-partners-logos__head .aio-kicker,
.aio-home-partners-logos__head .aio-kicker_dark {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-home-partners-logos__head h2,
.aio-home-partners-logos .aio-home-partners-logos__head h2 {
    max-width: 920px !important;
    margin: 0 0 12px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4vw, 62px) !important;
    line-height: .98 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
}

.aio-home-partners-logos__head p {
    max-width: 700px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.66) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

/* Сетка партнёров: одинаковые широкие боксы */
.aio-home-partners-logos__grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    align-items: stretch !important;
}

/* Один стандартный тип ячейки для всех логотипов */
.aio-home-partners-logos__item,
.aio-home-partner-logo,
.aio-home-club-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 116px !important;
    min-height: 116px !important;
    padding: 18px 22px !important;
    background: rgba(255,255,255,.68) !important;
    border: 1px solid rgba(45,45,45,.11) !important;
    border-radius: 3px !important;
    box-shadow: 0 8px 18px rgba(17,20,24,.045) !important;
    text-decoration: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.aio-home-partners-logos__item:hover,
.aio-home-partner-logo:hover,
.aio-home-club-logo:hover {
    transform: translateY(-2px) !important;
    background: #FFFFFF !important;
    border-color: rgba(169,67,43,.34) !important;
    box-shadow: 0 14px 28px rgba(17,20,24,.075) !important;
}

/* Автоматическое вписывание логотипов в общий модуль */
.aio-home-partners-logos__item img,
.aio-home-partner-logo img,
.aio-home-club-logo img {
    display: block !important;
    width: 100% !important;
    height: 72px !important;
    max-width: 100% !important;
    max-height: 72px !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: saturate(.78) contrast(.96) brightness(.97) !important;
    opacity: .94 !important;
    transform: none !important;
}

.aio-home-partners-logos__item:hover img,
.aio-home-partner-logo:hover img,
.aio-home-club-logo:hover img {
    filter: saturate(.98) contrast(1) brightness(1) !important;
    opacity: 1 !important;
}

/* Отдельный мягкий режим для узких вертикальных логотипов */
.aio-home-partners-logos__item img[alt*="Кубок"],
.aio-home-partners-logos__item img[alt*="Москва"],
.aio-home-partner-logo img[alt*="Кубок"],
.aio-home-club-logo img[alt*="Кубок"] {
    height: 82px !important;
    max-height: 82px !important;
}

/* Для круглых/эмблемных логотипов чуть больше высоты */
.aio-home-partners-logos__item img[alt*="Gorky"],
.aio-home-partners-logos__item img[alt*="Горь"],
.aio-home-partners-logos__item img[alt*="АИО"],
.aio-home-partner-logo img[alt*="Gorky"],
.aio-home-club-logo img[alt*="Gorky"] {
    height: 78px !important;
    max-height: 78px !important;
}

/* Если логотип слишком широкий, он останется внутри бокса */
.aio-home-partners-logos__item img[alt*="Глав"],
.aio-home-partner-logo img[alt*="Глав"],
.aio-home-club-logo img[alt*="Глав"] {
    width: 94% !important;
    height: 70px !important;
    max-height: 70px !important;
}

/* Чайка / треугольные знаки: не даём им уползать в маленький квадратик */
.aio-home-partners-logos__item img[alt*="Чай"],
.aio-home-partner-logo img[alt*="Чай"],
.aio-home-club-logo img[alt*="Чай"] {
    width: 92% !important;
    height: 74px !important;
    max-height: 74px !important;
}

/* Адаптив */
@media (max-width: 1180px) {
    .aio-home-partners-logos__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .aio-home-partners-logos__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .aio-home-partners-logos__item,
    .aio-home-partner-logo,
    .aio-home-club-logo {
        height: 104px !important;
        min-height: 104px !important;
    }
}

@media (max-width: 560px) {
    .aio-home-partners-logos__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .aio-home-partners-logos__item,
    .aio-home-partner-logo,
    .aio-home-club-logo {
        height: 94px !important;
        min-height: 94px !important;
        padding: 14px !important;
    }

    .aio-home-partners-logos__item img,
    .aio-home-partner-logo img,
    .aio-home-club-logo img {
        height: 62px !important;
        max-height: 62px !important;
    }
}


/* ==========================================================================
   AIO PARTNERS — CLEAN REBUILD
   Одинаковая сетка логотипов, без старых конфликтующих классов
   ========================================================================== */

.aio-partners-rebuild {
    padding: clamp(54px, 5.8vw, 78px) 0 clamp(58px, 6vw, 84px) !important;
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
    border-bottom: 1px solid rgba(200,87,38,.34) !important;
    color: #111418 !important;
}

.aio-partners-rebuild__head {
    max-width: 900px !important;
    margin: 0 0 34px !important;
}

.aio-partners-rebuild__head p {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-partners-rebuild__head h2 {
    max-width: 960px !important;
    margin: 0 0 12px !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4vw, 62px) !important;
    line-height: .98 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
}

.aio-partners-rebuild__head span {
    display: block !important;
    max-width: 700px !important;
    color: rgba(45,45,45,.66) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.aio-partners-rebuild__grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

.aio-partners-rebuild__item {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 118px !important;
    min-height: 118px !important;
    padding: 18px 24px !important;
    background: rgba(255,255,255,.72) !important;
    border: 1px solid rgba(45,45,45,.11) !important;
    border-radius: 3px !important;
    box-shadow: 0 8px 18px rgba(17,20,24,.045) !important;
    text-decoration: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.aio-partners-rebuild__item:hover {
    transform: translateY(-2px) !important;
    background: #FFFFFF !important;
    border-color: rgba(169,67,43,.34) !important;
    box-shadow: 0 14px 28px rgba(17,20,24,.075) !important;
}

.aio-partners-rebuild__item img {
    display: block !important;
    width: 100% !important;
    height: 76px !important;
    max-width: 100% !important;
    max-height: 76px !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: saturate(.82) contrast(.96) brightness(.97) !important;
    opacity: .95 !important;
}

.aio-partners-rebuild__item:hover img {
    filter: saturate(1) contrast(1) brightness(1) !important;
    opacity: 1 !important;
}

.aio-partners-rebuild__item span {
    color: rgba(17,20,24,.42) !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
}

/* Индивидуальная мягкая коррекция по alt, если исходники очень разные */
.aio-partners-rebuild__item img[alt*="Кубок"],
.aio-partners-rebuild__item img[alt*="Москва"] {
    height: 84px !important;
    max-height: 84px !important;
}

.aio-partners-rebuild__item img[alt*="Глав"] {
    width: 96% !important;
    height: 74px !important;
    max-height: 74px !important;
}

.aio-partners-rebuild__item img[alt*="Gorky"],
.aio-partners-rebuild__item img[alt*="Горь"] {
    height: 82px !important;
    max-height: 82px !important;
}

.aio-partners-rebuild__item img[alt*="кот"],
.aio-partners-rebuild__item img[alt*="Кот"] {
    height: 84px !important;
    max-height: 84px !important;
}

.aio-partners-rebuild__item img[alt*="Чай"],
.aio-partners-rebuild__item img[alt*="чай"] {
    width: 98% !important;
    height: 82px !important;
    max-height: 82px !important;
}

/* Старый партнёрский блок больше не должен влиять */
.aio-home-partners-logos {
    display: none !important;
}

.aio-home-cta,
.aio-cta,
.aio-section_cta,
.aio-section-cta,
section[class*="cta"] {
    display: none !important;
}

@media (max-width: 1180px) {
    .aio-partners-rebuild__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .aio-partners-rebuild__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .aio-partners-rebuild__item {
        height: 108px !important;
        min-height: 108px !important;
    }
}

@media (max-width: 560px) {
    .aio-partners-rebuild__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .aio-partners-rebuild__item {
        height: 96px !important;
        min-height: 96px !important;
        padding: 14px !important;
    }

    .aio-partners-rebuild__item img {
        height: 64px !important;
        max-height: 64px !important;
    }
}


/* ==========================================================================
   AIO PARTNERS — TRANSPARENT MUSEUM CELLS
   Убираем белые карточки на бежевом фоне, оставляем тонкую музейную сетку
   ========================================================================== */

.aio-partners-rebuild {
    padding: clamp(54px, 5.8vw, 76px) 0 clamp(58px, 6vw, 82px) !important;
    background:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,.38), transparent 32%),
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(45,45,45,.08) !important;
    border-bottom: 1px solid rgba(200,87,38,.30) !important;
}

.aio-partners-rebuild__head {
    margin-bottom: 34px !important;
}

.aio-partners-rebuild__head h2 {
    color: #111418 !important;
}

/* Сетка остаётся строгой, но сами ячейки становятся почти невидимыми */
.aio-partners-rebuild__grid {
    gap: 12px !important;
}

/* Прозрачная музейная ячейка */
.aio-partners-rebuild__item {
    height: 116px !important;
    min-height: 116px !important;
    padding: 18px 24px !important;
    background: rgba(248,245,239,.30) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* Вместо белой карточки — лёгкая подсветка только при наведении */
.aio-partners-rebuild__item:hover {
    background: rgba(255,255,255,.42) !important;
    border-color: rgba(169,67,43,.30) !important;
    box-shadow: 0 10px 22px rgba(17,20,24,.045) !important;
}

/* Логотипы чуть крупнее и увереннее */
.aio-partners-rebuild__item img {
    height: 78px !important;
    max-height: 78px !important;
    filter: saturate(.82) contrast(.98) brightness(.98) !important;
    opacity: .96 !important;
}

/* Вертикальные знаки */
.aio-partners-rebuild__item img[alt*="Кубок"],
.aio-partners-rebuild__item img[alt*="Москва"] {
    height: 88px !important;
    max-height: 88px !important;
}

/* Горизонтальные логотипы */
.aio-partners-rebuild__item img[alt*="Глав"] {
    width: 98% !important;
    height: 76px !important;
    max-height: 76px !important;
}

/* Эмблемы */
.aio-partners-rebuild__item img[alt*="Gorky"],
.aio-partners-rebuild__item img[alt*="Горь"],
.aio-partners-rebuild__item img[alt*="АИО"] {
    height: 84px !important;
    max-height: 84px !important;
}

/* Нестандартные/треугольные */
.aio-partners-rebuild__item img[alt*="Чай"],
.aio-partners-rebuild__item img[alt*="чай"] {
    width: 100% !important;
    height: 86px !important;
    max-height: 86px !important;
}

/* На мобильной не делаем тяжёлые белые плитки */
@media (max-width: 560px) {
    .aio-partners-rebuild__item {
        height: 96px !important;
        min-height: 96px !important;
        background: rgba(248,245,239,.34) !important;
    }

    .aio-partners-rebuild__item img {
        height: 64px !important;
        max-height: 64px !important;
    }
}


/* ==========================================================================
   AIO EDITORIAL CAPS — CARD TITLES
   Дорогой музейный капс для подписей карточек
   ========================================================================== */

/* Издательские карточки — фиксируем удачный приём */
.aio-publishing-hub-card h3 {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    text-transform: uppercase !important;
    letter-spacing: .035em !important;
    font-weight: 500 !important;
}

/* Карточки событий */
.aio-cal-card h3 {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    text-transform: uppercase !important;
    letter-spacing: .028em !important;
    font-weight: 500 !important;
    font-size: 22px !important;
    line-height: .98 !important;
}

/* Фотоархив bento */
.aio-photo-card__body h3 {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    text-transform: uppercase !important;
    letter-spacing: .03em !important;
    font-weight: 500 !important;
}

/* Большая карточка фотоархива — чуть торжественнее */
.aio-photo-card:nth-child(1) .aio-photo-card__body h3 {
    letter-spacing: .026em !important;
}

/* Направления работы / проектные карточки */
.aio-home-projects h3,
.aio-direction-card h3,
.aio-project-card h3,
.aio-home-direction-card h3 {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    text-transform: uppercase !important;
    letter-spacing: .035em !important;
    font-weight: 500 !important;
}

/* Миссия — аккуратно, без чрезмерной декоративности */
.aio-home-mission h3,
.aio-mission-card h3,
.aio-home-mission-card h3 {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    text-transform: uppercase !important;
    letter-spacing: .035em !important;
    font-weight: 500 !important;
}

/* Общая страховка: подписи внутри карточек не должны становиться жирными Montserrat */
.aio-cal-card h3 a,
.aio-photo-card__body h3,
.aio-publishing-hub-card h3,
.aio-home-projects h3,
.aio-home-mission h3 {
    color: inherit !important;
}

/* Маленькие подписи под карточками оставляем Montserrat — это даёт дорогой контраст */
.aio-cal-card__type,
.aio-cal-card__meta,
.aio-cal-card__link,
.aio-photo-card__body p,
.aio-publishing-hub-card p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}


/* ==========================================================================
   AIO FONT FIX — вернуть единый дорогой Cormorant и исправить фотоархив
   ========================================================================== */

/* 1. Издательские карточки — эталонный "дорогой" режим */
.aio-publishing-hub-card h3 {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    text-transform: uppercase !important;
    letter-spacing: .035em !important;
    font-weight: 500 !important;
    color: #111418 !important;
}

/* 2. Фотоархив bento — тот же титульный Cormorant, но белым по фото */
.aio-photo-card__body h3,
.aio-photo-card__body h3 a {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    text-transform: uppercase !important;
    letter-spacing: .032em !important;
    font-weight: 500 !important;
    color: #F8F5EF !important;
    text-shadow: 0 10px 28px rgba(0,0,0,.42) !important;
}

.aio-photo-card:nth-child(1) .aio-photo-card__body h3,
.aio-photo-card:nth-child(1) .aio-photo-card__body h3 a {
    color: #F8F5EF !important;
    font-size: clamp(36px, 3vw, 50px) !important;
    line-height: .96 !important;
    letter-spacing: .028em !important;
}

.aio-photo-card__body p {
    color: #F2E3CF !important;
    text-shadow: 0 8px 20px rgba(0,0,0,.36) !important;
}

/* 3. События НЕ переводим в этот музейный капс: там длинные названия, им нужна читаемость */
.aio-cal-card h3,
.aio-cal-card h3 a {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    text-transform: none !important;
    letter-spacing: -.01em !important;
    font-weight: 600 !important;
    color: #111418 !important;
    font-size: 25px !important;
    line-height: 1.02 !important;
}

/* 4. Если где-то предыдущая правка оставила inherit — перебиваем */
.aio-photo-card__body h3,
.aio-photo-card__body h3 *,
.aio-photo-card__body p,
.aio-photo-card__body p * {
    color: #F8F5EF !important;
}

.aio-photo-card__body p {
    color: #F2E3CF !important;
}

/* 5. Направления и миссия пока НЕ трогаем глобально.
   Сначала посмотрим, где этот титульный приём действительно нужен. */


/* ==========================================================================
   AIO EDITORIAL CAPS — THINNER WEIGHT FIX
   Делаем титульный капс тоньше, как на карточках "Издательские проекты"
   ========================================================================== */

/* Эталон: издательские карточки */
.aio-publishing-hub-card h3 {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: .045em !important;
    line-height: .95 !important;
    color: #111418 !important;
}

/* Фотоархив — тот же тонкий титульный стиль, но светлым по фото */
.aio-photo-card__body h3,
.aio-photo-card__body h3 a {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: .045em !important;
    line-height: .96 !important;
    color: #F8F5EF !important;
    text-shadow: 0 10px 28px rgba(0,0,0,.44) !important;
}

/* Большая карточка фотоархива */
.aio-photo-card:nth-child(1) .aio-photo-card__body h3,
.aio-photo-card:nth-child(1) .aio-photo-card__body h3 a {
    font-weight: 400 !important;
    letter-spacing: .04em !important;
    color: #F8F5EF !important;
}

/* Мелкая подпись фотоархива остаётся Montserrat */
.aio-photo-card__body p {
    color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    text-shadow: 0 8px 20px rgba(0,0,0,.36) !important;
}

/* События возвращаем в нормальный читаемый стиль — не делаем их титульным капсом */
.aio-cal-card h3,
.aio-cal-card h3 a {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: -.01em !important;
    line-height: 1.02 !important;
    color: #111418 !important;
}

/* Если где-то браузер синтезирует жирность — просим не утяжелять */
.aio-publishing-hub-card h3,
.aio-photo-card__body h3,
.aio-photo-card__body h3 a {
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}


/* ==========================================================================
   AIO DIRECTIONS — VISUAL CARDS
   Направления работы с фото из админки
   ========================================================================== */

.aio-directions-visual {
    padding: clamp(58px, 6vw, 86px) 0 clamp(64px, 6.4vw, 92px) !important;
    background:
        radial-gradient(circle at 10% 10%, rgba(255,255,255,.42), transparent 34%),
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;
    color: #111418 !important;
    border-top: 1px solid rgba(45,45,45,.08) !important;
}

.aio-directions-visual__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 28px !important;
    align-items: end !important;
    margin-bottom: 30px !important;
}

.aio-directions-visual__kicker {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-directions-visual h2 {
    margin: 0 !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4vw, 64px) !important;
    line-height: .98 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
}

.aio-directions-visual__all {
    color: #111418 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.aio-directions-visual__all::after {
    content: " →" !important;
    color: #A9432B !important;
}

.aio-directions-visual__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

/* Карточка направления */
.aio-direction-visual-card {
    display: grid !important;
    grid-template-rows: 156px auto !important;
    min-height: 392px !important;
    overflow: hidden !important;
    background: rgba(248,245,239,.62) !important;
    border: 1px solid rgba(45,45,45,.12) !important;
    border-radius: 3px !important;
    color: #111418 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.055) !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.aio-direction-visual-card:hover {
    transform: translateY(-2px) !important;
    background: rgba(255,255,255,.54) !important;
    border-color: rgba(169,67,43,.34) !important;
    box-shadow: 0 16px 32px rgba(17,20,24,.09) !important;
}

.aio-direction-visual-card__image {
    position: relative !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 30% 20%, rgba(200,87,38,.16), transparent 34%),
        linear-gradient(135deg, #111418 0%, #2D2D2D 100%) !important;
}

.aio-direction-visual-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(17,20,24,.02) 0%, rgba(17,20,24,.22) 100%),
        linear-gradient(90deg, rgba(7,18,30,.12), rgba(200,87,38,.08)) !important;
    pointer-events: none !important;
}

.aio-direction-visual-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.72) contrast(.94) brightness(.84) !important;
    transform: scale(1.015) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

.aio-direction-visual-card:hover .aio-direction-visual-card__image img {
    transform: scale(1.055) !important;
    filter: saturate(.86) contrast(.96) brightness(.88) !important;
}

.aio-direction-visual-card__image span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(248,245,239,.22) !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 64px !important;
    line-height: 1 !important;
    letter-spacing: .06em !important;
}

.aio-direction-visual-card__body {
    display: grid !important;
    grid-template-rows: auto auto 1fr auto !important;
    padding: 18px 20px 20px !important;
}

.aio-direction-visual-card__number {
    margin: 0 0 16px !important;
    color: #C85726 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-direction-visual-card h3 {
    margin: 0 0 12px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 27px !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: .042em !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

.aio-direction-visual-card__text {
    margin: 0 0 18px !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
}

.aio-direction-visual-card__link {
    align-self: end !important;
    color: #C85726 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-direction-visual-card__link::after {
    content: " →" !important;
}

/* Чуть более журнальная раскладка: первые 3 как основной ряд, нижние компактнее */
.aio-direction-visual-card:nth-child(n+4) {
    min-height: 372px !important;
}

.aio-direction-visual-card:nth-child(n+4) .aio-direction-visual-card__image {
    height: 140px !important;
}

@media (max-width: 1100px) {
    .aio-directions-visual__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .aio-directions-visual__head {
        grid-template-columns: 1fr !important;
    }

    .aio-directions-visual__grid {
        grid-template-columns: 1fr !important;
    }

    .aio-direction-visual-card {
        grid-template-rows: 190px auto !important;
        min-height: 0 !important;
    }

    .aio-direction-visual-card:nth-child(n+4) .aio-direction-visual-card__image {
        height: auto !important;
    }
}

/* Старые карточки направлений больше не должны проявляться */
.aio-home-projects {
    display: none !important;
}


/* ==========================================================================
   AIO DIRECTIONS — COMPACT VISUAL CARDS
   Уплотняем направления работы: меньше высота, меньше воздуха, фото как акцент
   ========================================================================== */

.aio-directions-visual {
    padding: clamp(46px, 5vw, 68px) 0 clamp(52px, 5.4vw, 74px) !important;
}

.aio-directions-visual__head {
    margin-bottom: 24px !important;
}

.aio-directions-visual h2 {
    font-size: clamp(38px, 3.6vw, 56px) !important;
}

.aio-directions-visual__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

/* Компактная карточка */
.aio-direction-visual-card {
    grid-template-rows: 118px auto !important;
    min-height: 304px !important;
    background: rgba(248,245,239,.54) !important;
    box-shadow: 0 8px 18px rgba(17,20,24,.045) !important;
}

.aio-direction-visual-card:nth-child(n+4) {
    min-height: 304px !important;
}

.aio-direction-visual-card__image {
    height: 118px !important;
}

.aio-direction-visual-card:nth-child(n+4) .aio-direction-visual-card__image {
    height: 118px !important;
}

.aio-direction-visual-card__body {
    padding: 15px 17px 17px !important;
    grid-template-rows: auto auto 1fr auto !important;
}

.aio-direction-visual-card__number {
    margin: 0 0 12px !important;
    font-size: 9px !important;
}

.aio-direction-visual-card h3 {
    margin: 0 0 9px !important;
    font-size: 23px !important;
    line-height: .96 !important;
    letter-spacing: .04em !important;
    font-weight: 400 !important;
}

.aio-direction-visual-card__text {
    margin: 0 0 12px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.aio-direction-visual-card__link {
    font-size: 8px !important;
    letter-spacing: .14em !important;
}

/* Фото чуть спокойнее, чтобы не спорили с текстом */
.aio-direction-visual-card__image img {
    filter: saturate(.68) contrast(.93) brightness(.82) !important;
}

/* Планшет */
@media (max-width: 1100px) {
    .aio-directions-visual__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Мобильная */
@media (max-width: 640px) {
    .aio-direction-visual-card {
        grid-template-rows: 150px auto !important;
        min-height: 0 !important;
    }

    .aio-direction-visual-card__image,
    .aio-direction-visual-card:nth-child(n+4) .aio-direction-visual-card__image {
        height: 150px !important;
    }

    .aio-direction-visual-card h3 {
        font-size: 25px !important;
    }
}


/* ==========================================================================
   AIO ABOUT + MISSION — COMPACT EDITORIAL FORMULA
   Главная не пересказывает страницу "Об обществе"
   ========================================================================== */

/* О нас — компактный институциональный блок */
.aio-home-about,
.aio-about-home,
section[class*="about"] {
    --aio-about-compact: 1;
}

/* Уплотняем именно домашний about-блок, не ломая внутренние страницы */
.aio-home-about {
    padding-top: clamp(48px, 5vw, 68px) !important;
    padding-bottom: clamp(38px, 4vw, 54px) !important;
    background: #F8F5EF !important;
}

.aio-home-about h2,
.aio-home-about .aio-section-title {
    max-width: 860px !important;
    margin-bottom: 18px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4vw, 62px) !important;
    line-height: .98 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
    color: #111418 !important;
}

.aio-home-about p {
    max-width: 820px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.68 !important;
    color: rgba(45,45,45,.72) !important;
}

/* Если второй текст пустой — не оставляем визуальную дыру */
.aio-home-about p:empty,
.aio-home-about .aio-empty {
    display: none !important;
}

/* Миссия — не раздел с карточками, а короткая формула */
.aio-home-mission {
    padding-top: clamp(28px, 3vw, 42px) !important;
    padding-bottom: clamp(42px, 4.5vw, 62px) !important;
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(45,45,45,.08) !important;
    border-bottom: 1px solid rgba(45,45,45,.08) !important;
}

.aio-home-mission .aio-kicker,
.aio-home-mission .aio-kicker_dark {
    margin-bottom: 10px !important;
    color: #A9432B !important;
}

.aio-home-mission h2,
.aio-home-mission .aio-section-title {
    max-width: 980px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(44px, 5.2vw, 82px) !important;
    line-height: .92 !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    color: #111418 !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Убираем карточки миссии на главной, если старая разметка их всё ещё выводит */
.aio-home-mission [class*="card"],
.aio-home-mission [class*="grid"] {
    display: none !important;
}

/* Убираем пустой lead миссии */
.aio-home-mission p:empty {
    display: none !important;
}


/* ==========================================================================
   AIO ABOUT — EDITORIAL STATEMENT
   Короткое "О нас" на главной, без пересказа страницы об обществе
   ========================================================================== */

.aio-about-editorial {
    padding: clamp(44px, 5vw, 68px) 0 !important;
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F8F5EF 55%, #F2E3CF 100%) !important;
    color: #111418 !important;
    border-top: 1px solid rgba(45,45,45,.08) !important;
    border-bottom: 1px solid rgba(45,45,45,.08) !important;
}

.aio-about-editorial__inner {
    display: grid !important;
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1fr) !important;
    gap: clamp(34px, 5vw, 76px) !important;
    align-items: end !important;
    padding: 0 0 4px !important;
}

.aio-about-editorial__title {
    position: relative !important;
}

.aio-about-editorial__title::after {
    content: "" !important;
    display: block !important;
    width: 72px !important;
    height: 1px !important;
    margin-top: 24px !important;
    background: #A9432B !important;
    opacity: .72 !important;
}

.aio-about-editorial__title p {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-about-editorial__title h2 {
    max-width: 600px !important;
    margin: 0 !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4.4vw, 68px) !important;
    line-height: .96 !important;
    font-weight: 600 !important;
    letter-spacing: -.015em !important;
}

.aio-about-editorial__text {
    max-width: 760px !important;
    padding: 0 0 2px !important;
}

.aio-about-editorial__text p {
    margin: 0 0 20px !important;
    color: rgba(45,45,45,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.15vw, 17px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
}

.aio-about-editorial__text a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #111418 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.aio-about-editorial__text a::after {
    content: "→" !important;
    color: #A9432B !important;
}

.aio-about-editorial__text a:hover {
    color: #A9432B !important;
}

/* Если старые about-классы вдруг остались ниже в каскаде — не даём им вмешиваться */
.aio-about-editorial .aio-home-about,
.aio-about-editorial .aio-section-head,
.aio-about-editorial .aio-card {
    all: unset !important;
}

@media (max-width: 900px) {
    .aio-about-editorial__inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        align-items: start !important;
    }

    .aio-about-editorial__title h2 {
        max-width: 760px !important;
    }

    .aio-about-editorial__title::after {
        margin-top: 18px !important;
    }
}

@media (max-width: 560px) {
    .aio-about-editorial {
        padding: 38px 0 44px !important;
    }

    .aio-about-editorial__title h2 {
        font-size: 40px !important;
    }

    .aio-about-editorial__text p {
        font-size: 14px !important;
    }
}


/* ==========================================================================
   AIO ABOUT — EDITORIAL STATEMENT
   Короткое "О нас" на главной, без пересказа страницы об обществе
   ========================================================================== */

.aio-about-editorial {
    padding: clamp(44px, 5vw, 68px) 0 !important;
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F8F5EF 55%, #F2E3CF 100%) !important;
    color: #111418 !important;
    border-top: 1px solid rgba(45,45,45,.08) !important;
    border-bottom: 1px solid rgba(45,45,45,.08) !important;
}

.aio-about-editorial__inner {
    display: grid !important;
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1fr) !important;
    gap: clamp(34px, 5vw, 76px) !important;
    align-items: end !important;
    padding: 0 0 4px !important;
}

.aio-about-editorial__title {
    position: relative !important;
}

.aio-about-editorial__title::after {
    content: "" !important;
    display: block !important;
    width: 72px !important;
    height: 1px !important;
    margin-top: 24px !important;
    background: #A9432B !important;
    opacity: .72 !important;
}

.aio-about-editorial__title p {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-about-editorial__title h2 {
    max-width: 600px !important;
    margin: 0 !important;
    color: #111418 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4.4vw, 68px) !important;
    line-height: .96 !important;
    font-weight: 600 !important;
    letter-spacing: -.015em !important;
}

.aio-about-editorial__text {
    max-width: 760px !important;
    padding: 0 0 2px !important;
}

.aio-about-editorial__text p {
    margin: 0 0 20px !important;
    color: rgba(45,45,45,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.15vw, 17px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
}

.aio-about-editorial__text a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #111418 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.aio-about-editorial__text a::after {
    content: "→" !important;
    color: #A9432B !important;
}

.aio-about-editorial__text a:hover {
    color: #A9432B !important;
}

/* Если старые about-классы вдруг остались ниже в каскаде — не даём им вмешиваться */
.aio-about-editorial .aio-home-about,
.aio-about-editorial .aio-section-head,
.aio-about-editorial .aio-card {
    all: unset !important;
}

@media (max-width: 900px) {
    .aio-about-editorial__inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        align-items: start !important;
    }

    .aio-about-editorial__title h2 {
        max-width: 760px !important;
    }

    .aio-about-editorial__title::after {
        margin-top: 18px !important;
    }
}

@media (max-width: 560px) {
    .aio-about-editorial {
        padding: 38px 0 44px !important;
    }

    .aio-about-editorial__title h2 {
        font-size: 40px !important;
    }

    .aio-about-editorial__text p {
        font-size: 14px !important;
    }
}


/* ==========================================================================
   AIO MISSION — STATEMENT BLOCK
   Короткая миссия как важная формула общества
   ========================================================================== */

.aio-mission-statement {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(58px, 6vw, 88px) 0 !important;
    background:
        radial-gradient(circle at 88% 18%, rgba(200,87,38,.12), transparent 30%),
        linear-gradient(135deg, #111418 0%, #2D2D2D 100%) !important;
    color: #F8F5EF !important;
}

.aio-mission-statement::before {
    content: "" !important;
    position: absolute !important;
    inset: 18px !important;
    border: 1px solid rgba(248,245,239,.10) !important;
    pointer-events: none !important;
}

.aio-mission-statement__inner {
    position: relative !important;
    z-index: 1 !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.aio-mission-statement__kicker {
    margin: 0 0 18px !important;
    color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.aio-mission-statement h2 {
    max-width: 1060px !important;
    margin: 0 auto !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(54px, 7vw, 108px) !important;
    line-height: .88 !important;
    font-weight: 400 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

.aio-mission-statement__line {
    width: 96px !important;
    height: 1px !important;
    margin: 30px auto 22px !important;
    background: #C85726 !important;
    opacity: .88 !important;
}

.aio-mission-statement__note {
    max-width: 680px !important;
    margin: 0 auto !important;
    color: rgba(248,245,239,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
}

@media (max-width: 760px) {
    .aio-mission-statement {
        padding: 50px 0 54px !important;
    }

    .aio-mission-statement::before {
        inset: 12px !important;
    }

    .aio-mission-statement h2 {
        font-size: clamp(42px, 12vw, 64px) !important;
        line-height: .92 !important;
    }

    .aio-mission-statement__note {
        font-size: 12px !important;
    }
}


/* ==========================================================================
   AIO HOME — SOFT TONE UNIFICATION
   Без глобальной перекраски страницы: сглаживаем тёмные блоки и карточки
   ========================================================================== */

/* Тёмные блоки: одна графитовая база, терракотовая дымка — еле заметная */
.aio-mission-statement,
.aio-publishing-hub {
    background:
        radial-gradient(circle at 82% 14%, rgba(200,87,38,.075), transparent 30%),
        linear-gradient(135deg, #111418 0%, #242424 100%) !important;
}

/* Миссия не должна быть светлее/оранжевее изданий */
.aio-mission-statement::before {
    border-color: rgba(248,245,239,.09) !important;
}

.aio-mission-statement h2 {
    color: #F8F5EF !important;
}

.aio-mission-statement__kicker {
    color: #F2E3CF !important;
}

.aio-mission-statement__line {
    background: #C85726 !important;
    opacity: .74 !important;
}

.aio-mission-statement__note {
    color: rgba(248,245,239,.64) !important;
}

/* Издания: карточки не белые, а спокойное ivory-паспарту */
.aio-publishing-hub-card {
    background:
        linear-gradient(180deg, rgba(248,245,239,.94) 0%, rgba(242,227,207,.86) 100%) !important;
    border: 1px solid rgba(248,245,239,.16) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.20) !important;
}

.aio-publishing-hub-card:hover {
    background:
        linear-gradient(180deg, rgba(248,245,239,.98) 0%, rgba(242,227,207,.92) 100%) !important;
}

/* Светлые карточки: чуть мягче, без грубой белизны */
.aio-direction-visual-card,
.aio-cal-card {
    background: rgba(248,245,239,.78) !important;
    border-color: rgba(45,45,45,.10) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
}

/* Календарь: возвращаем читаемость описания и не даём ему стать белым */
.aio-calendar-redesign .aio-section-head p,
.aio-calendar-redesign .aio-section-lead,
.aio-calendar-redesign .aio-lead,
.aio-calendar-redesign [class*="lead"],
.aio-calendar-redesign [class*="description"],
.aio-calendar-redesign [class*="desc"] {
    color: rgba(45,45,45,.72) !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    background: transparent !important;
}

/* Фото в карточках: одна спокойная музейная плёнка */
.aio-direction-visual-card__image img,
.aio-cal-card__photo img,
.aio-publishing-hub-card img {
    filter: saturate(.72) contrast(.94) brightness(.88) !important;
}


/* ==========================================================================
   AIO HOME — IVORY TO SAND SYSTEM TEST
   Все основные блоки, кроме миссии, уходят из белого/ivory в песочный
   ========================================================================== */

:root {
    --aio-ivory: #F8F5EF;
    --aio-paper: #F6EFE4;
    --aio-sand: #F2E3CF;
    --aio-sand-soft: #F4E9D8;
    --aio-ink: #111418;
    --aio-muted: rgba(45,45,45,.72);
    --aio-red: #A9432B;
    --aio-line: rgba(45,45,45,.105);
}

/* Общая подложка страницы */
body,
.aio-page,
main,
.aio-main {
    background: var(--aio-ivory) !important;
}

/* Все светлые блоки в одной логике: ivory → sand */
.aio-about-editorial,
.aio-directions-visual,
.aio-calendar-redesign,
.aio-publishing-hub,
.aio-photoarchive-redesign,
.aio-partners-rebuild {
    background:
        linear-gradient(
            180deg,
            var(--aio-ivory) 0%,
            var(--aio-paper) 48%,
            var(--aio-sand) 100%
        ) !important;
    color: var(--aio-ink) !important;
    border-top: 1px solid rgba(45,45,45,.06) !important;
    border-bottom: 1px solid rgba(45,45,45,.06) !important;
}

/* Чередование направления градиента, чтобы не было одной большой плоской заливки */
.aio-directions-visual,
.aio-photoarchive-redesign {
    background:
        linear-gradient(
            180deg,
            var(--aio-sand-soft) 0%,
            var(--aio-paper) 46%,
            var(--aio-ivory) 100%
        ) !important;
}

.aio-calendar-redesign,
.aio-publishing-hub,
.aio-partners-rebuild {
    background:
        linear-gradient(
            180deg,
            var(--aio-ivory) 0%,
            var(--aio-paper) 50%,
            var(--aio-sand-soft) 100%
        ) !important;
}

/* Миссия остаётся единственной тёмной паузой */
.aio-mission-statement {
    background:
        radial-gradient(circle at 84% 16%, rgba(200,87,38,.07), transparent 30%),
        linear-gradient(135deg, #111418 0%, #242424 100%) !important;
    color: var(--aio-ivory) !important;
}

/* Заголовки и тексты на светлых блоках — строго тёмные */
.aio-about-editorial h2,
.aio-directions-visual h2,
.aio-calendar-redesign h2,
.aio-publishing-hub h2,
.aio-photoarchive-redesign h2,
.aio-partners-rebuild h2,
.aio-partners-rebuild__head h2 {
    color: var(--aio-ink) !important;
}

.aio-about-editorial p,
.aio-directions-visual p,
.aio-calendar-redesign p,
.aio-publishing-hub p,
.aio-photoarchive-redesign p,
.aio-partners-rebuild p,
.aio-partners-rebuild__head span {
    color: var(--aio-muted) !important;
}

/* Кикеры — красный только как маленький акцент */
.aio-about-editorial__title p,
.aio-directions-visual__kicker,
.aio-calendar-redesign .aio-kicker,
.aio-calendar-redesign [class*="kicker"],
.aio-publishing-hub .aio-kicker,
.aio-publishing-hub [class*="kicker"],
.aio-photoarchive-redesign .aio-kicker,
.aio-photoarchive-redesign [class*="kicker"],
.aio-partners-rebuild__head p {
    color: var(--aio-red) !important;
}

/* Календарь: принудительно тёмный заголовок, описание и ссылка */
.aio-calendar-redesign,
.aio-calendar-redesign * {
    text-shadow: none !important;
}

.aio-calendar-redesign h2,
.aio-calendar-redesign .aio-section-title {
    color: var(--aio-ink) !important;
    opacity: 1 !important;
}

.aio-calendar-redesign .aio-section-head p,
.aio-calendar-redesign .aio-section-lead,
.aio-calendar-redesign .aio-lead,
.aio-calendar-redesign [class*="lead"],
.aio-calendar-redesign [class*="description"],
.aio-calendar-redesign [class*="desc"] {
    color: var(--aio-muted) !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
}

.aio-calendar-redesign a,
.aio-calendar-redesign [class*="all"],
.aio-calendar-redesign [class*="more"] {
    color: var(--aio-ink) !important;
    opacity: 1 !important;
}

.aio-calendar-redesign a:hover {
    color: var(--aio-red) !important;
}

/* Карточки на светлых блоках — тёплый музейный картон, не белая плитка */
.aio-direction-visual-card,
.aio-cal-card,
.aio-publishing-hub-card,
.aio-partners-rebuild__item {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.88) 0%,
            rgba(246,239,228,.82) 100%
        ) !important;
    border: 1px solid var(--aio-line) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
    color: var(--aio-ink) !important;
}

.aio-direction-visual-card:hover,
.aio-cal-card:hover,
.aio-publishing-hub-card:hover {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.96) 0%,
            rgba(242,227,207,.86) 100%
        ) !important;
    border-color: rgba(169,67,43,.24) !important;
    box-shadow: 0 14px 30px rgba(17,20,24,.065) !important;
}

/* Издания теперь светлые, поэтому весь текст внутри тёмный */
.aio-publishing-hub-card h3,
.aio-publishing-hub-card p,
.aio-publishing-hub-card__body h3,
.aio-publishing-hub-card__body p {
    color: var(--aio-ink) !important;
}

.aio-publishing-hub-card p,
.aio-publishing-hub-card__body p {
    color: var(--aio-muted) !important;
}

/* Если в блоке изданий были белые ссылки/надписи — возвращаем в графит */
.aio-publishing-hub a,
.aio-publishing-hub span,
.aio-publishing-hub .aio-section-link,
.aio-publishing-hub [class*="link"],
.aio-publishing-hub [class*="all"] {
    color: var(--aio-ink) !important;
}

/* Карточки календаря */
.aio-cal-card,
.aio-cal-card__body {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.90) 0%,
            rgba(246,239,228,.84) 100%
        ) !important;
}

.aio-cal-card h3,
.aio-cal-card h3 a {
    color: var(--aio-ink) !important;
}

.aio-cal-card p,
.aio-cal-card__body p,
.aio-cal-card__meta,
.aio-cal-card [class*="meta"],
.aio-cal-card [class*="place"],
.aio-cal-card [class*="location"] {
    color: var(--aio-muted) !important;
}

.aio-cal-card__type,
.aio-cal-card__tag,
.aio-cal-card [class*="type"],
.aio-cal-card [class*="tag"],
.aio-cal-card [class*="category"] {
    color: var(--aio-red) !important;
}

/* Дата в календаре — светлая этикетка */
.aio-cal-card__date {
    background: rgba(248,245,239,.94) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    box-shadow: 0 8px 18px rgba(17,20,24,.12) !important;
}

.aio-cal-card__date,
.aio-cal-card__date * {
    color: var(--aio-ink) !important;
    text-shadow: none !important;
}

.aio-cal-card__date small,
.aio-cal-card__date [class*="month"] {
    color: var(--aio-red) !important;
}

/* Фото в карточках — одинаковая мягкая музейная плёнка */
.aio-direction-visual-card__image img,
.aio-cal-card__photo img,
.aio-publishing-hub-card img,
.aio-photo-card__image img {
    filter: saturate(.72) contrast(.94) brightness(.88) !important;
}

/* Партнёры — без белых плиток */
.aio-partners-rebuild__item {
    background: rgba(248,245,239,.36) !important;
    box-shadow: none !important;
}

.aio-partners-rebuild__item:hover {
    background: rgba(248,245,239,.56) !important;
}


/* ==========================================================================
   AIO HOME — BEIGE SYSTEM TEXT FIX + HIGHER SAND FLOW
   Читаемость подписей + песочный тон поднимаем выше к Hero
   ========================================================================== */

/* Поднимаем песочный тон выше: светлые блоки быстрее уходят в sand */
.aio-about-editorial,
.aio-directions-visual,
.aio-calendar-redesign,
.aio-publishing-hub,
.aio-photoarchive-redesign,
.aio-partners-rebuild {
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 24%,
            #F2E3CF 100%
        ) !important;
}

/* Чередующиеся блоки: тоже песок выше, но без грязной желтизны */
.aio-directions-visual,
.aio-photoarchive-redesign {
    background:
        linear-gradient(
            180deg,
            #F7F0E4 0%,
            #F4E9D8 34%,
            #F8F5EF 100%
        ) !important;
}

.aio-calendar-redesign,
.aio-publishing-hub,
.aio-partners-rebuild {
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 26%,
            #F2E3CF 100%
        ) !important;
}

/* О нас: чтобы сразу после Hero появлялся мягкий песочный переход */
.aio-about-editorial {
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 18%,
            #F2E3CF 100%
        ) !important;
}

/* КАЛЕНДАРЬ — подпись под "Ближайшие события" строго тёмная */
.aio-calendar-redesign .aio-section-head p,
.aio-calendar-redesign .aio-section-lead,
.aio-calendar-redesign .aio-lead,
.aio-calendar-redesign [class*="lead"],
.aio-calendar-redesign [class*="description"],
.aio-calendar-redesign [class*="desc"],
.aio-calendar-redesign__head p,
.aio-calendar-redesign__lead,
.aio-calendar-redesign__description {
    color: rgba(17,20,24,.76) !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    background: transparent !important;
}

/* Календарь: заголовок, ссылка и кикер */
.aio-calendar-redesign h2,
.aio-calendar-redesign .aio-section-title,
.aio-calendar-redesign [class*="title"] {
    color: #111418 !important;
    opacity: 1 !important;
}

.aio-calendar-redesign .aio-kicker,
.aio-calendar-redesign [class*="kicker"] {
    color: #A9432B !important;
    opacity: 1 !important;
}

.aio-calendar-redesign a,
.aio-calendar-redesign [class*="all"],
.aio-calendar-redesign [class*="more"] {
    color: #111418 !important;
    opacity: 1 !important;
}

/* ИЗДАНИЯ — весь верхний текст тёмный, потому что блок теперь светлый */
.aio-publishing-hub,
.aio-publishing-hub * {
    text-shadow: none !important;
}

.aio-publishing-hub h2,
.aio-publishing-hub .aio-section-title,
.aio-publishing-hub [class*="title"] {
    color: #111418 !important;
    opacity: 1 !important;
}

.aio-publishing-hub p,
.aio-publishing-hub .aio-section-lead,
.aio-publishing-hub .aio-lead,
.aio-publishing-hub [class*="lead"],
.aio-publishing-hub [class*="description"],
.aio-publishing-hub [class*="desc"],
.aio-publishing-hub__head p,
.aio-publishing-hub__lead,
.aio-publishing-hub__description {
    color: rgba(17,20,24,.74) !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
}

.aio-publishing-hub .aio-kicker,
.aio-publishing-hub [class*="kicker"] {
    color: #A9432B !important;
    opacity: 1 !important;
}

/* Издания: карточки и подписи внутри */
.aio-publishing-hub-card,
.aio-publishing-hub-card * {
    text-shadow: none !important;
}

.aio-publishing-hub-card h3,
.aio-publishing-hub-card__body h3 {
    color: #111418 !important;
}

.aio-publishing-hub-card p,
.aio-publishing-hub-card__body p {
    color: rgba(17,20,24,.68) !important;
}

/* На всякий случай: белый текст на светлых секциях не допускаем */
.aio-calendar-redesign .aio-container > p,
.aio-publishing-hub .aio-container > p,
.aio-calendar-redesign .aio-section-head *,
.aio-publishing-hub .aio-section-head *,
.aio-publishing-hub__head *,
.aio-calendar-redesign__head * {
    color: inherit;
}

.aio-calendar-redesign .aio-section-head,
.aio-publishing-hub .aio-section-head,
.aio-publishing-hub__head,
.aio-calendar-redesign__head {
    color: #111418 !important;
}

/* Но кикеры внутри этих head сохраняем красными */
.aio-calendar-redesign .aio-section-head .aio-kicker,
.aio-calendar-redesign__head .aio-kicker,
.aio-publishing-hub .aio-section-head .aio-kicker,
.aio-publishing-hub__head .aio-kicker {
    color: #A9432B !important;
}


/* ==========================================================================
   AIO HOME — ONE BEIGE GRADIENT LOGIC + TEXT VISIBILITY FIX
   Единая логика светлых секций: ivory -> paper -> sand.
   Миссию не трогаем: она остаётся тёмной паузой.
   ========================================================================== */

:root {
    --aio-bg-ivory: #F8F5EF;
    --aio-bg-paper: #F6EFE4;
    --aio-bg-sand: #F2E3CF;
    --aio-bg-sand-soft: #F4E9D8;

    --aio-text-main: #111418;
    --aio-text-soft: rgba(17,20,24,.72);
    --aio-text-muted: rgba(17,20,24,.60);

    --aio-accent-red: #A9432B;
    --aio-border-soft: rgba(45,45,45,.105);
}

/* Одна логика для всех светлых секций */
.aio-about-editorial,
.aio-directions-visual,
.aio-calendar-redesign,
.aio-publishing-hub,
.aio-photoarchive-redesign,
.aio-partners-rebuild {
    background:
        linear-gradient(
            180deg,
            var(--aio-bg-ivory) 0%,
            var(--aio-bg-paper) 42%,
            var(--aio-bg-sand) 100%
        ) !important;
    color: var(--aio-text-main) !important;
    border-top: 1px solid rgba(45,45,45,.055) !important;
    border-bottom: 1px solid rgba(45,45,45,.055) !important;
}

/* Чтобы подряд идущие блоки не казались случайными разными градиентами:
   меняем НЕ цветовую систему, а только точку песочного тона */
.aio-about-editorial {
    background:
        linear-gradient(
            180deg,
            var(--aio-bg-ivory) 0%,
            var(--aio-bg-paper) 30%,
            var(--aio-bg-sand) 100%
        ) !important;
}

.aio-directions-visual {
    background:
        linear-gradient(
            180deg,
            var(--aio-bg-sand-soft) 0%,
            var(--aio-bg-paper) 44%,
            var(--aio-bg-ivory) 100%
        ) !important;
}

.aio-calendar-redesign {
    background:
        linear-gradient(
            180deg,
            var(--aio-bg-ivory) 0%,
            var(--aio-bg-paper) 38%,
            var(--aio-bg-sand) 100%
        ) !important;
}

.aio-publishing-hub {
    background:
        linear-gradient(
            180deg,
            var(--aio-bg-ivory) 0%,
            var(--aio-bg-paper) 38%,
            var(--aio-bg-sand) 100%
        ) !important;
}

.aio-photoarchive-redesign {
    background:
        linear-gradient(
            180deg,
            var(--aio-bg-sand-soft) 0%,
            var(--aio-bg-paper) 46%,
            var(--aio-bg-ivory) 100%
        ) !important;
}

.aio-partners-rebuild {
    background:
        linear-gradient(
            180deg,
            var(--aio-bg-ivory) 0%,
            var(--aio-bg-paper) 42%,
            var(--aio-bg-sand) 100%
        ) !important;
}

/* Миссия — единственная тёмная пауза */
.aio-mission-statement {
    background:
        radial-gradient(circle at 84% 16%, rgba(200,87,38,.07), transparent 30%),
        linear-gradient(135deg, #111418 0%, #242424 100%) !important;
    color: var(--aio-bg-ivory) !important;
}

/* ==========================================================================
   ЖЁСТКАЯ ЧИТАЕМОСТЬ ШАПОК СВЕТЛЫХ БЛОКОВ
   ========================================================================== */

/* Календарь: подпись под "Ближайшие события" */
.aio-calendar-redesign .aio-section-head,
.aio-calendar-redesign .aio-section-head *,
.aio-calendar-redesign__head,
.aio-calendar-redesign__head *,
.aio-calendar-redesign .aio-container > p,
.aio-calendar-redesign p {
    color: var(--aio-text-soft) !important;
    -webkit-text-fill-color: var(--aio-text-soft) !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    background: transparent !important;
}

/* Календарь: заголовок */
.aio-calendar-redesign h2,
.aio-calendar-redesign .aio-section-title,
.aio-calendar-redesign [class*="title"] {
    color: var(--aio-text-main) !important;
    -webkit-text-fill-color: var(--aio-text-main) !important;
}

/* Календарь: кикер и маленькие красные акценты */
.aio-calendar-redesign .aio-kicker,
.aio-calendar-redesign [class*="kicker"] {
    color: var(--aio-accent-red) !important;
    -webkit-text-fill-color: var(--aio-accent-red) !important;
}

/* Календарь: ссылка "Все события" */
.aio-calendar-redesign a,
.aio-calendar-redesign [class*="all"],
.aio-calendar-redesign [class*="more"] {
    color: var(--aio-text-main) !important;
    -webkit-text-fill-color: var(--aio-text-main) !important;
}

.aio-calendar-redesign a:hover {
    color: var(--aio-accent-red) !important;
    -webkit-text-fill-color: var(--aio-accent-red) !important;
}

/* Издания: верхняя подпись "Издательское направление..." */
.aio-publishing-hub .aio-section-head,
.aio-publishing-hub .aio-section-head *,
.aio-publishing-hub__head,
.aio-publishing-hub__head *,
.aio-publishing-hub .aio-container > p,
.aio-publishing-hub p {
    color: var(--aio-text-soft) !important;
    -webkit-text-fill-color: var(--aio-text-soft) !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    background: transparent !important;
}

/* Издания: заголовок */
.aio-publishing-hub h2,
.aio-publishing-hub .aio-section-title,
.aio-publishing-hub [class*="title"] {
    color: var(--aio-text-main) !important;
    -webkit-text-fill-color: var(--aio-text-main) !important;
}

/* Издания: кикер */
.aio-publishing-hub .aio-kicker,
.aio-publishing-hub [class*="kicker"] {
    color: var(--aio-accent-red) !important;
    -webkit-text-fill-color: var(--aio-accent-red) !important;
}

/* Фотоархив / визуальная память: шапка тоже в той же системе */
.aio-photoarchive-redesign .aio-section-head,
.aio-photoarchive-redesign .aio-section-head *,
.aio-photoarchive-redesign__head,
.aio-photoarchive-redesign__head *,
.aio-photoarchive-redesign .aio-container > p {
    color: var(--aio-text-soft) !important;
    -webkit-text-fill-color: var(--aio-text-soft) !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    background: transparent !important;
}

.aio-photoarchive-redesign h2,
.aio-photoarchive-redesign .aio-section-title,
.aio-photoarchive-redesign [class*="title"] {
    color: var(--aio-text-main) !important;
    -webkit-text-fill-color: var(--aio-text-main) !important;
}

.aio-photoarchive-redesign .aio-kicker,
.aio-photoarchive-redesign [class*="kicker"] {
    color: var(--aio-accent-red) !important;
    -webkit-text-fill-color: var(--aio-accent-red) !important;
}

/* ВАЖНО: названия внутри фото-карточек на фото оставляем светлыми */
.aio-photo-card__body,
.aio-photo-card__body *,
.aio-photo-card__body h3,
.aio-photo-card__body h3 a {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    text-shadow: 0 10px 28px rgba(0,0,0,.44) !important;
}

/* Карточки: единая бумажно-песочная поверхность */
.aio-direction-visual-card,
.aio-cal-card,
.aio-publishing-hub-card,
.aio-partners-rebuild__item {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.92) 0%,
            rgba(246,239,228,.86) 56%,
            rgba(242,227,207,.76) 100%
        ) !important;
    border: 1px solid var(--aio-border-soft) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
    color: var(--aio-text-main) !important;
}

/* Тексты внутри обычных карточек */
.aio-direction-visual-card,
.aio-direction-visual-card *,
.aio-cal-card,
.aio-cal-card *,
.aio-publishing-hub-card,
.aio-publishing-hub-card * {
    text-shadow: none !important;
}

.aio-direction-visual-card h3,
.aio-cal-card h3,
.aio-cal-card h3 a,
.aio-publishing-hub-card h3,
.aio-publishing-hub-card__body h3 {
    color: var(--aio-text-main) !important;
    -webkit-text-fill-color: var(--aio-text-main) !important;
}

.aio-direction-visual-card p,
.aio-cal-card p,
.aio-cal-card__meta,
.aio-cal-card [class*="meta"],
.aio-cal-card [class*="place"],
.aio-cal-card [class*="location"],
.aio-publishing-hub-card p,
.aio-publishing-hub-card__body p {
    color: var(--aio-text-soft) !important;
    -webkit-text-fill-color: var(--aio-text-soft) !important;
}

/* Красные служебные подписи в карточках */
.aio-direction-visual-card [class*="kicker"],
.aio-cal-card__type,
.aio-cal-card__tag,
.aio-cal-card [class*="type"],
.aio-cal-card [class*="tag"],
.aio-cal-card [class*="category"],
.aio-publishing-hub-card [class*="kicker"] {
    color: var(--aio-accent-red) !important;
    -webkit-text-fill-color: var(--aio-accent-red) !important;
}

/* Браузерное выделение остаётся синим, но обычный текст теперь не белый */
.aio-calendar-redesign ::selection,
.aio-publishing-hub ::selection,
.aio-photoarchive-redesign ::selection {
    background: rgba(7,45,91,.22);
    color: var(--aio-text-main);
    -webkit-text-fill-color: var(--aio-text-main);
}


/* ==========================================================================
   AIO HOME — ONE BEIGE SURFACE FINAL
   Убираем разнобой: все светлые блоки получают одну и ту же подложку.
   Миссия остаётся единственной тёмной паузой.
   ========================================================================== */

:root {
    --aio-final-ivory: #F8F5EF;
    --aio-final-paper: #F6EFE4;
    --aio-final-sand: #F2E3CF;
    --aio-final-ink: #111418;
    --aio-final-muted: rgba(17,20,24,.70);
    --aio-final-red: #A9432B;
    --aio-final-line: rgba(45,45,45,.095);
}

/* Общая база страницы */
body,
.aio-page,
main,
.aio-main {
    background: var(--aio-final-paper) !important;
}

/* ВСЕ светлые секции — один и тот же фон, без индивидуальных градиентов */
.aio-about-editorial,
.aio-directions-visual,
.aio-calendar-redesign,
.aio-publishing-hub,
.aio-photoarchive-redesign,
.aio-partners-rebuild {
    background:
        linear-gradient(
            180deg,
            var(--aio-final-ivory) 0%,
            var(--aio-final-paper) 52%,
            var(--aio-final-sand) 100%
        ) !important;
    color: var(--aio-final-ink) !important;
    border-top: 1px solid rgba(45,45,45,.055) !important;
    border-bottom: 1px solid rgba(45,45,45,.055) !important;
}

/* Убираем все предыдущие визуальные "развороты", которые создавали разный цвет блоков */
.aio-directions-visual,
.aio-calendar-redesign,
.aio-publishing-hub,
.aio-photoarchive-redesign,
.aio-partners-rebuild {
    background-image:
        linear-gradient(
            180deg,
            var(--aio-final-ivory) 0%,
            var(--aio-final-paper) 52%,
            var(--aio-final-sand) 100%
        ) !important;
}

/* Миссия — единственный тёмный блок */
.aio-mission-statement {
    background:
        radial-gradient(circle at 84% 16%, rgba(200,87,38,.07), transparent 30%),
        linear-gradient(135deg, #111418 0%, #242424 100%) !important;
    color: var(--aio-final-ivory) !important;
}

/* Шапки всех светлых блоков — одинаковая типографика и тёмный текст */
.aio-about-editorial h2,
.aio-directions-visual h2,
.aio-calendar-redesign h2,
.aio-publishing-hub h2,
.aio-photoarchive-redesign h2,
.aio-partners-rebuild h2,
.aio-section-title {
    color: var(--aio-final-ink) !important;
    -webkit-text-fill-color: var(--aio-final-ink) !important;
    text-shadow: none !important;
}

/* Описания под заголовками — читаемые, не белые */
.aio-about-editorial p,
.aio-directions-visual p,
.aio-calendar-redesign p,
.aio-publishing-hub p,
.aio-photoarchive-redesign p,
.aio-partners-rebuild p,
.aio-section-lead,
.aio-lead,
[class*="lead"],
[class*="description"],
[class*="desc"] {
    color: var(--aio-final-muted) !important;
    -webkit-text-fill-color: var(--aio-final-muted) !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}

/* Кикеры — только красный акцент */
.aio-about-editorial .aio-kicker,
.aio-directions-visual .aio-kicker,
.aio-calendar-redesign .aio-kicker,
.aio-publishing-hub .aio-kicker,
.aio-photoarchive-redesign .aio-kicker,
.aio-partners-rebuild .aio-kicker,
.aio-about-editorial [class*="kicker"],
.aio-directions-visual [class*="kicker"],
.aio-calendar-redesign [class*="kicker"],
.aio-publishing-hub [class*="kicker"],
.aio-photoarchive-redesign [class*="kicker"],
.aio-partners-rebuild [class*="kicker"] {
    color: var(--aio-final-red) !important;
    -webkit-text-fill-color: var(--aio-final-red) !important;
}

/* Ссылки в шапках блоков */
.aio-calendar-redesign a,
.aio-publishing-hub a,
.aio-photoarchive-redesign a,
.aio-partners-rebuild a {
    color: var(--aio-final-ink) !important;
    -webkit-text-fill-color: var(--aio-final-ink) !important;
}

.aio-calendar-redesign a:hover,
.aio-publishing-hub a:hover,
.aio-photoarchive-redesign a:hover,
.aio-partners-rebuild a:hover {
    color: var(--aio-final-red) !important;
    -webkit-text-fill-color: var(--aio-final-red) !important;
}

/* Карточки тоже в одной системе, без разного фона от блока к блоку */
.aio-direction-visual-card,
.aio-cal-card,
.aio-publishing-hub-card,
.aio-partners-rebuild__item {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.94) 0%,
            rgba(246,239,228,.88) 100%
        ) !important;
    border: 1px solid var(--aio-final-line) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
    color: var(--aio-final-ink) !important;
}

/* Тексты внутри обычных карточек */
.aio-direction-visual-card *,
.aio-cal-card *,
.aio-publishing-hub-card * {
    text-shadow: none !important;
}

.aio-direction-visual-card h3,
.aio-cal-card h3,
.aio-cal-card h3 a,
.aio-publishing-hub-card h3,
.aio-publishing-hub-card__body h3 {
    color: var(--aio-final-ink) !important;
    -webkit-text-fill-color: var(--aio-final-ink) !important;
}

.aio-direction-visual-card p,
.aio-cal-card p,
.aio-cal-card__meta,
.aio-cal-card [class*="meta"],
.aio-cal-card [class*="place"],
.aio-cal-card [class*="location"],
.aio-publishing-hub-card p,
.aio-publishing-hub-card__body p {
    color: var(--aio-final-muted) !important;
    -webkit-text-fill-color: var(--aio-final-muted) !important;
}

/* Красные служебные элементы в карточках */
.aio-direction-visual-card [class*="kicker"],
.aio-cal-card__type,
.aio-cal-card__tag,
.aio-cal-card [class*="type"],
.aio-cal-card [class*="tag"],
.aio-cal-card [class*="category"],
.aio-publishing-hub-card [class*="kicker"] {
    color: var(--aio-final-red) !important;
    -webkit-text-fill-color: var(--aio-final-red) !important;
}

/* Фотоархив: тексты поверх фото оставляем светлыми */
.aio-photo-card__body,
.aio-photo-card__body *,
.aio-photo-card__body h3,
.aio-photo-card__body h3 a {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    text-shadow: 0 10px 28px rgba(0,0,0,.44) !important;
}

/* Фото: единая музейная плёнка */
.aio-direction-visual-card__image img,
.aio-cal-card__photo img,
.aio-publishing-hub-card img,
.aio-photo-card__image img {
    filter: saturate(.72) contrast(.94) brightness(.88) !important;
}

/* Убираем грубые различия на границах секций */
.aio-about-editorial + .aio-mission-statement,
.aio-mission-statement + .aio-directions-visual,
.aio-directions-visual + .aio-calendar-redesign,
.aio-calendar-redesign + .aio-publishing-hub,
.aio-publishing-hub + .aio-photoarchive-redesign,
.aio-photoarchive-redesign + .aio-partners-rebuild {
    margin-top: 0 !important;
}


/* ==========================================================================
   AIO HOME — PUBLISHING CARDS TONE MATCH
   Карточки изданий приводим к той же бумажно-песочной температуре,
   что карточки событий и направлений.
   ========================================================================== */

/* Единая поверхность карточек: не белая, а ivory -> paper/sand */
.aio-publishing-hub-card {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.94) 0%,
            rgba(246,239,228,.90) 56%,
            rgba(242,227,207,.78) 100%
        ) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
}

/* Нижняя текстовая часть издательских карточек — такая же тёплая, как у событий */
.aio-publishing-hub-card__body,
.aio-publishing-hub-card > div:not([class*="image"]),
.aio-publishing-hub-card > a:not([class*="image"]) {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.94) 0%,
            rgba(246,239,228,.90) 60%,
            rgba(242,227,207,.76) 100%
        ) !important;
}

/* Если текстовая часть задана не отдельным body, всё равно убираем белую плитку */
.aio-publishing-hub-card::after {
    background: transparent !important;
}

/* Тексты внутри остаются тёмными и спокойными */
.aio-publishing-hub-card h3,
.aio-publishing-hub-card__body h3 {
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
}

.aio-publishing-hub-card p,
.aio-publishing-hub-card__body p,
.aio-publishing-hub-card span,
.aio-publishing-hub-card__body span {
    color: rgba(17,20,24,.66) !important;
    -webkit-text-fill-color: rgba(17,20,24,.66) !important;
}

/* Фото сверху оставляем с музейной плёнкой, но не делаем слишком тёмными */
.aio-publishing-hub-card img {
    filter: saturate(.74) contrast(.94) brightness(.88) !important;
}

/* Hover — не белеет, а просто чуть светлеет */
.aio-publishing-hub-card:hover {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.97) 0%,
            rgba(246,239,228,.92) 56%,
            rgba(242,227,207,.82) 100%
        ) !important;
    border-color: rgba(169,67,43,.22) !important;
}

.aio-publishing-hub-card:hover .aio-publishing-hub-card__body,
.aio-publishing-hub-card:hover > div:not([class*="image"]),
.aio-publishing-hub-card:hover > a:not([class*="image"]) {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.97) 0%,
            rgba(246,239,228,.92) 60%,
            rgba(242,227,207,.82) 100%
        ) !important;
}

/* События и направления фиксируем в той же температуре, чтобы не было разброса */
.aio-cal-card,
.aio-direction-visual-card {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.94) 0%,
            rgba(246,239,228,.90) 56%,
            rgba(242,227,207,.78) 100%
        ) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
}

/* Нижняя часть карточек событий тоже не должна быть белой */
.aio-cal-card__body {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.94) 0%,
            rgba(246,239,228,.90) 60%,
            rgba(242,227,207,.76) 100%
        ) !important;
}


/* ========================================================
   SOURCE: aio-style-lock.css
   ======================================================== */


/* ==========================================================================
   Принципы — компактный блок, не на целый экран
   ========================================================================== */

.aio-about-principles-editorial {
    padding: clamp(28px, 3vw, 42px) 0 clamp(30px, 3.5vw, 46px) !important;
    background:
        linear-gradient(
            180deg,
            var(--aio-color-ivory) 0%,
            var(--aio-color-paper) 52%,
            var(--aio-color-sand) 100%
        ) !important;
    color: var(--aio-color-ink) !important;
    border-top: 1px solid var(--aio-line-soft) !important;
}

.aio-about-principles-editorial__inner {
    display: grid !important;
    grid-template-columns: minmax(230px, 330px) minmax(0, 1fr) !important;
    gap: clamp(24px, 3.2vw, 44px) !important;
    align-items: start !important;
}

.aio-about-principles-editorial__head {
    position: static !important;
}

.aio-about-principles-editorial__kicker {
    margin: 0 0 9px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

.aio-about-principles-editorial__head h2 {
    max-width: 330px !important;
    margin: 0 !important;
    font-size: clamp(32px, 3.2vw, 46px) !important;
    line-height: .98 !important;
    letter-spacing: -.01em !important;
}

.aio-about-principles-editorial__line {
    width: 64px !important;
    height: 1px !important;
    margin-top: 16px !important;
}

.aio-about-principles-editorial__list {
    border-top: 1px solid rgba(45,45,45,.11) !important;
}

.aio-about-principle-row {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: clamp(12px, 1.8vw, 18px) !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(45,45,45,.11) !important;
}

.aio-about-principle-row__number {
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    padding-top: 4px !important;
}

.aio-about-principle-row__body h3 {
    max-width: 620px !important;
    margin: 0 0 4px !important;
    font-size: clamp(16px, 1.25vw, 20px) !important;
    line-height: 1.08 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
}

.aio-about-principle-row__body p {
    max-width: 720px !important;
    margin: 0 !important;
    font-family: var(--aio-font-ui) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: var(--aio-color-muted) !important;
    -webkit-text-fill-color: var(--aio-color-muted) !important;
}

@media (max-width: 900px) {
    .aio-about-principles-editorial__inner {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .aio-about-principles-editorial__head h2 {
        max-width: 560px !important;
    }
}

@media (max-width: 560px) {
    .aio-about-principles-editorial {
        padding: 32px 0 38px !important;
    }

    .aio-about-principle-row {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        padding: 14px 0 !important;
    }

    .aio-about-principle-row__number {
        padding-top: 0 !important;
    }

    .aio-about-principle-row__body h3 {
        font-size: clamp(17px, 5.4vw, 22px) !important;
    }

    .aio-about-principle-row__body p {
        font-size: 12px !important;
    }
}


/* ==========================================================================
   AIO ABOUT — FINAL TYPOGRAPHY FROM STYLE FILE
   Исправление причины: задаём реальные переменные и используем явные шрифты.
   ========================================================================== */

:root {
    --aio-font-display: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --aio-font-ui: "AIO Montserrat", Montserrat, Arial, sans-serif;
}

/* Кикеры: Montserrat, тёмно-красный, единый размер */
body.page-about .aio-about-editorial__title p,
body.page-about .aio-directions-visual__kicker,
body.page-about .aio-about-principles-editorial__kicker,
body.page-about .aio-about-rebuild-documents__kicker {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Все подзаголовки секций About: один Cormorant, один кегль */
body.page-about .aio-about-editorial__title h2,
body.page-about .aio-directions-visual__head h2,
body.page-about .aio-about-principles-editorial__head h2,
body.page-about .aio-about-rebuild-documents__head h2 {
    max-width: 680px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: -.012em !important;
    text-transform: none !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Пояснения и технические тексты: Montserrat, маленький спокойный размер */
body.page-about .aio-about-editorial__text p,
body.page-about .aio-directions-visual__head > div > p,
body.page-about .aio-about-principle-row__body p,
body.page-about .aio-about-rebuild-documents__lead,
body.page-about .aio-about-rebuild-documents__text {
    max-width: 780px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(17,20,24,.70) !important;
    -webkit-text-fill-color: rgba(17,20,24,.70) !important;
}

/* Линии */
body.page-about .aio-about-editorial__title::after,
body.page-about .aio-about-principles-editorial__line {
    background: #A9432B !important;
    background-color: #A9432B !important;
    opacity: .9 !important;
}

/* Принципы */
body.page-about .aio-about-principles-editorial {
    padding: clamp(34px, 4vw, 52px) 0 clamp(38px, 4.5vw, 56px) !important;
    background: linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(45,45,45,.095) !important;
}

body.page-about .aio-about-principles-editorial__inner {
    display: grid !important;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) !important;
    gap: clamp(28px, 4vw, 56px) !important;
    align-items: start !important;
}

body.page-about .aio-about-principles-editorial__head {
    position: static !important;
}

body.page-about .aio-about-principles-editorial__head h2 {
    max-width: 360px !important;
}

body.page-about .aio-about-principles-editorial__line {
    width: 72px !important;
    height: 1px !important;
    margin-top: 18px !important;
}

body.page-about .aio-about-principles-editorial__list {
    border-top: 1px solid rgba(45,45,45,.11) !important;
}

body.page-about .aio-about-principle-row {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: clamp(12px, 1.8vw, 20px) !important;
    padding: 13px 0 !important;
    border-bottom: 1px solid rgba(45,45,45,.11) !important;
}

body.page-about .aio-about-principle-row__number {
    padding-top: 5px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Названия принципов: Cormorant, но это внутренние заголовки, не h2 секций */
body.page-about .aio-about-principle-row__body h3 {
    max-width: 760px !important;
    margin: 0 0 5px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(20px, 1.65vw, 26px) !important;
    line-height: 1.04 !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Документы */
body.page-about .aio-about-rebuild-documents {
    padding: clamp(38px, 4.5vw, 58px) 0 clamp(46px, 5vw, 68px) !important;
    background: linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(45,45,45,.095) !important;
}

body.page-about .aio-about-rebuild-documents__head {
    max-width: 820px !important;
    margin: 0 0 clamp(20px, 2.6vw, 32px) !important;
}

body.page-about .aio-about-rebuild-documents__lead {
    margin: 14px 0 0 !important;
}

body.page-about .aio-about-rebuild-documents__list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(16px, 2vw, 24px) !important;
    align-items: stretch !important;
}

body.page-about .aio-about-rebuild-documents__item {
    display: flex !important;
    flex-direction: column !important;
    min-height: 148px !important;
    padding: 20px 20px 18px !important;
    background: linear-gradient(180deg, rgba(248,245,239,.94) 0%, rgba(246,239,228,.90) 56%, rgba(242,227,207,.78) 100%) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
    text-decoration: none !important;
    color: #111418 !important;
}

body.page-about .aio-about-rebuild-documents__type {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Название документа: Cormorant */
body.page-about .aio-about-rebuild-documents__item h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(22px, 1.9vw, 29px) !important;
    line-height: 1.02 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
    text-transform: none !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

body.page-about .aio-about-rebuild-documents__link {
    display: inline-block !important;
    margin-top: auto !important;
    padding-top: 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

@media (max-width: 980px) {
    body.page-about .aio-about-rebuild-documents__list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    body.page-about .aio-about-principles-editorial__inner {
        grid-template-columns: 1fr !important;
    }

    body.page-about .aio-about-principles-editorial__head h2 {
        max-width: 680px !important;
    }
}

@media (max-width: 640px) {
    body.page-about .aio-about-editorial__title h2,
    body.page-about .aio-directions-visual__head h2,
    body.page-about .aio-about-principles-editorial__head h2,
    body.page-about .aio-about-rebuild-documents__head h2 {
        font-size: clamp(29px, 8.5vw, 40px) !important;
    }

    body.page-about .aio-about-principles-editorial__inner,
    body.page-about .aio-about-principle-row,
    body.page-about .aio-about-rebuild-documents__list {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   AIO ABOUT — MISSION NORMAL
   Только миссия на странице «Об обществе».
   Главную не трогает.
   ========================================================================== */

body.page-about .aio-mission-statement.aio-about-mission {
    padding: clamp(42px, 5vw, 68px) 0 !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(248,245,239,.10), transparent 34%),
        linear-gradient(135deg, #111418 0%, #242424 52%, #2D2D2D 100%) !important;
    color: #F8F5EF !important;
}

body.page-about .aio-mission-statement.aio-about-mission .aio-mission-statement__inner {
    max-width: 1120px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

body.page-about .aio-mission-statement.aio-about-mission .aio-mission-statement__kicker {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about .aio-mission-statement.aio-about-mission h2 {
    max-width: 960px !important;
    margin: 0 auto !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 4vw, 58px) !important;
    line-height: .96 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

body.page-about .aio-mission-statement.aio-about-mission .aio-mission-statement__line {
    display: block !important;
    width: 78px !important;
    height: 1px !important;
    margin: 22px auto 18px !important;
    background: #A9432B !important;
    background-color: #A9432B !important;
    opacity: .95 !important;
}

body.page-about .aio-mission-statement.aio-about-mission .aio-mission-statement__note {
    max-width: none !important;
    margin: 0 auto !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    body.page-about .aio-mission-statement.aio-about-mission h2 {
        font-size: clamp(30px, 8vw, 42px) !important;
    }

    body.page-about .aio-mission-statement.aio-about-mission .aio-mission-statement__note {
        max-width: 92% !important;
        white-space: normal !important;
    }
}


/* ==========================================================================
   AIO ABOUT — MISSION SMALLER TWO LINES
   Только миссия на странице «Об обществе».
   ========================================================================== */

body.page-about .aio-mission-statement.aio-about-mission {
    padding: clamp(36px, 4.2vw, 56px) 0 !important;
}

body.page-about .aio-mission-statement.aio-about-mission .aio-mission-statement__inner {
    max-width: 980px !important;
}

body.page-about .aio-mission-statement.aio-about-mission h2 {
    max-width: 820px !important;
    font-size: clamp(30px, 3.25vw, 46px) !important;
    line-height: .98 !important;
    letter-spacing: -.008em !important;
}

body.page-about .aio-mission-statement.aio-about-mission .aio-mission-statement__line {
    margin: 18px auto 16px !important;
}

body.page-about .aio-mission-statement.aio-about-mission .aio-mission-statement__note {
    font-size: 12.5px !important;
}

@media (max-width: 760px) {
    body.page-about .aio-mission-statement.aio-about-mission h2 {
        max-width: 92% !important;
        font-size: clamp(27px, 7.2vw, 36px) !important;
    }
}


/* ==========================================================================
   AIO ABOUT — MISSION EXACT TWO LINES
   Только перенос строки в миссии страницы «Об обществе».
   ========================================================================== */

body.page-about .aio-mission-statement.aio-about-mission h2 br {
    display: block !important;
}

body.page-about .aio-mission-statement.aio-about-mission h2 {
    max-width: 900px !important;
    white-space: normal !important;
}


/* ==========================================================================
   AIO ABOUT — MISSION FIT EXACT TWO LINES
   Строка 1: Вернуть историческому автомобилю
   Строка 2: значение культурного явления
   ========================================================================== */

body.page-about .aio-mission-statement.aio-about-mission h2 {
    max-width: 1040px !important;
    font-size: clamp(25px, 2.7vw, 38px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.006em !important;
    white-space: nowrap !important;
}

body.page-about .aio-mission-statement.aio-about-mission h2 br {
    display: block !important;
}

@media (max-width: 760px) {
    body.page-about .aio-mission-statement.aio-about-mission h2 {
        max-width: 92% !important;
        font-size: clamp(24px, 6.8vw, 34px) !important;
        white-space: normal !important;
    }
}


/* ==========================================================================
   AIO ABOUT — READABILITY AND MOBILE
   Только страница «Об обществе».
   Увеличение читаемого Montserrat-текста и мобильная адаптация.
   ========================================================================== */

/* Основные правые тексты в editorial-блоках */
body.page-about .aio-about-editorial__text p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.08vw, 17px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(17,20,24,.74) !important;
    -webkit-text-fill-color: rgba(17,20,24,.74) !important;
}

/* Пояснение под «Что такое АИО» */
body.page-about .aio-directions-visual__head > div > p,
body.page-about .aio-directions-visual__head p:not(.aio-directions-visual__kicker) {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14.5px, 1vw, 16px) !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(17,20,24,.70) !important;
    -webkit-text-fill-color: rgba(17,20,24,.70) !important;
}

/* Тексты принципов */
body.page-about .aio-about-principle-row__body p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14px, .98vw, 15.5px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

/* Описание документов */
body.page-about .aio-about-rebuild-documents__lead,
body.page-about .aio-about-rebuild-documents__text {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14px, .98vw, 15.5px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

/* Чуть больше воздуха между строками принципов */
body.page-about .aio-about-principle-row {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

/* ---------- MOBILE / TABLET ---------- */

@media (max-width: 980px) {
    body.page-about .aio-about-editorial__inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    body.page-about .aio-directions-visual__head {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-about .aio-directions-visual__all {
        justify-self: start !important;
    }

    body.page-about .aio-directions-visual__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.page-about .aio-about-principles-editorial__inner {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }

    body.page-about .aio-about-principles-editorial__head h2 {
        max-width: 680px !important;
    }

    body.page-about .aio-about-rebuild-documents__list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    body.page-about .aio-about-editorial,
    body.page-about .aio-directions-visual,
    body.page-about .aio-about-principles-editorial,
    body.page-about .aio-about-rebuild-documents {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-about .aio-about-editorial__title h2,
    body.page-about .aio-directions-visual__head h2,
    body.page-about .aio-about-principles-editorial__head h2,
    body.page-about .aio-about-rebuild-documents__head h2 {
        font-size: clamp(30px, 8.4vw, 39px) !important;
        line-height: 1.02 !important;
    }

    body.page-about .aio-about-editorial__text p,
    body.page-about .aio-directions-visual__head > div > p,
    body.page-about .aio-about-principle-row__body p,
    body.page-about .aio-about-rebuild-documents__lead,
    body.page-about .aio-about-rebuild-documents__text {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    body.page-about .aio-about-principle-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 15px 0 !important;
    }

    body.page-about .aio-about-principle-row__number {
        padding-top: 0 !important;
    }

    body.page-about .aio-directions-visual__grid,
    body.page-about .aio-about-rebuild-documents__list {
        grid-template-columns: 1fr !important;
    }

    body.page-about .aio-about-rebuild-documents__item {
        min-height: auto !important;
    }
}

@media (max-width: 420px) {
    body.page-about .aio-mission-statement.aio-about-mission h2 {
        white-space: normal !important;
        font-size: clamp(24px, 7vw, 31px) !important;
    }

    body.page-about .aio-about-editorial__text p,
    body.page-about .aio-directions-visual__head > div > p,
    body.page-about .aio-about-principle-row__body p,
    body.page-about .aio-about-rebuild-documents__lead,
    body.page-about .aio-about-rebuild-documents__text {
        font-size: 14.5px !important;
        line-height: 1.62 !important;
    }
}


/* ==========================================================================
   AIO STRUCTURE PAGE
   Страница «Структура общества» /about/bodies.
   Эталон: главная + /about.
   ========================================================================== */

body.page-about-bodies .aio-bodies-page {
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 52%,
            #F2E3CF 100%
        ) !important;
}

body.page-about-bodies .aio-bodies-hero {
    border-bottom: 1px solid rgba(45,45,45,.095) !important;
}

body.page-about-bodies .aio-bodies-structure {
    padding: clamp(36px, 5vw, 68px) 0 clamp(56px, 6vw, 88px) !important;
}

body.page-about-bodies .aio-bodies-kicker {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-bodies .aio-bodies-structure__nav {
    display: grid !important;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr) !important;
    gap: clamp(24px, 4vw, 58px) !important;
    align-items: start !important;
    padding: 0 0 clamp(30px, 4vw, 48px) !important;
    border-bottom: 1px solid rgba(45,45,45,.11) !important;
}

body.page-about-bodies .aio-bodies-structure__nav-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.page-about-bodies .aio-bodies-structure__nav-links a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(6,31,62,.18) !important;
    background: rgba(248,245,239,.42) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

body.page-about-bodies .aio-bodies-structure__nav-links a:hover {
    border-color: #A9432B !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-bodies .aio-bodies-structure__list {
    display: grid !important;
    gap: clamp(28px, 4vw, 52px) !important;
    padding-top: clamp(30px, 4vw, 52px) !important;
}

body.page-about-bodies .aio-bodies-organ {
    padding: clamp(24px, 3.6vw, 42px) 0 clamp(28px, 4vw, 50px) !important;
    border-bottom: 1px solid rgba(45,45,45,.11) !important;
}

body.page-about-bodies .aio-bodies-organ_board {
    padding: clamp(30px, 4vw, 52px) clamp(22px, 3vw, 34px) !important;
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.94) 0%,
            rgba(246,239,228,.90) 56%,
            rgba(242,227,207,.78) 100%
        ) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
}

body.page-about-bodies .aio-bodies-organ__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 24px !important;
    align-items: start !important;
    margin-bottom: clamp(22px, 3vw, 34px) !important;
}

body.page-about-bodies .aio-bodies-organ__title h2 {
    max-width: 760px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 4vw, 58px) !important;
    line-height: .98 !important;
    font-weight: 600 !important;
    letter-spacing: -.012em !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

body.page-about-bodies .aio-bodies-organ__lead {
    max-width: 780px !important;
    margin: 14px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.08vw, 17px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(17,20,24,.74) !important;
    -webkit-text-fill-color: rgba(17,20,24,.74) !important;
}

body.page-about-bodies .aio-bodies-organ__number {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(44px, 5vw, 76px) !important;
    line-height: .9 !important;
    font-weight: 400 !important;
    color: rgba(169,67,43,.20) !important;
    -webkit-text-fill-color: rgba(169,67,43,.20) !important;
}

body.page-about-bodies .aio-bodies-organ__info {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2vw, 22px) !important;
    margin-bottom: clamp(22px, 3vw, 34px) !important;
}

body.page-about-bodies .aio-bodies-organ__info section {
    padding: 18px 18px 16px !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    background: rgba(248,245,239,.42) !important;
}

body.page-about-bodies .aio-bodies-organ__info h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-bodies .aio-bodies-organ__info div,
body.page-about-bodies .aio-bodies-organ__info p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

body.page-about-bodies .aio-bodies-people__head {
    margin: 0 0 16px !important;
}

body.page-about-bodies .aio-bodies-people__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2vw, 22px) !important;
}

body.page-about-bodies .aio-bodies-person-card {
    display: block !important;
    min-width: 0 !important;
    text-decoration: none !important;
    color: #111418 !important;
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.94) 0%,
            rgba(246,239,228,.90) 56%,
            rgba(242,227,207,.78) 100%
        ) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
    overflow: hidden !important;
}

body.page-about-bodies .aio-bodies-person-card__photo {
    position: relative !important;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden !important;
    background: #061F3E !important;
}

body.page-about-bodies .aio-bodies-person-card__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) contrast(.94) brightness(.88) !important;
    display: block !important;
}

body.page-about-bodies .aio-bodies-person-card__photo span {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(54px, 7vw, 96px) !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-about-bodies .aio-bodies-person-card__body {
    padding: 18px 18px 16px !important;
}

body.page-about-bodies .aio-bodies-person-card__body h3 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(24px, 2vw, 32px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

body.page-about-bodies .aio-bodies-person-card__body p,
body.page-about-bodies .aio-bodies-person-card__body span {
    display: block !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: rgba(17,20,24,.68) !important;
    -webkit-text-fill-color: rgba(17,20,24,.68) !important;
}

body.page-about-bodies .aio-bodies-person-card__body span {
    margin-top: 8px !important;
}

/* Modal */
body.page-about-bodies .aio-bodies-person-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000 !important;
    display: none !important;
}

body.page-about-bodies .aio-bodies-person-modal:target {
    display: block !important;
}

body.page-about-bodies .aio-bodies-person-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(17,20,24,.72) !important;
}

body.page-about-bodies .aio-bodies-person-modal__dialog {
    position: relative !important;
    z-index: 2 !important;
    width: min(980px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 48px) !important;
    margin: 24px auto !important;
    display: grid !important;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) !important;
    background: #F8F5EF !important;
    overflow: auto !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.24) !important;
}

body.page-about-bodies .aio-bodies-person-modal__close {
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    z-index: 3 !important;
    text-decoration: none !important;
    font-size: 30px !important;
    line-height: 1 !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-bodies .aio-bodies-person-modal__photo {
    min-height: 420px !important;
    background: #061F3E !important;
}

body.page-about-bodies .aio-bodies-person-modal__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) contrast(.94) brightness(.88) !important;
}

body.page-about-bodies .aio-bodies-person-modal__photo span {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 96px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-about-bodies .aio-bodies-person-modal__body {
    padding: clamp(28px, 4vw, 52px) !important;
}

body.page-about-bodies .aio-bodies-person-modal__body h2 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 4vw, 62px) !important;
    line-height: .98 !important;
    font-weight: 600 !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
}

body.page-about-bodies .aio-bodies-person-modal__position,
body.page-about-bodies .aio-bodies-person-modal__status,
body.page-about-bodies .aio-bodies-person-modal__lead,
body.page-about-bodies .aio-bodies-person-modal__bio,
body.page-about-bodies .aio-bodies-person-modal__bio p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

body.page-about-bodies .aio-bodies-empty {
    padding: 64px 0 !important;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 52%,
            #F2E3CF 100%
        ) !important;
}

body.page-about-bodies .aio-bodies-empty h2 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 58px) !important;
    line-height: .98 !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
}

body.page-about-bodies .aio-bodies-empty p:not(.aio-bodies-kicker) {
    max-width: 720px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

@media (max-width: 1080px) {
    body.page-about-bodies .aio-bodies-people__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.page-about-bodies .aio-bodies-organ__info {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 820px) {
    body.page-about-bodies .aio-bodies-structure__nav,
    body.page-about-bodies .aio-bodies-organ__head,
    body.page-about-bodies .aio-bodies-person-modal__dialog {
        grid-template-columns: 1fr !important;
    }

    body.page-about-bodies .aio-bodies-organ__number {
        display: none !important;
    }

    body.page-about-bodies .aio-bodies-people__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.page-about-bodies .aio-bodies-person-modal__photo {
        min-height: 320px !important;
    }
}

@media (max-width: 560px) {
    body.page-about-bodies .aio-bodies-people__grid {
        grid-template-columns: 1fr !important;
    }

    body.page-about-bodies .aio-bodies-organ_board {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body.page-about-bodies .aio-bodies-organ__title h2,
    body.page-about-bodies .aio-bodies-empty h2 {
        font-size: clamp(31px, 9vw, 42px) !important;
    }
}


/* ==========================================================================
   AIO STRUCTURE PAGE — TYPOGRAPHY MATCH ABOUT
   Уменьшаем шрифты страницы «Структура общества» до масштаба /about.
   ========================================================================== */

/* Заголовки органов: как секционные h2 на /about */
body.page-about-bodies .aio-bodies-organ__title h2 {
    max-width: 720px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: -.012em !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
}

/* Большие номера справа — тише и меньше */
body.page-about-bodies .aio-bodies-organ__number {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: .9 !important;
    font-weight: 400 !important;
    color: rgba(169,67,43,.16) !important;
    -webkit-text-fill-color: rgba(169,67,43,.16) !important;
}

/* Имена в карточках персоналий — меньше, ближе к документным/карточным заголовкам /about */
body.page-about-bodies .aio-bodies-person-card__body h3 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(21px, 1.75vw, 28px) !important;
    line-height: 1.02 !important;
    font-weight: 600 !important;
    letter-spacing: -.005em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* Должности и короткие подписи в карточках */
body.page-about-bodies .aio-bodies-person-card__body p,
body.page-about-bodies .aio-bodies-person-card__body span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: rgba(17,20,24,.68) !important;
    -webkit-text-fill-color: rgba(17,20,24,.68) !important;
}

/* Заголовок в модальном окне — не гигантский */
body.page-about-bodies .aio-bodies-person-modal__body h2 {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: -.012em !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
}

/* Текст в модальном окне — как читаемый Montserrat на /about */
body.page-about-bodies .aio-bodies-person-modal__position,
body.page-about-bodies .aio-bodies-person-modal__status,
body.page-about-bodies .aio-bodies-person-modal__lead,
body.page-about-bodies .aio-bodies-person-modal__bio,
body.page-about-bodies .aio-bodies-person-modal__bio p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

/* Тексты описаний органов */
body.page-about-bodies .aio-bodies-organ__lead,
body.page-about-bodies .aio-bodies-organ__info div,
body.page-about-bodies .aio-bodies-organ__info p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14px, .98vw, 15.5px) !important;
    line-height: 1.62 !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

/* Мобильный масштаб как на /about */
@media (max-width: 720px) {
    body.page-about-bodies .aio-bodies-organ__title h2,
    body.page-about-bodies .aio-bodies-person-modal__body h2 {
        font-size: clamp(30px, 8.4vw, 39px) !important;
        line-height: 1.02 !important;
    }

    body.page-about-bodies .aio-bodies-person-card__body h3 {
        font-size: clamp(23px, 6.8vw, 30px) !important;
    }

    body.page-about-bodies .aio-bodies-organ__lead,
    body.page-about-bodies .aio-bodies-organ__info div,
    body.page-about-bodies .aio-bodies-organ__info p {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }
}


/* ==========================================================================
   AIO STRUCTURE PAGE — REVIEW FIX
   Приведение /about/bodies к масштабу и логике /about.
   ========================================================================== */

/* Hero как на /about: меньше, тише, без лишних полос */
body.page-about-bodies .aio-bodies-hero {
    padding: clamp(44px, 5vw, 68px) 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 52%,
            #F2E3CF 100%
        ) !important;
}

body.page-about-bodies .aio-bodies-hero .aio-about-editorial__title p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-bodies .aio-bodies-hero .aio-about-editorial__title h2 {
    max-width: 620px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: -.012em !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
}

body.page-about-bodies .aio-bodies-hero .aio-about-editorial__text p {
    max-width: 760px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.08vw, 17px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(17,20,24,.74) !important;
    -webkit-text-fill-color: rgba(17,20,24,.74) !important;
}

/* Убираем блок "Разделы структуры" физически из шаблона, здесь чистим возможные хвосты */
body.page-about-bodies .aio-bodies-structure__nav,
body.page-about-bodies .aio-bodies-people__head {
    display: none !important;
}

/* Общая секция без отдельной коробки вокруг Правления */
body.page-about-bodies .aio-bodies-structure {
    padding: clamp(34px, 4vw, 56px) 0 clamp(56px, 6vw, 84px) !important;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 52%,
            #F2E3CF 100%
        ) !important;
}

body.page-about-bodies .aio-bodies-structure__list {
    display: grid !important;
    gap: clamp(32px, 4vw, 54px) !important;
    padding-top: 0 !important;
}

body.page-about-bodies .aio-bodies-organ,
body.page-about-bodies .aio-bodies-organ_board {
    padding: 0 0 clamp(34px, 4vw, 54px) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(45,45,45,.11) !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-about-bodies .aio-bodies-organ__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 24px !important;
    align-items: start !important;
    margin-bottom: clamp(18px, 2.5vw, 28px) !important;
}

body.page-about-bodies .aio-bodies-kicker {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-bodies .aio-bodies-organ__title h2 {
    max-width: 720px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: -.012em !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
}

body.page-about-bodies .aio-bodies-organ__number {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: .9 !important;
    font-weight: 400 !important;
    color: rgba(169,67,43,.14) !important;
    -webkit-text-fill-color: rgba(169,67,43,.14) !important;
}

body.page-about-bodies .aio-bodies-organ__lead,
body.page-about-bodies .aio-bodies-organ__info div,
body.page-about-bodies .aio-bodies-organ__info p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14px, .98vw, 15.5px) !important;
    line-height: 1.62 !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

/* Карточки персоналий: музейная картотека */
body.page-about-bodies .aio-bodies-people__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(16px, 2vw, 24px) !important;
}

body.page-about-bodies .aio-bodies-person-card {
    position: relative !important;
    display: block !important;
    min-width: 0 !important;
    text-decoration: none !important;
    color: #111418 !important;
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.96) 0%,
            rgba(246,239,228,.92) 56%,
            rgba(242,227,207,.80) 100%
        ) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
    overflow: hidden !important;
}

body.page-about-bodies .aio-bodies-person-card__photo {
    position: relative !important;
    aspect-ratio: 4 / 4.65 !important;
    overflow: hidden !important;
    background: #061F3E !important;
}

body.page-about-bodies .aio-bodies-person-card__photo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(
            180deg,
            rgba(6,31,62,.08) 0%,
            rgba(169,67,43,.10) 100%
        ) !important;
    pointer-events: none !important;
}

body.page-about-bodies .aio-bodies-person-card__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.74) contrast(.94) brightness(.90) !important;
    display: block !important;
}

body.page-about-bodies .aio-bodies-person-card:hover .aio-bodies-person-card__photo img {
    filter: saturate(.92) contrast(.96) brightness(.94) !important;
}

body.page-about-bodies .aio-bodies-person-card__photo span {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(54px, 7vw, 92px) !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-about-bodies .aio-bodies-person-card__body {
    padding: 16px 16px 15px !important;
}

body.page-about-bodies .aio-bodies-person-card__body h3 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(21px, 1.75vw, 28px) !important;
    line-height: 1.02 !important;
    font-weight: 600 !important;
    letter-spacing: -.005em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

body.page-about-bodies .aio-bodies-person-card__body p,
body.page-about-bodies .aio-bodies-person-card__body span {
    display: block !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: rgba(17,20,24,.68) !important;
    -webkit-text-fill-color: rgba(17,20,24,.68) !important;
}

body.page-about-bodies .aio-bodies-person-card__body span {
    margin-top: 8px !important;
}

/* Модальное окно: по центру, не под шапкой, фото видно */
body.page-about-bodies .aio-bodies-person-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    display: none !important;
    padding: 72px 24px 32px !important;
    overflow: auto !important;
}

body.page-about-bodies .aio-bodies-person-modal:target {
    display: grid !important;
    place-items: center !important;
}

body.page-about-bodies .aio-bodies-person-modal__backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(17,20,24,.72) !important;
}

body.page-about-bodies .aio-bodies-person-modal__dialog {
    position: relative !important;
    z-index: 2 !important;
    width: min(980px, calc(100vw - 48px)) !important;
    max-height: calc(100vh - 112px) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) !important;
    background: #F8F5EF !important;
    overflow: auto !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.24) !important;
}

body.page-about-bodies .aio-bodies-person-modal__close {
    position: sticky !important;
    top: 12px !important;
    margin-left: auto !important;
    right: 16px !important;
    z-index: 5 !important;
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 30px !important;
    line-height: 30px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-bodies .aio-bodies-person-modal__photo {
    min-height: 420px !important;
    background: #061F3E !important;
}

body.page-about-bodies .aio-bodies-person-modal__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.78) contrast(.94) brightness(.91) !important;
    display: block !important;
}

body.page-about-bodies .aio-bodies-person-modal__body {
    padding: clamp(26px, 3.6vw, 46px) !important;
}

body.page-about-bodies .aio-bodies-person-modal__body h2 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: -.012em !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
}

body.page-about-bodies .aio-bodies-person-modal__position,
body.page-about-bodies .aio-bodies-person-modal__status,
body.page-about-bodies .aio-bodies-person-modal__lead,
body.page-about-bodies .aio-bodies-person-modal__bio,
body.page-about-bodies .aio-bodies-person-modal__bio p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

@media (max-width: 1080px) {
    body.page-about-bodies .aio-bodies-people__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    body.page-about-bodies .aio-bodies-organ__head,
    body.page-about-bodies .aio-bodies-person-modal__dialog {
        grid-template-columns: 1fr !important;
    }

    body.page-about-bodies .aio-bodies-organ__number {
        display: none !important;
    }

    body.page-about-bodies .aio-bodies-people__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.page-about-bodies .aio-bodies-person-modal {
        padding: 64px 16px 24px !important;
    }

    body.page-about-bodies .aio-bodies-person-modal__dialog {
        width: min(680px, calc(100vw - 32px)) !important;
        max-height: calc(100vh - 96px) !important;
    }

    body.page-about-bodies .aio-bodies-person-modal__photo {
        min-height: 300px !important;
        max-height: 420px !important;
    }
}

@media (max-width: 560px) {
    body.page-about-bodies .aio-bodies-people__grid {
        grid-template-columns: 1fr !important;
    }

    body.page-about-bodies .aio-bodies-hero .aio-about-editorial__title h2,
    body.page-about-bodies .aio-bodies-organ__title h2,
    body.page-about-bodies .aio-bodies-person-modal__body h2 {
        font-size: clamp(30px, 8.4vw, 39px) !important;
        line-height: 1.02 !important;
    }
}


/* ==========================================================================
   AIO STRUCTURE PAGE — CARDS AND MODAL FIX
   Карточки персоналий как музейная картотека.
   Имена — Cormorant как названия карточек на главной.
   Мелкие подписи — Montserrat.
   Модальное окно: фото слева, текст справа, кнопка не занимает колонку.
   ========================================================================== */

/* Карточки персоналий */
body.page-about-bodies .aio-bodies-person-card {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.96) 0%,
            rgba(246,239,228,.92) 56%,
            rgba(242,227,207,.82) 100%
        ) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
}

/* Фото — мягкая музейная вуаль, не жёсткая чернота */
body.page-about-bodies .aio-bodies-person-card__photo {
    aspect-ratio: 4 / 4.7 !important;
    background: #061F3E !important;
}

body.page-about-bodies .aio-bodies-person-card__photo img {
    filter: saturate(.72) contrast(.94) brightness(.90) !important;
}

body.page-about-bodies .aio-bodies-person-card__photo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(
            180deg,
            rgba(6,31,62,.06) 0%,
            rgba(169,67,43,.10) 100%
        ) !important;
    pointer-events: none !important;
}

/* Имя в карточке — как названия карточек на главной */
body.page-about-bodies .aio-bodies-person-card__body h3 {
    margin: 0 0 9px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(24px, 2.1vw, 34px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Должность и короткая подпись — Montserrat */
body.page-about-bodies .aio-bodies-person-card__body p,
body.page-about-bodies .aio-bodies-person-card__body span {
    display: block !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(17,20,24,.68) !important;
    -webkit-text-fill-color: rgba(17,20,24,.68) !important;
}

body.page-about-bodies .aio-bodies-person-card__body span {
    margin-top: 8px !important;
}

/* Модалка: сама оболочка */
body.page-about-bodies .aio-bodies-person-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    display: none !important;
    padding: 72px 24px 32px !important;
    overflow: auto !important;
}

body.page-about-bodies .aio-bodies-person-modal:target {
    display: grid !important;
    place-items: center !important;
}

body.page-about-bodies .aio-bodies-person-modal__backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(17,20,24,.72) !important;
}

/* Главное исправление: grid только из фото и текста */
body.page-about-bodies .aio-bodies-person-modal__dialog {
    position: relative !important;
    z-index: 2 !important;
    width: min(980px, calc(100vw - 48px)) !important;
    max-height: calc(100vh - 112px) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr) !important;
    background: #F8F5EF !important;
    overflow: auto !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.24) !important;
}

/* Кнопка закрытия больше не является grid-колонкой */
body.page-about-bodies .aio-bodies-person-modal__close {
    position: absolute !important;
    top: 16px !important;
    right: 18px !important;
    z-index: 5 !important;
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 30px !important;
    line-height: 28px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Фото строго слева */
body.page-about-bodies .aio-bodies-person-modal__photo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 520px !important;
    background: #061F3E !important;
}

body.page-about-bodies .aio-bodies-person-modal__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.78) contrast(.94) brightness(.91) !important;
    display: block !important;
}

/* Заглушка с буквой */
body.page-about-bodies .aio-bodies-person-modal__photo span {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 96px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Текст строго справа */
body.page-about-bodies .aio-bodies-person-modal__body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: clamp(34px, 4vw, 54px) clamp(34px, 4vw, 58px) !important;
    min-width: 0 !important;
}

/* Имя в модалке — тот же Cormorant, но крупнее */
body.page-about-bodies .aio-bodies-person-modal__body h2 {
    margin: 0 0 16px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.6vw, 56px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Должность, статус и биография */
body.page-about-bodies .aio-bodies-person-modal__position,
body.page-about-bodies .aio-bodies-person-modal__status,
body.page-about-bodies .aio-bodies-person-modal__lead,
body.page-about-bodies .aio-bodies-person-modal__bio,
body.page-about-bodies .aio-bodies-person-modal__bio p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color: rgba(17,20,24,.72) !important;
}

body.page-about-bodies .aio-bodies-person-modal__position {
    margin: 0 0 12px !important;
}

body.page-about-bodies .aio-bodies-person-modal__status {
    margin: 0 0 18px !important;
    color: rgba(17,20,24,.58) !important;
    -webkit-text-fill-color: rgba(17,20,24,.58) !important;
}

body.page-about-bodies .aio-bodies-person-modal__lead {
    margin: 18px 0 0 !important;
}

body.page-about-bodies .aio-bodies-person-modal__bio {
    margin-top: 22px !important;
}

/* Планшет */
@media (max-width: 820px) {
    body.page-about-bodies .aio-bodies-person-modal {
        padding: 64px 16px 24px !important;
    }

    body.page-about-bodies .aio-bodies-person-modal__dialog {
        width: min(680px, calc(100vw - 32px)) !important;
        max-height: calc(100vh - 96px) !important;
        grid-template-columns: 1fr !important;
    }

    body.page-about-bodies .aio-bodies-person-modal__photo {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-height: 320px !important;
        max-height: 420px !important;
    }

    body.page-about-bodies .aio-bodies-person-modal__body {
        grid-column: 1 !important;
        grid-row: 2 !important;
        padding: 28px 24px 32px !important;
    }

    body.page-about-bodies .aio-bodies-person-modal__body h2 {
        font-size: clamp(30px, 8vw, 42px) !important;
    }
}

/* Мобильный */
@media (max-width: 560px) {
    body.page-about-bodies .aio-bodies-person-card__body h3 {
        font-size: clamp(24px, 7.2vw, 32px) !important;
    }

    body.page-about-bodies .aio-bodies-person-modal__photo {
        min-height: 280px !important;
    }
}


/* ==========================================================================
   AIO STRUCTURE PAGE — PERSON CARD FONT SMALLER
   Уменьшаем шрифт внутри карточек персоналий.
   Модальное окно не трогаем.
   ========================================================================== */

body.page-about-bodies .aio-bodies-person-card__body {
    padding: 14px 15px 14px !important;
}

/* Имя на карточке — Cormorant, но намного меньше */
body.page-about-bodies .aio-bodies-person-card__body h3 {
    margin: 0 0 7px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(15px, 1.15vw, 18px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Должность и короткая подпись — ещё тише */
body.page-about-bodies .aio-bodies-person-card__body p,
body.page-about-bodies .aio-bodies-person-card__body span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(17,20,24,.66) !important;
    -webkit-text-fill-color: rgba(17,20,24,.66) !important;
}

body.page-about-bodies .aio-bodies-person-card__body span {
    margin-top: 6px !important;
}

@media (max-width: 560px) {
    body.page-about-bodies .aio-bodies-person-card__body h3 {
        font-size: clamp(18px, 5.2vw, 23px) !important;
        line-height: 1.05 !important;
    }

    body.page-about-bodies .aio-bodies-person-card__body p,
    body.page-about-bodies .aio-bodies-person-card__body span {
        font-size: 11.5px !important;
    }
}


/* ==========================================================================
   AIO STRUCTURE PAGE — MODAL TITLE SMALLER
   Уменьшаем имя в модальном окне персоналии.
   Подписи остаются Montserrat.
   ========================================================================== */

body.page-about-bodies .aio-bodies-person-modal__body h2 {
    margin: 0 0 14px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(25px, 2.45vw, 38px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #111418 !important;
    -webkit-text-fill-color: #111418 !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

body.page-about-bodies .aio-bodies-person-modal__position,
body.page-about-bodies .aio-bodies-person-modal__status,
body.page-about-bodies .aio-bodies-person-modal__lead,
body.page-about-bodies .aio-bodies-person-modal__bio,
body.page-about-bodies .aio-bodies-person-modal__bio p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

@media (max-width: 820px) {
    body.page-about-bodies .aio-bodies-person-modal__body h2 {
        font-size: clamp(26px, 7vw, 36px) !important;
        line-height: 1.02 !important;
    }
}


/* ==========================================================================
   AIO EVENTS PAGE — MUSEUM REBUILD
   Страница «События». Первый эталон каталожной страницы.
   Основа: главная + /about + /about/bodies.
   ========================================================================== */

body.page-events .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(48px, 5vw, 76px) 0 clamp(56px, 6vw, 88px) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.96) 0%, rgba(6,31,62,.98) 100%) !important;
    color: #F8F5EF !important;
}

body.page-events .aio-events-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}

body.page-events .aio-events-museum-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr) !important;
    gap: clamp(28px, 5vw, 82px) !important;
    align-items: end !important;
}

body.page-events .aio-events-kicker {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-events .aio-events-kicker_light {
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

body.page-events .aio-events-museum-hero h1 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(46px, 6vw, 82px) !important;
    line-height: .92 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

body.page-events .aio-events-museum-hero__inner > p {
    max-width: 760px !important;
    margin: 0 0 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.08vw, 17px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color: rgba(248,245,239,.76) !important;
}

body.page-events .aio-events-museum-page {
    padding: clamp(44px, 5vw, 72px) 0 clamp(58px, 6vw, 92px) !important;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 52%,
            #F2E3CF 100%
        ) !important;
}

body.page-events .aio-events-museum-layout {
    display: grid !important;
    grid-template-columns: minmax(250px, 310px) minmax(0, 1fr) !important;
    gap: clamp(28px, 4vw, 52px) !important;
    align-items: start !important;
}

body.page-events .aio-events-museum-sidebar {
    display: grid !important;
    gap: 18px !important;
    position: sticky !important;
    top: 110px !important;
}

/* Sidebar cards */
body.page-events .aio-events-month-card,
body.page-events .aio-events-filter-card {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.96) 0%,
            rgba(246,239,228,.92) 56%,
            rgba(242,227,207,.82) 100%
        ) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
    padding: 22px !important;
}

body.page-events .aio-events-month-card__head h2,
body.page-events .aio-events-filter-card__head h2 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(24px, 2vw, 32px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .02em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* Month calendar */
body.page-events .aio-events-month-card__weekdays,
body.page-events .aio-events-month-card__grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 6px !important;
}

body.page-events .aio-events-month-card__weekdays {
    margin: 18px 0 8px !important;
}

body.page-events .aio-events-month-card__weekdays span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    color: rgba(17,20,24,.42) !important;
    -webkit-text-fill-color: rgba(17,20,24,.42) !important;
}

body.page-events .aio-events-month-card__day {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    min-height: 31px !important;
    border: 1px solid rgba(45,45,45,.075) !important;
    background: rgba(248,245,239,.44) !important;
}

body.page-events .aio-events-month-card__day_empty {
    border-color: transparent !important;
    background: transparent !important;
}

body.page-events .aio-events-month-card__number {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: rgba(17,20,24,.62) !important;
    -webkit-text-fill-color: rgba(17,20,24,.62) !important;
}

body.page-events .aio-events-month-card__day.is-today {
    border-color: rgba(169,67,43,.42) !important;
}

body.page-events .aio-events-month-card__day.has-events {
    background: rgba(6,31,62,.06) !important;
    border-color: rgba(6,31,62,.18) !important;
}

body.page-events .aio-events-month-card__dots {
    position: absolute !important;
    left: 50% !important;
    bottom: 4px !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 3px !important;
}

body.page-events .aio-events-month-card__dots i {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #A9432B !important;
}

body.page-events .aio-events-month-card__dots i.is-rally {
    background: #061F3E !important;
}

body.page-events .aio-events-month-card__dots i.is-exhibition {
    background: #A9432B !important;
}

body.page-events .aio-events-month-card__dots i.is-presentation,
body.page-events .aio-events-month-card__dots i.is-lecture {
    background: #C85726 !important;
}

body.page-events .aio-events-month-card__dots i.is-aio {
    background: #061F3E !important;
}

body.page-events .aio-events-month-card__tooltip {
    position: absolute !important;
    left: 50% !important;
    bottom: calc(100% + 8px) !important;
    z-index: 8 !important;
    width: 220px !important;
    padding: 12px 13px !important;
    transform: translateX(-50%) translateY(4px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: #061F3E !important;
    box-shadow: 0 18px 38px rgba(17,20,24,.18) !important;
}

body.page-events .aio-events-month-card__day:hover .aio-events-month-card__tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

body.page-events .aio-events-month-card__tooltip b,
body.page-events .aio-events-month-card__tooltip em {
    display: block !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-style: normal !important;
}

body.page-events .aio-events-month-card__tooltip b {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-events .aio-events-month-card__tooltip em {
    margin-top: 4px !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    color: rgba(248,245,239,.62) !important;
    -webkit-text-fill-color: rgba(248,245,239,.62) !important;
}

/* Filter */
body.page-events .aio-events-filter-group {
    padding-top: 18px !important;
    margin-top: 18px !important;
    border-top: 1px solid rgba(45,45,45,.095) !important;
}

body.page-events .aio-events-filter-group p {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: rgba(17,20,24,.56) !important;
    -webkit-text-fill-color: rgba(17,20,24,.56) !important;
}

body.page-events .aio-events-filter-group button {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    margin: 0 5px 7px 0 !important;
    padding: 7px 10px !important;
    border: 1px solid rgba(6,31,62,.13) !important;
    background: rgba(248,245,239,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: rgba(17,20,24,.66) !important;
    -webkit-text-fill-color: rgba(17,20,24,.66) !important;
    cursor: pointer !important;
}

body.page-events .aio-events-filter-group button:hover,
body.page-events .aio-events-filter-group button.is-active {
    border-color: #061F3E !important;
    background: #061F3E !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-events .aio-events-city-select {
    width: 100% !important;
    min-height: 36px !important;
    border: 1px solid rgba(6,31,62,.13) !important;
    background: rgba(248,245,239,.66) !important;
    padding: 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    color: #061F3E !important;
}

/* Content head */
body.page-events .aio-events-museum-head {
    margin-bottom: clamp(22px, 3vw, 34px) !important;
}

body.page-events .aio-events-museum-head h2 {
    max-width: 760px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 4vw, 58px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

body.page-events .aio-events-museum-head > p:not(.aio-events-kicker) {
    max-width: 660px !important;
    margin: 12px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.64 !important;
    color: rgba(17,20,24,.68) !important;
    -webkit-text-fill-color: rgba(17,20,24,.68) !important;
}

/* Cards */
body.page-events .aio-events-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 26px) !important;
}

body.page-events .aio-event-museum-card {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    min-height: 260px !important;
    text-decoration: none !important;
    color: #111418 !important;
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.96) 0%,
            rgba(246,239,228,.92) 56%,
            rgba(242,227,207,.82) 100%
        ) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 24px rgba(17,20,24,.045) !important;
    overflow: hidden !important;
}

body.page-events .aio-event-museum-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 34px rgba(17,20,24,.07) !important;
}

body.page-events .aio-event-museum-card__date {
    display: grid !important;
    align-content: start !important;
    justify-items: center !important;
    gap: 4px !important;
    padding: 22px 10px !important;
    background: #061F3E !important;
    color: #F8F5EF !important;
}

body.page-events .aio-event-museum-card__date span,
body.page-events .aio-event-museum-card__date em {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-style: normal !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

body.page-events .aio-event-museum-card__date strong {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 52px !important;
    line-height: .88 !important;
    font-weight: 400 !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-events .aio-event-museum-card__body {
    display: flex !important;
    flex-direction: column !important;
    padding: 22px 22px 20px !important;
}

body.page-events .aio-event-museum-card__type {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-events .aio-event-museum-card h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(23px, 2vw, 31px) !important;
    line-height: 1.02 !important;
    font-weight: 600 !important;
    letter-spacing: -.005em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

body.page-events .aio-event-museum-card__text {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: rgba(17,20,24,.70) !important;
    -webkit-text-fill-color: rgba(17,20,24,.70) !important;
}

body.page-events .aio-event-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: auto !important;
    padding-top: 6px !important;
}

body.page-events .aio-event-museum-card__meta span {
    display: inline-flex !important;
    max-width: 100% !important;
    padding: 5px 7px !important;
    background: rgba(6,31,62,.06) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    color: rgba(17,20,24,.58) !important;
    -webkit-text-fill-color: rgba(17,20,24,.58) !important;
}

body.page-events .aio-event-museum-card__link {
    display: inline-flex !important;
    margin-top: 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-events .aio-event-museum-card__link::after {
    content: " →" !important;
}

body.page-events .aio-events-empty-filter {
    margin-top: 22px !important;
    padding: 28px !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    background: rgba(248,245,239,.52) !important;
}

body.page-events .aio-events-empty-filter h3 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    color: #061F3E !important;
}

body.page-events .aio-events-empty-filter p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
    color: rgba(17,20,24,.68) !important;
}

body.page-events .aio-events-legal-note {
    padding: 26px 0 !important;
    background: #F2E3CF !important;
    border-top: 1px solid rgba(45,45,45,.095) !important;
}

body.page-events .aio-events-legal-note p {
    max-width: 980px !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.58 !important;
    color: rgba(17,20,24,.58) !important;
}

/* Mobile */
@media (max-width: 1180px) {
    body.page-events .aio-events-museum-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 920px) {
    body.page-events .aio-events-museum-hero__inner,
    body.page-events .aio-events-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-events .aio-events-museum-sidebar {
        position: static !important;
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 680px) {
    body.page-events .aio-events-museum-sidebar {
        grid-template-columns: 1fr !important;
    }

    body.page-events .aio-event-museum-card {
        grid-template-columns: 1fr !important;
    }

    body.page-events .aio-event-museum-card__date {
        grid-template-columns: auto auto auto !important;
        justify-content: start !important;
        align-content: center !important;
        justify-items: start !important;
        padding: 14px 18px !important;
    }

    body.page-events .aio-event-museum-card__date strong {
        font-size: 34px !important;
    }

    body.page-events .aio-events-museum-hero h1 {
        font-size: clamp(42px, 16vw, 64px) !important;
    }

    body.page-events .aio-events-museum-head h2 {
        font-size: clamp(32px, 10vw, 44px) !important;
    }
}


/* ==========================================================================
   AIO EVENTS PAGE — COMPACT TUNE AFTER FIRST VIEW
   Уменьшаем hero и карточки, убираем лишний заголовок над списком,
   фильтры делаем спокойнее: hover красный, active тёмно-синий.
   ========================================================================== */

/* HERO — меньше и ближе к /about */
body.page-events .aio-events-museum-hero {
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
}

body.page-events .aio-events-museum-hero__inner {
    grid-template-columns: minmax(260px, .72fr) minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
}

body.page-events .aio-events-museum-hero h1 {
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    letter-spacing: -.012em !important;
}

body.page-events .aio-events-museum-hero__inner > p {
    max-width: 640px !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
}

/* Основной блок — карточки начинаются вровень с календарём */
body.page-events .aio-events-museum-page {
    padding: clamp(34px, 4vw, 56px) 0 clamp(58px, 6vw, 86px) !important;
}

body.page-events .aio-events-museum-layout {
    grid-template-columns: minmax(250px, 310px) minmax(0, 1fr) !important;
    gap: clamp(24px, 3.6vw, 44px) !important;
}

/* Если старый head где-то остался — не показываем */
body.page-events .aio-events-museum-head {
    display: none !important;
}

/* Календарь оставляем, но чуть уплотняем */
body.page-events .aio-events-month-card,
body.page-events .aio-events-filter-card {
    padding: 20px !important;
}

/* Фильтры — спокойные, hover красный */
body.page-events .aio-events-filter-group button {
    min-height: 27px !important;
    padding: 7px 10px !important;
    border: 1px solid rgba(6,31,62,.13) !important;
    background: rgba(248,245,239,.62) !important;
    color: rgba(17,20,24,.66) !important;
    -webkit-text-fill-color: rgba(17,20,24,.66) !important;
    transition:
        border-color .18s ease,
        background .18s ease,
        color .18s ease,
        -webkit-text-fill-color .18s ease !important;
}

body.page-events .aio-events-filter-group button:hover {
    border-color: #A9432B !important;
    background: rgba(169,67,43,.045) !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-events .aio-events-filter-group button.is-active {
    border-color: #061F3E !important;
    background: #061F3E !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-events .aio-events-filter-group button.is-active:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Карточки событий — ниже, ровнее, плотнее */
body.page-events .aio-events-museum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(16px, 1.8vw, 22px) !important;
    align-items: stretch !important;
}

body.page-events .aio-event-museum-card {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    min-height: 188px !important;
    height: 100% !important;
}

body.page-events .aio-event-museum-card__date {
    padding: 18px 8px !important;
}

body.page-events .aio-event-museum-card__date span,
body.page-events .aio-event-museum-card__date em {
    font-size: 8px !important;
    letter-spacing: .12em !important;
}

body.page-events .aio-event-museum-card__date strong {
    font-size: 40px !important;
    line-height: .88 !important;
}

body.page-events .aio-event-museum-card__body {
    padding: 18px 18px 17px !important;
}

body.page-events .aio-event-museum-card__type {
    margin: 0 0 9px !important;
    font-size: 8.5px !important;
    letter-spacing: .15em !important;
}

body.page-events .aio-event-museum-card h3 {
    margin: 0 0 8px !important;
    font-size: clamp(19px, 1.55vw, 25px) !important;
    line-height: 1.03 !important;
    font-weight: 500 !important;
    letter-spacing: .002em !important;
}

body.page-events .aio-event-museum-card__text {
    margin: 0 0 10px !important;
    font-size: 12px !important;
    line-height: 1.48 !important;
}

body.page-events .aio-event-museum-card__meta {
    gap: 5px !important;
    padding-top: 4px !important;
}

body.page-events .aio-event-museum-card__meta span {
    padding: 4px 6px !important;
    font-size: 7.8px !important;
    line-height: 1.2 !important;
}

body.page-events .aio-event-museum-card__link {
    margin-top: 12px !important;
    font-size: 8.5px !important;
    letter-spacing: .15em !important;
}

/* На широких экранах карточки держим одинаковыми по высоте */
body.page-events .aio-event-museum-card__body {
    min-height: 0 !important;
}

body.page-events .aio-event-museum-card__text {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-events .aio-event-museum-card__meta span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Mobile */
@media (max-width: 1180px) {
    body.page-events .aio-events-museum-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 920px) {
    body.page-events .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-events .aio-events-museum-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }

    body.page-events .aio-events-museum-sidebar {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 680px) {
    body.page-events .aio-events-museum-sidebar {
        grid-template-columns: 1fr !important;
    }

    body.page-events .aio-event-museum-card {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    body.page-events .aio-event-museum-card__date {
        grid-template-columns: auto auto auto !important;
        justify-content: start !important;
        gap: 8px !important;
        padding: 13px 16px !important;
    }

    body.page-events .aio-event-museum-card__date strong {
        font-size: 32px !important;
    }

    body.page-events .aio-event-museum-card h3 {
        font-size: clamp(22px, 7vw, 30px) !important;
    }
}


/* ==========================================================================
   AIO EVENTS PAGE — MONTH CALENDAR NAVIGATION
   Стрелки месяца в маленьком календаре событий.
   ========================================================================== */

body.page-events .aio-events-month-card__head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

body.page-events .aio-events-month-card__head > div:first-child {
    min-width: 0 !important;
}

body.page-events .aio-events-month-card__nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex: 0 0 auto !important;
    padding-top: 1px !important;
}

body.page-events .aio-events-month-card__nav a {
    display: inline-grid !important;
    place-items: center !important;
    width: 25px !important;
    height: 25px !important;
    border: 1px solid rgba(6,31,62,.16) !important;
    background: rgba(248,245,239,.58) !important;
    text-decoration: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
    transition:
        border-color .18s ease,
        background .18s ease,
        color .18s ease,
        -webkit-text-fill-color .18s ease !important;
}

body.page-events .aio-events-month-card__nav a:hover {
    border-color: #A9432B !important;
    background: rgba(169,67,43,.055) !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-events .aio-events-month-card__nav a:nth-child(2) {
    font-size: 13px !important;
    color: rgba(17,20,24,.48) !important;
    -webkit-text-fill-color: rgba(17,20,24,.48) !important;
}

body.page-events .aio-events-month-card__nav a:nth-child(2):hover {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* ============================================================
   AIO BLOGS — LITERAL EVENTS HERO CLONED FROM EVENTS
   Generated from body.page-events .aio-events-museum-hero rules.
   ============================================================ */

body.page-blogs .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(48px, 5vw, 76px) 0 clamp(56px, 6vw, 88px) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.96) 0%, rgba(6,31,62,.98) 100%) !important;
    color: #F8F5EF !important;
}

body.page-blogs .aio-events-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}

body.page-blogs .aio-events-museum-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr) !important;
    gap: clamp(28px, 5vw, 82px) !important;
    align-items: end !important;
}

body.page-blogs .aio-events-museum-hero h1 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(46px, 6vw, 82px) !important;
    line-height: .92 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

body.page-blogs .aio-events-museum-hero__inner > p {
    max-width: 760px !important;
    margin: 0 0 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.08vw, 17px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color: rgba(248,245,239,.76) !important;
}

body.page-blogs .aio-events-museum-hero__inner,
    body.page-blogs .aio-events-museum-layout {
        grid-template-columns: 1fr !important;
    }

body.page-blogs .aio-events-museum-hero h1 {
        font-size: clamp(42px, 16vw, 64px) !important;
    }

body.page-blogs .aio-events-museum-hero {
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
}

body.page-blogs .aio-events-museum-hero__inner {
    grid-template-columns: minmax(260px, .72fr) minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
}

body.page-blogs .aio-events-museum-hero h1 {
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    letter-spacing: -.012em !important;
}

body.page-blogs .aio-events-museum-hero__inner > p {
    max-width: 640px !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
}

body.page-blogs .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

body.page-blogs .aio-events-museum-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }


/* ============================================================
   AIO BLOGS PAGE — FULL MUSEUM REBUILD FROM EVENTS ETALON
   /blogs rewritten from zero. Uses events hero/filter rules.
   ============================================================ */

/* HERO — exact events pattern for blogs */
body.page-blogs .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(46px, 5vw, 70px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .20), transparent 24rem),
        linear-gradient(135deg, #07172C 0%, #061F3E 58%, #101420 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .16) !important;
}

body.page-blogs .aio-events-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .18 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-blogs .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
}

body.page-blogs .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .82fr) minmax(280px, .72fr) !important;
    gap: clamp(24px, 4vw, 58px) !important;
    align-items: end !important;
}

body.page-blogs .aio-events-kicker,
body.page-blogs .aio-events-museum-hero .aio-events-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-blogs .aio-events-kicker {
    color: #A9432B !important;
}

body.page-blogs .aio-events-kicker_light,
body.page-blogs .aio-events-museum-hero .aio-events-kicker_light {
    color: #E5B9A7 !important;
}

body.page-blogs .aio-events-museum-hero h1 {
    margin: 8px 0 0 !important;
    max-width: 720px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(54px, 6.2vw, 92px) !important;
    font-weight: 500 !important;
    line-height: .88 !important;
    letter-spacing: -.045em !important;
    color: #F8F5EF !important;
}

body.page-blogs .aio-events-museum-hero__inner > p {
    margin: 0 !important;
    max-width: 560px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13px, 1vw, 15px) !important;
    line-height: 1.72 !important;
    color: rgba(248, 245, 239, .78) !important;
}

/* PAGE */
body.page-blogs .aio-blogs-museum-page {
    padding: clamp(38px, 5vw, 64px) 0 clamp(64px, 7vw, 96px) !important;
    background:
        linear-gradient(
            90deg,
            #F8F5EF 0%,
            #F6EFE4 48%,
            #F2E3CF 100%
        ) !important;
}

body.page-blogs .aio-blogs-museum-page .aio-container {
    max-width: 1240px !important;
}

body.page-blogs .aio-blogs-museum-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 46px !important;
    align-items: start !important;
}

body.page-blogs .aio-blogs-museum-sidebar {
    display: grid !important;
    gap: 18px !important;
    position: sticky !important;
    top: 92px !important;
}

/* FILTER — events filter pattern */
body.page-blogs .aio-events-filter-card {
    border-radius: 0 !important;
    border: 1px solid rgba(45, 45, 45, .10) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.72), rgba(248,245,239,.94)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7, 23, 44, .055) !important;
    padding: 22px 24px !important;
}

body.page-blogs .aio-events-filter-card h2 {
    margin: 8px 0 18px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 34px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-blogs .aio-events-filter-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-top: 18px !important;
    margin-top: 18px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-blogs .aio-events-filter-group:first-of-type {
    border-top: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-blogs .aio-events-filter-group h3 {
    width: 100% !important;
    margin: 0 0 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.58) !important;
}

body.page-blogs .aio-events-filter-group a,
body.page-blogs .aio-events-filter-group button {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 29px !important;
    width: fit-content !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.15) !important;
    background: rgba(248,245,239,.58) !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .075em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: border-color .18s ease, color .18s ease, background .18s ease !important;
}

body.page-blogs .aio-events-filter-group a:hover,
body.page-blogs .aio-events-filter-group button:hover {
    border-color: rgba(169,67,43,.72) !important;
    background: rgba(169,67,43,.055) !important;
    color: #A9432B !important;
}

body.page-blogs .aio-events-filter-group a.is-active,
body.page-blogs .aio-events-filter-group button.is-active {
    border-color: #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-blogs .aio-events-filter-group a.is-active:hover,
body.page-blogs .aio-events-filter-group button.is-active:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
}

body.page-blogs .aio-events-filter-group span {
    display: block !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
    color: rgba(45,45,45,.58) !important;
}

/* BLOG CARDS */
body.page-blogs .aio-blogs-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px !important;
    align-items: start !important;
}

body.page-blogs .aio-blog-museum-card {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98), rgba(246,239,228,.93) 58%, rgba(242,227,207,.82)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.page-blogs .aio-blog-museum-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(169,67,43,.28) !important;
    box-shadow: 0 24px 58px rgba(7,23,44,.085) !important;
}

body.page-blogs .aio-blog-museum-card__image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 220px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.26), transparent 15rem),
        linear-gradient(135deg, #07172C, #061F3E 58%, #101420) !important;
    color: #F2E3CF !important;
    text-decoration: none !important;
}

body.page-blogs .aio-blog-museum-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.08), rgba(169,67,43,.14)),
        rgba(248,245,239,.04) !important;
    mix-blend-mode: multiply !important;
    opacity: .82 !important;
    transition: opacity .18s ease !important;
}

body.page-blogs .aio-blog-museum-card:hover .aio-blog-museum-card__image::after {
    opacity: .34 !important;
}

body.page-blogs .aio-blog-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: sepia(.22) saturate(.78) contrast(1.03) brightness(.92) !important;
    transform: scale(1.01) !important;
    transition: filter .18s ease, transform .22s ease !important;
}

body.page-blogs .aio-blog-museum-card:hover .aio-blog-museum-card__image img {
    filter: sepia(.10) saturate(1.02) contrast(1.02) brightness(.98) !important;
    transform: scale(1.035) !important;
}

body.page-blogs .aio-blog-museum-card__image span {
    position: relative !important;
    z-index: 2 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 44px !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
}

body.page-blogs .aio-blog-museum-card__body {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px 20px 20px !important;
}

body.page-blogs .aio-blog-museum-card__type {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-blogs .aio-blog-museum-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 3vw, 44px) !important;
    line-height: .94 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-blogs .aio-blog-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-weight: inherit !important;
}

body.page-blogs .aio-blog-museum-card h3 a:hover {
    color: #A9432B !important;
}

body.page-blogs .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: auto !important;
    padding-top: 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.52) !important;
}

body.page-blogs .aio-blog-museum-card__meta span + span::before {
    content: "•" !important;
    margin-right: 6px !important;
    color: rgba(169,67,43,.72) !important;
}

body.page-blogs .aio-blog-museum-card__link {
    margin-top: 14px !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* EMPTY / CTA */
body.page-blogs .aio-blogs-museum-empty,
body.page-blogs .aio-blogs-museum-author {
    margin-top: 30px !important;
    padding: 22px 24px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.72), rgba(248,245,239,.94)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7, 23, 44, .055) !important;
}

body.page-blogs .aio-blogs-museum-empty:first-child,
body.page-blogs .aio-blogs-museum-author:first-child {
    margin-top: 0 !important;
}

body.page-blogs .aio-blogs-museum-empty h2,
body.page-blogs .aio-blogs-museum-author h2 {
    margin: 8px 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 34px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-blogs .aio-blogs-museum-empty p:not(.aio-events-kicker),
body.page-blogs .aio-blogs-museum-author p:not(.aio-events-kicker) {
    margin: 0 !important;
    max-width: 620px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: rgba(45,45,45,.66) !important;
}

body.page-blogs .aio-blogs-museum-author a {
    margin-top: 14px !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* ADAPTIVE */
@media (max-width: 1180px) {
    body.page-blogs .aio-blogs-museum-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 980px) {
    body.page-blogs .aio-events-museum-hero__inner,
    body.page-blogs .aio-blogs-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-blogs .aio-blogs-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 680px) {
    body.page-blogs .aio-blog-museum-card__image {
        height: 190px !important;
    }

    body.page-blogs .aio-blog-museum-card h3 {
        font-size: 30px !important;
    }

    body.page-blogs .aio-blog-museum-card__body {
        padding: 16px !important;
    }
}


/* ============================================================
   AIO GLOBAL CATALOG HERO — APPROVED HERO COMPONENT
   Единый hero для /events, /blogs, /clubs, /people, /gallery,
   /publishing и всех будущих каталожных страниц.
   ============================================================ */

.aio-catalog-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(46px, 5vw, 70px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .20), transparent 24rem),
        linear-gradient(135deg, #07172C 0%, #061F3E 58%, #101420 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .16) !important;
}

.aio-catalog-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .18 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

.aio-catalog-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

.aio-catalog-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .82fr) minmax(280px, .72fr) !important;
    gap: clamp(24px, 4vw, 58px) !important;
    align-items: end !important;
}

.aio-catalog-hero__kicker {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

.aio-catalog-hero h1 {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    max-width: 720px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(54px, 6.2vw, 92px) !important;
    font-weight: 500 !important;
    line-height: .88 !important;
    letter-spacing: -.045em !important;
    color: #F8F5EF !important;
}

.aio-catalog-hero__lead {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 560px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13px, 1vw, 15px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(248, 245, 239, .78) !important;
}

/* Делаем старый событийный hero визуально тем же компонентом.
   События не ломаем, а приводим класс к общему эталону. */

.aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(46px, 5vw, 70px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .20), transparent 24rem),
        linear-gradient(135deg, #07172C 0%, #061F3E 58%, #101420 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .16) !important;
}

.aio-events-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .18 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

.aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

.aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .82fr) minmax(280px, .72fr) !important;
    gap: clamp(24px, 4vw, 58px) !important;
    align-items: end !important;
}

.aio-events-museum-hero .aio-events-kicker,
.aio-events-museum-hero .aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

.aio-events-museum-hero h1 {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    max-width: 720px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(54px, 6.2vw, 92px) !important;
    font-weight: 500 !important;
    line-height: .88 !important;
    letter-spacing: -.045em !important;
    color: #F8F5EF !important;
}

.aio-events-museum-hero__inner > p {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 560px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13px, 1vw, 15px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(248, 245, 239, .78) !important;
}

@media (max-width: 980px) {
    .aio-catalog-hero__inner,
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    .aio-catalog-hero h1,
    .aio-events-museum-hero h1 {
        font-size: clamp(48px, 14vw, 68px) !important;
    }
}


/* ============================================================
   BLOGS HERO FINAL — USE EVENTS HERO, NOT CATALOG HERO
   ============================================================ */

body.page-blogs .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(46px, 5vw, 70px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .20), transparent 24rem),
        linear-gradient(135deg, #07172C 0%, #061F3E 58%, #101420 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .16) !important;
}

body.page-blogs .aio-events-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .18 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-blogs .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-blogs .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .82fr) minmax(280px, .72fr) !important;
    gap: clamp(24px, 4vw, 58px) !important;
    align-items: end !important;
}

body.page-blogs .aio-events-museum-hero .aio-events-kicker,
body.page-blogs .aio-events-museum-hero .aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body.page-blogs .aio-events-museum-hero h1 {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    max-width: 720px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(54px, 6.2vw, 92px) !important;
    font-weight: 500 !important;
    line-height: .88 !important;
    letter-spacing: -.045em !important;
    color: #F8F5EF !important;
}

body.page-blogs .aio-events-museum-hero__inner > p {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 560px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13px, 1vw, 15px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.78) !important;
    opacity: 1 !important;
}

body.page-blogs .aio-catalog-hero,
body.page-blogs .aio-catalog-hero * {
    display: none !important;
}


/* ============================================================
   AIO GLOBAL HERO — COMPACT GRAPHITE VERSION
   Единый компактный hero для каталожных страниц.
   Graphite, not blue. Cormorant reduced ~1.5x.
   ============================================================ */

body .aio-catalog-hero,
body .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .16), transparent 22rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

body .aio-catalog-hero::after,
body .aio-events-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .13 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body .aio-catalog-hero .aio-container,
body .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body .aio-catalog-hero__inner,
body .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .82fr) minmax(280px, .72fr) !important;
    gap: clamp(22px, 3.5vw, 52px) !important;
    align-items: end !important;
}

body .aio-catalog-hero__kicker,
body .aio-catalog-hero .aio-catalog-hero__kicker,
body .aio-events-museum-hero .aio-events-kicker,
body .aio-events-museum-hero .aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body .aio-catalog-hero h1,
body .aio-events-museum-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    max-width: 620px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    font-weight: 500 !important;
    line-height: .9 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
}

body .aio-catalog-hero__lead,
body .aio-events-museum-hero__inner > p {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 540px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(11px, .88vw, 13px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248, 245, 239, .76) !important;
}

@media (max-width: 980px) {
    body .aio-catalog-hero__inner,
    body .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body .aio-catalog-hero,
    body .aio-events-museum-hero {
        padding: 32px 0 38px !important;
    }

    body .aio-catalog-hero h1,
    body .aio-events-museum-hero h1 {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    body .aio-catalog-hero__lead,
    body .aio-events-museum-hero__inner > p {
        font-size: 12px !important;
    }
}


/* ============================================================
   AIO FINAL CATALOG HERO — STRONG SPECIFICITY FIX
   Причина: body.page-events/body.page-blogs rules перебивали общий hero.
   Это финальный слой: события и блоги получают один hero.
   ============================================================ */

body.page-events .aio-events-museum-hero,
body.page-blogs .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .14), transparent 22rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

body.page-events .aio-events-museum-hero::after,
body.page-blogs .aio-events-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .13 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-events .aio-events-museum-hero .aio-container,
body.page-blogs .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-events .aio-events-museum-hero__inner,
body.page-blogs .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .82fr) minmax(280px, .72fr) !important;
    gap: clamp(22px, 3.5vw, 52px) !important;
    align-items: end !important;
}

body.page-events .aio-events-museum-hero .aio-events-kicker,
body.page-events .aio-events-museum-hero .aio-events-kicker_light,
body.page-blogs .aio-events-museum-hero .aio-events-kicker,
body.page-blogs .aio-events-museum-hero .aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body.page-events .aio-events-museum-hero h1,
body.page-blogs .aio-events-museum-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    max-width: 620px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    font-weight: 500 !important;
    line-height: .9 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
}

body.page-events .aio-events-museum-hero__inner > p,
body.page-blogs .aio-events-museum-hero__inner > p {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 540px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(11px, .88vw, 13px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248, 245, 239, .76) !important;
    opacity: 1 !important;
}

@media (max-width: 980px) {
    body.page-events .aio-events-museum-hero__inner,
    body.page-blogs .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body.page-events .aio-events-museum-hero,
    body.page-blogs .aio-events-museum-hero {
        padding: 32px 0 38px !important;
    }

    body.page-events .aio-events-museum-hero h1,
    body.page-blogs .aio-events-museum-hero h1 {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    body.page-events .aio-events-museum-hero__inner > p,
    body.page-blogs .aio-events-museum-hero__inner > p {
        font-size: 12px !important;
    }
}


/* ============================================================
   AIO BLOG ITEM — MUSEUM ARCHIVE REBUILD
   Детальная публикация. Hero общий, текст Montserrat, заголовки Cormorant.
   ============================================================ */

/* Hero для детальной публикации подключаем к финальному эталону */
body.page-blog-item .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .14), transparent 22rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

body.page-blog-item .aio-events-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .13 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-blog-item .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-blog-item .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .82fr) minmax(280px, .72fr) !important;
    gap: clamp(22px, 3.5vw, 52px) !important;
    align-items: end !important;
}

body.page-blog-item .aio-events-museum-hero .aio-events-kicker,
body.page-blog-item .aio-events-museum-hero .aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body.page-blog-item .aio-events-museum-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    max-width: 760px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 4vw, 62px) !important;
    font-weight: 500 !important;
    line-height: .92 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
}

body.page-blog-item .aio-events-museum-hero__inner > p {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 540px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(11px, .88vw, 13px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248, 245, 239, .76) !important;
}

/* Page */
body.page-blog-item .aio-blog-archive-page {
    padding: clamp(38px, 5vw, 64px) 0 clamp(64px, 7vw, 96px) !important;
    background: linear-gradient(90deg,#F8F5EF 0%,#F6EFE4 48%,#F2E3CF 100%) !important;
}

body.page-blog-item .aio-blog-archive-page .aio-container {
    max-width: 1240px !important;
}

body.page-blog-item .aio-blog-archive-layout {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 42px !important;
    align-items: start !important;
}

body.page-blog-item .aio-blog-archive-sidebar {
    display: grid !important;
    gap: 18px !important;
    position: sticky !important;
    top: 92px !important;
}

/* Panels */
body.page-blog-item .aio-blog-archive-panel,
body.page-blog-item .aio-blog-archive-card,
body.page-blog-item .aio-blog-archive-more {
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.72), rgba(248,245,239,.94)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
}

body.page-blog-item .aio-blog-archive-panel {
    padding: 22px 24px !important;
}

body.page-blog-item .aio-blog-archive-panel .aio-events-kicker,
body.page-blog-item .aio-blog-archive-more .aio-events-kicker,
body.page-blog-item .aio-blog-archive-gallery .aio-events-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* Author */
body.page-blog-item .aio-blog-archive-author__avatar {
    overflow: hidden !important;
    width: 74px !important;
    height: 74px !important;
    margin: 16px 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle at 72% 18%, rgba(169,67,43,.24), transparent 5rem),
        linear-gradient(135deg, #121416, #2A2224) !important;
    color: #F8F5EF !important;
}

body.page-blog-item .aio-blog-archive-author__avatar img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.page-blog-item .aio-blog-archive-author__avatar span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 27px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
}

body.page-blog-item .aio-blog-archive-panel h2 {
    margin: 0 0 10px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 31px !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-blog-item .aio-blog-archive-panel p:not(.aio-events-kicker),
body.page-blog-item .aio-blog-archive-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    color: rgba(45,45,45,.66) !important;
}

body.page-blog-item .aio-blog-archive-panel a {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 13px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* Facts */
body.page-blog-item .aio-blog-archive-facts {
    display: grid !important;
    gap: 13px !important;
    margin: 16px 0 0 !important;
}

body.page-blog-item .aio-blog-archive-facts div {
    padding-top: 13px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-blog-item .aio-blog-archive-facts div:first-child {
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.page-blog-item .aio-blog-archive-facts dt {
    margin: 0 0 4px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.48) !important;
}

body.page-blog-item .aio-blog-archive-facts dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    color: rgba(45,45,45,.72) !important;
}

/* Main card */
body.page-blog-item .aio-blog-archive-card {
    overflow: hidden !important;
}

body.page-blog-item .aio-blog-archive-cover {
    margin: 0 !important;
    background: #121416 !important;
}

body.page-blog-item .aio-blog-archive-cover img,
body.page-blog-item .aio-blog-archive-cover__placeholder {
    display: flex !important;
    width: 100% !important;
    height: clamp(260px, 36vw, 470px) !important;
    align-items: center !important;
    justify-content: center !important;
    object-fit: cover !important;
}

body.page-blog-item .aio-blog-archive-cover img {
    filter: sepia(.18) saturate(.82) contrast(1.03) brightness(.94) !important;
}

body.page-blog-item .aio-blog-archive-cover__placeholder {
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.26), transparent 15rem),
        linear-gradient(135deg, #121416, #191A1D 56%, #2A2224) !important;
}

body.page-blog-item .aio-blog-archive-cover__placeholder span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 7vw, 78px) !important;
    line-height: .9 !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
}

body.page-blog-item .aio-blog-archive-cover figcaption {
    padding: 10px 18px 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
    color: rgba(45,45,45,.48) !important;
}

/* Text */
body.page-blog-item .aio-blog-archive-text {
    padding: clamp(28px, 4vw, 52px) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: rgba(45,45,45,.78) !important;
}

body.page-blog-item .aio-blog-archive-text p,
body.page-blog-item .aio-blog-archive-text li {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.78) !important;
}

body.page-blog-item .aio-blog-archive-text p {
    margin: 0 0 16px !important;
}

body.page-blog-item .aio-blog-archive-text h1,
body.page-blog-item .aio-blog-archive-text h2,
body.page-blog-item .aio-blog-archive-text h3,
body.page-blog-item .aio-blog-archive-text h4 {
    margin: 34px 0 14px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 500 !important;
    letter-spacing: -.03em !important;
    color: #072D5B !important;
}

body.page-blog-item .aio-blog-archive-text h2 {
    font-size: clamp(34px, 3.2vw, 48px) !important;
    line-height: .96 !important;
}

body.page-blog-item .aio-blog-archive-text h3 {
    font-size: clamp(28px, 2.6vw, 38px) !important;
    line-height: 1 !important;
}

body.page-blog-item .aio-blog-archive-text blockquote {
    margin: 30px 0 !important;
    padding: 22px 26px !important;
    border-left: 2px solid #A9432B !important;
    background: rgba(169,67,43,.055) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.4vw, 34px) !important;
    line-height: 1.08 !important;
    color: #072D5B !important;
}

body.page-blog-item .aio-blog-archive-text a {
    color: #A9432B !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}

body.page-blog-item .aio-blog-archive-text img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 24px auto !important;
}

/* Gallery */
body.page-blog-item .aio-blog-archive-gallery {
    padding: 0 clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) !important;
}

body.page-blog-item .aio-blog-archive-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 16px !important;
}

body.page-blog-item .aio-blog-archive-gallery__item {
    overflow: hidden !important;
    display: block !important;
    aspect-ratio: 1 / 1 !important;
    background: #121416 !important;
}

body.page-blog-item .aio-blog-archive-gallery__item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: sepia(.18) saturate(.82) contrast(1.03) brightness(.94) !important;
    transition: transform .22s ease, filter .22s ease !important;
}

body.page-blog-item .aio-blog-archive-gallery__item:hover img {
    transform: scale(1.04) !important;
    filter: sepia(.08) saturate(1) contrast(1.02) brightness(.98) !important;
}

/* Footer / more */
body.page-blog-item .aio-blog-archive-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: space-between !important;
    padding: 18px clamp(28px, 4vw, 52px) 24px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-blog-item .aio-blog-archive-footer a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

body.page-blog-item .aio-blog-archive-more {
    margin-top: 34px !important;
    padding: 24px !important;
}

body.page-blog-item .aio-blog-archive-more__head h2 {
    margin: 8px 0 20px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 38px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.03em !important;
    color: #072D5B !important;
}

body.page-blog-item .aio-blog-archive-more__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

body.page-blog-item .aio-blog-archive-more-card {
    overflow: hidden !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background: rgba(248,245,239,.78) !important;
}

body.page-blog-item .aio-blog-archive-more-card__image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 120px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #121416, #2A2224) !important;
    color: #F8F5EF !important;
}

body.page-blog-item .aio-blog-archive-more-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: sepia(.18) saturate(.82) contrast(1.03) brightness(.94) !important;
}

body.page-blog-item .aio-blog-archive-more-card__image span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 30px !important;
    line-height: .9 !important;
    color: #F8F5EF !important;
}

body.page-blog-item .aio-blog-archive-more-card > div {
    padding: 14px 15px 16px !important;
}

body.page-blog-item .aio-blog-archive-more-card p {
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-blog-item .aio-blog-archive-more-card h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 27px !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-blog-item .aio-blog-archive-more-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Adaptive */
@media (max-width: 980px) {
    body.page-blog-item .aio-events-museum-hero__inner,
    body.page-blog-item .aio-blog-archive-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-blog-item .aio-blog-archive-sidebar {
        position: static !important;
    }

    body.page-blog-item .aio-blog-archive-more__grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body.page-blog-item .aio-events-museum-hero h1 {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    body.page-blog-item .aio-blog-archive-cover img,
    body.page-blog-item .aio-blog-archive-cover__placeholder {
        height: 220px !important;
    }

    body.page-blog-item .aio-blog-archive-text {
        padding: 22px !important;
    }

    body.page-blog-item .aio-blog-archive-gallery {
        padding: 0 22px 22px !important;
    }

    body.page-blog-item .aio-blog-archive-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* ============================================================
   AIO BLOGS — AUTHORS FILTER + BLOG ITEM TITLE + GALLERY MODAL
   ============================================================ */

/* Детальная публикация: заголовок hero меньше, чтобы не занимал весь экран */
body.page-blog-item .aio-events-museum-hero h1 {
    max-width: 700px !important;
    font-size: clamp(28px, 3.15vw, 48px) !important;
    line-height: .98 !important;
    letter-spacing: -.032em !important;
}

/* Если справа нет описания, hero не должен выглядеть пусто и криво */
body.page-blog-item .aio-events-museum-hero__inner:not(:has(> p)) {
    grid-template-columns: minmax(0, 1fr) !important;
}

/* Фильтр авторов в блогах */
body.page-blogs .aio-events-filter-group_authors a {
    justify-content: space-between !important;
    gap: 8px !important;
}

body.page-blogs .aio-events-filter-group_authors a em {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.08) !important;
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    color: rgba(45,45,45,.62) !important;
}

body.page-blogs .aio-events-filter-group_authors a.is-active em {
    background: rgba(248,245,239,.18) !important;
    color: #F8F5EF !important;
}

/* Галерея публикации: кнопки вместо перехода на отдельную страницу */
body.page-blog-item .aio-blog-archive-gallery__item {
    border: 0 !important;
    padding: 0 !important;
    cursor: zoom-in !important;
}

/* Modal */
html.aio-modal-open,
html.aio-modal-open body {
    overflow: hidden !important;
}

body.page-blog-item .aio-blog-archive-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(18px, 4vw, 48px) !important;
    background: rgba(10, 11, 12, .92) !important;
}

body.page-blog-item .aio-blog-archive-modal.is-open {
    display: flex !important;
}

body.page-blog-item .aio-blog-archive-modal__figure {
    margin: 0 !important;
    width: min(1120px, 88vw) !important;
    max-height: 88vh !important;
    display: grid !important;
    gap: 12px !important;
    justify-items: center !important;
}

body.page-blog-item .aio-blog-archive-modal__figure img {
    display: block !important;
    max-width: 100% !important;
    max-height: 78vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    box-shadow: 0 34px 90px rgba(0,0,0,.48) !important;
}

body.page-blog-item .aio-blog-archive-modal__figure figcaption {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    color: rgba(248,245,239,.72) !important;
    text-align: center !important;
}

body.page-blog-item .aio-blog-archive-modal__close,
body.page-blog-item .aio-blog-archive-modal__nav {
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(248,245,239,.22) !important;
    background: rgba(248,245,239,.08) !important;
    color: #F8F5EF !important;
    cursor: pointer !important;
    transition: background .18s ease, border-color .18s ease !important;
}

body.page-blog-item .aio-blog-archive-modal__close:hover,
body.page-blog-item .aio-blog-archive-modal__nav:hover {
    background: rgba(169,67,43,.42) !important;
    border-color: rgba(229,185,167,.58) !important;
}

body.page-blog-item .aio-blog-archive-modal__close {
    top: 22px !important;
    right: 24px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    font-size: 30px !important;
    line-height: 1 !important;
}

body.page-blog-item .aio-blog-archive-modal__nav {
    top: 50% !important;
    width: 48px !important;
    height: 64px !important;
    transform: translateY(-50%) !important;
    font-size: 44px !important;
    line-height: 1 !important;
}

body.page-blog-item .aio-blog-archive-modal__nav_prev {
    left: 24px !important;
}

body.page-blog-item .aio-blog-archive-modal__nav_next {
    right: 24px !important;
}

@media (max-width: 760px) {
    body.page-blog-item .aio-events-museum-hero h1 {
        font-size: clamp(30px, 9.5vw, 42px) !important;
    }

    body.page-blog-item .aio-blog-archive-modal__nav {
        width: 42px !important;
        height: 52px !important;
        font-size: 36px !important;
    }

    body.page-blog-item .aio-blog-archive-modal__nav_prev {
        left: 10px !important;
    }

    body.page-blog-item .aio-blog-archive-modal__nav_next {
        right: 10px !important;
    }

    body.page-blog-item .aio-blog-archive-modal__close {
        top: 12px !important;
        right: 12px !important;
    }
}


/* ============================================================
   AIO BLOGS — SEPARATE AUTHORS PANEL + COMPACT DETAIL COVER
   ============================================================ */

/* Убираем ошибочный вариант авторов как pills, если он остался в HTML */
body.page-blogs .aio-events-filter-group_authors {
    display: none !important;
}

/* Отдельный блок авторов под фильтром */
body.page-blogs .aio-blog-authors-panel {
    margin-top: 18px !important;
    padding: 24px 26px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.74), rgba(248,245,239,.95)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
}

body.page-blogs .aio-blog-authors-panel__head {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding-bottom: 18px !important;
    margin-bottom: 2px !important;
    border-bottom: 1px solid rgba(45,45,45,.11) !important;
}

body.page-blogs .aio-blog-authors-panel__head .aio-events-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-blogs .aio-blog-authors-panel__head span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    letter-spacing: .04em !important;
    text-transform: lowercase !important;
    color: rgba(45,45,45,.48) !important;
}

body.page-blogs .aio-blog-authors-list {
    max-height: 380px !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
}

body.page-blogs .aio-blog-author-row {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 17px 0 !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
    color: inherit !important;
    text-decoration: none !important;
}

body.page-blogs .aio-blog-author-row:last-child {
    border-bottom: 0 !important;
}

body.page-blogs .aio-blog-author-row__avatar {
    overflow: hidden !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 75% 16%, rgba(169,67,43,.24), transparent 5rem),
        linear-gradient(135deg, #072D5B, #061F3E) !important;
    color: #F8F5EF !important;
}

body.page-blogs .aio-blog-author-row__avatar img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.page-blogs .aio-blog-author-row__avatar b {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
    color: #F8F5EF !important;
}

body.page-blogs .aio-blog-author-row__body {
    min-width: 0 !important;
    display: grid !important;
    gap: 3px !important;
}

body.page-blogs .aio-blog-author-row__body strong {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
    transition: color .18s ease !important;
}

body.page-blogs .aio-blog-author-row__body em {
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    color: rgba(45,45,45,.48) !important;
}

body.page-blogs .aio-blog-author-row:hover strong,
body.page-blogs .aio-blog-author-row.is-active strong {
    color: #A9432B !important;
}

body.page-blogs .aio-blog-author-row.is-active .aio-blog-author-row__avatar {
    background:
        radial-gradient(circle at 75% 16%, rgba(229,185,167,.28), transparent 5rem),
        linear-gradient(135deg, #A9432B, #6E2B22) !important;
}

body.page-blogs .aio-blog-authors-panel__empty {
    margin: 16px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: rgba(45,45,45,.58) !important;
}

/* Детальная публикация: уменьшаем именно обложку, не hero */
body.page-blog-item .aio-blog-archive-cover img,
body.page-blog-item .aio-blog-archive-cover__placeholder {
    height: clamp(220px, 28vw, 360px) !important;
}

body.page-blog-item .aio-blog-archive-card {
    max-width: 900px !important;
}

/* Чтобы текст не прилипал слишком высоко после уменьшения обложки */
body.page-blog-item .aio-blog-archive-text {
    padding-top: clamp(26px, 3.2vw, 42px) !important;
}

@media (max-width: 980px) {
    body.page-blogs .aio-blog-authors-list {
        max-height: none !important;
    }

    body.page-blog-item .aio-blog-archive-card {
        max-width: none !important;
    }
}

@media (max-width: 680px) {
    body.page-blogs .aio-blog-authors-panel {
        padding: 20px !important;
    }

    body.page-blogs .aio-blog-author-row {
        grid-template-columns: 50px minmax(0, 1fr) !important;
        gap: 13px !important;
    }

    body.page-blogs .aio-blog-author-row__avatar {
        width: 46px !important;
        height: 46px !important;
    }

    body.page-blogs .aio-blog-author-row__body strong {
        font-size: 26px !important;
    }

    body.page-blog-item .aio-blog-archive-cover img,
    body.page-blog-item .aio-blog-archive-cover__placeholder {
        height: 210px !important;
    }
}


/* ============================================================
   AIO FINAL FIX — BLOG AUTHORS ROWS + RECTANGULAR PHOTOS
   ============================================================ */

/* Старые ошибочные варианты авторов скрываем */
body.page-blogs .aio-events-filter-group_authors,
body.page-blogs .aio-blog-author-row {
    display: none !important;
}

/* Панель авторов */
body.page-blogs .aio-blog-authors-panel {
    margin-top: 18px !important;
    padding: 24px 26px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.74), rgba(248,245,239,.95)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
}

body.page-blogs .aio-blog-authors-panel__head {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(45,45,45,.11) !important;
}

body.page-blogs .aio-blog-authors-panel__head .aio-events-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-blogs .aio-blog-authors-panel__head span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.50) !important;
}

body.page-blogs .aio-blog-authors-list {
    max-height: 365px !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
}

body.page-blogs .aio-blog-author-line {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 17px 0 !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
    color: inherit !important;
    text-decoration: none !important;
}

body.page-blogs .aio-blog-author-line:last-child {
    border-bottom: 0 !important;
}

body.page-blogs .aio-blog-author-line__photo {
    width: 52px !important;
    height: 52px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle at 75% 16%, rgba(169,67,43,.24), transparent 5rem),
        linear-gradient(135deg, #072D5B, #061F3E) !important;
    color: #F8F5EF !important;
    flex: none !important;
}

body.page-blogs .aio-blog-author-line__photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 999px !important;
}

body.page-blogs .aio-blog-author-line__photo span {
    display: block !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .03em !important;
    color: #F8F5EF !important;
}

body.page-blogs .aio-blog-author-line__text {
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
}

body.page-blogs .aio-blog-author-line__text strong {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-blogs .aio-blog-author-line__text em {
    display: block !important;
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    color: rgba(45,45,45,.52) !important;
}

body.page-blogs .aio-blog-author-line:hover .aio-blog-author-line__text strong,
body.page-blogs .aio-blog-author-line.is-active .aio-blog-author-line__text strong {
    color: #A9432B !important;
}

body.page-blogs .aio-blog-authors-panel__empty {
    margin: 16px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: rgba(45,45,45,.58) !important;
}

/* Фотографии публикации: только прямоугольники, никаких кружков */
body.page-blog-item .aio-blog-archive-gallery {
    padding: 0 clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) !important;
}

body.page-blog-item .aio-blog-archive-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: 16px !important;
}

body.page-blog-item .aio-blog-archive-gallery__item,
body.page-blog-item button.aio-blog-archive-gallery__item,
body.page-blog-item a.aio-blog-archive-gallery__item {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    display: block !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;
    background: #121416 !important;
    cursor: zoom-in !important;
}

body.page-blog-item .aio-blog-archive-gallery__item img,
body.page-blog-item button.aio-blog-archive-gallery__item img,
body.page-blog-item a.aio-blog-archive-gallery__item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    filter: sepia(.16) saturate(.86) contrast(1.03) brightness(.94) !important;
}

/* И на всякий случай: все figure/img внутри архивной публикации не круглые */
body.page-blog-item .aio-blog-archive-card figure,
body.page-blog-item .aio-blog-archive-card img {
    border-radius: 0 !important;
}

@media (max-width: 980px) {
    body.page-blogs .aio-blog-authors-list {
        max-height: none !important;
    }
}

@media (max-width: 680px) {
    body.page-blogs .aio-blog-author-line {
        grid-template-columns: 48px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body.page-blogs .aio-blog-author-line__photo {
        width: 46px !important;
        height: 46px !important;
    }

    body.page-blogs .aio-blog-author-line__text strong {
        font-size: 26px !important;
    }

    body.page-blog-item .aio-blog-archive-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ============================================================
   AIO AUTHOR POSTS PAGE — MUSEUM ARCHIVE ETALON
   /people/:slug/posts
   Uses approved compact graphite hero + blogs museum cards.
   ============================================================ */

body.page-people-posts .aio-events-museum-hero,
body.page-people-posts .aio-author-archive-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .16), transparent 22rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

body.page-people-posts .aio-events-museum-hero::after,
body.page-people-posts .aio-author-archive-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .13 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-people-posts .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-people-posts .aio-author-archive-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(250px, 360px) !important;
    gap: clamp(24px, 4vw, 58px) !important;
    align-items: center !important;
}

body.page-people-posts .aio-author-archive-hero .aio-events-kicker {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body.page-people-posts .aio-author-archive-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    max-width: 680px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    font-weight: 500 !important;
    line-height: .9 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
}

body.page-people-posts .aio-author-archive-hero__text > p:not(.aio-events-kicker) {
    margin: 14px 0 0 !important;
    padding: 0 !important;
    max-width: 620px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(11px, .88vw, 13px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248, 245, 239, .76) !important;
}

body.page-people-posts .aio-author-archive-hero__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 16px !important;
}

body.page-people-posts .aio-author-archive-hero__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.22) !important;
    background: rgba(248,245,239,.08) !important;
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

body.page-people-posts .aio-author-archive-hero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 18px !important;
}

body.page-people-posts .aio-author-archive-hero__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.26) !important;
    background: rgba(248,245,239,.08) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-hero__actions a:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #fff !important;
}

body.page-people-posts .aio-author-archive-hero__photo {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 340px !important;
    aspect-ratio: 4 / 3 !important;
    justify-self: end !important;
    border-radius: 0 !important;
    border: 1px solid rgba(242,227,207,.18) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18), transparent 12rem),
        linear-gradient(135deg, rgba(248,245,239,.12), rgba(248,245,239,.04)) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.24) !important;
}

body.page-people-posts .aio-author-archive-hero__photo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(18,20,22,.02), rgba(18,20,22,.34)) !important;
}

body.page-people-posts .aio-author-archive-hero__photo img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    filter: sepia(.16) grayscale(.18) contrast(1.03) brightness(.94) !important;
}

body.page-people-posts .aio-author-archive-hero__photo span {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 6vw, 72px) !important;
    line-height: 1 !important;
    color: #F2E3CF !important;
}

body.page-people-posts .aio-author-archive-page {
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.055), transparent 24rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
    padding: clamp(38px, 4vw, 58px) 0 clamp(66px, 7vw, 96px) !important;
}

body.page-people-posts .aio-author-archive-page .aio-container {
    max-width: 1240px !important;
}

body.page-people-posts .aio-author-archive-layout {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

body.page-people-posts .aio-author-archive-sidebar {
    display: grid !important;
    gap: 16px !important;
    position: sticky !important;
    top: 92px !important;
}

body.page-people-posts .aio-author-archive-filter,
body.page-people-posts .aio-author-archive-author-card,
body.page-people-posts .aio-author-archive-empty {
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-author-archive-author-card {
    padding: 18px !important;
}

body.page-people-posts .aio-author-archive-author-card__media {
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    margin: 14px 0 14px !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.16), transparent 10rem),
        linear-gradient(135deg, #121416, #2A2224) !important;
}

body.page-people-posts .aio-author-archive-author-card__media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    filter: sepia(.14) grayscale(.16) contrast(1.03) brightness(.95) !important;
}

body.page-people-posts .aio-author-archive-author-card__media span {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    color: #F2E3CF !important;
}

body.page-people-posts .aio-author-archive-author-card h2 {
    margin: 0 0 10px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 28px !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    color: #2D2D2D !important;
}

body.page-people-posts .aio-author-archive-author-card p {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.66) !important;
}

body.page-people-posts .aio-author-archive-author-card a,
body.page-people-posts .aio-author-archive-empty a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: end !important;
    gap: 20px !important;
    margin-bottom: 22px !important;
}

body.page-people-posts .aio-author-archive-head h2 {
    margin: 6px 0 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #2D2D2D !important;
}

body.page-people-posts .aio-author-archive-head > span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.48) !important;
}

body.page-people-posts .aio-author-archive-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.page-people-posts .aio-author-archive-card {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-author-archive-card_featured {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
}

body.page-people-posts .aio-author-archive-card__image {
    min-height: 190px !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.22), transparent 15rem),
        linear-gradient(135deg, #121416, #191A1D 58%, #2A2224) !important;
}

body.page-people-posts .aio-author-archive-card_featured .aio-author-archive-card__image {
    min-height: 320px !important;
    aspect-ratio: auto !important;
}

body.page-people-posts .aio-author-archive-card__image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    filter: sepia(.16) grayscale(.18) contrast(1.03) brightness(.94) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

body.page-people-posts .aio-author-archive-card:hover .aio-author-archive-card__image img {
    transform: scale(1.035) !important;
    filter: sepia(.06) grayscale(0) contrast(1.02) brightness(.98) !important;
}

body.page-people-posts .aio-author-archive-card__image span {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 38px !important;
    color: #F2E3CF !important;
}

body.page-people-posts .aio-author-archive-card_featured .aio-author-archive-card__image span {
    font-size: 58px !important;
}

body.page-people-posts .aio-author-archive-card__body {
    padding: 18px !important;
}

body.page-people-posts .aio-author-archive-card_featured .aio-author-archive-card__body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: clamp(22px, 3vw, 34px) !important;
}

body.page-people-posts .aio-author-archive-card__type {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-posts .aio-author-archive-card h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.5vw, 36px) !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #2D2D2D !important;
}

body.page-people-posts .aio-author-archive-card:not(.aio-author-archive-card_featured) h3 {
    font-size: 27px !important;
}

body.page-people-posts .aio-author-archive-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-card__excerpt {
    margin: 12px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
    color: rgba(45,45,45,.66) !important;
}

body.page-people-posts .aio-author-archive-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px 14px !important;
    margin-top: 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    color: rgba(45,45,45,.48) !important;
}

body.page-people-posts .aio-author-archive-card__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-empty {
    padding: 28px !important;
}

body.page-people-posts .aio-author-archive-empty h2 {
    margin: 6px 0 10px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 36px !important;
    line-height: 1 !important;
    color: #2D2D2D !important;
}

body.page-people-posts .aio-author-archive-empty p:not(.aio-events-kicker) {
    margin: 0 0 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
    color: rgba(45,45,45,.66) !important;
}

@media (max-width: 980px) {
    body.page-people-posts .aio-author-archive-hero__inner,
    body.page-people-posts .aio-author-archive-layout,
    body.page-people-posts .aio-author-archive-card_featured {
        grid-template-columns: 1fr !important;
    }

    body.page-people-posts .aio-author-archive-hero__photo {
        justify-self: start !important;
        max-width: 300px !important;
    }

    body.page-people-posts .aio-author-archive-sidebar {
        position: static !important;
    }

    body.page-people-posts .aio-author-archive-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-posts .aio-author-archive-card_featured .aio-author-archive-card__image {
        min-height: 240px !important;
    }
}

@media (max-width: 680px) {
    body.page-people-posts .aio-events-museum-hero,
    body.page-people-posts .aio-author-archive-hero {
        padding: 32px 0 38px !important;
    }

    body.page-people-posts .aio-author-archive-hero h1 {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    body.page-people-posts .aio-author-archive-hero__photo {
        max-width: 100% !important;
    }

    body.page-people-posts .aio-author-archive-head {
        display: block !important;
    }

    body.page-people-posts .aio-author-archive-head > span {
        display: block !important;
        margin-top: 8px !important;
    }
}

/* ============================================================
   AIO AUTHOR POSTS — FINAL ALIGN WITH BLOGS ETALON
   /people/:slug/posts
   Берём стиль блогов: hero компактный, карточки как /blogs.
   ============================================================ */

body.page-people-posts .aio-author-archive-hero {
    padding: clamp(28px, 3.2vw, 44px) 0 !important;
}

body.page-people-posts .aio-author-archive-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 104px !important;
    gap: clamp(18px, 3vw, 34px) !important;
    align-items: center !important;
}

body.page-people-posts .aio-author-archive-hero h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 3.8vw, 54px) !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
}

body.page-people-posts .aio-author-archive-hero__text > p:not(.aio-events-kicker) {
    max-width: 620px !important;
    margin-top: 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: rgba(248,245,239,.76) !important;
}

body.page-people-posts .aio-author-archive-hero .aio-events-kicker,
body.page-people-posts .aio-author-archive-page .aio-events-kicker,
body.page-people-posts .aio-author-archive-card__type,
body.page-people-posts .aio-blog-museum-card__type {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-posts .aio-author-archive-hero .aio-events-kicker {
    color: #E5B9A7 !important;
}

body.page-people-posts .aio-author-archive-hero__avatar {
    width: 92px !important;
    height: 92px !important;
    justify-self: end !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    border: 1px solid rgba(242,227,207,.34) !important;
    background:
        radial-gradient(circle at 70% 16%, rgba(169,67,43,.22), transparent 5rem),
        linear-gradient(135deg, #121416, #2A2224) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.24) !important;
}

body.page-people-posts .aio-author-archive-hero__avatar img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
}

body.page-people-posts .aio-author-archive-hero__avatar span {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 36px !important;
    color: #F2E3CF !important;
}

body.page-people-posts .aio-author-archive-hero__meta {
    margin-top: 14px !important;
}

body.page-people-posts .aio-author-archive-hero__meta span {
    min-height: 24px !important;
    padding: 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

body.page-people-posts .aio-author-archive-hero__actions {
    margin-top: 16px !important;
}

body.page-people-posts .aio-author-archive-hero__actions a {
    min-height: 32px !important;
    padding: 0 13px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

/* Layout: как блоговый каталог */
body.page-people-posts .aio-author-archive-page {
    padding: clamp(34px, 4vw, 54px) 0 clamp(66px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.045), transparent 24rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
}

body.page-people-posts .aio-author-archive-page .aio-container {
    max-width: 1240px !important;
}

body.page-people-posts .aio-author-archive-layout {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

body.page-people-posts .aio-author-archive-sidebar {
    position: sticky !important;
    top: 92px !important;
    display: grid !important;
    gap: 16px !important;
}

/* Фильтр: не огромный, не синие ссылки, всё Montserrat */
body.page-people-posts .aio-author-archive-filter,
body.page-people-posts .aio-author-archive-author-card {
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-author-archive-filter {
    padding: 18px !important;
}

body.page-people-posts .aio-author-archive-filter h2 {
    display: none !important;
}

body.page-people-posts .aio-author-archive-filter__topics {
    margin-top: 14px !important;
}

body.page-people-posts .aio-author-archive-filter__topics h3,
body.page-people-posts .aio-events-filter-group h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.54) !important;
}

body.page-people-posts .aio-author-archive-filter__topics a,
body.page-people-posts .aio-events-filter-group a {
    display: inline-flex !important;
    width: fit-content !important;
    margin: 0 6px 7px 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(45,45,45,.14) !important;
    background: rgba(248,245,239,.68) !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-filter__topics a:hover,
body.page-people-posts .aio-author-archive-filter__topics a.is-active,
body.page-people-posts .aio-events-filter-group a:hover,
body.page-people-posts .aio-events-filter-group a.is-active {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #fff !important;
}

/* Карточка автора сбоку: фото только прямоугольное внутри сайдбара, не hero */
body.page-people-posts .aio-author-archive-author-card {
    padding: 18px !important;
}

body.page-people-posts .aio-author-archive-author-card__media {
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    margin: 14px 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people-posts .aio-author-archive-author-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.page-people-posts .aio-author-archive-author-card h2 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 28px !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    color: #072D5B !important;
}

body.page-people-posts .aio-author-archive-author-card p {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.66) !important;
}

body.page-people-posts .aio-author-archive-author-card a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* Заголовок списка: только "Публикации", вровень с фильтром */
body.page-people-posts .aio-author-archive-head {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

body.page-people-posts .aio-author-archive-head h2 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(40px, 4.5vw, 62px) !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
    color: #072D5B !important;
}

/* Карточки публикаций: та же логика, что в /blogs */
body.page-people-posts .aio-author-archive-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.page-people-posts .aio-author-archive-card,
body.page-people-posts .aio-blog-museum-card {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-author-archive-card_featured {
    grid-column: auto !important;
    display: flex !important;
    min-height: 0 !important;
}

body.page-people-posts .aio-author-archive-card__image,
body.page-people-posts .aio-blog-museum-card__image {
    display: block !important;
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18), transparent 13rem),
        linear-gradient(135deg, #121416, #191A1D 58%, #2A2224) !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-card_featured .aio-author-archive-card__image {
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
}

body.page-people-posts .aio-author-archive-card__image img,
body.page-people-posts .aio-blog-museum-card__image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    filter: sepia(.16) grayscale(.14) contrast(1.03) brightness(.94) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

body.page-people-posts .aio-author-archive-card:hover .aio-author-archive-card__image img,
body.page-people-posts .aio-blog-museum-card:hover .aio-blog-museum-card__image img {
    transform: scale(1.035) !important;
    filter: sepia(.04) grayscale(0) contrast(1.02) brightness(.98) !important;
}

body.page-people-posts .aio-author-archive-card__image span,
body.page-people-posts .aio-blog-museum-card__image span {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    color: #F2E3CF !important;
}

body.page-people-posts .aio-author-archive-card__body,
body.page-people-posts .aio-blog-museum-card__body {
    display: block !important;
    padding: 18px 20px 20px !important;
}

body.page-people-posts .aio-author-archive-card_featured .aio-author-archive-card__body {
    display: block !important;
    padding: 18px 20px 20px !important;
}

body.page-people-posts .aio-author-archive-card h3,
body.page-people-posts .aio-blog-museum-card h3,
body.page-people-posts .aio-author-archive-card:not(.aio-author-archive-card_featured) h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3.2vw, 44px) !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-people-posts .aio-author-archive-card h3 a,
body.page-people-posts .aio-blog-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-card__excerpt {
    display: none !important;
}

body.page-people-posts .aio-author-archive-card__meta,
body.page-people-posts .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px 14px !important;
    margin-top: 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.48) !important;
}

body.page-people-posts .aio-author-archive-card__link,
body.page-people-posts .aio-blog-museum-card__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* Убираем старые следы и съезды */
body.page-people-posts .aio-author-archive-card_featured .aio-author-archive-card__image span {
    font-size: 42px !important;
}

body.page-people-posts .aio-author-archive-head > span,
body.page-people-posts .aio-author-archive-main > .aio-events-kicker {
    display: none !important;
}

@media (max-width: 980px) {
    body.page-people-posts .aio-author-archive-hero__inner,
    body.page-people-posts .aio-author-archive-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people-posts .aio-author-archive-hero__avatar {
        justify-self: start !important;
    }

    body.page-people-posts .aio-author-archive-sidebar {
        position: static !important;
    }

    body.page-people-posts .aio-author-archive-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body.page-people-posts .aio-author-archive-hero {
        padding: 28px 0 34px !important;
    }

    body.page-people-posts .aio-author-archive-hero__avatar {
        width: 78px !important;
        height: 78px !important;
    }

    body.page-people-posts .aio-author-archive-head h2 {
        font-size: clamp(36px, 12vw, 50px) !important;
    }
}

/* ============================================================
   AIO AUTHOR POSTS — COPY BLOGS ETALON, NO INVENTED STYLE
   /people/:slug/posts
   ============================================================ */

/* HERO: как blogs/events, но без фото */
body.page-people-posts .aio-author-archive-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(30px, 3.4vw, 46px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .14), transparent 22rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

body.page-people-posts .aio-author-archive-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .18 !important;
    background:
        linear-gradient(rgba(242,227,207,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242,227,207,.05) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-people-posts .aio-author-archive-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
}

body.page-people-posts .aio-author-archive-hero__inner {
    display: block !important;
    max-width: 760px !important;
}

body.page-people-posts .aio-author-archive-hero__avatar,
body.page-people-posts .aio-author-archive-hero__photo {
    display: none !important;
}

body.page-people-posts .aio-author-archive-hero .aio-events-kicker {
    margin: 0 0 9px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body.page-people-posts .aio-author-archive-hero h1 {
    margin: 0 !important;
    max-width: 720px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(36px, 4vw, 56px) !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
}

body.page-people-posts .aio-author-archive-hero__text > p:not(.aio-events-kicker) {
    max-width: 620px !important;
    margin: 12px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.76) !important;
}

body.page-people-posts .aio-author-archive-hero__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 14px 0 0 !important;
}

body.page-people-posts .aio-author-archive-hero__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.24) !important;
    background: rgba(248,245,239,.08) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.82) !important;
}

body.page-people-posts .aio-author-archive-hero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 16px !important;
}

body.page-people-posts .aio-author-archive-hero__actions a {
    min-height: 32px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

/* PAGE LAYOUT */
body.page-people-posts .aio-author-archive-page {
    padding: clamp(34px, 4vw, 54px) 0 clamp(66px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.045), transparent 24rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
}

body.page-people-posts .aio-author-archive-page .aio-container {
    max-width: 1240px !important;
}

body.page-people-posts .aio-author-archive-layout {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

body.page-people-posts .aio-author-archive-sidebar {
    position: sticky !important;
    top: 92px !important;
    display: grid !important;
    gap: 16px !important;
}

/* FILTER: как в блогах */
body.page-people-posts .aio-author-archive-filter,
body.page-people-posts .aio-author-archive-author-card {
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-author-archive-filter {
    padding: 18px !important;
}

body.page-people-posts .aio-author-archive-filter h2 {
    display: none !important;
}

body.page-people-posts .aio-author-archive-filter .aio-events-kicker,
body.page-people-posts .aio-author-archive-author-card .aio-events-kicker,
body.page-people-posts .aio-author-archive-card__type,
body.page-people-posts .aio-blog-museum-card__type {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-posts .aio-events-filter-group h3,
body.page-people-posts .aio-author-archive-filter__topics h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.54) !important;
}

body.page-people-posts .aio-events-filter-group a,
body.page-people-posts .aio-author-archive-filter__topics a {
    display: inline-flex !important;
    width: fit-content !important;
    margin: 0 6px 7px 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(45,45,45,.14) !important;
    background: rgba(248,245,239,.68) !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-events-filter-group a:hover,
body.page-people-posts .aio-events-filter-group a.is-active,
body.page-people-posts .aio-author-archive-filter__topics a:hover,
body.page-people-posts .aio-author-archive-filter__topics a.is-active {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #fff !important;
}

/* AUTHOR CARD: как на странице публикации — круглый аватар, без большой полной фотографии */
body.page-people-posts .aio-author-archive-author-card {
    padding: 22px !important;
}

body.page-people-posts .aio-author-archive-author-card__media {
    display: none !important;
}

body.page-people-posts .aio-blog-archive-author__avatar {
    width: 112px !important;
    height: 112px !important;
    margin: 16px 0 18px !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    border: 1px solid rgba(45,45,45,.12) !important;
    background:
        radial-gradient(circle at 72% 18%, rgba(169,67,43,.16), transparent 5rem),
        linear-gradient(135deg, #121416, #2A2224) !important;
}

body.page-people-posts .aio-blog-archive-author__avatar img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
}

body.page-people-posts .aio-blog-archive-author__avatar span {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    color: #F2E3CF !important;
}

body.page-people-posts .aio-author-archive-author-card h2 {
    margin: 0 0 10px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 32px !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-people-posts .aio-author-archive-author-card p:not(.aio-events-kicker) {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.66) !important;
}

body.page-people-posts .aio-author-archive-author-card a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* HEADING: вровень с фильтром */
body.page-people-posts .aio-author-archive-head {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

body.page-people-posts .aio-author-archive-head h2 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(40px, 4.5vw, 62px) !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
    color: #072D5B !important;
}

body.page-people-posts .aio-author-archive-head > span,
body.page-people-posts .aio-author-archive-main > .aio-events-kicker {
    display: none !important;
}

/* PUBLICATION CARDS: exactly blogs museum card logic */
body.page-people-posts .aio-author-archive-grid,
body.page-people-posts .aio-blogs-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.page-people-posts .aio-author-archive-card,
body.page-people-posts .aio-blog-museum-card {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,245,239,.78)),
        linear-gradient(135deg, rgba(248,245,239,.94), rgba(242,227,207,.88)) !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-author-archive-card__image,
body.page-people-posts .aio-blog-museum-card__image {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18), transparent 13rem),
        linear-gradient(135deg, #121416, #191A1D 58%, #2A2224) !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-card__image::after,
body.page-people-posts .aio-blog-museum-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(18,20,22,.04), rgba(18,20,22,.18)),
        rgba(248,245,239,.08) !important;
    mix-blend-mode: multiply !important;
}

body.page-people-posts .aio-author-archive-card__image img,
body.page-people-posts .aio-blog-museum-card__image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    filter: sepia(.18) saturate(.78) contrast(1.02) brightness(.96) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

body.page-people-posts .aio-author-archive-card:hover .aio-author-archive-card__image img,
body.page-people-posts .aio-blog-museum-card:hover .aio-blog-museum-card__image img {
    transform: scale(1.035) !important;
    filter: sepia(.05) saturate(.96) contrast(1.02) brightness(.98) !important;
}

body.page-people-posts .aio-author-archive-card__image span,
body.page-people-posts .aio-blog-museum-card__image span {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    color: #F2E3CF !important;
}

body.page-people-posts .aio-author-archive-card__body,
body.page-people-posts .aio-blog-museum-card__body {
    display: block !important;
    padding: 18px 20px 20px !important;
}

body.page-people-posts .aio-author-archive-card h3,
body.page-people-posts .aio-blog-museum-card h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3.1vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-people-posts .aio-author-archive-card h3 a,
body.page-people-posts .aio-blog-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-card__excerpt {
    display: none !important;
}

body.page-people-posts .aio-author-archive-card__meta,
body.page-people-posts .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px 14px !important;
    margin-top: 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.48) !important;
}

body.page-people-posts .aio-author-archive-card__meta span + span::before,
body.page-people-posts .aio-blog-museum-card__meta span + span::before {
    content: "•" !important;
    margin-right: 10px !important;
    color: #A9432B !important;
}

body.page-people-posts .aio-author-archive-card__link,
body.page-people-posts .aio-blog-museum-card__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

@media (max-width: 980px) {
    body.page-people-posts .aio-author-archive-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people-posts .aio-author-archive-sidebar {
        position: static !important;
    }

    body.page-people-posts .aio-author-archive-grid,
    body.page-people-posts .aio-blogs-museum-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body.page-people-posts .aio-author-archive-hero {
        padding: 28px 0 34px !important;
    }

    body.page-people-posts .aio-author-archive-head h2 {
        font-size: clamp(36px, 12vw, 50px) !important;
    }
}

/* ============================================================
   AIO AUTHOR POSTS — FINAL CLEAN COPY FROM BLOGS
   Один автор в hero. Без второй карточки автора. Без заголовка над сеткой.
   Карточки публикаций — как /blogs.
   ============================================================ */

body.page-people-posts .aio-author-archive-author-card,
body.page-people-posts .aio-author-archive-head,
body.page-people-posts .aio-blog-museum-card__excerpt {
    display: none !important;
}

/* HERO компактный, автор только здесь */
body.page-people-posts .aio-author-archive-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(28px, 3vw, 42px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .14), transparent 22rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

body.page-people-posts .aio-author-archive-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .18 !important;
    background:
        linear-gradient(rgba(242,227,207,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242,227,207,.05) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-people-posts .aio-author-archive-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
}

body.page-people-posts .aio-author-archive-hero__inner {
    display: block !important;
    max-width: 760px !important;
}

body.page-people-posts .aio-author-archive-hero__photo,
body.page-people-posts .aio-author-archive-hero__avatar {
    display: none !important;
}

body.page-people-posts .aio-author-archive-hero .aio-events-kicker,
body.page-people-posts .aio-author-archive-hero .aio-kicker {
    margin: 0 0 9px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body.page-people-posts .aio-author-archive-hero h1 {
    margin: 0 !important;
    max-width: 720px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 3.8vw, 52px) !important;
    line-height: .94 !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
}

body.page-people-posts .aio-author-archive-hero p:not(.aio-events-kicker):not(.aio-kicker) {
    max-width: 620px !important;
    margin: 10px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.76) !important;
}

body.page-people-posts .aio-author-archive-hero__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-top: 13px !important;
}

body.page-people-posts .aio-author-archive-hero__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.24) !important;
    background: rgba(248,245,239,.08) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.82) !important;
}

body.page-people-posts .aio-author-archive-hero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

/* Страница: сетка начинается вровень с фильтром */
body.page-people-posts .aio-author-archive-page {
    padding: clamp(34px, 4vw, 54px) 0 clamp(66px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.045), transparent 24rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
}

body.page-people-posts .aio-author-archive-page .aio-container {
    max-width: 1240px !important;
}

body.page-people-posts .aio-author-archive-layout {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

body.page-people-posts .aio-author-archive-sidebar {
    position: sticky !important;
    top: 92px !important;
    display: block !important;
}

/* Фильтр как в блогах */
body.page-people-posts .aio-author-archive-filter {
    padding: 18px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-author-archive-filter h2 {
    display: none !important;
}

body.page-people-posts .aio-author-archive-filter .aio-events-kicker,
body.page-people-posts .aio-author-archive-filter .aio-kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-posts .aio-author-archive-filter h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.54) !important;
}

body.page-people-posts .aio-author-archive-filter a {
    display: inline-flex !important;
    width: fit-content !important;
    margin: 0 6px 7px 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(45,45,45,.14) !important;
    background: rgba(248,245,239,.68) !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-filter a:hover,
body.page-people-posts .aio-author-archive-filter a.is-active {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #fff !important;
}

/* Карточки публикаций: прямое повторение /blogs */
body.page-people-posts .aio-blogs-museum-main {
    min-width: 0 !important;
}

body.page-people-posts .aio-blogs-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.page-people-posts .aio-blog-museum-card {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,245,239,.78)),
        linear-gradient(135deg, rgba(248,245,239,.94), rgba(242,227,207,.88)) !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-blog-museum-card__image {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18), transparent 13rem),
        linear-gradient(135deg, #121416, #191A1D 58%, #2A2224) !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-blog-museum-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(18,20,22,.04), rgba(18,20,22,.18)),
        rgba(248,245,239,.08) !important;
    mix-blend-mode: multiply !important;
}

body.page-people-posts .aio-blog-museum-card__image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    filter: sepia(.18) saturate(.78) contrast(1.02) brightness(.96) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

body.page-people-posts .aio-blog-museum-card:hover .aio-blog-museum-card__image img {
    transform: scale(1.035) !important;
    filter: sepia(.05) saturate(.96) contrast(1.02) brightness(.98) !important;
}

body.page-people-posts .aio-blog-museum-card__image span {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    color: #F2E3CF !important;
}

body.page-people-posts .aio-blog-museum-card__body {
    display: block !important;
    padding: 18px 20px 20px !important;
}

body.page-people-posts .aio-blog-museum-card__type {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-posts .aio-blog-museum-card h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3.1vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-people-posts .aio-blog-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px 14px !important;
    margin-top: 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.48) !important;
}

body.page-people-posts .aio-blog-museum-card__meta span + span::before {
    content: "•" !important;
    margin-right: 10px !important;
    color: #A9432B !important;
}

body.page-people-posts .aio-blog-museum-card__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

@media (max-width: 980px) {
    body.page-people-posts .aio-author-archive-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people-posts .aio-author-archive-sidebar {
        position: static !important;
    }

    body.page-people-posts .aio-blogs-museum-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   AIO AUTHOR POSTS — EXACT BLOGS CARD MARKUP FIX
   /people/:slug/posts
   Причина: карточки автора должны использовать те же классы,
   что /blogs: __image, __body, __type, __meta, __link.
   ============================================================ */

body.page-people-posts .aio-author-archive-hero {
    padding: clamp(30px, 3.4vw, 48px) 0 !important;
}

body.page-people-posts .aio-author-archive-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr) !important;
    gap: clamp(24px, 4vw, 58px) !important;
    align-items: center !important;
}

body.page-people-posts .aio-author-archive-hero__inner > p {
    margin: 0 !important;
    max-width: 560px !important;
    justify-self: end !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(11px, .9vw, 13px) !important;
    line-height: 1.6 !important;
    color: rgba(248,245,239,.76) !important;
}

body.page-people-posts .aio-author-archive-hero h1 {
    font-size: clamp(34px, 3.8vw, 54px) !important;
    line-height: .94 !important;
}

body.page-people-posts .aio-author-archive-hero__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 14px !important;
}

body.page-people-posts .aio-author-archive-hero__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.22) !important;
    background: rgba(248,245,239,.08) !important;
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

body.page-people-posts .aio-author-archive-hero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 16px !important;
}

body.page-people-posts .aio-author-archive-hero__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.26) !important;
    background: rgba(248,245,239,.08) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-hero__actions a:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #fff !important;
}

/* Страница автора использует блоговую сетку */
body.page-people-posts .aio-blogs-museum-page {
    padding-top: clamp(34px, 4vw, 54px) !important;
    padding-bottom: clamp(66px, 7vw, 96px) !important;
}

body.page-people-posts .aio-blogs-museum-layout {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

body.page-people-posts .aio-blogs-museum-sidebar {
    position: sticky !important;
    top: 92px !important;
    display: grid !important;
    gap: 16px !important;
}

/* Блок одного автора — в логике бокового блока авторов из /blogs */
body.page-people-posts .aio-author-single-panel {
    padding: 18px !important;
}

body.page-people-posts .aio-author-single-line {
    padding-top: 14px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people-posts .aio-author-single-panel__description {
    margin: 14px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.66) !important;
}

body.page-people-posts .aio-author-single-panel__link {
    display: inline-flex !important;
    margin-top: 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* Главное: копия блоговых карточек, но для body.page-people-posts */
body.page-people-posts .aio-blog-museum-card {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98), rgba(246,239,228,.93) 58%, rgba(242,227,207,.82)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.page-people-posts .aio-blog-museum-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(169,67,43,.28) !important;
    box-shadow: 0 24px 58px rgba(7,23,44,.085) !important;
}

body.page-people-posts .aio-blog-museum-card__image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 220px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.26), transparent 15rem),
        linear-gradient(135deg, #07172C, #061F3E 58%, #101420) !important;
    color: #F2E3CF !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-blog-museum-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.08), rgba(169,67,43,.14)),
        rgba(248,245,239,.04) !important;
    mix-blend-mode: multiply !important;
    opacity: .82 !important;
    transition: opacity .18s ease !important;
}

body.page-people-posts .aio-blog-museum-card:hover .aio-blog-museum-card__image::after {
    opacity: .34 !important;
}

body.page-people-posts .aio-blog-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: sepia(.22) saturate(.78) contrast(1.03) brightness(.92) !important;
    transform: scale(1.01) !important;
    transition: filter .18s ease, transform .22s ease !important;
}

body.page-people-posts .aio-blog-museum-card:hover .aio-blog-museum-card__image img {
    filter: sepia(.10) saturate(1.02) contrast(1.02) brightness(.98) !important;
    transform: scale(1.035) !important;
}

body.page-people-posts .aio-blog-museum-card__image span {
    position: relative !important;
    z-index: 2 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 44px !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
}

body.page-people-posts .aio-blog-museum-card__body {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px 20px 20px !important;
}

body.page-people-posts .aio-blog-museum-card__type {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-posts .aio-blog-museum-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 3vw, 44px) !important;
    line-height: .94 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-people-posts .aio-blog-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-weight: inherit !important;
}

body.page-people-posts .aio-blog-museum-card h3 a:hover {
    color: #A9432B !important;
}

body.page-people-posts .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: auto !important;
    padding-top: 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.52) !important;
}

body.page-people-posts .aio-blog-museum-card__meta span + span::before {
    content: "•" !important;
    margin-right: 6px !important;
    color: rgba(169,67,43,.72) !important;
}

body.page-people-posts .aio-blog-museum-card__link {
    margin-top: 14px !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

@media (max-width: 980px) {
    body.page-people-posts .aio-author-archive-hero__inner,
    body.page-people-posts .aio-blogs-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people-posts .aio-author-archive-hero__inner > p {
        justify-self: start !important;
    }

    body.page-people-posts .aio-blogs-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 680px) {
    body.page-people-posts .aio-blog-museum-card__image {
        height: 190px !important;
    }

    body.page-people-posts .aio-blog-museum-card h3 {
        font-size: 30px !important;
    }

    body.page-people-posts .aio-blog-museum-card__body {
        padding: 16px !important;
    }
}


/* ============================================================
   AIO AUTHOR POSTS — EMERGENCY FINAL LOCK
   /people/:slug/posts
   Причина: блоговые классы перенесены, но часть стилей была только
   для body.page-blogs. На странице автора аватар вываливался размером
   исходного изображения и ломал сетку.
   ============================================================ */

/* HERO: без фото, компактно, как каталог */
body.page-people-posts .aio-author-archive-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(28px, 3.2vw, 44px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .16), transparent 22rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

body.page-people-posts .aio-author-archive-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .13 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-people-posts .aio-author-archive-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-people-posts .aio-author-archive-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(260px, .55fr) !important;
    gap: clamp(24px, 5vw, 76px) !important;
    align-items: center !important;
}

body.page-people-posts .aio-author-archive-hero__avatar,
body.page-people-posts .aio-author-archive-hero__photo {
    display: none !important;
}

body.page-people-posts .aio-author-archive-hero .aio-events-kicker,
body.page-people-posts .aio-author-archive-hero .aio-kicker {
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body.page-people-posts .aio-author-archive-hero h1 {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 680px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.7vw, 54px) !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
}

body.page-people-posts .aio-author-archive-hero__inner > p,
body.page-people-posts .aio-author-archive-hero p:not(.aio-events-kicker):not(.aio-kicker) {
    margin: 0 !important;
    max-width: 520px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    color: rgba(248,245,239,.76) !important;
}

body.page-people-posts .aio-author-archive-hero__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 14px 0 0 !important;
}

body.page-people-posts .aio-author-archive-hero__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.22) !important;
    background: rgba(248,245,239,.08) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.78) !important;
}

body.page-people-posts .aio-author-archive-hero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 16px !important;
}

body.page-people-posts .aio-author-archive-hero__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.26) !important;
    background: rgba(248,245,239,.08) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-hero__actions a:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #fff !important;
}

/* PAGE: используем блоговую сетку */
body.page-people-posts .aio-blogs-museum-page,
body.page-people-posts .aio-author-archive-page {
    padding: clamp(46px, 5vw, 70px) 0 clamp(70px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.045), transparent 24rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
}

body.page-people-posts .aio-blogs-museum-page .aio-container,
body.page-people-posts .aio-author-archive-page .aio-container {
    max-width: 1240px !important;
}

body.page-people-posts .aio-blogs-museum-layout,
body.page-people-posts .aio-author-archive-layout {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

body.page-people-posts .aio-blogs-museum-sidebar,
body.page-people-posts .aio-author-archive-sidebar {
    position: sticky !important;
    top: 92px !important;
    display: grid !important;
    gap: 16px !important;
    min-width: 0 !important;
}

/* FILTER: как в блогах, без гигантских заголовков */
body.page-people-posts .aio-author-archive-filter,
body.page-people-posts .aio-blogs-museum-filter {
    padding: 18px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-author-archive-filter .aio-events-kicker,
body.page-people-posts .aio-author-archive-filter .aio-kicker,
body.page-people-posts .aio-author-single-panel .aio-events-kicker,
body.page-people-posts .aio-author-single-panel .aio-kicker,
body.page-people-posts .aio-blog-museum-card__type {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-posts .aio-author-archive-filter h2 {
    display: none !important;
}

body.page-people-posts .aio-author-archive-filter h3,
body.page-people-posts .aio-events-filter-group h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.54) !important;
}

body.page-people-posts .aio-author-archive-filter a,
body.page-people-posts .aio-events-filter-group a {
    display: inline-flex !important;
    width: fit-content !important;
    margin: 0 6px 7px 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(45,45,45,.14) !important;
    background: rgba(248,245,239,.68) !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-archive-filter a:hover,
body.page-people-posts .aio-author-archive-filter a.is-active,
body.page-people-posts .aio-events-filter-group a:hover,
body.page-people-posts .aio-events-filter-group a.is-active {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #fff !important;
}

/* AUTHOR PANEL: один блок автора, как строка автора в блогах. Фото строго круг. */
body.page-people-posts .aio-author-single-panel,
body.page-people-posts .aio-blog-authors-panel.aio-author-single-panel {
    overflow: hidden !important;
    padding: 18px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-posts .aio-author-single-panel .aio-blog-authors-panel__head {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
}

body.page-people-posts .aio-author-single-line,
body.page-people-posts .aio-author-single-panel .aio-blog-author-line {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-author-single-panel .aio-blog-author-line__photo {
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(45,45,45,.14) !important;
    background:
        radial-gradient(circle at 70% 16%, rgba(169,67,43,.18), transparent 5rem),
        linear-gradient(135deg, #121416, #2A2224) !important;
}

body.page-people-posts .aio-author-single-panel .aio-blog-author-line__photo img {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    filter: sepia(.12) saturate(.86) contrast(1.03) brightness(.94) !important;
}

body.page-people-posts .aio-author-single-panel .aio-blog-author-line__photo span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #F2E3CF !important;
}

body.page-people-posts .aio-author-single-panel .aio-blog-author-line__text {
    display: block !important;
    min-width: 0 !important;
}

body.page-people-posts .aio-author-single-panel .aio-blog-author-line__text strong {
    display: block !important;
    margin: 0 0 3px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 23px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    color: #072D5B !important;
}

body.page-people-posts .aio-author-single-panel .aio-blog-author-line__text em {
    display: block !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-style: normal !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.48) !important;
}

body.page-people-posts .aio-author-single-panel__description {
    margin: 13px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.66) !important;
}

body.page-people-posts .aio-author-single-panel__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* CARDS: точная копия блоговых карточек, но для page-people-posts */
body.page-people-posts .aio-blogs-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px !important;
    align-items: start !important;
}

body.page-people-posts .aio-blog-museum-card {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98), rgba(246,239,228,.93) 58%, rgba(242,227,207,.82)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.page-people-posts .aio-blog-museum-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(169,67,43,.28) !important;
    box-shadow: 0 24px 58px rgba(7,23,44,.085) !important;
}

body.page-people-posts .aio-blog-museum-card__image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 220px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.26), transparent 15rem),
        linear-gradient(135deg, #07172C, #061F3E 58%, #101420) !important;
    color: #F2E3CF !important;
    text-decoration: none !important;
}

body.page-people-posts .aio-blog-museum-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.08), rgba(169,67,43,.14)),
        rgba(248,245,239,.04) !important;
    mix-blend-mode: multiply !important;
    opacity: .82 !important;
    transition: opacity .18s ease !important;
}

body.page-people-posts .aio-blog-museum-card:hover .aio-blog-museum-card__image::after {
    opacity: .34 !important;
}

body.page-people-posts .aio-blog-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: sepia(.22) saturate(.78) contrast(1.03) brightness(.92) !important;
    transform: scale(1.01) !important;
    transition: filter .18s ease, transform .22s ease !important;
}

body.page-people-posts .aio-blog-museum-card:hover .aio-blog-museum-card__image img {
    filter: sepia(.10) saturate(1.02) contrast(1.02) brightness(.98) !important;
    transform: scale(1.035) !important;
}

body.page-people-posts .aio-blog-museum-card__image span {
    position: relative !important;
    z-index: 2 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 44px !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
}

body.page-people-posts .aio-blog-museum-card__body {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px 20px 20px !important;
}

body.page-people-posts .aio-blog-museum-card__type {
    margin: 0 0 8px !important;
}

body.page-people-posts .aio-blog-museum-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 3vw, 44px) !important;
    line-height: .94 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-people-posts .aio-blog-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-weight: inherit !important;
}

body.page-people-posts .aio-blog-museum-card h3 a:hover {
    color: #A9432B !important;
}

body.page-people-posts .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: auto !important;
    padding-top: 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.52) !important;
}

body.page-people-posts .aio-blog-museum-card__meta span + span::before {
    content: "•" !important;
    margin-right: 6px !important;
    color: rgba(169,67,43,.72) !important;
}

body.page-people-posts .aio-blog-museum-card__link {
    margin-top: 14px !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* Старые авторские варианты на этой странице больше не участвуют */
body.page-people-posts .aio-author-archive-author-card,
body.page-people-posts .aio-author-archive-head,
body.page-people-posts .aio-author-archive-card,
body.page-people-posts .aio-author-archive-grid {
    all: revert-layer;
}

/* MOBILE */
@media (max-width: 980px) {
    body.page-people-posts .aio-author-archive-hero__inner,
    body.page-people-posts .aio-blogs-museum-layout,
    body.page-people-posts .aio-author-archive-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people-posts .aio-blogs-museum-sidebar,
    body.page-people-posts .aio-author-archive-sidebar {
        position: static !important;
    }

    body.page-people-posts .aio-author-archive-hero__inner > p {
        max-width: 680px !important;
    }
}

@media (max-width: 680px) {
    body.page-people-posts .aio-author-archive-hero {
        padding: 30px 0 36px !important;
    }

    body.page-people-posts .aio-author-archive-hero h1 {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    body.page-people-posts .aio-blogs-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-posts .aio-blog-museum-card__image {
        height: 190px !important;
    }

    body.page-people-posts .aio-blog-museum-card h3 {
        font-size: 30px !important;
    }

    body.page-people-posts .aio-blog-museum-card__body {
        padding: 16px !important;
    }
}

/* ============================================================
   AIO BLOG ITEM — RELATED POSTS AS SMALL BLOG CARDS
   Блок "Другие публикации": та же логика, что /blogs,
   но уменьшенный размер карточек.
   ============================================================ */

body.page-blog-item .aio-blog-archive-more {
    margin-top: 34px !important;
    padding: 28px 30px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.80), rgba(248,245,239,.96)) !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.06) !important;
}

body.page-blog-item .aio-blog-archive-more__head {
    margin: 0 0 22px !important;
}

body.page-blog-item .aio-blog-archive-more__head .aio-events-kicker {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-blog-item .aio-blog-archive-more__head h2 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.8vw, 52px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-blog-item .aio-blog-archive-more__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: start !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card,
body.page-blog-item .aio-blog-museum-card_small {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98), rgba(246,239,228,.93) 58%, rgba(242,227,207,.82)),
        #F8F5EF !important;
    box-shadow: 0 14px 36px rgba(7,23,44,.045) !important;
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card:hover,
body.page-blog-item .aio-blog-museum-card_small:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(169,67,43,.28) !important;
    box-shadow: 0 20px 46px rgba(7,23,44,.075) !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__image,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 150px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.26), transparent 15rem),
        linear-gradient(135deg, #07172C, #061F3E 58%, #101420) !important;
    color: #F2E3CF !important;
    text-decoration: none !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__image::after,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.08), rgba(169,67,43,.14)),
        rgba(248,245,239,.04) !important;
    mix-blend-mode: multiply !important;
    opacity: .82 !important;
    transition: opacity .18s ease !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card:hover .aio-blog-museum-card__image::after,
body.page-blog-item .aio-blog-museum-card_small:hover .aio-blog-museum-card__image::after {
    opacity: .34 !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__image img,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: sepia(.22) saturate(.78) contrast(1.03) brightness(.92) !important;
    transform: scale(1.01) !important;
    transition: filter .18s ease, transform .22s ease !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card:hover .aio-blog-museum-card__image img,
body.page-blog-item .aio-blog-museum-card_small:hover .aio-blog-museum-card__image img {
    filter: sepia(.10) saturate(1.02) contrast(1.02) brightness(.98) !important;
    transform: scale(1.035) !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__image span,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__image span {
    position: relative !important;
    z-index: 2 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 34px !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__body,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__body {
    display: flex !important;
    flex-direction: column !important;
    padding: 15px 16px 17px !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__type,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__type {
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-museum-card_small h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(26px, 2.2vw, 34px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-museum-card_small h3 a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-weight: inherit !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card h3 a:hover,
body.page-blog-item .aio-blog-museum-card_small h3 a:hover {
    color: #A9432B !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__meta,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: auto !important;
    padding-top: 3px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.52) !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__meta span + span::before,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__meta span + span::before {
    content: "•" !important;
    margin-right: 6px !important;
    color: rgba(169,67,43,.72) !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__link,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__link {
    margin-top: 12px !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

@media (max-width: 980px) {
    body.page-blog-item .aio-blog-archive-more__grid {
        grid-template-columns: 1fr !important;
    }

    body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__image,
    body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__image {
        height: 190px !important;
    }
}

@media (max-width: 680px) {
    body.page-blog-item .aio-blog-archive-more {
        padding: 22px 18px !important;
    }

    body.page-blog-item .aio-blog-archive-more__head h2 {
        font-size: 34px !important;
    }
}

/* ============================================================
   AIO BLOG ITEM — RELATED CARDS EQUAL HEIGHT
   Карточки "Другие публикации" выравниваются по максимальной
   высоте в ряду, без пляски короткая/длинная.
   ============================================================ */

body.page-blog-item .aio-blog-archive-more__grid {
    align-items: stretch !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card,
body.page-blog-item .aio-blog-museum-card_small {
    height: 100% !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__body,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__body {
    flex: 1 1 auto !important;
    min-height: 150px !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-museum-card_small h3 {
    min-height: 66px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__meta,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__meta {
    margin-top: auto !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__link,
body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__link {
    margin-top: 12px !important;
}

@media (max-width: 980px) {
    body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card__body,
    body.page-blog-item .aio-blog-museum-card_small .aio-blog-museum-card__body {
        min-height: 0 !important;
    }

    body.page-blog-item .aio-blog-archive-more .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-museum-card_small h3 {
        min-height: 0 !important;
        -webkit-line-clamp: 3 !important;
    }
}

/* ============================================================
   AIO PEOPLE — MUSEUM CATALOG REBUILD
   Страница /people приведена к эталону /events + /blogs.
   Hero — общий компактный графитовый.
   Фильтр — музейная бумага как в блогах.
   Карточки — прямоугольные, Cormorant для имён, Montserrat для служебного.
   ============================================================ */

/* HERO: strong specificity, как у events/blogs */
body.page-people .aio-events-museum-hero,
body.page-people .aio-people-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .14), transparent 22rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

body.page-people .aio-events-museum-hero::after,
body.page-people .aio-people-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .13 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-people .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-people .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .82fr) minmax(280px, .72fr) !important;
    gap: clamp(22px, 3.5vw, 52px) !important;
    align-items: end !important;
}

body.page-people .aio-events-museum-hero .aio-events-kicker,
body.page-people .aio-events-museum-hero .aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body.page-people .aio-events-museum-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    max-width: 620px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    font-weight: 500 !important;
    line-height: .9 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
}

body.page-people .aio-events-museum-hero__inner > p {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 540px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(11px, .88vw, 13px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248, 245, 239, .76) !important;
}

/* PAGE */
body.page-people .aio-people-museum-page {
    padding: clamp(38px, 5vw, 64px) 0 clamp(64px, 7vw, 96px) !important;
    background:
        linear-gradient(
            90deg,
            #F8F5EF 0%,
            #F6EFE4 48%,
            #F2E3CF 100%
        ) !important;
}

body.page-people .aio-people-museum-page .aio-container {
    max-width: 1240px !important;
}

body.page-people .aio-people-museum-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 46px !important;
    align-items: start !important;
}

body.page-people .aio-people-museum-sidebar {
    display: grid !important;
    gap: 18px !important;
    position: sticky !important;
    top: 92px !important;
}

/* FILTER */
body.page-people .aio-people-museum-filter {
    border-radius: 0 !important;
    border: 1px solid rgba(45, 45, 45, .10) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.72), rgba(248,245,239,.94)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7, 23, 44, .055) !important;
    padding: 22px 24px !important;
}

body.page-people .aio-people-museum-filter form {
    margin: 0 !important;
}

body.page-people .aio-people-museum-filter h2 {
    margin: 8px 0 18px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 34px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-people .aio-people-museum-filter .aio-events-filter-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-top: 18px !important;
    margin-top: 18px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people .aio-people-museum-filter .aio-events-filter-group:first-of-type {
    border-top: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-people .aio-people-museum-filter .aio-events-filter-group h3 {
    width: 100% !important;
    margin: 0 0 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.58) !important;
}

body.page-people .aio-people-museum-filter input,
body.page-people .aio-people-museum-filter select {
    width: 100% !important;
    min-height: 32px !important;
    padding: 0 11px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.15) !important;
    background: rgba(248,245,239,.58) !important;
    color: rgba(45,45,45,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    outline: none !important;
}

body.page-people .aio-people-museum-filter input:focus,
body.page-people .aio-people-museum-filter select:focus {
    border-color: rgba(169,67,43,.72) !important;
    box-shadow: 0 0 0 3px rgba(169,67,43,.08) !important;
}

body.page-people .aio-people-museum-filter__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-top: 18px !important;
    margin-top: 18px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people .aio-people-museum-filter__actions button,
body.page-people .aio-people-museum-filter__actions a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    width: fit-content !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.page-people .aio-people-museum-filter__actions button {
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-people .aio-people-museum-filter__actions a {
    border: 1px solid rgba(7,45,91,.15) !important;
    background: rgba(248,245,239,.58) !important;
    color: #A9432B !important;
}

/* HEAD */
body.page-people .aio-people-museum-head {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 18px !important;
    align-items: end !important;
    margin: 0 0 24px !important;
    padding: 0 0 20px !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people .aio-people-museum-head .aio-events-kicker {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people .aio-people-museum-head h2 {
    margin: 0 !important;
    max-width: 720px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.2vw, 58px) !important;
    line-height: .94 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-people .aio-people-museum-head > span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.52) !important;
}

/* CARDS */
body.page-people .aio-people-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 34px !important;
    align-items: stretch !important;
}

body.page-people .aio-people-museum-card,
body.page-people .aio-people-museum-join-card {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 465px !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98), rgba(246,239,228,.93) 58%, rgba(242,227,207,.82)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.page-people .aio-people-museum-card:hover,
body.page-people .aio-people-museum-join-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(169,67,43,.28) !important;
    box-shadow: 0 24px 58px rgba(7,23,44,.085) !important;
}

body.page-people .aio-people-museum-card__image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 240px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.26), transparent 15rem),
        linear-gradient(135deg, #07172C, #061F3E 58%, #101420) !important;
    color: #F2E3CF !important;
    text-decoration: none !important;
}

body.page-people .aio-people-museum-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.04), rgba(169,67,43,.12)),
        rgba(248,245,239,.05) !important;
    mix-blend-mode: multiply !important;
    opacity: .76 !important;
    transition: opacity .18s ease !important;
}

body.page-people .aio-people-museum-card:hover .aio-people-museum-card__image::after {
    opacity: .32 !important;
}

body.page-people .aio-people-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: sepia(.22) saturate(.78) contrast(1.03) brightness(.92) !important;
    transform: scale(1.01) !important;
    transition: filter .18s ease, transform .22s ease !important;
}

body.page-people .aio-people-museum-card:hover .aio-people-museum-card__image img {
    filter: sepia(.10) saturate(1.02) contrast(1.02) brightness(.98) !important;
    transform: scale(1.035) !important;
}

body.page-people .aio-people-museum-card__image span {
    position: relative !important;
    z-index: 2 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 48px !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
}

body.page-people .aio-people-museum-card__body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 19px 21px 21px !important;
}

body.page-people .aio-people-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-height: 0 !important;
    margin: 0 0 9px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people .aio-people-museum-card__meta span::before {
    content: "•" !important;
    margin: 0 6px 0 0 !important;
    color: rgba(169,67,43,.70) !important;
}

body.page-people .aio-people-museum-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(31px, 2.8vw, 42px) !important;
    line-height: .94 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-people .aio-people-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-weight: inherit !important;
}

body.page-people .aio-people-museum-card h3 a:hover {
    color: #A9432B !important;
}

body.page-people .aio-people-museum-card__description {
    min-height: 72px !important;
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.66) !important;
}

body.page-people .aio-people-museum-card__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-height: 28px !important;
    margin: auto 0 14px !important;
}

body.page-people .aio-people-museum-card__tags span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background: rgba(248,245,239,.62) !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body.page-people .aio-people-museum-card__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: auto !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* JOIN CARD */
body.page-people .aio-people-museum-join-card {
    justify-content: flex-end !important;
    padding: 24px !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.22), transparent 13rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    color: #F8F5EF !important;
}

body.page-people .aio-people-museum-join-card .aio-events-kicker {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
}

body.page-people .aio-people-museum-join-card h3 {
    margin: 0 0 14px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3vw, 46px) !important;
    line-height: .94 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
}

body.page-people .aio-people-museum-join-card p:not(.aio-events-kicker) {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-people .aio-people-museum-join-card a {
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
    text-decoration: none !important;
}

/* EMPTY */
body.page-people .aio-people-museum-empty {
    margin-top: 0 !important;
    padding: 24px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.72), rgba(248,245,239,.94)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
}

body.page-people .aio-people-museum-empty h2 {
    margin: 8px 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 38px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    color: #072D5B !important;
}

body.page-people .aio-people-museum-empty p:not(.aio-events-kicker) {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: rgba(45,45,45,.62) !important;
}

body.page-people .aio-people-museum-empty a {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* ADAPTIVE */
@media (max-width: 1180px) {
    body.page-people .aio-people-museum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    body.page-people .aio-events-museum-hero__inner,
    body.page-people .aio-people-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people .aio-people-museum-sidebar {
        position: static !important;
    }

    body.page-people .aio-people-museum-head {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body.page-people .aio-events-museum-hero {
        padding: 32px 0 38px !important;
    }

    body.page-people .aio-events-museum-hero h1 {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    body.page-people .aio-events-museum-hero__inner > p {
        font-size: 12px !important;
    }

    body.page-people .aio-people-museum-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.page-people .aio-people-museum-card,
    body.page-people .aio-people-museum-join-card {
        min-height: 0 !important;
    }

    body.page-people .aio-people-museum-card__image {
        height: 210px !important;
    }

    body.page-people .aio-people-museum-card h3 {
        font-size: 32px !important;
    }

    body.page-people .aio-people-museum-card__body {
        padding: 17px !important;
    }
}

/* ============================================================
   AIO PEOPLE — CATALOG TUNE 2
   Убираем лишнюю шапку каталога, выравниваем карточки с фильтром,
   поджимаем карточки, уменьшаем имена, доводим фильтр.
   ============================================================ */

/* Убираем блок "Каталог / Люди автомобильной исторической среды / N профилей" */
body.page-people .aio-people-museum-head {
    display: none !important;
}

/* Общая сетка: карточки начинаются ровно от верха фильтра */
body.page-people .aio-people-museum-layout {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 42px !important;
    align-items: start !important;
}

body.page-people .aio-people-museum-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
    align-items: stretch !important;
}

/* Фильтр: убираем ощущение формы из админки, делаем музейную карточку */
body.page-people .aio-people-museum-filter {
    padding: 20px 22px 22px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.11) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.76), rgba(248,245,239,.96)),
        #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
}

body.page-people .aio-people-museum-filter > form > .aio-events-kicker {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people .aio-people-museum-filter h2 {
    margin: 0 0 18px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 31px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-people .aio-people-museum-filter .aio-events-filter-group {
    display: grid !important;
    gap: 8px !important;
    padding-top: 15px !important;
    margin-top: 15px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people .aio-people-museum-filter .aio-events-filter-group:first-of-type {
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: 0 !important;
}

body.page-people .aio-people-museum-filter .aio-events-filter-group h3 {
    margin: 0 !important;
    width: 100% !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.56) !important;
}

body.page-people .aio-people-museum-filter input,
body.page-people .aio-people-museum-filter select {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 0 10px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.15) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.62), rgba(248,245,239,.82)),
        #F8F5EF !important;
    color: rgba(45,45,45,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55) !important;
}

body.page-people .aio-people-museum-filter input::placeholder {
    color: rgba(45,45,45,.42) !important;
}

body.page-people .aio-people-museum-filter input:focus,
body.page-people .aio-people-museum-filter select:focus {
    border-color: rgba(169,67,43,.55) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.55),
        0 0 0 3px rgba(169,67,43,.075) !important;
}

/* Кнопки фильтра */
body.page-people .aio-people-museum-filter__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-top: 17px !important;
    margin-top: 17px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people .aio-people-museum-filter__actions button,
body.page-people .aio-people-museum-filter__actions a {
    min-height: 31px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-people .aio-people-museum-filter__actions button {
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-people .aio-people-museum-filter__actions button:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
}

body.page-people .aio-people-museum-filter__actions a {
    border: 1px solid rgba(169,67,43,.32) !important;
    background: rgba(248,245,239,.66) !important;
    color: #A9432B !important;
}

/* Карточки людей: ниже, компактнее, без растянутого ощущения */
body.page-people .aio-people-museum-card,
body.page-people .aio-people-museum-join-card {
    min-height: 405px !important;
    border-radius: 0 !important;
}

body.page-people .aio-people-museum-card__image {
    height: 190px !important;
}

body.page-people .aio-people-museum-card__image::after {
    opacity: .72 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.05), rgba(169,67,43,.13)),
        rgba(248,245,239,.05) !important;
}

body.page-people .aio-people-museum-card:hover .aio-people-museum-card__image::after {
    opacity: .34 !important;
}

body.page-people .aio-people-museum-card__body {
    padding: 17px 19px 19px !important;
}

body.page-people .aio-people-museum-card__meta {
    margin: 0 0 8px !important;
    font-size: 8.5px !important;
    letter-spacing: .13em !important;
}

body.page-people .aio-people-museum-card h3 {
    margin: 0 0 10px !important;
    font-size: clamp(27px, 2.15vw, 34px) !important;
    line-height: .95 !important;
    letter-spacing: -.035em !important;
}

body.page-people .aio-people-museum-card__description {
    min-height: 58px !important;
    margin: 0 0 12px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

body.page-people .aio-people-museum-card__tags {
    min-height: 26px !important;
    margin: auto 0 12px !important;
    gap: 6px !important;
}

body.page-people .aio-people-museum-card__tags span {
    min-height: 23px !important;
    padding: 0 8px !important;
    font-size: 8px !important;
    letter-spacing: .075em !important;
}

body.page-people .aio-people-museum-card__link {
    font-size: 8.5px !important;
    letter-spacing: .14em !important;
}

/* Join card делаем не огромной плитой */
body.page-people .aio-people-museum-join-card {
    min-height: 405px !important;
    padding: 22px !important;
}

body.page-people .aio-people-museum-join-card h3 {
    font-size: clamp(30px, 2.4vw, 38px) !important;
}

body.page-people .aio-people-museum-join-card p:not(.aio-events-kicker) {
    font-size: 12px !important;
    line-height: 1.55 !important;
}

/* На больших экранах карточки не должны становиться башнями */
@media (min-width: 1181px) {
    body.page-people .aio-people-museum-card,
    body.page-people .aio-people-museum-join-card {
        max-height: 430px !important;
    }
}

/* Адаптив */
@media (max-width: 1180px) {
    body.page-people .aio-people-museum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.page-people .aio-people-museum-card__image {
        height: 200px !important;
    }
}

@media (max-width: 980px) {
    body.page-people .aio-people-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people .aio-people-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 680px) {
    body.page-people .aio-people-museum-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.page-people .aio-people-museum-card,
    body.page-people .aio-people-museum-join-card {
        min-height: 0 !important;
        max-height: none !important;
    }

    body.page-people .aio-people-museum-card__image {
        height: 205px !important;
    }

    body.page-people .aio-people-museum-card h3 {
        font-size: 30px !important;
    }
}

/* ============================================================
   AIO CATALOG PAPER BACKGROUND — EVENTS / BLOGS / PEOPLE
   Единая музейная светлая подложка: не плоский бежевый,
   а мягкий переход белый → бумага → тёплый бежевый.
   ============================================================ */

body.page-events .aio-events-museum-page,
body.page-blogs .aio-blogs-museum-page,
body.page-people .aio-people-museum-page,
body.page-people .aio-people-catalog {
    position: relative !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 88% 12%, rgba(200, 87, 38, .105), transparent 24rem),
        radial-gradient(circle at 12% 74%, rgba(255, 255, 255, .72), transparent 28rem),
        linear-gradient(
            112deg,
            #F8F5EF 0%,
            #F8F5EF 18%,
            #F6EFE4 54%,
            #F2E3CF 100%
        ) !important;
}

body.page-events .aio-events-museum-page::before,
body.page-blogs .aio-blogs-museum-page::before,
body.page-people .aio-people-museum-page::before,
body.page-people .aio-people-catalog::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: .42 !important;
    background:
        linear-gradient(90deg, rgba(255,255,255,.34), transparent 36%),
        radial-gradient(circle at 78% 30%, rgba(248,245,239,.72), transparent 22rem),
        radial-gradient(circle at 92% 88%, rgba(242,227,207,.34), transparent 26rem) !important;
}

body.page-events .aio-events-museum-page > .aio-container,
body.page-blogs .aio-blogs-museum-page > .aio-container,
body.page-people .aio-people-museum-page > .aio-container,
body.page-people .aio-people-catalog > .aio-container {
    position: relative !important;
    z-index: 1 !important;
}

/* Чтобы справа не было ощущения пустого ровного угла */
body.page-people .aio-people-museum-page,
body.page-people .aio-people-catalog {
    padding-bottom: clamp(74px, 8vw, 112px) !important;
}

/* Чуть смягчаем пустую область справа от карточек */
body.page-people .aio-people-museum-main,
body.page-people .aio-people-results {
    position: relative !important;
}

body.page-people .aio-people-museum-main::after,
body.page-people .aio-people-results::after {
    content: "" !important;
    position: absolute !important;
    right: -8% !important;
    bottom: -10% !important;
    width: 44% !important;
    height: 46% !important;
    pointer-events: none !important;
    z-index: -1 !important;
    background: radial-gradient(circle, rgba(255,255,255,.45), transparent 70%) !important;
}

/* На людях делаем фильтр и карточки частью бумажного слоя, а не отдельными островами */
body.page-people .aio-people-museum-filter,
body.page-people .aio-people-museum-card,
body.page-people .aio-people-museum-join-card {
    box-shadow: 0 18px 46px rgba(7,23,44,.05) !important;
}

/* Убираем слишком ровную бежевую стену на широких экранах */
@media (min-width: 1181px) {
    body.page-people .aio-people-museum-page,
    body.page-people .aio-people-catalog {
        background:
            radial-gradient(circle at 84% 8%, rgba(200,87,38,.10), transparent 26rem),
            radial-gradient(circle at 18% 72%, rgba(255,255,255,.72), transparent 30rem),
            linear-gradient(
                115deg,
                #F9F7F2 0%,
                #F8F5EF 22%,
                #F6EFE4 58%,
                #F2E3CF 100%
            ) !important;
    }
}


/* ============================================================
   AIO PEOPLE — PAPER BACKGROUND + FILTER ALIGN FINAL
   Убираем белый угол, поднимаем фильтр на уровень карточек.
   ============================================================ */

/* Светлая часть каталога: без белого угла, с мягким музейным переходом */
body.page-people .aio-people-museum-page,
body.page-people .aio-people-catalog {
    padding-top: clamp(46px, 4.8vw, 68px) !important;
    padding-bottom: clamp(76px, 8vw, 112px) !important;
    background:
        radial-gradient(circle at 86% 4%, rgba(169, 67, 43, .075), transparent 25rem),
        radial-gradient(circle at 12% 36%, rgba(255,255,255,.42), transparent 22rem),
        linear-gradient(
            112deg,
            #F8F5EF 0%,
            #F7F2EA 32%,
            #F6EFE4 63%,
            #F2E3CF 100%
        ) !important;
}

/* Убираем слишком яркую белую заливку, которая давала угол */
body.page-people .aio-people-museum-page::before,
body.page-people .aio-people-catalog::before {
    opacity: .22 !important;
    background:
        radial-gradient(circle at 78% 16%, rgba(242,227,207,.34), transparent 24rem),
        linear-gradient(90deg, rgba(255,255,255,.18), transparent 42%) !important;
}

/* Сетка каталога: фильтр и карточки стартуют с одной линии */
body.page-people .aio-people-museum-layout,
body.page-people .aio-people-catalog__layout {
    align-items: start !important;
    gap: clamp(36px, 4.4vw, 54px) !important;
}

/* Левая колонка без просадки вниз */
body.page-people .aio-people-museum-sidebar,
body.page-people .aio-people-filter {
    align-self: start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 96px !important;
}

/* Сам фильтр тоже без внутреннего визуального провала сверху */
body.page-people .aio-people-museum-filter,
body.page-people .aio-people-filter form {
    margin-top: 0 !important;
}

/* Правая колонка карточек без лишнего верхнего смещения */
body.page-people .aio-people-museum-main,
body.page-people .aio-people-results,
body.page-people .aio-people-museum-grid,
body.page-people .aio-people-grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Если старый стиль где-то тянет карточки вниз — обнуляем */
body.page-people .aio-people-museum-grid > *,
body.page-people .aio-people-grid > * {
    margin-top: 0 !important;
}

/* Фильтр чуть компактнее и аккуратнее */
body.page-people .aio-people-filter form,
body.page-people .aio-people-museum-filter {
    padding: 20px 22px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.68), rgba(248,245,239,.94)),
        #F8F5EF !important;
    box-shadow: 0 18px 46px rgba(7,23,44,.052) !important;
}

/* Заголовок фильтра */
body.page-people .aio-people-filter h2,
body.page-people .aio-people-museum-filter h2 {
    margin-top: 8px !important;
    margin-bottom: 16px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 34px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

/* Кикер фильтра */
body.page-people .aio-people-filter .aio-kicker,
body.page-people .aio-people-filter .aio-events-kicker,
body.page-people .aio-people-museum-filter .aio-kicker,
body.page-people .aio-people-museum-filter .aio-events-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* Подписи полей */
body.page-people .aio-people-filter label span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.58) !important;
}

/* Поля фильтра */
body.page-people .aio-people-filter input,
body.page-people .aio-people-filter select {
    min-height: 34px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.14) !important;
    background: rgba(248,245,239,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    color: #2D2D2D !important;
}

/* Кнопки фильтра */
body.page-people .aio-people-filter__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 18px !important;
}

body.page-people .aio-people-filter__actions button,
body.page-people .aio-people-filter__actions a {
    min-height: 34px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.page-people .aio-people-filter__actions button {
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-people .aio-people-filter__actions a {
    border: 1px solid rgba(169,67,43,.28) !important;
    background: rgba(248,245,239,.58) !important;
    color: #A9432B !important;
}

/* Мобильная версия */
@media (max-width: 980px) {
    body.page-people .aio-people-museum-page,
    body.page-people .aio-people-catalog {
        padding-top: 34px !important;
    }

    body.page-people .aio-people-museum-sidebar,
    body.page-people .aio-people-filter {
        position: static !important;
    }
}


/* ============================================================
   AIO PEOPLE — REAL CLASSES FINAL LOCK
   Причина правки:
   live /people использует aio-people-museum-*,
   а часть предыдущего финального слоя била по старым aio-people-*.
   Фиксируем реальные классы, убираем sticky-просадку фильтра
   и убираем белый угол бумажной подложки.
   ============================================================ */

/* Бумажный фон всей светлой части: без белого угла */
body.page-people .aio-main {
    background:
        radial-gradient(circle at 86% 10%, rgba(169, 67, 43, .075), transparent 24rem),
        linear-gradient(
            112deg,
            #F8F5EF 0%,
            #F7F2EA 30%,
            #F6EFE4 62%,
            #F2E3CF 100%
        ) !important;
}

body.page-people .aio-people-museum-page {
    position: relative !important;
    overflow: hidden !important;
    padding-top: clamp(34px, 3.8vw, 52px) !important;
    padding-bottom: clamp(76px, 8vw, 112px) !important;
    background:
        radial-gradient(circle at 88% 8%, rgba(169, 67, 43, .08), transparent 25rem),
        radial-gradient(circle at 20% 64%, rgba(248, 245, 239, .54), transparent 28rem),
        linear-gradient(
            112deg,
            #F8F5EF 0%,
            #F7F2EA 31%,
            #F6EFE4 63%,
            #F2E3CF 100%
        ) !important;
}

/* Старый псевдослой давал белую диагональ/угол */
body.page-people .aio-people-museum-page::before,
body.page-people .aio-people-museum-main::after {
    content: none !important;
    display: none !important;
}

/* Контейнер */
body.page-people .aio-people-museum-page > .aio-container {
    position: relative !important;
    z-index: 1 !important;
    max-width: 1240px !important;
}

/* Сетка: фильтр и карточки начинаются строго с одной линии */
body.page-people .aio-people-museum-layout {
    display: grid !important;
    grid-template-columns: 286px minmax(0, 1fr) !important;
    gap: clamp(34px, 4vw, 48px) !important;
    align-items: start !important;
}

/* Важное: sticky убираем, он и сдвигал фильтр вниз относительно карточек */
body.page-people .aio-people-museum-sidebar {
    position: static !important;
    top: auto !important;
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-people .aio-people-museum-main,
body.page-people .aio-people-museum-grid {
    margin: 0 !important;
    padding: 0 !important;
}

/* Заголовок каталога уже не нужен — три профиля убраны */
body.page-people .aio-people-museum-head {
    display: none !important;
}

/* Фильтр: музейная бумажная карточка */
body.page-people .aio-people-museum-filter {
    margin: 0 !important;
    padding: 20px 22px 22px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45, 45, 45, .105) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.62), rgba(248,245,239,.92)),
        #F8F5EF !important;
    box-shadow: 0 18px 44px rgba(7, 23, 44, .052) !important;
}

body.page-people .aio-people-museum-filter form {
    margin: 0 !important;
    padding: 0 !important;
}

body.page-people .aio-people-museum-filter > form > .aio-events-kicker {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people .aio-people-museum-filter h2 {
    margin: 0 0 16px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 32px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

/* Группы фильтра */
body.page-people .aio-people-museum-filter .aio-events-filter-group {
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people .aio-people-museum-filter .aio-events-filter-group:first-of-type {
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.page-people .aio-people-museum-filter .aio-events-filter-group + .aio-events-filter-group {
    margin-top: 14px !important;
}

body.page-people .aio-people-museum-filter .aio-events-filter-group h3 {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.58) !important;
}

body.page-people .aio-people-museum-filter input,
body.page-people .aio-people-museum-filter select {
    width: 100% !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.14) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.56), rgba(248,245,239,.78)),
        #F8F5EF !important;
    color: rgba(45,45,45,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55) !important;
}

body.page-people .aio-people-museum-filter input::placeholder {
    color: rgba(45,45,45,.42) !important;
}

body.page-people .aio-people-museum-filter input:focus,
body.page-people .aio-people-museum-filter select:focus {
    outline: none !important;
    border-color: rgba(169,67,43,.55) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.55),
        0 0 0 3px rgba(169,67,43,.075) !important;
}

/* Кнопки фильтра — реальные классы */
body.page-people .aio-people-museum-filter__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people .aio-people-museum-filter__actions button,
body.page-people .aio-people-museum-filter__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 31px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-people .aio-people-museum-filter__actions button {
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    cursor: pointer !important;
}

body.page-people .aio-people-museum-filter__actions button:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
}

body.page-people .aio-people-museum-filter__actions a {
    border: 1px solid rgba(169,67,43,.30) !important;
    background: rgba(248,245,239,.62) !important;
    color: #A9432B !important;
}

/* Карточки: компактнее, ниже не тянем */
body.page-people .aio-people-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

body.page-people .aio-people-museum-card,
body.page-people .aio-people-museum-join-card {
    overflow: hidden !important;
    min-height: 385px !important;
    max-height: 410px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.052) !important;
}

body.page-people .aio-people-museum-card__image {
    height: 178px !important;
}

body.page-people .aio-people-museum-card__image::after {
    opacity: .70 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.05), rgba(169,67,43,.13)),
        rgba(248,245,239,.05) !important;
}

body.page-people .aio-people-museum-card:hover .aio-people-museum-card__image::after {
    opacity: .34 !important;
}

body.page-people .aio-people-museum-card__body {
    padding: 16px 18px 18px !important;
}

body.page-people .aio-people-museum-card__meta {
    margin: 0 0 7px !important;
    font-size: 8px !important;
    letter-spacing: .13em !important;
}

body.page-people .aio-people-museum-card h3 {
    margin: 0 0 9px !important;
    font-size: clamp(25px, 1.9vw, 31px) !important;
    line-height: .96 !important;
    letter-spacing: -.035em !important;
}

body.page-people .aio-people-museum-card__description {
    min-height: 48px !important;
    margin: 0 0 10px !important;
    font-size: 11.5px !important;
    line-height: 1.48 !important;
}

body.page-people .aio-people-museum-card__tags {
    min-height: 24px !important;
    gap: 5px !important;
    margin: auto 0 11px !important;
}

body.page-people .aio-people-museum-card__tags span {
    min-height: 21px !important;
    padding: 0 7px !important;
    font-size: 7.5px !important;
    letter-spacing: .075em !important;
}

body.page-people .aio-people-museum-card__link {
    font-size: 8.5px !important;
    letter-spacing: .14em !important;
}

/* CTA-карточка */
body.page-people .aio-people-museum-join-card {
    padding: 22px !important;
}

body.page-people .aio-people-museum-join-card h3 {
    font-size: clamp(29px, 2.2vw, 36px) !important;
}

body.page-people .aio-people-museum-join-card p:not(.aio-events-kicker) {
    font-size: 12px !important;
    line-height: 1.55 !important;
}

/* Адаптив */
@media (max-width: 1180px) {
    body.page-people .aio-people-museum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    body.page-people .aio-people-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people .aio-people-museum-sidebar {
        position: static !important;
    }

    body.page-people .aio-people-museum-page {
        padding-top: 34px !important;
    }
}

@media (max-width: 680px) {
    body.page-people .aio-people-museum-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.page-people .aio-people-museum-card,
    body.page-people .aio-people-museum-join-card {
        min-height: 0 !important;
        max-height: none !important;
    }

    body.page-people .aio-people-museum-card__image {
        height: 205px !important;
    }

    body.page-people .aio-people-museum-card h3 {
        font-size: 30px !important;
    }
}


/* ============================================================
   AIO PEOPLE — PAGINATION
   Классическая музейная пагинация для каталога людей.
   Показывается только если профилей больше 30.
   ============================================================ */

body.page-people .aio-people-pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 34px 0 0 !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people .aio-people-pagination a,
body.page-people .aio-people-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 31px !important;
    min-height: 31px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(248,245,239,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.68) !important;
    text-decoration: none !important;
}

body.page-people .aio-people-pagination a:hover {
    border-color: rgba(169,67,43,.72) !important;
    background: rgba(169,67,43,.055) !important;
    color: #A9432B !important;
}

body.page-people .aio-people-pagination .is-active {
    border-color: #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-people .aio-people-pagination .is-disabled {
    opacity: .38 !important;
    pointer-events: none !important;
}

@media (max-width: 680px) {
    body.page-people .aio-people-pagination {
        justify-content: flex-start !important;
        margin-top: 26px !important;
    }
}

/* AIO BLOGS — FILTER ALIGN FIX */
body.page-blogs .aio-blogs-museum-layout {
    align-items: start !important;
}

body.page-blogs .aio-blogs-museum-sidebar {
    position: static !important;
    top: auto !important;
    align-self: start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-blogs .aio-blogs-museum-filter,
body.page-blogs .aio-events-filter-card {
    margin-top: 0 !important;
}

body.page-blogs .aio-blogs-museum-main,
body.page-blogs .aio-blogs-museum-grid,
body.page-blogs .aio-blogs-museum-head {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* AIO ABOUT — TODAY KICKER FIX */
body.page-about .aio-home-directions .aio-kicker,
body.page-about .aio-about-directions .aio-kicker,
body.page-about p.aio-kicker {
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
    margin: 0 0 18px !important;
}


/* ============================================================
   AIO CLUBS — CLEAN FINAL LOCK
   one clean source for /clubs
   ============================================================ */

@font-face {
    font-family: "AIO Cormorant";
    src: url("../fonts/CormorantGaramond-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AIO Cormorant";
    src: url("../fonts/CormorantGaramond-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AIO Montserrat";
    src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body.page-clubs .aio-main {
    background:
        radial-gradient(circle at 18% 0%, rgba(7,45,91,.045), transparent 34%),
        radial-gradient(circle at 82% 8%, rgba(169,67,43,.045), transparent 30%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 46%, #F2E3CF 100%) !important;
}

body.page-clubs .aio-clubs-museum-hero {
    padding: 54px 0 48px !important;
}

body.page-clubs .aio-clubs-clean-page {
    padding: 58px 0 90px !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(7,45,91,.035), transparent 34%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 48%, #F2E3CF 100%) !important;
}

body.page-clubs .aio-clubs-clean-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px !important;
    align-items: stretch !important;
}

body.page-clubs .aio-club-clean-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 520px !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98) 0%, rgba(246,239,228,.98) 50%, rgba(242,227,207,.98) 100%),
        #F2E3CF !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 44px rgba(32,24,18,.075) !important;
    overflow: hidden !important;
}

body.page-clubs .aio-club-clean-card__image {
    height: 230px !important;
    min-height: 230px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.54), rgba(238,228,210,.66)),
        radial-gradient(circle at 50% 30%, rgba(255,255,255,.78), rgba(242,227,207,.56) 42%, rgba(202,178,141,.24) 100%) !important;
    border-bottom: 1px solid rgba(7,45,91,.09) !important;
}

body.page-clubs .aio-club-clean-card__image img {
    max-width: 58% !important;
    max-height: 74% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: sepia(.08) saturate(.82) contrast(.94) brightness(.98) !important;
}

body.page-clubs .aio-club-clean-card__image span {
    width: 104px !important;
    height: 104px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(248,245,239,.78) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Cormorant, Georgia, serif !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: #072D5B !important;
}

body.page-clubs .aio-club-clean-card__body {
    padding: 27px 29px 29px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

body.page-clubs .aio-club-clean-card__kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
}

body.page-clubs .aio-club-clean-card h3 {
    margin: 0 0 16px !important;
}

body.page-clubs .aio-club-clean-card h3,
body.page-clubs .aio-club-clean-card h3 a {
    font-family: "AIO Cormorant", "Cormorant Garamond", Cormorant, Georgia, serif !important;
    font-size: clamp(30px, 2.5vw, 40px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
    color: #172536 !important;
    text-decoration: none !important;
}

body.page-clubs .aio-club-clean-card h3 a:hover {
    color: #A9432B !important;
}

body.page-clubs .aio-club-clean-card__text {
    margin: 0 0 20px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.74) !important;
}

body.page-clubs .aio-club-clean-card__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: auto 0 22px !important;
}

body.page-clubs .aio-club-clean-card__tags span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 6px 10px 5px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.065) !important;
    border: 1px solid rgba(7,45,91,.08) !important;
    color: rgba(7,45,91,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .1em !important;
}

body.page-clubs .aio-club-clean-card__link {
    align-self: flex-start !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .16em !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

body.page-clubs .aio-club-clean-card__link:hover {
    color: #072D5B !important;
}

body.page-clubs .aio-club-clean-card_join {
    justify-content: stretch !important;
    background:
        radial-gradient(circle at 18% 10%, rgba(169,67,43,.16), transparent 34%),
        linear-gradient(135deg, #111821 0%, #172536 62%, #0B1420 100%) !important;
    border: 1px solid rgba(248,245,239,.13) !important;
    box-shadow: 0 18px 44px rgba(7,20,32,.18) !important;
}

body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__body {
    padding: 31px 32px !important;
    justify-content: flex-start !important;
}

body.page-clubs .aio-club-clean-card_join h3,
body.page-clubs .aio-club-clean-card_join h3 a {
    color: #F8F5EF !important;
}

body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__text {
    color: rgba(248,245,239,.72) !important;
}

body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__link {
    color: #D7A083 !important;
}

body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__link:hover {
    color: #F8F5EF !important;
}

@media (max-width: 1100px) {
    body.page-clubs .aio-clubs-clean-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body.page-clubs .aio-club-clean-card {
        min-height: 0 !important;
    }

    body.page-clubs .aio-club-clean-card__image {
        height: 190px !important;
        min-height: 190px !important;
    }

    body.page-clubs .aio-club-clean-card__body {
        padding: 25px 22px 26px !important;
    }
}

/* ============================================================
   AIO ABOUT — TODAY KICKER FINAL FIX
   "Сегодня" above "Что такое АИО"
   ============================================================ */

body.page-about .aio-about-today-kicker,
body.page-about p.aio-about-today-kicker,
body.page-about .aio-events-kicker.aio-about-today-kicker {
    display: block !important;
    margin: 0 0 16px !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
}

/* страховка для старых about-блоков, если класс уже был другим */
body.page-about .aio-kicker,
body.page-about .aio-kicker_dark {
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
}

/* ============================================================
   AIO ABOUT — DIRECTIONS VISUAL KICKER FIX
   exact live class: .aio-directions-visual__kicker
   ============================================================ */

body.page-about .aio-directions-visual__kicker {
    display: block !important;
    margin: 0 0 16px !important;
    padding: 0 !important;

    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;

    color: #A9432B !important;
    opacity: 1 !important;
}

body.page-about .aio-directions-visual__head h2 {
    margin-top: 0 !important;
}

/* ============================================================
   AIO ABOUT — TODAY SOFT LABEL FINAL
   "Сегодня" is not a red kicker here: thin Montserrat label
   ============================================================ */

body.page-about .aio-directions-visual__kicker {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 0 !important;

    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 300 !important;

    text-transform: none !important;
    letter-spacing: 0 !important;

    color: rgba(45,45,45,.72) !important;
    opacity: 1 !important;
}

/* ============================================================
   AIO ABOUT — EXACT SOFT TODAY LABEL
   applied to exact added class in about.htm
   ============================================================ */

body.page-about .aio-directions-visual__head .aio-directions-visual__kicker.aio-directions-visual__kicker_soft {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 0 !important;

    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 300 !important;

    text-transform: none !important;
    letter-spacing: 0 !important;

    color: rgba(45,45,45,.72) !important;
    opacity: 1 !important;
}

/* ============================================================
   AIO TEAMS — FINAL HERO + FONT TUNE
   Hero reduced to blogs/events scale.
   Card titles use AIO Cormorant first and uppercase.
   ============================================================ */

body.page-teams {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

/* HERO — same family and scale logic as /blogs and /events */
body.page-teams .aio-events-museum-hero,
body.page-teams .aio-teams-museum-hero {
    margin-bottom: 0 !important;
}

body.page-teams .aio-events-museum-hero__inner h1,
body.page-teams .aio-teams-museum-hero h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.2vw, 56px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-teams .aio-events-museum-hero__inner > p,
body.page-teams .aio-teams-museum-hero p:not(.aio-events-kicker) {
    max-width: 560px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

body.page-teams .aio-events-kicker,
body.page-teams .aio-events-kicker_light {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

/* SECTION */
body.page-teams .aio-clubs-directory {
    padding-top: 54px !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(200,87,38,.08), transparent 34%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 54%, #F2E3CF 100%) !important;
}

body.page-teams .aio-clubs-directory .aio-section-head {
    display: none !important;
}

body.page-teams .aio-clubs-directory-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

/* CARD */
body.page-teams .aio-club-directory-card {
    position: relative !important;
    display: block !important;
    min-height: 330px !important;
    overflow: hidden !important;

    background:
        linear-gradient(135deg, rgba(255,255,255,.62) 0%, rgba(248,245,239,.98) 42%, rgba(242,227,207,.78) 100%) !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    border-radius: 0 !important;

    box-shadow:
        0 22px 58px rgba(7,45,91,.10),
        inset 0 1px 0 rgba(255,255,255,.78) !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease !important;
}

body.page-teams .aio-club-directory-card::before {
    display: none !important;
    content: none !important;
}

body.page-teams .aio-club-directory-card::after {
    content: "АИО" !important;
    position: absolute !important;
    right: 30px !important;
    bottom: 26px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 58px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -.04em !important;

    color: rgba(7,45,91,.055) !important;
    pointer-events: none !important;
}

body.page-teams .aio-club-directory-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(169,67,43,.34) !important;
    box-shadow:
        0 30px 76px rgba(7,45,91,.15),
        inset 0 1px 0 rgba(255,255,255,.82) !important;
}

/* IMAGE / SIGN */
body.page-teams .aio-club-directory-card__logo {
    position: absolute !important;
    top: 34px !important;
    right: 30px !important;
    z-index: 2 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 104px !important;
    height: 104px !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;

    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.54), transparent 42%),
        linear-gradient(145deg, #072D5B 0%, #061F3E 100%) !important;
    border: 1px solid rgba(242,227,207,.48) !important;
    border-radius: 50% !important;
    text-decoration: none !important;

    box-shadow: 0 14px 32px rgba(7,45,91,.18) !important;
}

body.page-teams .aio-club-directory-card__logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
}

body.page-teams .aio-club-directory-card__logo span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 50% !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .03em !important;
    color: #F2E3CF !important;
}

/* CARD TEXT */
body.page-teams .aio-club-directory-card__body {
    position: relative !important;
    z-index: 1 !important;

    display: flex !important;
    flex-direction: column !important;
    min-height: 330px !important;
    padding: 58px 160px 34px 34px !important;
}

body.page-teams .aio-club-directory-card__type {
    margin: 0 0 18px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
}

body.page-teams .aio-club-directory-card h3,
body.page-teams .aio-club-directory-card h3 a {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    color: #072D5B !important;
    text-decoration: none !important;
}

body.page-teams .aio-club-directory-card h3 {
    margin: 0 0 18px !important;
    max-width: 520px !important;

    font-size: clamp(27px, 2.45vw, 36px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
}

body.page-teams .aio-club-directory-card__text {
    margin: 0 0 24px !important;
    max-width: 560px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    font-weight: 400 !important;

    color: rgba(45,45,45,.76) !important;
}

body.page-teams .aio-club-directory-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: auto 0 24px !important;
}

body.page-teams .aio-club-directory-card__meta span {
    display: inline-flex !important;
    align-items: center !important;

    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;

    color: rgba(7,45,91,.64) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body.page-teams .aio-club-directory-card__meta span + span::before {
    content: "·" !important;
    margin: 0 8px 0 0 !important;
    color: rgba(169,67,43,.72) !important;
}

body.page-teams .aio-club-directory-card__link {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;

    color: #072D5B !important;
    text-decoration: none !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.page-teams .aio-club-directory-card__link::after {
    content: "→" !important;
    margin-left: 10px !important;
    color: #A9432B !important;
}

@media (max-width: 980px) {
    body.page-teams .aio-clubs-directory-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    body.page-teams .aio-events-museum-hero__inner h1,
    body.page-teams .aio-teams-museum-hero h1 {
        font-size: 38px !important;
    }

    body.page-teams .aio-events-museum-hero__inner > p,
    body.page-teams .aio-teams-museum-hero p:not(.aio-events-kicker) {
        font-size: 12px !important;
    }

    body.page-teams .aio-club-directory-card {
        min-height: 0 !important;
    }

    body.page-teams .aio-club-directory-card__logo {
        top: 28px !important;
        right: 24px !important;
        width: 78px !important;
        height: 78px !important;
    }

    body.page-teams .aio-club-directory-card__body {
        min-height: 0 !important;
        padding: 52px 24px 30px !important;
    }

    body.page-teams .aio-club-directory-card h3 {
        padding-right: 86px !important;
        font-size: 28px !important;
    }
}

/* ============================================================
   AIO PUBLISHING — THREE CARD EDITORIAL LOCK
   No filter. Three cards per row. Cold aged paper.
   Softer photo veil, normal color on hover.
   Compact title.
   ============================================================ */

body.page-publishing {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

/* HERO */
body.page-publishing .aio-events-museum-hero,
body.page-publishing .aio-publishing-museum-hero {
    margin-bottom: 0 !important;
}

body.page-publishing .aio-events-museum-hero__inner h1,
body.page-publishing .aio-publishing-museum-hero h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.2vw, 56px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-publishing .aio-events-museum-hero__inner > p,
body.page-publishing .aio-publishing-museum-hero p:not(.aio-events-kicker) {
    max-width: 640px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

body.page-publishing .aio-events-kicker,
body.page-publishing .aio-events-kicker_light,
body.page-publishing .aio-kicker,
body.page-publishing .aio-kicker_dark,
body.page-publishing .aio-edition-card__label {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* PAGE BACKGROUND — cold white beige, not yellow */
body.page-publishing .aio-publishing-page-rebuilt {
    padding-top: 58px !important;
    padding-bottom: 96px !important;

    background:
        radial-gradient(circle at 86% 2%, rgba(169,67,43,.038), transparent 34%),
        radial-gradient(circle at 10% 16%, rgba(7,45,91,.026), transparent 34%),
        linear-gradient(180deg, #FBFAF6 0%, #F8F5EF 42%, #EFE7D9 100%) !important;
}

body.page-publishing .aio-publishing-page-rebuilt .aio-container {
    max-width: 1320px !important;
}

/* NO FILTER */
body.page-publishing .aio-editions-layout {
    display: block !important;
}

body.page-publishing .aio-editions-sidebar,
body.page-publishing .aio-editions-content__head {
    display: none !important;
}

body.page-publishing .aio-editions-content {
    width: 100% !important;
    min-width: 0 !important;
}

/* GRID — 3 cards */
body.page-publishing .aio-editions-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

/* CARD — publisher folio, cold aged paper */
body.page-publishing .aio-edition-card {
    position: relative !important;
    display: grid !important;
    grid-template-rows: 260px auto !important;
    min-width: 0 !important;
    min-height: 410px !important;
    overflow: hidden !important;

    border-radius: 0 !important;
    background:
        linear-gradient(180deg, #F8F4EC 0%, #F1E9DC 100%) !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    box-shadow:
        0 20px 46px rgba(7,45,91,.075),
        inset 0 1px 0 rgba(255,255,255,.74) !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease !important;
}

body.page-publishing .aio-edition-card[hidden] {
    display: none !important;
}

body.page-publishing .aio-edition-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 13px !important;
    z-index: 0 !important;
    border: 1px solid rgba(7,45,91,.075) !important;
    pointer-events: none !important;
}

body.page-publishing .aio-edition-card::after {
    display: none !important;
    content: none !important;
}

body.page-publishing .aio-edition-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(169,67,43,.25) !important;
    box-shadow:
        0 30px 68px rgba(7,45,91,.115),
        inset 0 1px 0 rgba(255,255,255,.80) !important;
}

/* IMAGE — softer museum veil */
body.page-publishing .aio-edition-card__image {
    position: relative !important;
    z-index: 1 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    margin: 18px 18px 0 !important;
    overflow: hidden !important;

    background:
        linear-gradient(135deg, rgba(7,45,91,.055), rgba(169,67,43,.035)),
        #FDFBF7 !important;

    color: #072D5B !important;
    text-decoration: none !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;

    box-shadow:
        0 1px 0 rgba(255,255,255,.78),
        0 10px 24px rgba(7,45,91,.055) !important;
}

body.page-publishing .aio-edition-card__image::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.04) 0%, rgba(239,231,217,.12) 100%),
        rgba(242,227,207,.035) !important;
    pointer-events: none !important;
}

body.page-publishing .aio-edition-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    background:
        linear-gradient(135deg, rgba(7,45,91,.055), rgba(169,67,43,.045)) !important;
    mix-blend-mode: multiply !important;
    opacity: .18 !important;
    pointer-events: none !important;
    transition: opacity .3s ease !important;
}

body.page-publishing .aio-edition-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;

    filter: saturate(.88) sepia(.025) contrast(.98) brightness(1.01) !important;
    transition: transform .35s ease, filter .35s ease !important;
}

body.page-publishing .aio-edition-card:hover .aio-edition-card__image::after {
    opacity: .06 !important;
}

body.page-publishing .aio-edition-card:hover .aio-edition-card__image img {
    transform: scale(1.025) !important;
    filter: saturate(1.02) sepia(0) contrast(1.02) brightness(1.01) !important;
}

/* BODY — only type, title, author, year */
body.page-publishing .aio-edition-card__body {
    position: relative !important;
    z-index: 1 !important;

    display: flex !important;
    flex-direction: column !important;
    min-height: 150px !important;
    padding: 20px 22px 22px !important;
}

body.page-publishing .aio-edition-card__label {
    margin: 0 0 10px !important;
}

body.page-publishing .aio-edition-card h3,
body.page-publishing .aio-edition-card h3 a {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    color: #072D5B !important;
    text-decoration: none !important;
}

body.page-publishing .aio-edition-card h3 {
    margin: 0 0 12px !important;

    font-size: clamp(19px, 1.55vw, 24px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
}

body.page-publishing .aio-edition-card h3 a:hover {
    color: #A9432B !important;
}

/* Hide text/subtitle/button even if old markup appears */
body.page-publishing .aio-edition-card__subtitle,
body.page-publishing .aio-edition-card__text,
body.page-publishing .aio-edition-card__bottom,
body.page-publishing .aio-edition-card__link {
    display: none !important;
}

body.page-publishing .aio-edition-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: auto !important;

    color: rgba(7,45,91,.58) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
}

body.page-publishing .aio-edition-card__meta span + span::before {
    content: "·" !important;
    margin-right: 6px !important;
    color: rgba(169,67,43,.72) !important;
}

/* EMPTY STATES */
body.page-publishing .aio-editions-empty,
body.page-publishing .aio-editions-empty-filter {
    padding: 28px !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    color: rgba(45,45,45,.72) !important;
}

body.page-publishing .aio-editions-empty h3,
body.page-publishing .aio-editions-empty-filter h3 {
    margin: 0 0 8px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 30px !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;

    color: #072D5B !important;
}

body.page-publishing .aio-editions-empty p,
body.page-publishing .aio-editions-empty-filter p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    body.page-publishing .aio-editions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    body.page-publishing .aio-editions-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-publishing .aio-edition-card {
        min-height: 0 !important;
        grid-template-rows: 230px auto !important;
    }

    body.page-publishing .aio-edition-card__image {
        height: 210px !important;
        min-height: 210px !important;
        max-height: 210px !important;
    }

    body.page-publishing .aio-edition-card__body {
        min-height: 0 !important;
    }

    body.page-publishing .aio-edition-card h3 {
        font-size: 22px !important;
    }
}


/* ============================================================
   AIO PROJECTS — DIRECTIONS PAGE LOCK
   /projects uses approved events/blogs hero and direction cards
   ============================================================ */

body.page-projects {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    background: #F8F5EF !important;
}

body.page-projects .aio-events-museum-hero,
body.page-projects .aio-projects-museum-hero {
    margin-bottom: 0 !important;
}

body.page-projects .aio-events-museum-hero__inner h1,
body.page-projects .aio-projects-museum-hero h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.2vw, 56px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-projects .aio-events-museum-hero__inner > p,
body.page-projects .aio-projects-museum-hero p:not(.aio-events-kicker) {
    max-width: 580px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

body.page-projects .aio-events-kicker,
body.page-projects .aio-events-kicker_light {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-projects .aio-projects-directions {
    margin: 0 !important;
    padding: clamp(58px, 6vw, 86px) 0 clamp(76px, 7vw, 110px) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(169,67,43,.055), transparent 34%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 58%, #F2E3CF 100%) !important;
}

body.page-projects .aio-projects-directions .aio-container {
    max-width: 1180px !important;
}

body.page-projects .aio-projects-directions__head {
    margin-bottom: clamp(30px, 4vw, 46px) !important;
}

body.page-projects .aio-projects-directions__head .aio-directions-visual__all {
    display: none !important;
}

body.page-projects .aio-projects-directions .aio-directions-visual__kicker {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-projects .aio-projects-directions .aio-directions-visual__head h2 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(42px, 5vw, 72px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
    color: #072D5B !important;
}

body.page-projects .aio-projects-directions__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px !important;
    align-items: stretch !important;
}

body.page-projects .aio-projects-direction-card {
    min-height: 430px !important;
    border-radius: 0 !important;
    background: rgba(248,245,239,.92) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    box-shadow:
        0 22px 54px rgba(7,45,91,.09),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
    overflow: hidden !important;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease !important;
}

body.page-projects .aio-projects-direction-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(169,67,43,.30) !important;
    box-shadow:
        0 30px 70px rgba(7,45,91,.13),
        inset 0 1px 0 rgba(255,255,255,.78) !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
    height: 210px !important;
    min-height: 210px !important;
    background: #061F3E !important;
    overflow: hidden !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(6,31,62,.16) 0%, rgba(6,31,62,.20) 100%),
        linear-gradient(90deg, rgba(169,67,43,.10) 0%, rgba(248,245,239,.04) 48%, rgba(7,45,91,.16) 100%) !important;
    mix-blend-mode: multiply !important;
    opacity: .82 !important;
}

body.page-projects .aio-projects-direction-card:hover .aio-direction-visual-card__image::after {
    opacity: .50 !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.78) contrast(.96) brightness(.92) !important;
    transition:
        transform .35s ease,
        filter .35s ease !important;
}

body.page-projects .aio-projects-direction-card:hover .aio-direction-visual-card__image img {
    transform: scale(1.035) !important;
    filter: saturate(.96) contrast(1) brightness(.98) !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__body {
    min-height: 220px !important;
    padding: 24px 24px 26px !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98) 0%, rgba(246,239,228,.96) 100%) !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__number {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-projects .aio-projects-direction-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 2.5vw, 42px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__text {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.72) !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__link {
    margin-top: auto !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
}

body.page-projects .aio-projects-empty {
    max-width: 720px !important;
    padding: 34px 36px !important;
    background: rgba(248,245,239,.94) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    box-shadow: 0 22px 54px rgba(7,45,91,.08) !important;
}

body.page-projects .aio-projects-empty h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 36px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #072D5B !important;
}

body.page-projects .aio-projects-empty p:not(.aio-events-kicker) {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: rgba(45,45,45,.72) !important;
}

@media (max-width: 1040px) {
    body.page-projects .aio-projects-directions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    body.page-projects .aio-projects-directions__grid {
        grid-template-columns: 1fr !important;
    }

    body.page-projects .aio-projects-direction-card {
        min-height: 0 !important;
    }

    body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
        height: 220px !important;
        min-height: 220px !important;
    }
}

/* ============================================================
   AIO PROJECTS — CARD TUNE AFTER REVIEW
   Hero stays approved. Cards closer to About directions.
   ============================================================ */

/* Убираем лишний заголовок блока под hero */
body.page-projects .aio-projects-directions__head,
body.page-projects .aio-projects-directions .aio-directions-visual__head {
    display: none !important;
}

/* Более спокойный холодный фон секции */
body.page-projects .aio-projects-directions {
    padding: clamp(46px, 5vw, 70px) 0 clamp(68px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(7,45,91,.035), transparent 34%),
        radial-gradient(circle at 88% 6%, rgba(169,67,43,.035), transparent 32%),
        linear-gradient(180deg, #F8F5EF 0%, #F6F1E8 54%, #F1E8DC 100%) !important;
}

/* Сетка чуть плотнее */
body.page-projects .aio-projects-directions__grid {
    gap: 22px !important;
}

/* Карточки ниже и благороднее, без лишней тяжести */
body.page-projects .aio-projects-direction-card {
    min-height: 370px !important;
    background:
        linear-gradient(180deg, rgba(250,248,243,.98) 0%, rgba(246,241,232,.96) 100%) !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    box-shadow:
        0 18px 46px rgba(7,45,91,.075),
        inset 0 1px 0 rgba(255,255,255,.76) !important;
}

/* Фото ниже по высоте, карточка компактнее */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
    height: 178px !important;
    min-height: 178px !important;
    max-height: 178px !important;
}

/* Фильтр фото мягкий, не грязный */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image::after {
    background:
        linear-gradient(180deg, rgba(6,31,62,.10) 0%, rgba(6,31,62,.18) 100%),
        linear-gradient(90deg, rgba(169,67,43,.07) 0%, rgba(248,245,239,.03) 48%, rgba(7,45,91,.12) 100%) !important;
    opacity: .66 !important;
}

body.page-projects .aio-projects-direction-card:hover .aio-direction-visual-card__image::after {
    opacity: .38 !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image img {
    filter: saturate(.82) contrast(.97) brightness(.94) !important;
}

body.page-projects .aio-projects-direction-card:hover .aio-direction-visual-card__image img {
    filter: saturate(.98) contrast(1) brightness(.99) !important;
}

/* Текстовый блок: опускаем заголовок ниже фото и делаем компактнее */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__body {
    min-height: 192px !important;
    padding: 22px 22px 24px !important;
    background:
        linear-gradient(180deg, rgba(250,248,243,.98) 0%, rgba(246,241,232,.96) 100%) !important;
}

/* Номера возвращаем и фиксируем */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__number {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.72) !important;
}

/* Заголовок как на About: красивый, но компактнее и ниже */
body.page-projects .aio-projects-direction-card h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(25px, 2.05vw, 34px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
}

/* Описание компактнее */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__text {
    margin: 0 0 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.56 !important;
    color: rgba(45,45,45,.70) !important;
}

/* Ссылка как служебный акцент */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__link {
    margin-top: auto !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* Меньше скачков на маленьких экранах */
@media (max-width: 1040px) {
    body.page-projects .aio-projects-direction-card h3 {
        font-size: clamp(25px, 3vw, 32px) !important;
    }
}

@media (max-width: 720px) {
    body.page-projects .aio-projects-directions {
        padding-top: 42px !important;
    }

    body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
}

/* ============================================================
   AIO PROJECTS — CARD LAYOUT FIX
   Photo 2/3, text below image, aged paper card.
   ============================================================ */

body.page-projects .aio-projects-directions {
    padding-top: clamp(48px, 5vw, 72px) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(7,45,91,.028), transparent 34%),
        radial-gradient(circle at 86% 8%, rgba(169,67,43,.030), transparent 34%),
        linear-gradient(180deg, #FAF8F3 0%, #F7F2EA 48%, #EFE5D8 100%) !important;
}

body.page-projects .aio-projects-direction-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 405px !important;
    height: 405px !important;
    overflow: hidden !important;

    background:
        radial-gradient(circle at 12% 0%, rgba(169,67,43,.035), transparent 38%),
        linear-gradient(180deg, rgba(250,248,243,.98) 0%, rgba(244,237,226,.98) 100%) !important;

    border: 1px solid rgba(7,45,91,.13) !important;
    box-shadow:
        0 18px 44px rgba(7,45,91,.075),
        inset 0 1px 0 rgba(255,255,255,.74),
        inset 0 -1px 0 rgba(169,67,43,.045) !important;
}

/* Фото занимает примерно 2/3 карточки и не накрывает текст */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
    position: relative !important;
    flex: 0 0 265px !important;
    display: block !important;
    width: 100% !important;
    height: 265px !important;
    min-height: 265px !important;
    max-height: 265px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: saturate(.78) contrast(.95) brightness(.91) sepia(.08) !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(6,31,62,.14) 0%, rgba(6,31,62,.24) 100%),
        linear-gradient(90deg, rgba(169,67,43,.10) 0%, rgba(248,245,239,.035) 48%, rgba(7,45,91,.12) 100%) !important;
    mix-blend-mode: multiply !important;
    opacity: .72 !important;
}

body.page-projects .aio-projects-direction-card:hover .aio-direction-visual-card__image img {
    filter: saturate(.95) contrast(.98) brightness(.97) sepia(.03) !important;
    transform: scale(1.025) !important;
}

body.page-projects .aio-projects-direction-card:hover .aio-direction-visual-card__image::after {
    opacity: .45 !important;
}

/* Текст строго под фото, без налезания */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__body {
    position: relative !important;
    z-index: 3 !important;
    flex: 1 1 auto !important;

    display: flex !important;
    flex-direction: column !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 18px 20px 20px !important;

    transform: none !important;
    top: auto !important;
    bottom: auto !important;

    background:
        radial-gradient(circle at 12% 0%, rgba(169,67,43,.035), transparent 44%),
        linear-gradient(180deg, rgba(250,248,243,.99) 0%, rgba(244,237,226,.98) 100%) !important;
}

/* Номер — как маленькая служебная метка */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__number {
    display: block !important;
    margin: 0 0 8px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;

    color: rgba(7,45,91,.62) !important;
}

/* Заголовок меньше, компактнее, чтобы не ломался и не залезал */
body.page-projects .aio-projects-direction-card h3 {
    display: block !important;
    margin: 0 0 8px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(21px, 1.65vw, 27px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;

    color: #072D5B !important;
}

/* Описание компактнее */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__text {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;

    margin: 0 0 12px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.48 !important;
    font-weight: 400 !important;

    color: rgba(45,45,45,.68) !important;
}

/* Ссылка вниз карточки */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__link {
    margin-top: auto !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
}

/* Чуть плотнее сетка */
body.page-projects .aio-projects-directions__grid {
    gap: 22px !important;
}

/* Планшет */
@media (max-width: 1040px) {
    body.page-projects .aio-projects-direction-card {
        height: 400px !important;
        min-height: 400px !important;
    }

    body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
        flex-basis: 250px !important;
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }

    body.page-projects .aio-projects-direction-card h3 {
        font-size: clamp(21px, 2.6vw, 27px) !important;
    }
}

/* Мобильная */
@media (max-width: 720px) {
    body.page-projects .aio-projects-direction-card {
        height: auto !important;
        min-height: 0 !important;
    }

    body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
        flex-basis: 230px !important;
        height: 230px !important;
        min-height: 230px !important;
        max-height: 230px !important;
    }
}

/* ============================================================
   AIO PROJECTS — CARD HEIGHT + TITLE FIT FIX
   More room for text, shorter image, titles fit cleaner.
   ============================================================ */

body.page-projects .aio-projects-direction-card {
    height: 430px !important;
    min-height: 430px !important;
}

/* Фото чуть короче, чтобы текстовый блок получил воздух */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
    flex: 0 0 238px !important;
    height: 238px !important;
    min-height: 238px !important;
    max-height: 238px !important;
}

/* Текстовый блок длиннее и стабильнее */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__body {
    flex: 1 1 auto !important;
    min-height: 192px !important;
    padding: 18px 20px 20px !important;
}

/* Номер компактный */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__number {
    margin-bottom: 7px !important;
    font-size: 9px !important;
}

/* Заголовок чуть меньше и плотнее: должен помещаться спокойнее */
body.page-projects .aio-projects-direction-card h3 {
    margin-bottom: 8px !important;
    font-size: clamp(19px, 1.42vw, 24px) !important;
    line-height: 1.02 !important;
    letter-spacing: .045em !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}

/* Для длинных названий даём нормальную ширину и не даём залезать наверх */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__body h3,
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__body p,
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__body span {
    position: relative !important;
    z-index: 4 !important;
}

/* Описание чуть плотнее, чтобы карточка не распухала */
body.page-projects .aio-projects-direction-card .aio-direction-visual-card__text {
    -webkit-line-clamp: 3 !important;
    margin-bottom: 12px !important;
    font-size: 12px !important;
    line-height: 1.46 !important;
}

/* Чуть более состаренная, но не жёлтая бумага */
body.page-projects .aio-projects-direction-card {
    background:
        radial-gradient(circle at 10% 0%, rgba(169,67,43,.030), transparent 42%),
        radial-gradient(circle at 92% 8%, rgba(7,45,91,.025), transparent 36%),
        linear-gradient(180deg, rgba(250,248,243,.99) 0%, rgba(245,239,230,.98) 100%) !important;
}

body.page-projects .aio-projects-direction-card .aio-direction-visual-card__body {
    background:
        radial-gradient(circle at 12% 0%, rgba(169,67,43,.028), transparent 42%),
        linear-gradient(180deg, rgba(250,248,243,.99) 0%, rgba(245,239,230,.98) 100%) !important;
}

/* Если экран широкий — карточкам можно дать чуть больше ширины за счёт контейнера */
body.page-projects .aio-projects-directions .aio-container {
    max-width: 1240px !important;
}

body.page-projects .aio-projects-directions__grid {
    gap: 24px !important;
}

/* Планшет */
@media (max-width: 1040px) {
    body.page-projects .aio-projects-direction-card {
        height: 420px !important;
        min-height: 420px !important;
    }

    body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
        flex-basis: 232px !important;
        height: 232px !important;
        min-height: 232px !important;
        max-height: 232px !important;
    }

    body.page-projects .aio-projects-direction-card h3 {
        font-size: clamp(20px, 2.4vw, 25px) !important;
    }
}

/* Мобильная */
@media (max-width: 720px) {
    body.page-projects .aio-projects-direction-card {
        height: auto !important;
        min-height: 0 !important;
    }

    body.page-projects .aio-projects-direction-card .aio-direction-visual-card__image {
        flex-basis: 220px !important;
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }

    body.page-projects .aio-projects-direction-card h3 {
        font-size: 25px !important;
    }
}

/* ============================================================
   AIO GALLERY — MUSEUM PHOTOARCHIVE REBUILD
   ============================================================ */

body.page-gallery {
    background:
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 34%, #F2EDE4 100%) !important;
}

body.page-gallery .aio-gallery-museum-page {
    padding: clamp(46px, 5vw, 72px) 0 clamp(54px, 6vw, 88px) !important;
    background:
        radial-gradient(circle at 9% 18%, rgba(7,45,91,.045) 0%, rgba(7,45,91,0) 34%),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 44%, #F1EAE0 100%) !important;
}

body.page-gallery .aio-gallery-museum-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: clamp(28px, 4vw, 46px) !important;
    align-items: start !important;
}

body.page-gallery .aio-gallery-museum-sidebar {
    position: sticky !important;
    top: 106px !important;
    align-self: start !important;
}

body.page-gallery .aio-gallery-museum-filter {
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid rgba(7,45,91,.105) !important;
    border-radius: 26px !important;
    padding: 24px 22px 22px !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.055) !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-kicker {
    margin: 0 0 20px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-filter form {
    display: grid !important;
    gap: 15px !important;
    margin: 0 !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-filter-group {
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
}

body.page-gallery .aio-gallery-museum-filter label {
    color: rgba(7,45,91,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-filter select {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: #FBFAF7 !important;
    color: #072D5B !important;
    padding: 0 15px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    outline: none !important;
}

body.page-gallery .aio-gallery-museum-filter__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    margin-top: 5px !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button,
body.page-gallery .aio-gallery-museum-filter__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button {
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-filter__actions a {
    border: 1px solid rgba(169,67,43,.42) !important;
    background: transparent !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

body.page-gallery .aio-gallery-museum-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 382px !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    text-decoration: none !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(246,241,232,.94) 100%) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow:
        0 24px 58px rgba(7,23,44,.075),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.page-gallery .aio-gallery-museum-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,0) 48%),
        radial-gradient(circle at 12% 92%, rgba(169,67,43,.055), transparent 11rem) !important;
    opacity: .86 !important;
}

body.page-gallery .aio-gallery-museum-card__image {
    position: relative !important;
    display: block !important;
    height: 248px !important;
    min-height: 248px !important;
    overflow: hidden !important;
    background: #07172C !important;
    text-decoration: none !important;
    z-index: 1 !important;
}

body.page-gallery .aio-gallery-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) contrast(.96) brightness(.88) sepia(.10) !important;
    transform: scale(1.012) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.05) 0%, rgba(7,23,44,.20) 100%),
        linear-gradient(90deg, rgba(7,45,91,.16), rgba(169,67,43,.07)) !important;
    mix-blend-mode: multiply !important;
    opacity: .78 !important;
    transition: opacity .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card:hover .aio-gallery-museum-card__image img {
    filter: saturate(.96) contrast(1) brightness(.98) sepia(.02) !important;
    transform: scale(1.045) !important;
}

body.page-gallery .aio-gallery-museum-card:hover .aio-gallery-museum-card__image::after {
    opacity: .28 !important;
}

body.page-gallery .aio-gallery-museum-card__image span {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    color: rgba(248,245,239,.76) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    background:
        radial-gradient(circle at 80% 18%, rgba(169,67,43,.16), transparent 9rem),
        linear-gradient(135deg, #07172C 0%, #072D5B 100%) !important;
}

body.page-gallery .aio-gallery-museum-card__body {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 134px !important;
    padding: 18px 20px 19px !important;
}

body.page-gallery .aio-gallery-museum-card__meta {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-card h3 {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(26px, 2.35vw, 36px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-card__count {
    margin: auto 0 0 !important;
    padding-top: 13px !important;
    color: rgba(7,45,91,.56) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

body.page-gallery .aio-gallery-museum-submit {
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.17), transparent 9rem),
        linear-gradient(135deg, #07172C 0%, #072D5B 100%) !important;
    border-color: rgba(242,227,207,.14) !important;
}

body.page-gallery .aio-gallery-museum-submit__inner {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 100% !important;
    padding: 34px 34px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner p {
    margin: 0 0 14px !important;
    color: rgba(248,245,239,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-submit__inner h3 {
    color: #F8F5EF !important;
    max-width: 360px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner span {
    display: block !important;
    max-width: 390px !important;
    margin: 15px 0 0 !important;
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
}

body.page-gallery .aio-gallery-museum-submit__inner div {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-top: 22px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.22) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a:first-child {
    border-color: #A9432B !important;
    background: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-note {
    max-width: 980px !important;
    margin: 34px 0 0 346px !important;
    padding: 18px 22px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(7,45,91,.09) !important;
    background: rgba(255,255,255,.64) !important;
}

body.page-gallery .aio-gallery-museum-note p {
    margin: 0 !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.62 !important;
}

body.page-gallery .aio-gallery-museum-empty {
    padding: 36px !important;
    border-radius: 28px !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
}

body.page-gallery .aio-gallery-museum-empty h2 {
    margin: 0 0 12px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 48px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body.page-gallery .aio-gallery-museum-empty p:not(.aio-events-kicker) {
    max-width: 560px !important;
    color: rgba(45,45,45,.64) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

body.page-gallery .aio-gallery-museum-empty a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    margin-top: 18px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

@media (max-width: 980px) {
    body.page-gallery .aio-gallery-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-sidebar {
        position: static !important;
    }

    body.page-gallery .aio-gallery-museum-note {
        margin-left: 0 !important;
    }
}

@media (max-width: 760px) {
    body.page-gallery .aio-gallery-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-card__image {
        height: 220px !important;
        min-height: 220px !important;
    }
}


/* ============================================================
   AIO GALLERY — PHOTO OVERLAY MUSEUM LOCK
   Full-photo album cards, white overlay typography,
   rectangular filter, legal note under filter.
   ============================================================ */

body.page-gallery .aio-gallery-museum-page {
    background:
        radial-gradient(circle at 14% 10%, rgba(169,67,43,.055), transparent 280px),
        linear-gradient(180deg, #F8F5EF 0%, #F2E9DC 100%) !important;
    padding: clamp(42px, 5vw, 70px) 0 clamp(56px, 6vw, 86px) !important;
}

body.page-gallery .aio-gallery-museum-layout {
    display: grid !important;
    grid-template-columns: 292px minmax(0, 1fr) !important;
    gap: clamp(28px, 3.6vw, 48px) !important;
    align-items: start !important;
}

body.page-gallery .aio-gallery-museum-sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: start !important;
}

body.page-gallery .aio-gallery-museum-filter {
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98), rgba(239,231,217,.94)) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.075) !important;
    padding: 24px 24px 22px !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-kicker {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-filter form {
    display: grid !important;
    gap: 15px !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-filter-group {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.page-gallery .aio-gallery-museum-filter label {
    display: block !important;
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .16em !important;
    color: rgba(7,45,91,.62) !important;
}

body.page-gallery .aio-gallery-museum-filter select {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.15) !important;
    background: rgba(255,255,255,.62) !important;
    padding: 0 13px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    color: #072D5B !important;
    outline: none !important;
}

body.page-gallery .aio-gallery-museum-filter__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin-top: 2px !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button,
body.page-gallery .aio-gallery-museum-filter__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    border-radius: 0 !important;
    padding: 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button {
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-filter__actions a {
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(248,245,239,.58) !important;
    color: #072D5B !important;
}

body.page-gallery .aio-gallery-museum-note {
    margin: 18px 0 0 !important;
    padding: 16px 17px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(169,67,43,.18) !important;
    background: rgba(248,245,239,.58) !important;
}

body.page-gallery .aio-gallery-museum-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.65 !important;
    color: rgba(45,45,45,.62) !important;
}

body.page-gallery .aio-gallery-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
}

body.page-gallery .aio-gallery-museum-card {
    position: relative !important;
    overflow: hidden !important;
    min-height: 420px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background: #07172C !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.105) !important;
    isolation: isolate !important;
}

body.page-gallery .aio-gallery-museum-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.04) 0%, rgba(7,23,44,.08) 38%, rgba(7,23,44,.78) 100%),
        linear-gradient(90deg, rgba(7,45,91,.30) 0%, rgba(7,45,91,.05) 54%, rgba(169,67,43,.16) 100%) !important;
    pointer-events: none !important;
    transition: opacity .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(248,245,239,.12), transparent 170px),
        linear-gradient(0deg, rgba(242,227,207,.12), transparent 44%) !important;
    mix-blend-mode: soft-light !important;
    opacity: .56 !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-museum-card:hover::before {
    opacity: .82 !important;
}

body.page-gallery .aio-gallery-museum-card__image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #07172C !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) contrast(.98) brightness(.86) sepia(.04) !important;
    transform: scale(1.012) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card:hover .aio-gallery-museum-card__image img {
    filter: saturate(.96) contrast(1.02) brightness(.94) sepia(.015) !important;
    transform: scale(1.045) !important;
}

body.page-gallery .aio-gallery-museum-card__image span {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-gallery .aio-gallery-museum-card__body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 4 !important;
    padding: 26px 28px 28px !important;
    background: transparent !important;
}

body.page-gallery .aio-gallery-museum-card__meta {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: rgba(242,227,207,.86) !important;
}

body.page-gallery .aio-gallery-museum-card h3 {
    margin: 0 !important;
    max-width: 94% !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(31px, 3vw, 46px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #F8F5EF !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.30) !important;
}

body.page-gallery .aio-gallery-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
}

body.page-gallery .aio-gallery-museum-card__count {
    margin: 13px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-gallery .aio-gallery-museum-submit {
    display: flex !important;
    align-items: flex-end !important;
    min-height: 420px !important;
    padding: 0 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.72), rgba(7,45,91,.96)),
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.22), transparent 180px) !important;
}

body.page-gallery .aio-gallery-museum-submit__inner {
    position: relative !important;
    z-index: 4 !important;
    padding: 30px 30px 32px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner p {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: rgba(242,227,207,.80) !important;
}

body.page-gallery .aio-gallery-museum-submit__inner h3 {
    margin: 0 0 13px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 2.8vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-submit__inner span {
    display: block !important;
    max-width: 420px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
    color: rgba(248,245,239,.74) !important;
}

body.page-gallery .aio-gallery-museum-submit__inner div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 20px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 15px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a:first-child {
    background: rgba(169,67,43,.92) !important;
    border-color: rgba(169,67,43,.92) !important;
}

body.page-gallery .aio-gallery-museum-empty {
    padding: 34px !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background: rgba(248,245,239,.76) !important;
}

@media (max-width: 1080px) {
    body.page-gallery .aio-gallery-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 820px) {
    body.page-gallery .aio-gallery-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-card,
    body.page-gallery .aio-gallery-museum-submit {
        min-height: 380px !important;
    }

    body.page-gallery .aio-gallery-museum-card h3 {
        font-size: 34px !important;
    }
}


/* ============================================================
   AIO GALLERY — FILTER PILLS + SQUARE CARDS LOCK
   Filter as events/people: kicker + Найти + pills.
   Square photo cards, smaller white overlay typography.
   ============================================================ */

body.page-gallery .aio-gallery-museum-page {
    background:
        radial-gradient(circle at 86% 10%, rgba(169,67,43,.055), transparent 320px),
        linear-gradient(180deg, #F8F5EF 0%, #F2E9DC 100%) !important;
    padding: clamp(42px, 5vw, 70px) 0 clamp(58px, 6vw, 88px) !important;
}

body.page-gallery .aio-gallery-museum-layout {
    display: grid !important;
    grid-template-columns: 292px minmax(0, 1fr) !important;
    gap: clamp(28px, 3.6vw, 48px) !important;
    align-items: start !important;
}

body.page-gallery .aio-gallery-museum-sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: start !important;
}

body.page-gallery .aio-gallery-museum-filter {
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98), rgba(239,231,217,.94)) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.075) !important;
    padding: 24px 24px 22px !important;
}

body.page-gallery .aio-gallery-museum-filter > .aio-events-kicker {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-filter h2 {
    margin: 0 0 22px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 38px !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-gallery .aio-gallery-museum-filter form {
    display: grid !important;
    gap: 21px !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-filter-group {
    margin: 0 !important;
    padding: 0 0 20px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(7,45,91,.09) !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-filter-group:last-of-type {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

body.page-gallery .aio-gallery-filter-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

body.page-gallery .aio-gallery-filter-pills > p,
body.page-gallery .aio-gallery-filter-year label {
    flex: 0 0 100% !important;
    margin: 0 0 3px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .16em !important;
    color: rgba(7,45,91,.62) !important;
}

body.page-gallery .aio-gallery-filter-pills label {
    display: inline-flex !important;
    margin: 0 !important;
    cursor: pointer !important;
}

body.page-gallery .aio-gallery-filter-pills input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-filter-pills span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 33px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(248,245,239,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.68) !important;
    transition: color .18s ease, border-color .18s ease, background .18s ease !important;
}

body.page-gallery .aio-gallery-filter-pills label:hover span {
    border-color: rgba(169,67,43,.48) !important;
    color: #A9432B !important;
    background: rgba(248,245,239,.88) !important;
}

body.page-gallery .aio-gallery-filter-pills input:checked + span {
    border-color: #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-filter-year select {
    width: 100% !important;
    min-height: 40px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.15) !important;
    background: rgba(255,255,255,.62) !important;
    padding: 0 13px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    color: #072D5B !important;
    outline: none !important;
}

body.page-gallery .aio-gallery-museum-filter__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin-top: 2px !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button,
body.page-gallery .aio-gallery-museum-filter__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    border-radius: 0 !important;
    padding: 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button {
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-filter__actions a {
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(248,245,239,.58) !important;
    color: #072D5B !important;
}

body.page-gallery .aio-gallery-museum-note {
    margin: 18px 0 0 !important;
    padding: 16px 17px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(169,67,43,.18) !important;
    background: rgba(248,245,239,.58) !important;
}

body.page-gallery .aio-gallery-museum-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.65 !important;
    color: rgba(45,45,45,.62) !important;
}

body.page-gallery .aio-gallery-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
}

body.page-gallery .aio-gallery-museum-card {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background: #07172C !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.105) !important;
    isolation: isolate !important;
}

body.page-gallery .aio-gallery-museum-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.02) 0%, rgba(7,23,44,.08) 38%, rgba(7,23,44,.78) 100%),
        linear-gradient(90deg, rgba(7,45,91,.25) 0%, rgba(7,45,91,.03) 54%, rgba(169,67,43,.13) 100%) !important;
    pointer-events: none !important;
    transition: opacity .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(248,245,239,.10), transparent 170px),
        linear-gradient(0deg, rgba(242,227,207,.10), transparent 44%) !important;
    mix-blend-mode: soft-light !important;
    opacity: .54 !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-museum-card__image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #07172C !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) contrast(.98) brightness(.86) sepia(.04) !important;
    transform: scale(1.012) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card:hover .aio-gallery-museum-card__image img {
    filter: saturate(.96) contrast(1.02) brightness(.94) sepia(.015) !important;
    transform: scale(1.04) !important;
}

body.page-gallery .aio-gallery-museum-card__body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 4 !important;
    padding: 22px 24px 24px !important;
    background: transparent !important;
}

body.page-gallery .aio-gallery-museum-card__meta {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: rgba(242,227,207,.86) !important;
}

body.page-gallery .aio-gallery-museum-card h3 {
    margin: 0 !important;
    max-width: 96% !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(22px, 2.1vw, 29px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #F8F5EF !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.30) !important;
}

body.page-gallery .aio-gallery-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
}

body.page-gallery .aio-gallery-museum-card__count {
    margin: 11px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-gallery .aio-gallery-museum-submit {
    display: flex !important;
    align-items: flex-end !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    padding: 0 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.72), rgba(7,45,91,.96)),
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.22), transparent 180px) !important;
}

body.page-gallery .aio-gallery-museum-submit__inner {
    position: relative !important;
    z-index: 4 !important;
    padding: 28px 28px 30px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner p {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: rgba(242,227,207,.80) !important;
}

body.page-gallery .aio-gallery-museum-submit__inner h3 {
    margin: 0 0 13px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(24px, 2.2vw, 32px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-submit__inner span {
    display: block !important;
    max-width: 390px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
    color: rgba(248,245,239,.74) !important;
}

body.page-gallery .aio-gallery-museum-submit__inner div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin-top: 18px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 13px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a:first-child {
    background: rgba(169,67,43,.92) !important;
    border-color: rgba(169,67,43,.92) !important;
}

@media (max-width: 1080px) {
    body.page-gallery .aio-gallery-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 820px) {
    body.page-gallery .aio-gallery-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-card,
    body.page-gallery .aio-gallery-museum-submit {
        aspect-ratio: auto !important;
        min-height: 360px !important;
    }

    body.page-gallery .aio-gallery-museum-card h3 {
        font-size: 28px !important;
    }
}


/* ============================================================
   AIO GALLERY — EVENTS FILTER SCALE FIX
   Filter pills copied in spirit from /events: compact graphite,
   small technical text, not stretched. Albums must remain visible.
   ============================================================ */

body.page-gallery .aio-gallery-museum-layout {
    grid-template-columns: 292px minmax(0, 1fr) !important;
    gap: clamp(28px, 3.4vw, 46px) !important;
}

body.page-gallery .aio-gallery-museum-sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: start !important;
}

body.page-gallery .aio-gallery-museum-filter {
    border-radius: 0 !important;
    padding: 24px 24px 22px !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.98), rgba(241,233,220,.95)) !important;
    box-shadow: 0 18px 42px rgba(7,23,44,.065) !important;
}

body.page-gallery .aio-gallery-museum-filter > .aio-events-kicker {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-filter h2 {
    margin: 0 0 20px !important;
    padding: 0 0 17px !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 37px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
}

body.page-gallery .aio-gallery-museum-filter form {
    display: block !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-filter-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 7px 7px !important;
    margin: 0 0 20px !important;
    padding: 0 0 19px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(7,45,91,.09) !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-filter-group:last-of-type {
    margin-bottom: 0 !important;
}

body.page-gallery .aio-gallery-filter-pills > p,
body.page-gallery .aio-gallery-filter-year label {
    flex: 0 0 100% !important;
    margin: 0 0 5px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .16em !important;
    color: rgba(7,45,91,.58) !important;
}

body.page-gallery .aio-gallery-filter-pills label {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
}

body.page-gallery .aio-gallery-filter-pills input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-filter-pills span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 29px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,23,44,.13) !important;
    background: rgba(248,245,239,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .115em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: rgba(7,23,44,.67) !important;
    box-shadow: none !important;
    transition: color .16s ease, border-color .16s ease, background .16s ease !important;
}

body.page-gallery .aio-gallery-filter-pills label:hover span {
    border-color: rgba(169,67,43,.48) !important;
    background: rgba(248,245,239,.94) !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-filter-pills input:checked + span {
    border-color: #07172C !important;
    background: #07172C !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-filter-pills input:checked + span:hover {
    border-color: #07172C !important;
    background: #07172C !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-filter-year {
    display: block !important;
}

body.page-gallery .aio-gallery-filter-year select {
    width: 100% !important;
    min-height: 36px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,23,44,.14) !important;
    background: rgba(255,255,255,.64) !important;
    padding: 0 11px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1 !important;
    color: #07172C !important;
    outline: none !important;
}

body.page-gallery .aio-gallery-museum-filter__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin-top: 19px !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button,
body.page-gallery .aio-gallery-museum-filter__actions a {
    min-height: 36px !important;
    border-radius: 0 !important;
    padding: 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button {
    border: 1px solid #07172C !important;
    background: #07172C !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-filter__actions a {
    border: 1px solid rgba(7,23,44,.15) !important;
    background: rgba(248,245,239,.64) !important;
    color: #07172C !important;
}

/* юридическая плашка — под фильтром, не после всей сетки */
body.page-gallery .aio-gallery-museum-note {
    margin: 18px 0 0 !important;
    padding: 16px 17px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(169,67,43,.18) !important;
    background: rgba(248,245,239,.60) !important;
}

body.page-gallery .aio-gallery-museum-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.65 !important;
    color: rgba(45,45,45,.62) !important;
}

/* карточки: возвращаем альбомы перед submit, убираем артефактные точки */
body.page-gallery .aio-gallery-museum-main {
    min-width: 0 !important;
}

body.page-gallery .aio-gallery-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
    list-style: none !important;
}

body.page-gallery .aio-gallery-museum-grid::before,
body.page-gallery .aio-gallery-museum-grid::after {
    content: none !important;
    display: none !important;
}

body.page-gallery .aio-gallery-museum-card {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background: #07172C !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.105) !important;
    isolation: isolate !important;
}

body.page-gallery .aio-gallery-museum-card__image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #07172C !important;
}

body.page-gallery .aio-gallery-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: saturate(.74) contrast(.98) brightness(.84) sepia(.04) !important;
    transform: scale(1.012) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card:hover .aio-gallery-museum-card__image img {
    filter: saturate(.96) contrast(1.02) brightness(.94) sepia(.015) !important;
    transform: scale(1.04) !important;
}

body.page-gallery .aio-gallery-museum-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.01) 0%, rgba(7,23,44,.08) 36%, rgba(7,23,44,.80) 100%),
        linear-gradient(90deg, rgba(7,23,44,.28), rgba(7,23,44,.04) 56%, rgba(169,67,43,.12)) !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-museum-card__body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 4 !important;
    padding: 22px 24px 24px !important;
    background: transparent !important;
}

body.page-gallery .aio-gallery-museum-card__meta {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.8px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .145em !important;
    text-transform: uppercase !important;
    color: rgba(242,227,207,.86) !important;
}

body.page-gallery .aio-gallery-museum-card h3 {
    margin: 0 !important;
    max-width: 96% !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(20px, 1.75vw, 26px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.015em !important;
    color: #F8F5EF !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.30) !important;
}

body.page-gallery .aio-gallery-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
}

body.page-gallery .aio-gallery-museum-card__count {
    margin: 10px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-gallery .aio-gallery-museum-submit {
    order: 999 !important;
}

@media (max-width: 1080px) {
    body.page-gallery .aio-gallery-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 820px) {
    body.page-gallery .aio-gallery-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-card {
        aspect-ratio: auto !important;
        min-height: 360px !important;
    }
}


/* ============================================================
   AIO GALLERY — COMPACT REAL FILTER OPTIONS
   Real available options only; compact expanding pill groups.
   ============================================================ */

body.page-gallery .aio-gallery-museum-layout {
    grid-template-columns: 292px minmax(0, 1fr) !important;
    gap: clamp(30px, 3.6vw, 48px) !important;
    align-items: start !important;
}

body.page-gallery .aio-gallery-museum-sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: start !important;
}

body.page-gallery .aio-gallery-museum-filter {
    border-radius: 0 !important;
    padding: 24px 24px 22px !important;
    border: 1px solid rgba(7,23,44,.13) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.97), rgba(241,233,220,.92)) !important;
    box-shadow: 0 18px 42px rgba(7,23,44,.055) !important;
}

body.page-gallery .aio-gallery-museum-filter > .aio-events-kicker {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-filter h2 {
    margin: 0 0 20px !important;
    padding: 0 0 17px !important;
    border-bottom: 1px solid rgba(7,23,44,.10) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 36px !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #07172C !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-filter-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 7px 7px !important;
    margin: 0 0 18px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid rgba(7,23,44,.09) !important;
}

body.page-gallery .aio-gallery-filter-pills > p,
body.page-gallery .aio-gallery-filter-year label {
    flex: 0 0 100% !important;
    margin: 0 0 4px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .16em !important;
    color: rgba(7,23,44,.58) !important;
}

body.page-gallery .aio-gallery-filter-pills label {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
}

body.page-gallery .aio-gallery-filter-pills input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-filter-pills span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 27px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,23,44,.14) !important;
    background: rgba(248,245,239,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .112em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: rgba(7,23,44,.68) !important;
    transition: color .16s ease, border-color .16s ease, background .16s ease !important;
}

body.page-gallery .aio-gallery-filter-pills label:hover span {
    border-color: rgba(169,67,43,.52) !important;
    color: #A9432B !important;
    background: rgba(248,245,239,.96) !important;
}

body.page-gallery .aio-gallery-filter-pills input:checked + span {
    border-color: #07172C !important;
    background: #07172C !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-filter-year {
    display: block !important;
}

body.page-gallery .aio-gallery-filter-year select {
    width: 100% !important;
    min-height: 34px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,23,44,.14) !important;
    background: rgba(255,255,255,.62) !important;
    padding: 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    color: #07172C !important;
    outline: none !important;
}

body.page-gallery .aio-gallery-museum-filter__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin-top: 18px !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button,
body.page-gallery .aio-gallery-museum-filter__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    border-radius: 0 !important;
    padding: 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button {
    border: 1px solid #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-filter__actions a {
    border: 1px solid rgba(169,67,43,.52) !important;
    background: rgba(248,245,239,.72) !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button:hover,
body.page-gallery .aio-gallery-museum-filter__actions a:hover {
    border-color: #C85726 !important;
    background: #C85726 !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-note {
    margin: 18px 0 0 !important;
    padding: 16px 17px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(169,67,43,.18) !important;
    background: rgba(248,245,239,.60) !important;
}

body.page-gallery .aio-gallery-museum-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.65 !important;
    color: rgba(45,45,45,.62) !important;
}

body.page-gallery .aio-gallery-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
}

body.page-gallery .aio-gallery-museum-card {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,23,44,.12) !important;
    background: #07172C !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.10) !important;
    isolation: isolate !important;
}

body.page-gallery .aio-gallery-museum-card__image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #07172C !important;
}

body.page-gallery .aio-gallery-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: saturate(.74) contrast(.98) brightness(.84) sepia(.04) !important;
    transform: scale(1.012) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card:hover .aio-gallery-museum-card__image img {
    filter: saturate(.96) contrast(1.02) brightness(.94) sepia(.015) !important;
    transform: scale(1.04) !important;
}

body.page-gallery .aio-gallery-museum-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.00) 0%, rgba(7,23,44,.08) 34%, rgba(7,23,44,.82) 100%),
        linear-gradient(90deg, rgba(7,23,44,.28), rgba(7,23,44,.03) 58%, rgba(169,67,43,.10)) !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-museum-card__body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 4 !important;
    padding: 22px 24px 24px !important;
    background: transparent !important;
}

body.page-gallery .aio-gallery-museum-card__meta {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.6px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .145em !important;
    text-transform: uppercase !important;
    color: rgba(242,227,207,.86) !important;
}

body.page-gallery .aio-gallery-museum-card h3 {
    margin: 0 !important;
    max-width: 96% !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(20px, 1.72vw, 25px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.015em !important;
    color: #F8F5EF !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.30) !important;
}

body.page-gallery .aio-gallery-museum-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
}

body.page-gallery .aio-gallery-museum-card__count {
    margin: 10px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-gallery .aio-gallery-museum-submit {
    order: 999 !important;
}

@media (max-width: 1080px) {
    body.page-gallery .aio-gallery-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 820px) {
    body.page-gallery .aio-gallery-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-card {
        aspect-ratio: auto !important;
        min-height: 360px !important;
    }
}


/* ============================================================
   AIO GALLERY — FINAL PHOTO RESTORE LOCK
   Albums are in HTML. This block neutralizes previous gallery
   experiments, restores album photos, compact event-like filter,
   and keeps submit card last.
   ============================================================ */

body.page-gallery .aio-gallery-museum-page {
    padding: clamp(46px, 5vw, 72px) 0 clamp(58px, 6vw, 90px) !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.045), transparent 280px),
        radial-gradient(circle at 86% 18%, rgba(7,45,91,.035), transparent 320px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 44%, #F2E9DC 100%) !important;
}

body.page-gallery .aio-gallery-museum-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: clamp(28px, 3.8vw, 48px) !important;
    align-items: start !important;
}

body.page-gallery .aio-gallery-museum-sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: start !important;
}

/* filter — closer to events, but compact */
body.page-gallery .aio-gallery-museum-filter {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background:
        linear-gradient(180deg, rgba(251,250,247,.98), rgba(241,233,220,.94)) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.07) !important;
    padding: 23px 23px 22px !important;
}

body.page-gallery .aio-gallery-museum-filter > .aio-events-kicker {
    margin: 0 0 7px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-filter h2 {
    margin: 0 0 19px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 39px !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-gallery .aio-gallery-museum-filter form {
    display: grid !important;
    gap: 18px !important;
    margin: 0 !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-filter-group {
    display: block !important;
    margin: 0 !important;
    padding: 17px 0 0 !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-gallery .aio-gallery-filter-pills > p,
body.page-gallery .aio-gallery-filter-year label {
    display: block !important;
    margin: 0 0 10px !important;
    color: rgba(7,45,91,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-filter-pills label {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 6px 8px 0 !important;
    padding: 0 !important;
    vertical-align: top !important;
}

body.page-gallery .aio-gallery-filter-pills input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-filter-pills span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: rgba(251,250,247,.72) !important;
    color: rgba(7,45,91,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: 0 7px 18px rgba(7,23,44,.035) !important;
    cursor: pointer !important;
}

body.page-gallery .aio-gallery-filter-pills label:hover span {
    border-color: rgba(169,67,43,.55) !important;
    color: #A9432B !important;
    background: rgba(248,245,239,.92) !important;
}

body.page-gallery .aio-gallery-filter-pills input:checked + span {
    border-color: #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-filter-year select {
    width: 100% !important;
    min-height: 36px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(255,255,255,.62) !important;
    color: #072D5B !important;
    padding: 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    outline: none !important;
}

body.page-gallery .aio-gallery-museum-filter__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin-top: 2px !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button,
body.page-gallery .aio-gallery-museum-filter__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    border-radius: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button {
    border: 1px solid #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-filter__actions a {
    border: 1px solid rgba(169,67,43,.46) !important;
    background: rgba(255,255,255,.36) !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button:hover,
body.page-gallery .aio-gallery-museum-filter__actions a:hover {
    transform: translateY(-1px) !important;
}

/* grid — remove accidental decorative pseudo-elements */
body.page-gallery .aio-gallery-museum-grid {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

body.page-gallery .aio-gallery-museum-grid::before,
body.page-gallery .aio-gallery-museum-grid::after {
    content: none !important;
    display: none !important;
}

/* photo album cards — full photo with bottom smoke and white typography */
body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) {
    position: relative !important;
    display: block !important;
    min-height: 342px !important;
    height: 342px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background: #07172C !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.105) !important;
    isolation: isolate !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit)::after {
    content: none !important;
    display: none !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit)::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.03) 0%, rgba(7,23,44,.12) 42%, rgba(7,23,44,.82) 100%),
        linear-gradient(90deg, rgba(7,45,91,.26) 0%, rgba(7,45,91,.04) 54%, rgba(169,67,43,.14) 100%) !important;
    transition: opacity .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit):hover::before {
    opacity: .74 !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #07172C !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: saturate(.78) contrast(.96) brightness(.82) sepia(.12) !important;
    transform: scale(1.012) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit):hover .aio-gallery-museum-card__image img {
    filter: saturate(.96) contrast(1) brightness(.94) sepia(.03) !important;
    transform: scale(1.045) !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__image::after {
    content: none !important;
    display: none !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    display: block !important;
    min-height: 0 !important;
    padding: 0 26px 24px !important;
    background: transparent !important;
}

body.page-gallery .aio-gallery-museum-card__meta {
    margin: 0 0 10px !important;
    color: rgba(248,245,239,.76) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) h3 {
    max-width: 92% !important;
    margin: 0 !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(24px, 2.15vw, 34px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .012em !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 16px rgba(0,0,0,.26) !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-card__count {
    margin: 13px 0 0 !important;
    padding: 0 !important;
    color: rgba(248,245,239,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

/* submit card — always last, same geometry */
body.page-gallery .aio-gallery-museum-submit {
    order: 999 !important;
    position: relative !important;
    display: flex !important;
    min-height: 342px !important;
    height: 342px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(169,67,43,.18), transparent 9rem),
        linear-gradient(135deg, #07172C 0%, #072D5B 100%) !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.105) !important;
}

body.page-gallery .aio-gallery-museum-submit::before,
body.page-gallery .aio-gallery-museum-submit::after {
    content: none !important;
    display: none !important;
}

body.page-gallery .aio-gallery-museum-submit__inner {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 100% !important;
    padding: 32px 34px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner p {
    margin: 0 0 14px !important;
    color: rgba(248,245,239,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-submit__inner h3 {
    max-width: 360px !important;
    margin: 0 !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(27px, 2.35vw, 38px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-submit__inner span {
    display: block !important;
    max-width: 390px !important;
    margin: 16px 0 0 !important;
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

body.page-gallery .aio-gallery-museum-submit__inner div {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-top: 22px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 0 15px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a:first-child {
    border-color: #A9432B !important;
    background: #A9432B !important;
}

/* remove legal note if old standalone block appears */
body.page-gallery .aio-gallery-museum-note {
    display: none !important;
}

@media (max-width: 980px) {
    body.page-gallery .aio-gallery-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 760px) {
    body.page-gallery .aio-gallery-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit),
    body.page-gallery .aio-gallery-museum-submit {
        min-height: 320px !important;
        height: 320px !important;
    }
}

/* ============================================================
   AIO GALLERY — TWO LARGE CARDS FINAL TUNE
   Two columns only. No beige box behind cards. Album cards larger.
   Keeps full-photo overlay style and compact event-like filter.
   ============================================================ */

body.page-gallery .aio-gallery-museum-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(169,67,43,.032), transparent 300px),
        radial-gradient(circle at 90% 16%, rgba(7,45,91,.025), transparent 340px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 48%, #F2E9DC 100%) !important;
}

body.page-gallery .aio-gallery-museum-main,
body.page-gallery .aio-blogs-museum-main.aio-gallery-museum-main {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.page-gallery .aio-gallery-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 22px !important;
    align-items: stretch !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page-gallery .aio-gallery-museum-grid::before,
body.page-gallery .aio-gallery-museum-grid::after {
    content: none !important;
    display: none !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit),
body.page-gallery .aio-gallery-museum-submit {
    width: 100% !important;
    min-height: 372px !important;
    height: 372px !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 42px rgba(7,23,44,.095) !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: saturate(.78) contrast(.97) brightness(.84) sepia(.09) !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit)::before {
    background:
        linear-gradient(180deg, rgba(7,23,44,.02) 0%, rgba(7,23,44,.08) 38%, rgba(7,23,44,.80) 100%),
        linear-gradient(90deg, rgba(7,45,91,.22) 0%, rgba(7,45,91,.03) 58%, rgba(169,67,43,.10) 100%) !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__body {
    padding: 0 24px 24px !important;
}

body.page-gallery .aio-gallery-museum-card__meta {
    font-size: 8px !important;
    letter-spacing: .15em !important;
    margin-bottom: 9px !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) h3 {
    max-width: 92% !important;
    font-size: clamp(25px, 2.08vw, 33px) !important;
    line-height: .96 !important;
    letter-spacing: .005em !important;
}

body.page-gallery .aio-gallery-museum-card__count {
    margin-top: 12px !important;
    font-size: 8.5px !important;
    letter-spacing: .14em !important;
}

body.page-gallery .aio-gallery-museum-submit {
    order: 999 !important;
}

body.page-gallery .aio-gallery-museum-filter {
    border-radius: 0 !important;
}

body.page-gallery .aio-gallery-filter-pills span {
    min-height: 27px !important;
    padding: 0 12px !important;
    font-size: 8px !important;
    letter-spacing: .115em !important;
    color: rgba(7,23,44,.76) !important;
    border-color: rgba(7,23,44,.17) !important;
}

body.page-gallery .aio-gallery-filter-pills input:checked + span {
    background: #07172C !important;
    border-color: #07172C !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-filter-pills label:hover span {
    border-color: rgba(169,67,43,.62) !important;
    color: #A9432B !important;
}

@media (max-width: 1080px) {
    body.page-gallery .aio-gallery-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 760px) {
    body.page-gallery .aio-gallery-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit),
    body.page-gallery .aio-gallery-museum-submit {
        min-height: 330px !important;
        height: 330px !important;
    }
}


/* ============================================================
   AIO GALLERY — BUTTONS + SUBMIT CARD FINAL TUNE
   Gallery filter actions unified with people/events rounded logic.
   Submit card made graphite, editorial, closer to people join card.
   ============================================================ */

body.page-gallery .aio-gallery-museum-filter__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 4px !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button,
body.page-gallery .aio-gallery-museum-filter__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 118px !important;
    min-height: 36px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button {
    border: 1px solid #07172C !important;
    background: #07172C !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-filter__actions a {
    border: 1px solid rgba(169,67,43,.42) !important;
    background: rgba(255,255,255,.36) !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button:hover,
body.page-gallery .aio-gallery-museum-filter__actions a:hover {
    transform: translateY(-1px) !important;
    border-color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-submit {
    order: 999 !important;
    position: relative !important;
    display: flex !important;
    min-height: 342px !important;
    height: 342px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,23,44,.22) !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.16), transparent 9rem),
        linear-gradient(135deg, #141414 0%, #07111F 58%, #07172C 100%) !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.12) !important;
    isolation: isolate !important;
}

body.page-gallery .aio-gallery-museum-submit::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,0) 48%),
        radial-gradient(circle at 10% 90%, rgba(169,67,43,.13), transparent 12rem) !important;
}

body.page-gallery .aio-gallery-museum-submit::after {
    content: "" !important;
    position: absolute !important;
    right: 22px !important;
    bottom: 18px !important;
    z-index: 1 !important;
    width: 120px !important;
    height: 120px !important;
    border: 1px solid rgba(248,245,239,.08) !important;
    border-radius: 50% !important;
    opacity: .42 !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-museum-submit__inner {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: 100% !important;
    padding: 30px 34px 32px !important;
    box-sizing: border-box !important;
}

body.page-gallery .aio-gallery-museum-submit__inner p {
    margin: 0 0 13px !important;
    color: rgba(248,245,239,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-submit__inner h3 {
    max-width: 330px !important;
    margin: 0 !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.25vw, 36px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
}

body.page-gallery .aio-gallery-museum-submit__inner span {
    display: block !important;
    max-width: 360px !important;
    margin: 15px 0 0 !important;
    color: rgba(248,245,239,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
}

body.page-gallery .aio-gallery-museum-submit__inner div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 22px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a:first-child {
    border: 1px solid #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a:last-child {
    border: 1px solid rgba(248,245,239,.24) !important;
    background: rgba(248,245,239,.06) !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a:hover {
    transform: translateY(-1px) !important;
}

@media (max-width: 760px) {
    body.page-gallery .aio-gallery-museum-filter__actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-filter__actions button,
    body.page-gallery .aio-gallery-museum-filter__actions a {
        min-width: 0 !important;
        width: 100% !important;
    }
}


/* ============================================================
   AIO GALLERY — SUBMIT CARD TEXT LINKS
   CTA links inside gallery submit card are text arrows,
   matching the people join card logic.
   ============================================================ */

body.page-gallery .aio-gallery-museum-submit__inner div {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 18px !important;
    margin-top: 22px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a,
body.page-gallery .aio-gallery-museum-submit__inner a:first-child,
body.page-gallery .aio-gallery-museum-submit__inner a:last-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(242,227,207,.92) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a::after {
    content: " +" !important;
    margin-left: 4px !important;
    color: #C85726 !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a:hover {
    transform: none !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-submit__inner a:hover::after {
    color: #F8F5EF !important;
}


/* ============================================================
   AIO GALLERY — UNIFIED FILTER / CTA / PHOTO CARDS
   Единая логика с Людьми / Событиями:
   кикеры терракота на светлом, фильтр графитовый,
   кнопки полукруглые, CTA текстом со стрелкой.
   ============================================================ */

body.page-gallery .aio-gallery-museum-page {
    padding: clamp(44px, 5vw, 70px) 0 clamp(58px, 6vw, 88px) !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.035), transparent 290px),
        radial-gradient(circle at 88% 18%, rgba(7,45,91,.032), transparent 340px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 42%, #F1EAE0 100%) !important;
}

body.page-gallery .aio-gallery-museum-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: clamp(28px, 3.8vw, 46px) !important;
    align-items: start !important;
}

body.page-gallery .aio-gallery-museum-sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: start !important;
}

/* ФИЛЬТР */

body.page-gallery .aio-gallery-museum-filter {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background:
        linear-gradient(180deg, rgba(251,250,247,.98), rgba(242,234,221,.94)) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.06) !important;
    padding: 23px 23px 22px !important;
}

body.page-gallery .aio-gallery-museum-filter > .aio-events-kicker {
    margin: 0 0 7px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-filter h2 {
    margin: 0 0 19px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 39px !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-gallery .aio-gallery-museum-filter form {
    display: grid !important;
    gap: 17px !important;
    margin: 0 !important;
}

body.page-gallery .aio-gallery-museum-filter .aio-events-filter-group {
    display: block !important;
    margin: 0 !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid rgba(7,45,91,.095) !important;
}

body.page-gallery .aio-gallery-filter-pills > p,
body.page-gallery .aio-gallery-filter-year label {
    display: block !important;
    margin: 0 0 10px !important;
    color: rgba(7,45,91,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

/* Плашки фильтра — как в событиях: компактно, не растягивать */

body.page-gallery .aio-gallery-filter-pills label {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 6px 8px 0 !important;
    padding: 0 !important;
    vertical-align: top !important;
}

body.page-gallery .aio-gallery-filter-pills input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.page-gallery .aio-gallery-filter-pills span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 29px !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,23,44,.16) !important;
    background: rgba(251,250,247,.72) !important;
    color: rgba(7,23,44,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.2px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .115em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: 0 7px 18px rgba(7,23,44,.03) !important;
    cursor: pointer !important;
}

body.page-gallery .aio-gallery-filter-pills label:hover span {
    border-color: rgba(169,67,43,.58) !important;
    color: #A9432B !important;
    background: rgba(248,245,239,.96) !important;
}

body.page-gallery .aio-gallery-filter-pills input:checked + span {
    border-color: #07172C !important;
    background: #07172C !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-filter-pills input:checked + span:hover {
    border-color: #07172C !important;
    background: #07172C !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-filter-year select {
    width: 100% !important;
    min-height: 36px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,23,44,.14) !important;
    background: rgba(255,255,255,.62) !important;
    color: #07172C !important;
    padding: 0 13px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    outline: none !important;
}

/* Найти / Сбросить — приводим к единой полукруглой логике */

body.page-gallery .aio-gallery-museum-filter__actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-top: 3px !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button,
body.page-gallery .aio-gallery-museum-filter__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    width: auto !important;
    min-width: 104px !important;
    padding: 0 17px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button {
    border: 1px solid #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-filter__actions a {
    border: 1px solid rgba(169,67,43,.50) !important;
    background: rgba(255,255,255,.38) !important;
    color: #A9432B !important;
}

body.page-gallery .aio-gallery-museum-filter__actions button:hover,
body.page-gallery .aio-gallery-museum-filter__actions a:hover {
    transform: translateY(-1px) !important;
}

/* СЕТКА — две нормальные карточки, без декоративного бежевого бокса */

body.page-gallery .aio-gallery-museum-main {
    min-width: 0 !important;
}

body.page-gallery .aio-gallery-museum-grid {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.page-gallery .aio-gallery-museum-grid::before,
body.page-gallery .aio-gallery-museum-grid::after {
    content: none !important;
    display: none !important;
}

/* ФОТОКАРТОЧКИ */

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) {
    position: relative !important;
    display: block !important;
    min-height: 342px !important;
    height: 342px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background: #07172C !important;
    box-shadow: 0 20px 48px rgba(7,23,44,.09) !important;
    isolation: isolate !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit)::after {
    content: none !important;
    display: none !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit)::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.02) 0%, rgba(7,23,44,.13) 42%, rgba(7,23,44,.82) 100%),
        linear-gradient(90deg, rgba(7,23,44,.28), rgba(7,23,44,.04) 58%, rgba(169,67,43,.12)) !important;
    transition: opacity .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit):hover::before {
    opacity: .72 !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #07172C !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: saturate(.78) contrast(.96) brightness(.84) sepia(.10) !important;
    transform: scale(1.012) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit):hover .aio-gallery-museum-card__image img {
    filter: saturate(.96) contrast(1) brightness(.95) sepia(.025) !important;
    transform: scale(1.045) !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__image::after {
    content: none !important;
    display: none !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) .aio-gallery-museum-card__body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    display: block !important;
    min-height: 0 !important;
    padding: 0 26px 24px !important;
    background: transparent !important;
}

body.page-gallery .aio-gallery-museum-card__meta {
    margin: 0 0 10px !important;
    color: rgba(248,245,239,.76) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) h3 {
    max-width: 92% !important;
    margin: 0 !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(24px, 2.15vw, 34px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .012em !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 16px rgba(0,0,0,.26) !important;
}

body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit) h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-card__count {
    margin: 13px 0 0 !important;
    padding: 0 !important;
    color: rgba(248,245,239,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

/* CTA — как в Людях: графитовая карточка, текстовые ссылки */

body.page-gallery .aio-gallery-museum-submit {
    order: 999 !important;
    position: relative !important;
    display: flex !important;
    min-height: 342px !important;
    height: 342px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background:
        radial-gradient(circle at 86% 16%, rgba(169,67,43,.12), transparent 9rem),
        linear-gradient(135deg, #171719 0%, #07172C 72%, #082342 100%) !important;
    box-shadow: 0 20px 48px rgba(7,23,44,.10) !important;
}

body.page-gallery .aio-gallery-museum-submit::before,
body.page-gallery .aio-gallery-museum-submit::after {
    content: none !important;
    display: none !important;
}

body.page-gallery .aio-gallery-museum-submit__inner {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 100% !important;
    padding: 32px 34px !important;
}

body.page-gallery .aio-gallery-museum-submit__inner p {
    margin: 0 0 14px !important;
    color: #D5A28F !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery .aio-gallery-museum-submit__inner h3 {
    max-width: 360px !important;
    margin: 0 !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(27px, 2.35vw, 38px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
}

body.page-gallery .aio-gallery-museum-submit__inner > span {
    display: block !important;
    max-width: 390px !important;
    margin: 16px 0 0 !important;
    color: rgba(248,245,239,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

body.page-gallery .aio-gallery-museum-submit__links {
    display: flex !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    margin-top: 24px !important;
}

body.page-gallery .aio-gallery-museum-submit__links a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #D5A28F !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery .aio-gallery-museum-submit__links a:hover {
    color: #F8F5EF !important;
}

body.page-gallery .aio-gallery-museum-submit__links a span {
    color: inherit !important;
}

/* Мобильная логика */

@media (max-width: 1080px) {
    body.page-gallery .aio-gallery-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 760px) {
    body.page-gallery .aio-gallery-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery .aio-gallery-museum-card:not(.aio-gallery-museum-submit),
    body.page-gallery .aio-gallery-museum-submit {
        min-height: 320px !important;
        height: 320px !important;
    }
}


/* ============================================================
   AIO GALLERY — CTA CROSS FIX
   Убираем лишние кресты в CTA-карточке галереи.
   Оставляем одну аккуратную стрелку текстом.
   ============================================================ */

body.page-gallery .aio-gallery-museum-submit__links a span {
    display: none !important;
}

body.page-gallery .aio-gallery-museum-submit__links a::before {
    content: none !important;
    display: none !important;
}

body.page-gallery .aio-gallery-museum-submit__links a::after {
    content: "→" !important;
    display: inline-block !important;
    margin-left: 6px !important;
    color: #D5A28F !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    transform: none !important;
}

body.page-gallery .aio-gallery-museum-submit__links a:hover::after {
    color: #F8F5EF !important;
}


/* ============================================================
   AIO GALLERY ITEM — PHOTOALBUM DETAIL LOCK
   Hero unified with catalog pages. Album metadata visible.
   Bento photo grid with lightbox. No inline CSS in template.
   ============================================================ */

body.page-gallery-item {
    background:
        radial-gradient(circle at 12% 8%, rgba(169,67,43,.045), transparent 280px),
        radial-gradient(circle at 86% 18%, rgba(7,45,91,.035), transparent 320px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 46%, #F2E9DC 100%) !important;
}

body.page-gallery-item .aio-gallery-item-hero h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(40px, 5vw, 68px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-gallery-item .aio-gallery-item-page {
    padding: clamp(44px, 5vw, 72px) 0 clamp(60px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(169,67,43,.045), transparent 270px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 52%, #F2E9DC 100%) !important;
}

body.page-gallery-item .aio-gallery-item-nav {
    margin: 0 0 24px !important;
}

body.page-gallery-item .aio-gallery-item-nav a {
    display: inline-flex !important;
    align-items: center !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery-item .aio-gallery-item-layout {
    display: grid !important;
    grid-template-columns: 312px minmax(0, 1fr) !important;
    gap: clamp(28px, 4vw, 52px) !important;
    align-items: start !important;
}

body.page-gallery-item .aio-gallery-item-aside {
    display: grid !important;
    gap: 18px !important;
    position: sticky !important;
    top: 108px !important;
}

body.page-gallery-item .aio-gallery-item-info,
body.page-gallery-item .aio-gallery-item-rights,
body.page-gallery-item .aio-gallery-item-legal {
    border: 1px solid rgba(7,45,91,.12) !important;
    background:
        linear-gradient(180deg, rgba(251,250,247,.96), rgba(241,233,220,.92)) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.06) !important;
    padding: 22px 22px !important;
}

body.page-gallery-item .aio-gallery-item-info .aio-events-kicker,
body.page-gallery-item .aio-gallery-item-rights .aio-events-kicker {
    margin: 0 0 16px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-item-info dl {
    display: grid !important;
    gap: 0 !important;
    margin: 0 !important;
}

body.page-gallery-item .aio-gallery-item-info dl > div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    padding: 13px 0 !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-gallery-item .aio-gallery-item-info dl > div:first-child {
    border-top: 0 !important;
    padding-top: 0 !important;
}

body.page-gallery-item .aio-gallery-item-info dt {
    margin: 0 !important;
    color: rgba(7,45,91,.54) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-item-info dd {
    margin: 0 !important;
    color: rgba(45,45,45,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.48 !important;
    font-weight: 500 !important;
}

body.page-gallery-item .aio-gallery-item-info dd a {
    color: #A9432B !important;
    text-decoration: none !important;
}

body.page-gallery-item .aio-gallery-item-rights p:not(.aio-events-kicker),
body.page-gallery-item .aio-gallery-item-legal p {
    margin: 0 !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.62 !important;
}

body.page-gallery-item .aio-gallery-item-legal {
    border-color: rgba(169,67,43,.18) !important;
    background: rgba(169,67,43,.055) !important;
}

body.page-gallery-item .aio-gallery-item-main {
    min-width: 0 !important;
}

body.page-gallery-item .aio-gallery-item-description {
    max-width: 820px !important;
    margin: 0 0 26px !important;
    padding: 0 0 22px !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
}

body.page-gallery-item .aio-gallery-item-description p {
    margin: 0 !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
}

body.page-gallery-item .aio-photo-bento {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: dense !important;
    gap: 14px !important;
}

body.page-gallery-item .aio-photo-card {
    position: relative !important;
    display: block !important;
    min-height: 220px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    border-radius: 0 !important;
    background: #07172C !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.085) !important;
    cursor: zoom-in !important;
}

body.page-gallery-item .aio-photo-card:nth-child(6n+1) {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
    min-height: 454px !important;
}

body.page-gallery-item .aio-photo-card:nth-child(6n+4),
body.page-gallery-item .aio-photo-card:nth-child(6n+5) {
    grid-column: span 2 !important;
}

body.page-gallery-item .aio-photo-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.08) 0%, rgba(7,23,44,.16) 58%, rgba(7,23,44,.52) 100%),
        linear-gradient(90deg, rgba(7,45,91,.18), rgba(169,67,43,.08)) !important;
    opacity: .72 !important;
    transition: opacity .25s ease !important;
}

body.page-gallery-item .aio-photo-card:hover::after {
    opacity: .22 !important;
}

body.page-gallery-item .aio-photo-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 220px !important;
    object-fit: cover !important;
    filter: saturate(.74) contrast(.98) brightness(.86) sepia(.08) !important;
    transform: scale(1.012) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-gallery-item .aio-photo-card:nth-child(6n+1) img {
    min-height: 454px !important;
}

body.page-gallery-item .aio-photo-card:hover img {
    filter: saturate(.96) contrast(1.02) brightness(.97) sepia(.02) !important;
    transform: scale(1.04) !important;
}

body.page-gallery-item .aio-photo-card figcaption {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    padding: 16px 18px !important;
    color: rgba(248,245,239,.86) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
    background: linear-gradient(180deg, rgba(7,23,44,0), rgba(7,23,44,.62)) !important;
}

body.page-gallery-item .aio-photo-card figcaption strong,
body.page-gallery-item .aio-photo-card figcaption span {
    display: block !important;
}

body.page-gallery-item .aio-photo-card figcaption strong {
    margin: 0 0 4px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 34px !important;
    background: rgba(7,23,44,.84) !important;
    backdrop-filter: blur(8px) !important;
}

body.page-gallery-item .aio-gallery-lightbox.is-open {
    display: flex !important;
}

body.page-gallery-item .aio-gallery-lightbox__image {
    max-width: min(1180px, 86vw) !important;
    max-height: 82vh !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: 0 34px 90px rgba(0,0,0,.34) !important;
    background: #07172C !important;
}

body.page-gallery-item .aio-gallery-lightbox__close,
body.page-gallery-item .aio-gallery-lightbox__prev,
body.page-gallery-item .aio-gallery-lightbox__next {
    position: fixed !important;
    z-index: 100000 !important;
    border: 1px solid rgba(248,245,239,.28) !important;
    background: rgba(248,245,239,.14) !important;
    color: #F8F5EF !important;
    cursor: pointer !important;
    backdrop-filter: blur(6px) !important;
}

body.page-gallery-item .aio-gallery-lightbox__close {
    top: 22px !important;
    right: 24px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    font-size: 28px !important;
    line-height: 1 !important;
}

body.page-gallery-item .aio-gallery-lightbox__prev,
body.page-gallery-item .aio-gallery-lightbox__next {
    top: 50% !important;
    width: 48px !important;
    height: 72px !important;
    transform: translateY(-50%) !important;
    border-radius: 999px !important;
    font-size: 36px !important;
    line-height: 1 !important;
}

body.page-gallery-item .aio-gallery-lightbox__prev {
    left: 24px !important;
}

body.page-gallery-item .aio-gallery-lightbox__next {
    right: 24px !important;
}

body.page-gallery-item .aio-gallery-lightbox__counter {
    position: fixed !important;
    left: 50% !important;
    bottom: 22px !important;
    transform: translateX(-50%) !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: rgba(248,245,239,.14) !important;
    color: rgba(248,245,239,.82) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    letter-spacing: .08em !important;
}

body.page-gallery-item .aio-gallery-item-empty {
    padding: 34px !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    background: rgba(255,255,255,.72) !important;
}

body.page-gallery-item .aio-gallery-item-empty h2 {
    margin: 0 0 12px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 48px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body.page-gallery-item .aio-gallery-item-empty p:not(.aio-events-kicker) {
    margin: 0 !important;
    color: rgba(45,45,45,.64) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

@media (max-width: 1080px) {
    body.page-gallery-item .aio-gallery-item-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery-item .aio-gallery-item-aside {
        position: static !important;
    }

    body.page-gallery-item .aio-photo-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.page-gallery-item .aio-photo-card,
    body.page-gallery-item .aio-photo-card:nth-child(6n+1),
    body.page-gallery-item .aio-photo-card:nth-child(6n+4),
    body.page-gallery-item .aio-photo-card:nth-child(6n+5) {
        grid-column: auto !important;
        grid-row: auto !important;
        min-height: 300px !important;
    }

    body.page-gallery-item .aio-photo-card img,
    body.page-gallery-item .aio-photo-card:nth-child(6n+1) img {
        min-height: 300px !important;
    }
}

@media (max-width: 680px) {
    body.page-gallery-item .aio-photo-bento {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery-item .aio-photo-card,
    body.page-gallery-item .aio-photo-card:nth-child(6n+1),
    body.page-gallery-item .aio-photo-card:nth-child(6n+4),
    body.page-gallery-item .aio-photo-card:nth-child(6n+5) {
        min-height: 280px !important;
    }

    body.page-gallery-item .aio-photo-card img,
    body.page-gallery-item .aio-photo-card:nth-child(6n+1) img {
        min-height: 280px !important;
    }
}


/* ============================================================
   AIO GALLERY ITEM — COMPACT HERO + STABLE BENTO FIX
   Fixes oversized hero, removes beige text block above photos,
   stabilizes photo layout, returns unified light museum background.
   ============================================================ */

body.page-gallery-item {
    background:
        radial-gradient(circle at 12% 10%, rgba(169,67,43,.035), transparent 280px),
        radial-gradient(circle at 88% 16%, rgba(7,45,91,.028), transparent 320px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 48%, #F2EDE4 100%) !important;
}

/* hero — same family as other compact museum heroes, but title cannot explode */
body.page-gallery-item .aio-gallery-item-hero {
    min-height: 0 !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
    min-height: 220px !important;
    padding-top: clamp(42px, 5vw, 64px) !important;
    padding-bottom: clamp(42px, 5vw, 64px) !important;
}

body.page-gallery-item .aio-gallery-item-hero h1 {
    max-width: 720px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(42px, 4.3vw, 64px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;
    letter-spacing: -.04em !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner > p {
    max-width: 520px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: rgba(248,245,239,.78) !important;
}

/* page background — no beige box around photos */
body.page-gallery-item .aio-gallery-item-page {
    background:
        radial-gradient(circle at 15% 12%, rgba(169,67,43,.035), transparent 260px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 54%, #F2EDE4 100%) !important;
}

/* description now lives below photos */
body.page-gallery-item .aio-gallery-item-description {
    border: 0 !important;
    background: transparent !important;
}

body.page-gallery-item .aio-gallery-item-description_bottom {
    max-width: 920px !important;
    margin: 28px 0 0 !important;
    padding: 24px 0 0 !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-gallery-item .aio-gallery-item-description_bottom p {
    max-width: 860px !important;
    margin: 0 !important;
    color: rgba(45,45,45,.66) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
}

/* stable editorial bento: no random narrow strips */
body.page-gallery-item .aio-photo-bento {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-auto-flow: dense !important;
    gap: 14px !important;
    align-items: stretch !important;
    background: transparent !important;
}

body.page-gallery-item .aio-photo-card {
    position: relative !important;
    display: block !important;
    grid-column: span 6 !important;
    min-height: 300px !important;
    height: 300px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background: #07172C !important;
    box-shadow: 0 16px 38px rgba(7,23,44,.075) !important;
    cursor: zoom-in !important;
}

body.page-gallery-item .aio-photo-card:nth-child(7n+1) {
    grid-column: span 7 !important;
    height: 380px !important;
}

body.page-gallery-item .aio-photo-card:nth-child(7n+2) {
    grid-column: span 5 !important;
    height: 380px !important;
}

body.page-gallery-item .aio-photo-card:nth-child(7n+5) {
    grid-column: span 8 !important;
    height: 330px !important;
}

body.page-gallery-item .aio-photo-card:nth-child(7n+6) {
    grid-column: span 4 !important;
    height: 330px !important;
}

body.page-gallery-item .aio-photo-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.06) 0%, rgba(7,23,44,.14) 58%, rgba(7,23,44,.44) 100%),
        linear-gradient(90deg, rgba(7,45,91,.14), rgba(169,67,43,.055)) !important;
    opacity: .62 !important;
    transition: opacity .25s ease !important;
}

body.page-gallery-item .aio-photo-card:hover::after {
    opacity: .20 !important;
}

body.page-gallery-item .aio-photo-card img,
body.page-gallery-item .aio-photo-card:nth-child(6n+1) img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.78) contrast(.98) brightness(.88) sepia(.06) !important;
    transform: scale(1.01) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-gallery-item .aio-photo-card:hover img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(.01) !important;
    transform: scale(1.035) !important;
}

/* sidebar remains clean and fixed */
body.page-gallery-item .aio-gallery-item-info,
body.page-gallery-item .aio-gallery-item-rights,
body.page-gallery-item .aio-gallery-item-legal {
    background:
        linear-gradient(180deg, rgba(251,250,247,.96), rgba(246,239,228,.92)) !important;
    border-color: rgba(7,45,91,.11) !important;
}

/* legal note should not look like an error block */
body.page-gallery-item .aio-gallery-item-legal {
    background: rgba(251,250,247,.72) !important;
    border-color: rgba(169,67,43,.16) !important;
}

/* mobile/tablet */
@media (max-width: 1080px) {
    body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
        min-height: 0 !important;
    }

    body.page-gallery-item .aio-photo-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.page-gallery-item .aio-photo-card,
    body.page-gallery-item .aio-photo-card:nth-child(7n+1),
    body.page-gallery-item .aio-photo-card:nth-child(7n+2),
    body.page-gallery-item .aio-photo-card:nth-child(7n+5),
    body.page-gallery-item .aio-photo-card:nth-child(7n+6) {
        grid-column: auto !important;
        height: 310px !important;
        min-height: 310px !important;
    }
}

@media (max-width: 680px) {
    body.page-gallery-item .aio-photo-bento {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery-item .aio-photo-card,
    body.page-gallery-item .aio-photo-card:nth-child(7n+1),
    body.page-gallery-item .aio-photo-card:nth-child(7n+2),
    body.page-gallery-item .aio-photo-card:nth-child(7n+5),
    body.page-gallery-item .aio-photo-card:nth-child(7n+6) {
        height: 280px !important;
        min-height: 280px !important;
    }
}


/* ============================================================
   AIO GALLERY ITEM — ARCHIVE FLOW LOCK
   Museum two-column photo flow. No bento.
   Album description below photos.
   Rights/source data visible in sidebar.
   ============================================================ */

body.page-gallery-item {
    background:
        radial-gradient(circle at 12% 10%, rgba(169,67,43,.04), transparent 280px),
        radial-gradient(circle at 88% 18%, rgba(7,45,91,.035), transparent 320px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 44%, #F2E9DC 100%) !important;
}

body.page-gallery-item .aio-gallery-item-page {
    padding: clamp(46px, 5vw, 72px) 0 clamp(58px, 6vw, 90px) !important;
    background:
        radial-gradient(circle at 10% 16%, rgba(169,67,43,.045), transparent 280px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 46%, #F2E9DC 100%) !important;
}

body.page-gallery-item .aio-gallery-item-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: clamp(30px, 4vw, 54px) !important;
    align-items: start !important;
}

body.page-gallery-item .aio-gallery-item-sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: start !important;
}

body.page-gallery-item .aio-gallery-item-back {
    display: inline-flex !important;
    margin: 0 0 20px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-gallery-item .aio-gallery-item-info,
body.page-gallery-item .aio-gallery-item-legal {
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background:
        linear-gradient(180deg, rgba(251,250,247,.98), rgba(241,233,220,.94)) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.07) !important;
}

body.page-gallery-item .aio-gallery-item-info {
    padding: 23px 24px 22px !important;
}

body.page-gallery-item .aio-gallery-item-info .aio-events-kicker {
    margin: 0 0 18px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-item-info__row {
    padding: 14px 0 !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-gallery-item .aio-gallery-item-info__row:first-of-type {
    border-top: 0 !important;
    padding-top: 0 !important;
}

body.page-gallery-item .aio-gallery-item-info__row span {
    display: block !important;
    margin: 0 0 6px !important;
    color: rgba(7,45,91,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-item-info__row strong,
body.page-gallery-item .aio-gallery-item-info__row a {
    display: block !important;
    color: rgba(45,45,45,.82) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
}

body.page-gallery-item .aio-gallery-item-info__row a {
    color: #A9432B !important;
}

body.page-gallery-item .aio-gallery-item-legal {
    margin-top: 18px !important;
    padding: 18px 20px !important;
    border-color: rgba(169,67,43,.18) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.96), rgba(242,227,207,.54)) !important;
}

body.page-gallery-item .aio-gallery-item-legal p {
    margin: 0 !important;
    color: rgba(82,62,50,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.58 !important;
}

body.page-gallery-item .aio-gallery-item-main {
    min-width: 0 !important;
}

body.page-gallery-item .aio-photo-archive-flow {
    columns: 2 320px !important;
    column-gap: 18px !important;
}

body.page-gallery-item .aio-photo-flow-card {
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    break-inside: avoid !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background: #07172C !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.08) !important;
}

body.page-gallery-item .aio-photo-flow-card__button {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: zoom-in !important;
}

body.page-gallery-item .aio-photo-flow-card__button::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.06) 0%, rgba(7,23,44,.18) 100%),
        linear-gradient(90deg, rgba(7,45,91,.13), rgba(169,67,43,.06)) !important;
    mix-blend-mode: multiply !important;
    opacity: .66 !important;
    transition: opacity .28s ease !important;
}

body.page-gallery-item .aio-photo-flow-card img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    filter: saturate(.78) contrast(.98) brightness(.90) sepia(.08) !important;
    transform: scale(1.002) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body.page-gallery-item .aio-photo-flow-card:hover img {
    filter: saturate(.96) contrast(1) brightness(.98) sepia(.02) !important;
    transform: scale(1.018) !important;
}

body.page-gallery-item .aio-photo-flow-card:hover .aio-photo-flow-card__button::after {
    opacity: .24 !important;
}

body.page-gallery-item .aio-gallery-item-description {
    margin-top: 30px !important;
    padding: 24px 26px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    background:
        linear-gradient(180deg, rgba(251,250,247,.86), rgba(242,233,220,.68)) !important;
}

body.page-gallery-item .aio-gallery-item-description .aio-events-kicker {
    margin: 0 0 12px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-item-description div {
    max-width: 880px !important;
    color: rgba(45,45,45,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
}

body.page-gallery-item .aio-gallery-item-empty {
    padding: 34px !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    background: rgba(251,250,247,.82) !important;
}

body.page-gallery-item .aio-gallery-item-empty h2 {
    margin: 0 0 12px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 48px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body.page-gallery-item .aio-gallery-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 34px !important;
    background: rgba(7,23,44,.84) !important;
    backdrop-filter: blur(8px) !important;
}

body.page-gallery-item .aio-gallery-lightbox.is-open {
    display: flex !important;
}

body.page-gallery-item .aio-gallery-lightbox__image {
    max-width: min(1180px, 86vw) !important;
    max-height: 82vh !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: 0 34px 90px rgba(0,0,0,.34) !important;
    background: #07172C !important;
}

body.page-gallery-item .aio-gallery-lightbox__close,
body.page-gallery-item .aio-gallery-lightbox__prev,
body.page-gallery-item .aio-gallery-lightbox__next {
    position: fixed !important;
    z-index: 100000 !important;
    border: 1px solid rgba(248,245,239,.28) !important;
    background: rgba(248,245,239,.14) !important;
    color: #F8F5EF !important;
    cursor: pointer !important;
    backdrop-filter: blur(6px) !important;
}

body.page-gallery-item .aio-gallery-lightbox__close {
    top: 22px !important;
    right: 24px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    font-size: 28px !important;
    line-height: 1 !important;
}

body.page-gallery-item .aio-gallery-lightbox__prev,
body.page-gallery-item .aio-gallery-lightbox__next {
    top: 50% !important;
    width: 48px !important;
    height: 72px !important;
    transform: translateY(-50%) !important;
    border-radius: 999px !important;
    font-size: 36px !important;
    line-height: 1 !important;
}

body.page-gallery-item .aio-gallery-lightbox__prev {
    left: 24px !important;
}

body.page-gallery-item .aio-gallery-lightbox__next {
    right: 24px !important;
}

body.page-gallery-item .aio-gallery-lightbox__counter {
    position: fixed !important;
    left: 50% !important;
    bottom: 22px !important;
    transform: translateX(-50%) !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: rgba(248,245,239,.14) !important;
    color: rgba(248,245,239,.82) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    letter-spacing: .08em !important;
}

/* Gallery list disclaimer under filter */
body.page-gallery .aio-gallery-filter-legal-note {
    margin-top: 18px !important;
    padding: 17px 18px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(169,67,43,.18) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.96), rgba(242,227,207,.52)) !important;
}

body.page-gallery .aio-gallery-filter-legal-note p {
    margin: 0 !important;
    color: rgba(82,62,50,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.58 !important;
}

@media (max-width: 1080px) {
    body.page-gallery-item .aio-gallery-item-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery-item .aio-gallery-item-sidebar {
        position: static !important;
    }

    body.page-gallery-item .aio-photo-archive-flow {
        columns: 2 280px !important;
    }
}

@media (max-width: 720px) {
    body.page-gallery-item .aio-photo-archive-flow {
        columns: 1 !important;
    }
}


/* ============================================================
   AIO GALLERY ITEM — SQUARE GRID FINAL TUNE
   Fixes broken masonry/columns, small approved hero,
   aligned sidebar and photo grid.
   ============================================================ */

/* hero — не огромный, а как утверждённые компактные hero */
body.page-gallery-item .aio-gallery-item-hero {
    min-height: 0 !important;
    padding: clamp(46px, 5.2vw, 72px) 0 clamp(44px, 4.8vw, 66px) !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(280px, .72fr) !important;
    gap: clamp(28px, 4vw, 64px) !important;
    align-items: end !important;
}

body.page-gallery-item .aio-gallery-item-hero h1 {
    max-width: 720px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(44px, 5vw, 76px) !important;
    line-height: .92 !important;
    font-weight: 400 !important;
    letter-spacing: -.045em !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner > p {
    max-width: 520px !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.74) !important;
}

/* общий фон страницы — без отдельного тяжёлого бежевого бокса */
body.page-gallery-item {
    background:
        radial-gradient(circle at 12% 10%, rgba(169,67,43,.035), transparent 280px),
        radial-gradient(circle at 88% 18%, rgba(7,45,91,.03), transparent 320px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 46%, #F2E9DC 100%) !important;
}

body.page-gallery-item .aio-gallery-item-page {
    padding: clamp(42px, 5vw, 64px) 0 clamp(58px, 6vw, 90px) !important;
    background:
        radial-gradient(circle at 10% 16%, rgba(169,67,43,.035), transparent 280px),
        linear-gradient(180deg, #FBFAF7 0%, #F8F5EF 48%, #F2E9DC 100%) !important;
}

/* ссылка назад — выше сетки */
body.page-gallery-item .aio-gallery-item-back_top {
    display: inline-flex !important;
    margin: 0 0 24px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

/* выравниваем карточку "Об альбоме" и первый ряд фото */
body.page-gallery-item .aio-gallery-item-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: clamp(30px, 4vw, 54px) !important;
    align-items: start !important;
}

body.page-gallery-item .aio-gallery-item-sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: start !important;
}

/* убираем masonry/columns полностью: из-за них фото мигали и пропадали */
body.page-gallery-item .aio-photo-archive-flow {
    columns: auto !important;
    column-count: auto !important;
    column-gap: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: start !important;
    width: 100% !important;
}

/* квадратные фото */
body.page-gallery-item .aio-photo-flow-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    break-inside: auto !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background: #07172C !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.08) !important;
}

body.page-gallery-item .aio-photo-flow-card__button {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: zoom-in !important;
}

body.page-gallery-item .aio-photo-flow-card__button::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.04) 0%, rgba(7,23,44,.18) 100%),
        linear-gradient(90deg, rgba(7,45,91,.12), rgba(169,67,43,.055)) !important;
    mix-blend-mode: multiply !important;
    opacity: .54 !important;
    transition: opacity .28s ease !important;
}

body.page-gallery-item .aio-photo-flow-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: saturate(.80) contrast(.98) brightness(.91) sepia(.07) !important;
    transform: scale(1.002) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

body.page-gallery-item .aio-photo-flow-card:hover img {
    filter: saturate(.98) contrast(1) brightness(.98) sepia(.015) !important;
    transform: scale(1.025) !important;
}

body.page-gallery-item .aio-photo-flow-card:hover .aio-photo-flow-card__button::after {
    opacity: .22 !important;
}

/* описание — только под фотографиями */
body.page-gallery-item .aio-gallery-item-description {
    margin-top: 26px !important;
    padding: 24px 26px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    background:
        linear-gradient(180deg, rgba(251,250,247,.78), rgba(242,233,220,.54)) !important;
}

body.page-gallery-item .aio-gallery-item-description div {
    max-width: 920px !important;
    color: rgba(45,45,45,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
}

/* карточка правового текста — чуть спокойнее */
body.page-gallery-item .aio-gallery-item-legal {
    margin-top: 18px !important;
    padding: 17px 18px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(169,67,43,.16) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.94), rgba(242,227,207,.46)) !important;
}

body.page-gallery-item .aio-gallery-item-legal p {
    margin: 0 !important;
    color: rgba(82,62,50,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.58 !important;
}

@media (max-width: 1080px) {
    body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-gallery-item-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-gallery-item .aio-gallery-item-sidebar {
        position: static !important;
    }
}

@media (max-width: 760px) {
    body.page-gallery-item .aio-gallery-item-hero h1 {
        font-size: clamp(38px, 13vw, 54px) !important;
    }

    body.page-gallery-item .aio-photo-archive-flow {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   AIO GALLERY ITEM — HERO COMPACT LOCK
   Детальная страница фотоальбома.
   Hero использует ту же систему, что /events, /blogs, /gallery,
   но правила должны быть scoped на body.page-gallery-item.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-hero,
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
    min-height: 0 !important;
    height: auto !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.96) 0%, rgba(6,31,62,.98) 100%) !important;
    color: #F8F5EF !important;
}

body.page-gallery-item .aio-gallery-item-hero::after,
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(260px, .72fr) minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-kicker,
body.page-gallery-item .aio-gallery-item-hero .aio-events-kicker_light {
    margin: 0 0 12px !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-item-hero h1 {
    margin: 0 !important;
    max-width: 760px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner > p {
    max-width: 640px !important;
    margin: 0 0 6px !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
}

@media (max-width: 920px) {
    body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-gallery-item-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }
}

/* ============================================================
   AIO GALLERY ITEM — ISOLATED COMPACT HERO
   Детальный фотоальбом. Hero отвязан от aio-events-museum-hero,
   чтобы не ловить старые/чужие размеры.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-compact-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 34px 0 40px !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.96) 0%, rgba(6,31,62,.98) 100%) !important;
    color: #F8F5EF !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(260px, .72fr) minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero .aio-events-kicker {
    margin: 0 0 12px !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero h1 {
    margin: 0 !important;
    max-width: 760px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero__inner > p {
    max-width: 640px !important;
    margin: 0 0 6px !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
}

@media (max-width: 920px) {
    body.page-gallery-item .aio-gallery-item-compact-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-gallery-item-compact-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }
}

/* ============================================================
   AIO GALLERY ITEM — HERO TEXT + MEMBER SOURCE FIX
   Правая подпись hero строго Montserrat.
   Источник/авторские данные в карточке альбома — в едином стиле.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-compact-hero__inner > p,
body.page-gallery-item .aio-gallery-item-compact-hero p:not(.aio-events-kicker) {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13px, .95vw, 15px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

body.page-gallery-item .aio-gallery-item-info__row strong a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(169,67,43,.28) !important;
}

body.page-gallery-item .aio-gallery-item-info__row strong a:hover {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    border-bottom-color: rgba(7,45,91,.34) !important;
}

/* ============================================================
   AIO GALLERY ITEM — PUBLIC SOURCE LOGIC + HERO ALIGN
   Не выводим backend_title участника.
   Правый текст hero сдвинут правее, как на каталожных hero.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-hero {
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(360px, .92fr) minmax(300px, .78fr) !important;
    gap: clamp(54px, 7vw, 118px) !important;
    align-items: end !important;
}

body.page-gallery-item .aio-gallery-item-hero h1 {
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    letter-spacing: -.012em !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner > p {
    max-width: 620px !important;
    margin: 0 0 5px !important;
    padding-left: clamp(18px, 2.5vw, 44px) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

body.page-gallery-item .aio-gallery-item-info__row strong a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(169,67,43,.28) !important;
}

body.page-gallery-item .aio-gallery-item-info__row strong a:hover {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    border-bottom-color: rgba(7,45,91,.34) !important;
}

@media (max-width: 920px) {
    body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner > p {
        padding-left: 0 !important;
    }
}

/* ============================================================
   AIO GALLERY ITEM — HERO FINAL ALIGN
   Детальная страница фотоальбома.
   Hero приводится к логике /events: правый текст не по центру,
   а правее, в своей колонке.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-hero,
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-container {
    max-width: 1240px !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(300px, .72fr) minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner > div {
    min-width: 0 !important;
}

body.page-gallery-item .aio-gallery-item-hero h1 {
    margin: 0 !important;
    max-width: 620px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner > p {
    justify-self: start !important;
    align-self: end !important;
    max-width: 640px !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    transform: none !important;
    text-align: left !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

/* карточка "Об альбоме" — публичная ссылка на участника без грубой линии */
body.page-gallery-item .aio-gallery-item-info__row strong a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(169,67,43,.22) !important;
}

body.page-gallery-item .aio-gallery-item-info__row strong a:hover {
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
    border-bottom-color: rgba(6,31,62,.28) !important;
}

/* на узких экранах hero складывается как остальные страницы */
@media (max-width: 920px) {
    body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-gallery-item-hero .aio-events-museum-hero__inner > p {
        max-width: 680px !important;
    }
}

/* ============================================================
   AIO GALLERY ITEM — COMPACT HERO FINAL LOCK
   Детальная страница фотоальбома.
   Фактический hero-класс: .aio-gallery-item-compact-hero.
   Размер, сетка и правая подпись приведены к /events и /gallery.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-compact-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.96) 0%, rgba(6,31,62,.98) 100%) !important;
    color: #F8F5EF !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(260px, .72fr) minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
    min-height: 0 !important;
    height: auto !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero__inner > div {
    min-width: 0 !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero .aio-events-kicker,
body.page-gallery-item .aio-gallery-item-compact-hero .aio-events-kicker_light {
    margin: 0 0 12px !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero h1 {
    margin: 0 !important;
    max-width: 620px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero__inner > p,
body.page-gallery-item .aio-gallery-item-compact-hero p:not(.aio-events-kicker) {
    justify-self: start !important;
    align-self: end !important;
    max-width: 640px !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    transform: none !important;
    text-align: left !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

/* На узких экранах hero складывается как остальные каталожные hero */
@media (max-width: 920px) {
    body.page-gallery-item .aio-gallery-item-compact-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-gallery-item-compact-hero__inner > p,
    body.page-gallery-item .aio-gallery-item-compact-hero p:not(.aio-events-kicker) {
        max-width: 680px !important;
    }
}

@media (max-width: 680px) {
    body.page-gallery-item .aio-gallery-item-compact-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }
}

/* ============================================================
   AIO GALLERY ITEM — HERO HARD FINAL LOCK
   Фактический класс: .aio-gallery-item-compact-hero.
   Жёстко возвращаем маленький hero как в /events /gallery.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-compact-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 30px 0 34px !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.96) 0%, rgba(6,31,62,.98) 100%) !important;
    color: #F8F5EF !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(300px, .72fr) minmax(0, .92fr) !important;
    gap: clamp(46px, 6vw, 96px) !important;
    align-items: end !important;
    min-height: 0 !important;
    height: auto !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero__inner > div {
    min-width: 0 !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero .aio-events-kicker,
body.page-gallery-item .aio-gallery-item-compact-hero .aio-events-kicker_light {
    margin: 0 0 10px !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero h1 {
    margin: 0 !important;
    max-width: 620px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
}

body.page-gallery-item .aio-gallery-item-compact-hero__inner > p,
body.page-gallery-item .aio-gallery-item-compact-hero p:not(.aio-events-kicker) {
    justify-self: start !important;
    align-self: end !important;
    max-width: 640px !important;
    margin: 0 0 6px !important;
    padding: 0 0 0 clamp(24px, 3.2vw, 56px) !important;
    transform: none !important;
    text-align: left !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

body.page-gallery-item .aio-gallery-item-page {
    padding-top: clamp(38px, 4.5vw, 56px) !important;
}

@media (max-width: 920px) {
    body.page-gallery-item .aio-gallery-item-compact-hero {
        padding: 28px 0 32px !important;
    }

    body.page-gallery-item .aio-gallery-item-compact-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-gallery-item-compact-hero__inner > p,
    body.page-gallery-item .aio-gallery-item-compact-hero p:not(.aio-events-kicker) {
        padding-left: 0 !important;
        max-width: 680px !important;
    }

    body.page-gallery-item .aio-gallery-item-compact-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }
}


/* ============================================================
   AIO GALLERY ITEM — ETALON HERO REPLACE
   Сносим отдельный compact-hero и используем эталонный hero:
   .aio-events-museum-hero + .aio-events-museum-hero__inner.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-compact-hero {
    display: none !important;
}

body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.96) 0%, rgba(6,31,62,.98) 100%) !important;
    color: #F8F5EF !important;
}

body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}

body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-museum-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(260px, .72fr) minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
    min-height: 0 !important;
    height: auto !important;
}

body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-kicker,
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-kicker_light {
    margin: 0 0 12px !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero h1 {
    margin: 0 !important;
    max-width: 620px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
}

body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-museum-hero__inner > p {
    justify-self: start !important;
    align-self: end !important;
    max-width: 640px !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    text-align: left !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
}

@media (max-width: 920px) {
    body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }
}


/* ============================================================
   AIO GALLERY ITEM — TRUE ETALON HERO LOCK
   Детальный фотоальбом использует тот же hero, что /events и /gallery.
   Никакого отдельного compact-hero.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-compact-hero {
    display: none !important;
}

/* Сам hero — размер как у утверждённых каталожных страниц */
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.96) 0%, rgba(6,31,62,.98) 100%) !important;
    color: #F8F5EF !important;
}

/* Сетка как у /events */
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-museum-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(260px, .72fr) minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

/* Внутренние элементы без искусственной высоты */
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-container,
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-museum-hero__inner > div {
    min-height: 0 !important;
    height: auto !important;
}

/* Кикер */
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-kicker,
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-kicker_light {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

/* Заголовок — тот же масштаб, что на событиях */
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero h1 {
    margin: 0 !important;
    max-width: 620px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Правая подпись — Montserrat, справа, как в каталожных hero */
body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-museum-hero__inner > p {
    justify-self: start !important;
    align-self: end !important;
    max-width: 640px !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    text-align: left !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
}

@media (max-width: 920px) {
    body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-events-museum-hero.aio-gallery-item-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }
}


/* ============================================================
   AIO GALLERY ITEM — FULL ETALON HERO REBUILD
   Детальная страница фотоальбома.
   Hero полностью пересобран по логике утверждённых /blogs и /events.
   ============================================================ */

/* отключаем все старые самодельные hero-варианты */
body.page-gallery-item .aio-gallery-item-compact-hero {
    display: none !important;
}

/* основной hero */
body.page-gallery-item .aio-gallery-item-etalon-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169, 67, 43, .18) 0%, rgba(169, 67, 43, 0) 34%),
        linear-gradient(120deg, rgba(17, 20, 24, .96) 0%, rgba(6, 31, 62, .98) 100%) !important;
    color: #F8F5EF !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

/* музейная сетка поверх фона */
body.page-gallery-item .aio-gallery-item-etalon-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}

/* контейнер как на каталогах */
body.page-gallery-item .aio-gallery-item-etalon-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

/* сетка: правая подпись уходит правее, как на /events и /blogs */
body.page-gallery-item .aio-gallery-item-etalon-hero .aio-events-museum-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(360px, .82fr) minmax(360px, .72fr) !important;
    gap: clamp(58px, 7vw, 118px) !important;
    align-items: end !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

/* левая часть */
body.page-gallery-item .aio-gallery-item-etalon-hero .aio-events-museum-hero__inner > div {
    min-width: 0 !important;
    max-width: 680px !important;
}

/* кикер */
body.page-gallery-item .aio-gallery-item-etalon-hero .aio-events-kicker,
body.page-gallery-item .aio-gallery-item-etalon-hero .aio-events-kicker_light {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

/* заголовок */
body.page-gallery-item .aio-gallery-item-etalon-hero h1 {
    margin: 0 !important;
    max-width: 680px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* правая подпись — Montserrat, правее центра */
body.page-gallery-item .aio-gallery-item-etalon-hero .aio-events-museum-hero__inner > p {
    justify-self: start !important;
    align-self: end !important;
    max-width: 600px !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    text-align: left !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
}

/* старые правила под aio-gallery-item-hero больше не должны влиять */
body.page-gallery-item .aio-gallery-item-hero:not(.aio-gallery-item-etalon-hero) {
    min-height: 0 !important;
}

/* мобильная версия */
@media (max-width: 920px) {
    body.page-gallery-item .aio-gallery-item-etalon-hero .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-gallery-item-etalon-hero .aio-events-museum-hero__inner > p {
        max-width: 680px !important;
    }

    body.page-gallery-item .aio-gallery-item-etalon-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }
}


/* ============================================================
   AIO GALLERY ITEM — HERO COLOR ETALON
   Цвет hero детального фотоальбома приводим к эталону /events.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-etalon-hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.96) 0%, rgba(6,31,62,.98) 100%) !important;
    border-bottom: 1px solid rgba(242,227,207,.14) !important;
}

body.page-gallery-item .aio-gallery-item-etalon-hero::after {
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
}

/* Убираем лишний сине-фиолетовый/холодный оттенок, если его даёт старый фон */
body.page-gallery-item .aio-gallery-item-etalon-hero::before {
    content: none !important;
    display: none !important;
}


/* ============================================================
   AIO GALLERY ITEM — COPY REAL GALLERY HERO
   Детальный фотоальбом получает тот же hero, что общая /gallery.
   Цвет и фон берутся с утверждённого hero галереи.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-compact-hero {
    display: none !important;
}


/* fallback only if gallery hero rules were not found by parser */
body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.16) 0%, rgba(169,67,43,0) 34%),
        linear-gradient(120deg, rgba(17,20,24,.97) 0%, rgba(14,20,29,.98) 54%, rgba(45,25,24,.94) 100%) !important;
    color: #F8F5EF !important;
    border-bottom: 1px solid rgba(242,227,207,.14) !important;
}

body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(248,245,239,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,245,239,.04) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}


/* Финальная геометрия: такая же компактная, но правая подпись правее */
body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(34px, 3.6vw, 52px) 0 clamp(38px, 4.2vw, 60px) !important;
}

body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero .aio-events-museum-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(360px, .82fr) minmax(360px, .72fr) !important;
    gap: clamp(58px, 7vw, 118px) !important;
    align-items: end !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero .aio-events-kicker,
body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero .aio-events-kicker_light {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero h1 {
    margin: 0 !important;
    max-width: 680px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero .aio-events-museum-hero__inner > p {
    justify-self: start !important;
    align-self: end !important;
    max-width: 600px !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    text-align: left !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
}

@media (max-width: 920px) {
    body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-gallery-item .aio-gallery-museum-hero.aio-gallery-item-etalon-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }
}

/* ============================================================
   AIO AUTHOR ALBUMS PAGE — REBUILD FROM AUTHOR POSTS ETALON
   /people/:slug/albums
   Hero как у публикаций автора. Карточки: квадратная обложка + текст.
   ============================================================ */

body.page-people-albums .aio-author-archive-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(circle at 78% 22%, rgba(169, 67, 43, .16), transparent 22rem),
        linear-gradient(135deg, #121416 0%, #191A1D 56%, #2A2224 100%) !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
    color: #F8F5EF !important;
}

body.page-people-albums .aio-author-archive-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .13 !important;
    background-image:
        linear-gradient(rgba(248,245,239,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,245,239,.08) 1px, transparent 1px) !important;
    background-size: 72px 72px !important;
}

body.page-people-albums .aio-author-archive-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-people-albums .aio-author-archive-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(250px, 360px) !important;
    gap: clamp(24px, 4vw, 58px) !important;
    align-items: center !important;
}

body.page-people-albums .aio-author-archive-hero .aio-events-kicker {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
    -webkit-text-fill-color: #E5B9A7 !important;
}

body.page-people-albums .aio-author-archive-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    max-width: 680px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    font-weight: 500 !important;
    line-height: .9 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-people-albums .aio-author-archive-hero__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 16px !important;
}

body.page-people-albums .aio-author-archive-hero__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.22) !important;
    background: rgba(248,245,239,.08) !important;
    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

body.page-people-albums .aio-author-archive-hero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 18px !important;
}

body.page-people-albums .aio-author-archive-hero__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.26) !important;
    background: rgba(248,245,239,.08) !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-archive-hero__actions a:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.page-people-albums .aio-author-albums-page {
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.055), transparent 24rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
    padding: clamp(38px, 4vw, 58px) 0 clamp(66px, 7vw, 96px) !important;
}

body.page-people-albums .aio-author-albums-page .aio-container {
    max-width: 1240px !important;
}

body.page-people-albums .aio-author-albums-layout {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

body.page-people-albums .aio-author-albums-sidebar {
    display: grid !important;
    gap: 16px !important;
    position: sticky !important;
    top: 92px !important;
}

body.page-people-albums .aio-author-albums-note,
body.page-people-albums .aio-author-single-panel,
body.page-people-albums .aio-author-archive-empty {
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
}

body.page-people-albums .aio-author-albums-note {
    padding: 18px !important;
}

body.page-people-albums .aio-author-albums-note p:not(.aio-events-kicker) {
    margin: 12px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.64) !important;
}

body.page-people-albums .aio-author-albums-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: end !important;
    gap: 20px !important;
    margin-bottom: 22px !important;
}

body.page-people-albums .aio-author-albums-head h2 {
    margin: 6px 0 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
}

body.page-people-albums .aio-author-albums-head > span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.48) !important;
    -webkit-text-fill-color: rgba(45,45,45,.48) !important;
}

body.page-people-albums .aio-author-albums-list {
    display: grid !important;
    gap: 18px !important;
}

body.page-people-albums .aio-author-album-card {
    display: grid !important;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) !important;
    min-height: 260px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,245,239,.92)) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.07) !important;
    overflow: hidden !important;
}

body.page-people-albums .aio-author-album-card__cover {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 260px !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.22), transparent 15rem),
        linear-gradient(135deg, #121416, #191A1D 58%, #2A2224) !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-album-card__cover::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(18,20,22,.04), rgba(18,20,22,.32)),
        linear-gradient(90deg, rgba(7,45,91,.12), rgba(169,67,43,.08)) !important;
    opacity: .64 !important;
    pointer-events: none !important;
    transition: opacity .25s ease !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover::after {
    opacity: .22 !important;
}

body.page-people-albums .aio-author-album-card__cover img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    filter: saturate(.78) contrast(.98) brightness(.88) sepia(.06) !important;
    transform: scale(1.01) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(.01) !important;
    transform: scale(1.035) !important;
}

body.page-people-albums .aio-author-album-card__cover span {
    position: relative !important;
    z-index: 2 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 38px !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

body.page-people-albums .aio-author-album-card__body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: clamp(22px, 3vw, 34px) !important;
}

body.page-people-albums .aio-author-album-card__type {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-people-albums .aio-author-album-card h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
}

body.page-people-albums .aio-author-album-card h3 a {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-album-card__excerpt {
    max-width: 620px !important;
    margin: 12px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
    color: rgba(45,45,45,.66) !important;
    -webkit-text-fill-color: rgba(45,45,45,.66) !important;
}

body.page-people-albums .aio-author-album-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px 14px !important;
    margin-top: 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    color: rgba(45,45,45,.48) !important;
    -webkit-text-fill-color: rgba(45,45,45,.48) !important;
}

body.page-people-albums .aio-author-album-card__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-albums-disclaimer {
    max-width: 900px !important;
    margin: 24px 0 0 !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(45,45,45,.08) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.42) !important;
    -webkit-text-fill-color: rgba(45,45,45,.42) !important;
}

@media (max-width: 980px) {
    body.page-people-albums .aio-author-archive-hero__inner,
    body.page-people-albums .aio-author-albums-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people-albums .aio-author-albums-sidebar {
        position: static !important;
    }
}

@media (max-width: 760px) {
    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 1fr !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        min-height: 0 !important;
    }

    body.page-people-albums .aio-author-albums-head {
        display: block !important;
    }

    body.page-people-albums .aio-author-albums-head > span {
        display: block !important;
        margin-top: 8px !important;
    }
}


/* ============================================================
   AIO AUTHOR ALBUMS — CARD TUNE
   Hero не трогаем. Уплотняем фотоальбомы:
   квадратная обложка слева, описание справа, бумажная музейная карточка.
   ============================================================ */

body.page-people-albums .aio-author-albums-main {
    min-width: 0 !important;
}

body.page-people-albums .aio-author-albums-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
}

body.page-people-albums .aio-author-album-card {
    display: grid !important;
    grid-template-columns: 188px minmax(0, 1fr) !important;
    min-height: 188px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,245,239,.92) 54%, rgba(242,227,207,.56)) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 26px rgba(45,45,45,.045) !important;
    overflow: hidden !important;
}

body.page-people-albums .aio-author-album-card__cover {
    width: 188px !important;
    height: 188px !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    align-self: stretch !important;
    background:
        radial-gradient(circle at 80% 18%, rgba(169,67,43,.16), transparent 10rem),
        linear-gradient(135deg, #121416, #191A1D 58%, #2A2224) !important;
}

body.page-people-albums .aio-author-album-card__cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.76) contrast(.98) brightness(.90) sepia(.05) !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(.01) !important;
}

body.page-people-albums .aio-author-album-card__cover::after {
    opacity: .46 !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover::after {
    opacity: .18 !important;
}

body.page-people-albums .aio-author-album-card__body {
    justify-content: center !important;
    padding: 20px 24px 19px !important;
    min-width: 0 !important;
}

body.page-people-albums .aio-author-album-card__type {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-people-albums .aio-author-album-card h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(27px, 2.35vw, 36px) !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
}

body.page-people-albums .aio-author-album-card__excerpt {
    max-width: 620px !important;
    margin: 10px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.64) !important;
    -webkit-text-fill-color: rgba(45,45,45,.64) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-people-albums .aio-author-album-card__meta {
    gap: 6px 12px !important;
    margin-top: 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.35 !important;
    color: rgba(45,45,45,.48) !important;
    -webkit-text-fill-color: rgba(45,45,45,.48) !important;
}

body.page-people-albums .aio-author-album-card__meta span {
    display: inline-flex !important;
    align-items: center !important;
}

body.page-people-albums .aio-author-album-card__link {
    margin-top: 13px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-albums-disclaimer {
    max-width: 880px !important;
    margin: 18px 0 0 !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(45,45,45,.075) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.38) !important;
    -webkit-text-fill-color: rgba(45,45,45,.38) !important;
}

@media (max-width: 760px) {
    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 1fr !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    body.page-people-albums .aio-author-album-card__body {
        padding: 20px !important;
    }
}


/* ============================================================
   AIO AUTHOR ALBUMS — COMPACT GRID FINAL
   Только карточки альбомов. Hero не трогаем.
   Две компактные карточки в ряд: квадрат слева + описание справа.
   ============================================================ */

body.page-people-albums .aio-author-albums-page {
    padding-top: clamp(34px, 4vw, 50px) !important;
}

body.page-people-albums .aio-author-albums-main {
    min-width: 0 !important;
}

body.page-people-albums .aio-author-albums-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: stretch !important;
}

body.page-people-albums .aio-author-album-card {
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr) !important;
    min-height: 132px !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,245,239,.92) 58%, rgba(242,227,207,.52)) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    border-radius: 0 !important;
    box-shadow: 0 9px 22px rgba(45,45,45,.045) !important;
}

body.page-people-albums .aio-author-album-card__cover {
    width: 132px !important;
    height: 132px !important;
    min-width: 132px !important;
    min-height: 132px !important;
    max-width: 132px !important;
    max-height: 132px !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
    align-self: start !important;
    overflow: hidden !important;
}

body.page-people-albums .aio-author-album-card__cover img,
body.page-people-albums .aio-author-album-card__cover svg {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.76) contrast(.98) brightness(.90) sepia(.05) !important;
}

body.page-people-albums .aio-author-album-card__cover::after {
    opacity: .38 !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover::after {
    opacity: .16 !important;
}

body.page-people-albums .aio-author-album-card__body {
    min-width: 0 !important;
    display: block !important;
    padding: 15px 16px 14px !important;
}

body.page-people-albums .aio-author-album-card__type {
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.8px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.page-people-albums .aio-author-album-card h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(22px, 2vw, 29px) !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: -.022em !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
}

body.page-people-albums .aio-author-album-card__excerpt {
    margin: 8px 0 0 !important;
    max-width: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.42 !important;
    color: rgba(45,45,45,.62) !important;
    -webkit-text-fill-color: rgba(45,45,45,.62) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-people-albums .aio-author-album-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px 10px !important;
    margin-top: 9px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.3 !important;
    color: rgba(45,45,45,.46) !important;
    -webkit-text-fill-color: rgba(45,45,45,.46) !important;
}

body.page-people-albums .aio-author-album-card__meta span {
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.page-people-albums .aio-author-album-card__link {
    margin-top: 10px !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.7px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-albums-disclaimer {
    max-width: 100% !important;
    margin: 18px 0 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(45,45,45,.07) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.5 !important;
    color: rgba(45,45,45,.35) !important;
    -webkit-text-fill-color: rgba(45,45,45,.35) !important;
}

/* на средней ширине оставляем одну колонку, но карточка всё равно компактная */
@media (max-width: 1120px) {
    body.page-people-albums .aio-author-albums-list {
        grid-template-columns: 1fr !important;
    }

    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 150px minmax(0, 1fr) !important;
        min-height: 150px !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        width: 150px !important;
        height: 150px !important;
        min-width: 150px !important;
        min-height: 150px !important;
        max-width: 150px !important;
        max-height: 150px !important;
    }
}

@media (max-width: 620px) {
    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        min-height: 112px !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        width: 112px !important;
        height: 112px !important;
        min-width: 112px !important;
        min-height: 112px !important;
        max-width: 112px !important;
        max-height: 112px !important;
    }

    body.page-people-albums .aio-author-album-card__body {
        padding: 12px 13px !important;
    }

    body.page-people-albums .aio-author-album-card__excerpt {
        display: none !important;
    }
}


/* ============================================================
   AIO AUTHOR ALBUMS — REAL COMPACT GRID LOCK
   /people/:slug/albums
   Hero не трогаем.
   Убираем принудительную одну колонку на 1120px.
   Карточки альбомов: компактная музейная сетка 2 в ряд.
   ============================================================ */

body.page-people-albums .aio-author-albums-main {
    min-width: 0 !important;
}

body.page-people-albums .aio-author-albums-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

body.page-people-albums .aio-author-album-card {
    display: grid !important;
    grid-template-columns: 116px minmax(0, 1fr) !important;
    min-height: 116px !important;
    height: auto !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.90), rgba(248,245,239,.94) 58%, rgba(242,227,207,.48)) !important;
    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 20px rgba(45,45,45,.04) !important;
}

body.page-people-albums .aio-author-album-card__cover {
    width: 116px !important;
    height: 116px !important;
    min-width: 116px !important;
    min-height: 116px !important;
    max-width: 116px !important;
    max-height: 116px !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
    overflow: hidden !important;
    align-self: start !important;
    background:
        radial-gradient(circle at 80% 18%, rgba(169,67,43,.14), transparent 9rem),
        linear-gradient(135deg, #121416, #191A1D 58%, #2A2224) !important;
}

body.page-people-albums .aio-author-album-card__cover img,
body.page-people-albums .aio-author-album-card__cover svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.78) contrast(.98) brightness(.90) sepia(.05) !important;
    transform: none !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(.01) !important;
    transform: scale(1.025) !important;
}

body.page-people-albums .aio-author-album-card__cover::after {
    opacity: .34 !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover::after {
    opacity: .14 !important;
}

body.page-people-albums .aio-author-album-card__body {
    min-width: 0 !important;
    display: block !important;
    padding: 12px 14px 11px !important;
}

body.page-people-albums .aio-author-album-card__type {
    margin: 0 0 5px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.2px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.page-people-albums .aio-author-album-card h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(20px, 1.75vw, 26px) !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    letter-spacing: -.02em !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
}

body.page-people-albums .aio-author-album-card h3 a {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-album-card__excerpt {
    margin: 6px 0 0 !important;
    max-width: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.34 !important;
    color: rgba(45,45,45,.60) !important;
    -webkit-text-fill-color: rgba(45,45,45,.60) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-people-albums .aio-author-album-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
    margin-top: 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.8px !important;
    line-height: 1.25 !important;
    color: rgba(45,45,45,.46) !important;
    -webkit-text-fill-color: rgba(45,45,45,.46) !important;
}

body.page-people-albums .aio-author-album-card__meta span {
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.page-people-albums .aio-author-album-card__link {
    margin-top: 8px !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-albums-disclaimer {
    max-width: 100% !important;
    margin: 16px 0 0 !important;
    padding-top: 9px !important;
    border-top: 1px solid rgba(45,45,45,.07) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.5px !important;
    line-height: 1.45 !important;
    color: rgba(45,45,45,.34) !important;
    -webkit-text-fill-color: rgba(45,45,45,.34) !important;
}

/* Важно: до реального мобильного размера держим 2 колонки */
@media (min-width: 781px) {
    body.page-people-albums .aio-author-albums-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Только на мобильном — одна колонка */
@media (max-width: 780px) {
    body.page-people-albums .aio-author-albums-list {
        grid-template-columns: 1fr !important;
    }

    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        min-height: 112px !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        width: 112px !important;
        height: 112px !important;
        min-width: 112px !important;
        min-height: 112px !important;
        max-width: 112px !important;
        max-height: 112px !important;
    }
}

@media (max-width: 520px) {
    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 96px minmax(0, 1fr) !important;
        min-height: 96px !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        width: 96px !important;
        height: 96px !important;
        min-width: 96px !important;
        min-height: 96px !important;
        max-width: 96px !important;
        max-height: 96px !important;
    }

    body.page-people-albums .aio-author-album-card__body {
        padding: 10px 11px !important;
    }

    body.page-people-albums .aio-author-album-card__excerpt {
        display: none !important;
    }

    body.page-people-albums .aio-author-album-card__meta {
        margin-top: 6px !important;
    }

    body.page-people-albums .aio-author-album-card__link {
        margin-top: 7px !important;
    }
}


/* ============================================================
   AIO AUTHOR ALBUMS — WIDE LIST FINAL LOCK
   /people/:slug/albums
   Без внутреннего заголовка. Один альбом — одна широкая карточка.
   Слева квадратная фотография, справа описание и дисклеймер.
   ============================================================ */

body.page-people-albums .aio-author-albums-head {
    display: none !important;
}

body.page-people-albums .aio-author-albums-page {
    padding-top: clamp(44px, 5vw, 68px) !important;
    padding-bottom: clamp(66px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.045), transparent 24rem),
        radial-gradient(circle at 88% 20%, rgba(7,45,91,.035), transparent 26rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 54%, #F2E3CF 100%) !important;
}

body.page-people-albums .aio-author-albums-layout,
body.page-people-albums .aio-blogs-museum-layout.aio-author-albums-layout {
    display: block !important;
    grid-template-columns: none !important;
}

body.page-people-albums .aio-author-albums-sidebar,
body.page-people-albums .aio-author-single-panel,
body.page-people-albums .aio-author-albums-note {
    display: none !important;
}

body.page-people-albums .aio-author-albums-main,
body.page-people-albums .aio-blogs-museum-main.aio-author-albums-main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.page-people-albums .aio-author-albums-list {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    align-items: stretch !important;
}

body.page-people-albums .aio-author-album-card {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    min-height: 280px !important;
    height: auto !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.91), rgba(248,245,239,.94) 55%, rgba(242,227,207,.50)) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 44px rgba(45,45,45,.065) !important;
}

body.page-people-albums .aio-author-album-card__cover {
    width: 280px !important;
    height: 280px !important;
    min-width: 280px !important;
    min-height: 280px !important;
    max-width: 280px !important;
    max-height: 280px !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
    overflow: hidden !important;
    align-self: start !important;
    background:
        radial-gradient(circle at 80% 18%, rgba(169,67,43,.18), transparent 12rem),
        linear-gradient(135deg, #121416, #191A1D 58%, #2A2224) !important;
}

body.page-people-albums .aio-author-album-card__cover img,
body.page-people-albums .aio-author-album-card__cover svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.78) contrast(.98) brightness(.90) sepia(.05) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(.01) !important;
    transform: scale(1.025) !important;
}

body.page-people-albums .aio-author-album-card__cover::after {
    opacity: .36 !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover::after {
    opacity: .14 !important;
}

body.page-people-albums .aio-author-album-card__body {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: clamp(28px, 3.4vw, 44px) clamp(32px, 4vw, 54px) !important;
}

body.page-people-albums .aio-author-album-card__type {
    margin: 0 0 11px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

body.page-people-albums .aio-author-album-card h3 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 4vw, 58px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
}

body.page-people-albums .aio-author-album-card h3 a {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-album-card__excerpt {
    max-width: 760px !important;
    margin: 14px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.66 !important;
    color: rgba(45,45,45,.66) !important;
    -webkit-text-fill-color: rgba(45,45,45,.66) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-people-albums .aio-author-album-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px 15px !important;
    margin-top: 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    color: rgba(45,45,45,.48) !important;
    -webkit-text-fill-color: rgba(45,45,45,.48) !important;
}

body.page-people-albums .aio-author-album-card__meta span {
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

body.page-people-albums .aio-author-album-card__link {
    margin-top: 18px !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-albums-disclaimer {
    max-width: 820px !important;
    margin: 18px 0 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(45,45,45,.07) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.5 !important;
    color: rgba(45,45,45,.34) !important;
    -webkit-text-fill-color: rgba(45,45,45,.34) !important;
}

@media (max-width: 900px) {
    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 220px minmax(0, 1fr) !important;
        min-height: 220px !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        width: 220px !important;
        height: 220px !important;
        min-width: 220px !important;
        min-height: 220px !important;
        max-width: 220px !important;
        max-height: 220px !important;
    }

    body.page-people-albums .aio-author-album-card__body {
        padding: 24px 28px !important;
    }

    body.page-people-albums .aio-author-album-card h3 {
        font-size: clamp(32px, 5vw, 46px) !important;
    }
}

@media (max-width: 640px) {
    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 1fr !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        aspect-ratio: 1 / 1 !important;
    }

    body.page-people-albums .aio-author-album-card__body {
        padding: 22px !important;
    }
}


/* ============================================================
   AIO AUTHOR ALBUMS — PHOTO STRETCH + CORMORANT TITLE LOCK
   /people/:slug/albums
   Фото растягивается на высоту карточки. Описание короткое.
   Названия альбомов — строго AIO Cormorant.
   ============================================================ */

body.page-people-albums .aio-author-albums-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
}

body.page-people-albums .aio-author-album-card {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: clamp(320px, 30vw, 390px) minmax(0, 1fr) !important;
    min-height: clamp(320px, 30vw, 390px) !important;
    height: auto !important;
    align-items: stretch !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,245,239,.94) 55%, rgba(242,227,207,.50)) !important;
    border: 1px solid rgba(45,45,45,.11) !important;
    border-radius: 0 !important;
    box-shadow: 0 20px 50px rgba(45,45,45,.07) !important;
}

body.page-people-albums .aio-author-album-card__cover {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: clamp(320px, 30vw, 390px) !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    display: block !important;
    align-self: stretch !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 80% 18%, rgba(169,67,43,.18), transparent 12rem),
        linear-gradient(135deg, #121416, #191A1D 58%, #2A2224) !important;
}

body.page-people-albums .aio-author-album-card__cover img,
body.page-people-albums .aio-author-album-card__cover svg {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.78) contrast(.98) brightness(.90) sepia(.05) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-people-albums .aio-author-album-card:hover .aio-author-album-card__cover img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(.01) !important;
    transform: scale(1.025) !important;
}

body.page-people-albums .aio-author-album-card__body {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: clamp(34px, 4vw, 56px) clamp(38px, 5vw, 72px) !important;
}

body.page-people-albums .aio-author-album-card__type {
    margin: 0 0 13px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-people-albums .aio-author-album-card h3,
body.page-people-albums .aio-author-album-card h3 a,
body.page-people-albums .aio-author-album-card__body h3,
body.page-people-albums .aio-author-album-card__body h3 a {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif !important;
    font-size: clamp(44px, 4.8vw, 72px) !important;
    line-height: .90 !important;
    font-weight: 400 !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-album-card__excerpt {
    max-width: 760px !important;
    margin: 16px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.58) !important;
    -webkit-text-fill-color: rgba(45,45,45,.58) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-people-albums .aio-author-album-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px 15px !important;
    margin-top: 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    color: rgba(45,45,45,.46) !important;
    -webkit-text-fill-color: rgba(45,45,45,.46) !important;
}

body.page-people-albums .aio-author-album-card__link {
    margin-top: 18px !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

body.page-people-albums .aio-author-albums-disclaimer {
    max-width: 840px !important;
    margin: 18px 0 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(45,45,45,.07) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.8px !important;
    line-height: 1.45 !important;
    color: rgba(45,45,45,.32) !important;
    -webkit-text-fill-color: rgba(45,45,45,.32) !important;
}

@media (max-width: 900px) {
    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 260px minmax(0, 1fr) !important;
        min-height: 260px !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        min-height: 260px !important;
    }

    body.page-people-albums .aio-author-album-card h3,
    body.page-people-albums .aio-author-album-card h3 a {
        font-size: clamp(36px, 5.8vw, 54px) !important;
    }
}

@media (max-width: 640px) {
    body.page-people-albums .aio-author-album-card {
        grid-template-columns: 1fr !important;
    }

    body.page-people-albums .aio-author-album-card__cover {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
    }

    body.page-people-albums .aio-author-album-card__body {
        padding: 24px !important;
    }
}


/* ============================================================
   AIO AUTHOR ALBUMS — THIN CORMORANT CAPS FINAL
   Названия фотоальбомов: тонкий красивый капс, не гротеск.
   ============================================================ */

/* На случай, если style-lock грузится раньше/иначе — явно поднимаем Cormorant */
@font-face {
    font-family: "AIO Cormorant Albums";
    src: url("../fonts/CormorantGaramond-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AIO Cormorant Albums";
    src: url("../fonts/CormorantGaramond-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body.page-people-albums .aio-author-album-card h3,
body.page-people-albums .aio-author-album-card h3 a,
body.page-people-albums .aio-author-album-card__body h3,
body.page-people-albums .aio-author-album-card__body h3 a {
    margin: 0 !important;
    padding: 0 !important;

    font-family: "AIO Cormorant Albums", "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.1vw, 58px) !important;
    line-height: .92 !important;
    font-weight: 300 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;

    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    text-decoration: none !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Чтобы никакой глобальный h3/a не возвращал жирный гротеск */
body.page-people-albums .aio-author-album-card__body h3 * {
    font-family: "AIO Cormorant Albums", "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 300 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
}

/* Чуть уменьшаем служебный текст, чтобы название стало главным */
body.page-people-albums .aio-author-album-card__type {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}

body.page-people-albums .aio-author-album-card__excerpt {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}

@media (max-width: 900px) {
    body.page-people-albums .aio-author-album-card h3,
    body.page-people-albums .aio-author-album-card h3 a {
        font-size: clamp(32px, 6vw, 46px) !important;
        letter-spacing: .03em !important;
    }
}


/* ============================================================
   AIO AUTHOR ALBUMS — TITLE SIZE HALF
   Только название альбома: тонкий Cormorant caps, но в 2 раза меньше.
   ============================================================ */

body.page-people-albums .aio-author-album-card h3,
body.page-people-albums .aio-author-album-card h3 a,
body.page-people-albums .aio-author-album-card__body h3,
body.page-people-albums .aio-author-album-card__body h3 a {
    font-size: clamp(19px, 2.05vw, 29px) !important;
    line-height: .96 !important;
}

@media (max-width: 900px) {
    body.page-people-albums .aio-author-album-card h3,
    body.page-people-albums .aio-author-album-card h3 a {
        font-size: clamp(18px, 3vw, 24px) !important;
    }
}


/* ============================================================
   AIO AUTHOR ALBUMS — TITLE SIZE X1.5
   Только название альбома: увеличено в 1,5 раза от предыдущей правки.
   ============================================================ */

body.page-people-albums .aio-author-album-card h3,
body.page-people-albums .aio-author-album-card h3 a,
body.page-people-albums .aio-author-album-card__body h3,
body.page-people-albums .aio-author-album-card__body h3 a {
    font-size: clamp(28px, 3.05vw, 43px) !important;
    line-height: .94 !important;
}

@media (max-width: 900px) {
    body.page-people-albums .aio-author-album-card h3,
    body.page-people-albums .aio-author-album-card h3 a {
        font-size: clamp(25px, 4.2vw, 36px) !important;
    }
}


/* ============================================================
   AIO GALLERY ITEM — DESCRIPTION SOFT TEXT BLOCK
   Убираем эффект "коробочка в коробочке" в описании альбома.
   Описание становится музейным текстовым блоком, а не белой карточкой.
   ============================================================ */

body.page-gallery-item .aio-gallery-item-description,
body.page-gallery-item .aio-gallery-item-description_bottom {
    max-width: 920px !important;
    margin: clamp(30px, 3vw, 44px) 0 0 !important;
    padding: 22px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(45,45,45,.13) !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-gallery-item .aio-gallery-item-description::before,
body.page-gallery-item .aio-gallery-item-description::after,
body.page-gallery-item .aio-gallery-item-description_bottom::before,
body.page-gallery-item .aio-gallery-item-description_bottom::after {
    display: none !important;
    content: none !important;
}

body.page-gallery-item .aio-gallery-item-description .aio-events-kicker,
body.page-gallery-item .aio-gallery-item-description_bottom .aio-events-kicker {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-gallery-item .aio-gallery-item-description p,
body.page-gallery-item .aio-gallery-item-description_bottom p,
body.page-gallery-item .aio-gallery-item-description div,
body.page-gallery-item .aio-gallery-item-description_bottom div {
    max-width: 850px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.74 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
}

body.page-gallery-item .aio-gallery-item-main > .aio-gallery-item-description,
body.page-gallery-item .aio-gallery-item-main > .aio-gallery-item-description_bottom {
    background: transparent !important;
}


/* ============================================================
   AIO BLOG TITLES — THIN CORMORANT CAPS LOCK
   Карточки блогов, публикации автора, другие публикации.
   Названия: AIO Cormorant, тонкий красивый капс, меньше.
   ============================================================ */

body.page-blogs .aio-blog-museum-card h3,
body.page-people-posts .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-more-card h3,
body.page-blog-item .aio-blog-related-card h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(25px, 2.15vw, 34px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-blogs .aio-blog-museum-card h3 a,
body.page-people-posts .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-more-card h3 a,
body.page-blog-item .aio-blog-related-card h3 a {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

/* На больших карточках не раздуваем заголовок обратно */
body.page-blogs .aio-blog-museum-card_featured h3,
body.page-people-posts .aio-blog-museum-card_featured h3,
body.page-blog-item .aio-blog-museum-card_featured h3 {
    font-size: clamp(28px, 2.55vw, 38px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
}

/* Блок "Другие публикации": убираем лишний верхний служебный кикер, если он остался */
body.page-blog-item .aio-blog-item-more .aio-events-kicker,
body.page-blog-item .aio-blog-more .aio-events-kicker,
body.page-blog-item .aio-blog-related .aio-events-kicker {
    display: none !important;
}

/* Заголовок самого блока "Другие публикации" оставляем красивым и не слишком большим */
body.page-blog-item .aio-blog-item-more h2,
body.page-blog-item .aio-blog-more h2,
body.page-blog-item .aio-blog-related h2 {
    margin-top: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-weight: 300 !important;
    letter-spacing: -.015em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Чуть благороднее общий вид карточек после уменьшения заголовков */
body.page-blogs .aio-blog-museum-card,
body.page-people-posts .aio-blog-museum-card,
body.page-blog-item .aio-blog-museum-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,245,239,.94) 58%, rgba(242,227,207,.56)) !important;
}

@media (max-width: 680px) {
    body.page-blogs .aio-blog-museum-card h3,
    body.page-people-posts .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-more-card h3,
    body.page-blog-item .aio-blog-related-card h3 {
        font-size: clamp(23px, 7vw, 31px) !important;
        line-height: 1 !important;
    }
}


/* ============================================================
   AIO BLOG TITLES — HALF SIZE + MORE BLOCK FIX
   Уменьшаем названия карточек ровно в 2 раза.
   "Еще по теме" оставляем, "Другие публикации" скрываем.
   ============================================================ */

/* /blogs, /people/:slug/posts, карточки других публикаций */
body.page-blogs .aio-blog-museum-card h3,
body.page-people-posts .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-more-card h3,
body.page-blog-item .aio-blog-related-card h3 {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(12.5px, 1.075vw, 17px) !important;
    line-height: 1.05 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-blogs .aio-blog-museum-card h3 a,
body.page-people-posts .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-more-card h3 a,
body.page-blog-item .aio-blog-related-card h3 a {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

/* Даже featured-карточки — тоже в два раза меньше прежнего крупного масштаба */
body.page-blogs .aio-blog-museum-card_featured h3,
body.page-people-posts .aio-blog-museum-card_featured h3,
body.page-blog-item .aio-blog-museum-card_featured h3 {
    font-size: clamp(14px, 1.275vw, 19px) !important;
    line-height: 1.05 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
}

/* Кикер "Еще по теме" должен быть виден */
body.page-blog-item .aio-blog-more-kicker,
body.page-blog-item .aio-blog-item-more .aio-events-kicker,
body.page-blog-item .aio-blog-more .aio-events-kicker,
body.page-blog-item .aio-blog-related .aio-events-kicker {
    display: block !important;
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* А вот большой заголовок "Другие публикации" убираем */
body.page-blog-item .aio-blog-item-more h2,
body.page-blog-item .aio-blog-more h2,
body.page-blog-item .aio-blog-related h2 {
    display: none !important;
}

/* На мобильном — не раздувать обратно */
@media (max-width: 680px) {
    body.page-blogs .aio-blog-museum-card h3,
    body.page-people-posts .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-more-card h3,
    body.page-blog-item .aio-blog-related-card h3 {
        font-size: clamp(12px, 3.5vw, 15.5px) !important;
        line-height: 1.08 !important;
    }
}


/* ============================================================
   AIO BLOG CARDS — TITLE SCALE 1.5X + MORE KICKER FIX
   Карточки блогов: тонкий Cormorant, капс, увеличено в 1.5 раза.
   ============================================================ */

/* Карточки в общем блоге, публикациях автора, других публикациях */
body.page-blogs .aio-blog-museum-card h3,
body.page-people-posts .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-more-card h3,
body.page-blog-item .aio-blog-related-card h3,
body.page-blog-item .aio-blog-archive-gallery__card h3,
body.page-blog-item .aio-blog-archive-gallery h3 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(18.75px, 1.62vw, 25.5px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-blogs .aio-blog-museum-card h3 a,
body.page-people-posts .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-more-card h3 a,
body.page-blog-item .aio-blog-related-card h3 a,
body.page-blog-item .aio-blog-archive-gallery__card h3 a,
body.page-blog-item .aio-blog-archive-gallery h3 a {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

/* Featured / крупные карточки — тоже тонкий капс, но чуть крупнее */
body.page-blogs .aio-blog-museum-card_featured h3,
body.page-people-posts .aio-blog-museum-card_featured h3,
body.page-blog-item .aio-blog-museum-card_featured h3 {
    font-size: clamp(21px, 1.92vw, 28.5px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
}

/* Кикер "Еще по теме" */
body.page-blog-item .aio-blog-more-kicker,
body.page-blog-item .aio-blog-item-more .aio-events-kicker,
body.page-blog-item .aio-blog-more .aio-events-kicker,
body.page-blog-item .aio-blog-related .aio-events-kicker,
body.page-blog-item .aio-blog-archive-gallery .aio-events-kicker {
    display: block !important;
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Подстраховка: если "Другие публикации" где-то остался как h2 внутри related/more — скрываем */
body.page-blog-item .aio-blog-item-more h2,
body.page-blog-item .aio-blog-more h2,
body.page-blog-item .aio-blog-related h2,
body.page-blog-item .aio-blog-archive-gallery h2,
body.page-blog-item section[class*="more"] h2,
body.page-blog-item section[class*="related"] h2 {
    display: none !important;
}

/* Мобильный размер */
@media (max-width: 680px) {
    body.page-blogs .aio-blog-museum-card h3,
    body.page-people-posts .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-more-card h3,
    body.page-blog-item .aio-blog-related-card h3,
    body.page-blog-item .aio-blog-archive-gallery__card h3,
    body.page-blog-item .aio-blog-archive-gallery h3 {
        font-size: clamp(17px, 5vw, 22px) !important;
        line-height: 1.04 !important;
    }
}


/* ============================================================
   AIO BLOG ITEM — MORE/RELATED SMALL TITLE LOCK
   Только блок "Еще по теме" в детальной публикации.
   Основные карточки блогов не трогаем.
   ============================================================ */

body.page-blog-item .aio-blog-archive-gallery .aio-events-kicker,
body.page-blog-item .aio-blog-related .aio-events-kicker,
body.page-blog-item .aio-blog-more .aio-events-kicker,
body.page-blog-item .aio-blog-item-more .aio-events-kicker,
body.page-blog-item .aio-blog-more-kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Скрываем именно большой заголовок "Другие публикации" в related-блоке */
body.page-blog-item .aio-blog-archive-gallery h2,
body.page-blog-item .aio-blog-related h2,
body.page-blog-item .aio-blog-more h2,
body.page-blog-item .aio-blog-item-more h2,
body.page-blog-item section[class*="related"] h2,
body.page-blog-item section[class*="more"] h2 {
    display: none !important;
}

/* Названия маленьких карточек "Еще по теме": в 1.5 раза меньше */
body.page-blog-item .aio-blog-archive-gallery .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-archive-gallery__card h3,
body.page-blog-item .aio-blog-related .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-more .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-item-more .aio-blog-museum-card h3,
body.page-blog-item .aio-blog-more-card h3,
body.page-blog-item .aio-blog-related-card h3 {
    margin: 0 0 7px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(12.5px, 1.08vw, 17px) !important;
    line-height: 1.04 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-blog-item .aio-blog-archive-gallery .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-archive-gallery__card h3 a,
body.page-blog-item .aio-blog-related .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-more .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-item-more .aio-blog-museum-card h3 a,
body.page-blog-item .aio-blog-more-card h3 a,
body.page-blog-item .aio-blog-related-card h3 a {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

@media (max-width: 680px) {
    body.page-blog-item .aio-blog-archive-gallery .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-archive-gallery__card h3,
    body.page-blog-item .aio-blog-related .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-more .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-item-more .aio-blog-museum-card h3,
    body.page-blog-item .aio-blog-more-card h3,
    body.page-blog-item .aio-blog-related-card h3 {
        font-size: clamp(12px, 4.2vw, 16px) !important;
        line-height: 1.05 !important;
    }
}


/* ============================================================
   AIO BLOG ITEM — REAL MORE CARDS TITLE FIX
   Реальный класс блока: .aio-blog-archive-more-card.
   Только маленькие карточки "Еще по теме" в детальной публикации.
   ============================================================ */

body.page-blog-item .aio-blog-archive-more .aio-blog-archive-more-card h3,
body.page-blog-item .aio-blog-archive-more-card h3,
body.page-blog-item article.aio-blog-archive-more-card h3 {
    margin: 0 0 7px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(18px, 1.55vw, 25px) !important;
    line-height: 1.03 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-blog-item .aio-blog-archive-more .aio-blog-archive-more-card h3 a,
body.page-blog-item .aio-blog-archive-more-card h3 a,
body.page-blog-item article.aio-blog-archive-more-card h3 a {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

/* Кикер "Еще по теме" — маленький, не спорит с карточками */
body.page-blog-item .aio-blog-archive-more .aio-blog-more-kicker,
body.page-blog-item .aio-blog-archive-more__head .aio-blog-more-kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Большой заголовок "Другие публикации" здесь не нужен */
body.page-blog-item .aio-blog-archive-more h2,
body.page-blog-item .aio-blog-archive-more__head h2 {
    display: none !important;
}

@media (max-width: 680px) {
    body.page-blog-item .aio-blog-archive-more .aio-blog-archive-more-card h3,
    body.page-blog-item .aio-blog-archive-more-card h3,
    body.page-blog-item article.aio-blog-archive-more-card h3 {
        font-size: clamp(17px, 5vw, 22px) !important;
        line-height: 1.04 !important;
    }
}


/* ============================================================
   AIO EDITORIAL POSTS — FINAL REBUILD
   /blogs/editorial. Hero как /blogs и /people/:slug/posts.
   Без IO-кругляшка. Карточки как публикации автора.
   ============================================================ */

body.page-blogs-editorial .aio-editorial-posts-hero {
    padding: clamp(42px, 4.6vw, 62px) 0 !important;
}

body.page-blogs-editorial .aio-editorial-posts-hero .aio-events-museum-hero__inner {
    min-height: 0 !important;
    align-items: end !important;
}

body.page-blogs-editorial .aio-editorial-posts-hero h1 {
    max-width: 760px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.2vw, 58px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-blogs-editorial .aio-editorial-posts-hero .aio-events-museum-hero__inner > p {
    max-width: 560px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

body.page-blogs-editorial .aio-editorial-posts-page {
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.055), transparent 24rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
}

body.page-blogs-editorial .aio-editorial-posts-note {
    padding: 18px !important;
    border-radius: 0 !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,245,239,.92) 58%, rgba(242,227,207,.50)) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 26px rgba(45,45,45,.045) !important;
}

body.page-blogs-editorial .aio-editorial-posts-note p:not(.aio-events-kicker) {
    margin: 12px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.64) !important;
    -webkit-text-fill-color: rgba(45,45,45,.64) !important;
}

/* Названия карточек редакции — тот же тонкий Cormorant caps, что в блогах */
body.page-blogs-editorial .aio-blog-museum-card h3,
body.page-blogs-editorial .aio-editorial-post-card h3 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(18.75px, 1.62vw, 25.5px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-blogs-editorial .aio-blog-museum-card h3 a,
body.page-blogs-editorial .aio-editorial-post-card h3 a {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

body.page-blogs-editorial .aio-blog-museum-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,245,239,.94) 58%, rgba(242,227,207,.56)) !important;
}

body.page-blogs-editorial .aio-blog-museum-card__image img {
    filter: saturate(.76) contrast(.98) brightness(.90) sepia(.05) !important;
}

body.page-blogs-editorial .aio-blog-museum-card:hover .aio-blog-museum-card__image img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(.01) !important;
}

@media (max-width: 980px) {
    body.page-blogs-editorial .aio-editorial-posts-hero .aio-events-museum-hero__inner,
    body.page-blogs-editorial .aio-editorial-posts-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-blogs-editorial .aio-editorial-posts-sidebar {
        position: static !important;
    }
}

@media (max-width: 680px) {
    body.page-blogs-editorial .aio-blog-museum-card h3,
    body.page-blogs-editorial .aio-editorial-post-card h3 {
        font-size: clamp(17px, 5vw, 22px) !important;
        line-height: 1.04 !important;
    }
}

/* ============================================================
   AIO EDITORIAL POSTS — LAYOUT FIX
   /blogs/editorial: как публикации автора.
   Hero ниже, слева фильтр/редакция, справа карточки блогов 2×2.
   ============================================================ */

body.page-blogs-editorial .aio-editorial-posts-hero,
body.page-blogs-editorial .aio-events-museum-hero.aio-editorial-posts-hero {
    padding: clamp(34px, 3.7vw, 50px) 0 !important;
    min-height: 0 !important;
}

body.page-blogs-editorial .aio-editorial-posts-hero .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px) !important;
    gap: clamp(24px, 4vw, 58px) !important;
    align-items: end !important;
    min-height: 0 !important;
}

body.page-blogs-editorial .aio-editorial-posts-hero h1 {
    max-width: 760px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(36px, 4vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-blogs-editorial .aio-editorial-posts-hero .aio-events-museum-hero__inner > p {
    max-width: 560px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
}

body.page-blogs-editorial .aio-editorial-posts-page,
body.page-blogs-editorial .aio-blogs-museum-page.aio-editorial-posts-page {
    background:
        radial-gradient(circle at 12% 12%, rgba(169,67,43,.055), transparent 24rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
    padding: clamp(38px, 4vw, 58px) 0 clamp(66px, 7vw, 96px) !important;
}

body.page-blogs-editorial .aio-editorial-posts-page .aio-container {
    max-width: 1240px !important;
}

body.page-blogs-editorial .aio-editorial-posts-layout,
body.page-blogs-editorial .aio-blogs-museum-layout.aio-editorial-posts-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

body.page-blogs-editorial .aio-editorial-posts-sidebar,
body.page-blogs-editorial .aio-blogs-museum-sidebar.aio-editorial-posts-sidebar {
    display: grid !important;
    gap: 16px !important;
    position: sticky !important;
    top: 92px !important;
}

body.page-blogs-editorial .aio-editorial-posts-main,
body.page-blogs-editorial .aio-blogs-museum-main.aio-editorial-posts-main {
    min-width: 0 !important;
}

body.page-blogs-editorial .aio-editorial-posts-grid,
body.page-blogs-editorial .aio-blogs-museum-grid.aio-editorial-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px !important;
    align-items: stretch !important;
}

/* Слева — не голые ссылки, а тот же музейный фильтр, что в блогах */
body.page-blogs-editorial .aio-editorial-posts-filter,
body.page-blogs-editorial .aio-editorial-posts-note {
    border-radius: 0 !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,245,239,.94) 58%, rgba(242,227,207,.54)) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 10px 26px rgba(45,45,45,.045) !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter {
    padding: 22px !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group {
    margin-top: 18px !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.48) !important;
    -webkit-text-fill-color: rgba(45,45,45,.48) !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    margin: 0 6px 8px 0 !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(45,45,45,.12) !important;
    background: rgba(255,255,255,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: rgba(45,45,45,.64) !important;
    -webkit-text-fill-color: rgba(45,45,45,.64) !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group a.is-active,
body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group a:hover {
    background: #072D5B !important;
    border-color: #072D5B !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.page-blogs-editorial .aio-editorial-posts-note {
    padding: 18px !important;
}

body.page-blogs-editorial .aio-editorial-posts-note p:not(.aio-events-kicker) {
    margin: 12px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.64) !important;
    -webkit-text-fill-color: rgba(45,45,45,.64) !important;
}

/* Карточки — как в блогах/публикациях автора */
body.page-blogs-editorial .aio-blog-museum-card,
body.page-blogs-editorial .aio-editorial-post-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,245,239,.94) 58%, rgba(242,227,207,.56)) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 14px 34px rgba(45,45,45,.055) !important;
}

body.page-blogs-editorial .aio-blog-museum-card__image {
    display: block !important;
    height: 240px !important;
    min-height: 240px !important;
    overflow: hidden !important;
    background: #07172C !important;
    text-decoration: none !important;
}

body.page-blogs-editorial .aio-blog-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.76) contrast(.98) brightness(.90) sepia(.05) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-blogs-editorial .aio-blog-museum-card:hover .aio-blog-museum-card__image img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(.01) !important;
    transform: scale(1.035) !important;
}

body.page-blogs-editorial .aio-blog-museum-card__body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 20px 22px 22px !important;
}

body.page-blogs-editorial .aio-blog-museum-card__type {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-blogs-editorial .aio-blog-museum-card h3,
body.page-blogs-editorial .aio-editorial-post-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(18.75px, 1.62vw, 25.5px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-blogs-editorial .aio-blog-museum-card h3 a,
body.page-blogs-editorial .aio-editorial-post-card h3 a {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
}

body.page-blogs-editorial .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    margin-top: auto !important;
    padding-top: 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.46) !important;
    -webkit-text-fill-color: rgba(45,45,45,.46) !important;
}

body.page-blogs-editorial .aio-blog-museum-card__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

/* Логотип редакции в карточке автора детальной публикации */
body.page-blog-item .aio-blog-archive-author__avatar img[src*="aio-logo"] {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 10px !important;
    background: #F8F5EF !important;
    filter: none !important;
}

@media (max-width: 1100px) {
    body.page-blogs-editorial .aio-editorial-posts-grid,
    body.page-blogs-editorial .aio-blogs-museum-grid.aio-editorial-posts-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 980px) {
    body.page-blogs-editorial .aio-editorial-posts-hero .aio-events-museum-hero__inner,
    body.page-blogs-editorial .aio-editorial-posts-layout,
    body.page-blogs-editorial .aio-blogs-museum-layout.aio-editorial-posts-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-blogs-editorial .aio-editorial-posts-sidebar {
        position: static !important;
    }
}

@media (max-width: 680px) {
    body.page-blogs-editorial .aio-blog-museum-card__image {
        height: 190px !important;
        min-height: 190px !important;
    }

    body.page-blogs-editorial .aio-blog-museum-card h3,
    body.page-blogs-editorial .aio-editorial-post-card h3 {
        font-size: clamp(17px, 5vw, 22px) !important;
        line-height: 1.04 !important;
    }
}

/* ============================================================
   AIO EDITORIAL POSTS — LEFT COLUMN + BACKGROUND POLISH
   Только /blogs/editorial. Карточки не трогаем.
   ============================================================ */

body.page-blogs-editorial .aio-editorial-posts-page,
body.page-blogs-editorial .aio-blogs-museum-page.aio-editorial-posts-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(169,67,43,.045), transparent 24rem),
        radial-gradient(circle at 88% 18%, rgba(7,45,91,.035), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 54%, #F2E3CF 100%) !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter,
body.page-blogs-editorial .aio-editorial-posts-note {
    background:
        linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,245,239,.90) 52%, rgba(242,227,207,.42)) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 34px rgba(45,45,45,.055) !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-kicker,
body.page-blogs-editorial .aio-editorial-posts-note .aio-events-kicker {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter > h2,
body.page-blogs-editorial .aio-editorial-posts-filter > h3,
body.page-blogs-editorial .aio-editorial-posts-note > h2,
body.page-blogs-editorial .aio-editorial-posts-note > h3 {
    margin: 0 0 18px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(26px, 2.2vw, 34px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-blogs-editorial .aio-editorial-posts-note p:not(.aio-events-kicker) {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(45,45,45,.66) !important;
    -webkit-text-fill-color: rgba(45,45,45,.66) !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group {
    margin-top: 0 !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.48) !important;
    -webkit-text-fill-color: rgba(45,45,45,.48) !important;
}

/* Убираем случайный второй текстовый заголовок "Темы редакции", если он остался простым абзацем */
body.page-blogs-editorial .aio-editorial-posts-filter > p:not(.aio-events-kicker):first-of-type {
    margin: 0 0 18px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(26px, 2.2vw, 34px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Если в блоке тем уже есть отдельный h3 "Темы", он не должен выглядеть как большой заголовок */
body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group h3 {
    font-size: 10px !important;
}

/* Hero ещё чуть компактнее, чтобы не давил на карточки */
body.page-blogs-editorial .aio-editorial-posts-hero,
body.page-blogs-editorial .aio-events-museum-hero.aio-editorial-posts-hero {
    padding: clamp(30px, 3.2vw, 44px) 0 !important;
}

/* ============================================================
   AIO EDITORIAL — THEMES FILTER CLEAN + WARM PAGE BACKGROUND
   /blogs/editorial: один кикер "Темы", без дублей.
   ============================================================ */

body.page-blogs-editorial .aio-editorial-posts-page,
body.page-blogs-editorial .aio-blogs-museum-page,
body.page-blogs-editorial .aio-editorial-posts-zero-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(169,67,43,.050), transparent 25rem),
        radial-gradient(circle at 88% 18%, rgba(7,45,91,.030), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 50%, #F2E3CF 100%) !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter {
    background:
        linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,245,239,.88) 46%, rgba(242,227,207,.48) 100%) !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter > .aio-events-kicker {
    display: block !important;
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Убираем визуально любые оставшиеся дубли "Темы редакции" и серый h3 "Темы" */
body.page-blogs-editorial .aio-editorial-posts-filter > h2,
body.page-blogs-editorial .aio-editorial-posts-filter > h3,
body.page-blogs-editorial .aio-editorial-posts-filter > p:not(.aio-events-kicker),
body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group > h3 {
    display: none !important;
}

body.page-blogs-editorial .aio-editorial-posts-filter .aio-events-filter-group {
    margin-top: 0 !important;
}

/* ============================================================
   AIO EDITORIAL — FILTER DUPLICATES CLEAN + MUSEUM BACKGROUND
   /blogs/editorial: один красный кикер "Темы"; фон от холодного к бежевому.
   ============================================================ */

body.page-blogs-editorial {
    background:
        radial-gradient(circle at 8% 12%, rgba(7,45,91,.035), transparent 28rem),
        radial-gradient(circle at 90% 18%, rgba(169,67,43,.055), transparent 30rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 48%, #F2E3CF 100%) !important;
}

body.page-blogs-editorial .aio-main,
body.page-blogs-editorial .aio-section,
body.page-blogs-editorial .aio-editorial-posts-zero-page,
body.page-blogs-editorial .aio-editorial-posts-page,
body.page-blogs-editorial .aio-blogs-museum-page {
    background:
        radial-gradient(circle at 8% 10%, rgba(7,45,91,.030), transparent 26rem),
        radial-gradient(circle at 88% 14%, rgba(169,67,43,.050), transparent 30rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
}

body.page-blogs-editorial .aio-editorial-posts-zero-panel,
body.page-blogs-editorial .aio-events-filter-card,
body.page-blogs-editorial .aio-blogs-museum-filter {
    background:
        linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,245,239,.90) 48%, rgba(242,227,207,.50) 100%) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 46px rgba(45,45,45,.055) !important;
}

body.page-blogs-editorial .aio-editorial-posts-zero-panel > .aio-events-kicker,
body.page-blogs-editorial .aio-events-filter-card > .aio-events-kicker,
body.page-blogs-editorial .aio-blogs-museum-filter > .aio-events-kicker {
    display: block !important;
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Убираем оставшиеся визуальные дубли внутри блока тем */
body.page-blogs-editorial .aio-editorial-posts-zero-panel:first-child > h2,
body.page-blogs-editorial .aio-editorial-posts-zero-panel:first-child > h3,
body.page-blogs-editorial .aio-editorial-posts-zero-panel:first-child > p:not(.aio-events-kicker):first-child,
body.page-blogs-editorial .aio-events-filter-card > h2,
body.page-blogs-editorial .aio-events-filter-card > h3,
body.page-blogs-editorial .aio-blogs-museum-filter > h2,
body.page-blogs-editorial .aio-blogs-museum-filter > h3,
body.page-blogs-editorial .aio-events-filter-group > h3 {
    display: none !important;
}

body.page-blogs-editorial .aio-events-filter-group,
body.page-blogs-editorial .aio-editorial-posts-zero-tags {
    margin-top: 0 !important;
}

/* ============================================================
   AIO PARTNERS — MUSEUM REBUILD LOCK
   Hero как events/blogs. Карточки партнёров: фиксированная
   музейная сетка, CTA как карточка, фон светлый → песочный.
   ============================================================ */

body.page-partners .aio-partners-museum-hero {
    padding: clamp(42px, 4.6vw, 64px) 0 !important;
}

body.page-partners .aio-partners-museum-hero .aio-events-museum-hero__inner {
    grid-template-columns: minmax(0, .88fr) minmax(320px, 560px) !important;
    align-items: end !important;
    min-height: 0 !important;
}

body.page-partners .aio-partners-museum-hero h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.2vw, 58px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-partners .aio-partners-museum-hero .aio-events-museum-hero__inner > p {
    max-width: 560px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color: rgba(248,245,239,.76) !important;
}

body.page-partners .aio-partners-museum-page {
    padding: clamp(48px, 5vw, 72px) 0 clamp(66px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(169,67,43,.045), transparent 24rem),
        radial-gradient(circle at 88% 4%, rgba(7,45,91,.035), transparent 26rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 54%, #F2E3CF 100%) !important;
}

body.page-partners .aio-partners-museum-page .aio-container {
    max-width: 1240px !important;
}

body.page-partners .aio-partners-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

body.page-partners .aio-partner-museum-card {
    min-height: 348px !important;
    display: grid !important;
    grid-template-rows: 132px minmax(0, 1fr) !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,245,239,.94) 58%, rgba(242,227,207,.54)) !important;
    box-shadow: 0 14px 34px rgba(45,45,45,.055) !important;
}

body.page-partners .aio-partner-museum-card__media {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 132px !important;
    padding: 24px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 78% 16%, rgba(169,67,43,.12), transparent 12rem),
        linear-gradient(135deg, rgba(248,245,239,.96), rgba(242,227,207,.62)) !important;
    border-bottom: 1px solid rgba(45,45,45,.075) !important;
}

body.page-partners .aio-partner-museum-card__media::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg, rgba(7,45,91,.035), rgba(169,67,43,.035)) !important;
}

body.page-partners .aio-partner-museum-card__media img {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    max-width: 78% !important;
    max-height: 76px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: saturate(.78) contrast(.98) brightness(.94) sepia(.04) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-partners .aio-partner-museum-card:hover .aio-partner-museum-card__media img {
    filter: saturate(.98) contrast(1.02) brightness(1) sepia(0) !important;
    transform: scale(1.025) !important;
}

body.page-partners .aio-partner-museum-card__media span {
    position: relative !important;
    z-index: 2 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 44px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-partners .aio-partner-museum-card__body {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 22px 24px 20px !important;
}

body.page-partners .aio-partner-museum-card__type {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-partners .aio-partner-museum-card h3 {
    margin: 0 !important;
    max-width: 96% !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(20px, 1.75vw, 28px) !important;
    line-height: 1.03 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-partners .aio-partner-museum-card__text {
    margin: 13px 0 0 !important;
    max-width: 92% !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.52 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.64) !important;
    -webkit-text-fill-color: rgba(45,45,45,.64) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-partners .aio-partner-museum-card__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 14px !important;
}

body.page-partners .aio-partner-museum-card__tags span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 23px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    background: rgba(255,255,255,.52) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.62) !important;
    -webkit-text-fill-color: rgba(7,45,91,.62) !important;
}

body.page-partners .aio-partner-museum-card__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: auto !important;
    padding-top: 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

body.page-partners .aio-partner-museum-card_cta {
    grid-template-rows: 1fr !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(169,67,43,.20), transparent 14rem),
        linear-gradient(135deg, #121416 0%, #07172C 62%, #101420 100%) !important;
    border-color: rgba(242,227,207,.16) !important;
    box-shadow: 0 20px 48px rgba(7,23,44,.12) !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__body {
    justify-content: center !important;
    padding: 32px !important;
}

body.page-partners .aio-partner-museum-card_cta h3 {
    max-width: 520px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__text {
    max-width: 520px !important;
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color: rgba(248,245,239,.76) !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__link {
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

body.page-partners .aio-partners-museum-note {
    max-width: 980px !important;
    margin: clamp(28px, 4vw, 44px) 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.page-partners .aio-partners-museum-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.62 !important;
    color: rgba(45,45,45,.42) !important;
    -webkit-text-fill-color: rgba(45,45,45,.42) !important;
}

body.page-partners .aio-partners-museum-empty {
    padding: 30px !important;
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
}

body.page-partners .aio-partners-museum-empty h2 {
    margin: 8px 0 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #072D5B !important;
}

@media (max-width: 980px) {
    body.page-partners .aio-partners-museum-hero .aio-events-museum-hero__inner,
    body.page-partners .aio-partners-museum-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    body.page-partners .aio-partner-museum-card {
        min-height: 0 !important;
    }

    body.page-partners .aio-partner-museum-card__body {
        padding: 20px !important;
    }

    body.page-partners .aio-partner-museum-card h3 {
        font-size: clamp(18px, 6vw, 25px) !important;
    }
}

/* ============================================================
   AIO PARTNERS — HORIZONTAL CARD TUNE
   Логотип слева 1/4, описание справа 3/4.
   Hero ниже. Фон ближе к общей музейной подложке сайта.
   ============================================================ */

body.page-partners .aio-partners-museum-hero {
    padding: clamp(34px, 3.7vw, 52px) 0 !important;
}

body.page-partners .aio-partners-museum-hero h1 {
    font-size: clamp(36px, 3.9vw, 54px) !important;
    line-height: .96 !important;
}

body.page-partners .aio-partners-museum-hero .aio-events-museum-hero__inner > p {
    font-size: 12.5px !important;
    line-height: 1.62 !important;
}

body.page-partners .aio-partners-museum-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(169,67,43,.035), transparent 25rem),
        radial-gradient(circle at 86% 4%, rgba(7,45,91,.025), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F7F1E7 45%, #F2E3CF 100%) !important;
}

body.page-partners .aio-partners-museum-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

body.page-partners .aio-partner-museum-card {
    display: grid !important;
    grid-template-columns: minmax(190px, 25%) minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    min-height: 210px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,245,239,.90) 58%, rgba(242,227,207,.48)) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 12px 30px rgba(45,45,45,.05) !important;
}

body.page-partners .aio-partner-museum-card__media {
    min-height: 210px !important;
    height: 100% !important;
    padding: 26px !important;
    border-right: 1px solid rgba(45,45,45,.085) !important;
    border-bottom: 0 !important;
    background:
        radial-gradient(circle at 78% 16%, rgba(169,67,43,.08), transparent 12rem),
        linear-gradient(135deg, rgba(248,245,239,.86), rgba(242,227,207,.50)) !important;
}

body.page-partners .aio-partner-museum-card__media img {
    max-width: 88% !important;
    max-height: 104px !important;
}

body.page-partners .aio-partner-museum-card__body {
    justify-content: center !important;
    padding: 26px 30px 24px !important;
}

body.page-partners .aio-partner-museum-card h3 {
    font-size: clamp(18px, 1.48vw, 25px) !important;
    line-height: 1.04 !important;
    letter-spacing: .055em !important;
}

body.page-partners .aio-partner-museum-card__text {
    max-width: 720px !important;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3 !important;
}

body.page-partners .aio-partner-museum-card_cta {
    grid-template-columns: 1fr !important;
    min-height: 210px !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__body {
    padding: 30px 34px !important;
}

body.page-partners .aio-partner-museum-card_cta h3 {
    font-size: clamp(20px, 1.75vw, 28px) !important;
}

@media (max-width: 760px) {
    body.page-partners .aio-partner-museum-card {
        grid-template-columns: 1fr !important;
    }

    body.page-partners .aio-partner-museum-card__media {
        min-height: 130px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(45,45,45,.085) !important;
    }

    body.page-partners .aio-partner-museum-card__media img {
        max-height: 76px !important;
    }
}

/* ============================================================
   AIO PARTNERS — 2x2 GRID + HORIZONTAL INNER CARD
   Две карточки в ряд. Внутри карточки: логотип слева, текст справа.
   CTA — тёмно-синяя карточка в той же сетке.
   ============================================================ */

body.page-partners .aio-partners-museum-hero {
    padding: clamp(30px, 3.4vw, 48px) 0 !important;
}

body.page-partners .aio-partners-museum-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(169,67,43,.04), transparent 24rem),
        radial-gradient(circle at 88% 2%, rgba(7,45,91,.025), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F7F1E7 46%, #F2E3CF 100%) !important;
}

/* Сетка: две карточки в ряд */
body.page-partners .aio-partners-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

/* Обычная карточка партнёра */
body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) {
    display: grid !important;
    grid-template-columns: 34% minmax(0, 1fr) !important;
    min-height: 220px !important;
    height: 220px !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,245,239,.92) 56%, rgba(242,227,207,.50)) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    border-radius: 0 !important;
    box-shadow: 0 12px 30px rgba(45,45,45,.05) !important;
}

/* Левая зона логотипа */
body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__media {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-right: 1px solid rgba(45,45,45,.085) !important;
    border-bottom: 0 !important;
    background:
        radial-gradient(circle at 78% 16%, rgba(169,67,43,.075), transparent 10rem),
        linear-gradient(135deg, rgba(248,245,239,.92), rgba(242,227,207,.56)) !important;
}

body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__media img {
    display: block !important;
    max-width: 92% !important;
    max-height: 96px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Правая зона текста */
body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__body {
    min-width: 0 !important;
    height: 220px !important;
    padding: 22px 24px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Тип партнёра */
body.page-partners .aio-partner-museum-card__type,
body.page-partners .aio-partner-museum-card__body > p {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Название партнёра */
body.page-partners .aio-partner-museum-card h3 {
    margin: 0 0 9px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(17px, 1.32vw, 23px) !important;
    line-height: 1.04 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Описание — ограничиваем, чтобы карточки не расползались */
body.page-partners .aio-partner-museum-card__text,
body.page-partners .aio-partner-museum-card__body > span {
    margin: 0 !important;
    max-width: 100% !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.64) !important;
    -webkit-text-fill-color: rgba(45,45,45,.64) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Ссылка */
body.page-partners .aio-partner-museum-card__link {
    margin-top: 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

/* CTA — тёмно-синяя карточка в этой же сетке */
body.page-partners .aio-partner-museum-card_cta {
    min-height: 220px !important;
    height: 220px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.20), transparent 12rem),
        linear-gradient(135deg, #07172C 0%, #061F3E 58%, #101420 100%) !important;
    border: 1px solid rgba(242,227,207,.16) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 42px rgba(7,23,44,.12) !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__body {
    padding: 28px 30px !important;
    height: auto !important;
}

body.page-partners .aio-partner-museum-card_cta h3 {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-size: clamp(19px, 1.55vw, 26px) !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__text {
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color: rgba(248,245,239,.76) !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__link {
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

/* Старый inline CTA, если он вдруг остался старым классом */
body.page-partners .aio-partners-cta-simple {
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.20), transparent 12rem),
        linear-gradient(135deg, #07172C 0%, #061F3E 58%, #101420 100%) !important;
    border-radius: 0 !important;
    border: 1px solid rgba(242,227,207,.16) !important;
}

/* Адаптив */
@media (max-width: 1080px) {
    body.page-partners .aio-partners-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) {
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }
}

@media (max-width: 640px) {
    body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: 0 !important;
    }

    body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__media {
        height: 132px !important;
        min-height: 132px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(45,45,45,.085) !important;
    }

    body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__body {
        height: auto !important;
        padding: 20px !important;
    }

    body.page-partners .aio-partner-museum-card_cta {
        height: auto !important;
        min-height: 190px !important;
    }
}

/* ============================================================
   AIO PARTNERS — TEXT SCALE POLISH
   Каркас не меняем: 2 карточки в ряд, логотип слева, текст справа.
   Увеличиваем читаемость, описания — обычный Montserrat.
   Фон: светлый музейный → песочный.
   ============================================================ */

body.page-partners,
body.page-partners .aio-main,
body.page-partners .aio-partners-museum-page {
    background:
        radial-gradient(circle at 14% 9%, rgba(169,67,43,.035), transparent 24rem),
        radial-gradient(circle at 88% 2%, rgba(7,45,91,.024), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
}

body.page-partners .aio-partners-museum-page {
    padding-top: clamp(46px, 4.8vw, 68px) !important;
}

/* Кикер типа партнёра: оставляем красный, но делаем читаемее */
body.page-partners .aio-partner-museum-card__type,
body.page-partners .aio-partner-museum-card__body > p.aio-partner-museum-card__type {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Название партнёра: чуть крупнее, но всё ещё тонкий Cormorant капсом */
body.page-partners .aio-partner-museum-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(21px, 1.6vw, 28px) !important;
    line-height: 1.04 !important;
    font-weight: 300 !important;
    letter-spacing: .052em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Описание партнёра: обычный Montserrat, не микротекст */
body.page-partners .aio-partner-museum-card__text,
body.page-partners .aio-partner-museum-card__body > span {
    margin: 0 !important;
    max-width: 100% !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Сайт партнёра */
body.page-partners .aio-partner-museum-card__link {
    margin-top: 15px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

/* Чуть больше воздуха внутри карточки */
body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) {
    min-height: 238px !important;
    height: 238px !important;
}

body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__media {
    height: 238px !important;
    min-height: 238px !important;
}

body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__body {
    height: 238px !important;
    padding: 24px 26px 22px !important;
}

/* CTA: тёмно-синий, текст Montserrat в описании */
body.page-partners .aio-partner-museum-card_cta {
    height: 238px !important;
    min-height: 238px !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.18), transparent 12rem),
        linear-gradient(135deg, #07172C 0%, #061F3E 58%, #101420 100%) !important;
    border-color: rgba(242,227,207,.16) !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__body {
    padding: 30px 32px !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__type {
    color: #E5B9A7 !important;
    -webkit-text-fill-color: #E5B9A7 !important;
}

body.page-partners .aio-partner-museum-card_cta h3 {
    font-size: clamp(22px, 1.75vw, 30px) !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__text {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
}

body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__link {
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

/* Нижний информационный блок: чуть крупнее, без рамки */
body.page-partners .aio-partners-museum-note {
    max-width: 1040px !important;
    margin: clamp(32px, 4vw, 48px) 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page-partners .aio-partners-museum-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.68 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(45,45,45,.50) !important;
    -webkit-text-fill-color: rgba(45,45,45,.50) !important;
}

@media (max-width: 1080px) {
    body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta),
    body.page-partners .aio-partner-museum-card_cta {
        height: auto !important;
        min-height: 230px !important;
    }

    body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__media,
    body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__body {
        height: auto !important;
        min-height: 230px !important;
    }
}

@media (max-width: 640px) {
    body.page-partners .aio-partner-museum-card h3 {
        font-size: clamp(20px, 6vw, 26px) !important;
    }

    body.page-partners .aio-partner-museum-card__text,
    body.page-partners .aio-partner-museum-card__body > span,
    body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__text {
        font-size: 12.5px !important;
    }
}

/* ============================================================
   AIO PARTNERS — DESCRIPTION IS NORMAL MONTSERRAT
   Описание партнёра не кикер: без капса, без красного, без разрядки.
   ============================================================ */

/* Кикер остаётся только у типа партнёра */
body.page-partners .aio-partner-museum-card .aio-partner-museum-card__type {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Описание партнёра — обычный текст */
body.page-partners .aio-partner-museum-card .aio-partner-museum-card__text,
body.page-partners .aio-partner-museum-card .aio-partner-museum-card__body > span,
body.page-partners .aio-partner-museum-card .aio-partner-museum-card__body p.aio-partner-museum-card__text {
    margin: 0 !important;
    max-width: 100% !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* На случай, если старое правило зацепило все p внутри body */
body.page-partners .aio-partner-museum-card .aio-partner-museum-card__body > p:not(.aio-partner-museum-card__type) {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
}

/* CTA-описание тоже обычный Montserrat, но светлый */
body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__text,
body.page-partners .aio-partner-museum-card_cta .aio-partner-museum-card__body > p:not(.aio-partner-museum-card__type) {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
}

/* Чуть спокойнее описание, чтобы не спорило с заголовком */
body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__text,
body.page-partners .aio-partner-museum-card:not(.aio-partner-museum-card_cta) .aio-partner-museum-card__body > span {
    opacity: .92 !important;
}

/* ============================================================
   AIO ABOUT MENTIONS — MUSEUM REBUILD LOCK
   /about/mentions. Hero как events/blogs. Карточки 2×2,
   медиа сверху: логотип или фото/обложка. Отзывы удалены.
   ============================================================ */

body.page-about-mentions {
    background:
        radial-gradient(circle at 12% 10%, rgba(169,67,43,.035), transparent 24rem),
        radial-gradient(circle at 88% 4%, rgba(7,45,91,.025), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 54%, #F2E3CF 100%) !important;
}

body.page-about-mentions .aio-about-mentions-museum-hero {
    padding: clamp(34px, 3.7vw, 52px) 0 !important;
}

body.page-about-mentions .aio-about-mentions-museum-hero .aio-events-museum-hero__inner {
    grid-template-columns: minmax(0, .88fr) minmax(320px, 560px) !important;
    align-items: end !important;
    min-height: 0 !important;
}

body.page-about-mentions .aio-about-mentions-museum-hero h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(36px, 3.9vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
}

body.page-about-mentions .aio-about-mentions-museum-hero .aio-events-museum-hero__inner > p {
    max-width: 560px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color: rgba(248,245,239,.76) !important;
}

body.page-about-mentions .aio-about-mentions-museum-page {
    padding: clamp(48px, 5vw, 72px) 0 clamp(66px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(169,67,43,.04), transparent 24rem),
        radial-gradient(circle at 88% 2%, rgba(7,45,91,.025), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
}

body.page-about-mentions .aio-about-mentions-museum-page .aio-container {
    max-width: 1240px !important;
}

body.page-about-mentions .aio-about-mentions-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

body.page-about-mentions .aio-about-mention-museum-card {
    min-height: 386px !important;
    display: grid !important;
    grid-template-rows: 150px minmax(0, 1fr) !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.84), rgba(248,245,239,.92) 58%, rgba(242,227,207,.50)) !important;
    box-shadow: 0 14px 34px rgba(45,45,45,.052) !important;
}

body.page-about-mentions .aio-about-mention-museum-card__media {
    position: relative !important;
    min-height: 150px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid rgba(45,45,45,.08) !important;
    background:
        radial-gradient(circle at 76% 18%, rgba(169,67,43,.08), transparent 12rem),
        linear-gradient(135deg, rgba(248,245,239,.94), rgba(242,227,207,.58)) !important;
}

body.page-about-mentions .aio-about-mention-museum-card_logo .aio-about-mention-museum-card__media {
    padding: 28px !important;
}

body.page-about-mentions .aio-about-mention-museum-card_logo .aio-about-mention-museum-card__media img {
    display: block !important;
    max-width: 72% !important;
    max-height: 82px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: saturate(.82) contrast(.98) brightness(.96) sepia(.02) !important;
}

body.page-about-mentions .aio-about-mention-museum-card_photo .aio-about-mention-museum-card__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 150px !important;
    object-fit: cover !important;
    filter: saturate(.78) contrast(.98) brightness(.92) sepia(.05) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-about-mentions .aio-about-mention-museum-card_photo:hover .aio-about-mention-museum-card__media img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(0) !important;
    transform: scale(1.025) !important;
}

body.page-about-mentions .aio-about-mention-museum-card__media span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 44px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-about-mentions .aio-about-mention-museum-card__body {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 22px 24px 20px !important;
}

body.page-about-mentions .aio-about-mention-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    margin: 0 0 10px !important;
}

body.page-about-mentions .aio-about-mention-museum-card__meta span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.7px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-mentions .aio-about-mention-museum-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(20px, 1.55vw, 27px) !important;
    line-height: 1.04 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-about-mentions .aio-about-mention-museum-card__body > p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-about-mentions .aio-about-mention-museum-card__link,
body.page-about-mentions .aio-about-mention-museum-card__details summary {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: auto !important;
    padding-top: 15px !important;
    cursor: pointer !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    list-style: none !important;
}

body.page-about-mentions .aio-about-mention-museum-card__details summary::-webkit-details-marker {
    display: none !important;
}

body.page-about-mentions .aio-about-mention-museum-card__details div {
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-about-mentions .aio-about-mention-museum-card__details div p {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
}

body.page-about-mentions .aio-about-mentions-museum-empty {
    padding: 30px !important;
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
}

body.page-about-mentions .aio-about-mentions-museum-empty h2 {
    margin: 8px 0 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

@media (max-width: 980px) {
    body.page-about-mentions .aio-about-mentions-museum-hero .aio-events-museum-hero__inner,
    body.page-about-mentions .aio-about-mentions-museum-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    body.page-about-mentions .aio-about-mention-museum-card {
        min-height: 0 !important;
    }

    body.page-about-mentions .aio-about-mention-museum-card__media {
        min-height: 128px !important;
    }

    body.page-about-mentions .aio-about-mention-museum-card__body {
        padding: 20px !important;
    }

    body.page-about-mentions .aio-about-mention-museum-card h3 {
        font-size: clamp(18px, 5.6vw, 25px) !important;
    }
}

/* ============================================================
   AIO ABOUT MENTIONS — 3 COL COMPACT MEDIA TUNE
   Три карточки в ряд. Медиа/фото примерно 2/3 карточки.
   Фото не растягивается: cover. Логотип — contain.
   Фон спокойнее: светлый музейный → песочный.
   ============================================================ */

body.page-about-mentions,
body.page-about-mentions .aio-main,
body.page-about-mentions .aio-about-mentions-museum-page {
    background:
        radial-gradient(circle at 10% 8%, rgba(7,45,91,.020), transparent 26rem),
        radial-gradient(circle at 92% 6%, rgba(169,67,43,.030), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F7F1E7 58%, #F2E3CF 100%) !important;
}

body.page-about-mentions .aio-about-mentions-museum-page {
    padding: clamp(38px, 4.2vw, 58px) 0 clamp(56px, 6vw, 82px) !important;
}

body.page-about-mentions .aio-about-mentions-museum-page .aio-container {
    max-width: 1240px !important;
}

/* Три карточки в ряд */
body.page-about-mentions .aio-about-mentions-museum-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: stretch !important;
}

/* Карточка компактнее и выше, не такая широкая */
body.page-about-mentions .aio-about-mention-museum-card {
    min-height: 392px !important;
    display: grid !important;
    grid-template-rows: 245px minmax(0, 1fr) !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.085) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,245,239,.93) 62%, rgba(242,227,207,.38)) !important;
    box-shadow: 0 12px 28px rgba(45,45,45,.046) !important;
}

/* Верхняя медиа-зона — около двух третей */
body.page-about-mentions .aio-about-mention-museum-card__media {
    min-height: 245px !important;
    height: 245px !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(45,45,45,.075) !important;
    background:
        radial-gradient(circle at 76% 18%, rgba(169,67,43,.055), transparent 12rem),
        linear-gradient(135deg, rgba(248,245,239,.96), rgba(242,227,207,.42)) !important;
}

/* Фото персоналий / обложки: не расплющиваем, а красиво кадрируем */
body.page-about-mentions .aio-about-mention-museum-card_photo .aio-about-mention-museum-card__media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 245px !important;
    object-fit: cover !important;
    object-position: center top !important;
    filter: saturate(.80) contrast(.98) brightness(.94) sepia(.035) !important;
}

/* Логотипы: не растягиваем, держим в центре */
body.page-about-mentions .aio-about-mention-museum-card_logo .aio-about-mention-museum-card__media {
    padding: 30px !important;
}

body.page-about-mentions .aio-about-mention-museum-card_logo .aio-about-mention-museum-card__media img {
    width: auto !important;
    height: auto !important;
    max-width: 74% !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: saturate(.82) contrast(.98) brightness(.96) sepia(.02) !important;
}

body.page-about-mentions .aio-about-mention-museum-card:hover .aio-about-mention-museum-card__media img {
    filter: saturate(.98) contrast(1.02) brightness(.98) sepia(0) !important;
}

/* Текстовая часть компактнее */
body.page-about-mentions .aio-about-mention-museum-card__body {
    padding: 18px 20px 18px !important;
}

body.page-about-mentions .aio-about-mention-museum-card__meta {
    gap: 5px 8px !important;
    margin: 0 0 9px !important;
}

body.page-about-mentions .aio-about-mention-museum-card__meta span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.2px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-mentions .aio-about-mention-museum-card h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(18px, 1.38vw, 24px) !important;
    line-height: 1.04 !important;
    font-weight: 300 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-about-mentions .aio-about-mention-museum-card__body > p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.66) !important;
    -webkit-text-fill-color: rgba(45,45,45,.66) !important;
    -webkit-line-clamp: 3 !important;
}

body.page-about-mentions .aio-about-mention-museum-card__link,
body.page-about-mentions .aio-about-mention-museum-card__details summary {
    padding-top: 13px !important;
    font-size: 8.7px !important;
    letter-spacing: .13em !important;
}

/* Hero тоже не раздуваем */
body.page-about-mentions .aio-about-mentions-museum-hero {
    padding: clamp(30px, 3.4vw, 48px) 0 !important;
}

body.page-about-mentions .aio-about-mentions-museum-hero h1 {
    font-size: clamp(36px, 3.8vw, 52px) !important;
}

/* Адаптив */
@media (max-width: 1120px) {
    body.page-about-mentions .aio-about-mentions-museum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    body.page-about-mentions .aio-about-mentions-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-about-mentions .aio-about-mention-museum-card {
        min-height: 0 !important;
        grid-template-rows: 210px minmax(0, 1fr) !important;
    }

    body.page-about-mentions .aio-about-mention-museum-card__media,
    body.page-about-mentions .aio-about-mention-museum-card_photo .aio-about-mention-museum-card__media img {
        min-height: 210px !important;
        height: 210px !important;
    }
}

/* ============================================================
   AIO ABOUT MENTIONS — PHOTO CONTAIN + MODAL DETAILS
   Фото персоналий в карточке не обрезаем. Полный текст открываем
   в модальном окне, а не раскрываем карточку по высоте.
   ============================================================ */

/* Фото и логотип в карточке показываем целиком */
body.page-about-mentions .aio-about-mention-museum-card_photo .aio-about-mention-museum-card__media {
    padding: 18px !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.045), transparent 12rem),
        linear-gradient(135deg, rgba(248,245,239,.96), rgba(242,227,207,.38)) !important;
}

body.page-about-mentions .aio-about-mention-museum-card_photo .aio-about-mention-museum-card__media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: saturate(.86) contrast(.98) brightness(.96) sepia(.025) !important;
    transform: none !important;
}

body.page-about-mentions .aio-about-mention-museum-card_photo:hover .aio-about-mention-museum-card__media img {
    filter: saturate(.98) contrast(1.02) brightness(.99) sepia(0) !important;
    transform: none !important;
}

/* Кнопки действий внизу карточки */
body.page-about-mentions .aio-about-mention-museum-card__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 16px !important;
    margin-top: auto !important;
    padding-top: 13px !important;
}

body.page-about-mentions .aio-about-mention-museum-card__actions .aio-about-mention-museum-card__link,
body.page-about-mentions .aio-about-mention-museum-card__actions summary {
    margin: 0 !important;
    padding: 0 !important;
}

/* Details как модальное окно */
body.page-about-mentions .aio-about-mention-museum-card__details {
    display: inline !important;
}

body.page-about-mentions .aio-about-mention-museum-card__details summary {
    cursor: pointer !important;
    list-style: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.7px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-mentions .aio-about-mention-museum-card__details summary::-webkit-details-marker {
    display: none !important;
}

/* Затемнение */
body.page-about-mentions .aio-about-mention-museum-card__details[open]::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9990 !important;
    background: rgba(7, 23, 44, .58) !important;
    backdrop-filter: blur(2px) !important;
}

/* Модалка */
body.page-about-mentions .aio-about-mention-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9991 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 32px !important;
}

body.page-about-mentions .aio-about-mention-modal__panel {
    position: relative !important;
    width: min(980px, 94vw) !important;
    max-height: 86vh !important;
    display: grid !important;
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr) !important;
    overflow: auto !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,245,239,.98) 58%, rgba(242,227,207,.72)) !important;
    border: 1px solid rgba(242,227,207,.34) !important;
    box-shadow: 0 28px 90px rgba(0,0,0,.28) !important;
}

/* Закрытие — второй summary внутри details */
body.page-about-mentions .aio-about-mention-modal__close {
    position: absolute !important;
    right: 18px !important;
    top: 16px !important;
    z-index: 3 !important;
    cursor: pointer !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.58) !important;
    -webkit-text-fill-color: rgba(45,45,45,.58) !important;
}

body.page-about-mentions .aio-about-mention-modal__media {
    min-height: 520px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px !important;
    background:
        radial-gradient(circle at 76% 18%, rgba(169,67,43,.065), transparent 14rem),
        linear-gradient(135deg, rgba(248,245,239,.98), rgba(242,227,207,.54)) !important;
    border-right: 1px solid rgba(45,45,45,.085) !important;
}

body.page-about-mentions .aio-about-mention-modal__media img {
    max-width: 100% !important;
    max-height: 470px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: saturate(.94) contrast(1) brightness(.98) sepia(.015) !important;
}

body.page-about-mentions .aio-about-mention-modal__media span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 56px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-about-mentions .aio-about-mention-modal__body {
    padding: 58px 46px 42px !important;
}

body.page-about-mentions .aio-about-mention-modal__body h3 {
    margin: 8px 0 14px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-about-mentions .aio-about-mention-modal__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    margin: 0 0 22px !important;
}

body.page-about-mentions .aio-about-mention-modal__meta span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-about-mentions .aio-about-mention-modal__text p {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.68 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;
}

/* Чтобы раскрытый details не ломал высоту карточки */
body.page-about-mentions .aio-about-mention-museum-card__details[open] {
    position: static !important;
}

@media (max-width: 760px) {
    body.page-about-mentions .aio-about-mention-modal {
        padding: 18px !important;
    }

    body.page-about-mentions .aio-about-mention-modal__panel {
        grid-template-columns: 1fr !important;
        width: min(96vw, 520px) !important;
    }

    body.page-about-mentions .aio-about-mention-modal__media {
        min-height: 280px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(45,45,45,.085) !important;
    }

    body.page-about-mentions .aio-about-mention-modal__media img {
        max-height: 250px !important;
    }

    body.page-about-mentions .aio-about-mention-modal__body {
        padding: 46px 24px 28px !important;
    }
}

/* ============================================================
   AIO ABOUT MENTIONS — MODAL FIX
   Модалка ниже шапки, закрытие кнопкой, заголовок меньше.
   ============================================================ */

/* Модалка не залезает под верхнюю шапку */
body.page-about-mentions .aio-about-mention-modal {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 96px !important;
    bottom: 24px !important;
    z-index: 9991 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 24px 32px !important;
    overflow-y: auto !important;
}

/* Панель ниже и компактнее */
body.page-about-mentions .aio-about-mention-modal__panel {
    position: relative !important;
    width: min(960px, 92vw) !important;
    max-height: calc(100vh - 150px) !important;
    display: grid !important;
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr) !important;
    overflow: auto !important;
}

/* Нормальная кнопка закрытия */
body.page-about-mentions .aio-about-mention-modal__close {
    position: sticky !important;
    top: 0 !important;
    margin-left: auto !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: right !important;
    min-height: 30px !important;
    padding: 0 0 0 18px !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.58) !important;
    -webkit-text-fill-color: rgba(45,45,45,.58) !important;
}

body.page-about-mentions .aio-about-mention-modal__close:hover {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Левая часть с фото спокойнее и не такая огромная */
body.page-about-mentions .aio-about-mention-modal__media {
    min-height: 430px !important;
    padding: 26px !important;
}

body.page-about-mentions .aio-about-mention-modal__media img {
    max-height: 380px !important;
}

/* Правая часть */
body.page-about-mentions .aio-about-mention-modal__body {
    padding: 34px 42px 38px !important;
}

/* "Упоминание" — кикер */
body.page-about-mentions .aio-about-mention-modal__body > .aio-events-kicker {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Заголовок в модалке уменьшаем примерно в полтора раза */
body.page-about-mentions .aio-about-mention-modal__body h3 {
    margin: 0 0 16px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(24px, 2.15vw, 32px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-about-mentions .aio-about-mention-modal__meta {
    margin: 0 0 20px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-about-mentions .aio-about-mention-modal__text p {
    font-size: 13px !important;
    line-height: 1.66 !important;
}

/* Затемнение ниже шапки, чтобы не спорило с навигацией */
body.page-about-mentions .aio-about-mention-museum-card__details[open]::before {
    top: 96px !important;
    bottom: 0 !important;
}

@media (max-width: 760px) {
    body.page-about-mentions .aio-about-mention-modal {
        top: 84px !important;
        bottom: 12px !important;
        padding: 14px !important;
    }

    body.page-about-mentions .aio-about-mention-modal__panel {
        grid-template-columns: 1fr !important;
        max-height: calc(100vh - 112px) !important;
    }

    body.page-about-mentions .aio-about-mention-modal__media {
        min-height: 240px !important;
    }

    body.page-about-mentions .aio-about-mention-modal__media img {
        max-height: 220px !important;
    }

    body.page-about-mentions .aio-about-mention-modal__body {
        padding: 26px 22px 28px !important;
    }

    body.page-about-mentions .aio-about-mention-modal__body h3 {
        font-size: clamp(22px, 7vw, 29px) !important;
    }
}

/* ============================================================
   AIO ABOUT MENTIONS — MODAL LAYOUT CLEAN
   Исправление: кнопка закрытия не занимает колонку grid.
   Слева фото/логотип, справа текст.
   ============================================================ */

body.page-about-mentions .aio-about-mention-modal {
    top: 96px !important;
    bottom: 24px !important;
    padding: 22px 32px !important;
    align-items: flex-start !important;
}

body.page-about-mentions .aio-about-mention-modal__panel {
    position: relative !important;
    width: min(980px, 92vw) !important;
    max-height: calc(100vh - 150px) !important;
    display: grid !important;
    grid-template-columns: minmax(300px, 40%) minmax(0, 60%) !important;
    grid-template-rows: auto !important;
    overflow: auto !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,245,239,.98) 58%, rgba(242,227,207,.66)) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    box-shadow: 0 28px 90px rgba(0,0,0,.28) !important;
}

/* Кнопка закрытия поверх окна, не участвует в сетке */
body.page-about-mentions .aio-about-mention-modal__close {
    position: absolute !important;
    top: 18px !important;
    right: 20px !important;
    z-index: 10 !important;
    float: none !important;
    margin: 0 !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.58) !important;
    -webkit-text-fill-color: rgba(45,45,45,.58) !important;
}

/* Левая колонка */
body.page-about-mentions .aio-about-mention-modal__media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 500px !important;
    padding: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-right: 1px solid rgba(45,45,45,.085) !important;
    border-bottom: 0 !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.055), transparent 14rem),
        linear-gradient(135deg, rgba(248,245,239,.98), rgba(242,227,207,.46)) !important;
}

body.page-about-mentions .aio-about-mention-modal__media img {
    display: block !important;
    max-width: 100% !important;
    max-height: 410px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: saturate(.94) contrast(1) brightness(.98) sepia(.015) !important;
}

/* Правая колонка */
body.page-about-mentions .aio-about-mention-modal__body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 54px 46px 42px !important;
    min-width: 0 !important;
}

/* Кикер */
body.page-about-mentions .aio-about-mention-modal__body > .aio-events-kicker {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Заголовок меньше и спокойнее */
body.page-about-mentions .aio-about-mention-modal__body h3 {
    margin: 0 0 16px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(24px, 2.05vw, 32px) !important;
    line-height: 1.03 !important;
    font-weight: 300 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

body.page-about-mentions .aio-about-mention-modal__meta {
    margin: 0 0 20px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-about-mentions .aio-about-mention-modal__text p {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;
}

/* На мобильном: фото сверху, текст ниже */
@media (max-width: 760px) {
    body.page-about-mentions .aio-about-mention-modal {
        top: 84px !important;
        bottom: 12px !important;
        padding: 14px !important;
    }

    body.page-about-mentions .aio-about-mention-modal__panel {
        width: min(96vw, 520px) !important;
        max-height: calc(100vh - 112px) !important;
        grid-template-columns: 1fr !important;
    }

    body.page-about-mentions .aio-about-mention-modal__media {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-height: 250px !important;
        padding: 24px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(45,45,45,.085) !important;
    }

    body.page-about-mentions .aio-about-mention-modal__media img {
        max-height: 230px !important;
    }

    body.page-about-mentions .aio-about-mention-modal__body {
        grid-column: 1 !important;
        grid-row: 2 !important;
        padding: 38px 24px 28px !important;
    }

    body.page-about-mentions .aio-about-mention-modal__body h3 {
        font-size: clamp(22px, 7vw, 29px) !important;
    }
}

/* ============================================================
   AIO ABOUT MENTIONS — MODAL CLEAN LINES
   Убираем лишние технические полосы и делаем окно цельным.
   ============================================================ */

body.page-about-mentions .aio-about-mention-modal__panel {
    width: min(980px, 92vw) !important;
    max-height: calc(100vh - 150px) !important;
    display: grid !important;
    grid-template-columns: minmax(300px, 40%) minmax(0, 60%) !important;
    overflow: auto !important;
    background:
        radial-gradient(circle at 18% 20%, rgba(242,227,207,.32), transparent 18rem),
        linear-gradient(180deg, #F8F5EF 0%, #F7F1E7 62%, #F2E3CF 100%) !important;
    border: 0 !important;
    box-shadow: 0 28px 90px rgba(0,0,0,.28) !important;
}

/* Убираем внутренние разделительные полосы */
body.page-about-mentions .aio-about-mention-modal__media {
    border-right: 0 !important;
    border-bottom: 0 !important;
    background:
        radial-gradient(circle at 50% 36%, rgba(255,255,255,.60), transparent 15rem),
        linear-gradient(180deg, rgba(248,245,239,.78), rgba(242,227,207,.28)) !important;
}

body.page-about-mentions .aio-about-mention-modal__body {
    border: 0 !important;
    background: transparent !important;
}

/* Кнопка закрытия — без полосы/шапки */
body.page-about-mentions .aio-about-mention-modal__close {
    top: 20px !important;
    right: 22px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Убираем линию над метаданными */
body.page-about-mentions .aio-about-mention-modal__meta {
    margin: 0 0 18px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

/* Убираем случайные горизонтальные линии от details/summary */
body.page-about-mentions .aio-about-mention-modal *,
body.page-about-mentions .aio-about-mention-museum-card__details *,
body.page-about-mentions .aio-about-mention-museum-card__details summary {
    outline: none !important;
}

body.page-about-mentions .aio-about-mention-modal hr,
body.page-about-mentions .aio-about-mention-modal__panel hr {
    display: none !important;
}

/* Фото чуть мягче вписываем в левую часть */
body.page-about-mentions .aio-about-mention-modal__media img {
    max-width: 88% !important;
    max-height: 380px !important;
    box-shadow: none !important;
}

/* Заголовок и текст чуть компактнее */
body.page-about-mentions .aio-about-mention-modal__body {
    padding: 54px 46px 40px !important;
}

body.page-about-mentions .aio-about-mention-modal__body h3 {
    font-size: clamp(23px, 1.95vw, 30px) !important;
    line-height: 1.04 !important;
    margin-bottom: 14px !important;
}

body.page-about-mentions .aio-about-mention-modal__text p {
    font-size: 12.8px !important;
    line-height: 1.62 !important;
}

/* На мобильном тоже без разделителей */
@media (max-width: 760px) {
    body.page-about-mentions .aio-about-mention-modal__panel {
        grid-template-columns: 1fr !important;
    }

    body.page-about-mentions .aio-about-mention-modal__media {
        border-right: 0 !important;
        border-bottom: 0 !important;
    }

    body.page-about-mentions .aio-about-mention-modal__body {
        padding: 36px 24px 28px !important;
    }
}


/* ============================================================
   AIO VIDEOS — MUSEUM MEDIA LIBRARY
   /videos. Hero uses global aio-events-museum-hero etalon.
   ============================================================ */

body.page-videos .aio-videos-page {
    position: relative !important;
    padding: 58px 0 72px !important;
    background:
        radial-gradient(circle at 82% 10%, rgba(200,87,38,.075), transparent 22rem),
        linear-gradient(90deg, #F8F5EF 0%, #F7F1E7 48%, #F2E3CF 100%) !important;
}

body.page-videos .aio-videos-layout {
    display: grid !important;
    grid-template-columns: 310px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

body.page-videos .aio-videos-filter {
    position: sticky !important;
    top: 24px !important;
    padding: 28px 26px !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(169,67,43,.055), transparent 11rem),
        rgba(255,255,255,.62) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 18px 46px rgba(7,23,44,.055) !important;
}

body.page-videos .aio-videos-filter h2 {
    margin: 8px 0 24px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    color: #072D5B !important;
}

body.page-videos .aio-videos-filter__group {
    padding-top: 20px !important;
    margin-top: 20px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-videos .aio-videos-filter__group:first-of-type {
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: 0 !important;
}

body.page-videos .aio-videos-filter__group > p {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.56) !important;
}

body.page-videos .aio-videos-filter__chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
}

body.page-videos .aio-videos-filter__chips a {
    display: inline-flex !important;
    min-height: 28px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background: rgba(255,255,255,.52) !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-videos .aio-videos-filter__chips a.is-active,
body.page-videos .aio-videos-filter__chips a:hover {
    background: #072D5B !important;
    border-color: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-videos .aio-videos-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
}

body.page-videos .aio-video-card {
    min-height: 100% !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.76), rgba(248,245,239,.78) 56%, rgba(242,227,207,.38)) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.065) !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__media {
    position: relative !important;
    aspect-ratio: 16 / 9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.10), transparent 10rem),
        linear-gradient(135deg, rgba(7,45,91,.10), rgba(242,227,207,.44)) !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.88) contrast(.98) brightness(.94) sepia(.045) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-videos .aio-video-card:hover .aio-video-card__media img {
    filter: saturate(1) contrast(1) brightness(.99) sepia(0) !important;
    transform: scale(1.025) !important;
}

body.page-videos .aio-video-card__media > span:not(.aio-video-card__play) {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 30px !important;
    color: #072D5B !important;
}

body.page-videos .aio-video-card__play {
    position: absolute !important;
    left: 22px !important;
    bottom: 20px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.88) !important;
    box-shadow: 0 14px 28px rgba(7,23,44,.24) !important;
}

body.page-videos .aio-video-card__play::before {
    content: "" !important;
    position: absolute !important;
    left: 17px !important;
    top: 13px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 8px solid transparent !important;
    border-bottom: 8px solid transparent !important;
    border-left: 12px solid #F8F5EF !important;
}

body.page-videos .aio-video-card__body {
    padding: 24px 26px 25px !important;
}

body.page-videos .aio-video-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 11px !important;
}

body.page-videos .aio-video-card__meta span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-videos .aio-video-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.1vw, 33px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
}

body.page-videos .aio-video-card__body > p {
    min-height: 58px !important;
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.70) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__foot {
    display: flex !important;
    justify-content: space-between !important;
    gap: 18px !important;
    align-items: center !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(45,45,45,.085) !important;
}

body.page-videos .aio-video-card__foot > span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.50) !important;
}

body.page-videos .aio-video-card__foot a,
body.page-videos .aio-video-card__details summary,
body.page-videos .aio-videos-cta a {
    cursor: pointer !important;
    list-style: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.page-videos .aio-video-card__details summary::-webkit-details-marker {
    display: none !important;
}

body.page-videos .aio-videos-cta {
    min-height: 100% !important;
    padding: 34px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18), transparent 9rem),
        linear-gradient(135deg, #07172C, #072D5B) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.12) !important;
}

body.page-videos .aio-videos-cta .aio-events-kicker {
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

body.page-videos .aio-videos-cta h3 {
    margin: 10px 0 14px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

body.page-videos .aio-videos-cta p {
    max-width: 520px !important;
    margin: 0 0 28px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.62 !important;
    color: rgba(248,245,239,.78) !important;
}

body.page-videos .aio-videos-cta a {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-videos .aio-videos-empty {
    padding: 44px !important;
    background: rgba(255,255,255,.62) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
}

body.page-videos .aio-videos-empty h2 {
    margin: 10px 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 52px) !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: #072D5B !important;
}

body.page-videos .aio-videos-empty p:not(.aio-events-kicker) {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: rgba(45,45,45,.68) !important;
}

body.page-videos .aio-videos-cta_empty {
    margin-top: 28px !important;
}

body.page-videos .aio-videos-legal {
    max-width: 980px !important;
    margin: 34px auto 0 !important;
    padding-top: 22px !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
}

body.page-videos .aio-videos-legal p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.62 !important;
    color: rgba(45,45,45,.54) !important;
    text-align: center !important;
}

/* Modal */
body.page-videos .aio-video-card__details[open]::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9990 !important;
    background: rgba(7,23,44,.62) !important;
    backdrop-filter: blur(4px) !important;
}

body.page-videos .aio-video-modal {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 96px !important;
    bottom: 24px !important;
    z-index: 9991 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 24px 32px !important;
    overflow-y: auto !important;
}

body.page-videos .aio-video-modal__panel {
    position: relative !important;
    width: min(1040px, 92vw) !important;
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F7F1E7 62%, #F2E3CF 100%) !important;
    box-shadow: 0 28px 90px rgba(0,0,0,.30) !important;
}

body.page-videos .aio-video-modal__close {
    position: absolute !important;
    top: 18px !important;
    right: 20px !important;
    z-index: 5 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.58) !important;
}

body.page-videos .aio-video-modal__player {
    aspect-ratio: 16 / 9 !important;
    background: #07172C !important;
}

body.page-videos .aio-video-modal__player iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
}

body.page-videos .aio-video-modal__body {
    padding: 30px 38px 36px !important;
}

body.page-videos .aio-video-modal__body h3 {
    margin: 10px 0 14px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
}

body.page-videos .aio-video-modal__body p:not(.aio-events-kicker) {
    max-width: 760px !important;
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.66 !important;
    color: rgba(45,45,45,.70) !important;
}

body.page-videos .aio-video-modal__body a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

@media (max-width: 1100px) {
    body.page-videos .aio-videos-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-videos .aio-videos-filter {
        position: relative !important;
        top: auto !important;
    }
}

@media (max-width: 760px) {
    body.page-videos .aio-videos-page {
        padding: 34px 0 52px !important;
    }

    body.page-videos .aio-videos-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-videos .aio-video-modal {
        top: 84px !important;
        bottom: 12px !important;
        padding: 14px !important;
    }

    body.page-videos .aio-video-modal__body {
        padding: 28px 24px 30px !important;
    }
}


/* ============================================================
   AIO VIDEOS — INLINE PLAYER + MUSEUM POLISH
   Standard hero. Blog-like filter. Source filter only.
   Cards with embedded player modal, compact typography, left legal note.
   ============================================================ */

body.page-videos .aio-videos-page {
    background:
        radial-gradient(circle at 86% 4%, rgba(200, 87, 38, .105), transparent 25rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 45%, #F2E3CF 100%) !important;
    padding: 48px 0 64px !important;
}

body.page-videos .aio-videos-layout {
    display: grid !important;
    grid-template-columns: 318px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

body.page-videos .aio-videos-filter {
    background:
        radial-gradient(circle at 74% 24%, rgba(242, 227, 207, .52), transparent 9rem),
        rgba(255, 255, 255, .72) !important;
    border: 1px solid rgba(7, 45, 91, .10) !important;
    box-shadow: 0 22px 58px rgba(7, 23, 44, .06) !important;
    padding: 28px 28px 30px !important;
}

body.page-videos .aio-videos-filter > .aio-events-kicker {
    margin: 0 0 12px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-filter h2 {
    margin: 0 0 24px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 3vw, 46px) !important;
    line-height: .92 !important;
    font-weight: 400 !important;
}

body.page-videos .aio-videos-filter__group {
    padding-top: 18px !important;
    border-top: 1px solid rgba(7, 45, 91, .10) !important;
}

body.page-videos .aio-videos-filter__group p {
    margin: 0 0 14px !important;
    color: rgba(45, 45, 45, .62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-filter__chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.page-videos .aio-videos-filter__chips a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7, 45, 91, .13) !important;
    background: rgba(255, 255, 255, .52) !important;
    color: rgba(45, 45, 45, .62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .095em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-videos .aio-videos-filter__chips a.is-active,
body.page-videos .aio-videos-filter__chips a:hover {
    background: #072D5B !important;
    border-color: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-videos .aio-videos-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

body.page-videos .aio-video-card {
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.80), rgba(248,245,239,.82)) !important;
    border: 1px solid rgba(7, 45, 91, .10) !important;
    box-shadow: 0 22px 54px rgba(7, 23, 44, .06) !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__media {
    position: relative !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    background:
        radial-gradient(circle at 50% 30%, rgba(242, 227, 207, .68), transparent 11rem),
        rgba(248, 245, 239, .88) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    filter: saturate(.82) contrast(.92) sepia(.08) !important;
    transition: transform .35s ease, filter .35s ease !important;
}

body.page-videos .aio-video-card:hover .aio-video-card__media img {
    transform: scale(1.025) !important;
    filter: saturate(.98) contrast(.98) sepia(.02) !important;
}

body.page-videos .aio-video-card__media > span {
    color: rgba(7,45,91,.26) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", Georgia, serif !important;
    font-size: 54px !important;
    line-height: 1 !important;
}

body.page-videos .aio-video-card__play {
    position: absolute !important;
    left: 24px !important;
    bottom: 22px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248, 245, 239, .70) !important;
    background: rgba(7,45,91,.90) !important;
    box-shadow: 0 14px 28px rgba(7,23,44,.24) !important;
    cursor: pointer !important;
}

body.page-videos .aio-video-card__play span {
    position: absolute !important;
    left: 21px !important;
    top: 16px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    border-left: 15px solid #F8F5EF !important;
}

body.page-videos .aio-video-card__body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 28px 26px !important;
}

body.page-videos .aio-video-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    margin: 0 0 10px !important;
}

body.page-videos .aio-video-card__meta span {
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .135em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-video-card h3 {
    margin: 0 0 12px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.5vw, 40px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-video-card__body > p {
    margin: 0 0 18px !important;
    color: rgba(45, 45, 45, .68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__bottom {
    margin-top: auto !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

body.page-videos .aio-video-card__bottom span,
body.page-videos .aio-video-card__bottom a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-video-card__bottom span {
    color: rgba(45, 45, 45, .46) !important;
}

body.page-videos .aio-video-card__bottom a {
    color: #A9432B !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.page-videos .aio-videos-cta {
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 42px 46px !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.24), transparent 12rem),
        linear-gradient(135deg, #07172C 0%, #072D5B 50%, #151719 100%) !important;
    color: #F8F5EF !important;
    border: 1px solid rgba(248,245,239,.12) !important;
    box-shadow: 0 24px 62px rgba(7, 23, 44, .12) !important;
}

body.page-videos .aio-videos-cta h2 {
    max-width: 520px !important;
    margin: 0 0 20px !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(36px, 4vw, 58px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-cta p:not(.aio-events-kicker) {
    max-width: 470px !important;
    margin: 0 0 28px !important;
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
}

body.page-videos .aio-videos-cta a {
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-videos .aio-videos-empty {
    padding: 38px 42px !important;
    background: rgba(255,255,255,.68) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.055) !important;
}

body.page-videos .aio-videos-empty h2 {
    margin: 0 0 12px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    line-height: .98 !important;
    font-weight: 400 !important;
}

body.page-videos .aio-videos-empty p:not(.aio-events-kicker) {
    margin: 0 !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

body.page-videos .aio-videos-cta_empty {
    margin-top: 24px !important;
    min-height: 320px !important;
}

body.page-videos .aio-videos-note {
    margin-top: 26px !important;
    max-width: 880px !important;
    text-align: left !important;
}

body.page-videos .aio-videos-note p {
    margin: 0 !important;
    color: rgba(45, 45, 45, .58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.68 !important;
    text-align: left !important;
}

html.aio-video-modal-open,
html.aio-video-modal-open body {
    overflow: hidden !important;
}

.aio-video-modal[hidden] {
    display: none !important;
}

.aio-video-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 92px 34px 34px !important;
}

.aio-video-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(7, 23, 44, .66) !important;
    backdrop-filter: blur(4px) !important;
}

.aio-video-modal__dialog {
    position: relative !important;
    z-index: 1 !important;
    width: min(1040px, 94vw) !important;
    max-height: calc(100vh - 126px) !important;
    overflow: auto !important;
    background:
        radial-gradient(circle at 18% 14%, rgba(242,227,207,.40), transparent 15rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 54%, #F2E3CF 100%) !important;
    box-shadow: 0 34px 100px rgba(0,0,0,.32) !important;
    border: 1px solid rgba(248,245,239,.45) !important;
}

.aio-video-modal__close {
    position: absolute !important;
    right: 22px !important;
    top: 18px !important;
    z-index: 2 !important;
    appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(45,45,45,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.aio-video-modal__frame {
    aspect-ratio: 16 / 9 !important;
    background: #07172C !important;
}

.aio-video-modal__frame iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
}

.aio-video-modal__body {
    padding: 28px 34px 34px !important;
}

.aio-video-modal__body .aio-events-kicker {
    color: #A9432B !important;
    margin: 0 0 10px !important;
}

.aio-video-modal__body h2 {
    margin: 0 0 12px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(36px, 4.5vw, 60px) !important;
    line-height: .92 !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
}

.aio-video-modal__meta {
    margin: 0 0 18px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

.aio-video-modal__body p:not(.aio-events-kicker) {
    max-width: 760px !important;
    margin: 0 0 22px !important;
    color: rgba(45,45,45,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.68 !important;
}

.aio-video-modal__body a {
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

@media (max-width: 1180px) {
    body.page-videos .aio-videos-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-videos .aio-videos-filter {
        max-width: none !important;
    }
}

@media (max-width: 900px) {
    body.page-videos .aio-videos-grid {
        grid-template-columns: 1fr !important;
    }

    .aio-video-modal {
        padding: 84px 16px 18px !important;
    }

    .aio-video-modal__dialog {
        max-height: calc(100vh - 104px) !important;
    }
}

@media (max-width: 620px) {
    body.page-videos .aio-videos-page {
        padding: 34px 0 48px !important;
    }

    body.page-videos .aio-video-card__body {
        padding: 22px 22px 24px !important;
    }

    body.page-videos .aio-video-card h3 {
        font-size: 30px !important;
    }

    body.page-videos .aio-video-card__bottom {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    body.page-videos .aio-videos-cta {
        padding: 34px 28px !important;
    }
}

/* ============================================================
   AIO VIDEOS — INLINE PLAYER FINAL
   No modal window. Play opens iframe inside the card media area.
   ============================================================ */

body.page-videos .aio-videos-page {
    padding: 48px 0 66px !important;
    background:
        radial-gradient(circle at 86% 4%, rgba(200,87,38,.085), transparent 25rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 48%, #F2E3CF 100%) !important;
}

body.page-videos .aio-videos-layout {
    display: grid !important;
    grid-template-columns: 310px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

body.page-videos .aio-videos-filter {
    position: sticky !important;
    top: 24px !important;
    padding: 28px 28px 30px !important;
    background:
        radial-gradient(circle at 74% 24%, rgba(242,227,207,.46), transparent 9rem),
        rgba(255,255,255,.70) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 22px 58px rgba(7,23,44,.055) !important;
}

body.page-videos .aio-videos-filter > .aio-events-kicker {
    margin: 0 0 12px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-filter h2 {
    margin: 0 0 24px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(32px, 3vw, 44px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
}

body.page-videos .aio-videos-filter__group {
    padding-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-videos .aio-videos-filter__group > p {
    margin: 0 0 14px !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-filter__chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.page-videos .aio-videos-filter__chips a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background: rgba(255,255,255,.52) !important;
    color: rgba(45,45,45,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .095em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-videos .aio-videos-filter__chips a.is-active,
body.page-videos .aio-videos-filter__chips a:hover {
    background: #072D5B !important;
    border-color: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-videos .aio-videos-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

body.page-videos .aio-video-card {
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.74), rgba(248,245,239,.80) 58%, rgba(242,227,207,.34)) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.06) !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__media {
    position: relative !important;
    aspect-ratio: 16 / 9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.09), transparent 10rem),
        linear-gradient(135deg, rgba(7,45,91,.08), rgba(242,227,207,.38)) !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.9) contrast(.98) brightness(.96) sepia(.035) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

body.page-videos .aio-video-card:hover .aio-video-card__media img {
    filter: saturate(1) contrast(1) brightness(1) sepia(0) !important;
    transform: scale(1.018) !important;
}

body.page-videos .aio-video-card__media iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
    background: #07172C !important;
}

body.page-videos .aio-video-card__media.is-playing {
    background: #07172C !important;
}

body.page-videos .aio-video-card__play {
    position: absolute !important;
    left: 22px !important;
    bottom: 20px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    background: rgba(7,45,91,.90) !important;
    box-shadow: 0 14px 28px rgba(7,23,44,.24) !important;
}

body.page-videos .aio-video-card__play::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 14px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 8px solid transparent !important;
    border-bottom: 8px solid transparent !important;
    border-left: 12px solid #F8F5EF !important;
}

body.page-videos .aio-video-card__body {
    flex: 1 1 auto !important;
    padding: 24px 26px 25px !important;
    display: flex !important;
    flex-direction: column !important;
}

body.page-videos .aio-video-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 11px !important;
}

body.page-videos .aio-video-card__meta span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-videos .aio-video-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(24px, 2vw, 31px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
}

body.page-videos .aio-video-card__body > p {
    min-height: 74px !important;
    margin: 0 0 20px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.70) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__bottom {
    margin-top: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 18px !important;
    align-items: center !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(45,45,45,.085) !important;
}

body.page-videos .aio-video-card__bottom > span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.50) !important;
}

body.page-videos .aio-video-card__bottom a,
body.page-videos .aio-videos-cta a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.page-videos .aio-videos-cta {
    min-height: 100% !important;
    padding: 36px 38px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.18), transparent 9rem),
        linear-gradient(135deg, #07172C, #072D5B) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.12) !important;
}

body.page-videos .aio-videos-cta .aio-events-kicker {
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

body.page-videos .aio-videos-cta h2,
body.page-videos .aio-videos-cta h3 {
    margin: 10px 0 16px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(32px, 3vw, 44px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

body.page-videos .aio-videos-cta p:not(.aio-events-kicker) {
    max-width: 520px !important;
    margin: 0 0 28px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.62 !important;
    color: rgba(248,245,239,.78) !important;
}

body.page-videos .aio-videos-cta a {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-videos .aio-videos-note {
    max-width: 860px !important;
    margin: 30px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.page-videos .aio-videos-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.62 !important;
    color: rgba(45,45,45,.58) !important;
    text-align: left !important;
}

body.page-videos .aio-video-modal {
    display: none !important;
}

@media (max-width: 1100px) {
    body.page-videos .aio-videos-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-videos .aio-videos-filter {
        position: relative !important;
        top: auto !important;
    }
}

@media (max-width: 760px) {
    body.page-videos .aio-videos-page {
        padding: 34px 0 52px !important;
    }

    body.page-videos .aio-videos-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-videos .aio-video-card__bottom {
        display: block !important;
    }

    body.page-videos .aio-video-card__bottom a {
        display: inline-block !important;
        margin-top: 12px !important;
    }
}

/* ============================================================
   AIO VIDEOS — FILTER TAGS + CTA + INLINE PLAYER POLISH
   Tags from admin field "tags" become public topic filter.
   No modal. One play button only. CTA matches dark museum cards.
   ============================================================ */

body.page-videos .aio-videos-page {
    padding: 48px 0 66px !important;
    background:
        radial-gradient(circle at 88% 0%, rgba(200,87,38,.075), transparent 25rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 50%, #F2E3CF 100%) !important;
}

body.page-videos .aio-videos-layout {
    grid-template-columns: 310px minmax(0, 1fr) !important;
    gap: 34px !important;
}

body.page-videos .aio-videos-filter {
    position: sticky !important;
    top: 24px !important;
    padding: 27px 28px 30px !important;
    background:
        radial-gradient(circle at 74% 24%, rgba(242,227,207,.42), transparent 9rem),
        rgba(255,255,255,.68) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 22px 58px rgba(7,23,44,.055) !important;
}

body.page-videos .aio-videos-filter > .aio-events-kicker {
    margin: 0 0 12px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-filter h2 {
    margin: 0 0 23px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 2.7vw, 40px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
}

body.page-videos .aio-videos-filter__group {
    padding-top: 18px !important;
    margin-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-videos .aio-videos-filter__group:first-of-type {
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: 0 !important;
}

body.page-videos .aio-videos-filter__group > p {
    margin: 0 0 13px !important;
    color: rgba(45,45,45,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-filter__chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
}

body.page-videos .aio-videos-filter__chips a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(169,67,43,.30) !important;
    background: rgba(255,255,255,.55) !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .095em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-videos .aio-videos-filter__chips a.is-active,
body.page-videos .aio-videos-filter__chips a:hover {
    background: #072D5B !important;
    border-color: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-videos .aio-video-card__play {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute !important;
    left: 22px !important;
    bottom: 20px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    background: rgba(7,45,91,.90) !important;
    box-shadow: 0 14px 28px rgba(7,23,44,.24) !important;
}

body.page-videos .aio-video-card__play span {
    display: none !important;
}

body.page-videos .aio-video-card__play::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 14px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 8px solid transparent !important;
    border-bottom: 8px solid transparent !important;
    border-left: 12px solid #F8F5EF !important;
}

body.page-videos .aio-video-card__play::after {
    display: none !important;
    content: none !important;
}

body.page-videos .aio-video-card__media iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
    background: #07172C !important;
}

body.page-videos .aio-video-card__media.is-playing {
    background: #07172C !important;
}

body.page-videos .aio-video-card__body > p {
    min-height: 74px !important;
    margin: 0 0 20px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.70) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__bottom {
    margin-top: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 18px !important;
    align-items: center !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(45,45,45,.085) !important;
}

body.page-videos .aio-video-card__bottom > span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.50) !important;
}

body.page-videos .aio-video-card__bottom a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.page-videos .aio-videos-cta {
    min-height: 100% !important;
    padding: 34px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.16), transparent 9rem),
        linear-gradient(135deg, #111418 0%, #07172C 48%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
}

body.page-videos .aio-videos-cta .aio-events-kicker {
    margin: 0 0 14px !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-cta h2,
body.page-videos .aio-videos-cta h3 {
    margin: 0 0 17px !important;
    max-width: 480px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

body.page-videos .aio-videos-cta p:not(.aio-events-kicker) {
    max-width: 520px !important;
    margin: 0 0 28px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.62 !important;
    color: rgba(248,245,239,.78) !important;
}

body.page-videos .aio-videos-cta a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    text-decoration: none !important;
}

body.page-videos .aio-videos-note {
    max-width: 980px !important;
    margin: 30px 0 0 344px !important;
    padding: 0 !important;
    text-align: left !important;
}

body.page-videos .aio-videos-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.58) !important;
    text-align: left !important;
}

body.page-videos .aio-video-modal {
    display: none !important;
}

@media (max-width: 1100px) {
    body.page-videos .aio-videos-note {
        margin-left: 0 !important;
    }
}

@media (max-width: 760px) {
    body.page-videos .aio-video-card__bottom {
        display: block !important;
    }

    body.page-videos .aio-video-card__bottom a {
        display: inline-block !important;
        margin-top: 12px !important;
    }
}


/* ============================================================
   AIO VIDEOS — FINAL FILTER / CTA / NOTE POLISH
   Fixes final visual layer: events-like filter chips, smaller type,
   legal note under filter, compact graphite CTA.
   ============================================================ */

body.page-videos .aio-videos-page {
    padding: 48px 0 66px !important;
    background:
        radial-gradient(circle at 88% 0%, rgba(200,87,38,.06), transparent 25rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 50%, #F2E3CF 100%) !important;
}

body.page-videos .aio-videos-filter {
    padding: 28px 28px 30px !important;
    background:
        radial-gradient(circle at 74% 24%, rgba(242,227,207,.34), transparent 9rem),
        rgba(255,255,255,.66) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.052) !important;
}

body.page-videos .aio-videos-filter > .aio-events-kicker {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-filter h2 {
    margin: 0 0 22px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.1vw, 31px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
}

body.page-videos .aio-videos-filter__group {
    padding-top: 18px !important;
    margin-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-videos .aio-videos-filter__group:first-of-type {
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: 0 !important;
}

body.page-videos .aio-videos-filter__group > p {
    margin: 0 0 12px !important;
    color: rgba(45,45,45,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-filter__chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
}

/* Кнопки фильтра — как в событиях: спокойные серые, не бордовые */
body.page-videos .aio-videos-filter__chips a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(255,255,255,.48) !important;
    color: rgba(45,45,45,.62) !important;
    -webkit-text-fill-color: rgba(45,45,45,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .095em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.page-videos .aio-videos-filter__chips a.is-active,
body.page-videos .aio-videos-filter__chips a:hover {
    background: #072D5B !important;
    border-color: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Правовая сноска — под фильтром, слева, без отдельной коробки */
body.page-videos .aio-videos-filter .aio-videos-note {
    max-width: none !important;
    margin: 22px 0 0 !important;
    padding: 17px 0 0 !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
    text-align: left !important;
}

body.page-videos .aio-videos-filter .aio-videos-note p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.56) !important;
    text-align: left !important;
}

/* Если старая сноска вдруг осталась вне фильтра — не показываем */
body.page-videos .aio-events-museum-hero .aio-videos-note,
body.page-videos .aio-videos-main > .aio-videos-note {
    display: none !important;
}

body.page-videos .aio-video-card h3 {
    margin: 0 0 11px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(21px, 1.75vw, 27px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
}

body.page-videos .aio-video-card__body > p {
    min-height: 74px !important;
    margin: 0 0 20px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.70) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.page-videos .aio-video-card__bottom a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* CTA — темная музейная карточка, компактнее */
body.page-videos .aio-videos-cta {
    min-height: 100% !important;
    padding: 30px 32px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.13), transparent 9rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
    overflow: hidden !important;
}

body.page-videos .aio-videos-cta .aio-events-kicker {
    margin: 0 0 13px !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-cta h2,
body.page-videos .aio-videos-cta h3 {
    margin: 0 0 16px !important;
    max-width: 360px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.45vw, 34px) !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

body.page-videos .aio-videos-cta p:not(.aio-events-kicker) {
    max-width: 390px !important;
    margin: 0 0 24px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    color: rgba(248,245,239,.76) !important;
}

body.page-videos .aio-videos-cta a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    text-decoration: none !important;
}

@media (max-width: 1100px) {
    body.page-videos .aio-videos-filter {
        position: relative !important;
        top: auto !important;
    }
}

@media (max-width: 760px) {
    body.page-videos .aio-videos-filter h2 {
        font-size: 28px !important;
    }

    body.page-videos .aio-video-card__bottom {
        display: block !important;
    }

    body.page-videos .aio-video-card__bottom a {
        display: inline-block !important;
        margin-top: 12px !important;
    }
}


/* ============================================================
   AIO VIDEOS — BEIGE FILTER CHIPS + CTA LOWER COMPOSITION
   Final visual polish: filter chips like museum beige pills,
   CTA content lowered and made more vintage/editorial.
   ============================================================ */

/* Фильтр: бежевые музейные кнопки, без бордовой обводки */
body.page-videos .aio-videos-filter__chips a {
    min-height: 30px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.62), rgba(242,227,207,.42)) !important;
    color: rgba(45,45,45,.62) !important;
    -webkit-text-fill-color: rgba(45,45,45,.62) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.55),
        0 5px 12px rgba(7,23,44,.025) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .095em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-videos .aio-videos-filter__chips a:hover {
    border-color: rgba(169,67,43,.32) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.70), rgba(242,227,207,.58)) !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-videos .aio-videos-filter__chips a.is-active {
    background: #072D5B !important;
    border-color: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    box-shadow: 0 8px 18px rgba(7,23,44,.12) !important;
}

/* CTA: темная винтажная карточка, текст ниже, не по центру */
body.page-videos .aio-videos-cta {
    min-height: 360px !important;
    padding: 34px 34px 38px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    background:
        radial-gradient(circle at 78% 12%, rgba(169,67,43,.12), transparent 10rem),
        radial-gradient(circle at 8% 86%, rgba(242,227,207,.08), transparent 9rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
    overflow: hidden !important;
}

body.page-videos .aio-videos-cta .aio-events-kicker {
    margin: 0 0 12px !important;
    color: rgba(242,227,207,.78) !important;
    -webkit-text-fill-color: rgba(242,227,207,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-videos .aio-videos-cta h2,
body.page-videos .aio-videos-cta h3 {
    margin: 0 0 15px !important;
    max-width: 390px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.25vw, 33px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

body.page-videos .aio-videos-cta p:not(.aio-events-kicker) {
    max-width: 390px !important;
    margin: 0 0 23px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    color: rgba(248,245,239,.74) !important;
}

body.page-videos .aio-videos-cta a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    text-decoration: none !important;
}

/* Чуть спокойнее сама карточка видео */
body.page-videos .aio-video-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.74), rgba(248,245,239,.78) 56%, rgba(242,227,207,.34)) !important;
    border: 1px solid rgba(7,45,91,.095) !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
}

@media (max-width: 760px) {
    body.page-videos .aio-videos-cta {
        min-height: 310px !important;
        padding: 30px 28px 34px !important;
    }
}


/* ============================================================
   AIO VIDEOS — RIGHTS INFO INSIDE CARD
   Card body prioritizes provenance, author, rightsholder and legal note.
   ============================================================ */

body.page-videos .aio-video-card {
    display: flex !important;
    flex-direction: column !important;
}

body.page-videos .aio-video-card__body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 300px !important;
    padding: 23px 26px 24px !important;
}

body.page-videos .aio-video-card h3 {
    margin-bottom: 18px !important;
    font-size: clamp(22px, 1.75vw, 28px) !important;
    line-height: 1.04 !important;
}

body.page-videos .aio-video-card__facts {
    margin: 0 0 18px !important;
    padding: 0 !important;
    display: grid !important;
    gap: 9px !important;
}

body.page-videos .aio-video-card__facts p {
    margin: 0 !important;
    padding: 0 0 9px !important;
    border-bottom: 1px solid rgba(45,45,45,.07) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.68) !important;
}

body.page-videos .aio-video-card__facts p:last-child {
    border-bottom: 0 !important;
}

body.page-videos .aio-video-card__facts span {
    display: block !important;
    margin: 0 0 3px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.44) !important;
}

body.page-videos .aio-video-card__bottom {
    margin-top: auto !important;
    justify-content: flex-start !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(45,45,45,.085) !important;
}

body.page-videos .aio-video-card__bottom a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

@media (max-width: 760px) {
    body.page-videos .aio-video-card__body {
        min-height: 0 !important;
    }
}


/* ============================================================
   AIO VIDEOS — MOBILE LOCK
   /videos mobile optimization: no desktop scaling, one column,
   compact filter, readable cards, inline player stays inside card.
   ============================================================ */

@media (max-width: 900px) {
    body.page-videos .aio-events-museum-hero {
        overflow: hidden !important;
    }

    body.page-videos .aio-events-museum-hero__inner {
        display: block !important;
    }

    body.page-videos .aio-events-museum-hero__inner h1 {
        font-size: clamp(42px, 15vw, 64px) !important;
        line-height: .88 !important;
        max-width: 100% !important;
        overflow-wrap: normal !important;
    }

    body.page-videos .aio-events-museum-hero__inner > p {
        max-width: 100% !important;
        margin-top: 18px !important;
        font-size: 13px !important;
        line-height: 1.58 !important;
    }

    body.page-videos .aio-videos-page {
        padding: 34px 0 48px !important;
        overflow: hidden !important;
    }

    body.page-videos .aio-videos-layout {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    body.page-videos .aio-videos-filter {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 24px !important;
        padding: 24px 20px 24px !important;
        box-sizing: border-box !important;
    }

    body.page-videos .aio-videos-filter h2 {
        font-size: 28px !important;
        line-height: .98 !important;
        margin-bottom: 20px !important;
    }

    body.page-videos .aio-videos-filter__group {
        padding-top: 16px !important;
        margin-top: 16px !important;
    }

    body.page-videos .aio-videos-filter__chips {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 0 0 8px !important;
        margin: 0 -2px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    body.page-videos .aio-videos-filter__chips::-webkit-scrollbar {
        display: none !important;
    }

    body.page-videos .aio-videos-filter__chips a {
        flex: 0 0 auto !important;
        min-height: 30px !important;
        padding: 0 13px !important;
        font-size: 8.5px !important;
        white-space: nowrap !important;
    }

    body.page-videos .aio-videos-filter .aio-videos-note {
        margin-top: 18px !important;
        padding-top: 16px !important;
    }

    body.page-videos .aio-videos-filter .aio-videos-note p {
        font-size: 10.5px !important;
        line-height: 1.55 !important;
    }

    body.page-videos .aio-videos-main {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.page-videos .aio-videos-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        width: 100% !important;
    }

    body.page-videos .aio-video-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.page-videos .aio-video-card__media {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        min-height: 0 !important;
    }

    body.page-videos .aio-video-card__media img,
    body.page-videos .aio-video-card__media iframe {
        width: 100% !important;
        height: 100% !important;
    }

    body.page-videos .aio-video-card__play {
        left: 18px !important;
        bottom: 16px !important;
        width: 42px !important;
        height: 42px !important;
    }

    body.page-videos .aio-video-card__play::before {
        left: 17px !important;
        top: 13px !important;
    }

    body.page-videos .aio-video-card__body {
        min-height: 0 !important;
        padding: 22px 20px 22px !important;
    }

    body.page-videos .aio-video-card__meta {
        gap: 7px 10px !important;
        margin-bottom: 10px !important;
    }

    body.page-videos .aio-video-card__meta span {
        font-size: 8.5px !important;
        letter-spacing: .12em !important;
    }

    body.page-videos .aio-video-card h3 {
        font-size: 24px !important;
        line-height: 1.04 !important;
        margin-bottom: 16px !important;
    }

    body.page-videos .aio-video-card__facts {
        gap: 8px !important;
        margin-bottom: 17px !important;
    }

    body.page-videos .aio-video-card__facts p {
        font-size: 11.5px !important;
        line-height: 1.45 !important;
        padding-bottom: 8px !important;
    }

    body.page-videos .aio-video-card__facts span {
        font-size: 8px !important;
        letter-spacing: .12em !important;
    }

    body.page-videos .aio-video-card__bottom {
        display: block !important;
        padding-top: 14px !important;
    }

    body.page-videos .aio-video-card__bottom a {
        display: inline-block !important;
        margin-top: 0 !important;
        font-size: 9.5px !important;
    }

    body.page-videos .aio-videos-cta {
        min-height: 300px !important;
        padding: 30px 24px 32px !important;
        justify-content: flex-end !important;
    }

    body.page-videos .aio-videos-cta .aio-events-kicker {
        font-size: 8.5px !important;
    }

    body.page-videos .aio-videos-cta h2,
    body.page-videos .aio-videos-cta h3 {
        max-width: 100% !important;
        font-size: 28px !important;
        line-height: 1.02 !important;
    }

    body.page-videos .aio-videos-cta p:not(.aio-events-kicker) {
        max-width: 100% !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    body.page-videos .aio-videos-cta a {
        font-size: 9.5px !important;
    }
}

@media (max-width: 480px) {
    body.page-videos .aio-container {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-videos .aio-events-museum-hero__inner h1 {
        font-size: clamp(38px, 14vw, 54px) !important;
    }

    body.page-videos .aio-events-museum-hero__inner > p {
        font-size: 12.5px !important;
    }

    body.page-videos .aio-videos-filter {
        padding: 22px 18px 22px !important;
    }

    body.page-videos .aio-videos-filter h2 {
        font-size: 26px !important;
    }

    body.page-videos .aio-video-card h3 {
        font-size: 22px !important;
    }

    body.page-videos .aio-video-card__body {
        padding: 20px 18px 21px !important;
    }

    body.page-videos .aio-video-card__facts p {
        font-size: 11px !important;
    }

    body.page-videos .aio-videos-cta {
        min-height: 280px !important;
        padding: 28px 22px 30px !important;
    }

    body.page-videos .aio-videos-cta h2,
    body.page-videos .aio-videos-cta h3 {
        font-size: 26px !important;
    }
}


/* ============================================================
   AIO EVENT DETAIL — MUSEUM PAGE
   Internal event page. Standard hero, compact cover, date card,
   editorial content, registration-ready block.
   ============================================================ */

body.page-event .aio-event-detail-museum-hero {
    margin: 0 !important;
}

body.page-event .aio-event-detail-museum-page {
    padding: 52px 0 76px !important;
    background:
        radial-gradient(circle at 88% 0%, rgba(200,87,38,.07), transparent 25rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 50%, #F2E3CF 100%) !important;
}

body.page-event .aio-event-detail-museum-layout {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

body.page-event .aio-event-detail-museum-sidebar {
    position: sticky !important;
    top: 24px !important;
    display: grid !important;
    gap: 22px !important;
}

body.page-event .aio-event-detail-date-card {
    min-height: 218px !important;
    padding: 28px 24px 26px !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.16), transparent 8rem),
        linear-gradient(145deg, #07172C 0%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
}

body.page-event .aio-event-detail-date-card p {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.78) !important;
}

body.page-event .aio-event-detail-date-card strong {
    display: block !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 76px !important;
    line-height: .82 !important;
    font-weight: 300 !important;
    color: #F8F5EF !important;
}

body.page-event .aio-event-detail-date-card span {
    display: block !important;
    margin-top: 11px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    color: rgba(248,245,239,.76) !important;
}

body.page-event .aio-event-detail-date-card em {
    display: block !important;
    margin-top: 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-style: normal !important;
    font-weight: 700 !important;
    color: #F2E3CF !important;
}

body.page-event .aio-event-detail-info-card {
    padding: 26px 26px 28px !important;
    background:
        radial-gradient(circle at 74% 24%, rgba(242,227,207,.36), transparent 9rem),
        rgba(255,255,255,.68) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.052) !important;
}

body.page-event .aio-event-detail-info-card > .aio-events-kicker {
    margin: 0 0 18px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-event .aio-event-detail-info-card dl {
    margin: 0 0 24px !important;
}

body.page-event .aio-event-detail-info-card dt {
    margin: 16px 0 4px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.8px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.44) !important;
}

body.page-event .aio-event-detail-info-card dt:first-child {
    margin-top: 0 !important;
}

body.page-event .aio-event-detail-info-card dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    color: rgba(45,45,45,.72) !important;
}

body.page-event .aio-event-detail-info-card dd a {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    text-decoration: none !important;
}

body.page-event .aio-event-detail-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    width: 100% !important;
    padding: 0 20px !important;
    background: #072D5B !important;
    border: 1px solid #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-event .aio-event-detail-back {
    display: inline-block !important;
    margin-top: 16px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-event .aio-event-detail-museum-main {
    min-width: 0 !important;
}

body.page-event .aio-event-detail-cover-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
    margin-bottom: 28px !important;
}

body.page-event .aio-event-detail-cover-card {
    min-height: 320px !important;
    margin: 0 !important;
    background:
        linear-gradient(135deg, rgba(7,45,91,.08), rgba(242,227,207,.38)) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.055) !important;
    overflow: hidden !important;
}

body.page-event .aio-event-detail-cover-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;
    object-fit: cover !important;
    filter: saturate(.9) contrast(.98) brightness(.96) sepia(.035) !important;
}

body.page-event .aio-event-detail-intro-card {
    min-height: 320px !important;
    padding: 34px 34px 36px !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.13), transparent 9rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
    overflow: hidden !important;
}

body.page-event .aio-event-detail-intro-card .aio-events-kicker {
    margin: 0 0 13px !important;
    color: rgba(242,227,207,.78) !important;
    -webkit-text-fill-color: rgba(242,227,207,.78) !important;
}

body.page-event .aio-event-detail-intro-card h2 {
    margin: 0 0 15px !important;
    max-width: 420px !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
}

body.page-event .aio-event-detail-intro-card p:not(.aio-events-kicker) {
    margin: 0 !important;
    max-width: 470px !important;
    color: rgba(248,245,239,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
}

body.page-event .aio-event-detail-text {
    padding: 42px 46px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.74), rgba(248,245,239,.78) 56%, rgba(242,227,207,.34)) !important;
    border: 1px solid rgba(7,45,91,.095) !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
    color: rgba(45,45,45,.76) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.76 !important;
    font-weight: 400 !important;
}

body.page-event .aio-event-detail-text p {
    margin: 0 0 20px !important;
}

body.page-event .aio-event-detail-text p:last-child {
    margin-bottom: 0 !important;
}

body.page-event .aio-event-detail-text h2,
body.page-event .aio-event-detail-text h3 {
    margin: 30px 0 16px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 400 !important;
    line-height: 1.02 !important;
}

body.page-event .aio-event-detail-text h2 {
    font-size: 38px !important;
}

body.page-event .aio-event-detail-text h3 {
    font-size: 30px !important;
}

body.page-event .aio-event-registration-card {
    margin-top: 28px !important;
    padding: 34px 38px 36px !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(169,67,43,.13), transparent 10rem),
        linear-gradient(135deg, #111418 0%, #07172C 56%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
}

body.page-event .aio-event-registration-card .aio-events-kicker {
    margin: 0 0 12px !important;
    color: rgba(242,227,207,.78) !important;
    -webkit-text-fill-color: rgba(242,227,207,.78) !important;
}

body.page-event .aio-event-registration-card h2 {
    margin: 0 0 14px !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(32px, 3vw, 46px) !important;
    line-height: 1 !important;
    font-weight: 300 !important;
}

body.page-event .aio-event-registration-card p:not(.aio-events-kicker) {
    max-width: 720px !important;
    margin: 0 0 24px !important;
    color: rgba(248,245,239,.76) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.62 !important;
}

body.page-event .aio-event-registration-card a {
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-event .aio-event-detail-gallery {
    margin-top: 34px !important;
}

body.page-event .aio-event-detail-section-head {
    margin-bottom: 18px !important;
}

body.page-event .aio-event-detail-section-head .aio-events-kicker {
    margin: 0 0 8px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-event .aio-event-detail-section-head h2 {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 38px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body.page-event .aio-event-detail-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.page-event .aio-event-detail-gallery__grid figure {
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
    background: rgba(255,255,255,.56) !important;
    border: 1px solid rgba(7,45,91,.09) !important;
    overflow: hidden !important;
}

body.page-event .aio-event-detail-gallery__grid img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    filter: saturate(.92) contrast(.98) brightness(.97) sepia(.025) !important;
}

@media (max-width: 1120px) {
    body.page-event .aio-event-detail-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-event .aio-event-detail-museum-sidebar {
        position: static !important;
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }
}

@media (max-width: 900px) {
    body.page-event .aio-event-detail-museum-page {
        padding: 34px 0 52px !important;
        overflow: hidden !important;
    }

    body.page-event .aio-event-detail-museum-sidebar {
        grid-template-columns: 1fr !important;
    }

    body.page-event .aio-event-detail-date-card {
        min-height: 170px !important;
    }

    body.page-event .aio-event-detail-date-card strong {
        font-size: 58px !important;
    }

    body.page-event .aio-event-detail-cover-row {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.page-event .aio-event-detail-cover-card,
    body.page-event .aio-event-detail-cover-card img {
        min-height: 240px !important;
    }

    body.page-event .aio-event-detail-intro-card {
        min-height: 260px !important;
        padding: 30px 26px 32px !important;
    }

    body.page-event .aio-event-detail-text {
        padding: 30px 24px !important;
        font-size: 14px !important;
        line-height: 1.68 !important;
    }

    body.page-event .aio-event-registration-card {
        padding: 30px 26px 32px !important;
    }

    body.page-event .aio-event-detail-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 520px) {
    body.page-event .aio-container {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-event .aio-event-detail-info-card {
        padding: 24px 20px 26px !important;
    }

    body.page-event .aio-event-detail-cover-card,
    body.page-event .aio-event-detail-cover-card img {
        min-height: 210px !important;
    }

    body.page-event .aio-event-detail-intro-card h2 {
        font-size: 30px !important;
    }

    body.page-event .aio-event-detail-text {
        padding: 26px 20px !important;
    }

    body.page-event .aio-event-detail-gallery__grid {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   AIO EVENT DETAIL — REGISTRATION POLISH
   Removes duplicated blue type block, makes participation the top card,
   red date number, event-like kickers, warmer action button.
   ============================================================ */

body.page-event .aio-event-detail-date-card {
    min-height: 188px !important;
    padding: 24px 22px 24px !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(169,67,43,.12), transparent 8rem),
        linear-gradient(145deg, #07172C 0%, #072D5B 100%) !important;
}

body.page-event .aio-event-detail-date-card p,
body.page-event .aio-event-detail-date-card span,
body.page-event .aio-event-detail-date-card em {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

body.page-event .aio-event-detail-date-card strong {
    font-size: 62px !important;
    line-height: .86 !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-event .aio-event-detail-info-card > .aio-events-kicker,
body.page-event .aio-event-detail-section-head .aio-events-kicker {
    margin: 0 0 18px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-event .aio-event-detail-info-card dt {
    margin: 15px 0 4px !important;
    color: rgba(45,45,45,.45) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.8px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

body.page-event .aio-event-detail-action {
    background:
        linear-gradient(180deg, rgba(255,255,255,.70), rgba(242,227,207,.55)) !important;
    border: 1px solid rgba(169,67,43,.34) !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.55),
        0 8px 18px rgba(7,23,44,.045) !important;
}

body.page-event .aio-event-detail-action:hover,
body.page-event .aio-event-detail-action_participate {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-event .aio-event-detail-cover-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

body.page-event .aio-event-detail-intro-card {
    display: none !important;
}

body.page-event .aio-event-registration-card_top {
    min-height: 320px !important;
    margin-top: 0 !important;
    padding: 32px 34px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background:
        radial-gradient(circle at 78% 12%, rgba(169,67,43,.13), transparent 10rem),
        radial-gradient(circle at 8% 86%, rgba(242,227,207,.08), transparent 9rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
    overflow: hidden !important;
}

body.page-event .aio-event-registration-card_top .aio-events-kicker {
    margin: 0 0 12px !important;
    color: rgba(242,227,207,.78) !important;
    -webkit-text-fill-color: rgba(242,227,207,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-event .aio-event-registration-card_top h2 {
    margin: 0 0 14px !important;
    max-width: 390px !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.6vw, 38px) !important;
    line-height: 1 !important;
    font-weight: 300 !important;
}

body.page-event .aio-event-registration-card_top p:not(.aio-events-kicker) {
    max-width: 430px !important;
    margin: 0 0 22px !important;
    color: rgba(248,245,239,.76) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
}

body.page-event .aio-event-registration-card__line {
    margin: 0 0 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(248,245,239,.13) !important;
}

body.page-event .aio-event-registration-card__line span {
    display: block !important;
    margin: 0 0 4px !important;
    color: rgba(248,245,239,.46) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

body.page-event .aio-event-registration-card__line strong {
    display: block !important;
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
}

body.page-event .aio-event-registration-card_top a {
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    min-height: 32px !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-event .aio-event-detail-section-head {
    margin: 34px 0 16px !important;
}

body.page-event .aio-event-detail-section-head h2 {
    display: none !important;
}

@media (max-width: 900px) {
    body.page-event .aio-event-detail-cover-row {
        grid-template-columns: 1fr !important;
    }

    body.page-event .aio-event-registration-card_top {
        min-height: 260px !important;
        padding: 30px 26px 32px !important;
    }

    body.page-event .aio-event-detail-date-card strong {
        font-size: 56px !important;
    }
}


/* ============================================================
   AIO EVENT REGISTRATION — MODAL FORM
   Universal registration form for internal AIO events.
   ============================================================ */

body.page-event .aio-event-detail-info-card .aio-event-detail-action {
    display: none !important;
}

body.page-event .aio-event-registration-card_top a[href^="mailto:"] {
    display: none !important;
}

body.page-event .aio-event-registration-open {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

html.aio-event-registration-modal-open,
html.aio-event-registration-modal-open body {
    overflow: hidden !important;
}

.aio-event-registration-modal[hidden] {
    display: none !important;
}

.aio-event-registration-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 92px 24px 30px !important;
}

.aio-event-registration-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(7,23,44,.66) !important;
    backdrop-filter: blur(4px) !important;
}

.aio-event-registration-modal__dialog {
    position: relative !important;
    z-index: 1 !important;
    width: min(820px, 94vw) !important;
    max-height: calc(100vh - 122px) !important;
    overflow: auto !important;
    padding: 34px 38px 38px !important;
    background:
        radial-gradient(circle at 18% 14%, rgba(242,227,207,.40), transparent 15rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 54%, #F2E3CF 100%) !important;
    box-shadow: 0 34px 100px rgba(0,0,0,.32) !important;
    border: 1px solid rgba(248,245,239,.45) !important;
}

.aio-event-registration-modal__close {
    position: absolute !important;
    right: 22px !important;
    top: 18px !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    color: rgba(45,45,45,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

.aio-event-registration-modal .aio-events-kicker {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

.aio-event-registration-modal h2 {
    max-width: 640px !important;
    margin: 0 0 12px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
}

.aio-event-registration-modal__lead {
    max-width: 620px !important;
    margin: 0 0 26px !important;
    color: rgba(45,45,45,.66) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
}

.aio-event-registration-form {
    margin: 0 !important;
}

.aio-event-registration-form #event-registration-form-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.aio-event-registration-form label {
    display: block !important;
}

.aio-event-registration-form label > span {
    display: block !important;
    margin: 0 0 7px !important;
    color: rgba(45,45,45,.52) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

.aio-event-registration-form input[type="text"],
.aio-event-registration-form input[type="email"],
.aio-event-registration-form input[type="tel"],
.aio-event-registration-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background: rgba(255,255,255,.62) !important;
    padding: 13px 14px !important;
    color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    outline: none !important;
}

.aio-event-registration-form textarea {
    resize: vertical !important;
}

.aio-event-registration-form__wide {
    grid-column: 1 / -1 !important;
}

.aio-event-registration-form__check {
    grid-column: 1 / -1 !important;
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
}

.aio-event-registration-form__check input {
    margin-top: 2px !important;
}

.aio-event-registration-form__check span {
    margin: 0 !important;
    color: rgba(45,45,45,.66) !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.aio-event-registration-form button[type="submit"] {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    min-height: 42px !important;
    padding: 0 22px !important;
    border: 1px solid #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.aio-event-registration-result {
    margin: 0 0 18px !important;
    padding: 13px 15px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.aio-event-registration-result.is-error {
    background: rgba(169,67,43,.10) !important;
    color: #A9432B !important;
    border: 1px solid rgba(169,67,43,.22) !important;
}

.aio-event-registration-result.is-success,
.aio-event-registration-sent {
    background: rgba(7,45,91,.08) !important;
    color: #072D5B !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    padding: 13px 15px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

@media (max-width: 700px) {
    .aio-event-registration-modal {
        padding: 84px 16px 18px !important;
    }

    .aio-event-registration-modal__dialog {
        max-height: calc(100vh - 104px) !important;
        padding: 30px 22px 28px !important;
    }

    .aio-event-registration-form #event-registration-form-fields {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}


/* ============================================================
   AIO EVENT REGISTRATION — DYNAMIC FORM SCENARIOS
   One universal form, fields shown by event registration_form_type.
   ============================================================ */

.aio-event-registration-form__section {
    grid-column: 1 / -1 !important;
    padding-top: 6px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

.aio-event-registration-form__section p {
    margin: 0 0 2px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

.aio-event-registration-form input[type="number"] {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background: rgba(255,255,255,.62) !important;
    padding: 13px 14px !important;
    color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    outline: none !important;
}


/* ============================================================
   AIO EVENT REGISTRATION MODAL — VISUAL FIX
   Readable fields, no image overlay, visible submit button.
   ============================================================ */

body.page-event .aio-event-registration-modal {
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 76px 22px 28px !important;
}

body.page-event .aio-event-registration-modal__dialog {
    width: min(760px, calc(100vw - 44px)) !important;
    max-height: calc(100vh - 104px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 34px 38px 38px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(169,67,43,.08), transparent 18rem),
        linear-gradient(135deg, #F8F5EF 0%, #F7F1E8 58%, #F2E3CF 100%) !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    box-shadow: 0 34px 100px rgba(0,0,0,.34) !important;
}

body.page-event .aio-event-registration-modal__dialog img,
body.page-event .aio-event-registration-modal__dialog figure {
    display: none !important;
}

body.page-event .aio-event-registration-modal__close {
    right: 24px !important;
    top: 22px !important;
    color: rgba(7,45,91,.58) !important;
    -webkit-text-fill-color: rgba(7,45,91,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.page-event .aio-event-registration-modal .aio-events-kicker {
    margin: 0 0 10px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-event .aio-event-registration-modal h2 {
    max-width: 620px !important;
    margin: 0 0 10px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(36px, 4vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-modal__lead {
    max-width: 620px !important;
    margin: 0 0 24px !important;
    color: rgba(45,45,45,.66) !important;
    -webkit-text-fill-color: rgba(45,45,45,.66) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-form {
    position: relative !important;
    z-index: 2 !important;
    margin: 0 !important;
}

body.page-event .aio-event-registration-form #event-registration-form-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 15px 16px !important;
    align-items: start !important;
}

body.page-event .aio-event-registration-form input[type="hidden"] {
    display: none !important;
}

body.page-event .aio-event-registration-form label {
    display: block !important;
    min-width: 0 !important;
}

body.page-event .aio-event-registration-form label > span {
    display: block !important;
    margin: 0 0 7px !important;
    color: rgba(7,45,91,.72) !important;
    -webkit-text-fill-color: rgba(7,45,91,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-form input[type="text"],
body.page-event .aio-event-registration-form input[type="email"],
body.page-event .aio-event-registration-form input[type="tel"],
body.page-event .aio-event-registration-form input[type="number"],
body.page-event .aio-event-registration-form textarea {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(255,255,255,.82) !important;
    padding: 13px 14px !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65) !important;
    opacity: 1 !important;
}

body.page-event .aio-event-registration-form textarea {
    min-height: 92px !important;
    resize: vertical !important;
}

body.page-event .aio-event-registration-form input::placeholder,
body.page-event .aio-event-registration-form textarea::placeholder {
    color: rgba(45,45,45,.36) !important;
    -webkit-text-fill-color: rgba(45,45,45,.36) !important;
    opacity: 1 !important;
}

body.page-event .aio-event-registration-form input:focus,
body.page-event .aio-event-registration-form textarea:focus {
    border-color: rgba(169,67,43,.46) !important;
    background: rgba(255,255,255,.95) !important;
}

body.page-event .aio-event-registration-form__wide,
body.page-event .aio-event-registration-form__section,
body.page-event .aio-event-registration-form__check,
body.page-event .aio-event-registration-form button[type="submit"] {
    grid-column: 1 / -1 !important;
}

body.page-event .aio-event-registration-form__section {
    margin-top: 5px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(7,45,91,.11) !important;
}

body.page-event .aio-event-registration-form__section p {
    margin: 0 !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-form__check {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
    margin-top: 2px !important;
}

body.page-event .aio-event-registration-form__check input[type="checkbox"] {
    flex: 0 0 auto !important;
    width: 16px !important;
    height: 16px !important;
    margin: 1px 0 0 !important;
    accent-color: #A9432B !important;
}

body.page-event .aio-event-registration-form__check span {
    margin: 0 !important;
    color: rgba(45,45,45,.70) !important;
    -webkit-text-fill-color: rgba(45,45,45,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.page-event .aio-event-registration-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: start !important;
    min-height: 44px !important;
    margin-top: 8px !important;
    padding: 0 24px !important;
    border: 1px solid #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.page-event .aio-event-registration-result {
    margin: 0 0 18px !important;
}

@media (max-width: 760px) {
    body.page-event .aio-event-registration-modal {
        padding: 72px 14px 18px !important;
    }

    body.page-event .aio-event-registration-modal__dialog {
        width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 90px) !important;
        padding: 30px 20px 26px !important;
    }

    body.page-event .aio-event-registration-modal h2 {
        font-size: 36px !important;
        padding-right: 42px !important;
    }

    body.page-event .aio-event-registration-form #event-registration-form-fields {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body.page-event .aio-event-registration-form button[type="submit"] {
        width: 100% !important;
    }
}

@media (max-width: 430px) {
    body.page-event .aio-event-registration-modal h2 {
        font-size: 32px !important;
    }

    body.page-event .aio-event-registration-modal__lead {
        font-size: 12.5px !important;
    }
}


/* ============================================================
   AIO EVENT REGISTRATION MODAL — SECOND FIX
   Restore page cover, make modal calmer, left aligned,
   smaller title, proper checkbox layout.
   ============================================================ */

body.page-event .aio-event-detail-cover-card {
    display: block !important;
    min-height: 320px !important;
    margin: 0 !important;
    background:
        linear-gradient(135deg, rgba(7,45,91,.08), rgba(242,227,207,.38)) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.055) !important;
    overflow: hidden !important;
}

body.page-event .aio-event-detail-cover-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;
    object-fit: cover !important;
    filter: saturate(.9) contrast(.98) brightness(.96) sepia(.035) !important;
}

body.page-event .aio-event-registration-modal {
    align-items: flex-start !important;
    padding-top: 74px !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-modal__dialog {
    width: min(760px, calc(100vw - 44px)) !important;
    max-height: calc(100vh - 102px) !important;
    padding: 32px 38px 36px !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-modal__dialog,
body.page-event .aio-event-registration-modal__dialog * {
    text-align: left !important;
}

body.page-event .aio-event-registration-modal__dialog img,
body.page-event .aio-event-registration-modal__dialog figure {
    display: none !important;
}

body.page-event .aio-event-registration-modal .aio-events-kicker {
    margin: 0 0 8px !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-modal h2 {
    max-width: 560px !important;
    margin: 0 0 10px !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    line-height: .98 !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-modal__lead {
    max-width: 560px !important;
    margin: 0 0 22px !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-form #event-registration-form-fields {
    gap: 14px 16px !important;
}

body.page-event .aio-event-registration-form label > span {
    color: rgba(7,45,91,.72) !important;
    -webkit-text-fill-color: rgba(7,45,91,.72) !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-form__check {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: start !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-event .aio-event-registration-form__check input[type="checkbox"] {
    display: block !important;
    grid-column: 1 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    accent-color: #A9432B !important;
}

body.page-event .aio-event-registration-form__check span {
    display: block !important;
    grid-column: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-form button[type="submit"] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 8px !important;
}

@media (max-width: 760px) {
    body.page-event .aio-event-registration-modal {
        padding: 72px 14px 18px !important;
    }

    body.page-event .aio-event-registration-modal__dialog {
        width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 90px) !important;
        padding: 28px 20px 26px !important;
    }

    body.page-event .aio-event-registration-modal h2 {
        font-size: 30px !important;
        padding-right: 38px !important;
    }

    body.page-event .aio-event-registration-form #event-registration-form-fields {
        grid-template-columns: 1fr !important;
    }

    body.page-event .aio-event-registration-form button[type="submit"] {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* ============================================================
   AIO EVENT DETAIL — PARTICIPATION CARD + MODAL CLEAN
   Restore cover, remove modal image overlay, make participation
   card editorial: red kicker, large Cormorant title.
   ============================================================ */

/* Основная обложка события должна быть видна */
body.page-event .aio-event-detail-cover-card {
    display: block !important;
    min-height: 320px !important;
    margin: 0 !important;
    background:
        linear-gradient(135deg, rgba(7,45,91,.08), rgba(242,227,207,.38)) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.055) !important;
    overflow: hidden !important;
}

body.page-event .aio-event-detail-cover-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;
    object-fit: cover !important;
    filter: saturate(.9) contrast(.98) brightness(.96) sepia(.035) !important;
}

/* Никакая картинка не должна попадать внутрь модального окна */
body.page-event .aio-event-registration-modal__dialog figure,
body.page-event .aio-event-registration-modal__dialog img,
body.page-event .aio-event-registration-modal figure,
body.page-event .aio-event-registration-modal img {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* Карточка участия справа от обложки */
body.page-event .aio-event-registration-card_top {
    min-height: 320px !important;
    margin-top: 0 !important;
    padding: 34px 38px 38px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(169,67,43,.14), transparent 10rem),
        radial-gradient(circle at 10% 84%, rgba(242,227,207,.08), transparent 9rem),
        linear-gradient(135deg, #111418 0%, #07172C 52%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
    overflow: hidden !important;
}

/* Верхний кикер — красный, как на сайте */
body.page-event .aio-event-registration-card_top .aio-events-kicker,
body.page-event .aio-event-registration-card_top .aio-events-kicker_light {
    margin: 0 0 14px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

/* «Принять участие» — крупный красивый Cormorant */
body.page-event .aio-event-registration-card_top h2 {
    max-width: 430px !important;
    margin: 0 0 18px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4.4vw, 68px) !important;
    line-height: .88 !important;
    font-weight: 300 !important;
    letter-spacing: -.025em !important;
    text-transform: none !important;
}

body.page-event .aio-event-registration-card_top p:not(.aio-events-kicker) {
    max-width: 460px !important;
    margin: 0 0 24px !important;
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
}

body.page-event .aio-event-registration-open {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.page-event .aio-event-registration-open:hover {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Модальное окно — только форма, без плакатной картинки */
body.page-event .aio-event-registration-modal {
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 74px 22px 28px !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-modal__dialog {
    width: min(760px, calc(100vw - 44px)) !important;
    max-height: calc(100vh - 102px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 32px 38px 36px !important;
    text-align: left !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(169,67,43,.08), transparent 18rem),
        linear-gradient(135deg, #F8F5EF 0%, #F7F1E8 58%, #F2E3CF 100%) !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    box-shadow: 0 34px 100px rgba(0,0,0,.34) !important;
}

body.page-event .aio-event-registration-modal__dialog,
body.page-event .aio-event-registration-modal__dialog * {
    text-align: left !important;
}

body.page-event .aio-event-registration-modal h2 {
    max-width: 560px !important;
    margin: 0 0 10px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-modal__lead {
    max-width: 560px !important;
    margin: 0 0 22px !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Чекбоксы — строго слева от текста */
body.page-event .aio-event-registration-form__check {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: start !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-event .aio-event-registration-form__check input[type="checkbox"] {
    display: block !important;
    grid-column: 1 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    accent-color: #A9432B !important;
}

body.page-event .aio-event-registration-form__check span {
    display: block !important;
    grid-column: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: left !important;
}

@media (max-width: 900px) {
    body.page-event .aio-event-registration-card_top h2 {
        font-size: clamp(38px, 11vw, 56px) !important;
    }

    body.page-event .aio-event-detail-cover-card,
    body.page-event .aio-event-detail-cover-card img {
        min-height: 240px !important;
    }
}

@media (max-width: 760px) {
    body.page-event .aio-event-registration-modal {
        padding: 72px 14px 18px !important;
    }

    body.page-event .aio-event-registration-modal__dialog {
        width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 90px) !important;
        padding: 28px 20px 26px !important;
    }

    body.page-event .aio-event-registration-modal h2 {
        font-size: 30px !important;
        padding-right: 38px !important;
    }

    body.page-event .aio-event-registration-form #event-registration-form-fields {
        grid-template-columns: 1fr !important;
    }

    body.page-event .aio-event-registration-form button[type="submit"] {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* ============================================================
   AIO EVENT DETAIL — PARTICIPATION CARD + MODAL CLEAN
   Restore cover, remove modal image overlay, make participation
   card editorial: red kicker, large Cormorant title.
   ============================================================ */

/* Основная обложка события должна быть видна */
body.page-event .aio-event-detail-cover-card {
    display: block !important;
    min-height: 320px !important;
    margin: 0 !important;
    background:
        linear-gradient(135deg, rgba(7,45,91,.08), rgba(242,227,207,.38)) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.055) !important;
    overflow: hidden !important;
}

body.page-event .aio-event-detail-cover-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;
    object-fit: cover !important;
    filter: saturate(.9) contrast(.98) brightness(.96) sepia(.035) !important;
}

/* Никакая картинка не должна попадать внутрь модального окна */
body.page-event .aio-event-registration-modal__dialog figure,
body.page-event .aio-event-registration-modal__dialog img,
body.page-event .aio-event-registration-modal figure,
body.page-event .aio-event-registration-modal img {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* Карточка участия справа от обложки */
body.page-event .aio-event-registration-card_top {
    min-height: 320px !important;
    margin-top: 0 !important;
    padding: 34px 38px 38px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(169,67,43,.14), transparent 10rem),
        radial-gradient(circle at 10% 84%, rgba(242,227,207,.08), transparent 9rem),
        linear-gradient(135deg, #111418 0%, #07172C 52%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
    overflow: hidden !important;
}

/* Верхний кикер — красный, как на сайте */
body.page-event .aio-event-registration-card_top .aio-events-kicker,
body.page-event .aio-event-registration-card_top .aio-events-kicker_light {
    margin: 0 0 14px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

/* «Принять участие» — крупный красивый Cormorant */
body.page-event .aio-event-registration-card_top h2 {
    max-width: 430px !important;
    margin: 0 0 18px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4.4vw, 68px) !important;
    line-height: .88 !important;
    font-weight: 300 !important;
    letter-spacing: -.025em !important;
    text-transform: none !important;
}

body.page-event .aio-event-registration-card_top p:not(.aio-events-kicker) {
    max-width: 460px !important;
    margin: 0 0 24px !important;
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
}

body.page-event .aio-event-registration-open {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.page-event .aio-event-registration-open:hover {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Модальное окно — только форма, без плакатной картинки */
body.page-event .aio-event-registration-modal {
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 74px 22px 28px !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-modal__dialog {
    width: min(760px, calc(100vw - 44px)) !important;
    max-height: calc(100vh - 102px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 32px 38px 36px !important;
    text-align: left !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(169,67,43,.08), transparent 18rem),
        linear-gradient(135deg, #F8F5EF 0%, #F7F1E8 58%, #F2E3CF 100%) !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    box-shadow: 0 34px 100px rgba(0,0,0,.34) !important;
}

body.page-event .aio-event-registration-modal__dialog,
body.page-event .aio-event-registration-modal__dialog * {
    text-align: left !important;
}

body.page-event .aio-event-registration-modal h2 {
    max-width: 560px !important;
    margin: 0 0 10px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    text-align: left !important;
}

body.page-event .aio-event-registration-modal__lead {
    max-width: 560px !important;
    margin: 0 0 22px !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Чекбоксы — строго слева от текста */
body.page-event .aio-event-registration-form__check {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: start !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-event .aio-event-registration-form__check input[type="checkbox"] {
    display: block !important;
    grid-column: 1 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    accent-color: #A9432B !important;
}

body.page-event .aio-event-registration-form__check span {
    display: block !important;
    grid-column: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: left !important;
}

@media (max-width: 900px) {
    body.page-event .aio-event-registration-card_top h2 {
        font-size: clamp(38px, 11vw, 56px) !important;
    }

    body.page-event .aio-event-detail-cover-card,
    body.page-event .aio-event-detail-cover-card img {
        min-height: 240px !important;
    }
}

@media (max-width: 760px) {
    body.page-event .aio-event-registration-modal {
        padding: 72px 14px 18px !important;
    }

    body.page-event .aio-event-registration-modal__dialog {
        width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 90px) !important;
        padding: 28px 20px 26px !important;
    }

    body.page-event .aio-event-registration-modal h2 {
        font-size: 30px !important;
        padding-right: 38px !important;
    }

    body.page-event .aio-event-registration-form #event-registration-form-fields {
        grid-template-columns: 1fr !important;
    }

    body.page-event .aio-event-registration-form button[type="submit"] {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* ============================================================
   AIO EVENT REGISTER PAGE
   Separate registration page for internal events.
   ============================================================ */

body.page-event-register .aio-event-register-page {
    padding: 52px 0 78px !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(169,67,43,.07), transparent 24rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 52%, #F2E3CF 100%) !important;
}

body.page-event-register .aio-event-register-layout {
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

body.page-event-register .aio-event-register-aside {
    position: sticky !important;
    top: 24px !important;
    display: grid !important;
    gap: 22px !important;
}

body.page-event-register .aio-event-register-cover {
    margin: 0 !important;
    aspect-ratio: 4 / 3 !important;
    background: rgba(255,255,255,.55) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.055) !important;
    overflow: hidden !important;
}

body.page-event-register .aio-event-register-cover img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.9) contrast(.98) brightness(.96) sepia(.035) !important;
}

body.page-event-register .aio-event-register-info {
    padding: 26px 26px 28px !important;
    background:
        radial-gradient(circle at 74% 24%, rgba(242,227,207,.36), transparent 9rem),
        rgba(255,255,255,.68) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.052) !important;
}

body.page-event-register .aio-event-register-info .aio-events-kicker,
body.page-event-register .aio-event-register-form-card .aio-events-kicker {
    margin: 0 0 18px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-event-register .aio-event-register-info dl {
    margin: 0 0 22px !important;
}

body.page-event-register .aio-event-register-info dt {
    margin: 15px 0 4px !important;
    color: rgba(45,45,45,.45) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.8px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

body.page-event-register .aio-event-register-info dt:first-child {
    margin-top: 0 !important;
}

body.page-event-register .aio-event-register-info dd {
    margin: 0 !important;
    color: rgba(45,45,45,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
}

body.page-event-register .aio-event-register-info a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-event-register .aio-event-register-form-card {
    padding: 42px 46px 46px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.76), rgba(248,245,239,.82) 56%, rgba(242,227,207,.36)) !important;
    border: 1px solid rgba(7,45,91,.095) !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
}

body.page-event-register .aio-event-register-form-card h2 {
    max-width: 620px !important;
    margin: 0 0 14px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4.5vw, 66px) !important;
    line-height: .9 !important;
    font-weight: 300 !important;
}

body.page-event-register .aio-event-register-lead {
    max-width: 660px !important;
    margin: 0 0 28px !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.62 !important;
    font-weight: 500 !important;
}

body.page-event-register .aio-event-register-note {
    margin: 0 0 20px !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    background: rgba(255,255,255,.48) !important;
}

body.page-event-register .aio-event-register-note strong {
    display: block !important;
    margin: 0 0 6px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

body.page-event-register .aio-event-register-note p {
    margin: 0 !important;
    color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
}

body.page-event-register .aio-event-register-form #event-registration-form-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: start !important;
}

body.page-event-register .aio-event-register-form input[type="hidden"] {
    display: none !important;
}

body.page-event-register .aio-event-register-form label {
    display: block !important;
}

body.page-event-register .aio-event-register-form label > span {
    display: block !important;
    margin: 0 0 7px !important;
    color: rgba(7,45,91,.72) !important;
    -webkit-text-fill-color: rgba(7,45,91,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

body.page-event-register .aio-event-register-form input[type="text"],
body.page-event-register .aio-event-register-form input[type="email"],
body.page-event-register .aio-event-register-form input[type="tel"],
body.page-event-register .aio-event-register-form input[type="number"],
body.page-event-register .aio-event-register-form textarea {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(255,255,255,.82) !important;
    padding: 13px 14px !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    outline: none !important;
}

body.page-event-register .aio-event-register-form textarea {
    min-height: 96px !important;
    resize: vertical !important;
}

body.page-event-register .aio-event-register-form__wide,
body.page-event-register .aio-event-register-form__section,
body.page-event-register .aio-event-register-form__check,
body.page-event-register .aio-event-register-form button[type="submit"] {
    grid-column: 1 / -1 !important;
}

body.page-event-register .aio-event-register-form__section {
    margin-top: 8px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
}

body.page-event-register .aio-event-register-form__section p {
    margin: 0 !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

body.page-event-register .aio-event-register-form__check {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: start !important;
}

body.page-event-register .aio-event-register-form__check input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 !important;
    accent-color: #A9432B !important;
}

body.page-event-register .aio-event-register-form__check span {
    margin: 0 !important;
    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.page-event-register .aio-event-register-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: start !important;
    min-height: 44px !important;
    margin-top: 8px !important;
    padding: 0 24px !important;
    border: 1px solid #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

body.page-event-register .aio-event-registration-result {
    margin: 0 0 18px !important;
    padding: 13px 15px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

body.page-event-register .aio-event-registration-result.is-error {
    background: rgba(169,67,43,.10) !important;
    color: #A9432B !important;
    border: 1px solid rgba(169,67,43,.22) !important;
}

body.page-event-register .aio-event-registration-result.is-success,
body.page-event-register .aio-event-registration-sent {
    background: rgba(7,45,91,.08) !important;
    color: #072D5B !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    padding: 13px 15px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

@media (max-width: 980px) {
    body.page-event-register .aio-event-register-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-event-register .aio-event-register-aside {
        position: static !important;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    }
}

@media (max-width: 760px) {
    body.page-event-register .aio-event-register-page {
        padding: 34px 0 52px !important;
    }

    body.page-event-register .aio-event-register-aside {
        grid-template-columns: 1fr !important;
    }

    body.page-event-register .aio-event-register-form-card {
        padding: 30px 22px 32px !important;
    }

    body.page-event-register .aio-event-register-form-card h2 {
        font-size: 38px !important;
    }

    body.page-event-register .aio-event-register-form #event-registration-form-fields {
        grid-template-columns: 1fr !important;
    }

    body.page-event-register .aio-event-register-form button[type="submit"] {
        width: 100% !important;
    }
}

/* Fallback if layout does not assign page-event-register body class */
body.page-event .aio-event-register-page {
    padding: 52px 0 78px !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(169,67,43,.07), transparent 24rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 52%, #F2E3CF 100%) !important;
}
body.page-event .aio-event-register-layout {
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}
body.page-event .aio-event-register-aside {
    position: sticky !important;
    top: 24px !important;
    display: grid !important;
    gap: 22px !important;
}
body.page-event .aio-event-register-cover {
    margin: 0 !important;
    aspect-ratio: 4 / 3 !important;
    background: rgba(255,255,255,.55) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 20px 52px rgba(7,23,44,.055) !important;
    overflow: hidden !important;
}
body.page-event .aio-event-register-cover img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
body.page-event .aio-event-register-info,
body.page-event .aio-event-register-form-card {
    background: rgba(255,255,255,.72) !important;
    border: 1px solid rgba(7,45,91,.095) !important;
    box-shadow: 0 18px 48px rgba(7,23,44,.055) !important;
}
body.page-event .aio-event-register-info {
    padding: 26px 26px 28px !important;
}
body.page-event .aio-event-register-form-card {
    padding: 42px 46px 46px !important;
}
body.page-event .aio-event-register-form #event-registration-form-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
}
body.page-event .aio-event-register-form__wide,
body.page-event .aio-event-register-form__section,
body.page-event .aio-event-register-form__check,
body.page-event .aio-event-register-form button[type="submit"] {
    grid-column: 1 / -1 !important;
}


/* ============================================================
   AIO EVENT REGISTER PAGE — FORM POLISH
   More site-like buttons, vintage sand/white form surface,
   lighter placeholders, refined fields.
   ============================================================ */

/* Общая подложка страницы регистрации */
body.page-event-register .aio-event-register-page,
body.page-event .aio-event-register-page {
    background:
        radial-gradient(circle at 90% 0%, rgba(169,67,43,.055), transparent 26rem),
        radial-gradient(circle at 0% 72%, rgba(7,45,91,.045), transparent 22rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 50%, #F2E3CF 100%) !important;
}

/* Карточка формы — белый в песочный, без SaaS-ощущения */
body.page-event-register .aio-event-register-form-card,
body.page-event .aio-event-register-form-card {
    position: relative !important;
    padding: 44px 48px 48px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(242,227,207,.55), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,.86) 0%, rgba(248,245,239,.90) 54%, rgba(242,227,207,.58) 100%) !important;
    border: 1px solid rgba(7,45,91,.105) !important;
    box-shadow:
        0 18px 48px rgba(7,23,44,.052),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
}

/* Кикер формы */
body.page-event-register .aio-event-register-form-card .aio-events-kicker,
body.page-event .aio-event-register-form-card .aio-events-kicker {
    margin: 0 0 14px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

/* Заголовок формы */
body.page-event-register .aio-event-register-form-card h2,
body.page-event .aio-event-register-form-card h2 {
    max-width: 640px !important;
    margin: 0 0 16px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 4.2vw, 62px) !important;
    line-height: .92 !important;
    font-weight: 300 !important;
    letter-spacing: -.018em !important;
}

/* Лид */
body.page-event-register .aio-event-register-lead,
body.page-event .aio-event-register-lead {
    max-width: 670px !important;
    margin: 0 0 30px !important;
    color: rgba(45,45,45,.64) !important;
    -webkit-text-fill-color: rgba(45,45,45,.64) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.64 !important;
    font-weight: 400 !important;
}

/* Сетка формы */
body.page-event-register .aio-event-register-form #event-registration-form-fields,
body.page-event .aio-event-register-form #event-registration-form-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 17px 18px !important;
    align-items: start !important;
}

/* Подписи к полям */
body.page-event-register .aio-event-register-form label > span,
body.page-event .aio-event-register-form label > span {
    display: block !important;
    margin: 0 0 7px !important;
    color: rgba(7,45,91,.68) !important;
    -webkit-text-fill-color: rgba(7,45,91,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

/* Поля */
body.page-event-register .aio-event-register-form input[type="text"],
body.page-event-register .aio-event-register-form input[type="email"],
body.page-event-register .aio-event-register-form input[type="tel"],
body.page-event-register .aio-event-register-form input[type="number"],
body.page-event-register .aio-event-register-form textarea,
body.page-event .aio-event-register-form input[type="text"],
body.page-event .aio-event-register-form input[type="email"],
body.page-event .aio-event-register-form input[type="tel"],
body.page-event .aio-event-register-form input[type="number"],
body.page-event .aio-event-register-form textarea {
    display: block !important;
    width: 100% !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72)) !important;
    padding: 12px 14px !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.78),
        0 4px 12px rgba(7,23,44,.018) !important;
}

/* Плейсхолдеры — полупрозрачные, не похожи на заполненные поля */
body.page-event-register .aio-event-register-form input::placeholder,
body.page-event-register .aio-event-register-form textarea::placeholder,
body.page-event .aio-event-register-form input::placeholder,
body.page-event .aio-event-register-form textarea::placeholder {
    color: rgba(45,45,45,.28) !important;
    -webkit-text-fill-color: rgba(45,45,45,.28) !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* Фокус */
body.page-event-register .aio-event-register-form input:focus,
body.page-event-register .aio-event-register-form textarea:focus,
body.page-event .aio-event-register-form input:focus,
body.page-event .aio-event-register-form textarea:focus {
    border-color: rgba(169,67,43,.48) !important;
    background: rgba(255,255,255,.94) !important;
}

/* Разделы Автомобиль / Экипаж */
body.page-event-register .aio-event-register-form__section,
body.page-event .aio-event-register-form__section {
    grid-column: 1 / -1 !important;
    margin-top: 10px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.115) !important;
}

body.page-event-register .aio-event-register-form__section p,
body.page-event .aio-event-register-form__section p {
    margin: 0 !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

/* Чекбоксы */
body.page-event-register .aio-event-register-form__check,
body.page-event .aio-event-register-form__check {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: start !important;
    margin: 0 !important;
}

body.page-event-register .aio-event-register-form__check input[type="checkbox"],
body.page-event .aio-event-register-form__check input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 !important;
    accent-color: #A9432B !important;
}

body.page-event-register .aio-event-register-form__check span,
body.page-event .aio-event-register-form__check span {
    margin: 0 !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Кнопка — как на сайте: компактная прямоугольная, не оранжевая */
body.page-event-register .aio-event-register-form button[type="submit"],
body.page-event .aio-event-register-form button[type="submit"] {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 24px !important;
    border: 1px solid #A9432B !important;
    background: transparent !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

body.page-event-register .aio-event-register-form button[type="submit"]:hover,
body.page-event .aio-event-register-form button[type="submit"]:hover {
    background: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Боковая информационная карточка тоже чуть теплее */
body.page-event-register .aio-event-register-info,
body.page-event .aio-event-register-info {
    background:
        radial-gradient(circle at 88% 0%, rgba(242,227,207,.46), transparent 12rem),
        linear-gradient(135deg, rgba(255,255,255,.76), rgba(248,245,239,.76) 58%, rgba(242,227,207,.42)) !important;
}

@media (max-width: 760px) {
    body.page-event-register .aio-event-register-form-card,
    body.page-event .aio-event-register-form-card {
        padding: 30px 22px 32px !important;
    }

    body.page-event-register .aio-event-register-form-card h2,
    body.page-event .aio-event-register-form-card h2 {
        font-size: 38px !important;
    }

    body.page-event-register .aio-event-register-form #event-registration-form-fields,
    body.page-event .aio-event-register-form #event-registration-form-fields {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    body.page-event-register .aio-event-register-form button[type="submit"],
    body.page-event .aio-event-register-form button[type="submit"] {
        width: 100% !important;
    }
}


/* ============================================================
   AIO EVENT REGISTER — BUTTON LIKE SITE
   Large rectangular heritage button, like main site CTAs.
   ============================================================ */

body.page-event-register .aio-event-register-form button[type="submit"],
body.page-event .aio-event-register-form button[type="submit"] {
    grid-column: 1 / -1 !important;
    justify-self: start !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 230px !important;
    min-height: 56px !important;
    padding: 0 34px !important;

    border-radius: 0 !important;
    border: 1px solid #A9432B !important;
    background: transparent !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    box-shadow: none !important;
    cursor: pointer !important;
}

body.page-event-register .aio-event-register-form button[type="submit"]:hover,
body.page-event .aio-event-register-form button[type="submit"]:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Чтобы кнопка не прилипала к чекбоксам */
body.page-event-register .aio-event-register-form__check + button[type="submit"],
body.page-event .aio-event-register-form__check + button[type="submit"] {
    margin-top: 14px !important;
}

@media (max-width: 760px) {
    body.page-event-register .aio-event-register-form button[type="submit"],
    body.page-event .aio-event-register-form button[type="submit"] {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 54px !important;
        padding: 0 22px !important;
    }
}


/* ============================================================
   AIO EVENT REGISTER — SUBMIT BUTTON FINAL
   Like main site buttons: rectangular, elegant, not oversized.
   Dark/outline calm state, red fill on hover.
   ============================================================ */

body.page-event-register .aio-event-register-form button[type="submit"],
body.page-event .aio-event-register-form button[type="submit"] {
    grid-column: 1 / -1 !important;
    justify-self: start !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 190px !important;
    min-height: 48px !important;
    padding: 0 28px !important;

    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    box-shadow: none !important;
    cursor: pointer !important;
}

body.page-event-register .aio-event-register-form button[type="submit"]:hover,
body.page-event .aio-event-register-form button[type="submit"]:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-event-register .aio-event-register-form__check + button[type="submit"],
body.page-event .aio-event-register-form__check + button[type="submit"] {
    margin-top: 12px !important;
}

@media (max-width: 760px) {
    body.page-event-register .aio-event-register-form button[type="submit"],
    body.page-event .aio-event-register-form button[type="submit"] {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        padding: 0 22px !important;
    }
}


/* ============================================================
   AIO EVENT REGISTER — SUCCESS + BUTTON FINAL CLEAN
   ============================================================ */

body.page-event-register .aio-event-register-form-card h2,
body.page-event .aio-event-register-form-card h2 {
    margin-bottom: 26px !important;
}

body.page-event-register .aio-event-register-lead,
body.page-event .aio-event-register-lead {
    display: none !important;
}

body.page-event-register .aio-event-registration-result.is-success,
body.page-event .aio-event-registration-result.is-success {
    max-width: 620px !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.76), rgba(242,227,207,.42)) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

body.page-event-register .aio-event-registration-sent,
body.page-event .aio-event-registration-sent {
    display: none !important;
}

body.page-event-register .aio-event-register-form button[type="submit"],
body.page-event .aio-event-register-form button[type="submit"] {
    width: auto !important;
    min-width: 190px !important;
    min-height: 48px !important;
    padding: 0 28px !important;
    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-event-register .aio-event-register-form button[type="submit"]:hover,
body.page-event .aio-event-register-form button[type="submit"]:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}


/* ============================================================
   AIO EVENT REGISTER — FINAL SUCCESS CLEANUP
   ============================================================ */

body.page-event-register .aio-event-register-form-card h2,
body.page-event .aio-event-register-form-card h2 {
    margin-bottom: 26px !important;
}

body.page-event-register .aio-event-register-lead,
body.page-event .aio-event-register-lead,
body.page-event-register .aio-event-registration-sent,
body.page-event .aio-event-registration-sent {
    display: none !important;
}

body.page-event-register .aio-event-registration-result.is-success,
body.page-event .aio-event-registration-result.is-success {
    max-width: 620px !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    background: linear-gradient(135deg, rgba(255,255,255,.76), rgba(242,227,207,.42)) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}


/* ============================================================
   AIO EVENT — FINAL VISUAL TUNE
   Register page success title smaller, success text Montserrat.
   Participation card title uppercase Cormorant, one line.
   ============================================================ */

/* Страница регистрации: «Заявка» меньше */
body.page-event-register .aio-event-register-form-card h2,
body.page-event .aio-event-register-form-card h2 {
    max-width: 520px !important;
    margin: 0 0 24px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3.1vw, 44px) !important;
    line-height: .96 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
}

/* Убираем техническую подпись под заголовком */
body.page-event-register .aio-event-register-lead,
body.page-event .aio-event-register-lead,
body.page-event-register .aio-event-registration-sent,
body.page-event .aio-event-registration-sent {
    display: none !important;
}

/* Сообщение после отправки — Montserrat */
body.page-event-register .aio-event-registration-result.is-success,
body.page-event .aio-event-registration-result.is-success {
    max-width: 620px !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.76), rgba(242,227,207,.42)) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

/* Карточка участия на странице события */
body.page-event .aio-event-registration-card_top .aio-events-kicker,
body.page-event .aio-event-registration-card_top .aio-events-kicker_light {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

/* «ПРИНЯТЬ УЧАСТИЕ» — Cormorant, капсом, меньше, в одну строку */
body.page-event .aio-event-registration-card_top h2 {
    max-width: none !important;
    margin: 0 0 18px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 3.15vw, 48px) !important;
    line-height: .92 !important;
    font-weight: 300 !important;
    letter-spacing: -.01em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body.page-event .aio-event-registration-card_top p:not(.aio-events-kicker) {
    max-width: 430px !important;
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
}

@media (max-width: 980px) {
    body.page-event .aio-event-registration-card_top h2 {
        white-space: normal !important;
        font-size: 42px !important;
    }
}

@media (max-width: 760px) {
    body.page-event-register .aio-event-register-form-card h2,
    body.page-event .aio-event-register-form-card h2 {
        font-size: 34px !important;
    }
}


/* ============================================================
   AIO EVENT — CHECKBOX ROWS + SMALLER PARTICIPATION TITLE
   ============================================================ */

/* Карточка события: «ПРИНЯТЬ УЧАСТИЕ» меньше, в одну строку */
body.page-event .aio-event-registration-card_top h2 {
    max-width: none !important;
    margin: 0 0 16px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(24px, 2.2vw, 32px) !important;
    line-height: .96 !important;
    font-weight: 300 !important;
    letter-spacing: .01em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

/* Чекбоксы в форме регистрации: квадратик рядом с текстом */
body.page-event-register .aio-event-register-form__check,
body.page-event .aio-event-register-form__check {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-event-register .aio-event-register-form__check input[type="checkbox"],
body.page-event .aio-event-register-form__check input[type="checkbox"] {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    accent-color: #A9432B !important;
}

body.page-event-register .aio-event-register-form__check span,
body.page-event .aio-event-register-form__check span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(45,45,45,.70) !important;
    -webkit-text-fill-color: rgba(45,45,45,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Служебные опции ралли можно ставить компактнее */
body.page-event-register .aio-event-register-form__section + .aio-event-register-form__check,
body.page-event .aio-event-register-form__section + .aio-event-register-form__check {
    margin-top: 2px !important;
}

/* Ссылки внутри согласий */
body.page-event-register .aio-event-register-form__check a,
body.page-event .aio-event-register-form__check a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(169,67,43,.34) !important;
}

body.page-event-register .aio-event-register-form__check a:hover,
body.page-event .aio-event-register-form__check a:hover {
    border-bottom-color: #A9432B !important;
}

/* Чтобы на широком экране три технических чекбокса ралли выглядели аккуратно */
@media (min-width: 980px) {
    body.page-event-register .aio-event-register-form__check:has(input[name="need_parking"]),
    body.page-event-register .aio-event-register-form__check:has(input[name="need_accommodation"]),
    body.page-event-register .aio-event-register-form__check:has(input[name="need_technical_support"]),
    body.page-event .aio-event-register-form__check:has(input[name="need_parking"]),
    body.page-event .aio-event-register-form__check:has(input[name="need_accommodation"]),
    body.page-event .aio-event-register-form__check:has(input[name="need_technical_support"]) {
        grid-column: auto !important;
    }
}

/* На маленьких экранах заголовок участия можно переносить */
@media (max-width: 980px) {
    body.page-event .aio-event-registration-card_top h2 {
        white-space: normal !important;
        font-size: 34px !important;
    }
}


/* ============================================================
   AIO EVENT REGISTER — CHECKBOX INLINE FINAL
   Checkbox and text must be on the same line.
   ============================================================ */

body.page-event-register .aio-event-register-form label.aio-event-register-form__check,
body.page-event .aio-event-register-form label.aio-event-register-form__check {
    grid-column: 1 / -1 !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 10px !important;
    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1.4 !important;
}

body.page-event-register .aio-event-register-form label.aio-event-register-form__check input[type="checkbox"],
body.page-event .aio-event-register-form label.aio-event-register-form__check input[type="checkbox"] {
    display: inline-block !important;
    flex: 0 0 16px !important;

    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;

    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    float: none !important;

    opacity: 1 !important;
    visibility: visible !important;

    accent-color: #A9432B !important;
}

body.page-event-register .aio-event-register-form label.aio-event-register-form__check > span,
body.page-event .aio-event-register-form label.aio-event-register-form__check > span {
    display: inline !important;
    flex: 1 1 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: rgba(45,45,45,.70) !important;
    -webkit-text-fill-color: rgba(45,45,45,.70) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;

    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: left !important;
}

/* Перебиваем общее правило label > span, которое делало подпись блочной */
body.page-event-register .aio-event-register-form label.aio-event-register-form__check > span,
body.page-event .aio-event-register-form label.aio-event-register-form__check > span {
    margin-bottom: 0 !important;
}

/* Ссылки внутри согласий */
body.page-event-register .aio-event-register-form label.aio-event-register-form__check a,
body.page-event .aio-event-register-form label.aio-event-register-form__check a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(169,67,43,.34) !important;
}

body.page-event-register .aio-event-register-form label.aio-event-register-form__check a:hover,
body.page-event .aio-event-register-form label.aio-event-register-form__check a:hover {
    border-bottom-color: #A9432B !important;
}

/* Технические чекбоксы ралли можно держать компактными строками */
@media (min-width: 980px) {
    body.page-event-register .aio-event-register-form label.aio-event-register-form__check:has(input[name="need_parking"]),
    body.page-event-register .aio-event-register-form label.aio-event-register-form__check:has(input[name="need_accommodation"]),
    body.page-event-register .aio-event-register-form label.aio-event-register-form__check:has(input[name="need_technical_support"]),
    body.page-event .aio-event-register-form label.aio-event-register-form__check:has(input[name="need_parking"]),
    body.page-event .aio-event-register-form label.aio-event-register-form__check:has(input[name="need_accommodation"]),
    body.page-event .aio-event-register-form label.aio-event-register-form__check:has(input[name="need_technical_support"]) {
        grid-column: auto !important;
    }
}


/* ============================================================
   AIO EVENT DETAIL — GALLERY LIGHTBOX
   Clickable tinted event photos with modal carousel.
   ============================================================ */

body.page-event .aio-event-detail-gallery__grid figure {
    position: relative !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
    background: rgba(255,255,255,.56) !important;
    border: 1px solid rgba(7,45,91,.09) !important;
    overflow: hidden !important;
}

body.page-event .aio-event-gallery-open {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: zoom-in !important;
    overflow: hidden !important;
}

body.page-event .aio-event-gallery-open img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) contrast(.96) brightness(.90) sepia(.10) !important;
    transform: scale(1.01) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

body.page-event .aio-event-gallery-open::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.06), rgba(7,23,44,.16)),
        radial-gradient(circle at 80% 12%, rgba(169,67,43,.10), transparent 12rem) !important;
    pointer-events: none !important;
    transition: opacity .45s ease !important;
}

body.page-event .aio-event-gallery-open:hover img {
    filter: saturate(.95) contrast(.98) brightness(.96) sepia(.035) !important;
    transform: scale(1.045) !important;
}

body.page-event .aio-event-gallery-open:hover::after {
    opacity: .45 !important;
}

html.aio-event-gallery-modal-open,
html.aio-event-gallery-modal-open body {
    overflow: hidden !important;
}

.aio-event-gallery-modal[hidden] {
    display: none !important;
}

.aio-event-gallery-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 84px 34px 34px !important;
}

.aio-event-gallery-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(7,23,44,.78) !important;
    backdrop-filter: blur(5px) !important;
}

.aio-event-gallery-modal__dialog {
    position: relative !important;
    z-index: 1 !important;
    width: min(1120px, calc(100vw - 68px)) !important;
    height: min(76vh, 760px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(169,67,43,.10), transparent 20rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    border: 1px solid rgba(248,245,239,.18) !important;
    box-shadow: 0 34px 100px rgba(0,0,0,.42) !important;
    overflow: hidden !important;
}

.aio-event-gallery-modal__dialog img {
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: saturate(.94) contrast(.98) brightness(.97) sepia(.025) !important;
}

.aio-event-gallery-modal__close {
    position: absolute !important;
    right: 22px !important;
    top: 18px !important;
    z-index: 3 !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.aio-event-gallery-modal__close:hover {
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

.aio-event-gallery-modal__nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 3 !important;
    width: 46px !important;
    height: 58px !important;
    transform: translateY(-50%) !important;
    border: 1px solid rgba(248,245,239,.18) !important;
    background: rgba(7,23,44,.52) !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    cursor: pointer !important;
}

.aio-event-gallery-modal__nav_prev {
    left: 18px !important;
}

.aio-event-gallery-modal__nav_next {
    right: 18px !important;
}

.aio-event-gallery-modal__nav:hover {
    background: rgba(169,67,43,.86) !important;
    border-color: rgba(169,67,43,.86) !important;
}

@media (max-width: 760px) {
    .aio-event-gallery-modal {
        padding: 76px 16px 24px !important;
    }

    .aio-event-gallery-modal__dialog {
        width: calc(100vw - 32px) !important;
        height: min(72vh, 620px) !important;
    }

    .aio-event-gallery-modal__nav {
        width: 40px !important;
        height: 52px !important;
        font-size: 36px !important;
    }

    .aio-event-gallery-modal__nav_prev {
        left: 10px !important;
    }

    .aio-event-gallery-modal__nav_next {
        right: 10px !important;
    }
}


/* ============================================================
   AIO EVENT GALLERY — NO CENTER OVERLAY
   Lightbox must show only the photo, without decorative circle/lens.
   ============================================================ */

.aio-event-gallery-modal__dialog::before,
.aio-event-gallery-modal__dialog::after,
.aio-event-gallery-modal__dialog img::before,
.aio-event-gallery-modal__dialog img::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Убираем любые декоративные слои, которые могли попасть поверх фото */
.aio-event-gallery-modal__dialog > .aio-event-gallery-open,
.aio-event-gallery-modal__dialog > figure,
.aio-event-gallery-modal__dialog > picture,
.aio-event-gallery-modal__dialog > .aio-gallery-lens,
.aio-event-gallery-modal__dialog > .aio-gallery-overlay,
.aio-event-gallery-modal__dialog > .aio-gallery-zoom {
    display: none !important;
}

/* Фото в просмотрщике — верхний чистый слой */
.aio-event-gallery-modal__dialog img {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    background: transparent !important;
}

/* Навигация и закрытие выше фото */
.aio-event-gallery-modal__close,
.aio-event-gallery-modal__nav {
    z-index: 5 !important;
}

/* Само окно без декоративных внутренних масок */
.aio-event-gallery-modal__dialog {
    background:
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
}

/* В миниатюрах оставляем лёгкую музейную дымку, но без кругов */
body.page-event .aio-event-gallery-open::before {
    content: none !important;
    display: none !important;
}

body.page-event .aio-event-gallery-open::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.04), rgba(7,23,44,.12)) !important;
    pointer-events: none !important;
}


/* ============================================================
   AIO EVENT GALLERY — CLEAN LIGHTBOX
   New isolated viewer. No circles, no lens, no pseudo overlays.
   ============================================================ */

/* Полностью глушим старый просмотрщик, если он остался в DOM/кэше */
.aio-event-gallery-modal,
.aio-event-gallery-modal *,
.aio-event-gallery-modal::before,
.aio-event-gallery-modal::after,
.aio-event-gallery-modal__dialog::before,
.aio-event-gallery-modal__dialog::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Миниатюры */
body.page-event .aio-event-gallery-open {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: zoom-in !important;
    overflow: hidden !important;
}

body.page-event .aio-event-gallery-open::before {
    display: none !important;
    content: none !important;
}

body.page-event .aio-event-gallery-open::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(7,23,44,.04), rgba(7,23,44,.12)) !important;
    pointer-events: none !important;
}

body.page-event .aio-event-gallery-open img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.76) contrast(.96) brightness(.92) sepia(.08) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

body.page-event .aio-event-gallery-open:hover img {
    transform: scale(1.04) !important;
    filter: saturate(.96) contrast(.98) brightness(.97) sepia(.025) !important;
}

/* Новый чистый просмотрщик */
html.aio-clean-photo-viewer-open,
html.aio-clean-photo-viewer-open body {
    overflow: hidden !important;
}

.aio-clean-photo-viewer[hidden] {
    display: none !important;
}

.aio-clean-photo-viewer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 84px 34px 34px !important;
}

.aio-clean-photo-viewer,
.aio-clean-photo-viewer *,
.aio-clean-photo-viewer::before,
.aio-clean-photo-viewer::after,
.aio-clean-photo-viewer__stage::before,
.aio-clean-photo-viewer__stage::after,
.aio-clean-photo-viewer__image::before,
.aio-clean-photo-viewer__image::after {
    box-sizing: border-box !important;
}

.aio-clean-photo-viewer::before,
.aio-clean-photo-viewer::after,
.aio-clean-photo-viewer__stage::before,
.aio-clean-photo-viewer__stage::after,
.aio-clean-photo-viewer__image::before,
.aio-clean-photo-viewer__image::after {
    display: none !important;
    content: none !important;
}

.aio-clean-photo-viewer__backdrop {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    background: rgba(7,23,44,.78) !important;
    backdrop-filter: blur(5px) !important;
    cursor: zoom-out !important;
}

.aio-clean-photo-viewer__stage {
    position: relative !important;
    z-index: 2 !important;
    width: min(1120px, calc(100vw - 68px)) !important;
    height: min(76vh, 760px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    border: 1px solid rgba(248,245,239,.18) !important;
    box-shadow: 0 34px 100px rgba(0,0,0,.42) !important;
}

.aio-clean-photo-viewer__image {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    flex: 0 1 auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: saturate(.94) contrast(.98) brightness(.97) sepia(.025) !important;
    background: transparent !important;
}

.aio-clean-photo-viewer__close {
    position: absolute !important;
    right: 22px !important;
    top: 18px !important;
    z-index: 4 !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color: rgba(248,245,239,.76) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.aio-clean-photo-viewer__arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 4 !important;
    width: 46px !important;
    height: 58px !important;
    transform: translateY(-50%) !important;
    border: 1px solid rgba(248,245,239,.18) !important;
    background: rgba(7,23,44,.52) !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    cursor: pointer !important;
}

.aio-clean-photo-viewer__arrow_prev {
    left: 18px !important;
}

.aio-clean-photo-viewer__arrow_next {
    right: 18px !important;
}

.aio-clean-photo-viewer__arrow:hover {
    background: rgba(169,67,43,.86) !important;
    border-color: rgba(169,67,43,.86) !important;
}

@media (max-width: 760px) {
    .aio-clean-photo-viewer {
        padding: 76px 16px 24px !important;
    }

    .aio-clean-photo-viewer__stage {
        width: calc(100vw - 32px) !important;
        height: min(72vh, 620px) !important;
    }

    .aio-clean-photo-viewer__arrow {
        width: 40px !important;
        height: 52px !important;
        font-size: 36px !important;
    }

    .aio-clean-photo-viewer__arrow_prev {
        left: 10px !important;
    }

    .aio-clean-photo-viewer__arrow_next {
        right: 10px !important;
    }
}


/* ============================================================
   AIO EVENT GALLERY — SQUARE THUMBNAILS FINAL
   Event photos must be normal square/rectangular museum cards,
   not circles, not lenses, not rounded masks.
   ============================================================ */

body.page-event .aio-event-detail-gallery,
body.page-event .aio-event-detail-gallery__grid {
    overflow: visible !important;
}

body.page-event .aio-event-detail-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.page-event .aio-event-detail-gallery__grid figure {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;

    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;

    background: rgba(255,255,255,.58) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 14px 36px rgba(7,23,44,.045) !important;
}

body.page-event .aio-event-detail-gallery__grid figure::before,
body.page-event .aio-event-detail-gallery__grid figure::after {
    content: none !important;
    display: none !important;
}

body.page-event .aio-event-gallery-open,
body.page-event .aio-event-gallery-open[data-aio-event-photo] {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    cursor: zoom-in !important;

    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
}

body.page-event .aio-event-gallery-open::before,
body.page-event .aio-event-gallery-open::after {
    content: none !important;
    display: none !important;
}

body.page-event .aio-event-gallery-open img,
body.page-event .aio-event-detail-gallery__grid img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;

    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;

    transform: none !important;
    filter: saturate(.76) contrast(.96) brightness(.92) sepia(.08) !important;
}

body.page-event .aio-event-gallery-open:hover img {
    transform: scale(1.035) !important;
    filter: saturate(.95) contrast(.98) brightness(.97) sepia(.025) !important;
}

/* Чистый просмотрщик: фото тоже без круглых масок */
.aio-clean-photo-viewer__stage,
.aio-clean-photo-viewer__image {
    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
}

.aio-clean-photo-viewer__stage::before,
.aio-clean-photo-viewer__stage::after,
.aio-clean-photo-viewer__image::before,
.aio-clean-photo-viewer__image::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 760px) {
    body.page-event .aio-event-detail-gallery__grid {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   AIO EVENT GALLERY — SITE-LIKE PHOTO VIEWER FINAL
   Same logic as normal site modal: dark overlay, centered image,
   round close button, side arrows, bottom counter. No oval panel.
   ============================================================ */

/* Старые просмотрщики полностью глушим */
.aio-event-gallery-modal,
.aio-clean-photo-viewer,
.aio-event-gallery-modal *,
.aio-clean-photo-viewer *,
.aio-event-gallery-modal::before,
.aio-event-gallery-modal::after,
.aio-clean-photo-viewer::before,
.aio-clean-photo-viewer::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Миниатюры в блоке Фото — обычные квадратные карточки */
body.page-event .aio-event-detail-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.page-event .aio-event-detail-gallery__grid figure {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    background: rgba(255,255,255,.58) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 14px 36px rgba(7,23,44,.045) !important;
}

body.page-event .aio-event-detail-gallery__grid figure::before,
body.page-event .aio-event-detail-gallery__grid figure::after {
    content: none !important;
    display: none !important;
}

body.page-event .aio-event-gallery-open,
body.page-event .aio-event-gallery-open[data-aio-event-photo] {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    cursor: zoom-in !important;
    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
}

body.page-event .aio-event-gallery-open::before,
body.page-event .aio-event-gallery-open::after {
    content: none !important;
    display: none !important;
}

body.page-event .aio-event-gallery-open img,
body.page-event .aio-event-detail-gallery__grid img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    filter: saturate(.76) contrast(.96) brightness(.92) sepia(.08) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

body.page-event .aio-event-gallery-open:hover img {
    transform: scale(1.035) !important;
    filter: saturate(.95) contrast(.98) brightness(.97) sepia(.025) !important;
}

/* Новый нормальный просмотрщик */
html.aio-site-photo-viewer-open,
html.aio-site-photo-viewer-open body {
    overflow: hidden !important;
}

.aio-site-photo-viewer[hidden] {
    display: none !important;
}

.aio-site-photo-viewer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: block !important;
}

.aio-site-photo-viewer,
.aio-site-photo-viewer *,
.aio-site-photo-viewer::before,
.aio-site-photo-viewer::after,
.aio-site-photo-viewer__stage::before,
.aio-site-photo-viewer__stage::after,
.aio-site-photo-viewer__image::before,
.aio-site-photo-viewer__image::after {
    box-sizing: border-box !important;
}

.aio-site-photo-viewer::before,
.aio-site-photo-viewer::after,
.aio-site-photo-viewer__stage::before,
.aio-site-photo-viewer__stage::after,
.aio-site-photo-viewer__image::before,
.aio-site-photo-viewer__image::after {
    content: none !important;
    display: none !important;
}

/* Дымка как в нормальных модалках */
.aio-site-photo-viewer__backdrop {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    background: rgba(7, 23, 44, .78) !important;
    backdrop-filter: blur(5px) !important;
    cursor: zoom-out !important;
}

/* Stage — прозрачный, без синей панели и без овала */
.aio-site-photo-viewer__stage {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100% !important;
    padding: 84px 112px 72px !important;
    margin: 0 !important;

    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
}

/* Само фото */
.aio-site-photo-viewer__image {
    position: relative !important;
    z-index: 2 !important;

    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(78vw, 980px) !important;
    max-height: calc(100vh - 150px) !important;
    min-width: 0 !important;
    min-height: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;

    background: #F8F5EF !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 24px 80px rgba(0,0,0,.28) !important;

    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    transform: none !important;

    filter: saturate(.94) contrast(.98) brightness(.97) sepia(.025) !important;
}

/* Кнопка закрытия — круглая, как в нормальной галерее */
.aio-site-photo-viewer__close {
    position: fixed !important;
    top: 24px !important;
    right: 26px !important;
    z-index: 10 !important;

    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(248,245,239,.22) !important;
    background: rgba(7,23,44,.34) !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    cursor: pointer !important;
    box-shadow: none !important;
}

.aio-site-photo-viewer__close:hover {
    background: rgba(169,67,43,.90) !important;
    border-color: rgba(169,67,43,.90) !important;
}

/* Стрелки по бокам */
.aio-site-photo-viewer__arrow {
    position: fixed !important;
    top: 50% !important;
    z-index: 10 !important;

    width: 52px !important;
    height: 70px !important;
    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    border-radius: 28px !important;
    border: 1px solid rgba(248,245,239,.20) !important;
    background: rgba(7,23,44,.28) !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 48px !important;
    line-height: 1 !important;
    font-weight: 300 !important;

    cursor: pointer !important;
}

.aio-site-photo-viewer__arrow_prev {
    left: 26px !important;
}

.aio-site-photo-viewer__arrow_next {
    right: 26px !important;
}

.aio-site-photo-viewer__arrow:hover {
    background: rgba(169,67,43,.86) !important;
    border-color: rgba(169,67,43,.86) !important;
}

/* Счётчик снизу */
.aio-site-photo-viewer__counter {
    position: fixed !important;
    left: 50% !important;
    bottom: 22px !important;
    z-index: 10 !important;
    transform: translateX(-50%) !important;

    min-width: 48px !important;
    min-height: 30px !important;
    padding: 7px 13px 6px !important;

    border-radius: 999px !important;
    background: rgba(7,23,44,.52) !important;
    color: rgba(248,245,239,.88) !important;
    -webkit-text-fill-color: rgba(248,245,239,.88) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

@media (max-width: 760px) {
    .aio-site-photo-viewer__stage {
        padding: 76px 18px 62px !important;
    }

    .aio-site-photo-viewer__image {
        max-width: calc(100vw - 36px) !important;
        max-height: calc(100vh - 150px) !important;
    }

    .aio-site-photo-viewer__close {
        top: 18px !important;
        right: 18px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 28px !important;
    }

    .aio-site-photo-viewer__arrow {
        width: 42px !important;
        height: 58px !important;
        font-size: 40px !important;
    }

    .aio-site-photo-viewer__arrow_prev {
        left: 10px !important;
    }

    .aio-site-photo-viewer__arrow_next {
        right: 10px !important;
    }
}


/* ============================================================
   AIO EVENT GALLERY — FINAL RESET, NO OVAL BACKDROP
   The old oval was caused by a button backdrop inheriting global
   button styles. New backdrop is a div; all old button-backdrops reset.
   ============================================================ */

/* Старые просмотрщики полностью отключить */
.aio-event-gallery-modal,
.aio-clean-photo-viewer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* На случай старого HTML в кэше: backdrop-кнопки не должны быть овалом */
.aio-event-gallery-modal__backdrop,
.aio-clean-photo-viewer__backdrop,
button.aio-event-gallery-modal__backdrop,
button.aio-clean-photo-viewer__backdrop,
button.aio-site-photo-viewer__backdrop {
    border-radius: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: none !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
}

/* Миниатюры — квадратные, без кругов */
body.page-event .aio-event-detail-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.page-event .aio-event-detail-gallery__grid figure {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    background: rgba(255,255,255,.58) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 14px 36px rgba(7,23,44,.045) !important;
}

body.page-event .aio-event-detail-gallery__grid figure::before,
body.page-event .aio-event-detail-gallery__grid figure::after,
body.page-event .aio-event-gallery-open::before,
body.page-event .aio-event-gallery-open::after {
    content: none !important;
    display: none !important;
}

body.page-event .aio-event-gallery-open {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    cursor: zoom-in !important;
    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
}

body.page-event .aio-event-gallery-open img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    filter: saturate(.76) contrast(.96) brightness(.92) sepia(.08) !important;
}

/* Новый просмотрщик */
html.aio-site-photo-viewer-open,
html.aio-site-photo-viewer-open body {
    overflow: hidden !important;
}

.aio-site-photo-viewer[hidden] {
    display: none !important;
}

.aio-site-photo-viewer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: block !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.aio-site-photo-viewer,
.aio-site-photo-viewer *,
.aio-site-photo-viewer::before,
.aio-site-photo-viewer::after,
.aio-site-photo-viewer__stage::before,
.aio-site-photo-viewer__stage::after,
.aio-site-photo-viewer__image::before,
.aio-site-photo-viewer__image::after {
    box-sizing: border-box !important;
}

.aio-site-photo-viewer::before,
.aio-site-photo-viewer::after,
.aio-site-photo-viewer__stage::before,
.aio-site-photo-viewer__stage::after,
.aio-site-photo-viewer__image::before,
.aio-site-photo-viewer__image::after {
    content: none !important;
    display: none !important;
}

/* ВАЖНО: backdrop теперь div, не кнопка */
.aio-site-photo-viewer__backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1 !important;

    display: block !important;
    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: rgba(7, 23, 44, .78) !important;
    backdrop-filter: blur(5px) !important;

    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;

    transform: none !important;
    box-shadow: none !important;
    cursor: zoom-out !important;
}

.aio-site-photo-viewer__stage {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100vw !important;
    height: 100vh !important;
    padding: 84px 112px 72px !important;
    margin: 0 !important;

    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
}

.aio-site-photo-viewer__image {
    position: relative !important;
    z-index: 3 !important;

    display: block !important;

    width: auto !important;
    height: auto !important;
    max-width: min(78vw, 980px) !important;
    max-height: calc(100vh - 150px) !important;

    object-fit: contain !important;
    object-position: center center !important;

    background: #F8F5EF !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 24px 80px rgba(0,0,0,.28) !important;

    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;

    transform: none !important;
    filter: saturate(.94) contrast(.98) brightness(.97) sepia(.025) !important;
}

.aio-site-photo-viewer__close {
    position: fixed !important;
    top: 24px !important;
    right: 26px !important;
    z-index: 10 !important;

    width: 48px !important;
    height: 48px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(248,245,239,.22) !important;
    background: rgba(7,23,44,.34) !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    cursor: pointer !important;
}

.aio-site-photo-viewer__close:hover {
    background: rgba(169,67,43,.90) !important;
    border-color: rgba(169,67,43,.90) !important;
}

.aio-site-photo-viewer__arrow {
    position: fixed !important;
    top: 50% !important;
    z-index: 10 !important;

    width: 52px !important;
    height: 70px !important;
    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    border-radius: 28px !important;
    border: 1px solid rgba(248,245,239,.20) !important;
    background: rgba(7,23,44,.28) !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 48px !important;
    line-height: 1 !important;
    font-weight: 300 !important;

    cursor: pointer !important;
}

.aio-site-photo-viewer__arrow_prev {
    left: 26px !important;
}

.aio-site-photo-viewer__arrow_next {
    right: 26px !important;
}

.aio-site-photo-viewer__arrow:hover {
    background: rgba(169,67,43,.86) !important;
    border-color: rgba(169,67,43,.86) !important;
}

.aio-site-photo-viewer__counter {
    position: fixed !important;
    left: 50% !important;
    bottom: 22px !important;
    z-index: 10 !important;
    transform: translateX(-50%) !important;

    min-width: 48px !important;
    min-height: 30px !important;
    padding: 7px 13px 6px !important;

    border-radius: 999px !important;
    background: rgba(7,23,44,.52) !important;
    color: rgba(248,245,239,.88) !important;
    -webkit-text-fill-color: rgba(248,245,239,.88) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

@media (max-width: 760px) {
    .aio-site-photo-viewer__stage {
        padding: 76px 18px 62px !important;
    }

    .aio-site-photo-viewer__image {
        max-width: calc(100vw - 36px) !important;
        max-height: calc(100vh - 150px) !important;
    }

    .aio-site-photo-viewer__close {
        top: 18px !important;
        right: 18px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 28px !important;
    }

    .aio-site-photo-viewer__arrow {
        width: 42px !important;
        height: 58px !important;
        font-size: 40px !important;
    }

    .aio-site-photo-viewer__arrow_prev {
        left: 10px !important;
    }

    .aio-site-photo-viewer__arrow_next {
        right: 10px !important;
    }

    body.page-event .aio-event-detail-gallery__grid {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   AIO LOGIN PAGE — MUSEUM STYLE
   Standard hero, editorial login form, site-like rectangular buttons.
   ============================================================ */

body.page-login .aio-login-page {
    padding: 52px 0 78px !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(169,67,43,.055), transparent 26rem),
        radial-gradient(circle at 0% 72%, rgba(7,45,91,.045), transparent 22rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 50%, #F2E3CF 100%) !important;
}

body.page-login .aio-login-layout {
    display: grid !important;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

body.page-login .aio-login-intro {
    min-height: 360px !important;
    padding: 34px 34px 36px !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(169,67,43,.12), transparent 10rem),
        radial-gradient(circle at 12% 88%, rgba(242,227,207,.08), transparent 9rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

body.page-login .aio-login-intro .aio-events-kicker {
    margin: 0 0 14px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-login .aio-login-intro h2 {
    margin: 0 0 18px !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 4vw, 58px) !important;
    line-height: .92 !important;
    font-weight: 300 !important;
    letter-spacing: -.018em !important;
}

body.page-login .aio-login-intro p:not(.aio-events-kicker) {
    max-width: 440px !important;
    margin: 0 0 28px !important;
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
}

body.page-login .aio-login-intro__links {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

body.page-login .aio-login-intro__links a {
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-login .aio-login-intro__links a:hover {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-login .aio-login-main {
    min-width: 0 !important;
}

body.page-login .aio-login-card {
    max-width: 660px !important;
    padding: 44px 48px 48px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(242,227,207,.55), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,.86) 0%, rgba(248,245,239,.90) 54%, rgba(242,227,207,.58) 100%) !important;
    border: 1px solid rgba(7,45,91,.105) !important;
    box-shadow:
        0 18px 48px rgba(7,23,44,.052),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.page-login .aio-login-card .aio-events-kicker {
    margin: 0 0 14px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-login .aio-login-card h2 {
    max-width: 520px !important;
    margin: 0 0 30px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 4vw, 56px) !important;
    line-height: .92 !important;
    font-weight: 300 !important;
    letter-spacing: -.018em !important;
}

body.page-login .aio-login-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 17px !important;
    margin: 0 !important;
}

body.page-login .aio-login-form label {
    display: block !important;
}

body.page-login .aio-login-form label > span {
    display: block !important;
    margin: 0 0 7px !important;
    color: rgba(7,45,91,.68) !important;
    -webkit-text-fill-color: rgba(7,45,91,.68) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

body.page-login .aio-login-form input[type="email"],
body.page-login .aio-login-form input[type="password"],
body.page-login .aio-login-form input[type="text"] {
    display: block !important;
    width: 100% !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72)) !important;
    padding: 12px 14px !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.78),
        0 4px 12px rgba(7,23,44,.018) !important;
}

body.page-login .aio-login-form input::placeholder {
    color: rgba(45,45,45,.28) !important;
    -webkit-text-fill-color: rgba(45,45,45,.28) !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

body.page-login .aio-login-form input:focus {
    border-color: rgba(169,67,43,.48) !important;
    background: rgba(255,255,255,.94) !important;
}

body.page-login .aio-login-form__check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-login .aio-login-form__check input[type="checkbox"] {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: #A9432B !important;
}

body.page-login .aio-login-form__check span {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(45,45,45,.70) !important;
    -webkit-text-fill-color: rgba(45,45,45,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.page-login .aio-login-form button[type="submit"] {
    justify-self: start !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 170px !important;
    min-height: 48px !important;
    margin-top: 8px !important;
    padding: 0 28px !important;
    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body.page-login .aio-login-form button[type="submit"]:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-login .aio-login-card__bottom {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 22px !important;
    margin-top: 28px !important;
    padding-top: 22px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-login .aio-login-card__bottom a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-login .aio-login-card__bottom a:hover {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

@media (max-width: 980px) {
    body.page-login .aio-login-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-login .aio-login-intro {
        min-height: 300px !important;
    }
}

@media (max-width: 760px) {
    body.page-login .aio-login-page {
        padding: 34px 0 52px !important;
    }

    body.page-login .aio-login-card,
    body.page-login .aio-login-intro {
        padding: 30px 22px 32px !important;
    }

    body.page-login .aio-login-card h2 {
        font-size: 38px !important;
    }

    body.page-login .aio-login-form button[type="submit"] {
        width: 100% !important;
    }
}


/* ============================================================
   AIO LOGIN — FINAL VISUAL FIX
   Smaller titles, no box-inside-box, true kickers, inline checkbox.
   ============================================================ */

/* Убираем ощущение второй коробки внутри правой части */
.aio-login-main,
.aio-login-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.aio-login-card {
    max-width: 650px !important;
    padding: 42px 44px 44px !important;
}

/* Если у карточки осталась рамка от предыдущего слоя — гасим */
.aio-login-card::before,
.aio-login-card::after,
.aio-login-main::before,
.aio-login-main::after {
    content: none !important;
    display: none !important;
}

/* Кикеры — настоящие кикеры сайта */
.aio-login-page .aio-events-kicker,
.aio-login-card .aio-events-kicker,
.aio-login-intro .aio-events-kicker,
.aio-login-hero .aio-events-kicker,
.aio-login-form label > span,
.aio-login-card > p:first-child,
.aio-login-intro > p:first-child {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Подписи полей — технические, но не бледные и не тонкие */
.aio-login-form label:not(.aio-login-form__check) > span {
    margin: 0 0 8px !important;
    color: rgba(7,45,91,.72) !important;
    -webkit-text-fill-color: rgba(7,45,91,.72) !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
}

/* Заголовки уменьшаем примерно в полтора раза */
.aio-login-intro h2 {
    max-width: 310px !important;
    margin: 0 0 18px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: .96 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

.aio-login-card h2 {
    margin: 0 0 28px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(32px, 3.1vw, 44px) !important;
    line-height: .96 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Текст слева чуть компактнее */
.aio-login-intro p:not(.aio-events-kicker):not(:first-child) {
    max-width: 330px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.56 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
}

/* Поля формы */
.aio-login-form {
    gap: 16px !important;
}

.aio-login-form input[type="email"],
.aio-login-form input[type="password"],
.aio-login-form input[type="text"] {
    min-height: 45px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: rgba(255,255,255,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
}

/* Чекбокс и "Запомнить меня" — одна строка, один уровень */
.aio-login-form label.aio-login-form__check,
.aio-login-form .aio-login-form__check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: fit-content !important;
    margin: 2px 0 12px !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.aio-login-form label.aio-login-form__check input[type="checkbox"],
.aio-login-form .aio-login-form__check input[type="checkbox"] {
    display: block !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    transform: none !important;
    vertical-align: middle !important;
    accent-color: #A9432B !important;
}

.aio-login-form label.aio-login-form__check > span,
.aio-login-form .aio-login-form__check > span {
    display: inline-block !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: translateY(0) !important;
    vertical-align: middle !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 16px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: rgba(7,45,91,.68) !important;
    -webkit-text-fill-color: rgba(7,45,91,.68) !important;
    white-space: nowrap !important;
}

/* Кнопка — прямоугольная, как на главной */
.aio-login-form button[type="submit"] {
    min-width: 155px !important;
    min-height: 46px !important;
    padding: 0 26px !important;
    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.aio-login-form button[type="submit"]:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}

/* Нижние ссылки */
.aio-login-card__bottom {
    margin-top: 26px !important;
    padding-top: 22px !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
}

.aio-login-card__bottom a,
.aio-login-intro__links a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

.aio-login-card__bottom a:hover,
.aio-login-intro__links a:hover {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

@media (max-width: 760px) {
    .aio-login-card {
        padding: 30px 22px 34px !important;
    }

    .aio-login-intro h2,
    .aio-login-card h2 {
        font-size: 32px !important;
    }

    .aio-login-form label.aio-login-form__check > span {
        white-space: normal !important;
    }
}


/* ============================================================
   AIO LOGIN — ONLY HEADINGS SMALLER + CHECKBOX FIX
   Do not change text fonts. Only login headings and remember checkbox.
   ============================================================ */

/* Заголовки уменьшаем ещё примерно в полтора раза */
html body .aio-login-intro h2,
html body.page-login .aio-login-intro h2,
html body .aio-login-page .aio-login-intro h2 {
    font-size: clamp(22px, 2.1vw, 30px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.006em !important;
}

html body .aio-login-card h2,
html body.page-login .aio-login-card h2,
html body .aio-login-page .aio-login-card h2 {
    font-size: clamp(24px, 2.2vw, 32px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.006em !important;
}

/* Чекбокс "Запомнить меня" — строго в одну строку, без наезда */
html body .aio-login-form label.aio-login-form__check,
html body.page-login .aio-login-form label.aio-login-form__check,
html body .aio-login-page .aio-login-form label.aio-login-form__check {
    display: grid !important;
    grid-template-columns: 16px auto !important;
    grid-template-rows: 16px !important;
    align-items: center !important;
    justify-content: start !important;
    column-gap: 10px !important;

    width: max-content !important;
    max-width: 100% !important;

    margin: 4px 0 18px !important;
    padding: 0 !important;

    line-height: 16px !important;
    position: relative !important;
}

html body .aio-login-form label.aio-login-form__check input[type="checkbox"],
html body.page-login .aio-login-form label.aio-login-form__check input[type="checkbox"],
html body .aio-login-page .aio-login-form label.aio-login-form__check input[type="checkbox"] {
    grid-column: 1 !important;
    grid-row: 1 !important;

    display: block !important;
    position: static !important;
    float: none !important;

    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;

    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    translate: none !important;
    vertical-align: middle !important;

    opacity: 1 !important;
    visibility: visible !important;
    accent-color: #A9432B !important;
}

html body .aio-login-form label.aio-login-form__check > span,
html body.page-login .aio-login-form label.aio-login-form__check > span,
html body .aio-login-page .aio-login-form label.aio-login-form__check > span {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: block !important;
    position: static !important;
    float: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    translate: none !important;
    vertical-align: middle !important;

    line-height: 16px !important;
    white-space: nowrap !important;
}


/* ============================================================
   AIO APPLY PAGE — MUSEUM STYLE
   Membership application page aligned with login/events/blogs.
   ============================================================ */

/* Общий фон страницы */
body.page-apply,
body[class*="apply"] {
    background: #F8F5EF !important;
}

body.page-apply main,
body[class*="apply"] main {
    background:
        radial-gradient(circle at 90% 0%, rgba(169,67,43,.055), transparent 26rem),
        radial-gradient(circle at 0% 72%, rgba(7,45,91,.045), transparent 22rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 50%, #F2E3CF 100%) !important;
}

/* Если на странице есть старый apply-контейнер */
body.page-apply .aio-apply-page,
body.page-apply .apply-page,
body.page-apply .application-page,
body[class*="apply"] .aio-apply-page,
body[class*="apply"] .apply-page,
body[class*="apply"] .application-page {
    padding: 52px 0 78px !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(169,67,43,.055), transparent 26rem),
        radial-gradient(circle at 0% 72%, rgba(7,45,91,.045), transparent 22rem),
        linear-gradient(115deg, #F8F5EF 0%, #F7F1E8 50%, #F2E3CF 100%) !important;
}

/* Основная сетка формы — как у login */
body.page-apply .aio-apply-layout,
body.page-apply .apply-layout,
body.page-apply .application-layout,
body.page-apply .aio-apply-page > .aio-container > .row,
body.page-apply .aio-apply-page > .container > .row,
body[class*="apply"] .aio-apply-layout,
body[class*="apply"] .apply-layout,
body[class*="apply"] .application-layout {
    display: grid !important;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

/* Левый информационный блок */
body.page-apply .aio-apply-intro,
body.page-apply .apply-intro,
body.page-apply .application-intro,
body.page-apply aside,
body[class*="apply"] .aio-apply-intro,
body[class*="apply"] .apply-intro,
body[class*="apply"] .application-intro {
    min-height: 360px !important;
    padding: 34px 34px 36px !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(169,67,43,.12), transparent 10rem),
        radial-gradient(circle at 12% 88%, rgba(242,227,207,.08), transparent 9rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
}

/* Правая карточка/форма — убираем коробку в коробке */
body.page-apply .aio-apply-card,
body.page-apply .apply-card,
body.page-apply .application-card,
body.page-apply .form-card,
body.page-apply form,
body[class*="apply"] .aio-apply-card,
body[class*="apply"] .apply-card,
body[class*="apply"] .application-card,
body[class*="apply"] .form-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.page-apply .aio-apply-card,
body.page-apply .apply-card,
body.page-apply .application-card,
body.page-apply .form-card,
body[class*="apply"] .aio-apply-card,
body[class*="apply"] .apply-card,
body[class*="apply"] .application-card,
body[class*="apply"] .form-card {
    max-width: 760px !important;
    padding: 42px 44px 44px !important;
}

/* Кикеры */
body.page-apply .aio-events-kicker,
body.page-apply .aio-apply-kicker,
body.page-apply .apply-kicker,
body.page-apply .application-kicker,
body.page-apply form label > span,
body.page-apply form .form-label,
body[class*="apply"] .aio-events-kicker,
body[class*="apply"] .aio-apply-kicker,
body[class*="apply"] .apply-kicker,
body[class*="apply"] .application-kicker {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Подписи полей — технические, не тонкие */
body.page-apply form label > span,
body.page-apply form label,
body.page-apply form .form-label,
body[class*="apply"] form label > span,
body[class*="apply"] form .form-label {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.72) !important;
    -webkit-text-fill-color: rgba(7,45,91,.72) !important;
}

/* Заголовки — аккуратно, меньше чем на первом варианте login */
body.page-apply h1,
body.page-apply h2,
body[class*="apply"] h1,
body[class*="apply"] h2 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
}

body.page-apply .aio-apply-intro h2,
body.page-apply .apply-intro h2,
body.page-apply .application-intro h2,
body.page-apply aside h2,
body[class*="apply"] .aio-apply-intro h2,
body[class*="apply"] .apply-intro h2,
body[class*="apply"] .application-intro h2 {
    max-width: 330px !important;
    margin: 0 0 18px !important;
    font-size: clamp(26px, 2.5vw, 38px) !important;
    line-height: 1.02 !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-apply .aio-apply-card h2,
body.page-apply .apply-card h2,
body.page-apply .application-card h2,
body.page-apply .form-card h2,
body.page-apply form h2,
body[class*="apply"] .aio-apply-card h2,
body[class*="apply"] .apply-card h2,
body[class*="apply"] .application-card h2,
body[class*="apply"] .form-card h2 {
    margin: 0 0 28px !important;
    font-size: clamp(28px, 2.7vw, 40px) !important;
    line-height: 1.02 !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Обычные тексты */
body.page-apply p,
body.page-apply li,
body[class*="apply"] p,
body[class*="apply"] li {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
}

body.page-apply aside p,
body.page-apply .aio-apply-intro p,
body.page-apply .apply-intro p,
body.page-apply .application-intro p,
body[class*="apply"] .aio-apply-intro p,
body[class*="apply"] .apply-intro p,
body[class*="apply"] .application-intro p {
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
}

/* Поля формы */
body.page-apply input[type="text"],
body.page-apply input[type="email"],
body.page-apply input[type="tel"],
body.page-apply input[type="password"],
body.page-apply input[type="number"],
body.page-apply select,
body.page-apply textarea,
body[class*="apply"] input[type="text"],
body[class*="apply"] input[type="email"],
body[class*="apply"] input[type="tel"],
body[class*="apply"] input[type="password"],
body[class*="apply"] input[type="number"],
body[class*="apply"] select,
body[class*="apply"] textarea {
    display: block !important;
    width: 100% !important;
    min-height: 45px !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: rgba(255,255,255,.72) !important;
    padding: 12px 14px !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 4px 12px rgba(7,23,44,.018) !important;
}

body.page-apply textarea,
body[class*="apply"] textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

body.page-apply input:focus,
body.page-apply select:focus,
body.page-apply textarea:focus,
body[class*="apply"] input:focus,
body[class*="apply"] select:focus,
body[class*="apply"] textarea:focus {
    border-color: rgba(169,67,43,.48) !important;
    background: rgba(255,255,255,.94) !important;
}

/* Чекбоксы — в одну строку с текстом */
body.page-apply label:has(input[type="checkbox"]),
body[class*="apply"] label:has(input[type="checkbox"]) {
    display: grid !important;
    grid-template-columns: 16px auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 6px 0 14px !important;
    padding: 0 !important;
    line-height: 16px !important;
    color: rgba(45,45,45,.70) !important;
    -webkit-text-fill-color: rgba(45,45,45,.70) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.page-apply label:has(input[type="checkbox"]) input[type="checkbox"],
body[class*="apply"] label:has(input[type="checkbox"]) input[type="checkbox"] {
    grid-column: 1 !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    transform: none !important;
    accent-color: #A9432B !important;
}

body.page-apply label:has(input[type="checkbox"]) span,
body[class*="apply"] label:has(input[type="checkbox"]) span {
    grid-column: 2 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 16px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
}

/* Кнопки — прямоугольные, сайт */
body.page-apply button,
body.page-apply .btn,
body.page-apply input[type="submit"],
body.page-apply a.btn,
body[class*="apply"] button,
body[class*="apply"] .btn,
body[class*="apply"] input[type="submit"],
body[class*="apply"] a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 170px !important;
    min-height: 46px !important;
    padding: 0 26px !important;
    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body.page-apply button:hover,
body.page-apply .btn:hover,
body.page-apply input[type="submit"]:hover,
body.page-apply a.btn:hover,
body[class*="apply"] button:hover,
body[class*="apply"] .btn:hover,
body[class*="apply"] input[type="submit"]:hover,
body[class*="apply"] a.btn:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

@media (max-width: 980px) {
    body.page-apply .aio-apply-layout,
    body.page-apply .apply-layout,
    body.page-apply .application-layout,
    body.page-apply .aio-apply-page > .aio-container > .row,
    body.page-apply .aio-apply-page > .container > .row,
    body[class*="apply"] .aio-apply-layout,
    body[class*="apply"] .apply-layout,
    body[class*="apply"] .application-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    body.page-apply .aio-apply-page,
    body.page-apply .apply-page,
    body.page-apply .application-page,
    body[class*="apply"] .aio-apply-page,
    body[class*="apply"] .apply-page,
    body[class*="apply"] .application-page {
        padding: 34px 0 52px !important;
    }

    body.page-apply .aio-apply-card,
    body.page-apply .apply-card,
    body.page-apply .application-card,
    body.page-apply .form-card,
    body.page-apply aside,
    body[class*="apply"] .aio-apply-card,
    body[class*="apply"] .apply-card,
    body[class*="apply"] .application-card,
    body[class*="apply"] .form-card {
        padding: 30px 22px 34px !important;
    }

    body.page-apply .aio-apply-card h2,
    body.page-apply .apply-card h2,
    body.page-apply .application-card h2,
    body.page-apply .form-card h2,
    body[class*="apply"] .aio-apply-card h2,
    body[class*="apply"] .apply-card h2,
    body[class*="apply"] .application-card h2,
    body[class*="apply"] .form-card h2 {
        font-size: 32px !important;
    }

    body.page-apply button,
    body.page-apply .btn,
    body.page-apply input[type="submit"],
    body[class*="apply"] button,
    body[class*="apply"] .btn,
    body[class*="apply"] input[type="submit"] {
        width: 100% !important;
    }
}


/* ============================================================
   AIO APPLY — FINAL AIO STYLE
   Standard hero, cold beige background, rectangular cards,
   approved fonts/colors/buttons.
   ============================================================ */

body.page-apply .aio-apply-v2,
.aio-apply-v2 {
    padding: 52px 0 78px !important;
    background:
        radial-gradient(circle at 88% 0%, rgba(7,45,91,.035), transparent 28rem),
        radial-gradient(circle at 4% 82%, rgba(169,67,43,.035), transparent 24rem),
        linear-gradient(115deg, #F8F5EF 0%, #F6EFE4 54%, #EFE6D8 100%) !important;
}

body.page-apply .aio-apply-v2__layout,
.aio-apply-v2__layout {
    display: grid !important;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

/* Левая карточка — прямоугольная музейная, без полукругов */
body.page-apply .aio-apply-v2__intro,
.aio-apply-v2__intro {
    min-height: 360px !important;
    padding: 34px 34px 36px !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(169,67,43,.10), transparent 10rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
}

/* Правая часть — без коробки в коробке */
body.page-apply .aio-apply-v2__main,
body.page-apply .aio-apply-v2__card,
.aio-apply-v2__main,
.aio-apply-v2__card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.page-apply .aio-apply-v2__card,
.aio-apply-v2__card {
    max-width: 760px !important;
    padding: 42px 44px 44px !important;
}

/* Кикеры */
body.page-apply .aio-apply-v2 .aio-events-kicker,
body.page-apply .aio-apply-v2-hero .aio-events-kicker,
.aio-apply-v2 .aio-events-kicker,
.aio-apply-v2-hero .aio-events-kicker {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Заголовки */
body.page-apply .aio-apply-v2__intro h2,
.aio-apply-v2__intro h2 {
    max-width: 320px !important;
    margin: 0 0 18px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(26px, 2.5vw, 38px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-apply .aio-apply-v2__card h2,
.aio-apply-v2__card h2 {
    margin: 0 0 28px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.7vw, 40px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Тексты */
body.page-apply .aio-apply-v2__intro p:not(.aio-events-kicker),
.aio-apply-v2__intro p:not(.aio-events-kicker) {
    margin: 0 0 14px !important;
    max-width: 330px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
}

/* Форма */
body.page-apply .aio-apply-v2-form,
.aio-apply-v2-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 17px 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Если внутри формы есть старые обёртки/ряды — делаем спокойными */
body.page-apply .aio-apply-v2-form .form-group,
body.page-apply .aio-apply-v2-form .field,
body.page-apply .aio-apply-v2-form .control-group,
body.page-apply .aio-apply-v2-form label,
.aio-apply-v2-form .form-group,
.aio-apply-v2-form .field,
.aio-apply-v2-form .control-group,
.aio-apply-v2-form label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Длинные поля на всю ширину */
body.page-apply .aio-apply-v2-form textarea,
body.page-apply .aio-apply-v2-form .full,
body.page-apply .aio-apply-v2-form .full-width,
body.page-apply .aio-apply-v2-form .form-group:has(textarea),
body.page-apply .aio-apply-v2-form label:has(textarea),
body.page-apply .aio-apply-v2-form label:has(input[type="checkbox"]),
.aio-apply-v2-form textarea,
.aio-apply-v2-form .full,
.aio-apply-v2-form .full-width,
.aio-apply-v2-form .form-group:has(textarea),
.aio-apply-v2-form label:has(textarea),
.aio-apply-v2-form label:has(input[type="checkbox"]) {
    grid-column: 1 / -1 !important;
}

/* Подписи полей */
body.page-apply .aio-apply-v2-form label > span,
body.page-apply .aio-apply-v2-form label,
body.page-apply .aio-apply-v2-form .form-label,
body.page-apply .aio-apply-v2-form .control-label,
.aio-apply-v2-form label > span,
.aio-apply-v2-form .form-label,
.aio-apply-v2-form .control-label {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.72) !important;
    -webkit-text-fill-color: rgba(7,45,91,.72) !important;
}

/* Поля ввода */
body.page-apply .aio-apply-v2-form input[type="text"],
body.page-apply .aio-apply-v2-form input[type="email"],
body.page-apply .aio-apply-v2-form input[type="tel"],
body.page-apply .aio-apply-v2-form input[type="password"],
body.page-apply .aio-apply-v2-form input[type="number"],
body.page-apply .aio-apply-v2-form select,
body.page-apply .aio-apply-v2-form textarea,
.aio-apply-v2-form input[type="text"],
.aio-apply-v2-form input[type="email"],
.aio-apply-v2-form input[type="tel"],
.aio-apply-v2-form input[type="password"],
.aio-apply-v2-form input[type="number"],
.aio-apply-v2-form select,
.aio-apply-v2-form textarea {
    display: block !important;
    width: 100% !important;
    min-height: 45px !important;
    box-sizing: border-box !important;
    margin-top: 7px !important;
    padding: 12px 14px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: rgba(255,255,255,.72) !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 4px 12px rgba(7,23,44,.018) !important;
}

body.page-apply .aio-apply-v2-form textarea,
.aio-apply-v2-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

body.page-apply .aio-apply-v2-form input:focus,
body.page-apply .aio-apply-v2-form select:focus,
body.page-apply .aio-apply-v2-form textarea:focus,
.aio-apply-v2-form input:focus,
.aio-apply-v2-form select:focus,
.aio-apply-v2-form textarea:focus {
    border-color: rgba(169,67,43,.48) !important;
    background: rgba(255,255,255,.94) !important;
}

/* Чекбоксы */
body.page-apply .aio-apply-v2-form label:has(input[type="checkbox"]),
.aio-apply-v2-form label:has(input[type="checkbox"]) {
    display: grid !important;
    grid-template-columns: 16px auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 4px 0 4px !important;
    padding: 0 !important;
    line-height: 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.70) !important;
    -webkit-text-fill-color: rgba(45,45,45,.70) !important;
}

body.page-apply .aio-apply-v2-form input[type="checkbox"],
.aio-apply-v2-form input[type="checkbox"] {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    transform: none !important;
    accent-color: #A9432B !important;
}

/* Кнопки */
body.page-apply .aio-apply-v2-form button,
body.page-apply .aio-apply-v2-form input[type="submit"],
body.page-apply .aio-apply-v2-form .btn,
.aio-apply-v2-form button,
.aio-apply-v2-form input[type="submit"],
.aio-apply-v2-form .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: start !important;
    width: auto !important;
    min-width: 180px !important;
    min-height: 46px !important;
    padding: 0 26px !important;
    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body.page-apply .aio-apply-v2-form button:hover,
body.page-apply .aio-apply-v2-form input[type="submit"]:hover,
body.page-apply .aio-apply-v2-form .btn:hover,
.aio-apply-v2-form button:hover,
.aio-apply-v2-form input[type="submit"]:hover,
.aio-apply-v2-form .btn:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}

@media (max-width: 980px) {
    body.page-apply .aio-apply-v2__layout,
    .aio-apply-v2__layout {
        grid-template-columns: 1fr !important;
    }

    body.page-apply .aio-apply-v2-form,
    .aio-apply-v2-form {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    body.page-apply .aio-apply-v2,
    .aio-apply-v2 {
        padding: 34px 0 52px !important;
    }

    body.page-apply .aio-apply-v2__intro,
    body.page-apply .aio-apply-v2__card,
    .aio-apply-v2__intro,
    .aio-apply-v2__card {
        padding: 30px 22px 34px !important;
    }

    body.page-apply .aio-apply-v2-form button,
    body.page-apply .aio-apply-v2-form input[type="submit"],
    body.page-apply .aio-apply-v2-form .btn,
    .aio-apply-v2-form button,
    .aio-apply-v2-form input[type="submit"],
    .aio-apply-v2-form .btn {
        width: 100% !important;
    }
}


/* ============================================================
   AIO HERO KICKER — LIGHT VERSION FIX
   In dark hero sections kicker must be beige/light, not red.
   Red kickers are for light content blocks and cards.
   ============================================================ */

html body .aio-events-museum-hero .aio-events-kicker,
html body .aio-events-museum-hero .aio-events-kicker_light,
html body .aio-login-hero .aio-events-kicker,
html body .aio-login-hero .aio-events-kicker_light,
html body .aio-apply-v2-hero .aio-events-kicker,
html body .aio-apply-v2-hero .aio-events-kicker_light {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
}

/* Кикеры внутри светлых карточек остаются красными */
html body .aio-login-card .aio-events-kicker,
html body .aio-login-intro .aio-events-kicker,
html body .aio-apply-v2__card .aio-events-kicker,
html body .aio-apply-v2__intro .aio-events-kicker {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}


/* ============================================================
   AIO APPLY — FINAL AIO STYLE
   Standard hero, cold beige background, rectangular cards,
   approved fonts/colors/buttons.
   ============================================================ */

body.page-apply .aio-apply-v2,
.aio-apply-v2 {
    padding: 52px 0 78px !important;
    background:
        radial-gradient(circle at 88% 0%, rgba(7,45,91,.035), transparent 28rem),
        radial-gradient(circle at 4% 82%, rgba(169,67,43,.035), transparent 24rem),
        linear-gradient(115deg, #F8F5EF 0%, #F6EFE4 54%, #EFE6D8 100%) !important;
}

body.page-apply .aio-apply-v2__layout,
.aio-apply-v2__layout {
    display: grid !important;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

/* Левая карточка — прямоугольная музейная, без полукругов */
body.page-apply .aio-apply-v2__intro,
.aio-apply-v2__intro {
    min-height: 360px !important;
    padding: 34px 34px 36px !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(169,67,43,.10), transparent 10rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
}

/* Правая часть — без коробки в коробке */
body.page-apply .aio-apply-v2__main,
body.page-apply .aio-apply-v2__card,
.aio-apply-v2__main,
.aio-apply-v2__card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.page-apply .aio-apply-v2__card,
.aio-apply-v2__card {
    max-width: 760px !important;
    padding: 42px 44px 44px !important;
}

/* Кикеры */
body.page-apply .aio-apply-v2 .aio-events-kicker,
body.page-apply .aio-apply-v2-hero .aio-events-kicker,
.aio-apply-v2 .aio-events-kicker,
.aio-apply-v2-hero .aio-events-kicker {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Заголовки */
body.page-apply .aio-apply-v2__intro h2,
.aio-apply-v2__intro h2 {
    max-width: 320px !important;
    margin: 0 0 18px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(26px, 2.5vw, 38px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-apply .aio-apply-v2__card h2,
.aio-apply-v2__card h2 {
    margin: 0 0 28px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.7vw, 40px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Тексты */
body.page-apply .aio-apply-v2__intro p:not(.aio-events-kicker),
.aio-apply-v2__intro p:not(.aio-events-kicker) {
    margin: 0 0 14px !important;
    max-width: 330px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
}

/* Форма */
body.page-apply .aio-apply-v2-form,
.aio-apply-v2-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 17px 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Если внутри формы есть старые обёртки/ряды — делаем спокойными */
body.page-apply .aio-apply-v2-form .form-group,
body.page-apply .aio-apply-v2-form .field,
body.page-apply .aio-apply-v2-form .control-group,
body.page-apply .aio-apply-v2-form label,
.aio-apply-v2-form .form-group,
.aio-apply-v2-form .field,
.aio-apply-v2-form .control-group,
.aio-apply-v2-form label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Длинные поля на всю ширину */
body.page-apply .aio-apply-v2-form textarea,
body.page-apply .aio-apply-v2-form .full,
body.page-apply .aio-apply-v2-form .full-width,
body.page-apply .aio-apply-v2-form .form-group:has(textarea),
body.page-apply .aio-apply-v2-form label:has(textarea),
body.page-apply .aio-apply-v2-form label:has(input[type="checkbox"]),
.aio-apply-v2-form textarea,
.aio-apply-v2-form .full,
.aio-apply-v2-form .full-width,
.aio-apply-v2-form .form-group:has(textarea),
.aio-apply-v2-form label:has(textarea),
.aio-apply-v2-form label:has(input[type="checkbox"]) {
    grid-column: 1 / -1 !important;
}

/* Подписи полей */
body.page-apply .aio-apply-v2-form label > span,
body.page-apply .aio-apply-v2-form label,
body.page-apply .aio-apply-v2-form .form-label,
body.page-apply .aio-apply-v2-form .control-label,
.aio-apply-v2-form label > span,
.aio-apply-v2-form .form-label,
.aio-apply-v2-form .control-label {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.72) !important;
    -webkit-text-fill-color: rgba(7,45,91,.72) !important;
}

/* Поля ввода */
body.page-apply .aio-apply-v2-form input[type="text"],
body.page-apply .aio-apply-v2-form input[type="email"],
body.page-apply .aio-apply-v2-form input[type="tel"],
body.page-apply .aio-apply-v2-form input[type="password"],
body.page-apply .aio-apply-v2-form input[type="number"],
body.page-apply .aio-apply-v2-form select,
body.page-apply .aio-apply-v2-form textarea,
.aio-apply-v2-form input[type="text"],
.aio-apply-v2-form input[type="email"],
.aio-apply-v2-form input[type="tel"],
.aio-apply-v2-form input[type="password"],
.aio-apply-v2-form input[type="number"],
.aio-apply-v2-form select,
.aio-apply-v2-form textarea {
    display: block !important;
    width: 100% !important;
    min-height: 45px !important;
    box-sizing: border-box !important;
    margin-top: 7px !important;
    padding: 12px 14px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: rgba(255,255,255,.72) !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 4px 12px rgba(7,23,44,.018) !important;
}

body.page-apply .aio-apply-v2-form textarea,
.aio-apply-v2-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

body.page-apply .aio-apply-v2-form input:focus,
body.page-apply .aio-apply-v2-form select:focus,
body.page-apply .aio-apply-v2-form textarea:focus,
.aio-apply-v2-form input:focus,
.aio-apply-v2-form select:focus,
.aio-apply-v2-form textarea:focus {
    border-color: rgba(169,67,43,.48) !important;
    background: rgba(255,255,255,.94) !important;
}

/* Чекбоксы */
body.page-apply .aio-apply-v2-form label:has(input[type="checkbox"]),
.aio-apply-v2-form label:has(input[type="checkbox"]) {
    display: grid !important;
    grid-template-columns: 16px auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 4px 0 4px !important;
    padding: 0 !important;
    line-height: 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.70) !important;
    -webkit-text-fill-color: rgba(45,45,45,.70) !important;
}

body.page-apply .aio-apply-v2-form input[type="checkbox"],
.aio-apply-v2-form input[type="checkbox"] {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    transform: none !important;
    accent-color: #A9432B !important;
}

/* Кнопки */
body.page-apply .aio-apply-v2-form button,
body.page-apply .aio-apply-v2-form input[type="submit"],
body.page-apply .aio-apply-v2-form .btn,
.aio-apply-v2-form button,
.aio-apply-v2-form input[type="submit"],
.aio-apply-v2-form .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: start !important;
    width: auto !important;
    min-width: 180px !important;
    min-height: 46px !important;
    padding: 0 26px !important;
    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body.page-apply .aio-apply-v2-form button:hover,
body.page-apply .aio-apply-v2-form input[type="submit"]:hover,
body.page-apply .aio-apply-v2-form .btn:hover,
.aio-apply-v2-form button:hover,
.aio-apply-v2-form input[type="submit"]:hover,
.aio-apply-v2-form .btn:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}

@media (max-width: 980px) {
    body.page-apply .aio-apply-v2__layout,
    .aio-apply-v2__layout {
        grid-template-columns: 1fr !important;
    }

    body.page-apply .aio-apply-v2-form,
    .aio-apply-v2-form {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    body.page-apply .aio-apply-v2,
    .aio-apply-v2 {
        padding: 34px 0 52px !important;
    }

    body.page-apply .aio-apply-v2__intro,
    body.page-apply .aio-apply-v2__card,
    .aio-apply-v2__intro,
    .aio-apply-v2__card {
        padding: 30px 22px 34px !important;
    }

    body.page-apply .aio-apply-v2-form button,
    body.page-apply .aio-apply-v2-form input[type="submit"],
    body.page-apply .aio-apply-v2-form .btn,
    .aio-apply-v2-form button,
    .aio-apply-v2-form input[type="submit"],
    .aio-apply-v2-form .btn {
        width: 100% !important;
    }
}


/* ============================================================
   AIO LOGIN HERO KICKER — WEIGHT FIX
   Hero kicker must match the rest of the site: light, restrained,
   not thick button-like text.
   ============================================================ */

html body .aio-events-museum-hero .aio-events-kicker_light,
html body .aio-login-hero .aio-events-kicker_light,
html body.page-login .aio-login-hero .aio-events-kicker_light {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
}

/* Кикеры внутри карточек остаются плотнее и красными */
html body.page-login .aio-login-card .aio-events-kicker,
html body.page-login .aio-login-intro .aio-events-kicker {
    font-weight: 800 !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}


/* ============================================================
   AIO APPLY — FINAL STRUCTURE / ADMIN SUBMIT
   Correct text, numbered steps, clean form alignment.
   ============================================================ */

body.page-apply .aio-apply-v2,
.aio-apply-v2 {
    padding: 52px 0 78px !important;
    background:
        radial-gradient(circle at 88% 0%, rgba(7,45,91,.035), transparent 28rem),
        radial-gradient(circle at 4% 82%, rgba(169,67,43,.025), transparent 24rem),
        linear-gradient(115deg, #F8F5EF 0%, #F6EFE4 54%, #EFE6D8 100%) !important;
}

body.page-apply .aio-apply-v2__layout,
.aio-apply-v2__layout {
    display: grid !important;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) !important;
    gap: 36px !important;
    align-items: start !important;
}

body.page-apply .aio-apply-v2__intro,
.aio-apply-v2__intro {
    padding: 34px 34px 36px !important;
    min-height: 520px !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 82% 12%, rgba(169,67,43,.08), transparent 10rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
}

body.page-apply .aio-apply-v2__card,
.aio-apply-v2__card {
    max-width: 820px !important;
    padding: 42px 44px 44px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Кикеры */
body.page-apply .aio-apply-v2 .aio-events-kicker,
.aio-apply-v2 .aio-events-kicker {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Hero кикер светлый */
body.page-apply .aio-apply-v2-hero .aio-events-kicker_light,
.aio-apply-v2-hero .aio-events-kicker_light {
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
    font-weight: 600 !important;
}

/* Заголовки */
body.page-apply .aio-apply-v2__intro h2,
.aio-apply-v2__intro h2 {
    max-width: 310px !important;
    margin: 0 0 18px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.7vw, 40px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-apply .aio-apply-v2__card h2,
.aio-apply-v2__card h2 {
    margin: 0 0 28px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.7vw, 40px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Описание */
body.page-apply .aio-apply-v2__intro > p:not(.aio-events-kicker),
.aio-apply-v2__intro > p:not(.aio-events-kicker) {
    margin: 0 0 24px !important;
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
}

/* Нумерованный список */
body.page-apply .aio-apply-v2-steps,
.aio-apply-v2-steps {
    list-style: none !important;
    padding: 0 !important;
    margin: 28px 0 0 !important;
    display: grid !important;
    gap: 16px !important;
}

body.page-apply .aio-apply-v2-steps li,
.aio-apply-v2-steps li {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 13px !important;
    align-items: start !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-apply .aio-apply-v2-steps span,
.aio-apply-v2-steps span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid rgba(248,245,239,.22) !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
}

body.page-apply .aio-apply-v2-steps p,
.aio-apply-v2-steps p {
    margin: 0 !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.52 !important;
    font-weight: 400 !important;
}

/* Форма */
body.page-apply .aio-apply-v2-form,
.aio-apply-v2-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 18px !important;
    align-items: start !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page-apply .aio-apply-v2-form label,
.aio-apply-v2-form label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page-apply .aio-apply-v2-form__full,
body.page-apply .aio-apply-v2-form__check,
body.page-apply .aio-apply-v2-form__actions,
.aio-apply-v2-form__full,
.aio-apply-v2-form__check,
.aio-apply-v2-form__actions {
    grid-column: 1 / -1 !important;
}

body.page-apply .aio-apply-v2-form label > span,
.aio-apply-v2-form label > span {
    display: block !important;
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.62) !important;
    -webkit-text-fill-color: rgba(7,45,91,.62) !important;
}

/* Поля */
body.page-apply .aio-apply-v2-form input[type="text"],
body.page-apply .aio-apply-v2-form input[type="email"],
body.page-apply .aio-apply-v2-form input[type="tel"],
body.page-apply .aio-apply-v2-form select,
body.page-apply .aio-apply-v2-form textarea,
.aio-apply-v2-form input[type="text"],
.aio-apply-v2-form input[type="email"],
.aio-apply-v2-form input[type="tel"],
.aio-apply-v2-form select,
.aio-apply-v2-form textarea {
    display: block !important;
    width: 100% !important;
    min-height: 45px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: rgba(255,255,255,.72) !important;
    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 4px 12px rgba(7,23,44,.018) !important;
}

/* Подсказки — полупрозрачные, чтобы не казались уже введённым текстом */
body.page-apply .aio-apply-v2-form input::placeholder,
body.page-apply .aio-apply-v2-form textarea::placeholder,
.aio-apply-v2-form input::placeholder,
.aio-apply-v2-form textarea::placeholder {
    color: rgba(45,45,45,.26) !important;
    -webkit-text-fill-color: rgba(45,45,45,.26) !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

body.page-apply .aio-apply-v2-form select:invalid,
.aio-apply-v2-form select:invalid {
    color: rgba(45,45,45,.34) !important;
    -webkit-text-fill-color: rgba(45,45,45,.34) !important;
}

body.page-apply .aio-apply-v2-form textarea,
.aio-apply-v2-form textarea {
    min-height: 126px !important;
    resize: vertical !important;
}

body.page-apply .aio-apply-v2-form input:focus,
body.page-apply .aio-apply-v2-form select:focus,
body.page-apply .aio-apply-v2-form textarea:focus,
.aio-apply-v2-form input:focus,
.aio-apply-v2-form select:focus,
.aio-apply-v2-form textarea:focus {
    border-color: rgba(169,67,43,.48) !important;
    background: rgba(255,255,255,.94) !important;
}

/* Чекбокс */
body.page-apply .aio-apply-v2-form__check,
.aio-apply-v2-form__check {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 2px !important;
}

body.page-apply .aio-apply-v2-form__check input[type="checkbox"],
.aio-apply-v2-form__check input[type="checkbox"] {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
    accent-color: #A9432B !important;
}

body.page-apply .aio-apply-v2-form__check span,
.aio-apply-v2-form__check span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(45,45,45,.64) !important;
    -webkit-text-fill-color: rgba(45,45,45,.64) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Кнопка */
body.page-apply .aio-apply-v2-form__actions,
.aio-apply-v2-form__actions {
    margin-top: 4px !important;
}

body.page-apply .aio-apply-v2-form button[type="submit"],
.aio-apply-v2-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 190px !important;
    min-height: 46px !important;
    padding: 0 26px !important;
    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body.page-apply .aio-apply-v2-form button[type="submit"]:hover,
.aio-apply-v2-form button[type="submit"]:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}

body.page-apply .aio-apply-v2-result,
.aio-apply-v2-result {
    margin: 0 0 18px !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(169,67,43,.22) !important;
    background: rgba(169,67,43,.06) !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

@media (max-width: 980px) {
    body.page-apply .aio-apply-v2__layout,
    .aio-apply-v2__layout,
    body.page-apply .aio-apply-v2-form,
    .aio-apply-v2-form {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    body.page-apply .aio-apply-v2,
    .aio-apply-v2 {
        padding: 34px 0 52px !important;
    }

    body.page-apply .aio-apply-v2__intro,
    body.page-apply .aio-apply-v2__card,
    .aio-apply-v2__intro,
    .aio-apply-v2__card {
        padding: 30px 22px 34px !important;
    }

    body.page-apply .aio-apply-v2-form button[type="submit"],
    .aio-apply-v2-form button[type="submit"] {
        width: 100% !important;
    }
}


/* ============================================================
   AIO APPLY — PUBLIC TEXT / TYPOGRAPHY / SUCCESS MODAL FINAL
   Cormorant for headings, Montserrat for service text.
   No admin wording on public page.
   ============================================================ */

/* Базовая типографика apply */
body.page-apply .aio-apply-v2 h1,
body.page-apply .aio-apply-v2 h2,
body.page-apply .aio-apply-v2 h3,
body.page-apply .aio-apply-v2-hero h1,
body.page-apply .aio-apply-success-modal h2 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
}

body.page-apply .aio-apply-v2 p,
body.page-apply .aio-apply-v2 li,
body.page-apply .aio-apply-v2 label,
body.page-apply .aio-apply-v2 input,
body.page-apply .aio-apply-v2 select,
body.page-apply .aio-apply-v2 textarea,
body.page-apply .aio-apply-success-modal p,
body.page-apply .aio-apply-success-modal button {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

/* Кикеры: hero светлый, карточки красные */
body.page-apply .aio-apply-v2-hero .aio-events-kicker_light {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
}

body.page-apply .aio-apply-v2 .aio-events-kicker,
body.page-apply .aio-apply-success-modal .aio-events-kicker {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Список шагов — без квадратных артефактов */
body.page-apply .aio-apply-v2-steps li,
body.page-apply .aio-apply-v2-steps li *,
body.page-apply .aio-apply-v2-steps li::before,
body.page-apply .aio-apply-v2-steps li::after {
    box-shadow: none !important;
}

body.page-apply .aio-apply-v2-steps li {
    background: transparent !important;
    border: 0 !important;
}

body.page-apply .aio-apply-v2-steps span {
    border-radius: 50% !important;
    background: rgba(248,245,239,.92) !important;
    border: 1px solid rgba(248,245,239,.26) !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: hidden !important;
}

/* Согласие на персональные данные — чуть крупнее */
body.page-apply .aio-apply-v2-form__check span,
body.page-apply .aio-apply-v2-form__check {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;
}

/* Placeholder — подсказка, не введённый текст */
body.page-apply .aio-apply-v2-form input::placeholder,
body.page-apply .aio-apply-v2-form textarea::placeholder {
    color: rgba(45,45,45,.24) !important;
    -webkit-text-fill-color: rgba(45,45,45,.24) !important;
    opacity: 1 !important;
}

/* Убираем публичный inline-result, если он пустой */
body.page-apply #aio-apply-v2-result:empty {
    display: none !important;
}

/* Модальное окно успеха */
html.aio-apply-success-modal-open,
html.aio-apply-success-modal-open body {
    overflow: hidden !important;
}

.aio-apply-success-modal[hidden] {
    display: none !important;
}

.aio-apply-success-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
}

.aio-apply-success-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(7,23,44,.78) !important;
    backdrop-filter: blur(5px) !important;
    cursor: pointer !important;
}

.aio-apply-success-modal__dialog {
    position: relative !important;
    z-index: 2 !important;
    width: min(560px, calc(100vw - 48px)) !important;
    padding: 42px 44px 44px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(242,227,207,.55), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,.94) 0%, rgba(248,245,239,.96) 56%, rgba(242,227,207,.68) 100%) !important;
    box-shadow: 0 34px 100px rgba(0,0,0,.32) !important;
}

.aio-apply-success-modal__close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: rgba(255,255,255,.48) !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: Arial, sans-serif !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.aio-apply-success-modal__close:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

.aio-apply-success-modal h2 {
    margin: 0 0 16px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1.02 !important;
}

.aio-apply-success-modal p:not(.aio-events-kicker) {
    max-width: 440px !important;
    margin: 0 0 26px !important;
    color: rgba(45,45,45,.74) !important;
    -webkit-text-fill-color: rgba(45,45,45,.74) !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
}

.aio-apply-success-modal__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 150px !important;
    min-height: 46px !important;
    padding: 0 26px !important;
    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.aio-apply-success-modal__button:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}

@media (max-width: 760px) {
    .aio-apply-success-modal__dialog {
        padding: 34px 24px 30px !important;
    }
}


/* ============================================================
   AIO APPLY — CLEAN SUCCESS MODAL + FORM RESET
   Modal must sit over the site with a calm transparent overlay.
   No red/blue full-screen blocks. No global button inheritance.
   ============================================================ */

html.aio-apply-success-modal-open,
html.aio-apply-success-modal-open body {
    overflow: hidden !important;
}

html body .aio-apply-success-modal[hidden] {
    display: none !important;
}

html body .aio-apply-success-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 24px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Дымка: прозрачная, не кнопка, не оранжевая, не синяя плашка */
html body .aio-apply-success-modal__backdrop,
html body button.aio-apply-success-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;

    display: block !important;
    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;

    background: rgba(7, 23, 44, .72) !important;
    backdrop-filter: blur(5px) !important;

    box-shadow: none !important;
    transform: none !important;
    clip-path: none !important;
    cursor: default !important;

    appearance: none !important;
    -webkit-appearance: none !important;
}

html body .aio-apply-success-modal__backdrop:hover,
html body button.aio-apply-success-modal__backdrop:hover {
    background: rgba(7, 23, 44, .72) !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Карточка */
html body .aio-apply-success-modal__dialog {
    position: relative !important;
    z-index: 2 !important;

    width: min(560px, calc(100vw - 48px)) !important;
    margin: 0 !important;
    padding: 42px 44px 44px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.12) !important;

    background:
        radial-gradient(circle at 100% 0%, rgba(242,227,207,.38), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(248,245,239,.98) 58%, rgba(242,227,207,.66) 100%) !important;

    box-shadow: 0 34px 100px rgba(0,0,0,.32) !important;
}

/* Крестик: маленький, прозрачный, не синяя кнопка */
html body .aio-apply-success-modal__close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 4 !important;

    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(255,255,255,.34) !important;

    color: rgba(7,45,91,.74) !important;
    -webkit-text-fill-color: rgba(7,45,91,.74) !important;

    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    box-shadow: none !important;
    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;
}

html body .aio-apply-success-modal__close:hover {
    background: rgba(169,67,43,.12) !important;
    border-color: rgba(169,67,43,.28) !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    box-shadow: none !important;
}

/* Тексты */
html body .aio-apply-success-modal .aio-events-kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body .aio-apply-success-modal h2 {
    margin: 0 0 16px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
}

html body .aio-apply-success-modal p:not(.aio-events-kicker) {
    max-width: 440px !important;
    margin: 0 0 26px !important;
    color: rgba(45,45,45,.74) !important;
    -webkit-text-fill-color: rgba(45,45,45,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
}

/* Кнопка Хорошо — как основные кнопки сайта */
html body .aio-apply-success-modal__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 150px !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 0 26px !important;

    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    box-shadow: none !important;
    cursor: pointer !important;
}

html body .aio-apply-success-modal__button:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Форма после отправки: пустые поля должны выглядеть как пустые */
body.page-apply .aio-apply-v2-form input::placeholder,
body.page-apply .aio-apply-v2-form textarea::placeholder {
    color: rgba(45,45,45,.24) !important;
    -webkit-text-fill-color: rgba(45,45,45,.24) !important;
    opacity: 1 !important;
}

@media (max-width: 760px) {
    html body .aio-apply-success-modal__dialog {
        padding: 34px 24px 30px !important;
    }
}


/* ============================================================
   AIO REGISTER — FINAL VISUAL SYSTEM
   Same visual logic as login/apply: standard hero, cold beige page,
   rectangular blocks, Cormorant headings, Montserrat service text.
   ============================================================ */

html body.page-register {
    background: #F8F5EF !important;
}

/* Страница */
html body.page-register .aio-register-page {
    padding: 52px 0 78px !important;
    background:
        radial-gradient(circle at 88% 0%, rgba(7,45,91,.035), transparent 28rem),
        radial-gradient(circle at 4% 82%, rgba(169,67,43,.025), transparent 24rem),
        linear-gradient(115deg, #F8F5EF 0%, #F6EFE4 54%, #EFE6D8 100%) !important;
}

/* Сетка */
html body.page-register .aio-register-layout {
    display: grid !important;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) !important;
    gap: 36px !important;
    align-items: start !important;
}

/* Левая карточка — как на login/apply */
html body.page-register .aio-register-info {
    min-height: 520px !important;
    padding: 34px 34px 36px !important;

    border-radius: 0 !important;
    border: 0 !important;

    background:
        radial-gradient(circle at 82% 12%, rgba(169,67,43,.08), transparent 10rem),
        linear-gradient(135deg, #111418 0%, #07172C 54%, #072D5B 100%) !important;

    color: #F8F5EF !important;
    box-shadow: 0 22px 54px rgba(7,23,44,.14) !important;
}

/* Правая форма — без круглой SaaS-карточки */
html body.page-register .aio-register-form {
    max-width: 820px !important;
    padding: 42px 44px 44px !important;

    border-radius: 0 !important;
    border: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

/* Кикеры */
html body.page-register .aio-register-hero .aio-events-kicker_light {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color: rgba(248,245,239,.70) !important;
}

html body.page-register .aio-register-page .aio-events-kicker,
html body.page-register .aio-register-modal .aio-events-kicker {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Заголовки */
html body.page-register .aio-register-info h2,
html body.page-register .aio-register-form h2,
html body.page-register .aio-register-modal__dialog h2 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 300 !important;
    letter-spacing: -.012em !important;
}

html body.page-register .aio-register-info h2 {
    max-width: 330px !important;
    margin: 0 0 18px !important;
    font-size: clamp(28px, 2.7vw, 40px) !important;
    line-height: 1.02 !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-register .aio-register-form h2 {
    margin: 0 0 28px !important;
    font-size: clamp(28px, 2.7vw, 40px) !important;
    line-height: 1.02 !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Текст слева */
html body.page-register .aio-register-info p:not(.aio-events-kicker) {
    margin: 0 0 15px !important;
    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
}

/* Дисклеймер — заметно, но мелко */
html body.page-register .aio-register-note {
    margin-top: 24px !important;
    padding: 16px 17px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(248,245,239,.16) !important;
    background: rgba(248,245,239,.06) !important;
    box-shadow: none !important;
}

html body.page-register .aio-register-note p {
    margin: 0 !important;
    color: rgba(248,245,239,.60) !important;
    -webkit-text-fill-color: rgba(248,245,239,.60) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

/* Форма */
html body.page-register .aio-register-form__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 18px !important;
    align-items: start !important;
}

html body.page-register .aio-register-form label {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-register .aio-register-form label > span,
html body.page-register .aio-register-form label span {
    display: block !important;
    margin: 0 0 7px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;

    color: rgba(7,45,91,.62) !important;
    -webkit-text-fill-color: rgba(7,45,91,.62) !important;
}

html body.page-register .aio-register-form input[type="text"],
html body.page-register .aio-register-form input[type="email"],
html body.page-register .aio-register-form input[type="password"] {
    display: block !important;
    width: 100% !important;
    min-height: 45px !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 12px 14px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.16) !important;

    background: rgba(255,255,255,.72) !important;

    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;

    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 4px 12px rgba(7,23,44,.018) !important;
}

html body.page-register .aio-register-form input::placeholder {
    color: rgba(45,45,45,.24) !important;
    -webkit-text-fill-color: rgba(45,45,45,.24) !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

html body.page-register .aio-register-form input:focus {
    border-color: rgba(169,67,43,.48) !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 4px 12px rgba(7,23,44,.018) !important;
}

/* Чекбокс согласия — ровно в одну строку */
html body.page-register .aio-register-checkbox {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 20px 0 22px !important;
    padding: 0 !important;
}

html body.page-register .aio-register-checkbox input[type="checkbox"] {
    grid-column: 1 !important;
    display: block !important;

    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;

    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    margin: 2px 0 0 !important;
    padding: 0 !important;

    position: static !important;
    float: none !important;
    transform: none !important;

    accent-color: #A9432B !important;
}

html body.page-register .aio-register-checkbox span {
    grid-column: 2 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;

    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

html body.page-register .aio-register-checkbox a {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

/* Кнопка регистрации — прямоугольная, как /apply */
html body.page-register .aio-register-submit,
html body.page-register .aio-register-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 205px !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 0 28px !important;

    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    box-shadow: none !important;
    cursor: pointer !important;
}

html body.page-register .aio-register-submit:hover,
html body.page-register .aio-register-form button[type="submit"]:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}

html body.page-register .aio-register-links {
    margin-top: 18px !important;
}

html body.page-register .aio-register-links a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

/* Модалка регистрации — как success-modal на /apply */
html body.page-register .aio-register-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;

    display: none !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 24px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.page-register.aio-register-modal-open .aio-register-modal,
html body.aio-register-modal-open .aio-register-modal {
    display: flex !important;
}

html body.page-register .aio-register-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;

    background: rgba(7,23,44,.72) !important;
    backdrop-filter: blur(5px) !important;

    border: 0 !important;
    box-shadow: none !important;
}

html body.page-register .aio-register-modal__dialog {
    position: relative !important;
    z-index: 2 !important;

    width: min(600px, calc(100vw - 48px)) !important;
    margin: 0 !important;
    padding: 42px 44px 44px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.12) !important;

    background:
        radial-gradient(circle at 100% 0%, rgba(242,227,207,.38), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(248,245,239,.98) 58%, rgba(242,227,207,.66) 100%) !important;

    box-shadow: 0 34px 100px rgba(0,0,0,.32) !important;
}

html body.page-register .aio-register-modal__close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 4 !important;

    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    background: rgba(255,255,255,.34) !important;

    color: rgba(7,45,91,.74) !important;
    -webkit-text-fill-color: rgba(7,45,91,.74) !important;

    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    box-shadow: none !important;
    cursor: pointer !important;
}

html body.page-register .aio-register-modal__close:hover {
    background: rgba(169,67,43,.12) !important;
    border-color: rgba(169,67,43,.28) !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-register .aio-register-modal__dialog h2 {
    margin: 0 0 16px !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1.02 !important;
}

html body.page-register .aio-register-modal__dialog p:not(.aio-events-kicker) {
    max-width: 470px !important;
    margin: 0 0 26px !important;
    color: rgba(45,45,45,.74) !important;
    -webkit-text-fill-color: rgba(45,45,45,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
}

html body.page-register .aio-register-modal__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
}

html body.page-register .aio-register-modal__actions .aio-btn,
html body.page-register .aio-register-modal__actions a,
html body.page-register .aio-register-modal__actions button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 205px !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 0 26px !important;

    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    box-shadow: none !important;
}

html body.page-register .aio-register-modal__actions .aio-btn:hover,
html body.page-register .aio-register-modal__actions a:hover,
html body.page-register .aio-register-modal__actions button:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}

/* Старые rounded-стили гасим окончательно */
html body.page-register .aio-register-info,
html body.page-register .aio-register-form,
html body.page-register .aio-register-note,
html body.page-register .aio-register-form input,
html body.page-register .aio-register-submit,
html body.page-register .aio-register-modal__dialog {
    border-radius: 0 !important;
}

@media (max-width: 980px) {
    html body.page-register .aio-register-layout,
    html body.page-register .aio-register-form__grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    html body.page-register .aio-register-page {
        padding: 34px 0 52px !important;
    }

    html body.page-register .aio-register-info,
    html body.page-register .aio-register-form {
        padding: 30px 22px 34px !important;
    }

    html body.page-register .aio-register-submit,
    html body.page-register .aio-register-form button[type="submit"] {
        width: 100% !important;
    }

    html body.page-register .aio-register-modal__dialog {
        padding: 34px 24px 30px !important;
    }
}


/* ============================================================
   AIO REGISTER — CARD FRAME + CONSENT CHECKBOX FIX
   Make registration visually consistent with login/apply.
   ============================================================ */

/* Правая форма: такая же аккуратная рамка, как на login */
html body.page-register .aio-register-form {
    max-width: 820px !important;
    padding: 42px 44px 44px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.10) !important;

    background:
        radial-gradient(circle at 100% 0%, rgba(242,227,207,.36), transparent 20rem),
        rgba(255,255,255,.42) !important;

    box-shadow: 0 22px 54px rgba(7,23,44,.055) !important;
}

/* Чтобы форма не прилипала к верху и была в той же композиции, что login/apply */
html body.page-register .aio-register-layout {
    align-items: start !important;
}

/* Кикер формы */
html body.page-register .aio-register-form > .aio-events-kicker {
    margin: 0 0 14px !important;
}

/* Заголовок формы */
html body.page-register .aio-register-form h2 {
    margin-top: 0 !important;
    margin-bottom: 30px !important;
}

/* Поля регистрации */
html body.page-register .aio-register-form__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 18px !important;
    align-items: start !important;
}

html body.page-register .aio-register-form__grid label {
    display: block !important;
    min-width: 0 !important;
}

/* Чекбокс согласия: квадрат и текст в одной строке, без наезда */
html body.page-register label.aio-register-checkbox,
html body.page-register .aio-register-checkbox {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    column-gap: 11px !important;
    row-gap: 0 !important;
    align-items: start !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 20px 0 22px !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.page-register label.aio-register-checkbox input[type="checkbox"],
html body.page-register .aio-register-checkbox input[type="checkbox"] {
    grid-column: 1 !important;
    grid-row: 1 !important;

    display: block !important;
    position: static !important;
    float: none !important;

    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;

    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    margin: 2px 0 0 !important;
    padding: 0 !important;

    transform: none !important;
    translate: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    accent-color: #A9432B !important;
}

html body.page-register label.aio-register-checkbox > span,
html body.page-register .aio-register-checkbox > span {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: block !important;
    position: static !important;
    float: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    translate: none !important;

    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.48 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

html body.page-register .aio-register-checkbox > span a,
html body.page-register .aio-register-checkbox a {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

/* Кнопка — прямоугольная, не оранжевая таблетка */
html body.page-register .aio-register-submit,
html body.page-register .aio-register-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 205px !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 0 28px !important;

    border-radius: 0 !important;
    border: 1px solid #072D5B !important;
    background: #072D5B !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    box-shadow: none !important;
    cursor: pointer !important;
}

html body.page-register .aio-register-submit:hover,
html body.page-register .aio-register-form button[type="submit"]:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}

/* Дисклеймер слева — маленький, но читаемый */
html body.page-register .aio-register-note {
    margin-top: 24px !important;
    padding: 15px 16px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(248,245,239,.16) !important;
    background: rgba(248,245,239,.055) !important;
}

html body.page-register .aio-register-note p {
    font-size: 11px !important;
    line-height: 1.5 !important;
    color: rgba(248,245,239,.62) !important;
    -webkit-text-fill-color: rgba(248,245,239,.62) !important;
}

/* Модалка регистрации — убрать вторичную визуальную кнопку/таблетки, оставить один путь */
html body.page-register .aio-register-modal__dialog {
    border-radius: 0 !important;
}

html body.page-register .aio-register-modal__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

html body.page-register .aio-register-modal__actions a,
html body.page-register .aio-register-modal__actions button {
    border-radius: 0 !important;
}

@media (max-width: 980px) {
    html body.page-register .aio-register-form__grid {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   AIO REGISTER — SETTINGS BINDING VISUAL FIX
   Checkbox alignment and form frame, consistent with login/apply.
   ============================================================ */

html body.page-register .aio-register-form {
    max-width: 820px !important;
    padding: 42px 44px 44px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.10) !important;

    background:
        radial-gradient(circle at 100% 0%, rgba(242,227,207,.36), transparent 20rem),
        rgba(255,255,255,.42) !important;

    box-shadow: 0 22px 54px rgba(7,23,44,.055) !important;
}

html body.page-register .aio-register-checkbox {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 11px !important;

    width: 100% !important;
    margin: 20px 0 22px !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.page-register .aio-register-checkbox input[type="checkbox"] {
    display: inline-block !important;
    flex: 0 0 16px !important;

    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;

    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    margin: 2px 0 0 !important;
    padding: 0 !important;

    position: static !important;
    float: none !important;
    transform: none !important;

    accent-color: #A9432B !important;
}

html body.page-register .aio-register-checkbox > span {
    display: block !important;
    flex: 1 1 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: rgba(45,45,45,.72) !important;
    -webkit-text-fill-color: rgba(45,45,45,.72) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.48 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

html body.page-register .aio-register-checkbox a {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

html body.page-register .aio-register-submit,
html body.page-register .aio-register-form button[type="submit"] {
    border-radius: 0 !important;
    background: #072D5B !important;
    border-color: #072D5B !important;
    box-shadow: none !important;
}

html body.page-register .aio-register-submit:hover,
html body.page-register .aio-register-form button[type="submit"]:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}


/* ============================================================
   AIO EVENT DETAIL COVER — HORIZONTAL FIXED WINDOW
   Главное фото события всегда горизонтальное, как эталонный кадр
   «мальчик с машиной». Вертикальные фото кадрируются внутри окна.
   ============================================================ */

html body .aio-event-detail-cover-card,
html body .aio-event-detail-cover,
html body .aio-event-detail-photo,
html body .aio-event-cover,
html body .aio-event-cover-card,
html body .aio-event-main-photo,
html body .aio-event-detail-main-photo {
    position: relative !important;
    display: block !important;
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: 4 / 3 !important;

    overflow: hidden !important;
    background: #F8F5EF !important;
    border: 1px solid rgba(7, 45, 91, .10) !important;
    box-sizing: border-box !important;
}

/* Всё внутри фото-окна занимает горизонтальную рамку */
html body .aio-event-detail-cover-card > *,
html body .aio-event-detail-cover > *,
html body .aio-event-detail-photo > *,
html body .aio-event-cover > *,
html body .aio-event-cover-card > *,
html body .aio-event-main-photo > *,
html body .aio-event-detail-main-photo > * {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
}

/* Фото не растягивает блок: оно обрезается внутри горизонтального окна */
html body .aio-event-detail-cover-card img,
html body .aio-event-detail-cover img,
html body .aio-event-detail-photo img,
html body .aio-event-cover img,
html body .aio-event-cover-card img,
html body .aio-event-main-photo img,
html body .aio-event-detail-main-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Если картинка лежит прямо в центральной колонке без отдельного класса */
html body .aio-event-detail-layout > *:not(.aio-event-detail-aside):not(.aio-event-registration-card_top) > img:first-child,
html body .aio-event-detail-layout > *:not(.aio-event-detail-aside):not(.aio-event-registration-card_top) > figure:first-child,
html body .aio-event-detail-layout > *:not(.aio-event-detail-aside):not(.aio-event-registration-card_top) > picture:first-child {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
}

html body .aio-event-detail-layout > *:not(.aio-event-detail-aside):not(.aio-event-registration-card_top) > img:first-child {
    object-fit: cover !important;
    object-position: center center !important;
}

/* Правая карточка участия не должна вытягиваться в гигантскую высоту */
html body .aio-event-registration-card_top {
    min-height: 0 !important;
}

/* На мобильном сохраняем горизонтальный формат */
@media (max-width: 760px) {
    html body .aio-event-detail-cover-card,
    html body .aio-event-detail-cover,
    html body .aio-event-detail-photo,
    html body .aio-event-cover,
    html body .aio-event-cover-card,
    html body .aio-event-main-photo,
    html body .aio-event-detail-main-photo {
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}

/* =========================================================
   AIO MEMBER SHOWCASE /people/:slug
   Дорогая витрина участника: компактный hero, фото 2/3,
   графитовая патина, мягкое перетекание фото в текст.
   Version: 20260710-member-showcase-rebuild-1
   ========================================================= */

body.page-people-item .aio-member-showcase-hero {
    position: relative !important;
    min-height: clamp(330px, 34vw, 430px) !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 84% 42%, rgba(169, 67, 43, .24), transparent 36%),
        linear-gradient(115deg, #272522 0%, #151413 42%, #0E0E0E 100%) !important;
    border-bottom: 1px solid rgba(45, 45, 45, .14) !important;
}

body.page-people-item .aio-member-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg, rgba(248, 245, 239, .06), transparent 18%, transparent 72%, rgba(169, 67, 43, .10)),
        radial-gradient(circle at 72% 30%, rgba(248, 245, 239, .07), transparent 34%) !important;
    mix-blend-mode: screen !important;
    opacity: .72 !important;
}

body.page-people-item .aio-member-showcase-hero__photo {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 66% !important;
    z-index: 1 !important;
    overflow: hidden !important;
    background: #191816 !important;
}

body.page-people-item .aio-member-showcase-hero__photo::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg,
            rgba(248,245,239,.05) 0%,
            rgba(248,245,239,0) 30%,
            rgba(20,19,18,.18) 54%,
            rgba(15,14,13,.82) 82%,
            #11100F 100%),
        radial-gradient(circle at 28% 36%, rgba(242, 227, 207, .10), transparent 38%),
        linear-gradient(0deg, rgba(169, 67, 43, .10), rgba(7, 45, 91, .04)) !important;
}

body.page-people-item .aio-member-showcase-hero__photo::after {
    content: "" !important;
    position: absolute !important;
    top: -8% !important;
    right: -12% !important;
    width: 34% !important;
    height: 116% !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background:
        radial-gradient(ellipse at 0 50%, rgba(17, 16, 15, 0) 0%, rgba(17, 16, 15, .44) 42%, rgba(17, 16, 15, .98) 78%),
        linear-gradient(90deg, transparent, rgba(17, 16, 15, .96)) !important;
    filter: blur(12px) !important;
}

body.page-people-item .aio-member-showcase-hero__photo img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: grayscale(.18) sepia(.12) saturate(.76) contrast(.98) brightness(.91) !important;
    transform: scale(1.012) !important;
}

body.page-people-item .aio-member-showcase-hero__fallback {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(80px, 13vw, 180px) !important;
    color: rgba(248,245,239,.20) !important;
    letter-spacing: .02em !important;
}

body.page-people-item .aio-member-showcase-hero__veil {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg,
            rgba(15,14,13,0) 0%,
            rgba(15,14,13,0) 45%,
            rgba(15,14,13,.58) 61%,
            rgba(15,14,13,.98) 76%,
            #11100F 100%) !important;
}

body.page-people-item .aio-member-showcase-hero .aio-container {
    position: relative !important;
    z-index: 5 !important;
    min-height: clamp(330px, 34vw, 430px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 36%) !important;
    align-items: center !important;
}

body.page-people-item .aio-member-showcase-hero__content {
    grid-column: 2 !important;
    max-width: 440px !important;
    padding: clamp(34px, 5vw, 62px) 0 !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-showcase-hero__content .aio-events-kicker {
    margin: 0 0 14px !important;
    color: #D78A6B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-showcase-hero__content h1 {
    margin: 0 !important;
    max-width: 100% !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(36px, 4.2vw, 58px) !important;
    line-height: .92 !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
    text-wrap: balance !important;
}

body.page-people-item .aio-member-showcase-hero__role {
    margin: 13px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: rgba(248,245,239,.82) !important;
}

body.page-people-item .aio-member-showcase-hero__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 15px 0 0 !important;
}

body.page-people-item .aio-member-showcase-hero__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    border-radius: 999px !important;
    background: rgba(248,245,239,.07) !important;
    color: rgba(248,245,239,.82) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-showcase-hero__lead {
    max-width: 390px !important;
    margin: 18px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
    color: rgba(248,245,239,.74) !important;
}

body.page-people-item .aio-member-showcase-hero__clubs {
    margin: 22px 0 0 !important;
}

body.page-people-item .aio-member-showcase-hero__clubs > span {
    display: block !important;
    margin-bottom: 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.54) !important;
}

body.page-people-item .aio-member-showcase-hero__clubs > div,
body.page-people-item .aio-member-showcase-hero__contacts {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
}

body.page-people-item .aio-member-showcase-hero__clubs a {
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    background: rgba(248,245,239,.10) !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-showcase-hero__clubs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.page-people-item .aio-member-showcase-hero__clubs em {
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-showcase-hero__contacts {
    margin-top: 18px !important;
}

body.page-people-item .aio-member-showcase-hero__contacts a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 0 18px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(248,245,239,.22) !important;
    background: rgba(169, 67, 43, .88) !important;
    color: #fff !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-showcase-hero__contacts a:hover {
    background: #F8F5EF !important;
    color: #161514 !important;
}

body.page-people-item .aio-member-showcase-tabs {
    position: relative !important;
    z-index: 8 !important;
    background: rgba(248,245,239,.94) !important;
    border-top: 1px solid rgba(45,45,45,.08) !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
}

body.page-people-item .aio-member-showcase-tabs .aio-container {
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    gap: 26px !important;
}

body.page-people-item .aio-member-showcase-tabs a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-showcase-tabs a:hover {
    color: #A9432B !important;
}

/* Собираем блок «Обо мне»: меньше простыни, больше редакционного блока */
body.page-people-item .aio-member-profile-page {
    padding-top: clamp(64px, 7vw, 96px) !important;
    background:
        radial-gradient(circle at 84% 5%, rgba(169,67,43,.07), transparent 32%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 100%) !important;
}

body.page-people-item .aio-member-about-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 330px) !important;
    gap: 28px !important;
    align-items: start !important;
}

body.page-people-item .aio-member-about-card,
body.page-people-item .aio-member-clubs-card {
    border-radius: 28px !important;
    background: rgba(255,255,255,.76) !important;
    border: 1px solid rgba(7,45,91,.08) !important;
    box-shadow: 0 22px 58px rgba(7,45,91,.08) !important;
}

body.page-people-item .aio-member-about-card {
    padding: clamp(30px, 4vw, 48px) !important;
}

body.page-people-item .aio-member-clubs-card {
    padding: 28px !important;
}

body.page-people-item .aio-member-about-card > h2 {
    max-width: 760px !important;
    margin: 0 0 30px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(38px, 4.7vw, 68px) !important;
    line-height: .94 !important;
    font-weight: 600 !important;
    letter-spacing: -.045em !important;
}

body.page-people-item .aio-member-profile-text-block {
    margin: 0 !important;
    padding: 24px 0 !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-people-item .aio-member-profile-text-block p:not(.aio-kicker) {
    max-width: 760px !important;
    margin: 10px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    color: rgba(45,45,45,.80) !important;
}

body.page-people-item .aio-member-about-card dl {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 28px 0 0 !important;
}

body.page-people-item .aio-member-about-card dl div {
    margin: 0 !important;
    padding: 18px !important;
    background: #F8F5EF !important;
    border: 1px solid rgba(7,45,91,.08) !important;
}

body.page-people-item .aio-member-about-card dt {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-about-card dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: rgba(45,45,45,.76) !important;
}

body.page-people-item .aio-member-clubs-card .aio-kicker,
body.page-people-item .aio-member-about-card .aio-kicker {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-clubs-group__title {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: 26px !important;
    line-height: 1.05 !important;
    color: #2D2D2D !important;
}

body.page-people-item .aio-member-club-row {
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(7,45,91,.08) !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-showcase-hero {
        min-height: auto !important;
    }

    body.page-people-item .aio-member-showcase-hero__photo {
        position: relative !important;
        width: 100% !important;
        height: 320px !important;
    }

    body.page-people-item .aio-member-showcase-hero__veil {
        background: linear-gradient(180deg, rgba(15,14,13,0), #11100F 100%) !important;
    }

    body.page-people-item .aio-member-showcase-hero .aio-container {
        min-height: auto !important;
        display: block !important;
    }

    body.page-people-item .aio-member-showcase-hero__content {
        max-width: none !important;
        padding: 28px 0 38px !important;
    }

    body.page-people-item .aio-member-about-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-about-card dl {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-showcase-tabs .aio-container {
        overflow-x: auto !important;
        gap: 20px !important;
    }

    body.page-people-item .aio-member-showcase-tabs a {
        white-space: nowrap !important;
    }
}

@media (max-width: 640px) {
    body.page-people-item .aio-member-showcase-hero__photo {
        height: 280px !important;
    }

    body.page-people-item .aio-member-showcase-hero__content h1 {
        font-size: clamp(34px, 12vw, 46px) !important;
    }

    body.page-people-item .aio-member-about-card {
        padding: 26px 20px !important;
        border-radius: 22px !important;
    }

    body.page-people-item .aio-member-about-card > h2 {
        font-size: clamp(34px, 11vw, 46px) !important;
    }
}


/* =========================================================
   AIO MEMBER PROFILE — EDITORIAL LUXE FIX
   Короче hero, имя капсом Cormorant, графит/красный,
   блок "Обо мне" как дорогая журнальная карточка.
   Version: 20260710-member-showcase-editorial-2
   ========================================================= */

body.page-people-item .aio-member-showcase-hero {
    min-height: clamp(295px, 30vw, 386px) !important;
    background:
        radial-gradient(circle at 88% 34%, rgba(169, 67, 43, .22), transparent 34%),
        linear-gradient(112deg, #2B2825 0%, #171615 46%, #0E0D0C 100%) !important;
}

body.page-people-item .aio-member-showcase-hero .aio-container {
    min-height: clamp(295px, 30vw, 386px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(315px, 34%) !important;
}

body.page-people-item .aio-member-showcase-hero__photo {
    width: 64% !important;
}

body.page-people-item .aio-member-showcase-hero__photo img {
    filter: grayscale(.10) sepia(.16) saturate(.70) contrast(.97) brightness(.90) !important;
}

body.page-people-item .aio-member-showcase-hero__content {
    max-width: 390px !important;
    padding: clamp(28px, 4vw, 48px) 0 !important;
}

body.page-people-item .aio-member-showcase-hero__content h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(25px, 2.75vw, 38px) !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-showcase-hero__role {
    margin-top: 12px !important;
    font-size: 13px !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-people-item .aio-member-showcase-hero__meta span {
    min-height: 25px !important;
    padding: 0 11px !important;
    background: transparent !important;
    border-color: rgba(248,245,239,.22) !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-people-item .aio-member-showcase-hero__lead {
    margin-top: 15px !important;
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    color: rgba(248,245,239,.68) !important;
}

body.page-people-item .aio-member-showcase-tabs {
    background: #F8F5EF !important;
}

body.page-people-item .aio-member-showcase-tabs a {
    color: #2D2D2D !important;
}

body.page-people-item .aio-member-showcase-tabs a:hover {
    color: #A9432B !important;
}

/* Новый редакционный блок профиля */
body.page-people-item .aio-member-editorial-page {
    padding: clamp(58px, 7vw, 92px) 0 clamp(64px, 8vw, 106px) !important;
    background:
        radial-gradient(circle at 85% 10%, rgba(169, 67, 43, .055), transparent 33%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 100%) !important;
}

body.page-people-item .aio-member-editorial-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: clamp(24px, 3vw, 36px) !important;
    align-items: start !important;
}

body.page-people-item .aio-member-editorial-main,
body.page-people-item .aio-member-editorial-aside {
    min-width: 0 !important;
}

body.page-people-item .aio-member-editorial-intro {
    position: relative !important;
    padding: clamp(34px, 4vw, 52px) clamp(34px, 4.6vw, 60px) !important;
    background: rgba(255,255,255,.72) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    box-shadow: 0 24px 70px rgba(45,45,45,.075) !important;
}

body.page-people-item .aio-member-editorial-intro::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: clamp(34px, 4.6vw, 60px) !important;
    width: 82px !important;
    height: 2px !important;
    background: #A9432B !important;
}

body.page-people-item .aio-member-editorial-intro h2 {
    max-width: 780px !important;
    margin: 14px 0 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(38px, 4.2vw, 62px) !important;
    line-height: .96 !important;
    font-weight: 600 !important;
    letter-spacing: -.04em !important;
    color: #2D2D2D !important;
}

body.page-people-item .aio-member-editorial-text-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    margin-top: 22px !important;
}

body.page-people-item .aio-member-editorial-text,
body.page-people-item .aio-member-editorial-contact {
    padding: clamp(26px, 3vw, 36px) !important;
    background: rgba(255,255,255,.58) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    box-shadow: 0 18px 48px rgba(45,45,45,.045) !important;
}

body.page-people-item .aio-member-editorial-text div,
body.page-people-item .aio-member-editorial-contact div {
    margin-top: 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.82 !important;
    color: rgba(45,45,45,.78) !important;
}

body.page-people-item .aio-member-editorial-contact {
    margin-top: 22px !important;
    border-left: 3px solid #A9432B !important;
}

body.page-people-item .aio-member-editorial-dossier,
body.page-people-item .aio-member-editorial-clubs {
    background:
        radial-gradient(circle at 90% 0%, rgba(169,67,43,.16), transparent 34%),
        linear-gradient(145deg, #2B2825 0%, #171615 100%) !important;
    color: #F8F5EF !important;
    border: 1px solid rgba(248,245,239,.10) !important;
    box-shadow: 0 24px 70px rgba(45,45,45,.12) !important;
}

body.page-people-item .aio-member-editorial-dossier {
    padding: 30px !important;
}

body.page-people-item .aio-member-editorial-dossier dl {
    margin: 18px 0 0 !important;
}

body.page-people-item .aio-member-editorial-dossier dl div {
    padding: 16px 0 !important;
    border-top: 1px solid rgba(248,245,239,.12) !important;
}

body.page-people-item .aio-member-editorial-dossier dt {
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #D78A6B !important;
}

body.page-people-item .aio-member-editorial-dossier dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: rgba(248,245,239,.78) !important;
}

body.page-people-item .aio-member-editorial-clubs {
    margin-top: 22px !important;
    padding: 28px !important;
}

body.page-people-item .aio-member-editorial-club-list {
    display: grid !important;
    gap: 0 !important;
    margin-top: 16px !important;
}

body.page-people-item .aio-member-editorial-club-list a {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 13px !important;
    align-items: center !important;
    padding: 14px 0 !important;
    border-top: 1px solid rgba(248,245,239,.12) !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-editorial-club-list span {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: rgba(248,245,239,.10) !important;
    border: 1px solid rgba(248,245,239,.14) !important;
}

body.page-people-item .aio-member-editorial-club-list img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.page-people-item .aio-member-editorial-club-list em {
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-editorial-club-list b {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 600 !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-editorial-other-clubs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 14px !important;
}

body.page-people-item .aio-member-editorial-other-clubs span {
    padding: 7px 10px !important;
    border: 1px solid rgba(248,245,239,.16) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-people-item .aio-member-editorial-page .aio-events-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-editorial-dossier .aio-events-kicker,
body.page-people-item .aio-member-editorial-clubs .aio-events-kicker {
    color: #D78A6B !important;
}

body.page-people-item .aio-member-editorial-disclaimer {
    margin-top: 26px !important;
    max-width: 920px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(45,45,45,.12) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.7 !important;
    color: rgba(45,45,45,.50) !important;
}

/* Прибираем хвосты старой карточной логики, если где-то остались */
body.page-people-item .aio-member-profile-page,
body.page-people-item .aio-member-about-grid,
body.page-people-item .aio-member-about-card,
body.page-people-item .aio-member-clubs-card {
    box-shadow: none !important;
}

/* Ниже профильные разделы должны продолжать дорогую музейную линию */
body.page-people-item .aio-member-cars-section,
body.page-people-item .aio-member-photoalbums-promos-section,
body.page-people-item .aio-member-posts-section {
    background: #F8F5EF !important;
}

body.page-people-item .aio-member-cars-section .aio-section-head h2,
body.page-people-item .aio-member-photoalbums-promos-section .aio-section-head h2,
body.page-people-item .aio-member-posts-section .aio-section-head h2 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    color: #2D2D2D !important;
    letter-spacing: -.035em !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-showcase-hero .aio-container {
        display: block !important;
        min-height: auto !important;
    }

    body.page-people-item .aio-member-showcase-hero__photo {
        position: relative !important;
        width: 100% !important;
        height: 285px !important;
    }

    body.page-people-item .aio-member-showcase-hero__content {
        max-width: none !important;
        padding: 28px 0 36px !important;
    }

    body.page-people-item .aio-member-editorial-layout,
    body.page-people-item .aio-member-editorial-text-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-editorial-aside {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 22px !important;
    }

    body.page-people-item .aio-member-editorial-clubs {
        margin-top: 0 !important;
    }
}

@media (max-width: 640px) {
    body.page-people-item .aio-member-showcase-hero__photo {
        height: 255px !important;
    }

    body.page-people-item .aio-member-showcase-hero__content h1 {
        font-size: clamp(24px, 8vw, 34px) !important;
    }

    body.page-people-item .aio-member-editorial-intro,
    body.page-people-item .aio-member-editorial-text,
    body.page-people-item .aio-member-editorial-contact,
    body.page-people-item .aio-member-editorial-dossier,
    body.page-people-item .aio-member-editorial-clubs {
        padding: 24px 20px !important;
    }

    body.page-people-item .aio-member-editorial-intro h2 {
        font-size: clamp(34px, 10vw, 44px) !important;
    }

    body.page-people-item .aio-member-editorial-aside {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   AIO MEMBER PROFILE RESET — expensive, compact, editorial
   Version: 20260710-member-profile-reset-expensive-1
   ========================================================= */

body.page-people-item .aio-member-editorial-page,
body.page-people-item .aio-member-profile-page {
    display: none !important;
}

body.page-people-item .aio-member-showcase-hero {
    min-height: clamp(300px, 31vw, 390px) !important;
    background:
        radial-gradient(circle at 86% 28%, rgba(169, 67, 43, .20), transparent 34%),
        linear-gradient(112deg, #2B2825 0%, #181716 52%, #0D0D0C 100%) !important;
}

body.page-people-item .aio-member-showcase-hero .aio-container {
    min-height: clamp(300px, 31vw, 390px) !important;
}

body.page-people-item .aio-member-showcase-hero__content h1,
body.page-people-item .aio-member-profile-hero__content h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(25px, 2.8vw, 38px) !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-reset-page {
    padding: clamp(46px, 6vw, 76px) 0 clamp(52px, 7vw, 86px) !important;
    background:
        radial-gradient(circle at 88% 12%, rgba(169, 67, 43, .045), transparent 32%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 100%) !important;
}

body.page-people-item .aio-member-reset-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: clamp(24px, 3vw, 36px) !important;
    align-items: start !important;
}

body.page-people-item .aio-member-reset-summary {
    position: relative !important;
    padding: clamp(30px, 4vw, 46px) clamp(34px, 5vw, 58px) !important;
    background: rgba(255,255,255,.70) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    box-shadow: 0 22px 60px rgba(45,45,45,.060) !important;
}

body.page-people-item .aio-member-reset-summary::before {
    content: "" !important;
    position: absolute !important;
    left: clamp(34px, 5vw, 58px) !important;
    top: 0 !important;
    width: 76px !important;
    height: 2px !important;
    background: #A9432B !important;
}

body.page-people-item .aio-member-reset-summary h2 {
    margin: 14px 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: .98 !important;
    font-weight: 600 !important;
    letter-spacing: -.035em !important;
    color: #2D2D2D !important;
}

body.page-people-item .aio-member-reset-summary p:not(.aio-events-kicker) {
    max-width: 720px !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.78 !important;
    color: rgba(45,45,45,.72) !important;
}

body.page-people-item .aio-member-reset-story-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

body.page-people-item .aio-member-reset-story {
    max-height: 360px !important;
    overflow: auto !important;
    padding: 28px !important;
    background: rgba(255,255,255,.52) !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    box-shadow: 0 16px 42px rgba(45,45,45,.035) !important;
}

body.page-people-item .aio-member-reset-story div {
    margin-top: 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.78 !important;
    color: rgba(45,45,45,.73) !important;
}

body.page-people-item .aio-member-reset-side {
    display: grid !important;
    gap: 18px !important;
}

body.page-people-item .aio-member-reset-dossier,
body.page-people-item .aio-member-reset-clubs {
    padding: 28px !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(169,67,43,.17), transparent 36%),
        linear-gradient(145deg, #2B2825 0%, #171615 100%) !important;
    color: #F8F5EF !important;
    border: 1px solid rgba(248,245,239,.10) !important;
    box-shadow: 0 22px 62px rgba(45,45,45,.13) !important;
}

body.page-people-item .aio-member-reset-dossier dl {
    margin: 16px 0 0 !important;
}

body.page-people-item .aio-member-reset-dossier dl div {
    padding: 14px 0 !important;
    border-top: 1px solid rgba(248,245,239,.12) !important;
}

body.page-people-item .aio-member-reset-dossier dt {
    margin: 0 0 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #D78A6B !important;
}

body.page-people-item .aio-member-reset-dossier dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: rgba(248,245,239,.78) !important;
}

body.page-people-item .aio-member-reset-club {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 13px !important;
    align-items: center !important;
    padding: 14px 0 !important;
    border-top: 1px solid rgba(248,245,239,.12) !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-reset-club span {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: rgba(248,245,239,.10) !important;
    border: 1px solid rgba(248,245,239,.14) !important;
}

body.page-people-item .aio-member-reset-club img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.page-people-item .aio-member-reset-club b {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: 21px !important;
    line-height: 1.05 !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-reset-other-clubs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

body.page-people-item .aio-member-reset-other-clubs em {
    padding: 7px 10px !important;
    border: 1px solid rgba(248,245,239,.15) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-style: normal !important;
    font-size: 10px !important;
    color: rgba(248,245,239,.74) !important;
}

body.page-people-item .aio-member-reset-contact,
body.page-people-item .aio-member-reset-disclaimer {
    padding: 20px 0 0 !important;
    border-top: 1px solid rgba(45,45,45,.14) !important;
    background: transparent !important;
}

body.page-people-item .aio-member-reset-contact p:not(.aio-events-kicker),
body.page-people-item .aio-member-reset-disclaimer {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.7 !important;
    color: rgba(45,45,45,.55) !important;
}

body.page-people-item .aio-member-reset-page .aio-events-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-reset-dossier .aio-events-kicker,
body.page-people-item .aio-member-reset-clubs .aio-events-kicker {
    color: #D78A6B !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-reset-layout,
    body.page-people-item .aio-member-reset-story-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-reset-side {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 640px) {
    body.page-people-item .aio-member-reset-side {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-reset-summary,
    body.page-people-item .aio-member-reset-story,
    body.page-people-item .aio-member-reset-dossier,
    body.page-people-item .aio-member-reset-clubs {
        padding: 22px !important;
    }

    body.page-people-item .aio-member-reset-summary h2 {
        font-size: 34px !important;
    }
}


/* AIO_MEMBER_PROFILE_REBUILD_FINAL_START */

/* /people/:slug — дорогая журнальная карточка участника */

body.page-people-item .aio-main {
    background:
        radial-gradient(circle at 12% 0%, rgba(200, 87, 38, .055), transparent 34%),
        radial-gradient(circle at 82% 14%, rgba(7, 45, 91, .06), transparent 36%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 100%) !important;
}

/* Верхняя навигация профиля */
body.page-people-item .aio-member-reset-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 8 !important;
    background: rgba(248,245,239,.92) !important;
    border-bottom: 1px solid rgba(7,45,91,.11) !important;
    backdrop-filter: blur(10px) !important;
}

body.page-people-item .aio-member-reset-nav .aio-container {
    display: flex !important;
    gap: 28px !important;
    align-items: center !important;
    min-height: 58px !important;
}

body.page-people-item .aio-member-reset-nav a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-reset-nav a:hover {
    color: #A9432B !important;
}

/* Основной блок */
body.page-people-item .aio-member-reset-page {
    padding: clamp(64px, 8vw, 108px) 0 clamp(74px, 8vw, 116px) !important;
}

body.page-people-item .aio-member-reset-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
    gap: clamp(28px, 4vw, 54px) !important;
    align-items: start !important;
}

body.page-people-item .aio-member-reset-main {
    display: grid !important;
    gap: 28px !important;
}

body.page-people-item .aio-member-reset-side {
    display: grid !important;
    gap: 24px !important;
}

/* Карточки */
body.page-people-item .aio-member-reset-intro-card,
body.page-people-item .aio-member-reset-story-card,
body.page-people-item .aio-member-reset-contact-card {
    position: relative !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.52), rgba(248,245,239,.90)),
        linear-gradient(135deg, rgba(200,87,38,.035), transparent 42%) !important;
    border: 1px solid rgba(7,45,91,.11) !important;
    box-shadow: 0 24px 60px rgba(7,45,91,.07) !important;
    padding: clamp(34px, 4.4vw, 58px) !important;
}

body.page-people-item .aio-member-reset-intro-card::before,
body.page-people-item .aio-member-reset-story-card::before,
body.page-people-item .aio-member-reset-contact-card::before {
    content: "" !important;
    position: absolute !important;
    left: clamp(34px, 4.4vw, 58px) !important;
    top: 0 !important;
    width: 96px !important;
    height: 3px !important;
    background: #A9432B !important;
}

/* Капсовый Cormorant, но в нормальном размере */
body.page-people-item .aio-member-reset-intro-card h2,
body.page-people-item .aio-member-reset-story-card h2 {
    max-width: 720px !important;
    margin: 12px 0 22px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #1F2428 !important;
}

body.page-people-item .aio-member-reset-lead {
    max-width: 760px !important;
    margin: 0 0 22px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(26px, 2.6vw, 38px) !important;
    line-height: 1.16 !important;
    color: #252525 !important;
}

body.page-people-item .aio-member-reset-text,
body.page-people-item .aio-member-reset-story-text,
body.page-people-item .aio-member-reset-contact-card p {
    max-width: 760px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
    color: rgba(31,36,40,.75) !important;
    white-space: pre-line !important;
}

body.page-people-item .aio-member-reset-story-text {
    max-height: 360px !important;
    overflow: auto !important;
    padding-right: 18px !important;
}

/* Досье справа */
body.page-people-item .aio-member-reset-dossier,
body.page-people-item .aio-member-reset-clubs {
    background:
        radial-gradient(circle at 100% 0%, rgba(169,67,43,.18), transparent 38%),
        linear-gradient(145deg, #151515 0%, #061F3E 100%) !important;
    border: 1px solid rgba(242,227,207,.18) !important;
    box-shadow: 0 28px 70px rgba(7,45,91,.18) !important;
    padding: 30px !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-reset-dossier .aio-events-kicker,
body.page-people-item .aio-member-reset-clubs .aio-events-kicker {
    color: #E2A088 !important;
}

body.page-people-item .aio-member-reset-dossier dl {
    display: grid !important;
    gap: 0 !important;
    margin: 20px 0 0 !important;
}

body.page-people-item .aio-member-reset-dossier dl div {
    padding: 17px 0 !important;
    border-top: 1px solid rgba(248,245,239,.14) !important;
}

body.page-people-item .aio-member-reset-dossier dt {
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #C86C52 !important;
}

body.page-people-item .aio-member-reset-dossier dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: rgba(248,245,239,.82) !important;
}

/* Клубы */
body.page-people-item .aio-member-reset-club-group {
    display: grid !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

body.page-people-item .aio-member-reset-club-group + .aio-member-reset-club-group {
    margin-top: 28px !important;
    padding-top: 22px !important;
    border-top: 1px solid rgba(248,245,239,.13) !important;
}

body.page-people-item .aio-member-reset-club-group > span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.50) !important;
}

body.page-people-item .aio-member-reset-club-row {
    display: grid !important;
    grid-template-columns: 46px 1fr !important;
    gap: 13px !important;
    align-items: center !important;
    min-height: 54px !important;
    text-decoration: none !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-reset-club-row em {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.35) !important;
    background: rgba(248,245,239,.08) !important;
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #E2A088 !important;
    overflow: hidden !important;
}

body.page-people-item .aio-member-reset-club-row img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 6px !important;
}

body.page-people-item .aio-member-reset-club-row strong {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 500 !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-reset-club-row:hover strong {
    color: #E2A088 !important;
}

body.page-people-item .aio-member-reset-disclaimer {
    margin: 24px 0 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(248,245,239,.13) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.7 !important;
    color: rgba(248,245,239,.48) !important;
}

body.page-people-item .aio-member-reset-disclaimer_single {
    margin: 0 !important;
    padding: 20px 0 0 !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
    color: rgba(31,36,40,.48) !important;
}

/* Связь */
body.page-people-item .aio-member-reset-contact-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 18px !important;
}

body.page-people-item .aio-member-reset-contact-links a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 42px !important;
    padding: 0 20px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    text-decoration: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-reset-contact-links a:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
}

/* Чтобы следующие разделы не спорили с новым блоком */
body.page-people-item .aio-member-cars-section,
body.page-people-item .aio-member-photoalbums-promos-section,
body.page-people-item .aio-member-posts-section {
    padding-top: clamp(70px, 8vw, 110px) !important;
}

/* Mobile */
@media (max-width: 980px) {
    body.page-people-item .aio-member-reset-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-reset-side {
        max-width: none !important;
    }

    body.page-people-item .aio-member-reset-nav .aio-container {
        overflow-x: auto !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 640px) {
    body.page-people-item .aio-member-showcase-hero {
        min-height: auto !important;
    }

    body.page-people-item .aio-member-reset-intro-card,
    body.page-people-item .aio-member-reset-story-card,
    body.page-people-item .aio-member-reset-contact-card,
    body.page-people-item .aio-member-reset-dossier,
    body.page-people-item .aio-member-reset-clubs {
        padding: 26px !important;
    }

    body.page-people-item .aio-member-reset-intro-card h2,
    body.page-people-item .aio-member-reset-story-card h2 {
        font-size: 28px !important;
    }
}

/* AIO_MEMBER_PROFILE_REBUILD_FINAL_END */


/* AIO_MEMBER_ABOUT_TUNE_START */

/* Лёгкая настройка утверждённого hero: только чуть компактнее имя и высота */
body.page-people-item .aio-member-showcase-hero h1 {
    font-size: clamp(43px, 5.08vw, 75px) !important;
}

body.page-people-item .aio-member-showcase-hero {
    min-height: clamp(410px, 47vh, 560px) !important;
}

/* Первый блок под hero поднимаем ближе к навигации */
body.page-people-item .aio-member-reset-page {
    padding-top: clamp(34px, 4.2vw, 58px) !important;
}

/* Убираем красные верхние полосы на карточках */
body.page-people-item .aio-member-reset-intro-card::before,
body.page-people-item .aio-member-reset-story-card::before,
body.page-people-item .aio-member-reset-contact-card::before {
    display: none !important;
}

/* Визитная фраза: не огромный заголовок блока, а красивая формула участника */
body.page-people-item .aio-member-reset-intro-card {
    padding: clamp(34px, 4vw, 50px) clamp(38px, 4.6vw, 62px) !important;
}

body.page-people-item .aio-member-reset-intro-card h2 {
    max-width: 780px !important;
    margin: 14px 0 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 4.1vw, 58px) !important;
    line-height: 1.04 !important;
    font-weight: 500 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;
    color: #202326 !important;
}

/* История увлечения — без внутренней прокрутки */
body.page-people-item .aio-member-reset-story-card {
    padding: clamp(34px, 4vw, 50px) clamp(38px, 4.6vw, 62px) !important;
}

body.page-people-item .aio-member-reset-story-card h2 {
    display: none !important;
}

body.page-people-item .aio-member-reset-story-text {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
    color: rgba(31,36,40,.74) !important;
    white-space: pre-line !important;
}

/* Правая колонка: связь такая же дорогая, как досье */
body.page-people-item .aio-member-reset-contact-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.52), rgba(248,245,239,.90)),
        linear-gradient(135deg, rgba(200,87,38,.04), transparent 42%) !important;
    border: 1px solid rgba(7,45,91,.11) !important;
    box-shadow: 0 24px 60px rgba(7,45,91,.07) !important;
    padding: 28px !important;
}

body.page-people-item .aio-member-reset-contact-card p:not(.aio-events-kicker) {
    margin: 14px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: rgba(31,36,40,.72) !important;
}

/* Незарегистрированные клубы — строго отдельными строками */
body.page-people-item .aio-member-reset-club-group {
    display: grid !important;
    grid-template-columns: 1fr !important;
}

body.page-people-item .aio-member-reset-club-row,
body.page-people-item .aio-member-reset-club-row_plain {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    align-items: center !important;
}

body.page-people-item .aio-member-reset-club-row_plain strong {
    display: block !important;
    min-width: 0 !important;
    white-space: normal !important;
}

/* Дисклеймер под клубами — красный акцент, но не крикливый */
body.page-people-item .aio-member-reset-disclaimer {
    margin-top: 24px !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid rgba(169,67,43,.35) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.65 !important;
    color: #C86C52 !important;
}

body.page-people-item .aio-member-reset-disclaimer_single {
    color: #A9432B !important;
    border-top-color: rgba(169,67,43,.22) !important;
}

/* Глобальная стрелка наверх */
.aio-back-to-top {
    position: fixed !important;
    right: 28px !important;
    bottom: 28px !important;
    z-index: 80 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.32) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(200,87,38,.28), transparent 42%),
        linear-gradient(145deg, #151515 0%, #061F3E 100%) !important;
    color: #F8F5EF !important;
    box-shadow: 0 18px 48px rgba(7,45,91,.22) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    transition: opacity .22s ease, transform .22s ease !important;
}

.aio-back-to-top.is-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.aio-back-to-top:hover {
    background:
        radial-gradient(circle at 100% 0%, rgba(200,87,38,.34), transparent 42%),
        linear-gradient(145deg, #A9432B 0%, #061F3E 100%) !important;
}

/* Мобильная аккуратность */
@media (max-width: 640px) {
    body.page-people-item .aio-member-reset-page {
        padding-top: 28px !important;
    }

    body.page-people-item .aio-member-reset-intro-card h2 {
        font-size: 34px !important;
    }

    .aio-back-to-top {
        right: 18px !important;
        bottom: 18px !important;
        width: 42px !important;
        height: 42px !important;
    }
}

/* AIO_MEMBER_ABOUT_TUNE_END */


/* AIO_MEMBER_HERO_DOSSIER_COMPOSE_START */

/* HERO: оставляем утверждённый широкий образ, но делаем правую часть настоящим досье */
body.page-people-item .aio-member-showcase-hero {
    min-height: clamp(430px, 48vh, 540px) !important;
}

body.page-people-item .aio-member-showcase-hero__content,
body.page-people-item .aio-member-hero-dossier {
    max-width: 470px !important;
    padding-top: clamp(42px, 6vh, 66px) !important;
    padding-bottom: clamp(34px, 5vh, 54px) !important;
}

/* Имя: Cormorant, капсом, тоньше и примерно в два раза спокойнее */
body.page-people-item .aio-member-showcase-hero h1 {
    margin: 12px 0 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(32px, 3.15vw, 48px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-showcase-hero__role {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: rgba(248,245,239,.78) !important;
}

body.page-people-item .aio-member-hero-dossier__pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 18px !important;
}

body.page-people-item .aio-member-hero-dossier__pills span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    background: rgba(10,10,10,.22) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.82) !important;
}

body.page-people-item .aio-member-hero-dossier__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin: 0 0 18px !important;
}

body.page-people-item .aio-member-hero-dossier__grid div,
body.page-people-item .aio-member-hero-dossier__contact,
body.page-people-item .aio-member-hero-dossier__clubs {
    border-top: 1px solid rgba(248,245,239,.14) !important;
    padding-top: 12px !important;
}

body.page-people-item .aio-member-hero-dossier em {
    display: block !important;
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    font-style: normal !important;
    color: #C98269 !important;
}

body.page-people-item .aio-member-hero-dossier strong,
body.page-people-item .aio-member-hero-dossier__contact p {
    display: block !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    color: rgba(248,245,239,.76) !important;
}

body.page-people-item .aio-member-hero-dossier__clubs {
    margin-top: 2px !important;
    margin-bottom: 16px !important;
}

body.page-people-item .aio-member-hero-dossier__clubs > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
}

body.page-people-item .aio-member-hero-dossier__clubs a {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 1px solid rgba(248,245,239,.34) !important;
    background: rgba(248,245,239,.12) !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-hero-dossier__clubs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.page-people-item .aio-member-hero-dossier__clubs span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-hero-dossier__contact {
    margin-top: 0 !important;
}

body.page-people-item .aio-member-hero-dossier__contact > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 10px !important;
}

body.page-people-item .aio-member-hero-dossier__contact a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 7px 11px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.23) !important;
    background: rgba(248,245,239,.08) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.86) !important;
    text-decoration: none !important;
}

/* Меню под hero */
body.page-people-item .aio-member-showcase-tabs {
    min-height: 48px !important;
}

/* Первый блок ближе к hero */
body.page-people-item .aio-member-reset-page {
    padding-top: clamp(24px, 3.2vw, 42px) !important;
}

/* Компоновка: формула+история слева, клубы справа, всё компактнее */
body.page-people-item .aio-member-about-compose {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 31%) !important;
    gap: clamp(26px, 4vw, 48px) !important;
    align-items: start !important;
}

body.page-people-item .aio-member-reset-main {
    display: grid !important;
    gap: 20px !important;
}

body.page-people-item .aio-member-personal-formula,
body.page-people-item .aio-member-hobby-story {
    border: 1px solid rgba(7,45,91,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.78), rgba(248,245,239,.88)),
        radial-gradient(circle at 0 0, rgba(200,87,38,.055), transparent 40%) !important;
    box-shadow: 0 20px 60px rgba(7,45,91,.06) !important;
}

body.page-people-item .aio-member-personal-formula {
    padding: clamp(28px, 3.5vw, 44px) clamp(34px, 4.2vw, 56px) !important;
}

body.page-people-item .aio-member-personal-formula::before,
body.page-people-item .aio-member-hobby-story::before {
    display: none !important;
}

body.page-people-item .aio-member-personal-formula h2 {
    max-width: 760px !important;
    margin: 14px 0 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.45vw, 35px) !important;
    line-height: 1.12 !important;
    font-weight: 400 !important;
    letter-spacing: .075em !important;
    text-transform: uppercase !important;
    color: #202326 !important;
}

body.page-people-item .aio-member-hobby-story {
    padding: clamp(28px, 3.2vw, 42px) clamp(34px, 4.2vw, 56px) !important;
}

body.page-people-item .aio-member-reset-story-text {
    max-height: 270px !important;
    overflow: auto !important;
    padding-right: 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.86 !important;
    color: rgba(31,36,40,.74) !important;
    white-space: pre-line !important;
}

body.page-people-item .aio-member-reset-story-text::-webkit-scrollbar {
    width: 5px !important;
}

body.page-people-item .aio-member-reset-story-text::-webkit-scrollbar-thumb {
    background: rgba(169,67,43,.42) !important;
    border-radius: 999px !important;
}

/* Клубы: каждый указанный участником клуб отдельной строкой */
body.page-people-item .aio-member-clubs-compose {
    display: block !important;
}

body.page-people-item .aio-member-reset-clubs {
    padding: 30px 28px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(169,67,43,.15), transparent 38%),
        linear-gradient(145deg, #141414 0%, #061F3E 100%) !important;
    border: 1px solid rgba(242,227,207,.10) !important;
    box-shadow: 0 28px 70px rgba(7,45,91,.18) !important;
}

body.page-people-item .aio-member-reset-club-group {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 22px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(248,245,239,.13) !important;
}

body.page-people-item .aio-member-reset-club-group > span {
    display: block !important;
    margin: 0 0 2px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #C98269 !important;
}

body.page-people-item .aio-member-reset-club-row,
body.page-people-item .aio-member-reset-club-row_plain {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 13px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-reset-club-row em {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: 1px solid rgba(248,245,239,.25) !important;
    background: rgba(248,245,239,.08) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-style: normal !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-reset-club-row img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.page-people-item .aio-member-reset-club-row strong {
    display: block !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 500 !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-reset-disclaimer {
    margin-top: 24px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(169,67,43,.34) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
    color: #C98269 !important;
}

/* Нижнюю связь из прошлого варианта полностью скрываем */
body.page-people-item .aio-member-reset-contact-card {
    display: none !important;
}

/* Адаптив */
@media (max-width: 980px) {
    body.page-people-item .aio-member-about-compose {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-hero-dossier__grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    body.page-people-item .aio-member-showcase-hero {
        min-height: auto !important;
    }

    body.page-people-item .aio-member-showcase-hero h1 {
        font-size: 34px !important;
    }

    body.page-people-item .aio-member-showcase-hero__content,
    body.page-people-item .aio-member-hero-dossier {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    body.page-people-item .aio-member-personal-formula h2 {
        font-size: 25px !important;
    }

    body.page-people-item .aio-member-reset-story-text {
        max-height: 260px !important;
    }
}

/* AIO_MEMBER_HERO_DOSSIER_COMPOSE_END */


/* AIO_MEMBER_HERO_FULLSCREEN_TUNE_START */

/* Hero должен занимать первый экран вместе с вкладками, без куска следующего блока */
body.page-people-item .aio-member-showcase-hero {
    min-height: calc(100vh - 158px) !important;
    min-height: calc(100svh - 158px) !important;
}

body.page-people-item .aio-member-showcase-hero__content,
body.page-people-item .aio-member-hero-dossier {
    padding-top: clamp(36px, 5vh, 58px) !important;
    padding-bottom: clamp(30px, 4vh, 46px) !important;
}

/* Имя ещё меньше и тоньше */
body.page-people-item .aio-member-showcase-hero h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(24px, 2.15vw, 34px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
}

/* Правая часть hero чуть компактнее, чтобы досье не расползалось */
body.page-people-item .aio-member-hero-dossier__grid {
    gap: 10px !important;
    margin-bottom: 14px !important;
}

body.page-people-item .aio-member-hero-dossier__grid div,
body.page-people-item .aio-member-hero-dossier__contact,
body.page-people-item .aio-member-hero-dossier__clubs {
    padding-top: 10px !important;
}

body.page-people-item .aio-member-hero-dossier strong,
body.page-people-item .aio-member-hero-dossier__contact p {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
}

body.page-people-item .aio-member-hero-dossier__clubs a {
    width: 38px !important;
    height: 38px !important;
}

body.page-people-item .aio-member-hero-dossier__contact a {
    min-height: 26px !important;
    padding: 6px 10px !important;
    font-size: 9px !important;
}

/* Нижний блок начинается сразу после вкладок, но уже не виден на первом экране */
body.page-people-item .aio-member-reset-page {
    padding-top: clamp(28px, 4vw, 52px) !important;
}

/* "Коротко о себе": не плакат, а спокойная журнальная карточка */
body.page-people-item .aio-member-personal-formula {
    padding: clamp(24px, 3vw, 36px) clamp(30px, 4vw, 50px) !important;
}

body.page-people-item .aio-member-personal-formula h2 {
    max-width: 720px !important;
    margin-top: 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(18px, 1.55vw, 24px) !important;
    line-height: 1.22 !important;
    font-weight: 400 !important;
    letter-spacing: .075em !important;
    text-transform: uppercase !important;
}

/* История увлечения: ограничена, но без ощущения обрезанной технической области */
body.page-people-item .aio-member-reset-story-text {
    max-height: 250px !important;
    font-size: 13.5px !important;
    line-height: 1.82 !important;
}

/* Клубы участника: каждая строка отдельно, без склеивания */
body.page-people-item .aio-member-reset-club-group {
    grid-template-columns: 1fr !important;
}

body.page-people-item .aio-member-reset-club-row,
body.page-people-item .aio-member-reset-club-row_plain {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    width: 100% !important;
    gap: 13px !important;
    white-space: normal !important;
}

body.page-people-item .aio-member-reset-club-row strong {
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    font-size: 20px !important;
    line-height: 1.12 !important;
}

/* Если у участника нет клубов, правая колонка не должна оставаться пустой */
body.page-people-item .aio-member-reset-disclaimer_single {
    padding: 26px 28px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(169,67,43,.15), transparent 38%),
        linear-gradient(145deg, #141414 0%, #061F3E 100%) !important;
    border: 1px solid rgba(242,227,207,.10) !important;
    color: #C98269 !important;
}

/* Кнопка наверх — уже сейчас для всего сайта */
.aio-back-to-top {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 1200 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(248,245,239,.35) !important;
    background: rgba(7, 45, 91, .92) !important;
    color: #F8F5EF !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1 !important;
    box-shadow: 0 18px 44px rgba(7,45,91,.28) !important;
    opacity: .88 !important;
}

.aio-back-to-top:hover {
    opacity: 1 !important;
    background: #A9432B !important;
}

/* AIO_MEMBER_HERO_FULLSCREEN_TUNE_END */


/* AIO_MEMBER_ABOUT_DYNAMIC_CLUBS_START */

/* Когда клубы есть: левая и правая часть должны смотреться как единый экранный блок */
body.page-people-item .aio-member-reset-layout.has-clubs {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px) !important;
    align-items: stretch !important;
    gap: clamp(28px, 3.4vw, 52px) !important;
}

body.page-people-item .aio-member-reset-layout.has-clubs .aio-member-reset-main {
    display: grid !important;
    grid-template-rows: auto 1fr !important;
    gap: 18px !important;
}

body.page-people-item .aio-member-reset-layout.has-clubs .aio-member-reset-clubs {
    height: 100% !important;
    min-height: 100% !important;
}

body.page-people-item .aio-member-reset-layout.has-clubs .aio-member-reset-story {
    min-height: 0 !important;
    height: 100% !important;
}

body.page-people-item .aio-member-reset-layout.has-clubs .aio-member-reset-story-text {
    max-height: none !important;
    height: clamp(300px, 37vh, 430px) !important;
    overflow-y: auto !important;
}

/* Когда клубов нет: правая колонка исчезает, а текстовая часть занимает всю ширину */
body.page-people-item .aio-member-reset-layout.no-clubs {
    display: block !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-main {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr) !important;
    gap: clamp(20px, 2.8vw, 38px) !important;
    align-items: stretch !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-personal-formula,
body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-story {
    height: 100% !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-story-text {
    max-height: none !important;
    height: clamp(260px, 34vh, 390px) !important;
    overflow-y: auto !important;
}

/* Если правого блока нет, формула не должна быть огромным пустым плакатом */
body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-personal-formula h2 {
    max-width: 760px !important;
}

/* Если клубы есть, чуть подтягиваем композицию вверх и уплотняем */
body.page-people-item .aio-member-reset-page {
    padding-top: clamp(22px, 3vw, 38px) !important;
}

body.page-people-item .aio-member-personal-formula {
    min-height: 0 !important;
}

body.page-people-item .aio-member-reset-clubs {
    align-self: stretch !important;
}

/* На узких экранах всё становится одной колонкой */
@media (max-width: 980px) {
    body.page-people-item .aio-member-reset-layout.has-clubs,
    body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-main {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-reset-layout.has-clubs .aio-member-reset-story-text,
    body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-story-text {
        height: auto !important;
        max-height: 360px !important;
    }
}

/* AIO_MEMBER_ABOUT_DYNAMIC_CLUBS_END */


/* AIO_MEMBER_MANUAL_CLUBS_ONLY_START */

/* Нижний блок клубов теперь показывает только клубы, введённые участником вручную.
   Клубы на площадке АИО остаются только в hero и не дублируются ниже. */

body.page-people-item .aio-member-reset-layout.no-clubs {
    grid-template-columns: 1fr !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-main {
    max-width: none !important;
    width: 100% !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-personal-formula {
    max-width: none !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-story {
    max-width: none !important;
}

/* Если ручные клубы есть — карточка короче и чище */
body.page-people-item .aio-member-reset-clubs {
    padding-top: clamp(30px, 3.4vw, 48px) !important;
    padding-bottom: clamp(28px, 3vw, 42px) !important;
}

body.page-people-item .aio-member-reset-clubs > .aio-events-kicker {
    margin-bottom: 24px !important;
}

body.page-people-item .aio-member-reset-clubs-group {
    padding-top: 0 !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
}

body.page-people-item .aio-member-reset-clubs-group__title {
    margin: 24px 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: rgba(207,126,99,.92) !important;
}

body.page-people-item .aio-member-reset-club-row {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 15px !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 0 !important;
}

body.page-people-item .aio-member-reset-club-row span {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    background: rgba(255,255,255,.055) !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
}

body.page-people-item .aio-member-reset-club-row em {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    font-style: normal !important;
    color: rgba(255,255,255,.75) !important;
}

body.page-people-item .aio-member-reset-club-row b {
    display: block !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(23px, 1.8vw, 30px) !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.94) !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

/* Дисклеймер — не часть карточки клубов, а отдельная музейная служебная строка */
body.page-people-item .aio-member-reset-legal-note {
    max-width: 980px !important;
    margin: clamp(20px, 2.5vw, 34px) 0 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(169,67,43,.22) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
    color: rgba(86,77,67,.58) !important;
}

/* Если нет ручных клубов — дисклеймер не должен создавать ощущение пустого правого блока */
body.page-people-item .aio-member-reset-layout.no-clubs + .aio-member-reset-legal-note {
    max-width: 1120px !important;
}

/* Чуть спокойнее формула: пока оставляем как рабочий вариант, без тяжёлой гигантомании */
body.page-people-item .aio-member-personal-formula h2 {
    font-size: clamp(25px, 2.35vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: .115em !important;
}

/* AIO_MEMBER_MANUAL_CLUBS_ONLY_END */


/* AIO_MEMBER_ABOUT_CLEAN_DYNAMIC_START */

/* Нижний блок сразу после hero: чище и без пустой правой сиротской карточки */
body.page-people-item .aio-member-reset-page {
    padding-top: clamp(32px, 4vw, 54px) !important;
}

/* Если ручных клубов нет — весь блок идет в одну широкую колонку */
body.page-people-item .aio-member-reset-layout.no-clubs {
    display: block !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-main {
    width: 100% !important;
    max-width: none !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-personal-formula,
body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-story {
    max-width: none !important;
}

/* Если клубы есть — сетка: слева текст, справа клубы */
body.page-people-item .aio-member-reset-layout.has-clubs {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px) !important;
    gap: clamp(28px, 4vw, 56px) !important;
    align-items: start !important;
}

/* Коротко о себе: должно быть не афиша на полэкрана, а плотная визитная фраза */
body.page-people-item .aio-member-personal-formula {
    padding: clamp(34px, 4.2vw, 58px) clamp(34px, 4.8vw, 68px) !important;
    min-height: 0 !important;
}

body.page-people-item .aio-member-personal-formula .aio-events-kicker {
    margin-bottom: 16px !important;
}

body.page-people-item .aio-member-personal-formula h2 {
    max-width: 900px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(20px, 1.75vw, 31px) !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: .105em !important;
    text-transform: uppercase !important;
    color: #202225 !important;
}

/* История увлечения: аккуратная карточка, без гигантского провала */
body.page-people-item .aio-member-reset-story {
    margin-top: 22px !important;
    padding: clamp(34px, 4.2vw, 56px) clamp(34px, 4.8vw, 68px) !important;
    max-height: 390px !important;
    overflow: auto !important;
}

body.page-people-item .aio-member-reset-story p:not(.aio-events-kicker) {
    font-size: 15px !important;
    line-height: 1.85 !important;
}

/* Правая карточка клубов появляется только если есть ручные клубы */
body.page-people-item .aio-member-reset-clubs {
    display: block !important;
    padding: clamp(32px, 3.4vw, 48px) clamp(28px, 3vw, 42px) !important;
    background:
        radial-gradient(circle at 95% 12%, rgba(169,67,43,.20), transparent 34%),
        linear-gradient(135deg, #11131a 0%, #061f35 100%) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow: 0 26px 60px rgba(13,20,28,.20) !important;
}

body.page-people-item .aio-member-reset-clubs > .aio-events-kicker {
    margin: 0 0 24px !important;
    color: rgba(207,126,99,.95) !important;
}

body.page-people-item .aio-member-reset-clubs-group {
    border-top: 1px solid rgba(255,255,255,.14) !important;
    padding-top: 22px !important;
}

body.page-people-item .aio-member-reset-clubs-group__title {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: rgba(207,126,99,.92) !important;
}

body.page-people-item .aio-member-reset-club-row {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 15px !important;
    align-items: center !important;
    padding: 13px 0 !important;
}

body.page-people-item .aio-member-reset-club-row span {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    background: rgba(255,255,255,.055) !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
}

body.page-people-item .aio-member-reset-club-row em {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    font-style: normal !important;
    color: rgba(255,255,255,.74) !important;
}

body.page-people-item .aio-member-reset-club-row b {
    display: block !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(22px, 1.55vw, 28px) !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.94) !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

/* Дисклеймер: не карточка, не справа, не занимает место клубов */
body.page-people-item .aio-member-reset-legal-note {
    max-width: 980px !important;
    margin: clamp(22px, 2.6vw, 36px) 0 0 !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(169,67,43,.20) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.65 !important;
    color: rgba(86,77,67,.54) !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs + .aio-member-reset-legal-note {
    max-width: none !important;
}

/* Подстраховка: если вдруг пустая карточка осталась от старой разметки, скрываем */
body.page-people-item .aio-member-reset-clubs:empty,
body.page-people-item .aio-member-reset-clubs:not(:has(.aio-member-reset-club-row)) {
    display: none !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-reset-layout.has-clubs {
        display: block !important;
    }

    body.page-people-item .aio-member-reset-clubs {
        margin-top: 24px !important;
    }

    body.page-people-item .aio-member-personal-formula h2 {
        font-size: clamp(19px, 5vw, 28px) !important;
    }
}

/* AIO_MEMBER_ABOUT_CLEAN_DYNAMIC_END */


/* AIO_MEMBER_ABOUT_SIDECLUBS_CLEAN_START */

/* "Коротко о себе" — меньше, плотнее, максимум ощущение 1–2 строк */
body.page-people-item .aio-member-personal-formula {
    padding: clamp(30px, 3.2vw, 46px) clamp(34px, 4.3vw, 62px) !important;
    min-height: 0 !important;
}

body.page-people-item .aio-member-personal-formula h2 {
    max-width: 920px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(15px, 1.12vw, 22px) !important;
    line-height: 1.12 !important;
    font-weight: 500 !important;
    letter-spacing: .115em !important;
    text-transform: uppercase !important;
}

/* Боковая карточка — только для клубов, указанных участником */
body.page-people-item .aio-member-reset-clubs .aio-member-reset-clubs-group__title {
    margin-bottom: 20px !important;
}

body.page-people-item .aio-member-reset-clubs > .aio-events-kicker {
    display: none !important;
}

/* На всякий случай прячем нижнее дублирование клубов платформы */
body.page-people-item .aio-member-reset-clubs-group_platform,
body.page-people-item .aio-member-reset-club-row_platform {
    display: none !important;
}

/* Если ручных клубов нет — нет правой пустой карточки */
body.page-people-item .aio-member-reset-layout.no-clubs {
    display: block !important;
}

body.page-people-item .aio-member-reset-layout.no-clubs .aio-member-reset-main {
    max-width: none !important;
    width: 100% !important;
}

/* Если ручные клубы есть — карточка справа */
body.page-people-item .aio-member-reset-layout.has-clubs {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px) !important;
    gap: clamp(28px, 4vw, 56px) !important;
}

/* История увлечения — по высоте ближе к боковой карточке */
body.page-people-item .aio-member-reset-story {
    max-height: 430px !important;
}

/* Убираем старый дисклеймер из правого блока, если браузер всё-таки получил старую разметку */
body.page-people-item .aio-member-reset-clubs .aio-member-reset-legal-note {
    display: none !important;
}

/* Новый дисклеймер — тонкая строка ниже фотоальбомов/перед публикациями */
body.page-people-item .aio-member-profile-legal {
    padding: 0 0 clamp(28px, 4vw, 54px) !important;
    background: #f8f5ef !important;
}

body.page-people-item .aio-member-profile-legal p {
    margin: 0 !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(169,67,43,.18) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.65 !important;
    color: rgba(76,66,56,.48) !important;
}

/* Стрелка наверх — чуть тише, чтобы не спорила с сайтом */
body.page-people-item .aio-back-to-top,
.aio-back-to-top {
    z-index: 80 !important;
}

/* AIO_MEMBER_ABOUT_SIDECLUBS_CLEAN_END */


/* AIO_MEMBER_SIDE_PANEL_CLEAN_20260710
   Боковая карточка профиля: только клубы/команды, указанные участником.
   Клубы на площадке АИО остаются только в hero.
   Дисклеймер вынесен в нижнюю юридическую строку.
*/

body.page-people-item .aio-member-reset-layout.no-side-panel {
    grid-template-columns: 1fr !important;
}

body.page-people-item .aio-member-reset-layout.no-side-panel .aio-member-reset-main {
    max-width: none !important;
}

body.page-people-item .aio-member-reset-layout.no-side-panel .aio-member-personal-formula,
body.page-people-item .aio-member-reset-layout.no-side-panel .aio-member-hobby-story {
    width: 100% !important;
}

body.page-people-item .aio-member-reset-layout.has-side-panel {
    align-items: start !important;
}

body.page-people-item .aio-member-personal-formula h2 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(24px, 2.15vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: .08em !important;
    font-weight: 500 !important;
    max-width: 820px !important;
}

body.page-people-item .aio-member-personal-formula {
    padding-top: clamp(42px, 4.3vw, 62px) !important;
    padding-bottom: clamp(40px, 4.2vw, 58px) !important;
}

body.page-people-item .aio-member-reset-clubs {
    padding: clamp(34px, 4vw, 54px) clamp(28px, 3.2vw, 46px) !important;
    min-height: auto !important;
}

body.page-people-item .aio-member-reset-clubs > .aio-events-kicker {
    margin-bottom: 28px !important;
}

body.page-people-item .aio-member-reset-club-group {
    display: grid !important;
    gap: 24px !important;
}

body.page-people-item .aio-member-reset-club-group span {
    display: block !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #C98774 !important;
    margin-bottom: 2px !important;
}

body.page-people-item .aio-member-reset-club-row {
    display: grid !important;
    grid-template-columns: 46px 1fr !important;
    gap: 18px !important;
    align-items: center !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-reset-club-row strong {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(22px, 2vw, 31px) !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.92) !important;
}

body.page-people-item .aio-member-reset-club-row em {
    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: rgba(255,255,255,.82) !important;
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
}

body.page-people-item .aio-member-reset-disclaimer,
body.page-people-item .aio-member-reset-disclaimer_single {
    display: none !important;
}

body.page-people-item .aio-member-profile-legal {
    margin: 0 !important;
    padding: 18px 0 20px !important;
    background: rgba(248,245,239,.78) !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
}

body.page-people-item .aio-member-profile-legal p {
    max-width: none !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.7 !important;
    letter-spacing: .04em !important;
    color: rgba(45,45,45,.52) !important;
    text-align: center !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-reset-layout.has-side-panel {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-personal-formula h2 {
        font-size: clamp(22px, 6.2vw, 31px) !important;
    }
}


/* AIO_MEMBER_EDITORIAL_NO_BOXES_REAL_START */

/* Команды в hero: оставляем там же, где официальные клубы */
body.page-people-item .aio-member-hero-dossier__teams {
    margin-top: 14px !important;
}

body.page-people-item .aio-member-hero-dossier__teams em {
    color: rgba(207,126,99,.95) !important;
}

/* Ниже hero — не карточки, а журнальный разворот */
body.page-people-item .aio-member-reset-page {
    padding: clamp(54px, 6vw, 88px) 0 clamp(46px, 5vw, 74px) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(169,67,43,.045), transparent 34%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 100%) !important;
}

body.page-people-item .aio-member-reset-layout,
body.page-people-item .aio-member-about-compose,
body.page-people-item .aio-member-reset-layout.has-side-panel,
body.page-people-item .aio-member-reset-layout.no-side-panel {
    display: block !important;
}

/* Главный текстовый разворот: слева короткая формула, справа история */
body.page-people-item .aio-member-reset-main {
    display: grid !important;
    grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr) !important;
    gap: clamp(42px, 5vw, 78px) !important;
    align-items: start !important;
}

/* Полностью убираем ощущение коробок */
body.page-people-item .aio-member-personal-formula,
body.page-people-item .aio-member-reset-intro-card,
body.page-people-item .aio-member-reset-story-card,
body.page-people-item .aio-member-hobby-story {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

/* Левая колонка — как editorial lead */
body.page-people-item .aio-member-personal-formula {
    padding-top: 4px !important;
}

body.page-people-item .aio-member-personal-formula .aio-events-kicker,
body.page-people-item .aio-member-reset-story-card .aio-events-kicker {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* Коротко о себе: выразительно, но не гигантская вывеска */
body.page-people-item .aio-member-personal-formula h2 {
    max-width: 430px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 2.8vw, 43px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: .07em !important;
    color: #202020 !important;
}

/* Справа история — как журнальный текст, без рамки */
body.page-people-item .aio-member-reset-story-text {
    max-height: 360px !important;
    overflow: auto !important;
    padding-right: 30px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.88 !important;
    font-weight: 400 !important;
    color: rgba(32,32,32,.76) !important;
}

body.page-people-item .aio-member-reset-story-text::-webkit-scrollbar {
    width: 5px !important;
}

body.page-people-item .aio-member-reset-story-text::-webkit-scrollbar-track {
    background: rgba(7,45,91,.06) !important;
}

body.page-people-item .aio-member-reset-story-text::-webkit-scrollbar-thumb {
    background: rgba(169,67,43,.38) !important;
}

/* Клубы вне площадки — не чёрная коробка, а тонкая редакционная сноска ниже */
body.page-people-item .aio-member-reset-side,
body.page-people-item .aio-member-clubs-compose {
    position: static !important;
    margin-top: clamp(42px, 5vw, 70px) !important;
}

body.page-people-item .aio-member-reset-clubs {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: clamp(24px, 3vw, 36px) 0 0 !important;
    border-top: 1px solid rgba(7,45,91,.14) !important;
}

body.page-people-item .aio-member-reset-clubs .aio-events-kicker {
    margin: 0 0 18px !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-reset-club-group {
    display: grid !important;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) !important;
    gap: clamp(24px, 3vw, 42px) !important;
    align-items: start !important;
}

body.page-people-item .aio-member-reset-club-group > span {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: rgba(169,67,43,.88) !important;
}

body.page-people-item .aio-member-reset-club-row {
    display: inline-grid !important;
    grid-template-columns: 34px auto !important;
    gap: 12px !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 24px 14px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-decoration: none !important;
    vertical-align: top !important;
}

body.page-people-item .aio-member-reset-club-row em {
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(169,67,43,.22) !important;
    background: rgba(255,255,255,.25) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-reset-club-row strong {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(23px, 1.8vw, 31px) !important;
    line-height: 1.05 !important;
    font-weight: 400 !important;
    color: #202020 !important;
}

/* На этой странице больше не используем тёмную боковую коробку */
body.page-people-item .aio-member-context-card,
body.page-people-item .aio-member-reset-disclaimer,
body.page-people-item .aio-member-reset-disclaimer_single {
    display: none !important;
}

@media (max-width: 900px) {
    body.page-people-item .aio-member-reset-main {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    body.page-people-item .aio-member-personal-formula h2 {
        max-width: none !important;
        font-size: clamp(27px, 8vw, 38px) !important;
    }

    body.page-people-item .aio-member-reset-club-group {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_MEMBER_EDITORIAL_NO_BOXES_REAL_END */


/* AIO_MEMBER_STORY_1000_DENSE_START */

/* Блок "О себе": ближе к главной, но плотнее, без карточек */
body.page-people-item .aio-member-reset-page {
    padding: clamp(58px, 6vw, 88px) 0 clamp(54px, 5.6vw, 82px) !important;
}

/* Левая фраза + правая история: правый текст чуть правее, но без пустоты */
body.page-people-item .aio-member-reset-main {
    display: grid !important;
    grid-template-columns: minmax(310px, .68fr) minmax(0, 1fr) !important;
    gap: clamp(64px, 7.4vw, 132px) !important;
    align-items: start !important;
}

/* Никаких карточек вокруг короткой фразы и истории */
body.page-people-item .aio-member-personal-formula,
body.page-people-item .aio-member-reset-intro-card,
body.page-people-item .aio-member-reset-story-card,
body.page-people-item .aio-member-hobby-story,
body.page-people-item .aio-member-reset-page .aio-member-reset-main > article {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

/* Короткая формула — крупная, но не плакатная */
body.page-people-item .aio-member-personal-formula h2 {
    max-width: 560px !important;
    font-size: clamp(38px, 4.05vw, 62px) !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    letter-spacing: .012em !important;
}

/* История — меньше и плотнее, чтобы 1000 знаков могли жить красиво */
body.page-people-item .aio-member-reset-story-text {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
    max-width: 760px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14.5px, 1.02vw, 17px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(32,32,32,.72) !important;
}

/* Кикеры как на сайте */
body.page-people-item .aio-member-personal-formula .aio-events-kicker,
body.page-people-item .aio-member-reset-story-card .aio-events-kicker {
    margin-bottom: 16px !important;
}

/* Убираем следы старых боковых коробок */
body.page-people-item .aio-member-reset-side,
body.page-people-item .aio-member-clubs-compose,
body.page-people-item .aio-member-reset-clubs {
    display: none !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-reset-main {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    body.page-people-item .aio-member-personal-formula h2 {
        max-width: none !important;
        font-size: clamp(33px, 9vw, 50px) !important;
    }

    body.page-people-item .aio-member-reset-story-text {
        max-width: none !important;
        font-size: 15px !important;
        line-height: 1.75 !important;
    }
}

/* AIO_MEMBER_STORY_1000_DENSE_END */

/* AIO_MEMBER_FINAL_SOFT_FIX_START */

/* Hero: команды и иные клубы */
body.page-people-item .aio-member-hero-dossier__teams {
    margin-top: 14px !important;
}

body.page-people-item .aio-member-hero-dossier__other-clubs {
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255,255,255,.13) !important;
}

body.page-people-item .aio-member-hero-dossier__other-clubs em {
    display: block !important;
    margin: 0 0 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: rgba(207,126,99,.92) !important;
    font-style: normal !important;
}

body.page-people-item .aio-member-hero-dossier__other-clubs strong {
    display: block !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.78) !important;
}

/* About: мягкий музейный переход, без коробок */
body.page-people-item .aio-member-reset-page {
    padding: clamp(54px, 5.5vw, 82px) 0 clamp(54px, 5.5vw, 84px) !important;
    background:
        radial-gradient(circle at 18% -8%, rgba(255,255,255,.82), transparent 34%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 54%, #F2E3CF 100%) !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page-people-item .aio-member-reset-page::before,
body.page-people-item .aio-member-reset-page::after {
    display: none !important;
    content: none !important;
}

body.page-people-item .aio-member-reset-page .aio-container,
body.page-people-item .aio-member-reset-layout,
body.page-people-item .aio-member-about-compose,
body.page-people-item .aio-member-reset-main,
body.page-people-item .aio-member-personal-formula,
body.page-people-item .aio-member-reset-intro-card,
body.page-people-item .aio-member-reset-story-card,
body.page-people-item .aio-member-hobby-story {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.page-people-item .aio-member-reset-layout,
body.page-people-item .aio-member-about-compose {
    display: block !important;
}

body.page-people-item .aio-member-reset-main {
    display: grid !important;
    grid-template-columns: minmax(240px, .48fr) minmax(0, 1fr) !important;
    gap: clamp(72px, 8.5vw, 150px) !important;
    align-items: end !important;
}

body.page-people-item .aio-member-personal-formula,
body.page-people-item .aio-member-reset-story-card {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

/* Визуально убираем кикеры именно в этом блоке */
body.page-people-item .aio-member-personal-formula .aio-events-kicker,
body.page-people-item .aio-member-reset-story-card .aio-events-kicker {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

/* Короткая фраза: маленькая, журнальная, не вывеска */
body.page-people-item .aio-member-personal-formula h2 {
    max-width: 390px !important;
    margin: 0 0 4px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(18px, 1.75vw, 28px) !important;
    line-height: 1.16 !important;
    font-weight: 500 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
    color: #202020 !important;
}

body.page-people-item .aio-member-personal-formula h2::after {
    content: "" !important;
    display: block !important;
    width: 76px !important;
    height: 1px !important;
    margin-top: 18px !important;
    background: rgba(169,67,43,.55) !important;
}

/* История: плотный красивый текст справа */
body.page-people-item .aio-member-reset-story-text {
    max-width: 780px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14px, .98vw, 16px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    color: rgba(32,32,32,.70) !important;
}

/* Нижний внешний клубный блок больше не нужен */
body.page-people-item .aio-member-reset-side,
body.page-people-item .aio-member-clubs-compose,
body.page-people-item .aio-member-reset-clubs,
body.page-people-item .aio-member-context-card,
body.page-people-item .aio-member-reset-disclaimer,
body.page-people-item .aio-member-reset-disclaimer_single {
    display: none !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-reset-main {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        align-items: start !important;
    }

    body.page-people-item .aio-member-personal-formula h2 {
        max-width: none !important;
        font-size: clamp(24px, 7vw, 34px) !important;
    }

    body.page-people-item .aio-member-reset-story-text {
        max-width: none !important;
        font-size: 15px !important;
        line-height: 1.72 !important;
    }
}

/* AIO_MEMBER_FINAL_SOFT_FIX_END */

/* AIO_MEMBER_ABOUT_BOLD_1200_START */

/* Финальная настройка блока "Обо мне": ближе к главной, плотнее, без коробок */
body.page-people-item .aio-member-reset-page {
    padding: clamp(54px, 5.5vw, 82px) 0 clamp(56px, 5.8vw, 88px) !important;
    background:
        radial-gradient(circle at 18% -8%, rgba(255,255,255,.82), transparent 34%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 54%, #F2E3CF 100%) !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page-people-item .aio-member-reset-page .aio-container,
body.page-people-item .aio-member-reset-layout,
body.page-people-item .aio-member-about-compose,
body.page-people-item .aio-member-reset-main,
body.page-people-item .aio-member-personal-formula,
body.page-people-item .aio-member-reset-intro-card,
body.page-people-item .aio-member-reset-story-card,
body.page-people-item .aio-member-hobby-story {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.page-people-item .aio-member-reset-layout,
body.page-people-item .aio-member-about-compose {
    display: block !important;
}

body.page-people-item .aio-member-reset-main {
    display: grid !important;
    grid-template-columns: minmax(270px, .50fr) minmax(0, 1fr) !important;
    gap: clamp(70px, 8.2vw, 138px) !important;
    align-items: end !important;
}

/* Теперь кикер "Обо мне" видимый, как аккуратная редакционная подпись */
body.page-people-item .aio-member-personal-formula .aio-events-kicker {
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    display: block !important;
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* Кикер истории пока прячем, чтобы справа был чистый журнальный абзац */
body.page-people-item .aio-member-reset-story-card .aio-events-kicker {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

/* Левая фраза: чуть крупнее и жирнее, но не огромная афиша */
body.page-people-item .aio-member-personal-formula h2 {
    max-width: 460px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(22px, 2.18vw, 35px) !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: .005em !important;
    text-transform: none !important;
    color: #202020 !important;
}

body.page-people-item .aio-member-personal-formula h2::after {
    content: "" !important;
    display: block !important;
    width: 76px !important;
    height: 1px !important;
    margin-top: 20px !important;
    background: rgba(169,67,43,.55) !important;
}

/* Правая история: 1200 знаков помещаются плотнее и спокойнее */
body.page-people-item .aio-member-reset-story-text {
    max-width: 820px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .93vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 500 !important;
    color: rgba(32,32,32,.72) !important;
}

/* Нижние внешние клубы не возвращаем в блок "Обо мне" */
body.page-people-item .aio-member-reset-side,
body.page-people-item .aio-member-clubs-compose,
body.page-people-item .aio-member-reset-clubs,
body.page-people-item .aio-member-context-card,
body.page-people-item .aio-member-reset-disclaimer,
body.page-people-item .aio-member-reset-disclaimer_single {
    display: none !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-reset-main {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        align-items: start !important;
    }

    body.page-people-item .aio-member-personal-formula h2 {
        max-width: none !important;
        font-size: clamp(25px, 7vw, 36px) !important;
    }

    body.page-people-item .aio-member-reset-story-text {
        max-width: none !important;
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
}

/* AIO_MEMBER_ABOUT_BOLD_1200_END */

/* AIO_MEMBER_ABOUT_TEXT_POLISH_20260710_START */

/* Правая история: совсем немного крупнее и шире */
body.page-people-item .aio-member-reset-story-text {
    max-width: 860px !important;
    font-size: clamp(14.4px, 1vw, 16.2px) !important;
    line-height: 1.68 !important;
    font-weight: 500 !important;
    color: rgba(32,32,32,.74) !important;
}

/* Левая фраза — чуть ближе к главной, но без плакатности */
body.page-people-item .aio-member-personal-formula h2 {
    font-weight: 700 !important;
    font-size: clamp(23px, 2.25vw, 36px) !important;
    line-height: 1.08 !important;
}

/* AIO_MEMBER_ABOUT_TEXT_POLISH_20260710_END */

/* AIO_LK_PROFILE_PREVIEW_20260710_START */

body.page-account-profile .aio-lk-profile-preview,
body.page-account .aio-lk-profile-preview {
    margin-top: 14px !important;
    padding: 18px 20px 20px !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(255,255,255,.72), transparent 38%),
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 14px 34px rgba(7,28,52,.06) !important;
}

body.page-account-profile .aio-lk-profile-preview span,
body.page-account .aio-lk-profile-preview span {
    display: block !important;
    margin-bottom: 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-account-profile .aio-lk-profile-preview strong,
body.page-account .aio-lk-profile-preview strong {
    display: block !important;
    max-width: 360px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(22px, 2vw, 31px) !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    color: #202020 !important;
}

/* AIO_LK_PROFILE_PREVIEW_20260710_END */

/* AIO_MEMBER_CARS_MUSEUM_PASSPORT_START */

/* Section mood */
body.page-people-item .aio-member-cars-section.aio-member-cars-museum {
    position: relative !important;
    padding: clamp(58px, 5.8vw, 88px) 0 clamp(62px, 6vw, 92px) !important;
    background:
        linear-gradient(180deg, #F2E3CF 0%, #F8F5EF 44%, #F6EFE4 100%) !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
    box-shadow: none !important;
}

body.page-people-item .aio-member-cars-museum__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 32px !important;
    align-items: end !important;
    margin: 0 0 26px !important;
}

body.page-people-item .aio-member-cars-museum__head .aio-kicker {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-cars-museum__head h2 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4.1vw, 64px) !important;
    line-height: .96 !important;
    font-weight: 600 !important;
    letter-spacing: -.015em !important;
    color: #202020 !important;
}

body.page-people-item .aio-member-cars-museum__head > p {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(32,32,32,.48) !important;
}

/* Registry instead of cheap pills */
body.page-people-item .aio-member-cars-registry {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 0 !important;
    margin: 0 0 30px !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
    border-bottom: 1px solid rgba(7,45,91,.12) !important;
}

body.page-people-item .aio-member-cars-registry button {
    min-height: 58px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 12px 18px !important;
    border: 0 !important;
    border-right: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
    text-align: left !important;
}

body.page-people-item .aio-member-cars-registry button:last-child {
    border-right: 0 !important;
}

body.page-people-item .aio-member-cars-registry button em {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    color: rgba(169,67,43,.62) !important;
    font-style: normal !important;
}

body.page-people-item .aio-member-cars-registry button span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: rgba(32,32,32,.72) !important;
}

body.page-people-item .aio-member-cars-registry button small {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    color: rgba(32,32,32,.42) !important;
}

body.page-people-item .aio-member-cars-registry button.is-active {
    background: rgba(255,255,255,.44) !important;
}

body.page-people-item .aio-member-cars-registry button.is-active span,
body.page-people-item .aio-member-cars-registry button:hover span {
    color: #202020 !important;
}

/* Passport layout */
body.page-people-item .aio-member-cars-passport-grid {
    display: block !important;
}

body.page-people-item .aio-member-car-passport {
    display: none !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .78fr) !important;
    gap: clamp(28px, 4vw, 58px) !important;
    align-items: stretch !important;
    min-height: clamp(480px, 54vw, 650px) !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.page-people-item .aio-member-car-passport.is-active {
    display: grid !important;
}

body.page-people-item .aio-member-car-passport__media {
    order: 1 !important;
    position: relative !important;
    height: auto !important;
    min-height: clamp(420px, 48vw, 620px) !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(169,67,43,.22), transparent 16rem),
        linear-gradient(135deg, #07172C, #061F3E 58%, #301513) !important;
}

body.page-people-item .aio-member-car-passport__main {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: clamp(390px, 44vw, 560px) !important;
    min-height: 0 !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: rgba(7,23,44,.9) !important;
    cursor: zoom-in !important;
}

body.page-people-item .aio-member-car-passport__main::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(5,7,10,.12), rgba(5,7,10,.34)),
        radial-gradient(circle at 18% 18%, rgba(248,245,239,.18), transparent 28rem) !important;
    mix-blend-mode: multiply !important;
}

body.page-people-item .aio-member-car-passport__main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: saturate(.78) contrast(.98) brightness(.88) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

body.page-people-item .aio-member-car-passport__main:hover img {
    transform: scale(1.025) !important;
    filter: saturate(.92) contrast(1) brightness(.94) !important;
}

body.page-people-item .aio-member-car-passport__main span {
    display: grid !important;
    place-items: center !important;
    height: 100% !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(44px, 6vw, 92px) !important;
    color: rgba(248,245,239,.72) !important;
}

body.page-people-item .aio-member-car-passport__thumbs {
    display: flex !important;
    gap: 8px !important;
    padding: 0 0 0 !important;
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: transparent !important;
}

body.page-people-item .aio-member-car-passport__thumbs button {
    flex: 0 0 92px !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    padding: 0 !important;
    border: 1px solid rgba(248,245,239,.26) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    opacity: .68 !important;
}

body.page-people-item .aio-member-car-passport__thumbs button.is-active,
body.page-people-item .aio-member-car-passport__thumbs button:hover {
    opacity: 1 !important;
    border-color: rgba(248,245,239,.72) !important;
}

body.page-people-item .aio-member-car-passport__thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) brightness(.86) !important;
}

/* Dossier */
body.page-people-item .aio-member-car-passport__text {
    order: 2 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: clamp(18px, 2.5vw, 34px) 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

body.page-people-item .aio-member-car-passport__eyebrow {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-car-passport__text h3 {
    margin: 0 0 14px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(38px, 4.7vw, 72px) !important;
    line-height: .94 !important;
    font-weight: 600 !important;
    letter-spacing: -.02em !important;
    color: #202020 !important;
}

body.page-people-item .aio-member-car-passport__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 22px !important;
}

body.page-people-item .aio-member-car-passport__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 0 11px !important;
    border: 1px solid rgba(169,67,43,.18) !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    color: rgba(32,32,32,.56) !important;
    background: rgba(255,255,255,.32) !important;
}

body.page-people-item .aio-member-car-passport__lead {
    max-width: 560px !important;
    max-height: none !important;
    margin: 0 0 28px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14px, 1vw, 16px) !important;
    line-height: 1.72 !important;
    font-weight: 500 !important;
    color: rgba(32,32,32,.70) !important;
}

body.page-people-item .aio-member-car-passport__specs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
}

body.page-people-item .aio-member-car-passport__specs div {
    display: block !important;
    padding: 15px 18px 15px 0 !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
}

body.page-people-item .aio-member-car-passport__specs dt {
    margin: 0 0 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(169,67,43,.82) !important;
}

body.page-people-item .aio-member-car-passport__specs dd {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(20px, 1.6vw, 28px) !important;
    line-height: 1.05 !important;
    font-weight: 600 !important;
    color: #202020 !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-cars-museum__head {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    body.page-people-item .aio-member-cars-registry {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-cars-registry button {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(7,45,91,.10) !important;
    }

    body.page-people-item .aio-member-car-passport,
    body.page-people-item .aio-member-car-passport.is-active {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    body.page-people-item .aio-member-car-passport__media,
    body.page-people-item .aio-member-car-passport__text {
        order: initial !important;
    }

    body.page-people-item .aio-member-car-passport__specs {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_MEMBER_CARS_MUSEUM_PASSPORT_END */

/* AIO_MEMBER_CARS_WIDE_DOSSIER_START */

/* Секция автомобилей — музейный разворот, не карточки */
body.page-people-item .aio-member-cars-section.aio-member-cars-museum {
    padding: clamp(48px, 4.8vw, 74px) 0 clamp(64px, 6vw, 96px) !important;
    background:
        radial-gradient(circle at 16% 0%, rgba(255,255,255,.72), transparent 32%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
}

/* В шапке оставляем только "Коллекция" и маленький счётчик */
body.page-people-item .aio-member-cars-museum__head {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 0 0 18px !important;
}

body.page-people-item .aio-member-cars-museum__head h2 {
    display: none !important;
}

body.page-people-item .aio-member-cars-museum__head .aio-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-cars-museum__head > p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(32,32,32,.42) !important;
}

/* Переключатель: при большом количестве машин уходит в горизонтальную прокрутку */
body.page-people-item .aio-member-cars-registry {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 0 !important;
    margin: 0 0 34px !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
    border-bottom: 1px solid rgba(7,45,91,.12) !important;
    scrollbar-width: thin !important;
}

body.page-people-item .aio-member-cars-registry button {
    flex: 0 0 clamp(230px, 25vw, 330px) !important;
    min-height: 64px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 13px 20px !important;
    border: 0 !important;
    border-right: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body.page-people-item .aio-member-cars-registry button.is-active {
    background: rgba(255,255,255,.46) !important;
}

body.page-people-item .aio-member-cars-registry button span {
    font-size: clamp(20px, 1.55vw, 28px) !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
}

/* Главный разворот: фото шире, досье правее */
body.page-people-item .aio-member-car-passport {
    grid-template-columns: minmax(620px, 1.18fr) minmax(360px, .82fr) !important;
    gap: clamp(44px, 5.8vw, 92px) !important;
    align-items: start !important;
    min-height: auto !important;
}

/* Фото больше, горизонтально, без полукруглой коробки */
body.page-people-item .aio-member-car-passport__media {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

body.page-people-item .aio-member-car-passport__main {
    width: 100% !important;
    height: clamp(430px, 38vw, 620px) !important;
    min-height: 430px !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: 0 28px 70px rgba(7,28,52,.16) !important;
    background:
        radial-gradient(circle at 74% 16%, rgba(169,67,43,.22), transparent 18rem),
        linear-gradient(135deg, #07172C, #061F3E 62%, #311613) !important;
}

body.page-people-item .aio-member-car-passport__main::after {
    background:
        linear-gradient(180deg, rgba(5,7,10,.08), rgba(5,7,10,.28)),
        radial-gradient(circle at 15% 14%, rgba(248,245,239,.16), transparent 24rem) !important;
    mix-blend-mode: multiply !important;
}

body.page-people-item .aio-member-car-passport__main img {
    object-fit: cover !important;
    object-position: center !important;
    filter: saturate(.78) contrast(.98) brightness(.88) !important;
}

/* Миниатюры — крупнее и строже */
body.page-people-item .aio-member-car-passport__thumbs {
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    margin-top: 12px !important;
    gap: 10px !important;
    overflow-x: auto !important;
}

body.page-people-item .aio-member-car-passport__thumbs button {
    flex: 0 0 118px !important;
    width: 118px !important;
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    box-shadow: none !important;
    background: rgba(255,255,255,.34) !important;
    opacity: .72 !important;
}

body.page-people-item .aio-member-car-passport__thumbs button.is-active,
body.page-people-item .aio-member-car-passport__thumbs button:hover {
    opacity: 1 !important;
    border-color: rgba(169,67,43,.52) !important;
}

/* Досье: спокойная музейная инвентарная часть */
body.page-people-item .aio-member-car-passport__text {
    padding: clamp(8px, 1.2vw, 18px) 0 0 !important;
    max-width: 560px !important;
}

body.page-people-item .aio-member-car-passport__eyebrow {
    margin: 0 0 18px !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-car-passport__text h3 {
    margin: 0 0 16px !important;
    font-size: clamp(42px, 4.2vw, 70px) !important;
    line-height: .94 !important;
    font-weight: 600 !important;
    color: #202020 !important;
}

body.page-people-item .aio-member-car-passport__meta {
    margin-bottom: 24px !important;
}

body.page-people-item .aio-member-car-passport__lead {
    max-width: 520px !important;
    margin-bottom: 30px !important;
    font-size: clamp(14px, .98vw, 16px) !important;
    line-height: 1.68 !important;
    color: rgba(32,32,32,.70) !important;
}

/* Досье не как дешёвая таблица, а как музейный реестр */
body.page-people-item .aio-member-car-passport__specs {
    display: block !important;
    border-top: 1px solid rgba(7,45,91,.14) !important;
}

body.page-people-item .aio-member-car-passport__specs div {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: baseline !important;
    padding: 13px 0 !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
}

body.page-people-item .aio-member-car-passport__specs dt {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(169,67,43,.88) !important;
}

body.page-people-item .aio-member-car-passport__specs dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #072D5B !important;
}

/* Убираем наследованные круглые углы старых карточек */
body.page-people-item .aio-member-car-card,
body.page-people-item .aio-member-car-card__main,
body.page-people-item .aio-member-car-card__media,
body.page-people-item .aio-member-car-card__thumbs button {
    border-radius: 0 !important;
}

@media (max-width: 1180px) {
    body.page-people-item .aio-member-car-passport {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 32px !important;
    }

    body.page-people-item .aio-member-car-passport__text {
        max-width: none !important;
    }

    body.page-people-item .aio-member-car-passport__main {
        height: clamp(340px, 56vw, 520px) !important;
        min-height: 340px !important;
    }
}

@media (max-width: 680px) {
    body.page-people-item .aio-member-cars-registry button {
        flex-basis: 250px !important;
    }

    body.page-people-item .aio-member-car-passport__specs div {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
}

/* AIO_MEMBER_CARS_WIDE_DOSSIER_END */

/* AIO_MEMBER_CARS_RECTANGULAR_DOSSIER_20260711_START */

/* Лента коллекции: если машин много — горизонтальная прокрутка */
body.page-people-item .aio-member-cars-registry {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 0 !important;
    scrollbar-width: thin !important;
    scroll-snap-type: x proximity !important;
}

body.page-people-item .aio-member-cars-registry button {
    flex: 0 0 clamp(300px, 27vw, 390px) !important;
    scroll-snap-align: start !important;
}

/* Убираем все полукруги и карточную мягкость у автомобильного блока */
body.page-people-item .aio-member-car-card,
body.page-people-item .aio-member-car-card *,
body.page-people-item .aio-member-car-passport,
body.page-people-item .aio-member-car-passport *,
body.page-people-item .aio-member-car-passport__media,
body.page-people-item .aio-member-car-passport__main,
body.page-people-item .aio-member-car-passport__thumbs button {
    border-radius: 0 !important;
}

/* Разворот: фото больше, досье правее */
body.page-people-item .aio-member-car-passport,
body.page-people-item .aio-member-car-passport.is-active {
    grid-template-columns: minmax(720px, 1.55fr) minmax(390px, .72fr) !important;
    gap: clamp(56px, 6.2vw, 104px) !important;
    align-items: start !important;
    width: 100% !important;
    min-height: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Фото: большой горизонтальный прямоугольник, машина видна целиком */
body.page-people-item .aio-member-car-passport__media {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

body.page-people-item .aio-member-car-passport__main {
    width: 100% !important;
    height: clamp(480px, 39vw, 660px) !important;
    min-height: 480px !important;
    max-height: none !important;
    border: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 30px 76px rgba(7,28,52,.16) !important;
    background:
        radial-gradient(circle at 78% 16%, rgba(169,67,43,.18), transparent 18rem),
        linear-gradient(135deg, #07172C 0%, #061F3E 62%, #241212 100%) !important;
}

body.page-people-item .aio-member-car-passport__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: clamp(18px, 2.2vw, 34px) !important;
    box-sizing: border-box !important;
    filter: saturate(.82) contrast(.98) brightness(.9) !important;
    transform: none !important;
}

body.page-people-item .aio-member-car-passport__main:hover img {
    transform: none !important;
    filter: saturate(.94) contrast(1) brightness(.95) !important;
}

/* Мягкая музейная вуаль, без обрезки машины */
body.page-people-item .aio-member-car-passport__main::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(5,7,10,.05), rgba(5,7,10,.18)),
        radial-gradient(circle at 12% 12%, rgba(248,245,239,.14), transparent 26rem) !important;
    mix-blend-mode: multiply !important;
}

/* Миниатюры крупнее, прямоугольные */
body.page-people-item .aio-member-car-passport__thumbs {
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    margin-top: 12px !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

body.page-people-item .aio-member-car-passport__thumbs button {
    flex: 0 0 132px !important;
    width: 132px !important;
    height: 86px !important;
    min-height: 86px !important;
    max-height: 86px !important;
    padding: 0 !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: rgba(255,255,255,.34) !important;
    opacity: .72 !important;
    box-shadow: none !important;
}

body.page-people-item .aio-member-car-passport__thumbs button.is-active,
body.page-people-item .aio-member-car-passport__thumbs button:hover {
    opacity: 1 !important;
    border-color: rgba(169,67,43,.62) !important;
}

body.page-people-item .aio-member-car-passport__thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    background: #07172C !important;
}

/* Досье вправо и всё в Montserrat, кроме крупного названия модели */
body.page-people-item .aio-member-car-passport__text {
    max-width: 560px !important;
    padding: clamp(8px, 1vw, 16px) 0 0 !important;
    margin-left: auto !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

body.page-people-item .aio-member-car-passport__eyebrow,
body.page-people-item .aio-member-car-passport__meta,
body.page-people-item .aio-member-car-passport__lead,
body.page-people-item .aio-member-car-passport__specs,
body.page-people-item .aio-member-car-passport__specs dt,
body.page-people-item .aio-member-car-passport__specs dd {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

/* Название машины остаётся журнальным заголовком */
body.page-people-item .aio-member-car-passport__text h3 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(44px, 4.2vw, 72px) !important;
    line-height: .94 !important;
    font-weight: 600 !important;
    color: #202020 !important;
}

/* Теги года/марки — холоднее, синее, статуснее */
body.page-people-item .aio-member-car-passport__meta span {
    min-height: 29px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(7,45,91,.045) !important;
    color: rgba(7,45,91,.72) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

/* Описание */
body.page-people-item .aio-member-car-passport__lead {
    max-width: 540px !important;
    margin: 0 0 30px !important;
    font-size: 15px !important;
    line-height: 1.68 !important;
    font-weight: 500 !important;
    color: rgba(32,32,32,.70) !important;
}

/* Реестр параметров: Montserrat, не CRM */
body.page-people-item .aio-member-car-passport__specs {
    display: block !important;
    border-top: 1px solid rgba(7,45,91,.16) !important;
}

body.page-people-item .aio-member-car-passport__specs div {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: baseline !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
}

body.page-people-item .aio-member-car-passport__specs dt {
    margin: 0 !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(169,67,43,.88) !important;
}

body.page-people-item .aio-member-car-passport__specs dd {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #072D5B !important;
}

/* Счётчик и верхняя лента — не капризные разные шрифты */
body.page-people-item .aio-member-cars-registry button em,
body.page-people-item .aio-member-cars-registry button small {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

body.page-people-item .aio-member-cars-registry button span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
}

/* Адаптив */
@media (max-width: 1240px) {
    body.page-people-item .aio-member-car-passport,
    body.page-people-item .aio-member-car-passport.is-active {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 34px !important;
    }

    body.page-people-item .aio-member-car-passport__text {
        max-width: none !important;
        margin-left: 0 !important;
    }

    body.page-people-item .aio-member-car-passport__main {
        height: clamp(360px, 58vw, 560px) !important;
        min-height: 360px !important;
    }
}

@media (max-width: 680px) {
    body.page-people-item .aio-member-cars-registry button {
        flex-basis: 260px !important;
    }

    body.page-people-item .aio-member-car-passport__main {
        height: 340px !important;
        min-height: 340px !important;
    }

    body.page-people-item .aio-member-car-passport__specs div {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
}

/* AIO_MEMBER_CARS_RECTANGULAR_DOSSIER_20260711_END */

/* AIO_MEMBER_CARS_UNBOXED_PHOTO_20260711_START */

/* Секция автомобилей: музейная полоса без коробок */
body.page-people-item .aio-member-cars-museum {
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 58%, #F2E3CF 100%) !important;
    padding: clamp(42px, 5.4vw, 76px) 0 clamp(52px, 6vw, 86px) !important;
}

/* Верхняя строка / реестр автомобилей */
body.page-people-item .aio-member-cars-museum__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 24px !important;
    margin: 0 0 18px !important;
    border: 0 !important;
    background: transparent !important;
}

body.page-people-item .aio-member-cars-museum__head .aio-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-cars-museum__head > p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.62) !important;
}

/* Если машин будет 5, 8, 10 — лента прокручивается горизонтально */
body.page-people-item .aio-member-cars-registry {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 0 !important;
    margin: 0 0 clamp(30px, 4vw, 48px) !important;
    padding: 0 0 8px !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
    border-bottom: 1px solid rgba(7,45,91,.12) !important;
    scrollbar-width: thin !important;
    background: rgba(248,245,239,.36) !important;
}

body.page-people-item .aio-member-cars-registry button {
    flex: 0 0 clamp(260px, 29vw, 410px) !important;
    min-height: 62px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-right: 1px solid rgba(7,45,91,.12) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body.page-people-item .aio-member-cars-registry button.is-active {
    background: rgba(255,255,255,.42) !important;
}

body.page-people-item .aio-member-cars-registry button em {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-cars-registry button span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(22px, 1.9vw, 31px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    color: #1D1D1D !important;
    white-space: nowrap !important;
}

body.page-people-item .aio-member-cars-registry button small {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    color: rgba(45,45,45,.55) !important;
}

/* Главная карточка автомобиля: больше не карточка, а разворот */
body.page-people-item .aio-member-car-passport,
body.page-people-item .aio-member-car-passport.is-active {
    display: grid !important;
    grid-template-columns: minmax(680px, 1.55fr) minmax(380px, .78fr) !important;
    gap: clamp(54px, 6vw, 96px) !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Убираем все старые коробки вокруг фото */
body.page-people-item .aio-member-car-passport,
body.page-people-item .aio-member-car-passport__media,
body.page-people-item .aio-member-car-passport__main,
body.page-people-item .aio-member-car-passport__main img,
body.page-people-item .aio-member-car-passport__thumbs,
body.page-people-item .aio-member-car-passport__thumbs button,
body.page-people-item .aio-member-car-passport__thumbs img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Фото: крупное, горизонтальное, без внутренней рамки */
body.page-people-item .aio-member-car-passport__media {
    display: grid !important;
    grid-template-rows: auto auto !important;
    gap: 14px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
}

body.page-people-item .aio-member-car-passport__main {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: clamp(430px, 39vw, 650px) !important;
    min-height: 430px !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    cursor: zoom-in !important;
}

body.page-people-item .aio-member-car-passport__main::before,
body.page-people-item .aio-member-car-passport__main::after {
    display: none !important;
    content: none !important;
}

body.page-people-item .aio-member-car-passport__main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    filter: saturate(.86) contrast(.96) sepia(.08) !important;
}

/* Миниатюры: не коробка, а плёнка под фото */
body.page-people-item .aio-member-car-passport__thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 74px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: transparent !important;
    border: 0 !important;
}

body.page-people-item .aio-member-car-passport__thumbs button {
    flex: 0 0 92px !important;
    width: 92px !important;
    height: 68px !important;
    min-height: 68px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: rgba(7,45,91,.06) !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    opacity: .72 !important;
    cursor: pointer !important;
}

body.page-people-item .aio-member-car-passport__thumbs button.is-active,
body.page-people-item .aio-member-car-passport__thumbs button:hover {
    opacity: 1 !important;
    border-color: #072D5B !important;
}

body.page-people-item .aio-member-car-passport__thumbs img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: saturate(.82) contrast(.96) sepia(.08) !important;
}

/* Досье справа: Montserrat, спокойно, музейно */
body.page-people-item .aio-member-car-passport__text {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

body.page-people-item .aio-member-car-passport__eyebrow {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-car-passport__text h3 {
    margin: 0 0 18px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(36px, 3.6vw, 58px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    color: #1D1D1D !important;
}

body.page-people-item .aio-member-car-passport__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 24px !important;
}

body.page-people-item .aio-member-car-passport__meta span {
    min-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.20) !important;
    background: rgba(7,45,91,.045) !important;
    color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-car-passport__lead {
    max-width: 560px !important;
    margin: 0 0 24px !important;
    color: rgba(45,45,45,.82) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.58 !important;
    font-weight: 500 !important;
}

/* Таблица досье */
body.page-people-item .aio-member-car-passport__specs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0 !important;
    border-top: 1px solid rgba(7,45,91,.16) !important;
}

body.page-people-item .aio-member-car-passport__specs div {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: baseline !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(7,45,91,.11) !important;
}

body.page-people-item .aio-member-car-passport__specs dt {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-car-passport__specs dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #072D5B !important;
}

@media (max-width: 1180px) {
    body.page-people-item .aio-member-car-passport,
    body.page-people-item .aio-member-car-passport.is-active {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    body.page-people-item .aio-member-car-passport__main {
        height: clamp(340px, 56vw, 560px) !important;
        min-height: 340px !important;
    }
}

@media (max-width: 640px) {
    body.page-people-item .aio-member-cars-museum {
        padding-top: 34px !important;
    }

    body.page-people-item .aio-member-cars-registry button {
        flex-basis: 250px !important;
    }

    body.page-people-item .aio-member-car-passport__specs div {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    body.page-people-item .aio-member-car-passport__main {
        height: clamp(280px, 72vw, 420px) !important;
        min-height: 280px !important;
    }
}

/* AIO_MEMBER_CARS_UNBOXED_PHOTO_20260711_END */

/* AIO_CAR_PHOTO_HARD_FINAL_20260711_START */

/* Автомобильный блок: добиваем старые карточки и скругления самым последним CSS */
body.page-people-item .aio-member-cars-section,
body.page-people-item .aio-member-cars-museum {
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 58%, #F2E3CF 100%) !important;
}

/* Общий разворот: фото крупнее, досье правее */
body.page-people-item .aio-member-car-passport,
body.page-people-item .aio-member-car-passport.is-active,
body.page-people-item article.aio-member-car-card.aio-member-car-passport.is-active {
    display: grid !important;
    grid-template-columns: minmax(720px, 1.62fr) minmax(390px, .76fr) !important;
    gap: clamp(78px, 7vw, 120px) !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Полностью убираем коробку вокруг фото */
body.page-people-item .aio-member-car-passport__media,
body.page-people-item .aio-member-car-card__media {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Главное фото — горизонтальный музейный кадр */
body.page-people-item .aio-member-car-passport__main,
body.page-people-item .aio-member-car-card__main {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: clamp(420px, 32vw, 560px) !important;
    min-height: 420px !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    cursor: zoom-in !important;
}

/* На всякий случай убираем псевдо-подложки */
body.page-people-item .aio-member-car-passport__main::before,
body.page-people-item .aio-member-car-passport__main::after,
body.page-people-item .aio-member-car-card__main::before,
body.page-people-item .aio-member-car-card__main::after {
    display: none !important;
    content: none !important;
}

/* Сама машина должна помещаться полностью */
body.page-people-item .aio-member-car-passport__main img,
body.page-people-item .aio-member-car-card__main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    filter: saturate(.88) contrast(.96) sepia(.06) !important;
}

/* Нижние миниатюры скрываем, они и создавали ощущение коробки */
body.page-people-item .aio-member-car-passport__thumbs,
body.page-people-item .aio-member-car-card__thumbs {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    max-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: 0 !important;
}

/* Счётчик фото — поверх кадра, не отдельной кнопкой снизу */
body.page-people-item .aio-member-car-photo-count {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 5 !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    margin: 0 !important;
    border: 0 !important;
    background: rgba(5,7,10,.72) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: zoom-in !important;
}

/* Досье — вправо, спокойно, без карточки */
body.page-people-item .aio-member-car-passport__text,
body.page-people-item .aio-member-car-card__text {
    width: 100% !important;
    max-width: 520px !important;
    justify-self: end !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

/* Метки в досье — прямоугольные, без таблеток */
body.page-people-item .aio-member-car-passport__meta span {
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.24) !important;
    background: rgba(7,45,91,.045) !important;
    color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

/* Реестр сверху: если машин больше — горизонтальная прокрутка */
body.page-people-item .aio-member-cars-registry {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
}

body.page-people-item .aio-member-cars-registry button {
    flex: 0 0 clamp(280px, 30vw, 430px) !important;
    border-radius: 0 !important;
}

/* Мобилка */
@media (max-width: 1180px) {
    body.page-people-item .aio-member-car-passport,
    body.page-people-item .aio-member-car-passport.is-active,
    body.page-people-item article.aio-member-car-card.aio-member-car-passport.is-active {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    body.page-people-item .aio-member-car-passport__text,
    body.page-people-item .aio-member-car-card__text {
        max-width: none !important;
        justify-self: stretch !important;
    }

    body.page-people-item .aio-member-car-passport__main,
    body.page-people-item .aio-member-car-card__main {
        height: clamp(300px, 56vw, 500px) !important;
        min-height: 300px !important;
    }
}

/* AIO_CAR_PHOTO_HARD_FINAL_20260711_END */

/* AIO_CAR_PHOTO_ALIGN_FINAL_20260711_START */

/* Чуть компактнее фото и ближе досье */
body.page-people-item .aio-member-car-passport,
body.page-people-item .aio-member-car-passport.is-active,
body.page-people-item article.aio-member-car-card.aio-member-car-passport.is-active {
    grid-template-columns: minmax(690px, 1.48fr) minmax(390px, .78fr) !important;
    gap: clamp(54px, 4.8vw, 82px) !important;
    align-items: start !important;
}

/* Фото: меньше на долю, строго прямоугольное */
body.page-people-item .aio-member-car-passport__media,
body.page-people-item .aio-member-car-card__media {
    max-width: 98.5% !important;
    justify-self: start !important;
    position: relative !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Сам кадр */
body.page-people-item .aio-member-car-passport__main,
body.page-people-item .aio-member-car-card__main {
    height: clamp(390px, 30vw, 525px) !important;
    min-height: 390px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
    clip-path: none !important;
}

/* Принудительно убираем все скругления с картинки и вложенных элементов */
body.page-people-item .aio-member-car-passport__main *,
body.page-people-item .aio-member-car-card__main *,
body.page-people-item .aio-member-car-passport__main img,
body.page-people-item .aio-member-car-card__main img {
    border-radius: 0 !important;
    clip-path: none !important;
    box-shadow: none !important;
}

/* Машина целиком, без обрезания */
body.page-people-item .aio-member-car-passport__main img,
body.page-people-item .aio-member-car-card__main img {
    object-fit: contain !important;
    object-position: center center !important;
}

/* Досье выше и левее */
body.page-people-item .aio-member-car-passport__text,
body.page-people-item .aio-member-car-card__text {
    justify-self: start !important;
    align-self: start !important;
    max-width: 500px !important;
    padding-top: clamp(10px, 1.4vw, 22px) !important;
    transform: translateX(-10px) !important;
}

/* Чтобы заголовок досье не висел отдельно */
body.page-people-item .aio-member-car-passport__eyebrow {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

/* Метки чуть плотнее */
body.page-people-item .aio-member-car-passport__meta {
    gap: 8px !important;
    margin-bottom: 26px !important;
}

body.page-people-item .aio-member-car-passport__meta span {
    min-height: 30px !important;
    padding: 0 14px !important;
    border-radius: 0 !important;
}

/* Текст досье чуть выше к таблице */
body.page-people-item .aio-member-car-passport__lead {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

/* Счётчик фото переносим на край кадра, чтобы не болтался хвостом снизу */
body.page-people-item .aio-member-car-photo-count {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 20 !important;
    border-radius: 0 !important;
}

/* Если старый CSS держит кнопку отдельным блоком */
body.page-people-item .aio-member-car-passport__media > .aio-member-car-photo-count,
body.page-people-item .aio-member-car-card__media > .aio-member-car-photo-count {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* Мобильная версия */
@media (max-width: 1180px) {
    body.page-people-item .aio-member-car-passport,
    body.page-people-item .aio-member-car-passport.is-active,
    body.page-people-item article.aio-member-car-card.aio-member-car-passport.is-active {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    body.page-people-item .aio-member-car-passport__media,
    body.page-people-item .aio-member-car-card__media {
        max-width: 100% !important;
    }

    body.page-people-item .aio-member-car-passport__text,
    body.page-people-item .aio-member-car-card__text {
        transform: none !important;
        padding-top: 0 !important;
        max-width: none !important;
    }

    body.page-people-item .aio-member-car-passport__main,
    body.page-people-item .aio-member-car-card__main {
        height: clamp(300px, 55vw, 500px) !important;
        min-height: 300px !important;
    }
}

/* AIO_CAR_PHOTO_ALIGN_FINAL_20260711_END */

/* AIO_CAR_PHOTO_DOSSIER_FINAL_20260711_START */

/* Общий блок: фото слева, досье справа, оба от верхней линии */
body.page-people-item .aio-member-car-passport,
body.page-people-item .aio-member-car-passport.is-active,
body.page-people-item article.aio-member-car-card.aio-member-car-passport.is-active {
    display: grid !important;
    grid-template-columns: minmax(620px, 1.34fr) minmax(420px, .84fr) !important;
    gap: clamp(42px, 4.2vw, 76px) !important;
    align-items: start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: clamp(42px, 5.2vw, 66px) 0 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Левая зона фото: убираем карточку/подложку/сетку */
body.page-people-item .aio-member-car-passport__media,
body.page-people-item .aio-member-car-card__media {
    position: relative !important;
    display: block !important;
    width: 98.5% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Само большое фото: горизонтальное, без рамок и без скругления */
body.page-people-item .aio-member-car-passport__main,
body.page-people-item .aio-member-car-card__main {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: clamp(390px, 33.5vw, 520px) !important;
    min-height: 390px !important;
    max-height: 520px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    cursor: zoom-in !important;
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

body.page-people-item .aio-member-car-passport__main::before,
body.page-people-item .aio-member-car-passport__main::after,
body.page-people-item .aio-member-car-card__main::before,
body.page-people-item .aio-member-car-card__main::after {
    display: none !important;
    content: none !important;
}

/* На случай если скругление сидит на картинке, а не на контейнере */
body.page-people-item .aio-member-car-passport__main img,
body.page-people-item .aio-member-car-card__main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* Нижнюю галерею убираем: оставляем только счётчик фото */
body.page-people-item .aio-member-car-passport__thumbs,
body.page-people-item .aio-member-car-card__thumbs {
    display: none !important;
}

/* Плашка с количеством фото — поверх фото, в правом нижнем углу */
body.page-people-item .aio-member-car-photo-count,
body.page-people-item .aio-member-car-passport__media > .aio-member-car-photo-count,
body.page-people-item .aio-member-car-card__media > .aio-member-car-photo-count {
    position: absolute !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border: 1px solid rgba(248,245,239,.34) !important;
    background: rgba(5,7,10,.78) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 28px rgba(5,7,10,.20) !important;
    backdrop-filter: blur(8px) !important;
    cursor: zoom-in !important;
    transform: none !important;
}

/* Правая часть: поднять и вернуть левее */
body.page-people-item .aio-member-car-passport__text,
body.page-people-item .aio-member-car-card__text.aio-member-car-passport__text {
    align-self: start !important;
    width: 100% !important;
    max-width: 455px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 8px 0 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: translateX(-34px) translateY(-2px) !important;
}

/* Досье — весь технический текст в Montserrat */
body.page-people-item .aio-member-car-passport__eyebrow,
body.page-people-item .aio-member-car-passport__meta,
body.page-people-item .aio-member-car-passport__meta span,
body.page-people-item .aio-member-car-passport__lead,
body.page-people-item .aio-member-car-passport__specs,
body.page-people-item .aio-member-car-passport__specs dt,
body.page-people-item .aio-member-car-passport__specs dd {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

body.page-people-item .aio-member-car-passport__eyebrow {
    margin: 0 0 18px !important;
    color: #A9432B !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-car-passport__text h3 {
    display: none !important;
}

body.page-people-item .aio-member-car-passport__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 28px !important;
}

body.page-people-item .aio-member-car-passport__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 15px !important;
    border: 1px solid rgba(7,45,91,.22) !important;
    background: rgba(7,45,91,.035) !important;
    color: #072D5B !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
}

body.page-people-item .aio-member-car-passport__lead {
    max-width: 390px !important;
    margin: 0 0 22px !important;
    color: rgba(45,45,45,.82) !important;
    font-size: 14px !important;
    line-height: 1.52 !important;
    font-weight: 500 !important;
}

body.page-people-item .aio-member-car-passport__specs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    border-top: 1px solid rgba(7,45,91,.13) !important;
}

body.page-people-item .aio-member-car-passport__specs div {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: baseline !important;
    min-height: 43px !important;
    padding: 11px 0 9px !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
}

body.page-people-item .aio-member-car-passport__specs dt {
    margin: 0 !important;
    color: #A9432B !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-car-passport__specs dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

/* Мобильная версия */
@media (max-width: 980px) {
    body.page-people-item .aio-member-car-passport,
    body.page-people-item .aio-member-car-passport.is-active,
    body.page-people-item article.aio-member-car-card.aio-member-car-passport.is-active {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding-top: 28px !important;
    }

    body.page-people-item .aio-member-car-passport__media,
    body.page-people-item .aio-member-car-card__media {
        width: 100% !important;
    }

    body.page-people-item .aio-member-car-passport__text,
    body.page-people-item .aio-member-car-card__text.aio-member-car-passport__text {
        max-width: none !important;
        transform: none !important;
    }

    body.page-people-item .aio-member-car-passport__main,
    body.page-people-item .aio-member-car-card__main {
        height: clamp(260px, 56vw, 430px) !important;
        min-height: 260px !important;
    }

    body.page-people-item .aio-member-car-passport__specs div {
        grid-template-columns: 120px minmax(0, 1fr) !important;
    }
}

/* AIO_CAR_PHOTO_DOSSIER_FINAL_20260711_END */

/* AIO_CARS_BLOCK_REWRITE_CLEAN_20260711_START */

body.page-people-item .aio-car-vitrine {
    position: relative !important;
    background:
        radial-gradient(circle at 14% 20%, rgba(200,87,38,.055), transparent 24rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 78%, #F2E3CF 100%) !important;
    padding: clamp(20px, 2.4vw, 34px) 0 clamp(60px, 7vw, 92px) !important;
    overflow: hidden !important;
}

body.page-people-item .aio-car-vitrine__registry {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 0 clamp(42px, 5vw, 66px) !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
    border-bottom: 1px solid rgba(7,45,91,.12) !important;
    scrollbar-width: thin !important;
}

body.page-people-item .aio-car-vitrine__registry button {
    flex: 0 0 clamp(300px, 33.333%, 460px) !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    align-items: center !important;
    min-height: 70px !important;
    padding: 0 22px !important;
    margin: 0 !important;
    border: 0 !important;
    border-right: 1px solid rgba(7,45,91,.12) !important;
    background: rgba(248,245,239,.58) !important;
    color: #2D2D2D !important;
    text-align: left !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.page-people-item .aio-car-vitrine__registry button.is-active,
body.page-people-item .aio-car-vitrine__registry button:hover {
    background: rgba(255,255,255,.76) !important;
}

body.page-people-item .aio-car-vitrine__registry em {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-style: normal !important;
    color: #A9432B !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
}

body.page-people-item .aio-car-vitrine__registry span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    color: #1F1F1F !important;
    font-size: clamp(23px, 2vw, 32px) !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: .02em !important;
}

body.page-people-item .aio-car-vitrine__registry small {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: rgba(45,45,45,.46) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
}

body.page-people-item .aio-car-vitrine__panels {
    display: block !important;
}

body.page-people-item .aio-car-vitrine__panel {
    display: none !important;
}

body.page-people-item .aio-car-vitrine__panel.is-active {
    display: grid !important;
    grid-template-columns: minmax(620px, 1.28fr) minmax(410px, .82fr) !important;
    gap: clamp(54px, 5.2vw, 88px) !important;
    align-items: start !important;
}

body.page-people-item .aio-car-vitrine__visual {
    position: relative !important;
    width: 98.5% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.page-people-item .aio-car-vitrine__photo {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: clamp(390px, 33.5vw, 520px) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    cursor: zoom-in !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

body.page-people-item .aio-car-vitrine__photo::before,
body.page-people-item .aio-car-vitrine__photo::after {
    display: none !important;
    content: none !important;
}

body.page-people-item .aio-car-vitrine__photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

body.page-people-item .aio-car-vitrine__photo span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(7,45,91,.06) !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 32px !important;
}

body.page-people-item .aio-car-vitrine__photo-count {
    position: absolute !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border: 1px solid rgba(248,245,239,.42) !important;
    background: rgba(5,7,10,.78) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    border-radius: 0 !important;
    box-shadow: 0 16px 30px rgba(5,7,10,.22) !important;
    backdrop-filter: blur(8px) !important;
    cursor: zoom-in !important;
}

body.page-people-item .aio-car-vitrine__dossier {
    width: 100% !important;
    max-width: 470px !important;
    padding: 4px 0 0 !important;
    margin: 0 !important;
    transform: translateX(-22px) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.page-people-item .aio-car-vitrine__eyebrow {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: #A9432B !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-car-vitrine__chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 28px !important;
}

body.page-people-item .aio-car-vitrine__chips span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 15px !important;
    border: 1px solid rgba(7,45,91,.22) !important;
    background: rgba(7,45,91,.035) !important;
    color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
}

body.page-people-item .aio-car-vitrine__lead {
    max-width: 410px !important;
    margin: 0 0 22px !important;
    color: rgba(45,45,45,.82) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.52 !important;
    font-weight: 500 !important;
}

body.page-people-item .aio-car-vitrine__specs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    border-top: 1px solid rgba(7,45,91,.13) !important;
}

body.page-people-item .aio-car-vitrine__specs div {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: baseline !important;
    min-height: 43px !important;
    padding: 11px 0 9px !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
}

body.page-people-item .aio-car-vitrine__specs dt {
    margin: 0 !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-car-vitrine__specs dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

/* убираем старые миниатюры, если где-то остались */
body.page-people-item .aio-member-car-card__thumbs,
body.page-people-item .aio-member-car-passport__thumbs {
    display: none !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-car-vitrine__panel.is-active {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    body.page-people-item .aio-car-vitrine__visual {
        width: 100% !important;
    }

    body.page-people-item .aio-car-vitrine__photo {
        height: clamp(260px, 56vw, 430px) !important;
    }

    body.page-people-item .aio-car-vitrine__dossier {
        max-width: none !important;
        transform: none !important;
    }

    body.page-people-item .aio-car-vitrine__specs div {
        grid-template-columns: 120px minmax(0, 1fr) !important;
    }
}

/* AIO_CARS_BLOCK_REWRITE_CLEAN_20260711_END */

/* AIO_CAR_HIDDEN_GALLERY_SOURCE_20260711_START */

body.page-people-item .aio-car-vitrine__hidden-thumbs {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    left: -9999px !important;
    top: auto !important;
    display: block !important;
}

body.page-people-item .aio-car-vitrine__hidden-thumbs button,
body.page-people-item .aio-car-vitrine__hidden-thumbs img {
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
}

/* AIO_CAR_HIDDEN_GALLERY_SOURCE_20260711_END */

/* AIO_CAR_MODAL_DARK_SQUARE_20260711_START */

/* Модальное окно фото автомобиля: тёмная музейная витрина, без синевы и без скруглений */
body.page-people-item .aio-member-gallery-modal,
body.page-people-item .aio-member-photo-modal,
body.page-people-item .aio-member-lightbox,
body.page-people-item .aio-car-lightbox,
body.page-people-item .aio-car-modal,
body.page-people-item .aio-gallery-modal,
body.page-people-item [class*="lightbox"],
body.page-people-item [class*="modal"][class*="gallery"] {
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.055), transparent 38rem),
        rgba(10, 10, 11, .92) !important;
    backdrop-filter: blur(6px) !important;
}

/* Само большое фото в модалке — строго прямоугольное */
body.page-people-item .aio-member-gallery-modal img,
body.page-people-item .aio-member-photo-modal img,
body.page-people-item .aio-member-lightbox img,
body.page-people-item .aio-car-lightbox img,
body.page-people-item .aio-car-modal img,
body.page-people-item .aio-gallery-modal img,
body.page-people-item [class*="lightbox"] img,
body.page-people-item [class*="modal"][class*="gallery"] img {
    border-radius: 0 !important;
    object-fit: contain !important;
    box-shadow: 0 34px 90px rgba(0,0,0,.42) !important;
}

/* Если радиус сидит не на img, а на контейнере */
body.page-people-item .aio-member-gallery-modal figure,
body.page-people-item .aio-member-gallery-modal picture,
body.page-people-item .aio-member-gallery-modal button,
body.page-people-item .aio-member-photo-modal figure,
body.page-people-item .aio-member-photo-modal picture,
body.page-people-item .aio-member-photo-modal button,
body.page-people-item .aio-member-lightbox figure,
body.page-people-item .aio-member-lightbox picture,
body.page-people-item .aio-car-lightbox figure,
body.page-people-item .aio-car-lightbox picture,
body.page-people-item .aio-car-modal figure,
body.page-people-item .aio-car-modal picture,
body.page-people-item .aio-gallery-modal figure,
body.page-people-item .aio-gallery-modal picture,
body.page-people-item [class*="lightbox"] figure,
body.page-people-item [class*="lightbox"] picture,
body.page-people-item [class*="modal"][class*="gallery"] figure,
body.page-people-item [class*="modal"][class*="gallery"] picture {
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Кнопки закрытия и стрелки — нейтральный графит, без синей подложки */
body.page-people-item .aio-member-gallery-modal button,
body.page-people-item .aio-member-photo-modal button,
body.page-people-item .aio-member-lightbox button,
body.page-people-item .aio-car-lightbox button,
body.page-people-item .aio-car-modal button,
body.page-people-item .aio-gallery-modal button,
body.page-people-item [class*="lightbox"] button,
body.page-people-item [class*="modal"][class*="gallery"] button {
    background: rgba(28,28,28,.72) !important;
    border-color: rgba(255,255,255,.20) !important;
    color: #F8F5EF !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.24) !important;
}

body.page-people-item .aio-member-gallery-modal button:hover,
body.page-people-item .aio-member-photo-modal button:hover,
body.page-people-item .aio-member-lightbox button:hover,
body.page-people-item .aio-car-lightbox button:hover,
body.page-people-item .aio-car-modal button:hover,
body.page-people-item .aio-gallery-modal button:hover,
body.page-people-item [class*="lightbox"] button:hover,
body.page-people-item [class*="modal"][class*="gallery"] button:hover {
    background: rgba(55,55,55,.88) !important;
}

/* Подпись под фото — мягкая, не синяя */
body.page-people-item .aio-member-gallery-modal figcaption,
body.page-people-item .aio-member-photo-modal figcaption,
body.page-people-item .aio-member-lightbox figcaption,
body.page-people-item .aio-car-lightbox figcaption,
body.page-people-item .aio-car-modal figcaption,
body.page-people-item .aio-gallery-modal figcaption,
body.page-people-item [class*="lightbox"] figcaption,
body.page-people-item [class*="modal"][class*="gallery"] figcaption {
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    letter-spacing: .02em !important;
}

/* AIO_CAR_MODAL_DARK_SQUARE_20260711_END */

/* AIO_CAR_FIELDS_MORE_20260711_START */

body.page-people-item .aio-member-car-passport__more {
    margin-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
    padding-top: 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}

body.page-people-item .aio-member-car-passport__more summary {
    cursor: pointer !important;
    width: fit-content !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    list-style: none !important;
}

body.page-people-item .aio-member-car-passport__more summary::-webkit-details-marker {
    display: none !important;
}

body.page-people-item .aio-member-car-passport__more summary::after {
    content: " +" !important;
}

body.page-people-item .aio-member-car-passport__more[open] summary::after {
    content: " −" !important;
}

body.page-people-item .aio-member-car-passport__more-specs {
    margin: 14px 0 0 !important;
    display: grid !important;
    gap: 0 !important;
}

body.page-people-item .aio-member-car-passport__more-specs div {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 9px 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
}

body.page-people-item .aio-member-car-passport__more-specs dt {
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-car-passport__more-specs dd {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

@media (max-width: 760px) {
    body.page-people-item .aio-member-car-passport__more-specs div {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
}

/* AIO_CAR_FIELDS_MORE_20260711_END */


/* AIO_CAR_FIELDS_LK_PUBLIC_THIN_20260711_START */
body.page-people-item .aio-member-car-passport__specs dd,
body.page-people-item .aio-member-car-passport__more-specs dd {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: clamp(13px, .92vw, 15px) !important;
    line-height: 1.35 !important;
    color: #072D5B !important;
}

body.page-people-item .aio-member-car-passport__specs dt,
body.page-people-item .aio-member-car-passport__more-specs dt {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-weight: 800 !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    letter-spacing: .13em !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-car-passport__lead {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: clamp(13px, .88vw, 14.5px) !important;
    line-height: 1.55 !important;
}

body.page-people-item .aio-member-car-passport__more {
    margin-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
    padding-top: 12px !important;
}

body.page-people-item .aio-member-car-passport__more summary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    list-style: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-car-passport__more summary::-webkit-details-marker {
    display: none !important;
}

body.page-people-item .aio-member-car-passport__more summary::after {
    content: "＋" !important;
    color: #072D5B !important;
}

body.page-people-item .aio-member-car-passport__more[open] summary::after {
    content: "−" !important;
}

body.page-people-item .aio-member-car-passport__more-specs {
    display: grid !important;
    gap: 0 !important;
    margin: 14px 0 0 !important;
}

body.page-people-item .aio-member-car-passport__more-specs div {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 22px !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

body.page-people-item .aio-member-car-passport__more-specs dt,
body.page-people-item .aio-member-car-passport__more-specs dd {
    margin: 0 !important;
}

body.page-people-item .aio-member-car-passport__meta span {
    font-weight: 800 !important;
}

body.page-account-cars .aio-car-title-auto-field {
    display: none !important;
}

body.page-account-cars .aio-lk-subhead {
    margin: 10px 0 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
}

body.page-account-cars .aio-lk-subhead h3 {
    margin: 0 0 6px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    color: #072D5B !important;
}

body.page-account-cars .aio-lk-subhead p,
body.page-account-cars .aio-lk-car-public-note small {
    display: block !important;
    margin-top: 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    color: rgba(45,45,45,.58) !important;
}

@media (max-width: 900px) {
    body.page-people-item .aio-member-car-passport__more-specs div {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
}
/* AIO_CAR_FIELDS_LK_PUBLIC_THIN_20260711_END */

/* AIO_CAR_DOSSIER_FINAL_POLISH_20260711_START */

/* 1. Значения в досье: тоньше, спокойнее, без жирного синего крика */
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport .aio-member-car-passport__specs dd,
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport .aio-member-car-card__specs dd,
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport .aio-member-car-spec dd,
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__more-specs dd {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13px, .84vw, 14.5px) !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    color: rgba(7,45,91,.86) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Подписи слева остаются музейными, красными, маленькими */
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport .aio-member-car-passport__specs dt,
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport .aio-member-car-card__specs dt,
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport .aio-member-car-spec dt,
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__more-specs dt {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    color: #A9432B !important;
    text-transform: uppercase !important;
}

/* 2. Фото: музейная подложка, без жёсткой коробки */
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__media,
body.page-people-item section.aio-member-cars-museum .aio-member-car-card__media {
    position: relative !important;
    background:
        radial-gradient(ellipse at 50% 72%, rgba(7,45,91,.10), transparent 36%),
        radial-gradient(ellipse at 52% 68%, rgba(45,45,45,.09), transparent 42%),
        linear-gradient(180deg, rgba(248,245,239,.86), rgba(242,227,207,.38)) !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Лёгкая тень под машиной — особенно нужна для PNG без фона */
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__main::before,
body.page-people-item section.aio-member-cars-museum .aio-member-car-card__main::before {
    content: "" !important;
    position: absolute !important;
    left: 14% !important;
    right: 14% !important;
    bottom: 8% !important;
    height: 13% !important;
    background: radial-gradient(ellipse at center, rgba(20,23,28,.22), rgba(20,23,28,.08) 45%, transparent 72%) !important;
    filter: blur(12px) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Убираем все старые затемнения/скругления поверх фото */
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__main::after,
body.page-people-item section.aio-member-cars-museum .aio-member-car-card__main::after {
    display: none !important;
    content: none !important;
}

body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__main,
body.page-people-item section.aio-member-cars-museum .aio-member-car-card__main {
    position: relative !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Само изображение: без скругления, с лёгкой музейной тонировкой */
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__main img,
body.page-people-item section.aio-member-cars-museum .aio-member-car-card__main img {
    position: relative !important;
    z-index: 1 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: saturate(.82) contrast(.97) sepia(.06) brightness(.98) !important;
    mix-blend-mode: multiply !important;
    transform: none !important;
}

/* Но если фото обычное, не PNG, оно тоже выглядит мягче, без грязной маски */
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__main:hover img,
body.page-people-item section.aio-member-cars-museum .aio-member-car-card__main:hover img {
    filter: saturate(.9) contrast(1) sepia(.04) brightness(1) !important;
    transform: none !important;
}

/* 3. Плашка + фото — чуть плотнее к машине, но не залезает грубо */
body.page-people-item section.aio-member-cars-museum .aio-member-car-photo-count {
    right: 18px !important;
    bottom: 18px !important;
    background: rgba(20,20,20,.88) !important;
    color: #F8F5EF !important;
    border: 1px solid rgba(248,245,239,.22) !important;
    box-shadow: 0 18px 36px rgba(0,0,0,.18) !important;
    border-radius: 0 !important;
}

/* 4. Досье: чуть аккуратнее и плотнее */
body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__text {
    padding-top: clamp(18px, 2.1vw, 30px) !important;
}

body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__lead {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13px, .86vw, 14.5px) !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    color: rgba(45,45,45,.78) !important;
}

body.page-people-item section.aio-member-cars-museum .aio-member-car-passport__specs div,
body.page-people-item section.aio-member-cars-museum .aio-member-car-card__specs div {
    grid-template-columns: 145px minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 11px 0 !important;
}

/* 5. Модальное окно галереи — темнее, музейнее, без скругления фото */
body.page-people-item .aio-gallery-modal,
body.page-people-item .aio-member-gallery-modal,
body.page-people-item [data-aio-gallery-modal] {
    background: rgba(9,10,12,.92) !important;
}

body.page-people-item .aio-gallery-modal img,
body.page-people-item .aio-member-gallery-modal img,
body.page-people-item [data-aio-gallery-modal] img,
body.page-people-item .aio-car-lightbox img,
body.page-people-item .aio-member-car-lightbox img {
    border-radius: 0 !important;
    filter: saturate(.9) contrast(.98) sepia(.04) !important;
}

/* 6. Личный кабинет: подсказка для короткого описания */
body.page-account-cars textarea[name="short_description"] {
    min-height: 92px !important;
}

body.page-account-cars textarea[name="short_description"] + small::after {
    content: " На публичной странице этот текст выводится под метками года и марки." !important;
}

/* AIO_CAR_DOSSIER_FINAL_POLISH_20260711_END */

/* AIO_CAR_REGISTRY_SPECS_FIX_20260711_START */

/* Добиваем именно основные строки досье: кузов, двигатель, коробка, цвет, состояние, реестр */
body.page-people-item #cars.aio-member-cars-museum article.aio-member-car-passport dl.aio-member-car-passport__specs > div.aio-member-car-spec > dd,
body.page-people-item #cars.aio-member-cars-museum article.aio-member-car-passport dl.aio-member-car-card__specs > div.aio-member-car-spec > dd,
body.page-people-item #cars.aio-member-cars-museum article.aio-member-car-passport .aio-member-car-passport__specs > div > dd,
body.page-people-item #cars.aio-member-cars-museum article.aio-member-car-passport .aio-member-car-card__specs > div > dd {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: rgba(7,45,91,.82) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Чуть спокойнее красные подписи */
body.page-people-item #cars.aio-member-cars-museum article.aio-member-car-passport dl.aio-member-car-passport__specs > div.aio-member-car-spec > dt,
body.page-people-item #cars.aio-member-cars-museum article.aio-member-car-passport dl.aio-member-car-card__specs > div.aio-member-car-spec > dt,
body.page-people-item #cars.aio-member-cars-museum article.aio-member-car-passport .aio-member-car-passport__specs > div > dt,
body.page-people-item #cars.aio-member-cars-museum article.aio-member-car-passport .aio-member-car-card__specs > div > dt {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: #A9432B !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

/* Убираем эффект двух полосок перед "Подробнее" */
body.page-people-item #cars.aio-member-cars-museum .aio-member-car-passport__specs {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.page-people-item #cars.aio-member-cars-museum .aio-member-car-passport__specs > div:last-child {
    border-bottom: 0 !important;
}

body.page-people-item #cars.aio-member-cars-museum .aio-member-car-passport__more {
    margin-top: 10px !important;
    padding-top: 0 !important;
    border-top: 1px solid rgba(7,45,91,.12) !important;
}

body.page-people-item #cars.aio-member-cars-museum .aio-member-car-passport__more summary {
    border-top: 0 !important;
}

/* Строка реестра — такая же, как остальные, без отдельной плашки */
body.page-people-item #cars.aio-member-cars-museum .aio-member-car-spec dd {
    overflow-wrap: anywhere !important;
}

/* AIO_CAR_REGISTRY_SPECS_FIX_20260711_END */

/* AIO_CAR_VITRINE_FONT_REGISTRY_20260711_START */

/* Верхний переключатель машин — чуть компактнее */
body.page-people-item #cars .aio-member-cars-registry button,
body.page-people-item #cars .aio-member-cars-tabs button {
    min-height: 54px !important;
    padding: 10px 18px 9px !important;
}

body.page-people-item #cars .aio-member-cars-registry button em,
body.page-people-item #cars .aio-member-cars-tabs button em {
    font-size: 9px !important;
    line-height: 1 !important;
}

body.page-people-item #cars .aio-member-cars-registry button span,
body.page-people-item #cars .aio-member-cars-tabs button span {
    font-size: clamp(18px, 1.45vw, 25px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: .015em !important;
}

body.page-people-item #cars .aio-member-cars-registry button small,
body.page-people-item #cars .aio-member-cars-tabs button small {
    font-size: 8.5px !important;
    line-height: 1 !important;
}

/* Основное досье текущего нового блока */
body.page-people-item #cars .aio-car-vitrine__specs {
    margin-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.14) !important;
}

body.page-people-item #cars .aio-car-vitrine__specs > div {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 26px !important;
    align-items: baseline !important;
    min-height: 42px !important;
    padding: 11px 0 10px !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
}

body.page-people-item #cars .aio-car-vitrine__specs > div:last-child {
    border-bottom: 0 !important;
}

/* Красные подписи */
body.page-people-item #cars .aio-car-vitrine__specs dt {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: #A9432B !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: .115em !important;
    text-transform: uppercase !important;
}

/* Синие значения — тоньше и меньше */
body.page-people-item #cars .aio-car-vitrine__specs dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: #072D5B !important;
    font-size: clamp(13px, .86vw, 14.5px) !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

/* Подробности — в том же спокойном масштабе */
body.page-people-item #cars .aio-member-car-passport__more-specs dd {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: #072D5B !important;
    font-size: clamp(13px, .86vw, 14.5px) !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

body.page-people-item #cars .aio-member-car-passport__more-specs dt {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: #A9432B !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: .115em !important;
    text-transform: uppercase !important;
}

@media (max-width: 980px) {
    body.page-people-item #cars .aio-car-vitrine__specs > div {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    body.page-people-item #cars .aio-member-cars-registry button span,
    body.page-people-item #cars .aio-member-cars-tabs button span {
        font-size: 18px !important;
    }
}

/* AIO_CAR_VITRINE_FONT_REGISTRY_20260711_END */

/* AIO_CAR_TABS_COMPACT_COUNT_20260711_START */

/* При переходе по #cars блок не должен залезать под шапку */
body.page-people-item #cars {
    scroll-margin-top: 150px !important;
    padding-top: clamp(34px, 4.2vw, 58px) !important;
}

/* Строка количества машин */
body.page-people-item #cars .aio-car-vitrine__countline {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 2px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    color: rgba(7,45,91,.58) !important;
}

body.page-people-item #cars .aio-car-vitrine__countline span,
body.page-people-item #cars .aio-car-vitrine__countline em {
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-style: normal !important;
}

body.page-people-item #cars .aio-car-vitrine__countline span {
    color: #A9432B !important;
}

body.page-people-item #cars .aio-car-vitrine__countline em {
    color: rgba(7,45,91,.46) !important;
}

/* Реестр автомобилей: чуть ниже и компактнее */
body.page-people-item #cars .aio-member-cars-registry,
body.page-people-item #cars .aio-member-cars-tabs {
    margin-top: 0 !important;
    margin-bottom: clamp(28px, 3.4vw, 44px) !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Сами карточки-переключатели меньше */
body.page-people-item #cars .aio-member-cars-registry button,
body.page-people-item #cars .aio-member-cars-tabs button {
    min-height: 48px !important;
    padding: 8px 16px 7px !important;
    gap: 12px !important;
}

/* Номер */
body.page-people-item #cars .aio-member-cars-registry button em,
body.page-people-item #cars .aio-member-cars-tabs button em {
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

/* Название машины */
body.page-people-item #cars .aio-member-cars-registry button span,
body.page-people-item #cars .aio-member-cars-tabs button span {
    font-size: clamp(17px, 1.28vw, 22px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: .012em !important;
}

/* Год */
body.page-people-item #cars .aio-member-cars-registry button small,
body.page-people-item #cars .aio-member-cars-tabs button small {
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

/* Чтобы длинный реестр не ломал сетку */
body.page-people-item #cars .aio-member-cars-registry button {
    flex: 0 0 min(31.5%, 390px) !important;
    min-width: 260px !important;
}

/* На маленьких экранах карточки становятся удобной горизонтальной лентой */
@media (max-width: 980px) {
    body.page-people-item #cars {
        scroll-margin-top: 120px !important;
        padding-top: 28px !important;
    }

    body.page-people-item #cars .aio-member-cars-registry button {
        flex-basis: 78vw !important;
        min-width: 250px !important;
    }

    body.page-people-item #cars .aio-car-vitrine__countline {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
}

/* AIO_CAR_TABS_COMPACT_COUNT_20260711_END */

/* AIO_CAR_COUNTLINE_FORCE_20260711_START */

body.page-people-item #cars {
    scroll-margin-top: 152px !important;
    padding-top: clamp(38px, 4.5vw, 64px) !important;
}

body.page-people-item #cars .aio-car-vitrine__countline {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 0 12px !important;
    padding: 0 2px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    position: relative !important;
    z-index: 4 !important;
}

body.page-people-item #cars .aio-car-vitrine__countline span,
body.page-people-item #cars .aio-car-vitrine__countline em {
    display: inline-block !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-style: normal !important;
}

body.page-people-item #cars .aio-car-vitrine__countline span {
    color: #A9432B !important;
}

body.page-people-item #cars .aio-car-vitrine__countline em {
    color: rgba(7,45,91,.45) !important;
}

body.page-people-item #cars .aio-member-cars-registry {
    margin-top: 0 !important;
    margin-bottom: clamp(28px, 3.2vw, 42px) !important;
}

body.page-people-item #cars .aio-member-cars-registry button {
    min-height: 48px !important;
    padding: 8px 16px 7px !important;
}

body.page-people-item #cars .aio-member-cars-registry button span {
    font-size: clamp(17px, 1.24vw, 22px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
}

body.page-people-item #cars .aio-member-cars-registry button em {
    font-size: 8.5px !important;
}

body.page-people-item #cars .aio-member-cars-registry button small {
    font-size: 8px !important;
}

/* AIO_CAR_COUNTLINE_FORCE_20260711_END */

/* AIO_CAR_COUNTLINE_TEMPLATE_TABS_20260711_START */

/* Якорь не должен прятать верх блока под шапку */
body.page-people-item #cars.aio-car-vitrine {
    scroll-margin-top: 132px !important;
}

/* Возвращаем строку: сколько автомобилей и подсказка про прокрутку */
body.page-people-item #cars .aio-car-vitrine__countline {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 0 18px !important;
    padding: 0 2px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.58) !important;
}

body.page-people-item #cars .aio-car-vitrine__countline span,
body.page-people-item #cars .aio-car-vitrine__countline em {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.page-people-item #cars .aio-car-vitrine__countline span {
    color: rgba(7,45,91,.62) !important;
}

body.page-people-item #cars .aio-car-vitrine__countline em {
    color: rgba(169,67,43,.78) !important;
}

/* Актуальный класс реестра — aio-car-vitrine__registry, не старый aio-member-cars-registry */
body.page-people-item #cars .aio-car-vitrine__registry {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 0 !important;
    margin: 0 0 clamp(34px, 4.4vw, 54px) !important;
    padding: 0 0 7px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
    background: rgba(248,245,239,.30) !important;
    scrollbar-width: thin !important;
}

/* Чуть компактнее карточки-переключатели */
body.page-people-item #cars .aio-car-vitrine__registry button {
    flex: 0 0 clamp(245px, 27vw, 380px) !important;
    min-height: 58px !important;
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-right: 1px solid rgba(7,45,91,.10) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-people-item #cars .aio-car-vitrine__registry button.is-active {
    background: rgba(255,255,255,.36) !important;
}

body.page-people-item #cars .aio-car-vitrine__registry em {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    color: #A9432B !important;
}

body.page-people-item #cars .aio-car-vitrine__registry span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(20px, 1.65vw, 28px) !important;
    font-weight: 500 !important;
    line-height: .98 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;
    color: #1D1D1D !important;
    white-space: nowrap !important;
}

body.page-people-item #cars .aio-car-vitrine__registry small {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    color: rgba(45,45,45,.52) !important;
}

@media (max-width: 760px) {
    body.page-people-item #cars .aio-car-vitrine__countline {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 5px !important;
        margin-bottom: 14px !important;
    }

    body.page-people-item #cars .aio-car-vitrine__registry button {
        flex-basis: 245px !important;
        min-height: 56px !important;
    }
}

/* AIO_CAR_COUNTLINE_TEMPLATE_TABS_20260711_END */

/* AIO_CAR_COUNTLINE_HARD_VISIBLE_20260711_START */

body.page-people-item #cars.aio-car-vitrine {
    scroll-margin-top: 150px !important;
}

body.page-people-item #cars .aio-car-vitrine__countline {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 5 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    margin: -20px 0 clamp(30px, 3.8vw, 48px) !important;
    padding: 0 2px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.page-people-item #cars .aio-car-vitrine__countline span,
body.page-people-item #cars .aio-car-vitrine__countline em {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    font-style: normal !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.page-people-item #cars .aio-car-vitrine__countline span {
    color: rgba(7,45,91,.62) !important;
}

body.page-people-item #cars .aio-car-vitrine__countline em {
    color: rgba(169,67,43,.78) !important;
}

/* Актуальный реестр машин — именно aio-car-vitrine__registry */
body.page-people-item #cars .aio-car-vitrine__registry {
    margin-bottom: clamp(30px, 4vw, 46px) !important;
}

body.page-people-item #cars .aio-car-vitrine__registry button {
    flex-basis: clamp(235px, 26vw, 365px) !important;
    min-height: 56px !important;
    grid-template-columns: 28px minmax(0, 1fr) auto !important;
    gap: 13px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

body.page-people-item #cars .aio-car-vitrine__registry span {
    font-size: clamp(19px, 1.55vw, 26px) !important;
    line-height: .98 !important;
}

body.page-people-item #cars .aio-car-vitrine__registry em,
body.page-people-item #cars .aio-car-vitrine__registry small {
    font-size: 9px !important;
}

@media (max-width: 760px) {
    body.page-people-item #cars .aio-car-vitrine__countline {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
        margin-top: -12px !important;
    }
}

/* AIO_CAR_COUNTLINE_HARD_VISIBLE_20260711_END */

/* AIO_CAR_COUNTLINE_TOPRIGHT_COMPACT_20260711_START */

/* Сам раздел подтягиваем компактнее */
body.page-people-item #cars.aio-car-vitrine {
    padding-top: clamp(26px, 3.2vw, 44px) !important;
    scroll-margin-top: 150px !important;
}

/* Счётчик — над правым верхним углом реестра, без второй подписи */
body.page-people-item #cars .aio-car-vitrine__countline {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    padding: 0 2px !important;
    position: relative !important;
    z-index: 5 !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 0 !important;
}

body.page-people-item #cars .aio-car-vitrine__countline span {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.62) !important;
    white-space: nowrap !important;
}

/* На всякий случай полностью убираем старую правую подпись */
body.page-people-item #cars .aio-car-vitrine__countline em {
    display: none !important;
}

/* Реестр машин — чуть ниже счётчика, но ближе к автомобилю */
body.page-people-item #cars .aio-car-vitrine__registry {
    margin: 0 0 clamp(18px, 2.2vw, 30px) !important;
    padding-bottom: 5px !important;
}

/* Переключатели немного компактнее */
body.page-people-item #cars .aio-car-vitrine__registry button {
    flex-basis: clamp(225px, 25vw, 350px) !important;
    min-height: 52px !important;
    grid-template-columns: 26px minmax(0, 1fr) auto !important;
    gap: 12px !important;
    padding-left: 17px !important;
    padding-right: 17px !important;
}

body.page-people-item #cars .aio-car-vitrine__registry span {
    font-size: clamp(18px, 1.42vw, 24px) !important;
    line-height: .98 !important;
}

body.page-people-item #cars .aio-car-vitrine__registry em,
body.page-people-item #cars .aio-car-vitrine__registry small {
    font-size: 8.5px !important;
}

/* Подтягиваем сам разворот автомобиля ближе к реестру */
body.page-people-item #cars .aio-car-vitrine__panels {
    margin-top: 0 !important;
}

body.page-people-item #cars .aio-car-vitrine__panel {
    margin-top: 0 !important;
}

/* AIO_CAR_COUNTLINE_TOPRIGHT_COMPACT_20260711_END */

/* AIO_MEMBER_PHOTOARCHIVE_GALLERY_20260711_START */

body.page-people-item .aio-member-photoarchive-strip {
    background:
        radial-gradient(circle at 12% 20%, rgba(169,67,43,.075), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 100%) !important;
    padding: clamp(34px, 4.6vw, 68px) 0 clamp(44px, 5.6vw, 78px) !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
}

body.page-people-item .aio-member-photoarchive-strip__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 24px !important;
    align-items: end !important;
    margin: 0 0 clamp(18px, 2.4vw, 30px) !important;
}

body.page-people-item .aio-member-photoarchive-strip__head .aio-kicker {
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-photoarchive-strip__head h2 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 58px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    color: #1D1D1D !important;
}

body.page-people-item .aio-member-photoarchive-strip__all {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 0 15px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(248,245,239,.62) !important;
    color: #072D5B !important;
    text-decoration: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body.page-people-item .aio-member-photoarchive-strip__all:hover {
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-photoarchive-strip__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(14px, 1.5vw, 22px) !important;
}

body.page-people-item .aio-member-photoarchive-card {
    position: relative !important;
    display: block !important;
    min-height: clamp(230px, 25vw, 365px) !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: #05070A !important;
    color: #F8F5EF !important;
    text-decoration: none !important;
    box-shadow: 0 24px 52px rgba(7,45,91,.12) !important;
}

body.page-people-item .aio-member-photoarchive-card img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: saturate(.76) contrast(.96) brightness(.82) sepia(.10) !important;
    transform: scale(1.01) !important;
    transition: transform .55s ease, filter .55s ease !important;
}

body.page-people-item .aio-member-photoarchive-card:hover img {
    transform: scale(1.045) !important;
    filter: saturate(.92) contrast(.98) brightness(.9) sepia(.06) !important;
}

body.page-people-item .aio-member-photoarchive-card__shade {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(5,7,10,.08) 0%, rgba(5,7,10,.22) 42%, rgba(5,7,10,.78) 100%),
        radial-gradient(circle at 12% 12%, rgba(248,245,239,.10), transparent 18rem),
        linear-gradient(135deg, rgba(7,45,91,.10), rgba(169,67,43,.18)) !important;
}

body.page-people-item .aio-member-photoarchive-card__body {
    position: absolute !important;
    z-index: 3 !important;
    left: clamp(18px, 2vw, 28px) !important;
    right: clamp(18px, 2vw, 28px) !important;
    bottom: clamp(18px, 2vw, 28px) !important;
    display: grid !important;
    gap: 7px !important;
}

body.page-people-item .aio-member-photoarchive-card__meta {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.82) !important;
}

body.page-people-item .aio-member-photoarchive-card strong {
    display: block !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.7vw, 44px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-photoarchive-card em {
    display: block !important;
    max-width: 92% !important;
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    color: rgba(248,245,239,.76) !important;
}

body.page-people-item .aio-member-photoarchive-card__empty {
    position: absolute !important;
    inset: 0 !important;
    display: grid !important;
    place-items: center !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    color: rgba(248,245,239,.74) !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-photoarchive-strip__head {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    body.page-people-item .aio-member-photoarchive-strip__grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-photoarchive-card {
        min-height: 280px !important;
    }
}

/* AIO_MEMBER_PHOTOARCHIVE_GALLERY_20260711_END */

/* AIO_MEMBER_PHOTOALBUMS_CLEAN_20260711_START */

/* На странице участника: оставляем кикер "Фотоархив", но убираем крупный дубль "Фотоальбомы участника" */
body.page-people-item .aio-member-photoalbums-promos-section .aio-section-head h2,
body.page-people-item .aio-member-photoalbums-section .aio-section-head h2,
body.page-people-item .aio-member-photoarchive-section .aio-section-head h2,
body.page-people-item .aio-member-photoalbums-promos-section .aio-section-head__title,
body.page-people-item .aio-member-photoalbums-section .aio-section-head__title,
body.page-people-item .aio-member-photoarchive-section .aio-section-head__title {
    display: none !important;
}

/* Сетка фотоальбомов — компактнее, как в общей галерее */
body.page-people-item .aio-member-album-promos-grid,
body.page-people-item .aio-member-photoalbums-grid,
body.page-people-item .aio-member-photoarchive-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 28px) !important;
}

/* Карточка фотоальбома — без лишней описательной части */
body.page-people-item .aio-member-album-promo__body p,
body.page-people-item .aio-member-album-promo__body > span,
body.page-people-item .aio-member-album-promo__excerpt,
body.page-people-item .aio-member-album-promo__description,
body.page-people-item .aio-member-photoalbum-card__excerpt,
body.page-people-item .aio-member-photoalbum-card__description,
body.page-people-item .aio-photoalbum-card__excerpt,
body.page-people-item .aio-photoalbum-card__description {
    display: none !important;
}

/* Название альбома на карточке — меньше примерно в полтора раза */
body.page-people-item .aio-member-album-promo h3,
body.page-people-item .aio-member-album-promo__title,
body.page-people-item .aio-member-photoalbum-card h3,
body.page-people-item .aio-photoalbum-card h3 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(26px, 2.45vw, 42px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
}

/* Верхняя служебная строка: тип / событие / год */
body.page-people-item .aio-member-album-promo__meta,
body.page-people-item .aio-member-photoalbum-card__meta,
body.page-people-item .aio-photoalbum-card__meta {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

/* Количество фотографий — оставить, но сделать аккуратнее */
body.page-people-item .aio-member-album-promo em,
body.page-people-item .aio-member-album-promo__count,
body.page-people-item .aio-member-photoalbum-card__count,
body.page-people-item .aio-photoalbum-card__count {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

/* Фотоальбомы не должны раздувать страницу */
body.page-people-item .aio-member-album-promo,
body.page-people-item .aio-member-photoalbum-card,
body.page-people-item .aio-photoalbum-card {
    min-height: 0 !important;
}

/* Мобилка */
@media (max-width: 980px) {
    body.page-people-item .aio-member-album-promos-grid,
    body.page-people-item .aio-member-photoalbums-grid,
    body.page-people-item .aio-member-photoarchive-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-album-promo h3,
    body.page-people-item .aio-member-album-promo__title,
    body.page-people-item .aio-member-photoalbum-card h3,
    body.page-people-item .aio-photoalbum-card h3 {
        font-size: clamp(25px, 8vw, 34px) !important;
    }
}

/* AIO_MEMBER_PHOTOALBUMS_CLEAN_20260711_END */


/* AIO_MEMBER_PHOTOARCHIVE_REAL_CLEAN_20260711_START */

/* Страница участника: фотоархив как компактная галерейная лента */
body.page-people-item .aio-member-photoarchive-strip {
    padding: clamp(42px, 4.8vw, 68px) 0 clamp(42px, 5vw, 72px) !important;
    background: #F8F5EF !important;
}

body.page-people-item .aio-member-photoarchive-strip__head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 0 0 24px !important;
}

body.page-people-item .aio-member-photoarchive-strip__head h2 {
    display: none !important;
}

body.page-people-item .aio-member-photoarchive-strip__head .aio-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-photoarchive-strip__all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 18px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(248,245,239,.72) !important;
    color: #072D5B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.page-people-item .aio-member-photoarchive-strip__all:hover {
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-photoarchive-strip__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(16px, 1.8vw, 26px) !important;
}

body.page-people-item .aio-member-photoarchive-card {
    position: relative !important;
    display: block !important;
    min-height: clamp(250px, 23vw, 360px) !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.16) !important;
    background: #07172C !important;
    color: #F8F5EF !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.page-people-item .aio-member-photoarchive-card img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.78) contrast(1.03) brightness(.88) sepia(.10) !important;
    transform: scale(1.001) !important;
    transition: transform .35s ease, filter .35s ease !important;
}

body.page-people-item .aio-member-photoarchive-card:hover img {
    transform: scale(1.035) !important;
    filter: saturate(.92) contrast(1.02) brightness(.94) sepia(.06) !important;
}

body.page-people-item .aio-member-photoarchive-card__shade {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    background:
        linear-gradient(180deg, rgba(5,7,10,.06) 0%, rgba(5,7,10,.28) 45%, rgba(5,7,10,.78) 100%),
        linear-gradient(90deg, rgba(7,45,91,.18), rgba(169,67,43,.12)) !important;
    pointer-events: none !important;
}

body.page-people-item .aio-member-photoarchive-card__body {
    position: absolute !important;
    left: clamp(18px, 1.8vw, 28px) !important;
    right: clamp(18px, 1.8vw, 28px) !important;
    bottom: clamp(18px, 1.8vw, 28px) !important;
    z-index: 2 !important;
    display: block !important;
}

body.page-people-item .aio-member-photoarchive-card__meta {
    display: block !important;
    margin: 0 0 8px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.86) !important;
}

body.page-people-item .aio-member-photoarchive-card strong {
    display: block !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.35vw, 39px) !important;
    line-height: .9 !important;
    font-weight: 400 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-photoarchive-card em,
body.page-people-item .aio-member-photoarchive-card__body em {
    display: none !important;
}

body.page-people-item .aio-member-photoarchive-card__empty {
    position: absolute !important;
    inset: 0 !important;
    display: grid !important;
    place-items: center !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.72) !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-photoarchive-strip__grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-photoarchive-card {
        min-height: 270px !important;
    }
}

@media (max-width: 640px) {
    body.page-people-item .aio-member-photoarchive-strip__head {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    body.page-people-item .aio-member-photoarchive-strip__all {
        width: 100% !important;
    }
}

/* AIO_MEMBER_PHOTOARCHIVE_REAL_CLEAN_20260711_END */

/* AIO_MEMBER_UNIFIED_PAPER_BG_20260711_START */

/*
   Единая подложка страницы участника:
   после hero все блоки живут на одной тёплой музейной бумаге,
   без скачков от белого к жёлтому и обратно.
*/

body.page-people-item {
    background: #F8F5EF !important;
}

body.page-people-item main,
body.page-people-item .layout-main,
body.page-people-item .page-content {
    background:
        radial-gradient(circle at 13% 18%, rgba(242,227,207,.62), transparent 34rem),
        radial-gradient(circle at 88% 44%, rgba(200,87,38,.075), transparent 31rem),
        radial-gradient(circle at 50% 84%, rgba(7,45,91,.035), transparent 34rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 46%, #F8F5EF 100%) !important;
}

/* Все основные секции страницы участника становятся прозрачными,
   чтобы не было разных белых/жёлтых прямоугольников. */

body.page-people-item .aio-member-profile-page,
body.page-people-item .aio-member-cars-section,
body.page-people-item .aio-member-cars-museum,
body.page-people-item .aio-car-vitrine,
body.page-people-item .aio-member-photoarchive-strip,
body.page-people-item .aio-member-posts-section,
body.page-people-item .aio-member-events-section,
body.page-people-item .aio-section {
    background: transparent !important;
}

/* Фотоархив и публикации — на той же бумаге, но с нормальными музейными отступами. */

body.page-people-item .aio-member-photoarchive-strip {
    padding-top: clamp(42px, 4.6vw, 66px) !important;
    padding-bottom: clamp(38px, 4.4vw, 62px) !important;
}

body.page-people-item .aio-member-posts-section {
    padding-top: clamp(34px, 4vw, 56px) !important;
    padding-bottom: clamp(48px, 5vw, 76px) !important;
}

/* Убираем ощущение отдельных белых плит под карточками публикаций,
   но сами карточки оставляем читаемыми. */

body.page-people-item .aio-member-post-card {
    background: rgba(248,245,239,.64) !important;
    border-color: rgba(7,45,91,.12) !important;
    box-shadow: none !important;
}

/* Если где-то старые блоки ещё тянут белую подложку. */

body.page-people-item .aio-member-about-card,
body.page-people-item .aio-member-clubs-card,
body.page-people-item .aio-member-profile-empty {
    background: rgba(248,245,239,.58) !important;
}

/* AIO_MEMBER_UNIFIED_PAPER_BG_20260711_END */

/* AIO_MEMBER_WARM_PAPER_FLOW_20260711_START */

/*
   Страница участника: единая тёплая бумага.
   Сверху после hero — светло.
   Ниже, к автомобилям / фотоархиву / публикациям — мягче, теплее, желтее.
*/

html body.page-people-item {
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F8F5EF 14%,
            #F7F0E5 34%,
            #F4E8D6 62%,
            #F2E3CF 100%
        ) !important;
}

/* Главная область страницы тоже получает тот же длинный переход,
   чтобы белые прослойки не перебивали общий тон. */

html body.page-people-item main {
    background:
        radial-gradient(circle at 16% 18%, rgba(255,255,255,.50), transparent 28rem),
        radial-gradient(circle at 82% 36%, rgba(200,87,38,.055), transparent 34rem),
        radial-gradient(circle at 42% 92%, rgba(242,227,207,.82), transparent 42rem),
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F8F5EF 16%,
            #F7F0E5 38%,
            #F4E8D6 68%,
            #F2E3CF 100%
        ) !important;
}

/* Убираем разные локальные подложки секций на странице участника. */

html body.page-people-item .aio-member-profile-page,
html body.page-people-item .aio-member-reset-page,
html body.page-people-item .aio-member-cars-section,
html body.page-people-item .aio-member-cars-museum,
html body.page-people-item .aio-car-vitrine,
html body.page-people-item #cars,
html body.page-people-item .aio-member-photoarchive-strip,
html body.page-people-item #photoalbums,
html body.page-people-item .aio-member-posts-section,
html body.page-people-item #publications,
html body.page-people-item .aio-member-events-section,
html body.page-people-item .aio-section {
    background: transparent !important;
}

/* Блок автомобилей не должен выглядеть белее блока "Обо мне". */

html body.page-people-item .aio-car-vitrine,
html body.page-people-item #cars {
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.30) 0%,
            rgba(247,240,229,.42) 42%,
            rgba(244,232,214,.54) 100%
        ) !important;
}

/* Фотоархив и публикации — ниже по странице, поэтому теплее. */

html body.page-people-item .aio-member-photoarchive-strip,
html body.page-people-item .aio-member-posts-section {
    background:
        linear-gradient(
            180deg,
            rgba(246,239,228,.44) 0%,
            rgba(244,232,214,.58) 52%,
            rgba(242,227,207,.70) 100%
        ) !important;
}

/* Карточки не должны возвращать холодный белый прямоугольник. */

html body.page-people-item .aio-member-post-card,
html body.page-people-item .aio-member-profile-empty,
html body.page-people-item .aio-member-about-card,
html body.page-people-item .aio-member-clubs-card {
    background: rgba(248,245,239,.54) !important;
    border-color: rgba(7,45,91,.10) !important;
    box-shadow: none !important;
}

/* AIO_MEMBER_WARM_PAPER_FLOW_20260711_END */

/* AIO_MEMBER_POSTS_LIKE_BLOGS_20260711_START */
body.page-people-item .aio-member-publications-strip {
    position: relative !important;
    padding: clamp(34px, 4.4vw, 62px) 0 clamp(62px, 6.5vw, 92px) !important;
    background:
        radial-gradient(circle at 92% 12%, rgba(200,87,38,.11), transparent 25rem),
        linear-gradient(180deg, #F8F5EF 0%, #F7F0E5 52%, #F2E3CF 100%) !important;
}

body.page-people-item .aio-member-publications-strip__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 0 22px !important;
}

body.page-people-item .aio-member-publications-strip__head .aio-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-people-item .aio-member-publications-strip__all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 20px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(248,245,239,.62) !important;
    color: #072D5B !important;
    text-decoration: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-publications-strip__all:hover {
    background: #072D5B !important;
    color: #F8F5EF !important;
}

body.page-people-item .aio-member-publications-strip__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(16px, 1.8vw, 28px) !important;
}

body.page-people-item .aio-member-publication-card,
body.page-people-item .aio-blog-museum-card.aio-member-publication-card {
    display: grid !important;
    grid-template-rows: 210px minmax(0, auto) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: rgba(248,245,239,.70) !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.page-people-item .aio-member-publication-card__image,
body.page-people-item .aio-blog-museum-card__image.aio-member-publication-card__image {
    position: relative !important;
    display: block !important;
    height: 210px !important;
    overflow: hidden !important;
    background: #07172C !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-publication-card__image::after,
body.page-people-item .aio-blog-museum-card__image.aio-member-publication-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.04), rgba(7,23,44,.18)),
        rgba(242,227,207,.10) !important;
    pointer-events: none !important;
}

body.page-people-item .aio-member-publication-card__image img,
body.page-people-item .aio-blog-museum-card__image.aio-member-publication-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) contrast(.98) sepia(.10) !important;
    transform: none !important;
    transition: transform .32s ease, filter .32s ease !important;
}

body.page-people-item .aio-member-publication-card:hover .aio-member-publication-card__image img {
    transform: scale(1.025) !important;
    filter: saturate(.88) contrast(1) sepia(.06) !important;
}

body.page-people-item .aio-member-publication-card__image > span {
    display: grid !important;
    place-items: center !important;
    height: 100% !important;
    color: rgba(248,245,239,.82) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 46px !important;
    font-weight: 400 !important;
    letter-spacing: .05em !important;
}

body.page-people-item .aio-member-publication-card__body,
body.page-people-item .aio-blog-museum-card__body.aio-member-publication-card__body {
    padding: 20px 22px 22px !important;
    background: rgba(248,245,239,.72) !important;
}

body.page-people-item .aio-member-publication-card .aio-blog-museum-card__type {
    margin: 0 0 9px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-publication-card h3 {
    margin: 0 0 12px !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.05vw, 34px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-publication-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

body.page-people-item .aio-member-publication-card .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 16px !important;
    color: rgba(45,45,45,.60) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-publication-card .aio-blog-museum-card__meta span + span::before {
    content: "·" !important;
    margin-right: 8px !important;
    color: rgba(169,67,43,.65) !important;
}

body.page-people-item .aio-member-publication-card .aio-blog-museum-card__link {
    display: inline-flex !important;
    color: #A9432B !important;
    text-decoration: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

body.page-people-item .aio-member-publication-card .aio-blog-museum-card__link:hover {
    color: #072D5B !important;
}

/* На всякий случай: старое описание публикаций на странице участника не показываем */
body.page-people-item .aio-member-post-card__body > span,
body.page-people-item .aio-member-publication-card .aio-blog-museum-card__excerpt,
body.page-people-item .aio-member-publication-card p:not(.aio-blog-museum-card__type) {
    display: none !important;
}

@media (max-width: 980px) {
    body.page-people-item .aio-member-publications-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    body.page-people-item .aio-member-publications-strip__head {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    body.page-people-item .aio-member-publications-strip__grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-item .aio-member-publication-card,
    body.page-people-item .aio-blog-museum-card.aio-member-publication-card {
        grid-template-rows: 220px minmax(0, auto) !important;
    }

    body.page-people-item .aio-member-publication-card__image,
    body.page-people-item .aio-blog-museum-card__image.aio-member-publication-card__image {
        height: 220px !important;
    }
}
/* AIO_MEMBER_POSTS_LIKE_BLOGS_20260711_END */

/* AIO_MEMBER_POSTS_AIO_CORMORANT_FONT_20260711_START */
/* Публикации на странице участника: заголовки тем же шрифтом, что в /blogs */
html body.page-people-item .aio-member-publication-card h3,
html body.page-people-item .aio-member-publication-card h3 a,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card h3,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card h3 a {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
}

/* Если в карточке нет фото и выводится буквенный плейсхолдер — тоже тем же шрифтом */
html body.page-people-item .aio-member-publication-card__image > span,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card__image > span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 400 !important;
}

/* Служебные строки остаются Montserrat, как в блогах */
html body.page-people-item .aio-member-publication-card .aio-blog-museum-card__type,
html body.page-people-item .aio-member-publication-card .aio-blog-museum-card__meta,
html body.page-people-item .aio-member-publication-card .aio-blog-museum-card__link,
html body.page-people-item .aio-member-publications-strip__head .aio-kicker,
html body.page-people-item .aio-member-publications-strip__all {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
}
/* AIO_MEMBER_POSTS_AIO_CORMORANT_FONT_20260711_END */

/* AIO_MEMBER_POSTS_AGED_BLOG_CARDS_20260711_START */
/* Публикации участника: фото и карточки должны выглядеть как состаренные карточки /blogs */
html body.page-people-item .aio-member-publication-card,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card {
    background:
        linear-gradient(180deg, rgba(248,245,239,.96), rgba(242,227,207,.82)) !important;
    border: 1px solid rgba(169,67,43,.20) !important;
    box-shadow:
        0 18px 54px rgba(54,38,22,.08),
        inset 0 1px 0 rgba(255,255,255,.48) !important;
}

/* Фото — не чистое, а музейно-приглушённое */
html body.page-people-item .aio-member-publication-card__image,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card__image {
    position: relative !important;
    overflow: hidden !important;
    background: #111 !important;
}

html body.page-people-item .aio-member-publication-card__image img,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card__image img {
    filter:
        saturate(.72)
        sepia(.16)
        contrast(.92)
        brightness(.86) !important;
    transform: scale(1.01) !important;
    transition: filter .28s ease, transform .28s ease !important;
}

/* Тёплая музейная вуаль поверх изображения */
html body.page-people-item .aio-member-publication-card__image::before,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card__image::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.05) 0%, rgba(7,23,44,.14) 48%, rgba(8,8,8,.30) 100%),
        radial-gradient(circle at 20% 12%, rgba(242,227,207,.18), transparent 38%),
        linear-gradient(90deg, rgba(169,67,43,.10), rgba(7,45,91,.08)) !important;
    mix-blend-mode: multiply !important;
}

/* Лёгкая бумажная пыль, чтобы не было ощущения новой плитки */
html body.page-people-item .aio-member-publication-card__image::after,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;
    opacity: .22 !important;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.05) 0,
            rgba(255,255,255,.05) 1px,
            transparent 1px,
            transparent 4px
        ) !important;
}

/* При наведении можно чуть вернуть жизнь, но не делать глянцевым */
html body.page-people-item .aio-member-publication-card:hover .aio-member-publication-card__image img,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card:hover .aio-blog-museum-card__image img {
    filter:
        saturate(.86)
        sepia(.10)
        contrast(.96)
        brightness(.92) !important;
    transform: scale(1.035) !important;
}

/* Нижняя часть карточки — не белая, а тёплая бумага */
html body.page-people-item .aio-member-publication-card__body,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card__body {
    background:
        linear-gradient(180deg, rgba(248,245,239,.96), rgba(242,227,207,.70)) !important;
}

/* Если у публикации нет фото, плейсхолдер тоже не должен быть чёрной новой плиткой */
html body.page-people-item .aio-member-publication-card__image > span,
html body.page-people-item .aio-member-publications-strip .aio-blog-museum-card__image > span {
    background:
        radial-gradient(circle at 30% 20%, rgba(169,67,43,.16), transparent 34%),
        linear-gradient(135deg, #11151A, #07172C 58%, #2B1A18) !important;
    color: rgba(248,245,239,.88) !important;
}
/* AIO_MEMBER_POSTS_AGED_BLOG_CARDS_20260711_END */

/* AIO_MEMBER_MOBILE_OVERFLOW_FIX_20260711_START */

/*
   Public member profile mobile fix:
   - убираем белую полосу справа;
   - запрещаем странице горизонтально разъезжаться;
   - оставляем прокрутку только внутри меню/реестра машин;
   - делаем автомобильный блок читаемым на телефоне.
*/

@media (max-width: 760px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    html body.page-people-item,
    html body.page-people-item .aio-main,
    html body.page-people-item main,
    html body.page-people-item section,
    html body.page-people-item .aio-container {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item .aio-container {
        width: 100% !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Верхнее меню: не растягивает страницу, а прокручивается внутри */
    html body.page-people-item .aio-topbar,
    html body.page-people-item .aio-header,
    html body.page-people-item .aio-nav,
    html body.page-people-item .aio-main-nav,
    html body.page-people-item .aio-header__nav {
        max-width: 100vw !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item .aio-topbar::-webkit-scrollbar,
    html body.page-people-item .aio-header::-webkit-scrollbar,
    html body.page-people-item .aio-nav::-webkit-scrollbar,
    html body.page-people-item .aio-main-nav::-webkit-scrollbar,
    html body.page-people-item .aio-header__nav::-webkit-scrollbar {
        display: none !important;
    }

    /* Hero на телефоне: полностью в ширину экрана, без бокового выезда */
    html body.page-people-item .aio-member-showcase-hero {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    html body.page-people-item .aio-member-showcase-hero__photo {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    html body.page-people-item .aio-member-showcase-hero__photo img {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    html body.page-people-item .aio-member-showcase-hero__content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item .aio-member-showcase-tabs {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    html body.page-people-item .aio-member-showcase-tabs .aio-container {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
        scrollbar-width: none !important;
    }

    html body.page-people-item .aio-member-showcase-tabs .aio-container::-webkit-scrollbar {
        display: none !important;
    }

    html body.page-people-item .aio-member-showcase-tabs a {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    /* Обо мне */
    html body.page-people-item .aio-member-reset-page,
    html body.page-people-item .aio-member-reset-layout,
    html body.page-people-item .aio-member-reset-main,
    html body.page-people-item .aio-member-reset-intro-card,
    html body.page-people-item .aio-member-reset-story-card,
    html body.page-people-item .aio-member-reset-clubs {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Автомобили */
    html body.page-people-item #cars.aio-car-vitrine {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding-top: 34px !important;
        padding-bottom: 42px !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__countline {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 12px !important;
        text-align: left !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__registry {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        margin: 0 0 24px !important;
        padding: 0 0 8px !important;
        scrollbar-width: thin !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__registry button {
        flex: 0 0 78vw !important;
        width: 78vw !important;
        max-width: 78vw !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__registry span {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__panels,
    html body.page-people-item #cars .aio-car-vitrine__panel,
    html body.page-people-item #cars .aio-car-vitrine__panel.is-active,
    html body.page-people-item #cars .aio-car-vitrine__visual,
    html body.page-people-item #cars .aio-car-vitrine__dossier {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__panel.is-active {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__photo {
        width: 100% !important;
        max-width: 100% !important;
        height: clamp(260px, 70vw, 360px) !important;
        min-height: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__photo img {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__photo-count {
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__chips {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__chips span {
        max-width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__lead {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__specs {
        width: 100% !important;
        max-width: 100% !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__specs > div {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 11px 0 !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__specs dt,
    html body.page-people-item #cars .aio-car-vitrine__specs dd {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    html body.page-people-item #cars .aio-member-car-passport__more,
    html body.page-people-item #cars .aio-member-car-passport__more-specs,
    html body.page-people-item #cars .aio-member-car-passport__more-specs > div {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    html body.page-people-item #cars .aio-member-car-passport__more-specs > div {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    /* Фотоархив и публикации */
    html body.page-people-item .aio-member-photoarchive-strip,
    html body.page-people-item .aio-member-publications-strip {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    html body.page-people-item .aio-member-photoarchive-strip__grid,
    html body.page-people-item .aio-member-publications-strip__grid {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        overflow-x: hidden !important;
    }

    html body.page-people-item .aio-member-photoarchive-card,
    html body.page-people-item .aio-member-publication-card,
    html body.page-people-item .aio-blog-museum-card.aio-member-publication-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
}

/* Совсем узкие телефоны */
@media (max-width: 430px) {
    html body.page-people-item .aio-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__registry button {
        flex-basis: 82vw !important;
        width: 82vw !important;
        max-width: 82vw !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__photo {
        height: clamp(240px, 74vw, 330px) !important;
    }

    html body.page-people-item #cars .aio-car-vitrine__photo-count {
        font-size: 9px !important;
        padding: 11px 14px !important;
    }
}

/* AIO_MEMBER_MOBILE_OVERFLOW_FIX_20260711_END */

/* AIO_MEMBER_LEGAL_DISCLAIMER_20260711_START */

body.page-people-item .aio-member-legal-disclaimer {
    padding: 18px 0 22px !important;
    margin: 0 !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(200, 87, 38, .045), transparent 38%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 100%) !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
}

body.page-people-item .aio-member-legal-disclaimer p {
    margin: 0 !important;
    max-width: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    letter-spacing: .03em !important;
    color: rgba(45,45,45,.48) !important;
    text-align: center !important;
}

@media (max-width: 760px) {
    body.page-people-item .aio-member-legal-disclaimer {
        padding: 16px 0 20px !important;
    }

    body.page-people-item .aio-member-legal-disclaimer p {
        text-align: left !important;
        font-size: 9.5px !important;
        line-height: 1.55 !important;
    }
}

/* AIO_MEMBER_LEGAL_DISCLAIMER_20260711_END */

/* AIO_CLUBS_COVER_LOGO_CARD_20260711_START
   /clubs: карточка клуба = обложка сверху, эмблема маленьким знаком поверх.
   Эталонная логика: cover — атмосфера, logo — знак клуба.
*/
html body.page-clubs .aio-clubs-clean-page {
    padding: clamp(42px, 5vw, 72px) 0 !important;
}

html body.page-clubs .aio-clubs-clean-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(22px, 2.2vw, 36px) !important;
    align-items: stretch !important;
}

html body.page-clubs .aio-club-clean-card {
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: 235px 1fr !important;
    background:
        linear-gradient(180deg, rgba(255,252,245,.94), rgba(248,241,229,.92)) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    box-shadow: 0 22px 64px rgba(7,23,44,.08) !important;
    overflow: hidden !important;
}

html body.page-clubs .aio-club-clean-card__image {
    position: relative !important;
    min-height: 0 !important;
    height: 235px !important;
    display: block !important;
    overflow: hidden !important;
    background: #07172C !important;
}

html body.page-clubs .aio-club-clean-card__image::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.06), rgba(7,23,44,.52)),
        radial-gradient(circle at 18% 18%, rgba(248,245,239,.14), transparent 42%) !important;
    pointer-events: none !important;
}

html body.page-clubs .aio-club-clean-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    filter: saturate(.78) contrast(1.03) sepia(.10) !important;
    transform: scale(1.01) !important;
    transition: transform .35s ease, filter .35s ease !important;
}

html body.page-clubs .aio-club-clean-card:hover .aio-club-clean-card__image > img {
    transform: scale(1.045) !important;
    filter: saturate(.95) contrast(1.04) sepia(.04) !important;
}

html body.page-clubs .aio-club-clean-card__image > span {
    position: absolute !important;
    inset: 0 !important;
    display: grid !important;
    place-items: center !important;
    z-index: 1 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(42px, 5vw, 76px) !important;
    line-height: 1 !important;
    color: rgba(248,245,239,.78) !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

html body.page-clubs .aio-club-clean-card__logo {
    position: absolute !important;
    left: 28px !important;
    bottom: 22px !important;
    z-index: 4 !important;
    width: 74px !important;
    height: 74px !important;
    display: grid !important;
    place-items: center !important;
    padding: 9px !important;
    background: rgba(248,245,239,.92) !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    border-radius: 999px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.26) !important;
    overflow: hidden !important;
}

html body.page-clubs .aio-club-clean-card__logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: none !important;
    transform: none !important;
}

html body.page-clubs .aio-club-clean-card__body {
    padding: 28px 30px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

html body.page-clubs .aio-club-clean-card__kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

html body.page-clubs .aio-club-clean-card h3 {
    margin: 0 0 16px !important;
}

html body.page-clubs .aio-club-clean-card h3,
html body.page-clubs .aio-club-clean-card h3 a {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(35px, 3.05vw, 51px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    color: #07172C !important;
    text-decoration: none !important;
}

html body.page-clubs .aio-club-clean-card__text {
    margin: 0 0 22px !important;
    max-width: 96% !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.58 !important;
    font-weight: 500 !important;
    color: rgba(45,45,45,.72) !important;
}

html body.page-clubs .aio-club-clean-card__tags {
    margin-top: auto !important;
    padding-top: 14px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

html body.page-clubs .aio-club-clean-card__tags span {
    padding: 7px 11px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.08) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.72) !important;
}

html body.page-clubs .aio-club-clean-card__link {
    margin-top: 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

html body.page-clubs .aio-club-clean-card__link:hover {
    color: #072D5B !important;
}

html body.page-clubs .aio-club-clean-card_join {
    grid-template-rows: 1fr !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__body {
    min-height: 420px !important;
    justify-content: center !important;
}

@media (max-width: 980px) {
    html body.page-clubs .aio-clubs-clean-grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-clubs .aio-club-clean-card {
        grid-template-rows: 220px 1fr !important;
    }

    html body.page-clubs .aio-club-clean-card__image {
        height: 220px !important;
    }
}

@media (max-width: 640px) {
    html body.page-clubs .aio-clubs-clean-page {
        padding: 32px 0 46px !important;
    }

    html body.page-clubs .aio-club-clean-card {
        grid-template-rows: 190px 1fr !important;
    }

    html body.page-clubs .aio-club-clean-card__image {
        height: 190px !important;
    }

    html body.page-clubs .aio-club-clean-card__body {
        padding: 24px 22px 26px !important;
    }

    html body.page-clubs .aio-club-clean-card__logo {
        width: 62px !important;
        height: 62px !important;
        left: 20px !important;
        bottom: 18px !important;
        padding: 8px !important;
    }

    html body.page-clubs .aio-club-clean-card h3,
    html body.page-clubs .aio-club-clean-card h3 a {
        font-size: clamp(32px, 10vw, 42px) !important;
    }
}
/* AIO_CLUBS_COVER_LOGO_CARD_20260711_END */

/* AIO_CLUBS_COMPACT_COVER_CARDS_20260711_START
   /clubs: компактная карточка. Описание не выводим.
   cover = верх карточки; logo = знак. Если cover нет, logo показываем крупно как основное изображение.
*/

html body.page-clubs .aio-clubs-clean-page {
    padding: clamp(36px, 4.2vw, 58px) 0 clamp(46px, 5vw, 70px) !important;
}

html body.page-clubs .aio-clubs-clean-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(20px, 2vw, 30px) !important;
    align-items: stretch !important;
}

html body.page-clubs .aio-club-clean-card {
    display: grid !important;
    grid-template-rows: 205px auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, rgba(255,252,245,.96), rgba(247,239,225,.92)) !important;
    border: 1px solid rgba(7,45,91,.14) !important;
    box-shadow: 0 18px 46px rgba(7,23,44,.065) !important;
}

html body.page-clubs .aio-club-clean-card__image {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 205px !important;
    min-height: 205px !important;
    max-height: 205px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 50% 38%, rgba(255,255,255,.72), rgba(246,238,224,.92) 58%, rgba(238,225,205,.94)) !important;
}

html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image {
    background: #07172C !important;
}

html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.04), rgba(7,23,44,.46)),
        radial-gradient(circle at 20% 15%, rgba(248,245,239,.12), transparent 42%) !important;
    pointer-events: none !important;
}

html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image > img:not(.aio-club-clean-card__main-logo) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    filter: saturate(.78) contrast(1.03) sepia(.10) !important;
    transform: scale(1.01) !important;
    transition: transform .35s ease, filter .35s ease !important;
}

html body.page-clubs .aio-club-clean-card.has-cover:hover .aio-club-clean-card__image > img:not(.aio-club-clean-card__main-logo) {
    transform: scale(1.04) !important;
    filter: saturate(.94) contrast(1.04) sepia(.04) !important;
}

/* Если настоящей обложки нет — эмблема не мелкая и не в кружке */
html body.page-clubs .aio-club-clean-card.logo-only .aio-club-clean-card__main-logo {
    width: min(42%, 190px) !important;
    height: min(70%, 150px) !important;
    object-fit: contain !important;
    display: block !important;
    filter: saturate(.82) contrast(1.02) sepia(.08) !important;
    transform: none !important;
}

html body.page-clubs .aio-club-clean-card__image > span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(40px, 4.5vw, 64px) !important;
    line-height: 1 !important;
    color: rgba(7,45,91,.44) !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

/* Малый знак только поверх настоящей обложки */
html body.page-clubs .aio-club-clean-card__logo {
    position: absolute !important;
    left: 22px !important;
    bottom: 18px !important;
    z-index: 4 !important;
    width: 58px !important;
    height: 58px !important;
    display: grid !important;
    place-items: center !important;
    padding: 7px !important;
    background: rgba(248,245,239,.94) !important;
    border: 1px solid rgba(255,255,255,.68) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
    overflow: hidden !important;
}

html body.page-clubs .aio-club-clean-card__logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: none !important;
    transform: none !important;
}

html body.page-clubs .aio-club-clean-card__body {
    padding: 24px 28px 26px !important;
    min-height: 230px !important;
    display: flex !important;
    flex-direction: column !important;
}

html body.page-clubs .aio-club-clean-card__kicker {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

html body.page-clubs .aio-club-clean-card h3 {
    margin: 0 !important;
}

html body.page-clubs .aio-club-clean-card h3,
html body.page-clubs .aio-club-clean-card h3 a {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(30px, 2.45vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .005em !important;
    color: #07172C !important;
    text-decoration: none !important;
}

html body.page-clubs .aio-club-clean-card__text {
    display: none !important;
}

html body.page-clubs .aio-club-clean-card__tags {
    margin-top: auto !important;
    padding-top: 18px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

html body.page-clubs .aio-club-clean-card__tags span {
    max-width: 100% !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: rgba(7,45,91,.08) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: rgba(7,45,91,.72) !important;
}

html body.page-clubs .aio-club-clean-card__link {
    margin-top: 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

html body.page-clubs .aio-club-clean-card__link:hover {
    color: #072D5B !important;
}

/* CTA возвращаем в графит */
html body.page-clubs .aio-club-clean-card_join {
    grid-template-rows: 1fr !important;
    min-height: 300px !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(169,67,43,.18), transparent 38%),
        linear-gradient(135deg, #101216 0%, #07172C 72%, #06101F 100%) !important;
    border-color: rgba(255,255,255,.10) !important;
    box-shadow: 0 22px 58px rgba(7,23,44,.16) !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__body {
    min-height: 300px !important;
    justify-content: center !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__kicker {
    color: #D99478 !important;
}

html body.page-clubs .aio-club-clean-card_join h3,
html body.page-clubs .aio-club-clean-card_join h3 a {
    color: #F8F5EF !important;
    font-size: clamp(31px, 2.55vw, 44px) !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__link {
    color: #D99478 !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__link:hover {
    color: #F8F5EF !important;
}

@media (max-width: 980px) {
    html body.page-clubs .aio-clubs-clean-grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-clubs .aio-club-clean-card {
        grid-template-rows: 190px auto !important;
    }

    html body.page-clubs .aio-club-clean-card__image {
        height: 190px !important;
        min-height: 190px !important;
        max-height: 190px !important;
    }
}

@media (max-width: 640px) {
    html body.page-clubs .aio-club-clean-card {
        grid-template-rows: 170px auto !important;
    }

    html body.page-clubs .aio-club-clean-card__image {
        height: 170px !important;
        min-height: 170px !important;
        max-height: 170px !important;
    }

    html body.page-clubs .aio-club-clean-card__body {
        padding: 22px 20px 24px !important;
        min-height: 210px !important;
    }

    html body.page-clubs .aio-club-clean-card h3,
    html body.page-clubs .aio-club-clean-card h3 a {
        font-size: clamp(29px, 8vw, 38px) !important;
    }

    html body.page-clubs .aio-club-clean-card.logo-only .aio-club-clean-card__main-logo {
        width: min(48%, 160px) !important;
        height: min(72%, 130px) !important;
    }
}
/* AIO_CLUBS_COMPACT_COVER_CARDS_20260711_END */

/* AIO_CLUBS_COVER_FULL_BLEED_20260711_START
   /clubs: обложка клуба занимает весь верх карточки.
   Если обложки нет, эмблема-заглушка крупная и читаемая.
*/

html body.page-clubs .aio-club-clean-card {
    grid-template-rows: 210px auto !important;
}

html body.page-clubs .aio-club-clean-card__image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #07172C !important;
}

/* Настоящая обложка — строго во весь выделенный прямоугольник */
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image > img:not(.aio-club-clean-card__main-logo),
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image img:first-child {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    filter: saturate(.82) contrast(1.04) sepia(.08) brightness(.86) !important;
    transform: scale(1.01) !important;
}

html body.page-clubs .aio-club-clean-card.has-cover:hover .aio-club-clean-card__image > img:not(.aio-club-clean-card__main-logo),
html body.page-clubs .aio-club-clean-card.has-cover:hover .aio-club-clean-card__image img:first-child {
    transform: scale(1.045) !important;
    filter: saturate(.94) contrast(1.04) sepia(.03) brightness(.92) !important;
}

/* Тёплая музейная вуаль поверх обложки */
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(7,23,44,.04), rgba(7,23,44,.38)),
        radial-gradient(circle at 18% 10%, rgba(248,245,239,.16), transparent 42%) !important;
    pointer-events: none !important;
}

/* Маленькую эмблему поверх обложки пока не показываем: она дробит карточку */
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__logo {
    display: none !important;
}

/* Если обложки нет — используем эмблему как крупную заглушку */
html body.page-clubs .aio-club-clean-card.logo-only .aio-club-clean-card__image {
    display: grid !important;
    place-items: center !important;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.88), rgba(246,238,224,.92) 56%, rgba(236,222,202,.96)) !important;
}

html body.page-clubs .aio-club-clean-card.logo-only .aio-club-clean-card__main-logo,
html body.page-clubs .aio-club-clean-card.logo-only .aio-club-clean-card__image > img {
    position: static !important;
    width: min(72%, 340px) !important;
    height: min(82%, 178px) !important;
    max-width: 340px !important;
    max-height: 178px !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    filter: saturate(.86) contrast(1.03) sepia(.06) !important;
    transform: none !important;
}

/* Чуть компактнее тело карточки */
html body.page-clubs .aio-club-clean-card__body {
    padding: 22px 26px 24px !important;
    min-height: 205px !important;
}

html body.page-clubs .aio-club-clean-card__kicker {
    margin-bottom: 11px !important;
}

/* Заголовок клуба — меньше, спокойнее */
html body.page-clubs .aio-club-clean-card h3,
html body.page-clubs .aio-club-clean-card h3 a {
    font-size: clamp(27px, 2.15vw, 37px) !important;
    line-height: .98 !important;
    letter-spacing: 0 !important;
}

/* CTA оставляем графитовой и тоже компактнее */
html body.page-clubs .aio-club-clean-card_join {
    min-height: 285px !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__body {
    min-height: 285px !important;
}

html body.page-clubs .aio-club-clean-card_join h3,
html body.page-clubs .aio-club-clean-card_join h3 a {
    font-size: clamp(28px, 2.2vw, 39px) !important;
}

@media (max-width: 980px) {
    html body.page-clubs .aio-club-clean-card {
        grid-template-rows: 200px auto !important;
    }

    html body.page-clubs .aio-club-clean-card__image {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }

    html body.page-clubs .aio-club-clean-card.logo-only .aio-club-clean-card__main-logo,
    html body.page-clubs .aio-club-clean-card.logo-only .aio-club-clean-card__image > img {
        width: min(68%, 280px) !important;
        height: min(80%, 160px) !important;
    }
}

@media (max-width: 640px) {
    html body.page-clubs .aio-club-clean-card {
        grid-template-rows: 180px auto !important;
    }

    html body.page-clubs .aio-club-clean-card__image {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }

    html body.page-clubs .aio-club-clean-card__body {
        padding: 20px 20px 22px !important;
        min-height: 190px !important;
    }

    html body.page-clubs .aio-club-clean-card h3,
    html body.page-clubs .aio-club-clean-card h3 a {
        font-size: clamp(27px, 7.2vw, 35px) !important;
    }
}

/* AIO_CLUBS_COVER_FULL_BLEED_20260711_END */

/* AIO_CLUBS_COVER_LOGO_BADGE_20260711_START
   /clubs: эмблема клуба как маленькая печать поверх обложки.
*/

html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image {
    position: relative !important;
}

/* Обложка остаётся на весь верх карточки */
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__cover,
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image > img.aio-club-clean-card__cover {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    max-height: none !important;
    filter: saturate(.82) contrast(1.04) sepia(.08) brightness(.86) !important;
    transform: scale(1.01) !important;
    transition: transform .35s ease, filter .35s ease !important;
}

html body.page-clubs .aio-club-clean-card.has-cover:hover .aio-club-clean-card__cover {
    transform: scale(1.045) !important;
    filter: saturate(.95) contrast(1.04) sepia(.03) brightness(.92) !important;
}

/* Правый верхний выбеленный угол под эмблему */
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__logo-badge {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 5 !important;

    width: 76px !important;
    height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 10px !important;
    border-radius: 18px !important;
    background:
        linear-gradient(145deg, rgba(248,245,239,.92), rgba(242,227,207,.74)) !important;
    border: 1px solid rgba(248,245,239,.66) !important;
    box-shadow:
        0 18px 42px rgba(7,23,44,.28),
        inset 0 0 0 1px rgba(255,255,255,.45) !important;

    backdrop-filter: blur(8px) saturate(.9) !important;
    -webkit-backdrop-filter: blur(8px) saturate(.9) !important;
}

/* Эмблема внутри — максимально крупная, без обрезки */
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__logo-badge img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    filter: saturate(.9) contrast(1.03) !important;
    transform: none !important;
}

/* При наведении — лёгкое подсвечивание эмблемы, не кислотное */
html body.page-clubs .aio-club-clean-card.has-cover:hover .aio-club-clean-card__logo-badge {
    background:
        linear-gradient(145deg, rgba(248,245,239,.98), rgba(242,227,207,.86)) !important;
    border-color: rgba(200,87,38,.42) !important;
    box-shadow:
        0 20px 52px rgba(7,23,44,.34),
        0 0 0 1px rgba(200,87,38,.22),
        inset 0 0 0 1px rgba(255,255,255,.55) !important;
}

/* На всякий случай перебиваем старое правило, которое прятало логотип поверх обложки */
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__logo,
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__logo-badge {
    display: flex !important;
}

@media (max-width: 980px) {
    html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__logo-badge {
        width: 68px !important;
        height: 68px !important;
        top: 14px !important;
        right: 14px !important;
        border-radius: 16px !important;
        padding: 9px !important;
    }
}

@media (max-width: 640px) {
    html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__logo-badge {
        width: 60px !important;
        height: 60px !important;
        top: 12px !important;
        right: 12px !important;
        border-radius: 14px !important;
        padding: 8px !important;
    }
}

/* AIO_CLUBS_COVER_LOGO_BADGE_20260711_END */

/* AIO_CLUBS_LOGO_ON_PAPER_20260711_START
   /clubs: эмблема клуба переносится с фотографии на бежевую часть карточки.
*/

html body.page-clubs .aio-club-clean-card__body {
    position: relative !important;
}

/* Старую позицию поверх фото гасим: теперь эмблема живёт на бумаге */
html body.page-clubs .aio-club-clean-card__image > .aio-club-clean-card__logo-badge {
    display: none !important;
}

/* Печать клуба на текстовой части карточки */
html body.page-clubs .aio-club-clean-card__body > .aio-club-clean-card__logo-badge_paper {
    position: absolute !important;
    top: 22px !important;
    right: 24px !important;
    z-index: 4 !important;

    width: 74px !important;
    height: 74px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 10px !important;
    border-radius: 20px !important;

    background:
        linear-gradient(145deg, rgba(248,245,239,.96), rgba(242,227,207,.82)) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow:
        0 12px 32px rgba(7,23,44,.08),
        inset 0 0 0 1px rgba(255,255,255,.55) !important;
}

/* Логотип внутри печати — крупнее и без обрезки */
html body.page-clubs .aio-club-clean-card__body > .aio-club-clean-card__logo-badge_paper img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    filter: saturate(.82) contrast(1.02) opacity(.92) !important;
}

/* Чтобы название не залезало под эмблему */
html body.page-clubs .aio-club-clean-card__body .aio-club-clean-card__kicker,
html body.page-clubs .aio-club-clean-card__body h3 {
    padding-right: 96px !important;
}

/* Но длинные названия всё равно не раздуваем */
html body.page-clubs .aio-club-clean-card h3,
html body.page-clubs .aio-club-clean-card h3 a {
    font-size: clamp(31px, 2.55vw, 42px) !important;
    line-height: .95 !important;
    letter-spacing: .01em !important;
}

/* Наведение — лёгкое, в цвет сайта, без яркой кнопочности */
html body.page-clubs .aio-club-clean-card:hover .aio-club-clean-card__body > .aio-club-clean-card__logo-badge_paper {
    border-color: rgba(169,67,43,.26) !important;
    box-shadow:
        0 14px 36px rgba(7,23,44,.11),
        0 0 0 1px rgba(169,67,43,.13),
        inset 0 0 0 1px rgba(255,255,255,.62) !important;
}

html body.page-clubs .aio-club-clean-card:hover .aio-club-clean-card__body > .aio-club-clean-card__logo-badge_paper img {
    filter: saturate(.95) contrast(1.04) opacity(1) !important;
}

@media (max-width: 980px) {
    html body.page-clubs .aio-club-clean-card__body > .aio-club-clean-card__logo-badge_paper {
        width: 66px !important;
        height: 66px !important;
        top: 18px !important;
        right: 18px !important;
        border-radius: 18px !important;
        padding: 9px !important;
    }

    html body.page-clubs .aio-club-clean-card__body .aio-club-clean-card__kicker,
    html body.page-clubs .aio-club-clean-card__body h3 {
        padding-right: 84px !important;
    }
}

@media (max-width: 640px) {
    html body.page-clubs .aio-club-clean-card__body > .aio-club-clean-card__logo-badge_paper {
        position: static !important;
        width: 62px !important;
        height: 62px !important;
        margin: 0 0 18px auto !important;
    }

    html body.page-clubs .aio-club-clean-card__body .aio-club-clean-card__kicker,
    html body.page-clubs .aio-club-clean-card__body h3 {
        padding-right: 0 !important;
    }
}

/* AIO_CLUBS_LOGO_ON_PAPER_20260711_END */

/* AIO_CLUBS_REMOVE_COVER_LOGO_SMALLER_TITLE_20260711_START */

/* На обложке эмблемы больше не показываем вообще */
html body.page-clubs .aio-club-clean-card__image .aio-club-clean-card__logo-badge,
html body.page-clubs .aio-club-clean-card__image .aio-club-clean-card__logo-badge_paper,
html body.page-clubs .aio-club-clean-card__image > span.aio-club-clean-card__logo-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Остаётся только эмблема-печать на бежевой части */
html body.page-clubs .aio-club-clean-card__body > .aio-club-clean-card__logo-badge_paper {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Названия клубов — ещё спокойнее и компактнее */
html body.page-clubs .aio-club-clean-card h3,
html body.page-clubs .aio-club-clean-card h3 a {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(27px, 2.25vw, 36px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .005em !important;
}

/* Чуть меньше вертикальная тяжесть карточки */
html body.page-clubs .aio-club-clean-card__body {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

html body.page-clubs .aio-club-clean-card__kicker {
    margin-bottom: 12px !important;
}

html body.page-clubs .aio-club-clean-card__tags {
    margin-top: 24px !important;
}

html body.page-clubs .aio-club-clean-card__link {
    margin-top: 24px !important;
}

@media (max-width: 980px) {
    html body.page-clubs .aio-club-clean-card h3,
    html body.page-clubs .aio-club-clean-card h3 a {
        font-size: clamp(27px, 5.4vw, 34px) !important;
    }
}

/* AIO_CLUBS_REMOVE_COVER_LOGO_SMALLER_TITLE_20260711_END */


/* AIO_CLUBS_HARD_REMOVE_COVER_LOGO_20260711_START */
html body.page-clubs .aio-club-clean-card__image .aio-club-clean-card__logo,
html body.page-clubs .aio-club-clean-card__image > i,
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image > i,
html body.page-clubs .aio-club-clean-card.has-cover .aio-club-clean-card__image i img {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

html body.page-clubs .aio-club-clean-card h3,
html body.page-clubs .aio-club-clean-card h3 a {
    font-size: clamp(29px, 2.25vw, 39px) !important;
    line-height: .95 !important;
}
/* AIO_CLUBS_HARD_REMOVE_COVER_LOGO_20260711_END */


/* AIO_CLUBS_CTA_PROFILE_STYLE_20260711_START */
html body.page-clubs .aio-club-clean-card_join {
    background:
        radial-gradient(circle at 12% 18%, rgba(169, 67, 43, .22), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(7, 45, 91, .28), transparent 38%),
        linear-gradient(135deg, #171211 0%, #061426 68%, #071F3D 100%) !important;
    border: 1px solid rgba(242, 227, 207, .14) !important;
    box-shadow: 0 28px 70px rgba(7, 18, 34, .18) !important;
    min-height: 305px !important;
    display: flex !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__body {
    padding: 44px 48px 38px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 305px !important;
    background: transparent !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__kicker {
    color: #D58D78 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    margin: 0 0 18px !important;
}

html body.page-clubs .aio-club-clean-card_join h3,
html body.page-clubs .aio-club-clean-card_join h3 a {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", serif !important;
    font-size: clamp(32px, 3vw, 48px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
    color: #F8F5EF !important;
    max-width: 520px !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__text {
    display: none !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__link {
    margin-top: 28px !important;
    color: #D58D78 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__link:hover {
    color: #F2E3CF !important;
}

@media (max-width: 760px) {
    html body.page-clubs .aio-club-clean-card_join,
    html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__body {
        min-height: 260px !important;
    }

    html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__body {
        padding: 34px 28px 32px !important;
    }

    html body.page-clubs .aio-club-clean-card_join h3,
    html body.page-clubs .aio-club-clean-card_join h3 a {
        font-size: 34px !important;
    }
}
/* AIO_CLUBS_CTA_PROFILE_STYLE_20260711_END */

/* AIO_CLUBS_CTA_WARM_GRAPHITE_20260711_START */
html body.page-clubs .aio-club-clean-card_join {
    background:
        radial-gradient(circle at 18% 18%, rgba(169, 67, 43, .24), transparent 34%),
        radial-gradient(circle at 78% 20%, rgba(200, 87, 38, .14), transparent 38%),
        radial-gradient(circle at 62% 86%, rgba(242, 227, 207, .08), transparent 42%),
        linear-gradient(135deg, #120F0D 0%, #18120F 42%, #21130F 72%, #090807 100%) !important;
    border: 1px solid rgba(242, 227, 207, .16) !important;
    box-shadow: 0 26px 68px rgba(40, 24, 15, .22) !important;
}

html body.page-clubs .aio-club-clean-card_join::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg, rgba(248, 245, 239, .035), transparent 34%, rgba(169, 67, 43, .055)),
        repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px) !important;
    opacity: .55 !important;
}

html body.page-clubs .aio-club-clean-card_join h3,
html body.page-clubs .aio-club-clean-card_join h3 a {
    font-size: clamp(29px, 2.55vw, 42px) !important;
    line-height: .98 !important;
    letter-spacing: -.032em !important;
    max-width: 500px !important;
}

html body.page-clubs .aio-club-clean-card_join .aio-club-clean-card__body {
    padding-top: 40px !important;
    padding-bottom: 36px !important;
}

@media (max-width: 760px) {
    html body.page-clubs .aio-club-clean-card_join h3,
    html body.page-clubs .aio-club-clean-card_join h3 a {
        font-size: 31px !important;
    }
}
/* AIO_CLUBS_CTA_WARM_GRAPHITE_20260711_END */

/* AIO_CLUB_ITEM_SHOWCASE_HERO_20260711_START */
html body .aio-main .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: calc(100svh - 142px) !important;
    padding: 52px 0 48px !important;
    background:
        radial-gradient(circle at 18% 18%, rgba(169, 67, 43, .18), transparent 32%),
        radial-gradient(circle at 80% 22%, rgba(242, 227, 207, .10), transparent 38%),
        linear-gradient(120deg, #100E0C 0%, #17110E 42%, #21130F 70%, #090807 100%) !important;
    color: #F8F5EF !important;
}

html body .aio-main .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 76px 76px !important;
    opacity: .5 !important;
}

html body .aio-main .aio-club-showcase-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
}

html body .aio-main .aio-club-showcase-hero__grid {
    min-height: calc(100svh - 238px) !important;
    display: grid !important;
    grid-template-columns: minmax(360px, 42%) minmax(0, 58%) !important;
    gap: 34px !important;
    align-items: stretch !important;
}

html body .aio-main .aio-club-showcase-card {
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 520px !important;
    padding: clamp(34px, 4.2vw, 58px) !important;
    background:
        radial-gradient(circle at 18% 14%, rgba(200, 87, 38, .16), transparent 34%),
        linear-gradient(145deg, rgba(26, 19, 16, .96), rgba(12, 10, 9, .98)) !important;
    border: 1px solid rgba(242, 227, 207, .18) !important;
    box-shadow: 0 34px 90px rgba(0,0,0,.32) !important;
}

html body .aio-main .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 18px !important;
    color: #D58A72 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
}

html body .aio-main .aio-club-showcase-card__logo {
    width: 92px !important;
    height: 92px !important;
    margin: 0 0 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(248, 245, 239, .92) !important;
    border: 1px solid rgba(242, 227, 207, .42) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.24) !important;
}

html body .aio-main .aio-club-showcase-card__logo img {
    width: 78% !important;
    height: 78% !important;
    object-fit: contain !important;
    display: block !important;
}

html body .aio-main .aio-club-showcase-card h1 {
    max-width: 560px !important;
    margin: 0 0 16px !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.2vw, 66px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
}

html body .aio-main .aio-club-showcase-card__lead {
    max-width: 520px !important;
    margin: 0 0 22px !important;
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

html body .aio-main .aio-club-showcase-card__chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 22px !important;
}

html body .aio-main .aio-club-showcase-card__chips span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(242, 227, 207, .24) !important;
    border-radius: 999px !important;
    color: #F8F5EF !important;
    background: rgba(255,255,255,.045) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .11em !important;
}

html body .aio-main .aio-club-showcase-card__facts {
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 24px !important;
    border-top: 1px solid rgba(242, 227, 207, .16) !important;
}

html body .aio-main .aio-club-showcase-card__facts div {
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(242, 227, 207, .14) !important;
}

html body .aio-main .aio-club-showcase-card__facts dt {
    margin: 0 0 5px !important;
    color: #D58A72 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .16em !important;
}

html body .aio-main .aio-club-showcase-card__facts dd {
    margin: 0 !important;
    color: rgba(248,245,239,.86) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

html body .aio-main .aio-club-showcase-card__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 24px !important;
}

html body .aio-main .aio-club-showcase-card__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242, 227, 207, .24) !important;
    color: #F8F5EF !important;
    background: rgba(255,255,255,.06) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .12em !important;
    text-decoration: none !important;
    transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s ease !important;
}

html body .aio-main .aio-club-showcase-card__actions a:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #F8F5EF !important;
    transform: translateY(-1px) !important;
}

html body .aio-main .aio-club-showcase-visual {
    position: relative !important;
    min-height: 520px !important;
    overflow: hidden !important;
    background: #0A1726 !important;
    box-shadow: 0 34px 90px rgba(0,0,0,.26) !important;
}

html body .aio-main .aio-club-showcase-visual::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 62% 28%, rgba(248,245,239,.05), transparent 32%),
        linear-gradient(90deg, rgba(6,8,10,.18), rgba(6,8,10,.42)) !important;
    z-index: 2 !important;
}

html body .aio-main .aio-club-showcase-visual img {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    object-fit: cover !important;
    display: block !important;
    filter: sepia(.16) grayscale(.18) contrast(1.04) brightness(.82) saturate(.9) !important;
    transition: transform .7s ease, filter .7s ease !important;
}

html body .aio-main .aio-club-showcase-visual:hover img {
    transform: scale(1.025) !important;
    filter: sepia(.08) grayscale(.08) contrast(1.05) brightness(.88) saturate(.98) !important;
}

html body .aio-main .aio-club-showcase-visual__fallback {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 50% 45%, rgba(248,245,239,.12), transparent 32%),
        linear-gradient(135deg, #101010, #071626) !important;
}

html body .aio-main .aio-club-showcase-visual__fallback img {
    width: min(42%, 260px) !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    filter: none !important;
}

html body .aio-main .aio-club-showcase-visual__fallback span {
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 92px !important;
}

html body .aio-main .aio-club-showcase-tabs {
    position: sticky !important;
    top: 0 !important;
    z-index: 12 !important;
    background: rgba(248,245,239,.96) !important;
    border-bottom: 1px solid rgba(7,45,91,.12) !important;
    box-shadow: 0 12px 30px rgba(7,45,91,.06) !important;
}

html body .aio-main .aio-club-showcase-tabs .aio-container {
    display: flex !important;
    gap: clamp(18px, 3vw, 38px) !important;
    align-items: center !important;
    min-height: 56px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}

html body .aio-main .aio-club-showcase-tabs .aio-container::-webkit-scrollbar {
    display: none !important;
}

html body .aio-main .aio-club-showcase-tabs a {
    flex: 0 0 auto !important;
    color: #061E3A !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .13em !important;
    text-decoration: none !important;
    transition: color .2s ease !important;
}

html body .aio-main .aio-club-showcase-tabs a:hover {
    color: #A9432B !important;
}

/* Старую информационную карточку ниже скрываем: она теперь переехала в hero */
html body .aio-main .aio-club-profile-main .aio-club-profile-card {
    display: none !important;
}

html body .aio-main .aio-club-profile-main .aio-club-profile-grid {
    grid-template-columns: minmax(0, 1fr) !important;
}

html body .aio-main .aio-club-profile-main {
    padding-top: 52px !important;
}

@media (max-width: 1100px) {
    html body .aio-main .aio-club-showcase-hero {
        min-height: auto !important;
        padding: 34px 0 36px !important;
    }

    html body .aio-main .aio-club-showcase-hero__grid {
        min-height: 0 !important;
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-club-showcase-card,
    html body .aio-main .aio-club-showcase-visual,
    html body .aio-main .aio-club-showcase-visual img,
    html body .aio-main .aio-club-showcase-visual__fallback {
        min-height: 420px !important;
    }

    html body .aio-main .aio-club-showcase-visual {
        order: -1 !important;
    }
}

@media (max-width: 640px) {
    html body .aio-main .aio-club-showcase-hero {
        padding: 0 0 26px !important;
    }

    html body .aio-main .aio-club-showcase-hero__grid {
        gap: 0 !important;
    }

    html body .aio-main .aio-club-showcase-card {
        min-height: 0 !important;
        padding: 26px 22px 28px !important;
    }

    html body .aio-main .aio-club-showcase-card h1 {
        font-size: clamp(34px, 12vw, 48px) !important;
    }

    html body .aio-main .aio-club-showcase-card__facts {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-club-showcase-card__logo {
        width: 76px !important;
        height: 76px !important;
    }

    html body .aio-main .aio-club-showcase-visual,
    html body .aio-main .aio-club-showcase-visual img,
    html body .aio-main .aio-club-showcase-visual__fallback {
        min-height: 300px !important;
    }

    html body .aio-main .aio-club-showcase-tabs .aio-container {
        min-height: 52px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    html body .aio-main .aio-club-showcase-tabs a {
        font-size: 10px !important;
    }
}
/* AIO_CLUB_ITEM_SHOWCASE_HERO_20260711_END */

/* AIO_CLUB_HERO_LIKE_MEMBER_20260711_START */

/* Hero клуба — единая витрина, как карточка участника */
html body .aio-main .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    height: calc(100svh - 158px) !important;
    min-height: 520px !important;
    max-height: 650px !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 15% 16%, rgba(169, 67, 43, .18), transparent 30%),
        linear-gradient(90deg, #11100F 0%, #15110F 38%, #0A0908 100%) !important;
    color: #F8F5EF !important;
}

/* убираем ощущение коробки/рамки */
html body .aio-main .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(10, 8, 7, .98) 0%,
            rgba(12, 9, 8, .96) 28%,
            rgba(14, 10, 9, .86) 39%,
            rgba(14, 10, 9, .46) 50%,
            rgba(14, 10, 9, .08) 63%,
            rgba(14, 10, 9, .34) 100%
        ),
        radial-gradient(circle at 20% 50%, rgba(169,67,43,.18), transparent 34rem) !important;
}

html body .aio-main .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) !important;
    background-size: 76px 76px !important;
    opacity: .45 !important;
}

html body .aio-main .aio-club-showcase-hero .aio-container {
    height: 100% !important;
    position: relative !important;
    z-index: 5 !important;
}

html body .aio-main .aio-club-showcase-hero__grid {
    height: 100% !important;
    min-height: 0 !important;
    display: block !important;
}

/* Фото — как большая витринная плоскость справа */
html body .aio-main .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: calc((100vw - 100%) / -2) !important;
    bottom: 0 !important;
    left: 34% !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #111 !important;
    box-shadow: none !important;
}

html body .aio-main .aio-club-showcase-visual img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    filter: sepia(.16) grayscale(.22) contrast(1.04) brightness(.82) saturate(.9) !important;
    transform: none !important;
    transition: transform .7s ease, filter .7s ease !important;
}

html body .aio-main .aio-club-showcase-visual:hover img {
    transform: scale(1.025) !important;
    filter: sepia(.08) grayscale(.12) contrast(1.05) brightness(.88) saturate(.98) !important;
}

html body .aio-main .aio-club-showcase-visual::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg, rgba(12,9,8,.75) 0%, rgba(12,9,8,.38) 20%, rgba(12,9,8,.06) 48%, rgba(12,9,8,.28) 100%) !important;
}

/* Информация — без карточки, прямо на тёмной части */
html body .aio-main .aio-club-showcase-card {
    position: relative !important;
    z-index: 6 !important;
    width: min(39%, 520px) !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 26px 0 28px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .aio-main .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 14px !important;
    color: #D58A72 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .18em !important;
}

html body .aio-main .aio-club-showcase-card__logo {
    width: 66px !important;
    height: 66px !important;
    margin: 0 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(248,245,239,.9) !important;
    border: 1px solid rgba(242,227,207,.38) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.28) !important;
}

html body .aio-main .aio-club-showcase-card__logo img {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
    display: block !important;
}

html body .aio-main .aio-club-showcase-card h1 {
    max-width: 420px !important;
    margin: 0 0 14px !important;
    color: #F8F5EF !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 3.05vw, 48px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
}

html body .aio-main .aio-club-showcase-card__lead {
    max-width: 430px !important;
    margin: 0 0 16px !important;
    color: rgba(248,245,239,.75) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

/* Чипы компактно */
html body .aio-main .aio-club-showcase-card__chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 0 16px !important;
    max-width: 440px !important;
}

html body .aio-main .aio-club-showcase-card__chips span {
    min-height: 24px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.22) !important;
    background: rgba(255,255,255,.045) !important;
    color: rgba(248,245,239,.92) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .11em !important;
}

/* Факты — компактная сетка без тяжёлых рамок */
html body .aio-main .aio-club-showcase-card__facts {
    max-width: 440px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 22px !important;
    border-top: 1px solid rgba(242,227,207,.16) !important;
}

html body .aio-main .aio-club-showcase-card__facts div {
    padding: 11px 0 !important;
    border-bottom: 1px solid rgba(242,227,207,.13) !important;
}

html body .aio-main .aio-club-showcase-card__facts dt {
    margin: 0 0 4px !important;
    color: #D58A72 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .16em !important;
}

html body .aio-main .aio-club-showcase-card__facts dd {
    margin: 0 !important;
    color: rgba(248,245,239,.84) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.38 !important;
}

html body .aio-main .aio-club-showcase-card__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin-top: 16px !important;
}

html body .aio-main .aio-club-showcase-card__actions a {
    min-height: 30px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(242,227,207,.24) !important;
    background: rgba(255,255,255,.055) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .12em !important;
    text-decoration: none !important;
}

html body .aio-main .aio-club-showcase-card__actions a:hover {
    background: #A9432B !important;
    border-color: #A9432B !important;
    color: #F8F5EF !important;
}

/* Навигация под hero — не вкладки-коробки, а тонкая музейная строка */
html body .aio-main .aio-club-showcase-tabs {
    position: relative !important;
    z-index: 10 !important;
    background: rgba(248,245,239,.97) !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
    border-bottom: 1px solid rgba(7,45,91,.12) !important;
    box-shadow: none !important;
}

html body .aio-main .aio-club-showcase-tabs .aio-container {
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    gap: clamp(20px, 3.1vw, 42px) !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}

html body .aio-main .aio-club-showcase-tabs .aio-container::-webkit-scrollbar {
    display: none !important;
}

html body .aio-main .aio-club-showcase-tabs a {
    flex: 0 0 auto !important;
    color: #061E3A !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .14em !important;
    text-decoration: none !important;
}

html body .aio-main .aio-club-showcase-tabs a:hover {
    color: #A9432B !important;
}

/* Старую карточку клуба ниже не показываем */
html body .aio-main .aio-club-profile-main .aio-club-profile-card {
    display: none !important;
}

html body .aio-main .aio-club-profile-main .aio-club-profile-grid {
    grid-template-columns: minmax(0, 1fr) !important;
}

@media (max-width: 1100px) {
    html body .aio-main .aio-club-showcase-hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    html body .aio-main .aio-club-showcase-hero .aio-container {
        height: auto !important;
    }

    html body .aio-main .aio-club-showcase-hero__grid {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    html body .aio-main .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 360px !important;
        order: 1 !important;
    }

    html body .aio-main .aio-club-showcase-card {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        order: 2 !important;
        padding: 30px 0 34px !important;
    }
}

@media (max-width: 640px) {
    html body .aio-main .aio-club-showcase-visual {
        height: 300px !important;
    }

    html body .aio-main .aio-club-showcase-card h1 {
        font-size: clamp(30px, 10vw, 42px) !important;
    }

    html body .aio-main .aio-club-showcase-card__facts {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-club-showcase-tabs .aio-container {
        min-height: 50px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
/* AIO_CLUB_HERO_LIKE_MEMBER_20260711_END */

/* AIO_CLUB_HERO_SOFT_MASK_TITLE_20260711_START */

/* Название клуба — тоньше, меньше, музейнее */
html body .aio-main .aio-club-showcase-card h1 {
    max-width: 360px !important;
    margin: 0 0 18px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(24px, 2.05vw, 34px) !important;
    line-height: 1.04 !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.96) !important;
}

/* Фото фиксированное, без пульсации/увеличения */
html body .aio-main .aio-club-showcase-visual img,
html body .aio-main .aio-club-showcase-visual:hover img {
    transform: none !important;
    scale: 1 !important;
    transition: none !important;
    filter: sepia(.20) grayscale(.30) contrast(1.03) brightness(.70) saturate(.82) !important;
}

/* Мягкая тёмная вуаль, чтобы фото не отрезалось от левого блока */
html body .aio-main .aio-club-showcase-hero::before {
    background:
        linear-gradient(
            90deg,
            rgba(9, 7, 6, 1) 0%,
            rgba(10, 8, 7, .99) 24%,
            rgba(11, 8, 7, .96) 34%,
            rgba(12, 9, 8, .82) 43%,
            rgba(12, 9, 8, .52) 51%,
            rgba(12, 9, 8, .22) 60%,
            rgba(12, 9, 8, .18) 72%,
            rgba(12, 9, 8, .38) 100%
        ),
        radial-gradient(circle at 22% 46%, rgba(169,67,43,.18), transparent 32rem) !important;
}

/* Дополнительная дымка прямо на фото */
html body .aio-main .aio-club-showcase-visual::after {
    background:
        linear-gradient(
            90deg,
            rgba(9,7,6,.92) 0%,
            rgba(9,7,6,.74) 13%,
            rgba(9,7,6,.42) 28%,
            rgba(9,7,6,.16) 50%,
            rgba(9,7,6,.24) 78%,
            rgba(9,7,6,.48) 100%
        ),
        radial-gradient(circle at 54% 48%, rgba(0,0,0,.12), transparent 26rem) !important;
}

/* Чуть компактнее верхняя эмблема и отступы, чтобы hero жил легче */
html body .aio-main .aio-club-showcase-card__logo {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 18px !important;
}

html body .aio-main .aio-club-showcase-card {
    justify-content: center !important;
    padding-top: 20px !important;
    padding-bottom: 24px !important;
}

/* На мобиле название не должно снова становиться огромным */
@media (max-width: 640px) {
    html body .aio-main .aio-club-showcase-card h1 {
        font-size: clamp(28px, 8vw, 36px) !important;
        max-width: 100% !important;
    }
}
/* AIO_CLUB_HERO_SOFT_MASK_TITLE_20260711_END */

/* AIO_CLUB_HERO_BORDER_BLUR_20260711_START */

/* Стираем видимую вертикальную границу между тёмным блоком и фото */
html body .aio-main .aio-club-showcase-hero::before {
    background:
        linear-gradient(
            90deg,
            rgba(9,7,6,1) 0%,
            rgba(9,7,6,1) 25%,
            rgba(9,7,6,.98) 32%,
            rgba(9,7,6,.94) 38%,
            rgba(9,7,6,.82) 43%,
            rgba(9,7,6,.62) 48%,
            rgba(9,7,6,.42) 53%,
            rgba(9,7,6,.25) 59%,
            rgba(9,7,6,.14) 66%,
            rgba(9,7,6,.20) 78%,
            rgba(9,7,6,.38) 100%
        ),
        radial-gradient(circle at 38% 52%, rgba(169,67,43,.16), transparent 34rem) !important;
}

/* Отдельная широкая дымка ровно на месте стыка */
html body .aio-main .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 30% !important;
    width: 28% !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(9,7,6,.72) 0%,
            rgba(9,7,6,.62) 20%,
            rgba(9,7,6,.46) 42%,
            rgba(9,7,6,.26) 66%,
            rgba(9,7,6,0) 100%
        ) !important;
    filter: blur(18px) !important;
    transform: translateX(-5%) scaleX(1.08) !important;
}

/* Фото чуть темнее у левого края, чтобы не читался прямой шов */
html body .aio-main .aio-club-showcase-visual::after {
    background:
        linear-gradient(
            90deg,
            rgba(9,7,6,.98) 0%,
            rgba(9,7,6,.82) 10%,
            rgba(9,7,6,.55) 23%,
            rgba(9,7,6,.26) 42%,
            rgba(9,7,6,.14) 62%,
            rgba(9,7,6,.24) 82%,
            rgba(9,7,6,.46) 100%
        ),
        radial-gradient(circle at 54% 48%, rgba(0,0,0,.16), transparent 28rem) !important;
}

/* На всякий случай убираем любые внутренние линии/рамки на стыке */
html body .aio-main .aio-club-showcase-card,
html body .aio-main .aio-club-showcase-visual {
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
}

/* AIO_CLUB_HERO_BORDER_BLUR_20260711_END */

/* AIO_CLUB_HERO_SMOKE_SEAM_20260711_START
   Размываем видимую вертикальную границу между тёмным информационным блоком
   и обложкой клуба. Не двигаем структуру, только кладём широкую музейную дымку.
*/
html body.page-club-item .aio-club-showcase-hero::before,
html body .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 26% !important;
    width: 34% !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(10, 8, 7, .98) 0%,
            rgba(10, 8, 7, .92) 20%,
            rgba(10, 8, 7, .70) 42%,
            rgba(10, 8, 7, .38) 66%,
            rgba(10, 8, 7, .12) 86%,
            rgba(10, 8, 7, 0) 100%
        ) !important;
    filter: blur(10px) !important;
    transform: translateX(-2%) scaleX(1.08) !important;
}

html body.page-club-item .aio-club-showcase-hero__photo::before,
html body .aio-club-showcase-hero__photo::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(10, 8, 7, .78) 0%,
            rgba(10, 8, 7, .56) 10%,
            rgba(10, 8, 7, .32) 22%,
            rgba(10, 8, 7, .16) 38%,
            rgba(10, 8, 7, .08) 100%
        ),
        radial-gradient(circle at 42% 52%, rgba(0, 0, 0, .18), transparent 34rem) !important;
}

html body.page-club-item .aio-club-showcase-hero__photo img,
html body .aio-club-showcase-hero__photo img {
    transform: none !important;
    filter: sepia(.18) grayscale(.18) contrast(.96) brightness(.66) saturate(.84) !important;
}

html body.page-club-item .aio-club-showcase-hero:hover .aio-club-showcase-hero__photo img,
html body .aio-club-showcase-hero:hover .aio-club-showcase-hero__photo img {
    transform: none !important;
}
/* AIO_CLUB_HERO_SMOKE_SEAM_20260711_END */

/* AIO_CLUB_HERO_SOFT_VEIL_NO_LEAD_20260711_START
   Левый блок — тёмная музейная витрина.
   Правая обложка — читаемая, без провала в чёрный.
   Фото заходит под левую часть, стык закрывается широкой вуалью.
*/

/* Убираем описание под названием клуба в hero */
html body .aio-club-showcase-hero__lead,
html body.page-club-item .aio-club-showcase-hero__lead,
html body .aio-club-profile-hero__lead,
html body.page-club-item .aio-club-profile-hero__lead {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Основной экран hero */
html body .aio-club-showcase-hero,
html body.page-club-item .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: 520px !important;
    height: calc(100svh - 184px) !important;
    max-height: 590px !important;
    background: #0D0A08 !important;
}

/* Информационная часть слева — без коробки и без жёсткой границы */
html body .aio-club-showcase-hero__content,
html body .aio-club-showcase-hero__info,
html body .aio-club-showcase-hero__card,
html body.page-club-item .aio-club-showcase-hero__content,
html body.page-club-item .aio-club-showcase-hero__info,
html body.page-club-item .aio-club-showcase-hero__card {
    position: relative !important;
    z-index: 7 !important;
    width: min(36vw, 470px) !important;
    max-width: 470px !important;
    min-width: 360px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Фото справа: оно начинается левее, уходит под тёмную вуаль — поэтому нет вертикального стыка */
html body .aio-club-showcase-hero__photo,
html body.page-club-item .aio-club-showcase-hero__photo {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 31% !important;
    z-index: 1 !important;
    overflow: hidden !important;
    background: #0D0A08 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Сама фотография — статичная и светлее */
html body .aio-club-showcase-hero__photo img,
html body.page-club-item .aio-club-showcase-hero__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    filter: sepia(.14) grayscale(.12) contrast(.98) brightness(.82) saturate(.88) !important;
    opacity: .96 !important;
    transition: none !important;
}

/* Отключаем любое увеличение/пульсацию фото */
html body .aio-club-showcase-hero:hover .aio-club-showcase-hero__photo img,
html body.page-club-item .aio-club-showcase-hero:hover .aio-club-showcase-hero__photo img {
    transform: none !important;
    filter: sepia(.14) grayscale(.12) contrast(.98) brightness(.82) saturate(.88) !important;
}

/* Главная вуаль: тёмная слева, мягко растворяется на фото */
html body .aio-club-showcase-hero::before,
html body.page-club-item .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(11, 8, 7, 1) 0%,
            rgba(11, 8, 7, .99) 24%,
            rgba(11, 8, 7, .94) 34%,
            rgba(11, 8, 7, .78) 42%,
            rgba(11, 8, 7, .48) 49%,
            rgba(11, 8, 7, .20) 56%,
            rgba(11, 8, 7, .05) 66%,
            rgba(11, 8, 7, 0) 100%
        ) !important;
    filter: none !important;
    transform: none !important;
}

/* Дополнительная музейная дымка, чтобы не было шва по центру */
html body .aio-club-showcase-hero::after,
html body.page-club-item .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 20% 30%, rgba(169, 67, 43, .18), transparent 24rem),
        radial-gradient(circle at 45% 48%, rgba(11, 8, 7, .42), transparent 22rem),
        linear-gradient(
            90deg,
            rgba(11, 8, 7, .30) 0%,
            rgba(11, 8, 7, .22) 34%,
            rgba(11, 8, 7, .16) 45%,
            rgba(11, 8, 7, .06) 58%,
            rgba(11, 8, 7, 0) 78%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.20) 0%,
            rgba(0,0,0,0) 28%,
            rgba(0,0,0,0) 68%,
            rgba(0,0,0,.18) 100%
        ) !important;
}

/* Если где-то осталась старая фото-маска на самом фото — ослабляем её */
html body .aio-club-showcase-hero__photo::before,
html body.page-club-item .aio-club-showcase-hero__photo::before,
html body .aio-club-showcase-hero__photo::after,
html body.page-club-item .aio-club-showcase-hero__photo::after {
    opacity: .18 !important;
    background:
        linear-gradient(
            90deg,
            rgba(11,8,7,.38) 0%,
            rgba(11,8,7,.16) 20%,
            rgba(11,8,7,0) 52%
        ) !important;
}

/* Чуть компактнее подписи и кнопки в hero */
html body .aio-club-showcase-hero .aio-kicker,
html body.page-club-item .aio-club-showcase-hero .aio-kicker {
    font-size: 9px !important;
    letter-spacing: .17em !important;
}

html body .aio-club-showcase-hero h1,
html body.page-club-item .aio-club-showcase-hero h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.6vw, 42px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
}

html body .aio-club-showcase-hero__chips span,
html body .aio-club-showcase-hero__meta span,
html body .aio-club-showcase-hero a,
html body.page-club-item .aio-club-showcase-hero__chips span,
html body.page-club-item .aio-club-showcase-hero__meta span,
html body.page-club-item .aio-club-showcase-hero a {
    font-size: 10px !important;
}

/* Мобильная версия: без горизонтального шва и без белой полосы */
@media (max-width: 900px) {
    html body .aio-club-showcase-hero,
    html body.page-club-item .aio-club-showcase-hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    html body .aio-club-showcase-hero__photo,
    html body.page-club-item .aio-club-showcase-hero__photo {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        height: 300px !important;
    }

    html body .aio-club-showcase-hero__content,
    html body .aio-club-showcase-hero__info,
    html body .aio-club-showcase-hero__card,
    html body.page-club-item .aio-club-showcase-hero__content,
    html body.page-club-item .aio-club-showcase-hero__info,
    html body.page-club-item .aio-club-showcase-hero__card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    html body .aio-club-showcase-hero::before,
    html body.page-club-item .aio-club-showcase-hero::before,
    html body .aio-club-showcase-hero::after,
    html body.page-club-item .aio-club-showcase-hero::after {
        display: none !important;
    }
}
/* AIO_CLUB_HERO_SOFT_VEIL_NO_LEAD_20260711_END */

/* AIO_CLUB_HERO_PHOTO_LIGHT_NO_DESC_20260711_START
   Справа фото светлее.
   Затемняется только левый край фото для мягкого перехода.
   Краткое описание в hero не показывается.
*/

/* Жёстко убираем краткое описание / lead из hero */
html body .aio-club-showcase-hero__lead,
html body .aio-club-showcase-hero__description,
html body .aio-club-showcase-hero__summary,
html body .aio-club-showcase-hero__text,
html body .aio-club-profile-hero__lead,
html body .aio-club-profile-hero__description,
html body .aio-club-profile-hero__summary,
html body .aio-club-profile-hero__text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Фото больше не уходит в чёрный: только музейная дымка */
html body .aio-club-showcase-hero__photo img,
html body.page-club-item .aio-club-showcase-hero__photo img {
    filter: sepia(.10) grayscale(.08) contrast(1.01) brightness(.95) saturate(.92) !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

html body .aio-club-showcase-hero:hover .aio-club-showcase-hero__photo img,
html body.page-club-item .aio-club-showcase-hero:hover .aio-club-showcase-hero__photo img {
    filter: sepia(.10) grayscale(.08) contrast(1.01) brightness(.95) saturate(.92) !important;
    transform: none !important;
}

/* Правая часть фото почти чистая, без общего затемнения */
html body .aio-club-showcase-hero::before,
html body.page-club-item .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(10, 7, 6, 1) 0%,
            rgba(10, 7, 6, 1) 27%,
            rgba(10, 7, 6, .92) 35%,
            rgba(10, 7, 6, .62) 43%,
            rgba(10, 7, 6, .28) 51%,
            rgba(10, 7, 6, .08) 59%,
            rgba(10, 7, 6, 0) 68%,
            rgba(10, 7, 6, 0) 100%
        ) !important;
}

/* Только лёгкая музейная вуаль поверх фото, без почернения всей правой части */
html body .aio-club-showcase-hero::after,
html body.page-club-item .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 17% 28%, rgba(169, 67, 43, .16), transparent 23rem),
        linear-gradient(
            90deg,
            rgba(10, 7, 6, .18) 0%,
            rgba(10, 7, 6, .14) 34%,
            rgba(10, 7, 6, .08) 48%,
            rgba(10, 7, 6, .02) 62%,
            rgba(10, 7, 6, 0) 78%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.12) 0%,
            rgba(0,0,0,0) 34%,
            rgba(0,0,0,0) 72%,
            rgba(0,0,0,.10) 100%
        ) !important;
}

/* Мягкий переход именно на левом крае фотографии */
html body .aio-club-showcase-hero__photo::before,
html body.page-club-item .aio-club-showcase-hero__photo::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 38% !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(10, 7, 6, .86) 0%,
            rgba(10, 7, 6, .64) 30%,
            rgba(10, 7, 6, .32) 60%,
            rgba(10, 7, 6, 0) 100%
        ) !important;
}

/* Убираем старые затемняющие слои на фото, если они остались */
html body .aio-club-showcase-hero__photo::after,
html body.page-club-item .aio-club-showcase-hero__photo::after {
    display: none !important;
}

/* Левый информационный блок чуть чище после удаления описания */
html body .aio-club-showcase-hero__content,
html body .aio-club-showcase-hero__info,
html body .aio-club-showcase-hero__card,
html body.page-club-item .aio-club-showcase-hero__content,
html body.page-club-item .aio-club-showcase-hero__info,
html body.page-club-item .aio-club-showcase-hero__card {
    gap: 14px !important;
}

html body .aio-club-showcase-hero h1,
html body.page-club-item .aio-club-showcase-hero h1 {
    margin-bottom: 18px !important;
}

/* AIO_CLUB_HERO_PHOTO_LIGHT_NO_DESC_20260711_END */

/* AIO_CLUB_HERO_REAL_FIX_20260711_START */

/* Убираем краткое описание из hero окончательно */
html body .aio-main .aio-club-showcase-card__lead,
html body.page-club-item .aio-club-showcase-card__lead,
html body .aio-main .aio-club-showcase-hero .aio-club-showcase-card__lead {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hero: без коробки, без лишнего мрака, фото светлее */
html body .aio-main .aio-club-showcase-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(169, 67, 43, .12), transparent 30%),
        linear-gradient(90deg, #0B0908 0%, #120D0B 34%, #15110F 45%, #15110F 100%) !important;
}

/* Левая информационная часть — тёмная, но не провальная синяя/чёрная */
html body .aio-main .aio-club-showcase-card {
    background:
        radial-gradient(circle at 12% 16%, rgba(169, 67, 43, .16), transparent 34%),
        linear-gradient(90deg, rgba(10, 8, 7, .94) 0%, rgba(13, 9, 8, .90) 74%, rgba(13, 9, 8, .66) 100%) !important;
}

/* Фото не затемняем целиком */
html body .aio-main .aio-club-showcase-visual img,
html body .aio-main .aio-club-showcase-visual:hover img {
    transform: none !important;
    scale: 1 !important;
    filter: sepia(.08) grayscale(.06) contrast(1.01) brightness(.98) saturate(.94) !important;
    opacity: 1 !important;
}

/* Убираем прежнюю общую тёмную вуаль на всей фотографии */
html body .aio-main .aio-club-showcase-visual::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 30% !important;
    pointer-events: none !important;
    z-index: 3 !important;
    background:
        linear-gradient(
            90deg,
            rgba(10, 8, 7, .84) 0%,
            rgba(10, 8, 7, .68) 16%,
            rgba(10, 8, 7, .38) 42%,
            rgba(10, 8, 7, .16) 68%,
            rgba(10, 8, 7, 0) 100%
        ) !important;
}

/* Дополнительная мягкая дымка на стыке, чтобы не было вертикального шва */
html body .aio-main .aio-club-showcase-visual::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -76px !important;
    width: 180px !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background:
        radial-gradient(ellipse at left center, rgba(10, 8, 7, .78) 0%, rgba(10, 8, 7, .44) 34%, rgba(10, 8, 7, .16) 62%, rgba(10, 8, 7, 0) 100%) !important;
    filter: blur(18px) !important;
}

/* Чтобы псевдоэлементы фото работали стабильно */
html body .aio-main .aio-club-showcase-visual {
    position: relative !important;
    overflow: hidden !important;
}

/* Чуть компактнее после удаления описания */
html body .aio-main .aio-club-showcase-card__chips {
    margin-top: 18px !important;
}

html body .aio-main .aio-club-showcase-card__facts {
    margin-top: 16px !important;
}

/* Название оставляем тонким музейным Cormorant */
html body .aio-main .aio-club-showcase-card h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(25px, 2.05vw, 38px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
}

/* На мобильном без сложной маски */
@media (max-width: 980px) {
    html body .aio-main .aio-club-showcase-visual::before,
    html body .aio-main .aio-club-showcase-visual::after {
        display: none !important;
    }

    html body .aio-main .aio-club-showcase-card {
        background: #100C0A !important;
    }
}

/* AIO_CLUB_HERO_REAL_FIX_20260711_END */

/* AIO_CLUB_HERO_COVER_RETURN_20260711_START */

/* Возвращаем правую обложку hero */
html body .aio-main .aio-club-showcase-visual,
html body.page-club-item .aio-club-showcase-visual {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
    background: #15110F !important;
}

/* Сама обложка — на весь правый блок */
html body .aio-main .aio-club-showcase-visual > img,
html body.page-club-item .aio-club-showcase-visual > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    scale: 1 !important;
    filter: sepia(.08) grayscale(.04) contrast(1.01) brightness(.96) saturate(.94) !important;
}

/* При наведении фото не пульсирует и не меняется */
html body .aio-main .aio-club-showcase-visual:hover > img,
html body.page-club-item .aio-club-showcase-visual:hover > img {
    transform: none !important;
    scale: 1 !important;
    filter: sepia(.08) grayscale(.04) contrast(1.01) brightness(.96) saturate(.94) !important;
}

/* Убираем возможные старые слои, которые могли закрыть фото */
html body .aio-main .aio-club-showcase-visual::before,
html body.page-club-item .aio-club-showcase-visual::before {
    content: none !important;
    display: none !important;
}

/* Оставляем только мягкую дымку у стыка, не затемняем всю правую часть */
html body .aio-main .aio-club-showcase-visual::after,
html body.page-club-item .aio-club-showcase-visual::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 22% !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(11, 8, 7, .88) 0%,
            rgba(11, 8, 7, .55) 28%,
            rgba(11, 8, 7, .22) 58%,
            rgba(11, 8, 7, 0) 100%
        ) !important;
}

/* Левая часть поверх фото, но не перекрывает правый визуал */
html body .aio-main .aio-club-showcase-card,
html body.page-club-item .aio-club-showcase-card {
    position: relative !important;
    z-index: 5 !important;
}

/* Сетка hero: слева информация, справа обложка */
html body .aio-main .aio-club-showcase-hero__grid,
html body.page-club-item .aio-club-showcase-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(360px, 38%) minmax(0, 62%) !important;
    min-height: 520px !important;
}

/* На мобильном фото возвращается отдельным блоком */
@media (max-width: 980px) {
    html body .aio-main .aio-club-showcase-hero__grid,
    html body.page-club-item .aio-club-showcase-hero__grid {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    html body .aio-main .aio-club-showcase-visual,
    html body.page-club-item .aio-club-showcase-visual {
        min-height: 260px !important;
        height: 260px !important;
    }

    html body .aio-main .aio-club-showcase-visual::after,
    html body.page-club-item .aio-club-showcase-visual::after {
        display: none !important;
    }
}

/* AIO_CLUB_HERO_COVER_RETURN_20260711_END */

/* AIO_CLUB_HERO_SHOWCASE_FIX_20260711_START */

/* Hero клуба: единая витрина, без пустой чёрной середины */
html body .aio-main .aio-club-showcase-hero,
html body.page-club-item .aio-club-showcase-hero {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    min-height: 520px !important;
    height: calc(100svh - 178px) !important;
    max-height: 590px !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 12% 20%, rgba(169, 67, 43, .18), transparent 34%),
        linear-gradient(90deg, #0A0807 0%, #100B09 34%, #15100D 48%, #14100E 100%) !important;
}

/* Контейнер теперь только для текста, не для фото */
html body .aio-main .aio-club-showcase-hero .aio-container,
html body.page-club-item .aio-club-showcase-hero .aio-container {
    position: relative !important;
    z-index: 5 !important;
    height: 100% !important;
}

/* Убираем сеточную коробку, которая создавала пустую середину */
html body .aio-main .aio-club-showcase-hero__grid,
html body.page-club-item .aio-club-showcase-hero__grid {
    display: block !important;
    position: relative !important;
    height: 100% !important;
    min-height: 0 !important;
}

/* Правая обложка — отдельный слой, начинается раньше и занимает всю правую часть */
html body .aio-main .aio-club-showcase-visual,
html body.page-club-item .aio-club-showcase-visual {
    display: block !important;
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 37% !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #120F0D !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body .aio-main .aio-club-showcase-visual > img,
html body.page-club-item .aio-club-showcase-visual > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    scale: 1 !important;
    opacity: 1 !important;
    filter: sepia(.08) grayscale(.04) contrast(1.02) brightness(.96) saturate(.95) !important;
}

html body .aio-main .aio-club-showcase-visual:hover > img,
html body.page-club-item .aio-club-showcase-visual:hover > img {
    transform: none !important;
    scale: 1 !important;
    filter: sepia(.08) grayscale(.04) contrast(1.02) brightness(.96) saturate(.95) !important;
}

/* Дымка только на стыке, чтобы стереть границу, но не убить всё фото */
html body .aio-main .aio-club-showcase-visual::before,
html body.page-club-item .aio-club-showcase-visual::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    z-index: 3 !important;
    inset: 0 auto 0 0 !important;
    width: 34% !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(10, 8, 7, 1) 0%,
            rgba(10, 8, 7, .88) 18%,
            rgba(10, 8, 7, .58) 42%,
            rgba(10, 8, 7, .22) 70%,
            rgba(10, 8, 7, 0) 100%
        ) !important;
}

/* Лёгкая музейная вуаль по фото, без сильного затемнения */
html body .aio-main .aio-club-showcase-visual::after,
html body.page-club-item .aio-club-showcase-visual::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    z-index: 4 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 72% 42%, rgba(248, 245, 239, .04), transparent 34%),
        linear-gradient(0deg, rgba(8, 6, 5, .08), rgba(8, 6, 5, .08)) !important;
}

/* Левая информационная часть — нормальная ширина, не узкая колонка */
html body .aio-main .aio-club-showcase-card,
html body.page-club-item .aio-club-showcase-card {
    position: relative !important;
    z-index: 6 !important;
    width: min(430px, 36vw) !important;
    height: 100% !important;
    padding: clamp(38px, 5vh, 58px) 0 32px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Убираем описание в hero окончательно */
html body .aio-main .aio-club-showcase-card__lead,
html body.page-club-item .aio-club-showcase-card__lead {
    display: none !important;
}

/* Логотип компактнее */
html body .aio-main .aio-club-showcase-card__logo,
html body.page-club-item .aio-club-showcase-card__logo {
    width: 58px !important;
    height: 58px !important;
    margin: 0 0 20px !important;
    padding: 6px !important;
    background: rgba(248, 245, 239, .94) !important;
    border: 1px solid rgba(248, 245, 239, .22) !important;
    box-shadow: 0 16px 34px rgba(0,0,0,.24) !important;
}

html body .aio-main .aio-club-showcase-card__logo img,
html body.page-club-item .aio-club-showcase-card__logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Название — музейно, тоньше и меньше */
html body .aio-main .aio-club-showcase-card h1,
html body.page-club-item .aio-club-showcase-card h1 {
    max-width: 390px !important;
    margin: 0 0 24px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.45vw, 42px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

/* Кикер */
html body .aio-main .aio-club-showcase-card .aio-events-kicker,
html body.page-club-item .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 14px !important;
    font-size: 9px !important;
    letter-spacing: .18em !important;
    color: #C98266 !important;
}

/* Теги аккуратнее */
html body .aio-main .aio-club-showcase-card__chips,
html body.page-club-item .aio-club-showcase-card__chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    max-width: 390px !important;
    margin: 0 0 20px !important;
}

html body .aio-main .aio-club-showcase-card__chips span,
html body.page-club-item .aio-club-showcase-card__chips span {
    max-width: 100% !important;
    padding: 7px 13px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    background: rgba(255,255,255,.045) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

/* Факты не склеивать */
html body .aio-main .aio-club-showcase-card__facts,
html body.page-club-item .aio-club-showcase-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 20px !important;
    max-width: 390px !important;
    margin: 0 0 18px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(248,245,239,.15) !important;
}

html body .aio-main .aio-club-showcase-card__facts div,
html body.page-club-item .aio-club-showcase-card__facts div {
    min-width: 0 !important;
    padding: 0 0 11px !important;
    border-bottom: 1px solid rgba(248,245,239,.10) !important;
}

html body .aio-main .aio-club-showcase-card__facts dt,
html body.page-club-item .aio-club-showcase-card__facts dt {
    margin: 0 0 6px !important;
    color: #C98266 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

html body .aio-main .aio-club-showcase-card__facts dd,
html body.page-club-item .aio-club-showcase-card__facts dd {
    margin: 0 !important;
    color: rgba(248,245,239,.86) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

/* Кнопки в одну строку, не огромные */
html body .aio-main .aio-club-showcase-card__actions,
html body.page-club-item .aio-club-showcase-card__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-width: 390px !important;
    margin-top: 0 !important;
}

html body .aio-main .aio-club-showcase-card__actions a,
html body.page-club-item .aio-club-showcase-card__actions a {
    min-width: 0 !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.26) !important;
    background: rgba(255,255,255,.045) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

/* Вкладки должны помещаться вместе с hero */
html body .aio-main .aio-club-showcase-tabs,
html body.page-club-item .aio-club-showcase-tabs {
    height: 58px !important;
    min-height: 58px !important;
    background: #F8F5EF !important;
}

/* Мобильная версия */
@media (max-width: 980px) {
    html body .aio-main .aio-club-showcase-hero,
    html body.page-club-item .aio-club-showcase-hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 !important;
    }

    html body .aio-main .aio-club-showcase-card,
    html body.page-club-item .aio-club-showcase-card {
        width: auto !important;
        height: auto !important;
        padding: 34px 0 26px !important;
    }

    html body .aio-main .aio-club-showcase-visual,
    html body.page-club-item .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        height: 300px !important;
        margin: 0 calc(var(--aio-container-padding, 20px) * -1) !important;
    }

    html body .aio-main .aio-club-showcase-visual::before {
        display: none !important;
    }

    html body .aio-main .aio-club-showcase-card h1,
    html body.page-club-item .aio-club-showcase-card h1 {
        font-size: 34px !important;
    }
}

/* AIO_CLUB_HERO_SHOWCASE_FIX_20260711_END */

/* AIO_CLUB_HERO_REAL_SHOWCASE_20260711_START */

/* Сбрасываем прежнюю конфликтующую геометрию hero клуба */
html body .aio-main .aio-club-showcase-hero,
html body.page-club-item .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    height: calc(100svh - 178px) !important;
    min-height: 500px !important;
    max-height: 570px !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 14% 20%, rgba(169, 67, 43, .18), transparent 34%),
        linear-gradient(90deg, #080706 0%, #100B09 40%, #17100D 100%) !important;
}

/* Важно: контейнер больше не ограничивает фото */
html body .aio-main .aio-club-showcase-hero .aio-container,
html body.page-club-item .aio-club-showcase-hero .aio-container {
    position: static !important;
    height: 100% !important;
}

html body .aio-main .aio-club-showcase-hero__grid,
html body.page-club-item .aio-club-showcase-hero__grid {
    position: static !important;
    display: block !important;
    height: 100% !important;
}

/* Фото — полноэкранный правый слой, без чёрной полосы справа */
html body .aio-main .aio-club-showcase-visual,
html body.page-club-item .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 34% !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body .aio-main .aio-club-showcase-visual > img,
html body.page-club-item .aio-club-showcase-visual > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    transform: none !important;
    scale: 1 !important;
    filter: sepia(.07) grayscale(.03) contrast(1.01) brightness(.98) saturate(.96) !important;
}

html body .aio-main .aio-club-showcase-visual:hover > img,
html body.page-club-item .aio-club-showcase-visual:hover > img {
    transform: none !important;
    scale: 1 !important;
    filter: sepia(.07) grayscale(.03) contrast(1.01) brightness(.98) saturate(.96) !important;
}

/* Главная вуаль: фото уходит под тёмный блок, граница не должна быть видна */
html body .aio-main .aio-club-showcase-hero::before,
html body.page-club-item .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 3 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(8, 7, 6, 1) 0%,
            rgba(8, 7, 6, 1) 30%,
            rgba(8, 7, 6, .96) 36%,
            rgba(8, 7, 6, .78) 42%,
            rgba(8, 7, 6, .42) 48%,
            rgba(8, 7, 6, .16) 55%,
            rgba(8, 7, 6, .04) 65%,
            rgba(8, 7, 6, 0) 78%
        ) !important;
}

/* Музейная дымка по фото, почти без затемнения правой части */
html body .aio-main .aio-club-showcase-hero::after,
html body.page-club-item .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 4 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 72% 38%, rgba(248,245,239,.055), transparent 34%),
        linear-gradient(0deg, rgba(20, 13, 9, .06), rgba(20, 13, 9, .06)) !important;
}

/* Отключаем старые затемняющие слои на самом фото */
html body .aio-main .aio-club-showcase-visual::before,
html body .aio-main .aio-club-showcase-visual::after,
html body.page-club-item .aio-club-showcase-visual::before,
html body.page-club-item .aio-club-showcase-visual::after {
    content: none !important;
    display: none !important;
}

/* Левая часть — поверх фото и вуали */
html body .aio-main .aio-club-showcase-card,
html body.page-club-item .aio-club-showcase-card {
    position: relative !important;
    z-index: 8 !important;
    width: min(420px, 34vw) !important;
    height: 100% !important;
    padding: clamp(34px, 4.8vh, 52px) 0 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Краткое описание в hero не выводим */
html body .aio-main .aio-club-showcase-card__lead,
html body.page-club-item .aio-club-showcase-card__lead {
    display: none !important;
}

/* Кикер */
html body .aio-main .aio-club-showcase-card .aio-events-kicker,
html body.page-club-item .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 13px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    color: #C98266 !important;
}

/* Эмблема */
html body .aio-main .aio-club-showcase-card__logo,
html body.page-club-item .aio-club-showcase-card__logo {
    width: 56px !important;
    height: 56px !important;
    margin: 0 0 18px !important;
    padding: 6px !important;
    background: rgba(248, 245, 239, .94) !important;
    border: 1px solid rgba(248, 245, 239, .24) !important;
    box-shadow: 0 14px 30px rgba(0,0,0,.26) !important;
}

html body .aio-main .aio-club-showcase-card__logo img,
html body.page-club-item .aio-club-showcase-card__logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Название */
html body .aio-main .aio-club-showcase-card h1,
html body.page-club-item .aio-club-showcase-card h1 {
    max-width: 390px !important;
    margin: 0 0 22px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(27px, 2.25vw, 38px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

/* Новая структурированная мета-информация */
html body .aio-main .aio-club-showcase-card__meta,
html body.page-club-item .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 10px !important;
    max-width: 390px !important;
    margin: 0 0 18px !important;
}

html body .aio-main .aio-club-showcase-card__meta-row,
html body.page-club-item .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
}

html body .aio-main .aio-club-showcase-card__meta-row > span,
html body.page-club-item .aio-club-showcase-card__meta-row > span {
    padding-top: 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #C98266 !important;
}

html body .aio-main .aio-club-showcase-card__meta-row > div,
html body.page-club-item .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-width: 0 !important;
}

html body .aio-main .aio-club-showcase-card__meta-row em,
html body.page-club-item .aio-club-showcase-card__meta-row em {
    display: inline-flex !important;
    max-width: 100% !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    background: rgba(255,255,255,.045) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.15 !important;
    font-style: normal !important;
    font-weight: 800 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}

/* Старые чипы, если где-то остались */
html body .aio-main .aio-club-showcase-card__chips,
html body.page-club-item .aio-club-showcase-card__chips {
    display: none !important;
}

/* Факты */
html body .aio-main .aio-club-showcase-card__facts,
html body.page-club-item .aio-club-showcase-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 20px !important;
    max-width: 390px !important;
    margin: 0 0 17px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(248,245,239,.15) !important;
}

html body .aio-main .aio-club-showcase-card__facts div,
html body.page-club-item .aio-club-showcase-card__facts div {
    padding: 0 0 10px !important;
    border-bottom: 1px solid rgba(248,245,239,.10) !important;
}

html body .aio-main .aio-club-showcase-card__facts dt,
html body.page-club-item .aio-club-showcase-card__facts dt {
    margin: 0 0 5px !important;
    color: #C98266 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

html body .aio-main .aio-club-showcase-card__facts dd,
html body.page-club-item .aio-club-showcase-card__facts dd {
    margin: 0 !important;
    color: rgba(248,245,239,.86) !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
}

/* Кнопка сайта клуба */
html body .aio-main .aio-club-showcase-card__actions,
html body.page-club-item .aio-club-showcase-card__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-width: 390px !important;
}

html body .aio-main .aio-club-showcase-card__actions a,
html body.page-club-item .aio-club-showcase-card__actions a {
    padding: 9px 15px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.28) !important;
    background: rgba(255,255,255,.045) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

/* Навигация сразу под hero */
html body .aio-main .aio-club-showcase-tabs,
html body.page-club-item .aio-club-showcase-tabs {
    height: 58px !important;
    min-height: 58px !important;
    background: #F8F5EF !important;
}

/* Мобильная версия */
@media (max-width: 980px) {
    html body .aio-main .aio-club-showcase-hero,
    html body.page-club-item .aio-club-showcase-hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    html body .aio-main .aio-club-showcase-hero::before,
    html body.page-club-item .aio-club-showcase-hero::before {
        background: linear-gradient(180deg, rgba(8,7,6,1), rgba(8,7,6,.88) 58%, rgba(8,7,6,.18)) !important;
    }

    html body .aio-main .aio-club-showcase-card,
    html body.page-club-item .aio-club-showcase-card {
        width: auto !important;
        height: auto !important;
        padding: 34px 0 24px !important;
    }

    html body .aio-main .aio-club-showcase-visual,
    html body.page-club-item .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        height: 300px !important;
        margin: 0 calc(var(--aio-container-padding, 20px) * -1) !important;
    }

    html body .aio-main .aio-club-showcase-card__meta-row,
    html body.page-club-item .aio-club-showcase-card__meta-row {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }
}

/* AIO_CLUB_HERO_REAL_SHOWCASE_20260711_END */

/* AIO_CLUB_HERO_FULL_PHOTO_SOFT_SEAM_20260711_START */

/* Страница клуба: фото лежит под всем hero, слева поверх него — мягкая тёмная музейная вуаль */
html body .aio-main .aio-club-showcase-hero,
html body.page-club-item .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: calc(100svh - 185px) !important;
    max-height: 620px !important;
    padding: 0 !important;
    background: #100D0B !important;
    color: #F8F5EF !important;
}

/* Контейнер больше не ограничивает фото, он держит только текстовую часть */
html body .aio-main .aio-club-showcase-hero .aio-container,
html body.page-club-item .aio-club-showcase-hero .aio-container {
    position: relative !important;
    z-index: 4 !important;
    height: 100% !important;
    min-height: calc(100svh - 185px) !important;
    max-height: 620px !important;
}

/* Убираем grid-коробку: карточка слева, фото абсолютным слоем под ней */
html body .aio-main .aio-club-showcase-hero__grid,
html body.page-club-item .aio-club-showcase-hero__grid {
    display: block !important;
    position: relative !important;
    height: 100% !important;
    min-height: calc(100svh - 185px) !important;
    max-height: 620px !important;
}

/* Фото: на весь hero, не справа отдельной коробкой */
html body .aio-main .aio-club-showcase-visual,
html body.page-club-item .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow: hidden !important;
    background: #100D0B !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

/* Обложка растянута на весь экран hero */
html body .aio-main .aio-club-showcase-visual > img,
html body.page-club-item .aio-club-showcase-visual > img,
html body .aio-main .aio-club-showcase-visual:hover > img,
html body.page-club-item .aio-club-showcase-visual:hover > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    transition: none !important;
    filter: sepia(.10) saturate(.88) contrast(.98) brightness(.96) !important;
    opacity: 1 !important;
}

/* Старые маски на самом фото отключаем, чтобы они не чернили правую часть */
html body .aio-main .aio-club-showcase-visual::before,
html body .aio-main .aio-club-showcase-visual::after,
html body.page-club-item .aio-club-showcase-visual::before,
html body.page-club-item .aio-club-showcase-visual::after {
    content: none !important;
    display: none !important;
}

/* Главная мягкая вуаль: слева плотная, дальше широкий раствор без резкой границы */
html body .aio-main .aio-club-showcase-hero::before,
html body.page-club-item .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 12% 22%, rgba(169,67,43,.20), transparent 24rem),
        linear-gradient(
            90deg,
            rgba(10, 8, 7, .98) 0%,
            rgba(10, 8, 7, .98) 25%,
            rgba(10, 8, 7, .94) 32%,
            rgba(10, 8, 7, .76) 39%,
            rgba(10, 8, 7, .48) 46%,
            rgba(10, 8, 7, .22) 53%,
            rgba(10, 8, 7, .08) 61%,
            rgba(10, 8, 7, .00) 72%
        ) !important;
}

/* Дополнительная дымка именно на стыке, очень широкая и полупрозрачная */
html body .aio-main .aio-club-showcase-hero::after,
html body.page-club-item .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 3 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 27% !important;
    width: 36% !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(10, 8, 7, .42) 0%,
            rgba(10, 8, 7, .28) 26%,
            rgba(10, 8, 7, .13) 54%,
            rgba(10, 8, 7, .00) 100%
        ) !important;
    filter: blur(28px) !important;
    transform: translateX(-6%) !important;
}

/* Левая информационная часть — не коробка, а текст на вуали */
html body .aio-main .aio-club-showcase-card,
html body.page-club-item .aio-club-showcase-card {
    position: relative !important;
    z-index: 5 !important;
    width: min(390px, 36vw) !important;
    min-height: calc(100svh - 185px) !important;
    max-height: 620px !important;
    padding: clamp(34px, 4.4vh, 52px) 0 clamp(28px, 4vh, 44px) !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Краткое описание в hero не выводим */
html body .aio-main .aio-club-showcase-card__lead,
html body.page-club-item .aio-club-showcase-card__lead {
    display: none !important;
}

/* Эмблема */
html body .aio-main .aio-club-showcase-card__logo,
html body.page-club-item .aio-club-showcase-card__logo {
    width: 58px !important;
    height: 58px !important;
    margin: 0 0 22px !important;
    padding: 8px !important;
    border-radius: 0 !important;
    background: rgba(248,245,239,.94) !important;
    border: 1px solid rgba(248,245,239,.20) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.24) !important;
}

html body .aio-main .aio-club-showcase-card__logo img,
html body.page-club-item .aio-club-showcase-card__logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Название клуба — тоньше и меньше */
html body .aio-main .aio-club-showcase-card h1,
html body.page-club-item .aio-club-showcase-card h1 {
    margin: 0 0 24px !important;
    max-width: 360px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.45vw, 43px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

/* Кикер */
html body .aio-main .aio-club-showcase-card .aio-events-kicker,
html body.page-club-item .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

/* Метаданные: город / марки / темы — не смешиваем в одну кашу */
html body .aio-main .aio-club-showcase-card__meta,
html body.page-club-item .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 10px !important;
    margin: 0 0 24px !important;
}

html body .aio-main .aio-club-showcase-card__meta-row,
html body.page-club-item .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
}

html body .aio-main .aio-club-showcase-card__meta-row > span,
html body.page-club-item .aio-club-showcase-card__meta-row > span {
    padding-top: 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

html body .aio-main .aio-club-showcase-card__meta-row > div,
html body.page-club-item .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

html body .aio-main .aio-club-showcase-card__meta-row em,
html body.page-club-item .aio-club-showcase-card__meta-row em {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    background: rgba(248,245,239,.045) !important;
    color: rgba(248,245,239,.92) !important;
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}

/* Старые chips больше не используем */
html body .aio-main .aio-club-showcase-card__chips,
html body.page-club-item .aio-club-showcase-card__chips {
    display: none !important;
}

/* Факты */
html body .aio-main .aio-club-showcase-card__facts,
html body.page-club-item .aio-club-showcase-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 18px !important;
    margin: 0 0 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(248,245,239,.16) !important;
}

html body .aio-main .aio-club-showcase-card__facts div,
html body.page-club-item .aio-club-showcase-card__facts div {
    min-width: 0 !important;
}

html body .aio-main .aio-club-showcase-card__facts dt,
html body.page-club-item .aio-club-showcase-card__facts dt {
    margin: 0 0 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

html body .aio-main .aio-club-showcase-card__facts dd,
html body.page-club-item .aio-club-showcase-card__facts dd {
    margin: 0 !important;
    color: rgba(248,245,239,.88) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
}

/* Кнопка только сайт клуба */
html body .aio-main .aio-club-showcase-card__actions,
html body.page-club-item .aio-club-showcase-card__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 0 !important;
}

html body .aio-main .aio-club-showcase-card__actions a,
html body.page-club-item .aio-club-showcase-card__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 8px 15px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.28) !important;
    background: rgba(248,245,239,.04) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

html body .aio-main .aio-club-showcase-tabs,
html body.page-club-item .aio-club-showcase-tabs {
    position: relative !important;
    z-index: 8 !important;
}

/* Мобильная версия */
@media (max-width: 900px) {
    html body .aio-main .aio-club-showcase-hero,
    html body.page-club-item .aio-club-showcase-hero,
    html body .aio-main .aio-club-showcase-hero .aio-container,
    html body.page-club-item .aio-club-showcase-hero .aio-container,
    html body .aio-main .aio-club-showcase-hero__grid,
    html body.page-club-item .aio-club-showcase-hero__grid {
        min-height: auto !important;
        max-height: none !important;
    }

    html body .aio-main .aio-club-showcase-hero,
    html body.page-club-item .aio-club-showcase-hero {
        padding: 34px 0 0 !important;
    }

    html body .aio-main .aio-club-showcase-card,
    html body.page-club-item .aio-club-showcase-card {
        width: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 28px 0 30px !important;
    }

    html body .aio-main .aio-club-showcase-visual,
    html body.page-club-item .aio-club-showcase-visual {
        position: relative !important;
        height: 280px !important;
        margin: 0 -20px !important;
    }

    html body .aio-main .aio-club-showcase-hero::before,
    html body.page-club-item .aio-club-showcase-hero::before {
        background:
            radial-gradient(circle at 18% 14%, rgba(169,67,43,.20), transparent 20rem),
            linear-gradient(180deg, rgba(10,8,7,.98) 0%, rgba(10,8,7,.92) 54%, rgba(10,8,7,.30) 100%) !important;
    }

    html body .aio-main .aio-club-showcase-hero::after,
    html body.page-club-item .aio-club-showcase-hero::after {
        display: none !important;
    }

    html body .aio-main .aio-club-showcase-card h1,
    html body.page-club-item .aio-club-showcase-card h1 {
        font-size: clamp(27px, 9vw, 38px) !important;
    }

    html body .aio-main .aio-club-showcase-card__meta-row,
    html body.page-club-item .aio-club-showcase-card__meta-row {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }
}

/* AIO_CLUB_HERO_FULL_PHOTO_SOFT_SEAM_20260711_END */

/* AIO_CLUB_HERO_READABLE_SEAM_20260711_START */

/* Финальная схема: слева тёмная витрина, справа фото, между ними мягкое растворение */
html body .aio-main .aio-club-showcase-hero,
html body.page-club-item .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    height: calc(100svh - 185px) !important;
    min-height: 520px !important;
    max-height: 620px !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 14% 22%, rgba(169,67,43,.18), transparent 24rem),
        linear-gradient(90deg, #100C0A 0%, #130D0B 36%, #0D0A09 100%) !important;
    color: #F8F5EF !important;
}

html body .aio-main .aio-club-showcase-hero .aio-container,
html body.page-club-item .aio-club-showcase-hero .aio-container {
    position: relative !important;
    z-index: 5 !important;
    height: 100% !important;
    max-width: 1280px !important;
}

html body .aio-main .aio-club-showcase-hero__grid,
html body.page-club-item .aio-club-showcase-hero__grid {
    display: block !important;
    position: relative !important;
    height: 100% !important;
}

/* Фото не залезает под текстовую часть полностью: начинается правее, но растворяется в неё */
html body .aio-main .aio-club-showcase-visual,
html body.page-club-item .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 32% !important;
    width: auto !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #120D0A !important;
    pointer-events: none !important;
}

html body .aio-main .aio-club-showcase-visual > img,
html body.page-club-item .aio-club-showcase-visual > img,
html body .aio-main .aio-club-showcase-visual:hover > img,
html body.page-club-item .aio-club-showcase-visual:hover > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: sepia(.10) saturate(.88) contrast(.98) brightness(.96) !important;
}

/* Стираем все старые маски на самом фото */
html body .aio-main .aio-club-showcase-visual::before,
html body .aio-main .aio-club-showcase-visual::after,
html body.page-club-item .aio-club-showcase-visual::before,
html body.page-club-item .aio-club-showcase-visual::after {
    content: none !important;
    display: none !important;
}

/* Основная вуаль поверх всего hero: плотная слева, мягко исчезает в фото */
html body .aio-main .aio-club-showcase-hero::before,
html body.page-club-item .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 12% 22%, rgba(169,67,43,.20), transparent 25rem),
        linear-gradient(
            90deg,
            rgba(12, 8, 7, .99) 0%,
            rgba(12, 8, 7, .99) 27%,
            rgba(12, 8, 7, .96) 33%,
            rgba(12, 8, 7, .82) 38%,
            rgba(12, 8, 7, .58) 44%,
            rgba(12, 8, 7, .32) 50%,
            rgba(12, 8, 7, .13) 57%,
            rgba(12, 8, 7, .00) 68%
        ) !important;
}

/* Дополнительная дымка на стыке — широкая и размытая */
html body .aio-main .aio-club-showcase-hero::after,
html body.page-club-item .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 3 !important;
    top: -8% !important;
    bottom: -8% !important;
    left: 27% !important;
    width: 32% !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(12, 8, 7, .62) 0%,
            rgba(12, 8, 7, .42) 34%,
            rgba(12, 8, 7, .19) 66%,
            rgba(12, 8, 7, .00) 100%
        ) !important;
    filter: blur(34px) !important;
    transform: translateX(-8%) !important;
}

/* Левая часть — читаемая, не на фото */
html body .aio-main .aio-club-showcase-card,
html body.page-club-item .aio-club-showcase-card {
    position: relative !important;
    z-index: 6 !important;
    width: min(385px, 34vw) !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 36px 0 34px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Краткое описание в hero не показываем */
html body .aio-main .aio-club-showcase-card__lead,
html body.page-club-item .aio-club-showcase-card__lead {
    display: none !important;
}

/* Кикер */
html body .aio-main .aio-club-showcase-card .aio-events-kicker,
html body.page-club-item .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

/* Эмблема */
html body .aio-main .aio-club-showcase-card__logo,
html body.page-club-item .aio-club-showcase-card__logo {
    width: 54px !important;
    height: 54px !important;
    margin: 0 0 20px !important;
    padding: 8px !important;
    background: rgba(248,245,239,.94) !important;
    border: 1px solid rgba(248,245,239,.22) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.24) !important;
}

html body .aio-main .aio-club-showcase-card__logo img,
html body.page-club-item .aio-club-showcase-card__logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Название клуба */
html body .aio-main .aio-club-showcase-card h1,
html body.page-club-item .aio-club-showcase-card h1 {
    margin: 0 0 22px !important;
    max-width: 360px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(27px, 2.35vw, 40px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

/* Метаданные: город / марки / темы отдельно */
html body .aio-main .aio-club-showcase-card__meta,
html body.page-club-item .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 9px !important;
    margin: 0 0 22px !important;
}

html body .aio-main .aio-club-showcase-card__meta-row,
html body.page-club-item .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
}

html body .aio-main .aio-club-showcase-card__meta-row > span,
html body.page-club-item .aio-club-showcase-card__meta-row > span {
    padding-top: 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

html body .aio-main .aio-club-showcase-card__meta-row > div,
html body.page-club-item .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

html body .aio-main .aio-club-showcase-card__meta-row em,
html body.page-club-item .aio-club-showcase-card__meta-row em {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 23px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.24) !important;
    background: rgba(248,245,239,.05) !important;
    color: rgba(248,245,239,.94) !important;
    font-style: normal !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
}

/* Старые chips не показываем */
html body .aio-main .aio-club-showcase-card__chips,
html body.page-club-item .aio-club-showcase-card__chips {
    display: none !important;
}

/* Факты */
html body .aio-main .aio-club-showcase-card__facts,
html body.page-club-item .aio-club-showcase-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 18px !important;
    margin: 0 0 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(248,245,239,.16) !important;
}

html body .aio-main .aio-club-showcase-card__facts dt,
html body.page-club-item .aio-club-showcase-card__facts dt {
    margin: 0 0 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

html body .aio-main .aio-club-showcase-card__facts dd,
html body.page-club-item .aio-club-showcase-card__facts dd {
    margin: 0 !important;
    color: rgba(248,245,239,.90) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
}

/* Кнопка */
html body .aio-main .aio-club-showcase-card__actions,
html body.page-club-item .aio-club-showcase-card__actions {
    display: flex !important;
    gap: 10px !important;
}

html body .aio-main .aio-club-showcase-card__actions a,
html body.page-club-item .aio-club-showcase-card__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 31px !important;
    padding: 8px 15px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248,245,239,.28) !important;
    background: rgba(248,245,239,.045) !important;
    color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

/* Вкладки остаются под hero */
html body .aio-main .aio-club-showcase-tabs,
html body.page-club-item .aio-club-showcase-tabs {
    position: relative !important;
    z-index: 8 !important;
}

/* Адаптив */
@media (max-width: 900px) {
    html body .aio-main .aio-club-showcase-hero,
    html body.page-club-item .aio-club-showcase-hero {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    html body .aio-main .aio-club-showcase-card,
    html body.page-club-item .aio-club-showcase-card {
        width: auto !important;
        height: auto !important;
        padding: 34px 0 28px !important;
    }

    html body .aio-main .aio-club-showcase-visual,
    html body.page-club-item .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        height: 280px !important;
        margin: 0 -20px !important;
    }

    html body .aio-main .aio-club-showcase-hero::before,
    html body.page-club-item .aio-club-showcase-hero::before {
        background:
            radial-gradient(circle at 16% 16%, rgba(169,67,43,.18), transparent 20rem),
            linear-gradient(180deg, rgba(12,8,7,.99) 0%, rgba(12,8,7,.94) 58%, rgba(12,8,7,.26) 100%) !important;
    }

    html body .aio-main .aio-club-showcase-hero::after,
    html body.page-club-item .aio-club-showcase-hero::after {
        display: none !important;
    }
}

/* AIO_CLUB_HERO_READABLE_SEAM_20260711_END */

/* AIO_CLUB_HERO_PHOTO_PLANE_SEAM_20260711_START */

/*
  Страница клуба:
  слева — тёмная музейная информационная зона,
  справа — полноценная фото-плоскость до края экрана,
  между ними — широкая дымка без видимой вертикальной границы.
*/

html body .aio-main .aio-club-showcase-hero,
html body.page-club-item .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    height: calc(100svh - 185px) !important;
    min-height: 520px !important;
    max-height: 620px !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 16% 20%, rgba(169,67,43,.18), transparent 24rem),
        linear-gradient(90deg, #0F0B09 0%, #130D0B 42%, #100B09 100%) !important;
    color: #F8F5EF !important;
}

/* Контейнер оставляем для текста, но не зажимаем фотографию */
html body .aio-main .aio-club-showcase-hero .aio-container,
html body.page-club-item .aio-club-showcase-hero .aio-container {
    position: relative !important;
    z-index: 5 !important;
    height: 100% !important;
    max-width: 1280px !important;
}

/* Левая карточка — поверх затемнённой части */
html body .aio-main .aio-club-showcase-card,
html body.page-club-item .aio-club-showcase-card {
    position: relative !important;
    z-index: 8 !important;
    width: min(390px, 34vw) !important;
    height: 100% !important;
    padding: 34px 0 32px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Фото — отдельная правая плоскость, до правого края экрана */
html body .aio-main .aio-club-showcase-visual,
html body.page-club-item .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: max(34vw, calc((100vw - 1280px) / 2 + 390px)) !important;
    right: calc((100vw - min(1280px, 100vw)) / -2) !important;
    width: auto !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #120D0B !important;
    pointer-events: none !important;
}

/* Само фото растянуто на всю правую плоскость */
html body .aio-main .aio-club-showcase-visual > img,
html body.page-club-item .aio-club-showcase-visual > img,
html body .aio-main .aio-club-showcase-visual:hover > img,
html body.page-club-item .aio-club-showcase-visual:hover > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: sepia(.14) saturate(.86) contrast(.98) brightness(.94) !important;
}

/* Музейная вуаль на самом фото: не чернит, а приглушает */
html body .aio-main .aio-club-showcase-visual::after,
html body.page-club-item .aio-club-showcase-visual::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    z-index: 2 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 72% 45%, rgba(248,245,239,.08), transparent 24rem),
        linear-gradient(0deg, rgba(12,8,7,.08), rgba(12,8,7,.08)),
        linear-gradient(90deg, rgba(12,8,7,.16) 0%, rgba(12,8,7,.03) 30%, rgba(248,245,239,.035) 100%) !important;
}

/* Старая лишняя маска на фото отключается */
html body .aio-main .aio-club-showcase-visual::before,
html body.page-club-item .aio-club-showcase-visual::before {
    content: none !important;
    display: none !important;
}

/* Общая тёмная основа слева, заходящая на фото мягко */
html body .aio-main .aio-club-showcase-hero::before,
html body.page-club-item .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 3 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 14% 22%, rgba(169,67,43,.20), transparent 25rem),
        linear-gradient(
            90deg,
            rgba(12,8,7,1) 0%,
            rgba(12,8,7,1) 25%,
            rgba(12,8,7,.98) 31%,
            rgba(12,8,7,.90) 36%,
            rgba(12,8,7,.72) 41%,
            rgba(12,8,7,.48) 47%,
            rgba(12,8,7,.24) 54%,
            rgba(12,8,7,.08) 62%,
            rgba(12,8,7,0) 72%
        ) !important;
}

/* Сам стык: широкая размытая дымка, чтобы не было вертикальной линии */
html body .aio-main .aio-club-showcase-hero::after,
html body.page-club-item .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 4 !important;
    top: -12% !important;
    bottom: -12% !important;
    left: calc((100vw - min(1280px, 100vw)) / 2 + 310px) !important;
    width: 280px !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(12,8,7,.70) 0%,
            rgba(12,8,7,.52) 28%,
            rgba(12,8,7,.30) 55%,
            rgba(12,8,7,.12) 78%,
            rgba(12,8,7,0) 100%
        ) !important;
    filter: blur(38px) !important;
    transform: translateX(0) !important;
}

/* Описание в hero не возвращаем */
html body .aio-main .aio-club-showcase-card__lead,
html body.page-club-item .aio-club-showcase-card__lead {
    display: none !important;
}

/* Название чуть тоньше и спокойнее */
html body .aio-main .aio-club-showcase-card h1,
html body.page-club-item .aio-club-showcase-card h1 {
    margin: 0 0 24px !important;
    max-width: 365px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.2vw, 38px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

/* Мелкая типографика */
html body .aio-main .aio-club-showcase-card .aio-events-kicker,
html body.page-club-item .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

/* Метаданные — аккуратнее и меньше */
html body .aio-main .aio-club-showcase-card__meta,
html body.page-club-item .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 8px !important;
    margin: 0 0 22px !important;
}

html body .aio-main .aio-club-showcase-card__meta-row,
html body.page-club-item .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 9px !important;
    align-items: start !important;
}

html body .aio-main .aio-club-showcase-card__meta-row > span,
html body.page-club-item .aio-club-showcase-card__meta-row > span {
    padding-top: 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

html body .aio-main .aio-club-showcase-card__meta-row > div,
html body.page-club-item .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}

html body .aio-main .aio-club-showcase-card__meta-row em,
html body.page-club-item .aio-club-showcase-card__meta-row em {
    min-height: 21px !important;
    padding: 5px 8px !important;
    border-radius: 999px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.94) !important;
    background: rgba(248,245,239,.045) !important;
    border: 1px solid rgba(248,245,239,.22) !important;
}

/* Старые chips точно не показываем */
html body .aio-main .aio-club-showcase-card__chips,
html body.page-club-item .aio-club-showcase-card__chips {
    display: none !important;
}

/* Адаптив */
@media (max-width: 900px) {
    html body .aio-main .aio-club-showcase-hero,
    html body.page-club-item .aio-club-showcase-hero {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    html body .aio-main .aio-club-showcase-card,
    html body.page-club-item .aio-club-showcase-card {
        width: auto !important;
        height: auto !important;
        padding: 34px 0 28px !important;
    }

    html body .aio-main .aio-club-showcase-visual,
    html body.page-club-item .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        height: 280px !important;
        margin: 0 -20px !important;
    }

    html body .aio-main .aio-club-showcase-hero::after,
    html body.page-club-item .aio-club-showcase-hero::after {
        display: none !important;
    }
}

/* AIO_CLUB_HERO_PHOTO_PLANE_SEAM_20260711_END */

/* AIO_CLUB_HERO_ONE_THIRD_TWO_THIRD_20260711_START */

/*
  Финальная логика hero клуба:
  1/3 — тёмная информационная часть.
  2/3 — фотография.
  Фото заходит под тёмную часть, стык стирается широкой дымкой.
  Само фото не уводится в черноту, только получает музейную мягкую вуаль.
*/

html body.page-club-item .aio-main .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    height: calc(100svh - 186px) !important;
    min-height: 510px !important;
    max-height: 610px !important;
    padding: 0 !important;
    margin: 0 !important;
    background:
        radial-gradient(circle at 13% 20%, rgba(169,67,43,.18), transparent 24rem),
        linear-gradient(90deg, #100B09 0%, #130D0B 36%, #100B09 100%) !important;
    color: #F8F5EF !important;
}

/* Внутренний контейнер — только для текста, фото больше не зависит от него */
html body.page-club-item .aio-main .aio-club-showcase-hero .aio-container {
    position: relative !important;
    z-index: 10 !important;
    height: 100% !important;
    max-width: 1280px !important;
}

/* Сетка не должна управлять фотографией */
html body.page-club-item .aio-main .aio-club-showcase-hero__grid {
    display: block !important;
    height: 100% !important;
    position: static !important;
}

/* Информационная часть — одна треть, без коробки */
html body.page-club-item .aio-main .aio-club-showcase-card {
    position: relative !important;
    z-index: 20 !important;
    width: min(380px, 31vw) !important;
    height: 100% !important;
    padding: 30px 0 28px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Фото — правая часть hero, визуально две трети.
   Оно начинается чуть левее стыка, чтобы граница могла раствориться. */
html body.page-club-item .aio-main .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 30.5vw !important;
    width: auto !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #120D0B !important;
    pointer-events: none !important;
}

/* Само фото заполняет всю отведённую правую часть */
html body.page-club-item .aio-main .aio-club-showcase-visual > img,
html body.page-club-item .aio-main .aio-club-showcase-visual:hover > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;

    /* лёгкая музейная обработка, без сильного затемнения */
    filter: sepia(.13) saturate(.88) contrast(.98) brightness(.98) !important;
}

/* Убираем старые локальные затемнения/маски с самой картинки */
html body.page-club-item .aio-main .aio-club-showcase-visual::before {
    content: none !important;
    display: none !important;
}

/* Музейная вуаль по фото: мягко приглушает, но не чернит */
html body.page-club-item .aio-main .aio-club-showcase-visual::after {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 72% 42%, rgba(248,245,239,.07), transparent 24rem),
        linear-gradient(0deg, rgba(45,32,24,.07), rgba(45,32,24,.07)),
        linear-gradient(90deg, rgba(16,11,9,.26) 0%, rgba(16,11,9,.08) 24%, rgba(248,245,239,.03) 100%) !important;
}

/* Главная тёмная плоскость слева.
   Она не обрубает фото, а постепенно растворяется на нём. */
html body.page-club-item .aio-main .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 5 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 13% 18%, rgba(169,67,43,.20), transparent 23rem),
        linear-gradient(
            90deg,
            rgba(13,8,7,1) 0%,
            rgba(13,8,7,1) 24%,
            rgba(13,8,7,.98) 30%,
            rgba(13,8,7,.88) 34%,
            rgba(13,8,7,.64) 39%,
            rgba(13,8,7,.38) 45%,
            rgba(13,8,7,.18) 52%,
            rgba(13,8,7,.06) 60%,
            rgba(13,8,7,0) 69%
        ) !important;
}

/* Отдельная широкая дымка на месте стыка.
   Именно она убирает вертикальную границу между тёмным блоком и фото. */
html body.page-club-item .aio-main .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 6 !important;
    top: -14% !important;
    bottom: -14% !important;
    left: 27vw !important;
    width: 22vw !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(13,8,7,.78) 0%,
            rgba(13,8,7,.58) 26%,
            rgba(13,8,7,.34) 52%,
            rgba(13,8,7,.14) 76%,
            rgba(13,8,7,0) 100%
        ) !important;
    filter: blur(42px) !important;
    transform: translateX(0) !important;
}

/* Описание в hero не показываем */
html body.page-club-item .aio-main .aio-club-showcase-card__lead {
    display: none !important;
}

/* Название — тоньше, музейнее */
html body.page-club-item .aio-main .aio-club-showcase-card h1 {
    margin: 0 0 24px !important;
    max-width: 360px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.05vw, 36px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

/* Кикер */
html body.page-club-item .aio-main .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 13px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

/* Лого */
html body.page-club-item .aio-main .aio-club-showcase-card__logo {
    width: 58px !important;
    height: 58px !important;
    margin: 0 0 19px !important;
    padding: 8px !important;
    background: rgba(248,245,239,.92) !important;
    border: 1px solid rgba(248,245,239,.34) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.20) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Метаданные: город / марки / темы */
html body.page-club-item .aio-main .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 8px !important;
    margin: 0 0 22px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row > span {
    padding-top: 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row em {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 21px !important;
    padding: 5px 8px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    font-style: normal !important;
    font-weight: 700 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.94) !important;
    background: rgba(248,245,239,.045) !important;
    border: 1px solid rgba(248,245,239,.22) !important;
}

/* Старые chips не нужны */
html body.page-club-item .aio-main .aio-club-showcase-card__chips {
    display: none !important;
}

/* Факты */
html body.page-club-item .aio-main .aio-club-showcase-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 18px !important;
    margin: 0 0 18px !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(248,245,239,.16) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__facts div {
    margin: 0 !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid rgba(248,245,239,.10) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__facts dt {
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C98A73 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__facts dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: rgba(248,245,239,.88) !important;
}

/* Кнопка */
html body.page-club-item .aio-main .aio-club-showcase-card__actions {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 9px 17px !important;
    border-radius: 999px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #F8F5EF !important;
    border: 1px solid rgba(248,245,239,.28) !important;
    background: rgba(248,245,239,.045) !important;
}

/* Нижние вкладки должны сразу помещаться под hero */
html body.page-club-item .aio-main .aio-club-showcase-tabs {
    position: relative !important;
    z-index: 30 !important;
    height: 58px !important;
    min-height: 58px !important;
    background: #F8F5EF !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
    border-bottom: 1px solid rgba(7,45,91,.08) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs .aio-container {
    height: 58px !important;
    display: flex !important;
    align-items: center !important;
    gap: 34px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #07192E !important;
}

/* Мобильный режим */
@media (max-width: 900px) {
    html body.page-club-item .aio-main .aio-club-showcase-hero {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-card {
        width: auto !important;
        height: auto !important;
        padding: 34px 0 28px !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        height: 280px !important;
        margin: 0 -20px !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-hero::before {
        background:
            linear-gradient(180deg, rgba(13,8,7,1) 0%, rgba(13,8,7,.95) 62%, rgba(13,8,7,.42) 100%) !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-hero::after {
        display: none !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-card h1 {
        font-size: 32px !important;
    }
}

/* AIO_CLUB_HERO_ONE_THIRD_TWO_THIRD_20260711_END */

/* AIO_CLUB_HERO_HARD_FINAL_20260711_START */

/*
  Страница клуба:
  1/3 слева — тёмная музейная информационная зона.
  2/3 справа — обложка клуба на всю правую часть экрана.
  Стык стирается дымкой, фото не уходит в чёрную муть.
*/

html body.page-club-item .aio-main .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    width: 100vw !important;
    height: calc(100svh - 186px) !important;
    min-height: 500px !important;
    max-height: 610px !important;
    margin: 0 !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 13% 20%, rgba(124, 45, 30, .22), transparent 34%),
        linear-gradient(90deg, #0B0908 0%, #120C0A 25%, #17100D 35%, #0B0908 100%) !important;
    color: #F8F5EF !important;
}

html body.page-club-item .aio-main .aio-club-showcase-hero .aio-container {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-hero__grid {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 100% !important;
}

/* Фото — настоящая правая плоскость, а не картинка в контейнере */
html body.page-club-item .aio-main .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 33.333vw !important;
    width: auto !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #16110E !important;
    box-shadow: none !important;
}

html body.page-club-item .aio-main .aio-club-showcase-visual > img,
html body.page-club-item .aio-main .aio-club-showcase-visual:hover > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;

    /* лёгкая музейная вуаль, без тяжёлого затемнения */
    filter: sepia(.12) saturate(.88) contrast(.98) brightness(.98) !important;
}

/* Мягкая музейная плёнка поверх всей фотографии */
html body.page-club-item .aio-main .aio-club-showcase-visual::after {
    content: "" !important;
    position: absolute !important;
    z-index: 3 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 64% 44%, rgba(248, 245, 239, .08), transparent 34%),
        linear-gradient(0deg, rgba(13, 10, 8, .08), rgba(248, 245, 239, .035)),
        linear-gradient(90deg, rgba(14, 9, 7, .30) 0%, rgba(14, 9, 7, .10) 18%, rgba(14, 9, 7, 0) 42%) !important;
    mix-blend-mode: multiply !important;
}

/* Главная дымка, которая стирает стык между тёмной частьюю и фото */
html body.page-club-item .aio-main .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 4 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: calc(33.333vw - 190px) !important;
    width: 390px !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(11, 9, 8, 1) 0%,
            rgba(15, 10, 8, .96) 24%,
            rgba(20, 12, 9, .72) 46%,
            rgba(30, 18, 12, .34) 66%,
            rgba(30, 18, 12, .10) 82%,
            rgba(30, 18, 12, 0) 100%
        ) !important;
    filter: blur(24px) !important;
    transform: translateZ(0) !important;
}

/* Дополнительная мягкая тень слева, чтобы не было вертикальной линейки */
html body.page-club-item .aio-main .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 42vw !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 22% 28%, rgba(129, 46, 31, .18), transparent 38%),
        linear-gradient(90deg, rgba(8, 7, 6, .98) 0%, rgba(14, 9, 8, .96) 70%, rgba(14, 9, 8, 0) 100%) !important;
}

/* Информационная зона — поверх дымки */
html body.page-club-item .aio-main .aio-club-showcase-card {
    position: relative !important;
    z-index: 6 !important;
    width: 33.333vw !important;
    max-width: 430px !important;
    min-width: 360px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: clamp(34px, 5vh, 56px) 34px 30px clamp(34px, 9vw, 138px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* Убираем короткое описание из хиро окончательно */
html body.page-club-item .aio-main .aio-club-showcase-card__lead {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Типографика и масштаб */
html body.page-club-item .aio-main .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #C97A62 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__logo {
    width: 56px !important;
    height: 56px !important;
    margin: 0 0 20px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(248, 245, 239, .92) !important;
    border: 1px solid rgba(248, 245, 239, .30) !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .20) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card h1 {
    max-width: 335px !important;
    margin: 0 0 26px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(27px, 2.55vw, 39px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

/* Город / марки / темы — не общей кучей */
html body.page-club-item .aio-main .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 10px !important;
    margin: 0 0 24px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row > span {
    padding-top: 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C97A62 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-width: 0 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row em {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 5px 12px 4px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248, 245, 239, .26) !important;
    background: rgba(248, 245, 239, .055) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.05 !important;
    font-style: normal !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: rgba(248, 245, 239, .90) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__chips {
    display: none !important;
}

/* Факты */
html body.page-club-item .aio-main .aio-club-showcase-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 22px !important;
    margin: 0 0 20px !important;
    padding: 20px 0 0 !important;
    border-top: 1px solid rgba(248, 245, 239, .16) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__facts div {
    min-width: 0 !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid rgba(248, 245, 239, .10) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__facts dt {
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C97A62 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__facts dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: rgba(248, 245, 239, .88) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__actions {
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__actions a {
    min-height: 31px !important;
    padding: 9px 15px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248, 245, 239, .26) !important;
    background: rgba(248, 245, 239, .055) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
    text-decoration: none !important;
}

/* Нижние вкладки должны помещаться вместе с хиро на экран */
html body.page-club-item .aio-main .aio-club-showcase-tabs {
    min-height: 58px !important;
    height: 58px !important;
    background: #F8F5EF !important;
    border-top: 1px solid rgba(7, 45, 91, .08) !important;
    border-bottom: 1px solid rgba(7, 45, 91, .08) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs .aio-container {
    height: 58px !important;
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    gap: clamp(22px, 4vw, 54px) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #071D35 !important;
}

/* Планшет / мобильный — складываем, чтобы не ломалось */
@media (max-width: 900px) {
    html body.page-club-item .aio-main .aio-club-showcase-hero {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        padding: 34px 22px 28px !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 280px !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-hero::before,
    html body.page-club-item .aio-main .aio-club-showcase-hero::after {
        display: none !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-card h1 {
        font-size: clamp(28px, 10vw, 40px) !important;
    }
}

/* AIO_CLUB_HERO_HARD_FINAL_20260711_END */

/* AIO_CLUB_HERO_SEAM_REAL_20260711_START */

/*
  Финальная логика:
  - фото НЕ начинается ровно после тёмного блока, а заходит под него;
  - тёмная зона лежит поверх фото;
  - стык стирается широкой дымкой;
  - фото остаётся видимым, но получает музейную тёплую вуаль.
*/

html body.page-club-item .aio-main .aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    width: 100vw !important;
    height: calc(100svh - 186px) !important;
    min-height: 500px !important;
    max-height: 610px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #0B0908 !important;
    color: #F8F5EF !important;
}

html body.page-club-item .aio-main .aio-club-showcase-hero .aio-container {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-hero__grid {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 100% !important;
}

/* Фото заводим под тёмный блок, чтобы не было резкого начала картинки */
html body.page-club-item .aio-main .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 24vw !important;
    width: auto !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #0B0908 !important;
    box-shadow: none !important;
}

html body.page-club-item .aio-main .aio-club-showcase-visual > img,
html body.page-club-item .aio-main .aio-club-showcase-visual:hover > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: sepia(.16) saturate(.84) contrast(.96) brightness(.94) !important;
}

/* Общая музейная плёнка на фото */
html body.page-club-item .aio-main .aio-club-showcase-visual::after {
    content: "" !important;
    position: absolute !important;
    z-index: 3 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(0deg, rgba(25, 15, 10, .10), rgba(248, 245, 239, .035)),
        radial-gradient(circle at 68% 42%, rgba(248, 245, 239, .08), transparent 36%),
        linear-gradient(90deg, rgba(12, 8, 7, .34) 0%, rgba(12, 8, 7, .16) 22%, rgba(12, 8, 7, 0) 48%) !important;
    mix-blend-mode: multiply !important;
}

/* Тёмная левая зона поверх фото */
html body.page-club-item .aio-main .aio-club-showcase-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 4 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 43vw !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 18% 20%, rgba(134, 48, 31, .22), transparent 34%),
        linear-gradient(
            90deg,
            rgba(8, 7, 6, 1) 0%,
            rgba(12, 8, 7, .99) 58%,
            rgba(16, 10, 8, .90) 72%,
            rgba(18, 11, 8, .54) 86%,
            rgba(18, 11, 8, 0) 100%
        ) !important;
}

/* Широкая дымка именно на стыке: без вертикальной линейки */
html body.page-club-item .aio-main .aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 5 !important;
    top: -6% !important;
    bottom: -6% !important;
    left: 28vw !important;
    width: 24vw !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            90deg,
            rgba(8, 7, 6, .92) 0%,
            rgba(10, 8, 7, .78) 22%,
            rgba(18, 11, 8, .52) 44%,
            rgba(38, 24, 16, .22) 68%,
            rgba(38, 24, 16, 0) 100%
        ) !important;
    filter: blur(42px) !important;
    transform: translateZ(0) !important;
}

/* Информационная карточка */
html body.page-club-item .aio-main .aio-club-showcase-card {
    position: relative !important;
    z-index: 7 !important;
    width: 38vw !important;
    max-width: 520px !important;
    min-width: 420px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 54px 36px 34px clamp(34px, 9vw, 138px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Логотип не должен залезать под шапку */
html body.page-club-item .aio-main .aio-club-showcase-card__logo {
    width: 54px !important;
    height: 54px !important;
    margin: 0 0 18px !important;
    padding: 8px !important;
    background: rgba(248, 245, 239, .92) !important;
    border: 1px solid rgba(248, 245, 239, .28) !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Название: тоньше, меньше, но шире — “Клуб любителей” / “котов” */
html body.page-club-item .aio-main .aio-club-showcase-card h1 {
    max-width: 440px !important;
    margin: 0 0 24px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.2vw, 35px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

/* Убираем краткое описание в hero */
html body.page-club-item .aio-main .aio-club-showcase-card__lead {
    display: none !important;
}

/* Кикер */
html body.page-club-item .aio-main .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 15px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #C97A62 !important;
}

/* Метаданные: город / марки / темы */
html body.page-club-item .aio-main .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 10px !important;
    margin: 0 0 23px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row > span {
    padding-top: 6px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C97A62 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__meta-row em {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 5px 12px 4px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248, 245, 239, .26) !important;
    background: rgba(248, 245, 239, .06) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.05 !important;
    font-style: normal !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: rgba(248, 245, 239, .90) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__chips {
    display: none !important;
}

/* Факты */
html body.page-club-item .aio-main .aio-club-showcase-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 22px !important;
    margin: 0 0 19px !important;
    padding: 19px 0 0 !important;
    border-top: 1px solid rgba(248, 245, 239, .15) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__facts div {
    padding: 0 0 9px !important;
    border-bottom: 1px solid rgba(248, 245, 239, .10) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__facts dt {
    margin: 0 0 7px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #C97A62 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__facts dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    color: rgba(248, 245, 239, .88) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__actions {
    margin: 0 !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__actions a {
    min-height: 31px !important;
    padding: 9px 15px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(248, 245, 239, .26) !important;
    background: rgba(248, 245, 239, .055) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
    text-decoration: none !important;
}

/* Вкладки */
html body.page-club-item .aio-main .aio-club-showcase-tabs {
    height: 58px !important;
    min-height: 58px !important;
    background: #F8F5EF !important;
    border-top: 1px solid rgba(7, 45, 91, .08) !important;
    border-bottom: 1px solid rgba(7, 45, 91, .08) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs .aio-container {
    height: 58px !important;
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    gap: clamp(22px, 4vw, 54px) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #071D35 !important;
}

/* Мобильная версия */
@media (max-width: 900px) {
    html body.page-club-item .aio-main .aio-club-showcase-hero {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        padding: 34px 22px 28px !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 280px !important;
    }

    html body.page-club-item .aio-main .aio-club-showcase-hero::before,
    html body.page-club-item .aio-main .aio-club-showcase-hero::after {
        display: none !important;
    }
}

/* AIO_CLUB_HERO_SEAM_REAL_20260711_END */

/* AIO_CLUB_HERO_FINAL_VITRINE_20260711_START */

/*
   Страница клуба:
   1/3 — тёмная информационная зона.
   2/3 — обложка клуба.
   Граница между ними стирается мягкой музейной дымкой.
*/

html body.page-club-item .aio-main #club-hero.aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;

    width: 100% !important;
    height: clamp(500px, calc(100svh - 165px), 610px) !important;
    min-height: 500px !important;
    max-height: 610px !important;

    margin: 0 !important;
    padding: 0 !important;

    background:
        radial-gradient(circle at 10% 20%, rgba(169, 67, 43, .16), transparent 34%),
        radial-gradient(circle at 30% 72%, rgba(200, 87, 38, .08), transparent 38%),
        linear-gradient(90deg, #090706 0%, #100B09 47%, #140D0A 100%) !important;

    color: #F8F5EF !important;
}

html body.page-club-item .aio-main #club-hero.aio-club-showcase-hero .aio-container {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-hero__grid {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Фото занимает всю правую часть: ровно 2/3 экрана */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 33.333vw !important;

    width: auto !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;

    background: #120D0A !important;
    transform: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Само фото — без пульсации, без увеличения, на всю плоскость */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual > img,
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual:hover > img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center center !important;

    transform: none !important;
    scale: 1 !important;

    filter: sepia(.10) saturate(.90) contrast(.98) brightness(.99) !important;
    opacity: 1 !important;

    transition: none !important;
    animation: none !important;
}

/* Общая музейная дымка на фото: не затемняет в чёрное, а собирает тон */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;

    background:
        radial-gradient(circle at 72% 38%, rgba(248, 245, 239, .055), transparent 34%),
        radial-gradient(circle at 82% 82%, rgba(169, 67, 43, .055), transparent 40%),
        linear-gradient(0deg, rgba(15, 10, 8, .08), rgba(242, 227, 207, .035)) !important;

    mix-blend-mode: multiply !important;
}

/* Левый край фото мягко уходит в тёмную часть */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual::after {
    content: "" !important;
    position: absolute !important;
    top: -8% !important;
    bottom: -8% !important;
    left: -1px !important;
    z-index: 3 !important;
    pointer-events: none !important;

    width: min(24vw, 360px) !important;

    background:
        linear-gradient(
            90deg,
            rgba(9, 7, 6, .98) 0%,
            rgba(9, 7, 6, .94) 18%,
            rgba(12, 8, 7, .78) 34%,
            rgba(18, 11, 8, .48) 54%,
            rgba(18, 11, 8, .20) 74%,
            rgba(18, 11, 8, 0) 100%
        ) !important;

    filter: blur(10px) !important;
}

/* Дополнительная вуаль поверх стыка, чтобы не было вертикальной полосы */
html body.page-club-item .aio-main #club-hero.aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    top: -10% !important;
    bottom: -10% !important;

    left: calc(33.333vw - 110px) !important;
    width: 260px !important;

    pointer-events: none !important;

    background:
        linear-gradient(
            90deg,
            rgba(9, 7, 6, .92) 0%,
            rgba(9, 7, 6, .78) 24%,
            rgba(14, 9, 7, .48) 48%,
            rgba(14, 9, 7, .18) 72%,
            rgba(14, 9, 7, 0) 100%
        ) !important;

    filter: blur(20px) !important;
}

/* Тёмная информационная зона — 1/3, без отдельной коробки */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card {
    position: relative !important;
    z-index: 5 !important;

    width: 33.333vw !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding:
        clamp(30px, 4.2vh, 46px)
        clamp(28px, 3.1vw, 48px)
        clamp(24px, 3.2vh, 36px)
        clamp(30px, 8.8vw, 138px) !important;

    box-sizing: border-box !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card > * {
    max-width: 390px !important;
}

/* Кикер */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 16px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;

    color: #C88975 !important;
}

/* Логотип */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__logo {
    width: 58px !important;
    height: 58px !important;
    margin: 0 0 22px !important;

    background: rgba(248, 245, 239, .92) !important;
    border: 1px solid rgba(242, 227, 207, .72) !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__logo img {
    width: 86% !important;
    height: 86% !important;
    object-fit: contain !important;
}

/* Название клуба — тонко, музейно, без гигантизма */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card h1 {
    margin: 0 0 28px !important;
    max-width: 390px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.45vw, 39px) !important;
    line-height: .93 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
}

/* Краткое описание в hero не выводим */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__lead {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Метаданные: город / марки / темы */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 10px !important;
    margin: 0 0 26px !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row > span {
    padding-top: 7px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;

    color: #B86C56 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-width: 0 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row em {
    display: inline-flex !important;
    align-items: center !important;

    min-height: 24px !important;
    padding: 5px 12px 4px !important;

    border-radius: 999px !important;
    border: 1px solid rgba(248, 245, 239, .26) !important;
    background: rgba(248, 245, 239, .045) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.08 !important;
    font-style: normal !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;

    color: rgba(248, 245, 239, .92) !important;
}

/* Старые chips больше не используем визуально */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__chips {
    display: none !important;
}

/* Руководитель / координатор / email */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 22px !important;

    margin: 0 0 18px !important;
    padding: 20px 0 0 !important;

    border-top: 1px solid rgba(248, 245, 239, .16) !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts div {
    min-width: 0 !important;
    padding-bottom: 11px !important;
    border-bottom: 1px solid rgba(248, 245, 239, .12) !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts dt {
    margin: 0 0 6px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;

    color: #B86C56 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts dd {
    margin: 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;

    color: rgba(248, 245, 239, .88) !important;
}

/* Кнопка */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__actions {
    margin-top: auto !important;
    padding-top: 14px !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 34px !important;
    padding: 9px 16px 8px !important;

    border-radius: 999px !important;
    border: 1px solid rgba(248, 245, 239, .32) !important;
    background: rgba(248, 245, 239, .055) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    color: #F8F5EF !important;
}

/* Нижние вкладки должны остаться под hero и помещаться в первый экран */
html body.page-club-item .aio-main .aio-club-showcase-tabs {
    height: 56px !important;
    min-height: 56px !important;
    background: rgba(248, 245, 239, .96) !important;
    border-top: 1px solid rgba(7, 45, 91, .08) !important;
    border-bottom: 1px solid rgba(7, 45, 91, .08) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs .aio-container {
    height: 56px !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    overflow-x: auto !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #07192E !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* Мобильная версия */
@media (max-width: 900px) {
    html body.page-club-item .aio-main #club-hero.aio-club-showcase-hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    html body.page-club-item .aio-main #club-hero .aio-club-showcase-card {
        width: 100% !important;
        height: auto !important;
        padding: 28px 22px !important;
    }

    html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 300px !important;
    }

    html body.page-club-item .aio-main #club-hero.aio-club-showcase-hero::after {
        display: none !important;
    }

    html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual::after {
        display: none !important;
    }

    html body.page-club-item .aio-main #club-hero .aio-club-showcase-card h1 {
        font-size: clamp(30px, 10vw, 42px) !important;
    }
}

/* AIO_CLUB_HERO_FINAL_VITRINE_20260711_END */

/* AIO_CLUB_HERO_FINAL_COMPOSE_20260711_START */

/* Финальная компоновка hero клуба: 37% информация / 63% фото */
html body.page-club-item .aio-main #club-hero.aio-club-showcase-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;

    width: 100% !important;
    height: clamp(545px, calc(100svh - 145px), 675px) !important;
    min-height: 545px !important;
    max-height: 675px !important;

    margin: 0 !important;
    padding: 0 !important;

    background:
        radial-gradient(circle at 8% 16%, rgba(169, 67, 43, .18), transparent 34%),
        radial-gradient(circle at 28% 78%, rgba(200, 87, 38, .08), transparent 38%),
        linear-gradient(90deg, #080605 0%, #120B09 58%, #170F0B 100%) !important;

    color: #F8F5EF !important;
}

html body.page-club-item .aio-main #club-hero .aio-container,
html body.page-club-item .aio-main #club-hero .aio-club-showcase-hero__grid {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Фото: строго правая часть, без пустот и без отдельной рамки */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual {
    position: absolute !important;
    z-index: 1 !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 37vw !important;

    width: auto !important;
    height: 100% !important;
    min-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;

    border: 0 !important;
    box-shadow: none !important;
    background: #120B09 !important;
    transform: none !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual > img,
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual:hover > img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center center !important;

    transform: none !important;
    scale: 1 !important;
    transition: none !important;
    animation: none !important;

    filter: sepia(.11) saturate(.90) contrast(.98) brightness(.99) !important;
    opacity: 1 !important;
}

/* Лёгкая музейная вуаль на всём фото */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;

    background:
        radial-gradient(circle at 72% 42%, rgba(248, 245, 239, .045), transparent 34%),
        radial-gradient(circle at 80% 82%, rgba(169, 67, 43, .05), transparent 42%),
        linear-gradient(0deg, rgba(14, 9, 7, .08), rgba(242, 227, 207, .035)) !important;

    mix-blend-mode: multiply !important;
}

/* Стираем белую/резкую границу: тёмная дымка заходит поверх фото */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual::after {
    content: "" !important;
    position: absolute !important;
    z-index: 4 !important;
    pointer-events: none !important;

    top: -10% !important;
    bottom: -10% !important;
    left: -42px !important;
    width: min(30vw, 430px) !important;

    background:
        linear-gradient(
            90deg,
            rgba(8, 6, 5, 1) 0%,
            rgba(8, 6, 5, .98) 12%,
            rgba(10, 7, 6, .90) 24%,
            rgba(13, 8, 6, .68) 42%,
            rgba(16, 10, 7, .38) 62%,
            rgba(16, 10, 7, .13) 82%,
            rgba(16, 10, 7, 0) 100%
        ) !important;

    filter: blur(18px) !important;
}

/* Дополнительная широкая вуаль над самим стыком */
html body.page-club-item .aio-main #club-hero.aio-club-showcase-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 3 !important;
    pointer-events: none !important;

    top: -12% !important;
    bottom: -12% !important;
    left: calc(37vw - 160px) !important;
    width: 330px !important;

    background:
        linear-gradient(
            90deg,
            rgba(8, 6, 5, .96) 0%,
            rgba(8, 6, 5, .84) 28%,
            rgba(12, 8, 6, .52) 55%,
            rgba(12, 8, 6, .18) 78%,
            rgba(12, 8, 6, 0) 100%
        ) !important;

    filter: blur(24px) !important;
}

/* Тёмная информационная часть */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card {
    position: relative !important;
    z-index: 6 !important;

    width: 37vw !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;

    margin: 0 !important;
    padding:
        clamp(28px, 4vh, 42px)
        clamp(30px, 3vw, 50px)
        clamp(24px, 3vh, 34px)
        clamp(34px, 8.8vw, 136px) !important;

    box-sizing: border-box !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card > * {
    max-width: 430px !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card .aio-events-kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #C88975 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__logo {
    width: 54px !important;
    height: 54px !important;
    margin: 0 0 20px !important;
    flex: 0 0 auto !important;

    background: rgba(248, 245, 239, .92) !important;
    border: 1px solid rgba(242, 227, 207, .72) !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__logo img {
    width: 86% !important;
    height: 86% !important;
    object-fit: contain !important;
}

/* Название: помещаем красиво, без расползания вниз */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card h1 {
    margin: 0 0 26px !important;
    max-width: 430px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(27px, 2.25vw, 36px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .012em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
}

/* Описание в hero не нужно */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__lead {
    display: none !important;
}

/* Метаданные */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 10px !important;
    margin: 0 0 24px !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row > span {
    padding-top: 7px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;

    color: #B86C56 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-width: 0 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row em {
    display: inline-flex !important;
    align-items: center !important;

    min-height: 23px !important;
    padding: 5px 11px 4px !important;

    border-radius: 999px !important;
    border: 1px solid rgba(248, 245, 239, .26) !important;
    background: rgba(248, 245, 239, .045) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.8px !important;
    line-height: 1.08 !important;
    font-style: normal !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;

    color: rgba(248, 245, 239, .92) !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__chips {
    display: none !important;
}

/* Факты компактнее, чтобы email и сайт не уезжали под вкладки */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 20px !important;

    margin: 0 0 14px !important;
    padding: 18px 0 0 !important;

    border-top: 1px solid rgba(248, 245, 239, .16) !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts div {
    min-width: 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(248, 245, 239, .12) !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts dt {
    margin: 0 0 5px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;

    color: #B86C56 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts dd {
    margin: 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.32 !important;
    font-weight: 400 !important;

    color: rgba(248, 245, 239, .88) !important;
}

/* Кнопка сайта */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__actions {
    margin-top: auto !important;
    padding-top: 12px !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 33px !important;
    padding: 9px 16px 8px !important;

    border-radius: 999px !important;
    border: 1px solid rgba(248, 245, 239, .32) !important;
    background: rgba(248, 245, 239, .055) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.6px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    color: #F8F5EF !important;
}

/* Вкладки под hero */
html body.page-club-item .aio-main .aio-club-showcase-tabs {
    height: 56px !important;
    min-height: 56px !important;
    background: rgba(248, 245, 239, .97) !important;
    border-top: 1px solid rgba(7, 45, 91, .08) !important;
    border-bottom: 1px solid rgba(7, 45, 91, .08) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs .aio-container {
    height: 56px !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
}

html body.page-club-item .aio-main .aio-club-showcase-tabs a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #07192E !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* Мобильная версия */
@media (max-width: 900px) {
    html body.page-club-item .aio-main #club-hero.aio-club-showcase-hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    html body.page-club-item .aio-main #club-hero .aio-club-showcase-card {
        width: 100% !important;
        height: auto !important;
        padding: 28px 22px !important;
    }

    html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 300px !important;
    }

    html body.page-club-item .aio-main #club-hero.aio-club-showcase-hero::after,
    html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual::after {
        display: none !important;
    }

    html body.page-club-item .aio-main #club-hero .aio-club-showcase-card h1 {
        font-size: clamp(30px, 10vw, 42px) !important;
    }
}

/* AIO_CLUB_HERO_FINAL_COMPOSE_20260711_END */

/* AIO_CLUB_HERO_MUSEUM_VEIL_20260711_START */

/* Фото клуба: не чёрное, а тёплая музейная плёнка */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual > img,
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual:hover > img {
    filter:
        sepia(.18)
        saturate(.72)
        contrast(.94)
        brightness(.96)
        grayscale(.08) !important;

    opacity: 1 !important;
    transform: none !important;
    scale: 1 !important;
}

/* Общая музейная дымка поверх фото */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;

    background:
        linear-gradient(
            0deg,
            rgba(248, 245, 239, .075),
            rgba(248, 245, 239, .075)
        ),
        radial-gradient(
            circle at 68% 46%,
            rgba(242, 227, 207, .10),
            transparent 42%
        ),
        linear-gradient(
            90deg,
            rgba(19, 11, 8, .18) 0%,
            rgba(19, 11, 8, .06) 24%,
            rgba(242, 227, 207, .045) 56%,
            rgba(169, 67, 43, .035) 100%
        ) !important;

    mix-blend-mode: multiply !important;
}

/* Мягкий тёплый слой, чтобы фото не выбивалось из палитры сайта */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual {
    background:
        linear-gradient(90deg, rgba(16, 10, 7, .28), rgba(242, 227, 207, .06)),
        #120B09 !important;
}

/* Стык оставляем тёмным только слева, не затемняя всё фото */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-visual::after {
    background:
        linear-gradient(
            90deg,
            rgba(8, 6, 5, 1) 0%,
            rgba(8, 6, 5, .96) 14%,
            rgba(10, 7, 6, .78) 31%,
            rgba(13, 8, 6, .48) 50%,
            rgba(16, 10, 7, .20) 72%,
            rgba(16, 10, 7, 0) 100%
        ) !important;
    filter: blur(20px) !important;
}

/* AIO_CLUB_HERO_MUSEUM_VEIL_20260711_END */

/* AIO_CLUB_HERO_FIXED_INFO_ORANGE_HOVER_20260711_START */

/* Плашка клуба: фиксируем внутреннюю композицию, чтобы блоки не прыгали */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card {
    display: grid !important;
    grid-template-rows:
        auto   /* кикер */
        auto   /* логотип */
        auto   /* название */
        auto   /* город / марки / темы */
        1fr    /* технический зазор */
        auto   /* руководитель / email */
        auto   /* кнопка */ !important;
    align-content: start !important;
    overflow: hidden !important;
}

/* Название держим компактным, без расползания */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card h1 {
    max-width: 100% !important;
    margin-bottom: 22px !important;
    font-size: clamp(27px, 2.45vw, 43px) !important;
    line-height: .98 !important;
    letter-spacing: .015em !important;
}

/* Блок город / марки / темы занимает фиксированную зону */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta {
    display: grid !important;
    gap: 10px !important;
    max-height: 132px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}

/* Строки метаданных */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
}

/* Названия полей */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row > span {
    padding-top: 6px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

/* Значения: аккуратные маленькие капсулы */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-width: 0 !important;
    max-height: 58px !important;
    overflow: hidden !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta-row em {
    max-width: 132px !important;
    min-height: 22px !important;
    padding: 6px 12px 5px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 9px !important;
    line-height: 1 !important;
}

/* Факты тоже держим в рамках */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts {
    max-height: 112px !important;
    overflow: hidden !important;
    margin-top: 0 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts div {
    min-width: 0 !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts dd {
    max-width: 180px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Кнопка сайта клуба: возвращаем оранжевую подсветку при наведении */
html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__actions a {
    transition:
        color .22s ease,
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease,
        transform .22s ease !important;
}

html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__actions a:hover {
    color: #F8F5EF !important;
    border-color: rgba(200, 87, 38, .82) !important;
    background:
        linear-gradient(135deg, rgba(169, 67, 43, .92), rgba(200, 87, 38, .78)) !important;
    box-shadow:
        0 12px 28px rgba(169, 67, 43, .22),
        inset 0 0 0 1px rgba(248, 245, 239, .16) !important;
    transform: translateY(-1px) !important;
}

/* На маленьких экранах ограничения ослабляем */
@media (max-width: 900px) {
    html body.page-club-item .aio-main #club-hero .aio-club-showcase-card {
        display: block !important;
        overflow: visible !important;
    }

    html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__meta,
    html body.page-club-item .aio-main #club-hero .aio-club-showcase-card__facts {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* AIO_CLUB_HERO_FIXED_INFO_ORANGE_HOVER_20260711_END */


/* Сохранённое правило старой клубной карточной системы */
html body.page-club-item .aio-main .aio-club-profile-main,
html body.page-club-item .aio-main .aio-club-profile-about,
html body.page-club-item .aio-main .aio-club-profile-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* AIO_CLUB_ABOUT_FIXED_GRID_20260711_START */

html body.page-club-item .aio-main .aio-club-about-fixed {
    display: block !important;
    background:
        radial-gradient(circle at 0% 48%, rgba(242,227,207,.50), transparent 36%),
        linear-gradient(90deg, #F8F5EF 0%, #F8F5EF 45%, #F6EFE4 100%) !important;
    padding: 88px 0 96px !important;
    border-top: 1px solid rgba(7,45,91,.07) !important;
    border-bottom: 1px solid rgba(7,45,91,.06) !important;
}

/* Общая сетка сайта: левый край как у остальных блоков */
html body.page-club-item .aio-main .aio-club-about-fixed .aio-container {
    width: calc(100% - 276px) !important;
    max-width: 1520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__grid {
    display: grid !important;
    grid-template-columns: 420px minmax(0, 720px) !important;
    column-gap: 150px !important;
    align-items: end !important;
    min-height: 440px !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__left {
    align-self: end !important;
    justify-self: start !important;
    width: 420px !important;
    max-width: 420px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Эталонный кикер */
html body.page-club-item .aio-main .aio-club-about-fixed__kicker {
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
    opacity: 1 !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__left h2,
html body.page-club-item .aio-main .aio-club-about-fixed__left h2 * {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 420px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 2.5vw, 43px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -.018em !important;
    color: #151515 !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__left > span {
    display: block !important;
    width: 86px !important;
    height: 1px !important;
    margin: 28px 0 0 0 !important;
    padding: 0 !important;
    background: #A9432B !important;
    opacity: .72 !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__right {
    align-self: start !important;
    justify-self: start !important;
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    letter-spacing: -.01em !important;
    color: rgba(45,45,45,.76) !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__right p,
html body.page-club-item .aio-main .aio-club-about-fixed__right div,
html body.page-club-item .aio-main .aio-club-about-fixed__right span {
    font: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__right p {
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__right p:last-child {
    margin-bottom: 0 !important;
}

/* Если в админке plain text с переносами, а не HTML-параграфы */
html body.page-club-item .aio-main .aio-club-about-fixed__right br {
    display: block !important;
    content: "" !important;
    margin: 0 0 14px 0 !important;
}

@media (max-width: 1200px) {
    html body.page-club-item .aio-main .aio-club-about-fixed .aio-container {
        width: calc(100% - 80px) !important;
    }

    html body.page-club-item .aio-main .aio-club-about-fixed__grid {
        grid-template-columns: 380px minmax(0, 1fr) !important;
        column-gap: 90px !important;
    }

    html body.page-club-item .aio-main .aio-club-about-fixed__left,
    html body.page-club-item .aio-main .aio-club-about-fixed__left h2 {
        width: 380px !important;
        max-width: 380px !important;
    }
}

@media (max-width: 860px) {
    html body.page-club-item .aio-main .aio-club-about-fixed {
        padding: 58px 0 64px !important;
    }

    html body.page-club-item .aio-main .aio-club-about-fixed .aio-container {
        width: calc(100% - 36px) !important;
    }

    html body.page-club-item .aio-main .aio-club-about-fixed__grid {
        grid-template-columns: 1fr !important;
        row-gap: 34px !important;
        min-height: 0 !important;
        align-items: start !important;
    }

    html body.page-club-item .aio-main .aio-club-about-fixed__left,
    html body.page-club-item .aio-main .aio-club-about-fixed__left h2 {
        width: 100% !important;
        max-width: 100% !important;
    }

    html body.page-club-item .aio-main .aio-club-about-fixed__left h2 {
        font-size: 32px !important;
    }

    html body.page-club-item .aio-main .aio-club-about-fixed__right {
        max-width: 100% !important;
        font-size: 15px !important;
    }
}

/* AIO_CLUB_ABOUT_FIXED_GRID_20260711_END */

/* AIO_CLUB_ABOUT_RIGHT_TEXT_COMPACT_20260711_START */

html body.page-club-item .aio-main .aio-club-about-fixed__right {
    font-size: 14px !important;
    line-height: 1.52 !important;
    letter-spacing: -.012em !important;
    max-width: 700px !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__right p {
    margin: 0 0 18px 0 !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__right p:last-child {
    margin-bottom: 0 !important;
}

html body.page-club-item .aio-main .aio-club-about-fixed__grid {
    column-gap: 135px !important;
}

@media (max-width: 860px) {
    html body.page-club-item .aio-main .aio-club-about-fixed__right {
        font-size: 14px !important;
        line-height: 1.54 !important;
        max-width: 100% !important;
    }
}

/* AIO_CLUB_ABOUT_RIGHT_TEXT_COMPACT_20260711_END */


/* AIO_CLUB_ABOUT_EVENTS_GRADIENT_20260711_START */

/* Верхняя навигация вкладок остаётся светлой, как отдельная белая полка */
html body.page-club-item .aio-main .aio-club-showcase-tabs {
    background:
        linear-gradient(180deg, #FBF8F1 0%, #F8F5EF 100%) !important;
    border-top: 1px solid rgba(45,45,45,.08) !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
}

/* Блок "О клубе": от почти белого верха к тёплой музейной подложке */
html body.page-club-item .aio-main .aio-club-about-fixed {
    background:
        radial-gradient(circle at 12% 22%, rgba(255,255,255,.88) 0%, rgba(255,255,255,0) 34%),
        radial-gradient(circle at 82% 78%, rgba(242,227,207,.72) 0%, rgba(242,227,207,0) 38%),
        linear-gradient(180deg, #FBF9F3 0%, #F8F5EF 48%, #F4E8D7 100%) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* События продолжают ту же подложку: без резкого шва после "О клубе" */
html body.page-club-item .aio-main .aio-club-calendar-redesign,
html body.page-club-item .aio-main .aio-calendar-redesign.aio-club-calendar-redesign {
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 34%),
        radial-gradient(circle at 72% 86%, rgba(232,207,177,.58) 0%, rgba(232,207,177,0) 42%),
        linear-gradient(180deg, #F4E8D7 0%, #F2E3CF 58%, #EFE0CB 100%) !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(45,45,45,.08) !important;
}

/* Убираем визуальный разрыв между "О клубе" и "События клуба" */
html body.page-club-item .aio-main .aio-club-about-fixed + .aio-club-calendar-redesign,
html body.page-club-item .aio-main .aio-club-about-fixed + .aio-calendar-redesign.aio-club-calendar-redesign {
    margin-top: 0 !important;
}

/* Чтобы секция событий не выглядела отдельной карточкой, а лежала на общей музейной подложке */
html body.page-club-item .aio-main .aio-club-calendar-redesign .aio-container {
    position: relative !important;
    z-index: 1 !important;
}

/* AIO_CLUB_ABOUT_EVENTS_GRADIENT_20260711_END */

/* AIO_CLUB_ABOUT_EVENTS_ONE_SHEET_20260711_START */

/*
   Один общий светлый музейный лист:
   табы -> О клубе -> События клуба.
   Карточки событий не трогаем.
*/

/* Табы — верхняя светлая полка перед общим листом */
html body.page-club-item .aio-main .aio-club-showcase-tabs {
    background: #FBF9F3 !important;
    border-top: 1px solid rgba(45,45,45,.07) !important;
    border-bottom: 1px solid rgba(45,45,45,.08) !important;
}

/* "О клубе" становится верхней частью единой подложки */
html body.page-club-item .aio-main .aio-club-about-fixed {
    position: relative !important;
    isolation: isolate !important;
    overflow: visible !important;
    background: transparent !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Сам общий градиентный лист рисуем из блока "О клубе" и протягиваем ниже, на события */
html body.page-club-item .aio-main .aio-club-about-fixed::before {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    /*
       Высота специально больше самого "О клубе",
       чтобы фон продолжился под следующий блок "События клуба".
    */
    height: calc(100% + 620px) !important;

    background:
        radial-gradient(circle at 12% 16%, rgba(255,255,255,.86) 0%, rgba(255,255,255,0) 34%),
        radial-gradient(circle at 72% 66%, rgba(232,207,177,.50) 0%, rgba(232,207,177,0) 44%),
        linear-gradient(180deg,
            #FBF9F3 0%,
            #F8F5EF 42%,
            #F4E8D7 74%,
            #F2E3CF 100%
        ) !important;
}

/* События клуба больше не имеют своей отдельной подложки */
html body.page-club-item .aio-main .aio-club-calendar-redesign,
html body.page-club-item .aio-main .aio-calendar-redesign.aio-club-calendar-redesign {
    position: relative !important;
    background: transparent !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(45,45,45,.08) !important;
    margin-top: 0 !important;
}

/* Убираем возможную полоску/разницу цвета на стыке */
html body.page-club-item .aio-main .aio-club-about-fixed + .aio-club-calendar-redesign,
html body.page-club-item .aio-main .aio-club-about-fixed + .aio-calendar-redesign.aio-club-calendar-redesign {
    margin-top: 0 !important;
    padding-top: clamp(58px, 6vw, 86px) !important;
}

/* Внутренности двух секций держим поверх общего листа */
html body.page-club-item .aio-main .aio-club-about-fixed .aio-container,
html body.page-club-item .aio-main .aio-club-calendar-redesign .aio-container,
html body.page-club-item .aio-main .aio-calendar-redesign.aio-club-calendar-redesign .aio-container {
    position: relative !important;
    z-index: 1 !important;
}

/* Следующий блок, участники, уже отдельная секция со своей будущей подложкой */
html body.page-club-item .aio-main .aio-club-profile-members {
    position: relative !important;
    z-index: 2 !important;
    background: #F8F5EF !important;
    border-top: 1px solid rgba(45,45,45,.08) !important;
}

/* AIO_CLUB_ABOUT_EVENTS_ONE_SHEET_20260711_END */


/* AIO_PEOPLE_CARDS_POLISH_20260711_START */

/*
   Карточки "Люди" — общий музейный стиль.
   Cormorant для имени, Montserrat для служебных подписей.
   Не меняем данные, только визуал.
*/

html body .aio-main .aio-people-grid,
html body .aio-main .aio-person-grid,
html body .aio-main .aio-club-profile-members-grid_catalog {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

/* Если рядом есть фильтр, сетка естественно ужимается до 3 колонок */
html body .aio-main .aio-people-layout .aio-people-grid,
html body .aio-main .aio-people-layout .aio-person-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Карточка */
html body .aio-main .aio-person-card,
html body .aio-main .aio-club-profile-member-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.70), rgba(248,245,239,.96)),
        #F8F5EF !important;
    border: 1px solid rgba(169,67,43,.18) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 44px rgba(7,45,91,.08) !important;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        background .25s ease !important;
}

html body .aio-main .aio-person-card:hover,
html body .aio-main .aio-club-profile-member-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(169,67,43,.34) !important;
    box-shadow: 0 24px 54px rgba(7,45,91,.12) !important;
}

/* Выделенная карточка — руководитель/клубная отметка */
html body .aio-main .aio-club-profile-member-card_leader,
html body .aio-main .aio-person-card.is-featured,
html body .aio-main .aio-person-card.is-club-featured {
    background:
        linear-gradient(180deg, rgba(255,255,255,.56), rgba(242,227,207,.92)),
        #F2E3CF !important;
    border-color: rgba(169,67,43,.38) !important;
}

html body .aio-main .aio-club-profile-member-card_leader::before,
html body .aio-main .aio-person-card.is-featured::before,
html body .aio-main .aio-person-card.is-club-featured::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 3px !important;
    height: 100% !important;
    background: #A9432B !important;
    opacity: .85 !important;
    z-index: 2 !important;
}

/* Фото */
html body .aio-main .aio-person-card__photo,
html body .aio-main .aio-club-profile-member-card__photo,
html body .aio-main .aio-club-profile-member-card .aio-person-card__photo {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background:
        linear-gradient(135deg, #111418, #2A1815) !important;
    border-radius: 0 !important;
}

html body .aio-main .aio-person-card__photo img,
html body .aio-main .aio-club-profile-member-card__photo img,
html body .aio-main .aio-club-profile-member-card .aio-person-card__photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: sepia(.10) saturate(.88) contrast(.98) brightness(.94) !important;
    transition: transform .35s ease, filter .35s ease !important;
}

html body .aio-main .aio-person-card:hover .aio-person-card__photo img,
html body .aio-main .aio-club-profile-member-card:hover .aio-person-card__photo img,
html body .aio-main .aio-club-profile-member-card:hover .aio-club-profile-member-card__photo img {
    transform: scale(1.035) !important;
    filter: sepia(.06) saturate(.94) contrast(1) brightness(.98) !important;
}

html body .aio-main .aio-person-card__photo::after,
html body .aio-main .aio-club-profile-member-card__photo::after,
html body .aio-main .aio-club-profile-member-card .aio-person-card__photo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(7,45,91,.10), rgba(45,18,12,.18)),
        radial-gradient(circle at 50% 25%, rgba(248,245,239,.10), rgba(248,245,239,0) 42%) !important;
    z-index: 1 !important;
}

/* Заглушка без фото */
html body .aio-main .aio-person-card__photo span,
html body .aio-main .aio-club-profile-member-card__photo span {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(248,245,239,.78) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 5vw, 76px) !important;
    font-weight: 400 !important;
}

/* Тело карточки */
html body .aio-main .aio-person-card__body,
html body .aio-main .aio-club-profile-member-card__body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 22px 24px 24px !important;
}

/* Роль / город */
html body .aio-main .aio-person-card__role,
html body .aio-main .aio-club-profile-member-card .aio-person-card__role {
    margin: 0 0 8px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

html body .aio-main .aio-person-card__role span {
    color: #A9432B !important;
}

/* Имя */
html body .aio-main .aio-person-card h3,
html body .aio-main .aio-person-card h3 a,
html body .aio-main .aio-club-profile-member-card h3,
html body .aio-main .aio-club-profile-member-card h3 a {
    margin: 0 !important;
    color: #072D5B !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(29px, 2.05vw, 38px) !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    letter-spacing: -.015em !important;
    text-decoration: none !important;
}

html body .aio-main .aio-person-card h3 a:hover,
html body .aio-main .aio-club-profile-member-card h3 a:hover {
    color: #A9432B !important;
}

/* Краткое описание */
html body .aio-main .aio-person-card__excerpt,
html body .aio-main .aio-club-profile-member-card .aio-person-card__excerpt {
    margin: 14px 0 0 !important;
    color: rgba(45,45,45,.74) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13.2px !important;
    line-height: 1.48 !important;
    font-weight: 400 !important;
}

/* Теги */
html body .aio-main .aio-person-card__tags,
html body .aio-main .aio-club-profile-member-card .aio-person-card__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 20px 0 0 !important;
}

html body .aio-main .aio-person-card__tags span,
html body .aio-main .aio-club-profile-member-card .aio-person-card__tags span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.56) !important;
    border: 1px solid rgba(45,45,45,.12) !important;
    color: rgba(45,45,45,.58) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

/* Ссылка */
html body .aio-main .aio-person-card__link,
html body .aio-main .aio-club-profile-member-card .aio-person-card__link {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: auto !important;
    padding-top: 24px !important;
    color: #A9432B !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

html body .aio-main .aio-person-card__link:hover,
html body .aio-main .aio-club-profile-member-card .aio-person-card__link:hover {
    color: #072D5B !important;
}

/* Фильтр слева — чтобы не спорил с карточками */
html body .aio-main .aio-people-filter,
html body .aio-main .aio-filter-panel {
    background:
        linear-gradient(180deg, rgba(255,255,255,.74), rgba(248,245,239,.96)),
        #F8F5EF !important;
    border: 1px solid rgba(45,45,45,.10) !important;
    box-shadow: 0 18px 44px rgba(7,45,91,.07) !important;
}

/* Адаптив */
@media (max-width: 1180px) {
    html body .aio-main .aio-people-grid,
    html body .aio-main .aio-person-grid,
    html body .aio-main .aio-club-profile-members-grid_catalog,
    html body .aio-main .aio-people-layout .aio-people-grid,
    html body .aio-main .aio-people-layout .aio-person-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 860px) {
    html body .aio-main .aio-people-grid,
    html body .aio-main .aio-person-grid,
    html body .aio-main .aio-club-profile-members-grid_catalog,
    html body .aio-main .aio-people-layout .aio-people-grid,
    html body .aio-main .aio-people-layout .aio-person-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    html body .aio-main .aio-person-card__body,
    html body .aio-main .aio-club-profile-member-card__body {
        padding: 18px !important;
    }
}

@media (max-width: 560px) {
    html body .aio-main .aio-people-grid,
    html body .aio-main .aio-person-grid,
    html body .aio-main .aio-club-profile-members-grid_catalog,
    html body .aio-main .aio-people-layout .aio-people-grid,
    html body .aio-main .aio-people-layout .aio-person-grid {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_PEOPLE_CARDS_POLISH_20260711_END */

/* AIO_PEOPLE_CARDS_COMPACT_4_20260711_START */

/*
   Компактная правка карточек людей:
   — 4 карточки в ряд;
   — карточки шире и ниже;
   — фото ниже;
   — описание и теги не растягивают карточку;
   — общий стиль не меняем.
*/

html body .aio-main .aio-people-grid,
html body .aio-main .aio-person-grid,
html body .aio-main .aio-club-profile-members-grid_catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

/* На странице с фильтром тоже стараемся держать 4 компактные карточки */
html body .aio-main .aio-people-layout {
    grid-template-columns: minmax(245px, 275px) minmax(0, 1fr) !important;
    gap: 34px !important;
}

html body .aio-main .aio-people-layout .aio-people-grid,
html body .aio-main .aio-people-layout .aio-person-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

/* Карточка ниже и плотнее */
html body .aio-main .aio-person-card,
html body .aio-main .aio-club-profile-member-card {
    min-height: 0 !important;
    height: auto !important;
}

/* Фото делаем ниже: карточка становится шире визуально и компактнее по высоте */
html body .aio-main .aio-person-card__photo,
html body .aio-main .aio-club-profile-member-card__photo,
html body .aio-main .aio-club-profile-member-card .aio-person-card__photo {
    aspect-ratio: 16 / 10 !important;
}

/* Тело карточки компактнее */
html body .aio-main .aio-person-card__body,
html body .aio-main .aio-club-profile-member-card__body {
    padding: 18px 20px 20px !important;
}

/* Роль / город */
html body .aio-main .aio-person-card__role,
html body .aio-main .aio-club-profile-member-card .aio-person-card__role {
    margin-bottom: 7px !important;
    font-size: 9.5px !important;
    letter-spacing: .14em !important;
}

/* Имя чуть компактнее, чтобы карточки не раздувались */
html body .aio-main .aio-person-card h3,
html body .aio-main .aio-person-card h3 a,
html body .aio-main .aio-club-profile-member-card h3,
html body .aio-main .aio-club-profile-member-card h3 a {
    font-size: clamp(25px, 1.62vw, 31px) !important;
    line-height: 1 !important;
}

/* Описание ограничиваем двумя строками */
html body .aio-main .aio-person-card__excerpt,
html body .aio-main .aio-club-profile-member-card .aio-person-card__excerpt {
    margin-top: 10px !important;
    font-size: 12.6px !important;
    line-height: 1.42 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Теги не должны растягивать карточку */
html body .aio-main .aio-person-card__tags,
html body .aio-main .aio-club-profile-member-card .aio-person-card__tags {
    margin-top: 14px !important;
    gap: 6px !important;
    max-height: 56px !important;
    overflow: hidden !important;
}

html body .aio-main .aio-person-card__tags span,
html body .aio-main .aio-club-profile-member-card .aio-person-card__tags span {
    min-height: 21px !important;
    padding: 0 8px !important;
    font-size: 8px !important;
}

/* Ссылка ближе к низу, но без лишнего воздуха */
html body .aio-main .aio-person-card__link,
html body .aio-main .aio-club-profile-member-card .aio-person-card__link {
    padding-top: 16px !important;
    font-size: 9.5px !important;
}

/* Для блока участников клуба — ровный компактный вид */
html body .aio-main .aio-club-profile-members {
    padding-top: 62px !important;
    padding-bottom: 72px !important;
}

html body .aio-main .aio-club-profile-members-grid_catalog {
    max-width: none !important;
}

/* Адаптив */
@media (max-width: 1320px) {
    html body .aio-main .aio-people-layout .aio-people-grid,
    html body .aio-main .aio-people-layout .aio-person-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1120px) {
    html body .aio-main .aio-people-grid,
    html body .aio-main .aio-person-grid,
    html body .aio-main .aio-club-profile-members-grid_catalog {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 860px) {
    html body .aio-main .aio-people-layout {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main .aio-people-grid,
    html body .aio-main .aio-person-grid,
    html body .aio-main .aio-club-profile-members-grid_catalog,
    html body .aio-main .aio-people-layout .aio-people-grid,
    html body .aio-main .aio-people-layout .aio-person-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    html body .aio-main .aio-people-grid,
    html body .aio-main .aio-person-grid,
    html body .aio-main .aio-club-profile-members-grid_catalog,
    html body .aio-main .aio-people-layout .aio-people-grid,
    html body .aio-main .aio-people-layout .aio-person-grid {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_PEOPLE_CARDS_COMPACT_4_20260711_END */

/* AIO_CLUB_MEMBERS_KICKER_CANONICAL_20260711_START */

/*
   Кикер блока "Участники клуба" приводим к общему стандарту сайта.
   Не трогаем карточки, сетку и фотографии.
*/

html body.page-club-item .aio-main .aio-club-profile-members .aio-kicker,
html body.page-club-item .aio-main .aio-club-profile-members-head .aio-kicker,
html body.page-club-item .aio-main .aio-club-profile-members-head .aio-events-kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
    opacity: 1 !important;
}

/* AIO_CLUB_MEMBERS_KICKER_CANONICAL_20260711_END */

/* AIO_CLUB_PUBLICATIONS_LIKE_MEMBER_20260711_START */
html body.page-club-item .aio-main .aio-club-publications-strip {
    background:
        radial-gradient(circle at 16% 10%, rgba(255,255,255,.72), transparent 34%),
        radial-gradient(circle at 78% 78%, rgba(200,87,38,.10), transparent 42%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 62%, #F2E3CF 100%) !important;
    padding-top: 72px !important;
    padding-bottom: 78px !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__head {
    margin-bottom: 30px !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__head .aio-kicker,
html body.page-club-item .aio-main .aio-club-publications-strip__all {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__head .aio-kicker {
    color: #A9432B !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__all {
    color: #072D5B !important;
    text-decoration: none !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__all::after {
    content: " +" !important;
    color: #A9432B !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

html body.page-club-item .aio-main .aio-club-publication-card,
html body.page-club-item .aio-main .aio-blog-museum-card.aio-club-publication-card {
    height: 100% !important;
}

@media (max-width: 980px) {
    html body.page-club-item .aio-main .aio-club-publications-strip__grid {
        grid-template-columns: 1fr !important;
    }
}
/* AIO_CLUB_PUBLICATIONS_LIKE_MEMBER_20260711_END */

/* AIO_CLUB_POSTS_LAYOUT_FIX_20260711_START */
html body.page-club-item .aio-main .aio-club-publications-strip,
html body.page-club-item .aio-main #posts.aio-club-publications-strip {
    position: relative !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 14% 8%, rgba(255,255,255,.78), transparent 34%),
        radial-gradient(circle at 86% 70%, rgba(169,67,43,.10), transparent 42%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 54%, #F2E3CF 100%) !important;
    padding: 76px 0 86px !important;
    margin: 0 !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip .aio-container {
    max-width: 1280px !important;
    width: min(1280px, calc(100% - 96px)) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__head,
html body.page-club-item .aio-main .aio-member-publications-strip__head.aio-club-publications-strip__head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 32px !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__head .aio-kicker,
html body.page-club-item .aio-main .aio-club-publications-strip__head .aio-kicker_dark {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__all,
html body.page-club-item .aio-main .aio-member-publications-strip__all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 24px !important;
    border: 1px solid rgba(7,45,91,.20) !important;
    background: rgba(248,245,239,.44) !important;
    text-decoration: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    white-space: nowrap !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__all:hover,
html body.page-club-item .aio-main .aio-member-publications-strip__all:hover {
    border-color: rgba(169,67,43,.42) !important;
    color: #A9432B !important;
    transform: translateY(-1px) !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__grid,
html body.page-club-item .aio-main .aio-member-publications-strip__grid.aio-club-publications-strip__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-club-item .aio-main .aio-club-publication-card,
html body.page-club-item .aio-main .aio-blog-museum-card.aio-club-publication-card,
html body.page-club-item .aio-main .aio-member-publication-card.aio-club-publication-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 430px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: rgba(248,245,239,.86) !important;
    border: 1px solid rgba(169,67,43,.18) !important;
    border-radius: 0 !important;
    box-shadow: 0 24px 54px rgba(7,45,91,.07) !important;
}

html body.page-club-item .aio-main .aio-club-publication-card__image,
html body.page-club-item .aio-main .aio-member-publication-card__image,
html body.page-club-item .aio-main .aio-blog-museum-card__image.aio-member-publication-card__image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    overflow: hidden !important;
    background: #141414 !important;
    text-decoration: none !important;
}

html body.page-club-item .aio-main .aio-club-publication-card__image::after,
html body.page-club-item .aio-main .aio-member-publication-card__image::after,
html body.page-club-item .aio-main .aio-blog-museum-card__image.aio-member-publication-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(10,10,10,.04), rgba(10,10,10,.20)),
        rgba(242,227,207,.10) !important;
    pointer-events: none !important;
}

html body.page-club-item .aio-main .aio-club-publication-card__image img,
html body.page-club-item .aio-main .aio-member-publication-card__image img,
html body.page-club-item .aio-main .aio-blog-museum-card__image.aio-member-publication-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.72) contrast(.95) brightness(.88) sepia(.08) !important;
    transform: scale(1.01) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

html body.page-club-item .aio-main .aio-club-publication-card:hover img,
html body.page-club-item .aio-main .aio-member-publication-card:hover img,
html body.page-club-item .aio-main .aio-blog-museum-card:hover img {
    transform: scale(1.045) !important;
    filter: saturate(.84) contrast(.98) brightness(.92) sepia(.05) !important;
}

html body.page-club-item .aio-main .aio-club-publication-card__image > span,
html body.page-club-item .aio-main .aio-member-publication-card__image > span,
html body.page-club-item .aio-main .aio-blog-museum-card__image.aio-member-publication-card__image > span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 54px !important;
    line-height: .9 !important;
    color: rgba(248,245,239,.28) !important;
    z-index: 1 !important;
}

html body.page-club-item .aio-main .aio-club-publication-card__body,
html body.page-club-item .aio-main .aio-member-publication-card__body,
html body.page-club-item .aio-main .aio-blog-museum-card__body.aio-member-publication-card__body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 240px !important;
    padding: 24px 26px 26px !important;
    background: rgba(248,245,239,.88) !important;
}

html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__type,
html body.page-club-item .aio-main .aio-member-publication-card .aio-blog-museum-card__type {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

html body.page-club-item .aio-main .aio-club-publication-card h3,
html body.page-club-item .aio-main .aio-club-publication-card h3 a,
html body.page-club-item .aio-main .aio-member-publication-card h3,
html body.page-club-item .aio-main .aio-member-publication-card h3 a,
html body.page-club-item .aio-main .aio-blog-museum-card h3,
html body.page-club-item .aio-main .aio-blog-museum-card h3 a {
    margin: 0 !important;
    font-family: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.15vw, 38px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: .01em !important;
    color: #072D5B !important;
    text-decoration: none !important;
}

html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__meta,
html body.page-club-item .aio-main .aio-member-publication-card .aio-blog-museum-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 18px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.56) !important;
}

html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__link,
html body.page-club-item .aio-main .aio-member-publication-card .aio-blog-museum-card__link {
    margin-top: auto !important;
    padding-top: 26px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__link::after,
html body.page-club-item .aio-main .aio-member-publication-card .aio-blog-museum-card__link::after {
    content: " +" !important;
}

@media (max-width: 1080px) {
    html body.page-club-item .aio-main .aio-club-publications-strip .aio-container {
        width: min(100% - 44px, 1280px) !important;
    }

    html body.page-club-item .aio-main .aio-club-publications-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    html body.page-club-item .aio-main .aio-club-publications-strip {
        padding: 48px 0 56px !important;
    }

    html body.page-club-item .aio-main .aio-club-publications-strip__head {
        display: block !important;
    }

    html body.page-club-item .aio-main .aio-club-publications-strip__all {
        margin-top: 18px !important;
    }

    html body.page-club-item .aio-main .aio-club-publications-strip__grid {
        grid-template-columns: 1fr !important;
    }
}
/* AIO_CLUB_POSTS_LAYOUT_FIX_20260711_END */

/* AIO_CLUB_SECTIONS_UNIFY_20260711_START */

/* общий спокойный фон для нижних клубных блоков */
html body.page-club-item .aio-main .aio-club-profile-members,
html body.page-club-item .aio-main .aio-club-publications-strip,
html body.page-club-item .aio-main #members,
html body.page-club-item .aio-main #posts {
    background:
        radial-gradient(circle at 12% 8%, rgba(255,255,255,.78), transparent 34%),
        radial-gradient(circle at 90% 72%, rgba(169,67,43,.07), transparent 42%),
        linear-gradient(180deg, #F8F5EF 0%, #F7F1E8 52%, #F4E8D8 100%) !important;
}

/* единая сетка/ширина секций */
html body.page-club-item .aio-main .aio-club-profile-members .aio-container,
html body.page-club-item .aio-main .aio-club-publications-strip .aio-container,
html body.page-club-item .aio-main [class*="aio-club-events"] .aio-container {
    width: min(1280px, calc(100% - 96px)) !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* единые шапки блоков: события / участники / публикации */
html body.page-club-item .aio-main [class*="club-events"] .aio-section-head,
html body.page-club-item .aio-main [class*="club-events"] [class*="__head"],
html body.page-club-item .aio-main .aio-club-profile-members-head,
html body.page-club-item .aio-main .aio-club-publications-strip__head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 32px !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
}

/* все кикеры в клубных блоках — единый утверждённый вид */
html body.page-club-item .aio-main [class*="club-events"] .aio-events-kicker,
html body.page-club-item .aio-main [class*="club-events"] .aio-kicker,
html body.page-club-item .aio-main .aio-club-profile-members .aio-kicker,
html body.page-club-item .aio-main .aio-club-profile-members .aio-events-kicker,
html body.page-club-item .aio-main .aio-club-publications-strip .aio-kicker,
html body.page-club-item .aio-main .aio-club-publications-strip .aio-events-kicker {
    margin: 0 0 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* единый вид ссылок справа: все события / все участники / все публикации */
html body.page-club-item .aio-main [class*="club-events"] .aio-link-arrow,
html body.page-club-item .aio-main [class*="club-events"] [class*="__all"],
html body.page-club-item .aio-main .aio-club-profile-members-head .aio-link-arrow,
html body.page-club-item .aio-main .aio-club-publications-strip__all,
html body.page-club-item .aio-main .aio-member-publications-strip__all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 20px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(248,245,239,.36) !important;
    color: #072D5B !important;
    text-decoration: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

html body.page-club-item .aio-main [class*="club-events"] .aio-link-arrow:hover,
html body.page-club-item .aio-main [class*="club-events"] [class*="__all"]:hover,
html body.page-club-item .aio-main .aio-club-profile-members-head .aio-link-arrow:hover,
html body.page-club-item .aio-main .aio-club-publications-strip__all:hover,
html body.page-club-item .aio-main .aio-member-publications-strip__all:hover {
    border-color: rgba(169,67,43,.42) !important;
    color: #A9432B !important;
    transform: translateY(-1px) !important;
}

/* публикации — компактнее */
html body.page-club-item .aio-main .aio-club-publications-strip {
    padding-top: 66px !important;
    padding-bottom: 70px !important;
}

html body.page-club-item .aio-main .aio-club-publications-strip__grid,
html body.page-club-item .aio-main .aio-member-publications-strip__grid.aio-club-publications-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

/* сама карточка публикации — ниже и компактнее */
html body.page-club-item .aio-main .aio-club-publication-card,
html body.page-club-item .aio-main .aio-member-publication-card.aio-club-publication-card,
html body.page-club-item .aio-main .aio-blog-museum-card.aio-club-publication-card {
    min-height: 374px !important;
    height: 374px !important;
    max-height: 374px !important;
    background: rgba(248,245,239,.82) !important;
    border: 1px solid rgba(169,67,43,.16) !important;
    box-shadow: 0 20px 44px rgba(7,45,91,.055) !important;
}

/* фото публикации ниже */
html body.page-club-item .aio-main .aio-club-publication-card__image,
html body.page-club-item .aio-main .aio-member-publication-card__image,
html body.page-club-item .aio-main .aio-blog-museum-card__image.aio-member-publication-card__image {
    height: 168px !important;
    min-height: 168px !important;
}

/* тело карточки компактнее */
html body.page-club-item .aio-main .aio-club-publication-card__body,
html body.page-club-item .aio-main .aio-member-publication-card__body,
html body.page-club-item .aio-main .aio-blog-museum-card__body.aio-member-publication-card__body {
    min-height: 206px !important;
    padding: 21px 24px 22px !important;
}

/* тип публикации */
html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__type,
html body.page-club-item .aio-main .aio-member-publication-card .aio-blog-museum-card__type {
    margin-bottom: 11px !important;
}

/* название публикации — капсом, Cormorant */
html body.page-club-item .aio-main .aio-club-publication-card h3,
html body.page-club-item .aio-main .aio-club-publication-card h3 a,
html body.page-club-item .aio-main .aio-member-publication-card h3,
html body.page-club-item .aio-main .aio-member-publication-card h3 a,
html body.page-club-item .aio-main .aio-blog-museum-card h3,
html body.page-club-item .aio-main .aio-blog-museum-card h3 a {
    font-family: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 1.9vw, 34px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
}

/* мета компактнее */
html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__meta,
html body.page-club-item .aio-main .aio-member-publication-card .aio-blog-museum-card__meta {
    margin-top: 16px !important;
    font-size: 9.5px !important;
    letter-spacing: .12em !important;
}

/* ссылка читать компактнее и без лишней высоты */
html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__link,
html body.page-club-item .aio-main .aio-member-publication-card .aio-blog-museum-card__link {
    padding-top: 18px !important;
    font-size: 10px !important;
}

/* участники — чуть плотнее, чтобы визуально не выпадали после публикаций */
html body.page-club-item .aio-main .aio-club-profile-members {
    padding-top: 70px !important;
    padding-bottom: 78px !important;
}

html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog {
    gap: 24px !important;
}

/* карточки участников чуть ниже и шире визуально */
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-person-card,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-club-profile-member-card {
    min-height: 0 !important;
    box-shadow: 0 20px 44px rgba(7,45,91,.055) !important;
}

@media (max-width: 1080px) {
    html body.page-club-item .aio-main .aio-club-profile-members .aio-container,
    html body.page-club-item .aio-main .aio-club-publications-strip .aio-container,
    html body.page-club-item .aio-main [class*="aio-club-events"] .aio-container {
        width: min(100% - 44px, 1280px) !important;
    }

    html body.page-club-item .aio-main .aio-club-publications-strip__grid,
    html body.page-club-item .aio-main .aio-member-publications-strip__grid.aio-club-publications-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    html body.page-club-item .aio-main .aio-club-publications-strip__grid,
    html body.page-club-item .aio-main .aio-member-publications-strip__grid.aio-club-publications-strip__grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-club-item .aio-main .aio-club-publications-strip__head,
    html body.page-club-item .aio-main .aio-club-profile-members-head,
    html body.page-club-item .aio-main [class*="club-events"] [class*="__head"] {
        display: block !important;
    }

    html body.page-club-item .aio-main .aio-club-publications-strip__all,
    html body.page-club-item .aio-main .aio-club-profile-members-head .aio-link-arrow,
    html body.page-club-item .aio-main [class*="club-events"] [class*="__all"] {
        margin-top: 18px !important;
    }
}

/* AIO_CLUB_SECTIONS_UNIFY_20260711_END */

/* AIO_CLUB_LOWER_ALIGN_20260711_START */

/*
   Страница клуба:
   единый левый край для блоков "События", "Участники", "Публикации", "Автомобили".
   На широком экране это даёт тот же отступ, что у уже выровненного блока событий.
*/
html body.page-club-item .aio-main #events > .aio-container,
html body.page-club-item .aio-main #members > .aio-container,
html body.page-club-item .aio-main #posts > .aio-container,
html body.page-club-item .aio-main #cars > .aio-container,
html body.page-club-item .aio-main .aio-club-profile-members > .aio-container,
html body.page-club-item .aio-main .aio-club-publications-strip > .aio-container,
html body.page-club-item .aio-main .aio-club-profile-cars > .aio-container,
html body.page-club-item .aio-main .aio-club-profile-linked > .aio-container,
html body.page-club-item .aio-main .aio-calendar-redesign > .aio-container {
    width: min(1516px, calc(100% - 276px)) !important;
    max-width: 1516px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* шапки секций в одну систему */
html body.page-club-item .aio-main #events .aio-calendar-redesign__head,
html body.page-club-item .aio-main #events [class*="__head"],
html body.page-club-item .aio-main #members .aio-section-head,
html body.page-club-item .aio-main #posts .aio-section-head,
html body.page-club-item .aio-main #posts .aio-club-publications-strip__head,
html body.page-club-item .aio-main #cars .aio-section-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 32px !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
}

/* все правые кнопки-ссылки — одинаковая рамка */
html body.page-club-item .aio-main #events .aio-calendar-redesign__all,
html body.page-club-item .aio-main #events .aio-link-arrow,
html body.page-club-item .aio-main #events [class*="__all"],
html body.page-club-item .aio-main #members .aio-link-arrow,
html body.page-club-item .aio-main #posts .aio-link-arrow,
html body.page-club-item .aio-main #posts [class*="__all"],
html body.page-club-item .aio-main #cars .aio-link-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 21px !important;
    border: 1px solid rgba(7,45,91,.20) !important;
    background: rgba(248,245,239,.34) !important;
    color: #072D5B !important;
    text-decoration: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

html body.page-club-item .aio-main #events .aio-calendar-redesign__all::after,
html body.page-club-item .aio-main #events .aio-link-arrow::after,
html body.page-club-item .aio-main #events [class*="__all"]::after,
html body.page-club-item .aio-main #members .aio-link-arrow::after,
html body.page-club-item .aio-main #posts .aio-link-arrow::after,
html body.page-club-item .aio-main #posts [class*="__all"]::after,
html body.page-club-item .aio-main #cars .aio-link-arrow::after {
    content: " +" !important;
    color: #A9432B !important;
}

html body.page-club-item .aio-main #events .aio-calendar-redesign__all:hover,
html body.page-club-item .aio-main #events .aio-link-arrow:hover,
html body.page-club-item .aio-main #events [class*="__all"]:hover,
html body.page-club-item .aio-main #members .aio-link-arrow:hover,
html body.page-club-item .aio-main #posts .aio-link-arrow:hover,
html body.page-club-item .aio-main #posts [class*="__all"]:hover,
html body.page-club-item .aio-main #cars .aio-link-arrow:hover {
    color: #A9432B !important;
    border-color: rgba(169,67,43,.46) !important;
    background: rgba(248,245,239,.58) !important;
}

/* кикеры — строго единый сайтовый вид */
html body.page-club-item .aio-main #events .aio-events-kicker,
html body.page-club-item .aio-main #events .aio-kicker,
html body.page-club-item .aio-main #events .aio-calendar-redesign__kicker,
html body.page-club-item .aio-main #members .aio-kicker,
html body.page-club-item .aio-main #members .aio-events-kicker,
html body.page-club-item .aio-main #posts .aio-kicker,
html body.page-club-item .aio-main #posts .aio-events-kicker,
html body.page-club-item .aio-main #cars .aio-kicker,
html body.page-club-item .aio-main #cars .aio-events-kicker {
    margin: 0 0 16px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* события: не растягивать одинокую карточку, но сохранить эталон главной */


/* карточки событий чуть компактнее только в пределах клубной страницы */


/* публикации: меньше карточки и меньше пустоты */
html body.page-club-item .aio-main #posts .aio-club-publications-strip,
html body.page-club-item .aio-main .aio-club-publications-strip {
    padding-top: 64px !important;
    padding-bottom: 68px !important;
}

html body.page-club-item .aio-main #posts .aio-club-publications-strip__grid,
html body.page-club-item .aio-main #posts .aio-member-publications-strip__grid,
html body.page-club-item .aio-main .aio-club-publications-strip__grid,
html body.page-club-item .aio-main .aio-member-publications-strip__grid.aio-club-publications-strip__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px !important;
    max-width: 1240px !important;
}

/* карточка публикации компактнее */
html body.page-club-item .aio-main #posts .aio-club-publication-card,
html body.page-club-item .aio-main #posts .aio-member-publication-card,
html body.page-club-item .aio-main #posts .aio-blog-museum-card {
    height: 348px !important;
    min-height: 348px !important;
    max-height: 348px !important;
}

html body.page-club-item .aio-main #posts .aio-club-publication-card__image,
html body.page-club-item .aio-main #posts .aio-member-publication-card__image,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__image {
    height: 152px !important;
    min-height: 152px !important;
}

html body.page-club-item .aio-main #posts .aio-club-publication-card__body,
html body.page-club-item .aio-main #posts .aio-member-publication-card__body,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__body {
    min-height: 196px !important;
    padding: 20px 24px 21px !important;
}

html body.page-club-item .aio-main #posts .aio-club-publication-card h3,
html body.page-club-item .aio-main #posts .aio-club-publication-card h3 a,
html body.page-club-item .aio-main #posts .aio-member-publication-card h3,
html body.page-club-item .aio-main #posts .aio-member-publication-card h3 a,
html body.page-club-item .aio-main #posts .aio-blog-museum-card h3,
html body.page-club-item .aio-main #posts .aio-blog-museum-card h3 a {
    font-family: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(23px, 1.65vw, 31px) !important;
    line-height: .98 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: .015em !important;
    color: #072D5B !important;
}

/* участники: тот же левый край, карточки немного компактнее */
html body.page-club-item .aio-main #members {
    padding-top: 68px !important;
    padding-bottom: 72px !important;
}

html body.page-club-item .aio-main #members .aio-club-profile-members-grid_catalog {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    max-width: 1240px !important;
}

html body.page-club-item .aio-main #members .aio-person-card,
html body.page-club-item .aio-main #members .aio-club-profile-member-card {
    min-height: 0 !important;
}

html body.page-club-item .aio-main #members .aio-person-card__photo,
html body.page-club-item .aio-main #members .aio-club-profile-member-card__photo {
    height: 210px !important;
}

html body.page-club-item .aio-main #members .aio-person-card__body,
html body.page-club-item .aio-main #members .aio-club-profile-member-card__body {
    padding: 22px 24px 24px !important;
}

html body.page-club-item .aio-main #members .aio-person-card h3,
html body.page-club-item .aio-main #members .aio-person-card h3 a,
html body.page-club-item .aio-main #members .aio-club-profile-member-card h3,
html body.page-club-item .aio-main #members .aio-club-profile-member-card h3 a {
    font-size: clamp(24px, 1.7vw, 31px) !important;
    line-height: 1.02 !important;
}

/* автомобили: тот же левый край */
html body.page-club-item .aio-main #cars {
    padding-top: 68px !important;
}

@media (max-width: 1280px) {
    html body.page-club-item .aio-main #events > .aio-container,
    html body.page-club-item .aio-main #members > .aio-container,
    html body.page-club-item .aio-main #posts > .aio-container,
    html body.page-club-item .aio-main #cars > .aio-container,
    html body.page-club-item .aio-main .aio-club-profile-members > .aio-container,
    html body.page-club-item .aio-main .aio-club-publications-strip > .aio-container,
    html body.page-club-item .aio-main .aio-club-profile-cars > .aio-container,
    html body.page-club-item .aio-main .aio-club-profile-linked > .aio-container,
    html body.page-club-item .aio-main .aio-calendar-redesign > .aio-container {
        width: min(100% - 88px, 1240px) !important;
    }
}

@media (max-width: 980px) {
    html body.page-club-item .aio-main #events .aio-calendar-redesign__grid,
    html body.page-club-item .aio-main #posts .aio-club-publications-strip__grid,
    html body.page-club-item .aio-main #posts .aio-member-publications-strip__grid,
    html body.page-club-item .aio-main #members .aio-club-profile-members-grid_catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    html body.page-club-item .aio-main #events > .aio-container,
    html body.page-club-item .aio-main #members > .aio-container,
    html body.page-club-item .aio-main #posts > .aio-container,
    html body.page-club-item .aio-main #cars > .aio-container,
    html body.page-club-item .aio-main .aio-club-profile-members > .aio-container,
    html body.page-club-item .aio-main .aio-club-publications-strip > .aio-container,
    html body.page-club-item .aio-main .aio-club-profile-cars > .aio-container,
    html body.page-club-item .aio-main .aio-club-profile-linked > .aio-container,
    html body.page-club-item .aio-main .aio-calendar-redesign > .aio-container {
        width: min(100% - 36px, 1240px) !important;
    }

    html body.page-club-item .aio-main #events .aio-calendar-redesign__grid,
    html body.page-club-item .aio-main #posts .aio-club-publications-strip__grid,
    html body.page-club-item .aio-main #posts .aio-member-publications-strip__grid,
    html body.page-club-item .aio-main #members .aio-club-profile-members-grid_catalog {
        grid-template-columns: 1fr !important;
    }

    html body.page-club-item .aio-main #events .aio-calendar-redesign__head,
    html body.page-club-item .aio-main #events [class*="__head"],
    html body.page-club-item .aio-main #members .aio-section-head,
    html body.page-club-item .aio-main #posts .aio-section-head,
    html body.page-club-item .aio-main #posts .aio-club-publications-strip__head,
    html body.page-club-item .aio-main #cars .aio-section-head {
        display: block !important;
    }

    html body.page-club-item .aio-main #events [class*="__all"],
    html body.page-club-item .aio-main #members .aio-link-arrow,
    html body.page-club-item .aio-main #posts [class*="__all"],
    html body.page-club-item .aio-main #posts .aio-link-arrow,
    html body.page-club-item .aio-main #cars .aio-link-arrow {
        margin-top: 18px !important;
    }
}

/* AIO_CLUB_LOWER_ALIGN_20260711_END */

/* AIO_CLUB_CARS_RECT_ONLY_20260711_START */

/*
   Только блок автомобилей клуба.
   Не меняем состав данных карточки.
   Делаем прямоугольные карточки, компактнее, с лёгкой бумажной винтажностью.
*/

html body.page-club-item .aio-main .aio-club-profile-cars {
    background:
        linear-gradient(180deg, #F2E3CF 0%, #F6EFE4 100%) !important;
    padding-top: 34px !important;
    padding-bottom: 54px !important;
}

html body.page-club-item .aio-main .aio-club-profile-cars > .aio-container {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

html body.page-club-item .aio-main .aio-club-cars-head {
    margin: 0 0 22px !important;
    padding: 0 !important;
    align-items: center !important;
}

html body.page-club-item .aio-main .aio-club-cars-head .aio-kicker {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .17em !important;
    color: #A9432B !important;
}

html body.page-club-item .aio-main .aio-link-arrow_disabled {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .14em !important;
    color: rgba(7,45,91,.72) !important;
    cursor: default !important;
    text-decoration: none !important;
}

html body.page-club-item .aio-main .aio-club-cars-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card {
    overflow: hidden !important;
    border-radius: 0 !important;
    background:
        linear-gradient(180deg, rgba(255,252,244,.96), rgba(242,227,207,.88)) !important;
    border: 1px solid rgba(169,67,43,.14) !important;
    box-shadow: 0 16px 38px rgba(55,38,25,.07) !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card__visual {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    border-radius: 0 !important;
    background: #EDE4D8 !important;
    overflow: hidden !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card__visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: sepia(.16) grayscale(.08) saturate(.88) contrast(1.02) brightness(.96) !important;
    transition: transform .45s ease, filter .45s ease !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card:hover .aio-club-profile-car-card__visual img {
    transform: scale(1.025) !important;
    filter: sepia(.08) grayscale(.03) saturate(.96) contrast(1.03) brightness(.98) !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card__visual span {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    background: #EDE4D8 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    line-height: 1 !important;
    color: #1F1F1F !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card__body {
    padding: 15px 16px 16px !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card__body .aio-kicker {
    margin: 0 0 9px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .16em !important;
    color: #A9432B !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card h3 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 24px !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    color: #1F1F1F !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card__body p:not(.aio-kicker) {
    margin: 0 0 11px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.42 !important;
    color: rgba(45,45,45,.66) !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card .aio-link-arrow {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .14em !important;
    color: #072D5B !important;
    text-decoration: none !important;
}

html body.page-club-item .aio-main .aio-club-profile-car-card .aio-link-arrow:hover {
    color: #A9432B !important;
}

@media (max-width: 980px) {
    html body.page-club-item .aio-main .aio-club-cars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    html body.page-club-item .aio-main .aio-club-cars-grid {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_CLUB_CARS_RECT_ONLY_20260711_END */

/* AIO_POSTS_CARS_ONE_PAPER_BG_20260711_START */

/*
   Публикации + автомобили:
   одна общая бумажная подложка на два блока,
   публикационные карточки чуть желтее и винтажнее.
*/

/* Единая подложка от публикаций до автомобилей */
html body.page-club-item .aio-main #posts,
html body.page-club-item .aio-main #cars,
html body.page-club-item .aio-main .aio-club-publications-strip,
html body.page-club-item .aio-main .aio-club-profile-cars {
    background:
        radial-gradient(circle at 14% 6%, rgba(255,255,255,.54), transparent 34%),
        radial-gradient(circle at 86% 88%, rgba(169,67,43,.075), transparent 42%),
        linear-gradient(180deg, #F5E9D7 0%, #F2E3CF 48%, #EFE0CB 100%) !important;
}

/* Убираем визуальный разрыв между публикациями и автомобилями */
html body.page-club-item .aio-main #posts,
html body.page-club-item .aio-main .aio-club-publications-strip {
    margin-bottom: 0 !important;
    padding-bottom: 48px !important;
}

html body.page-club-item .aio-main #cars,
html body.page-club-item .aio-main .aio-club-profile-cars {
    margin-top: 0 !important;
    padding-top: 22px !important;
}

/* Чтобы между секциями не появлялась белая щель от соседних правил */
html body.page-club-item .aio-main #posts + #cars,
html body.page-club-item .aio-main .aio-club-publications-strip + .aio-club-profile-cars {
    margin-top: 0 !important;
}

/* Карточки публикаций — теплее, бумажнее, без изменения структуры */
html body.page-club-item .aio-main #posts .aio-member-publication-card,
html body.page-club-item .aio-main #posts .aio-blog-museum-card,
html body.page-club-item .aio-main .aio-club-publication-card {
    background:
        linear-gradient(180deg, rgba(255,248,229,.98) 0%, rgba(246,232,204,.94) 100%) !important;
    border: 1px solid rgba(169,67,43,.16) !important;
    box-shadow:
        0 16px 38px rgba(55,38,25,.075),
        inset 0 1px 0 rgba(255,255,255,.42) !important;
}

/* Фото публикаций — мягкая винтажная плёнка */
html body.page-club-item .aio-main #posts .aio-member-publication-card__image,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__image,
html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__image {
    background: #E8D6B9 !important;
}

html body.page-club-item .aio-main #posts .aio-member-publication-card__image img,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__image img,
html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__image img {
    filter: sepia(.22) grayscale(.08) saturate(.82) contrast(1.02) brightness(.97) !important;
}

/* Тёплая вуаль поверх фото публикаций */
html body.page-club-item .aio-main #posts .aio-member-publication-card__image::before,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__image::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(255,246,221,.10), rgba(84,46,24,.16)),
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.14), transparent 46%) !important;
    mix-blend-mode: multiply !important;
}

/* Текстовая часть публикаций — тот же бумажный тон */
html body.page-club-item .aio-main #posts .aio-member-publication-card__body,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__body {
    background:
        linear-gradient(180deg, rgba(255,248,229,.98), rgba(246,232,204,.92)) !important;
}

/* Автомобили оставляем на той же подложке, но не трогаем данные карточек */
html body.page-club-item .aio-main #cars .aio-club-profile-car-card,
html body.page-club-item .aio-main #cars .aio-club-profile-linked-card {
    background:
        linear-gradient(180deg, rgba(255,248,229,.96), rgba(246,232,204,.90)) !important;
    border-color: rgba(169,67,43,.15) !important;
    box-shadow:
        0 16px 38px rgba(55,38,25,.07),
        inset 0 1px 0 rgba(255,255,255,.38) !important;
}

/* AIO_POSTS_CARS_ONE_PAPER_BG_20260711_END */

/* AIO_POSTS_CARS_CREAM_PAPER_20260711_START */

/*
   Исправление после слишком жёлтого слоя.
   Нужен не жёлтый, а тёплый кремовый музейный тон,
   ближе к карточкам общего каталога блогов.
*/

/* Общая подложка от публикаций до автомобилей — мягкая, не жёлтая */
html body.page-club-item .aio-main #posts,
html body.page-club-item .aio-main #cars,
html body.page-club-item .aio-main .aio-club-publications-strip,
html body.page-club-item .aio-main .aio-club-profile-cars {
    background:
        radial-gradient(circle at 15% 8%, rgba(255,255,255,.70), transparent 36%),
        radial-gradient(circle at 86% 74%, rgba(169,67,43,.045), transparent 44%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 48%, #F2E3CF 100%) !important;
}

/* Публикации — не жёлтые, а тёплые бумажные */
html body.page-club-item .aio-main #posts .aio-member-publication-card,
html body.page-club-item .aio-main #posts .aio-blog-museum-card,
html body.page-club-item .aio-main .aio-club-publication-card {
    background:
        linear-gradient(180deg, rgba(248,245,239,.98) 0%, rgba(246,239,228,.96) 100%) !important;
    border: 1px solid rgba(169,67,43,.13) !important;
    box-shadow:
        0 16px 38px rgba(7,45,91,.055),
        inset 0 1px 0 rgba(255,255,255,.52) !important;
}

/* Текстовая часть публикаций — кремовая, без желтизны */
html body.page-club-item .aio-main #posts .aio-member-publication-card__body,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__body,
html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__body {
    background:
        linear-gradient(180deg, rgba(248,245,239,.99) 0%, rgba(246,239,228,.96) 100%) !important;
}

/* Фото публикаций — вернуть благородную приглушённость, убрать жёлтую плёнку */
html body.page-club-item .aio-main #posts .aio-member-publication-card__image,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__image,
html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__image {
    background: #ECE4D7 !important;
}

html body.page-club-item .aio-main #posts .aio-member-publication-card__image img,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__image img,
html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__image img {
    filter: sepia(.09) grayscale(.07) saturate(.88) contrast(.98) brightness(.97) !important;
}

/* Перебиваем слишком жёлтую вуаль */
html body.page-club-item .aio-main #posts .aio-member-publication-card__image::before,
html body.page-club-item .aio-main #posts .aio-blog-museum-card__image::before,
html body.page-club-item .aio-main .aio-club-publication-card .aio-blog-museum-card__image::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.05), rgba(7,45,91,.06)),
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.10), transparent 48%) !important;
    mix-blend-mode: normal !important;
}

/* Автомобили на той же спокойной подложке, не жёлтые */
html body.page-club-item .aio-main #cars .aio-club-profile-car-card,
html body.page-club-item .aio-main #cars .aio-club-profile-linked-card {
    background:
        linear-gradient(180deg, rgba(248,245,239,.98) 0%, rgba(246,239,228,.95) 100%) !important;
    border-color: rgba(169,67,43,.13) !important;
    box-shadow:
        0 16px 38px rgba(7,45,91,.055),
        inset 0 1px 0 rgba(255,255,255,.48) !important;
}

/* Фото автомобилей — тоже без жёлтой плёнки */
html body.page-club-item .aio-main #cars .aio-club-profile-car-card__visual img {
    filter: sepia(.08) grayscale(.06) saturate(.90) contrast(.99) brightness(.97) !important;
}

/* Убираем разрыв между публикациями и автомобилями, но без грязной жёлтой заливки */
html body.page-club-item .aio-main #posts,
html body.page-club-item .aio-main .aio-club-publications-strip {
    margin-bottom: 0 !important;
    padding-bottom: 46px !important;
}

html body.page-club-item .aio-main #cars,
html body.page-club-item .aio-main .aio-club-profile-cars {
    margin-top: 0 !important;
    padding-top: 24px !important;
}

/* AIO_POSTS_CARS_CREAM_PAPER_20260711_END */

/* AIO_CLUB_MEMBERS_PAPER_LEADER_20260711_START */

/*
   Участники клуба:
   слегка бумажный тон карточек + мягкое выделение руководителя клуба.
   Логику не трогаем: работает существующий класс .aio-club-profile-member-card_leader.
*/

html body.page-club-item .aio-main #members .aio-person-card,
html body.page-club-item .aio-main #members .aio-club-profile-member-card,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-person-card,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-club-profile-member-card {
    background:
        linear-gradient(180deg, rgba(248,245,239,.98) 0%, rgba(246,239,228,.96) 100%) !important;
    border: 1px solid rgba(169,67,43,.13) !important;
    box-shadow:
        0 16px 38px rgba(7,45,91,.052),
        inset 0 1px 0 rgba(255,255,255,.50) !important;
}

/* Фото участников — чуть приглушённее, музейнее */
html body.page-club-item .aio-main #members .aio-person-card__photo,
html body.page-club-item .aio-main #members .aio-club-profile-member-card__photo {
    background: #ECE4D7 !important;
}

html body.page-club-item .aio-main #members .aio-person-card__photo img,
html body.page-club-item .aio-main #members .aio-club-profile-member-card__photo img {
    filter: sepia(.09) grayscale(.07) saturate(.90) contrast(.99) brightness(.97) !important;
}

/* Мягкая бумажная вуаль поверх фото */
html body.page-club-item .aio-main #members .aio-person-card__photo::after,
html body.page-club-item .aio-main #members .aio-club-profile-member-card__photo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.04), rgba(7,45,91,.055)),
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.10), transparent 48%) !important;
    mix-blend-mode: normal !important;
}

/* Руководитель клуба — деликатное красное музейное свечение */
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-club-profile-member-card_leader {
    position: relative !important;
    background:
        radial-gradient(circle at 18% 8%, rgba(169,67,43,.095), transparent 34%),
        linear-gradient(180deg, rgba(248,245,239,.99) 0%, rgba(246,239,228,.97) 100%) !important;
    border-color: rgba(169,67,43,.34) !important;
    box-shadow:
        0 18px 44px rgba(169,67,43,.105),
        0 12px 30px rgba(7,45,91,.045),
        inset 0 1px 0 rgba(255,255,255,.56) !important;
}

/* Тонкая красная линия слева у руководителя */
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader::before,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-club-profile-member-card_leader::before {
    content: "" !important;
    position: absolute !important;
    top: 14px !important;
    bottom: 14px !important;
    left: 0 !important;
    width: 3px !important;
    background: linear-gradient(180deg, rgba(169,67,43,.18), rgba(169,67,43,.76), rgba(169,67,43,.18)) !important;
    pointer-events: none !important;
}

/* Небольшая внутренняя подсветка у руководителя */
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader::after,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-club-profile-member-card_leader::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 80% 18%, rgba(169,67,43,.06), transparent 34%),
        linear-gradient(90deg, rgba(169,67,43,.035), transparent 28%) !important;
}

/* Плашка "Руководитель клуба" читается, но не кричит */
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader .aio-person-card__role {
    color: #A9432B !important;
}

/* Фото руководителя чуть теплее */
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader .aio-person-card__photo img,
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader .aio-club-profile-member-card__photo img {
    filter: sepia(.13) grayscale(.06) saturate(.92) contrast(1.01) brightness(.97) !important;
}

/* AIO_CLUB_MEMBERS_PAPER_LEADER_20260711_END */

/* AIO_CLUB_LEADER_FIX_NO_CIRCLE_20260711_START */

/*
   Убираем ошибочный круг/пятно на карточке руководителя.
   Оставляем только аккуратное музейное выделение.
*/

html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader::after,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-club-profile-member-card_leader::after,
html body.page-club-item .aio-main #members .aio-person-card.is-featured::after,
html body.page-club-item .aio-main #members .aio-person-card.is-club-featured::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-club-profile-member-card_leader {
    position: relative !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.99) 0%, rgba(246,239,228,.96) 100%) !important;
    border: 1px solid rgba(169,67,43,.36) !important;
    box-shadow:
        0 18px 42px rgba(169,67,43,.10),
        0 10px 26px rgba(7,45,91,.04),
        inset 0 1px 0 rgba(255,255,255,.56) !important;
}

html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader::before,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-club-profile-member-card_leader::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 3px !important;
    background: linear-gradient(180deg, rgba(169,67,43,.16), rgba(169,67,43,.72), rgba(169,67,43,.16)) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

/* Бумажность карточек участников без кругов и декоративных пятен */
html body.page-club-item .aio-main #members .aio-person-card,
html body.page-club-item .aio-main #members .aio-club-profile-member-card {
    background:
        linear-gradient(180deg, rgba(248,245,239,.98) 0%, rgba(246,239,228,.96) 100%) !important;
    border-color: rgba(169,67,43,.13) !important;
}

html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader {
    border-color: rgba(169,67,43,.36) !important;
}

/* AIO_CLUB_LEADER_FIX_NO_CIRCLE_20260711_END */

/* AIO_CLUB_LEADER_BADGE_RESTORE_20260711_START */

/*
   Возвращаем метку "Руководитель клуба" на карточку руководителя.
   Без большого круга, без декоративных пятен.
*/

/* Фото должно быть контейнером для плашки */
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader .aio-person-card__photo,
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader .aio-club-profile-member-card__photo {
    position: relative !important;
    overflow: hidden !important;
}

/* Сама плашка руководителя */
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader .aio-person-card__photo::before,
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader .aio-club-profile-member-card__photo::before {
    content: "РУКОВОДИТЕЛЬ КЛУБА" !important;
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 4 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    background: rgba(248,245,239,.94) !important;
    border: 1px solid rgba(169,67,43,.22) !important;
    box-shadow: 0 8px 18px rgba(7,45,91,.12) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #2D2D2D !important;
    white-space: nowrap !important;
}

/* Роль в текстовой части тоже не скрывать */
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader .aio-person-card__role {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #A9432B !important;
}

/* Не возвращаем ошибочный круг */
html body.page-club-item .aio-main #members .aio-club-profile-member-card_leader::after {
    content: none !important;
    display: none !important;
}

/* AIO_CLUB_LEADER_BADGE_RESTORE_20260711_END */

/* AIO_CLUB_MEMBER_LINK_ONE_ARROW_20260711_START */

/*
   У карточек участников текст ссылки уже содержит стрелку:
   "Смотреть профиль →".
   Поэтому запрещаем CSS добавлять вторую стрелку/плюс.
*/

html body.page-club-item .aio-main #members .aio-person-card__link::after,
html body.page-club-item .aio-main #members .aio-club-profile-member-card .aio-person-card__link::after,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-person-card__link::after,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-club-profile-member-card .aio-person-card__link::after {
    content: none !important;
    display: none !important;
}

html body.page-club-item .aio-main #members .aio-person-card__link,
html body.page-club-item .aio-main .aio-club-profile-members-grid_catalog .aio-person-card__link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
}

/* AIO_CLUB_MEMBER_LINK_ONE_ARROW_20260711_END */


/* AIO_CLUB_SECTION_BACKGROUNDS_20260711_START */

/*
   Страница клуба:
   разделяем подложки секций, чтобы блоки не сливались.
   Карточки, разметку и логику не трогаем.
*/

/* О клубе — светлая вводная зона */
html body.page-club-item .aio-main #about,
html body.page-club-item .aio-main .aio-club-about-fixed {
    background:
        radial-gradient(circle at 12% 8%, rgba(255,255,255,.72), transparent 34%),
        linear-gradient(180deg, #F8F5EF 0%, #F7F1E8 100%) !important;
    border-bottom: 1px solid rgba(169,67,43,.08) !important;
}

/* События клуба — отдельная тёплая подложка */
html body.page-club-item .aio-main #events,
html body.page-club-item .aio-main .aio-club-calendar-redesign {
    background:
        radial-gradient(circle at 15% 10%, rgba(255,255,255,.58), transparent 34%),
        radial-gradient(circle at 86% 72%, rgba(169,67,43,.055), transparent 42%),
        linear-gradient(180deg, #F6EFE4 0%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(169,67,43,.08) !important;
    border-bottom: 1px solid rgba(169,67,43,.10) !important;
}

/* Участники клуба — отдельная спокойная светлая зона */
html body.page-club-item .aio-main #members,
html body.page-club-item .aio-main .aio-club-profile-members {
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,.68), transparent 34%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 100%) !important;
    border-top: 1px solid rgba(255,255,255,.56) !important;
    border-bottom: 1px solid rgba(169,67,43,.08) !important;
}

/* Публикации — кремовая бумажная зона, уже не слитая с участниками */
html body.page-club-item .aio-main #posts,
html body.page-club-item .aio-main .aio-club-publications-strip {
    background:
        radial-gradient(circle at 15% 8%, rgba(255,255,255,.62), transparent 36%),
        radial-gradient(circle at 88% 78%, rgba(169,67,43,.045), transparent 44%),
        linear-gradient(180deg, #F7F1E8 0%, #F3E8D8 100%) !important;
    border-top: 1px solid rgba(169,67,43,.08) !important;
    border-bottom: 1px solid rgba(169,67,43,.10) !important;
    margin-bottom: 0 !important;
}

/* Автомобили — отдельная зона ниже публикаций, близкая по тону, но отделённая */
html body.page-club-item .aio-main #cars,
html body.page-club-item .aio-main .aio-club-profile-cars {
    background:
        radial-gradient(circle at 12% 8%, rgba(255,255,255,.54), transparent 34%),
        radial-gradient(circle at 88% 72%, rgba(7,45,91,.035), transparent 42%),
        linear-gradient(180deg, #F3E8D8 0%, #F8F5EF 100%) !important;
    border-top: 1px solid rgba(169,67,43,.10) !important;
    margin-top: 0 !important;
}

/* Возвращаем нормальную дистанцию между секциями, но без белых провалов */
html body.page-club-item .aio-main #events {
    padding-top: 72px !important;
    padding-bottom: 76px !important;
}

html body.page-club-item .aio-main #members {
    padding-top: 70px !important;
    padding-bottom: 76px !important;
}

html body.page-club-item .aio-main #posts {
    padding-top: 70px !important;
    padding-bottom: 72px !important;
}

html body.page-club-item .aio-main #cars {
    padding-top: 68px !important;
    padding-bottom: 76px !important;
}

/* Убираем прежнюю идею общей подложки публикации+автомобили */
html body.page-club-item .aio-main .aio-club-publications-strip + .aio-club-profile-cars,
html body.page-club-item .aio-main #posts + #cars {
    margin-top: 0 !important;
}

/* AIO_CLUB_SECTION_BACKGROUNDS_20260711_END */

/* AIO_CLUB_CARS_SAND_BG_20260711_START */

/*
   Автомобили участников клуба:
   возвращаем отдельную утверждённую бежево-песочную подложку.
   Карточки, данные и разметку не трогаем.
*/

html body.page-club-item .aio-main #cars,
html body.page-club-item .aio-main section#cars.aio-club-profile-cars,
html body.page-club-item .aio-main .aio-club-profile-cars {
    background:
        radial-gradient(circle at 14% 10%, rgba(255,255,255,.46), transparent 34%),
        radial-gradient(circle at 84% 70%, rgba(169,67,43,.075), transparent 42%),
        linear-gradient(180deg, #F2E3CF 0%, #F1DEC5 52%, #F6EFE4 100%) !important;
    border-top: 1px solid rgba(169,67,43,.12) !important;
    border-bottom: 1px solid rgba(169,67,43,.08) !important;
    padding-top: 68px !important;
    padding-bottom: 78px !important;
}

/* Чуть отделяем автомобили от публикаций, но без белой щели */
html body.page-club-item .aio-main #posts + #cars,
html body.page-club-item .aio-main .aio-club-publications-strip + .aio-club-profile-cars {
    margin-top: 0 !important;
}

/* Заголовок блока на песочной подложке */
html body.page-club-item .aio-main #cars .aio-club-cars-head,
html body.page-club-item .aio-main #cars .aio-section-head {
    margin-bottom: 24px !important;
}

/* Карточки автомобилей остаются светло-бумажными на песочной подложке */
html body.page-club-item .aio-main #cars .aio-club-profile-car-card,
html body.page-club-item .aio-main #cars .aio-club-profile-linked-card {
    background:
        linear-gradient(180deg, rgba(248,245,239,.98) 0%, rgba(246,239,228,.95) 100%) !important;
    border-color: rgba(169,67,43,.15) !important;
    box-shadow:
        0 18px 42px rgba(55,38,25,.075),
        inset 0 1px 0 rgba(255,255,255,.48) !important;
}

/* AIO_CLUB_CARS_SAND_BG_20260711_END */

/* AIO_CLUB_CARS_SOLID_SAND_BG_20260711_START */

/*
   Автомобили участников клуба:
   не бело-песочный градиент, а цельная песочно-бежевая музейная подложка.
*/

html body.page-club-item .aio-main #cars,
html body.page-club-item .aio-main section#cars.aio-club-profile-cars,
html body.page-club-item .aio-main .aio-club-profile-cars {
    background:
        radial-gradient(circle at 14% 12%, rgba(255,255,255,.22), transparent 34%),
        radial-gradient(circle at 86% 70%, rgba(169,67,43,.07), transparent 42%),
        linear-gradient(180deg, #F2E3CF 0%, #F1DEC5 52%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(169,67,43,.12) !important;
    border-bottom: 1px solid rgba(169,67,43,.08) !important;
}

/* Убираем белёсые перебивки, которые могли прилетать от прежних слоёв */
html body.page-club-item .aio-main #cars::before,
html body.page-club-item .aio-main #cars::after,
html body.page-club-item .aio-main .aio-club-profile-cars::before,
html body.page-club-item .aio-main .aio-club-profile-cars::after {
    background-color: transparent !important;
}

/* Карточки остаются светлее подложки, но тоже не чисто белые */
html body.page-club-item .aio-main #cars .aio-club-profile-car-card,
html body.page-club-item .aio-main #cars .aio-club-profile-linked-card {
    background:
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 100%) !important;
    border-color: rgba(169,67,43,.15) !important;
    box-shadow:
        0 18px 42px rgba(55,38,25,.075),
        inset 0 1px 0 rgba(255,255,255,.42) !important;
}

/* AIO_CLUB_CARS_SOLID_SAND_BG_20260711_END */

/* AIO_CLUB_CARS_APPROVED_GRADIENT_20260711_START */

/*
   Автомобили участников клуба:
   возвращаем утверждённую музейную подложку:
   почти белый -> кремовый -> мягкий песочный.
   Без жёлтого/рыжего пятна.
*/

html body.page-club-item .aio-main #cars,
html body.page-club-item .aio-main section#cars.aio-club-profile-cars,
html body.page-club-item .aio-main .aio-club-profile-cars {
    background:
        radial-gradient(circle at 14% 8%, rgba(255,255,255,.68), transparent 36%),
        radial-gradient(circle at 86% 76%, rgba(169,67,43,.045), transparent 44%),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(169,67,43,.08) !important;
    border-bottom: 1px solid rgba(169,67,43,.07) !important;
    padding-top: 68px !important;
    padding-bottom: 78px !important;
}

/* Убираем предыдущие жёлтые перебивки, если они остались каскадом */
html body.page-club-item .aio-main #cars::before,
html body.page-club-item .aio-main #cars::after,
html body.page-club-item .aio-main .aio-club-profile-cars::before,
html body.page-club-item .aio-main .aio-club-profile-cars::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* Карточки автомобилей — светлая бумага на мягкой подложке, не жёлтая */
html body.page-club-item .aio-main #cars .aio-club-profile-car-card,
html body.page-club-item .aio-main #cars .aio-club-profile-linked-card {
    background:
        linear-gradient(180deg, rgba(248,245,239,.98) 0%, rgba(246,239,228,.96) 100%) !important;
    border-color: rgba(169,67,43,.13) !important;
    box-shadow:
        0 16px 38px rgba(7,45,91,.055),
        inset 0 1px 0 rgba(255,255,255,.48) !important;
}

/* Фото не желтим */
html body.page-club-item .aio-main #cars .aio-club-profile-car-card__visual {
    background: #ECE4D7 !important;
}

html body.page-club-item .aio-main #cars .aio-club-profile-car-card__visual img {
    filter: sepia(.08) grayscale(.06) saturate(.90) contrast(.99) brightness(.97) !important;
}

/* AIO_CLUB_CARS_APPROVED_GRADIENT_20260711_END */

/* AIO_CLUB_HERO_LOGO_CARD_20260711_START */

/*
   Hero страницы клуба:
   эмблема клуба как на карточках клубов — не мелкая иконка,
   а скруглённая музейная плашка с крупно вписанным логотипом.
*/

html body.page-club-item .aio-main .aio-club-showcase-card__logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 78px !important;
    height: 78px !important;
    margin: 18px 0 34px !important;
    padding: 9px !important;
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.96) 0%, rgba(242,227,207,.88) 100%) !important;
    border: 1px solid rgba(248,245,239,.42) !important;
    box-shadow:
        0 18px 38px rgba(0,0,0,.24),
        inset 0 1px 0 rgba(255,255,255,.50) !important;
    overflow: hidden !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: saturate(.9) contrast(1.02) brightness(.96) !important;
}

/* Если логотип вертикальный/гербовый — даём ему больше площади внутри плашки */
html body.page-club-item .aio-main .aio-club-showcase-card__logo img[src] {
    transform: scale(1.08) !important;
}

/* На тёмном hero плашка должна читаться как музейный знак, а не белый квадрат */
html body.page-club-item .aio-main .aio-club-showcase-card__logo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    border-radius: inherit !important;
    box-shadow: inset 0 0 0 1px rgba(169,67,43,.10) !important;
}

/* Сохраняем корректное позиционирование для псевдоэлемента */
html body.page-club-item .aio-main .aio-club-showcase-card__logo {
    position: relative !important;
}

/* AIO_CLUB_HERO_LOGO_CARD_20260711_END */

/* AIO_CLUB_HERO_LOGO_KEEP_SIZE_IMAGE_BIGGER_20260711_START */

/*
   Hero клуба:
   НЕ увеличиваем саму карточку эмблемы.
   Только возвращаем аккуратные скругления и увеличиваем логотип внутри карточки.
*/

html body.page-club-item .aio-main .aio-club-showcase-card__logo {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;

    margin: 18px 0 34px !important;
    padding: 4px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 13px !important;
    overflow: hidden !important;

    background:
        linear-gradient(180deg, rgba(248,245,239,.96), rgba(242,227,207,.90)) !important;
    border: 1px solid rgba(248,245,239,.42) !important;
    box-shadow:
        0 14px 30px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.48) !important;
}

html body.page-club-item .aio-main .aio-club-showcase-card__logo img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: center !important;

    transform: scale(1.42) !important;
    transform-origin: center center !important;

    filter: saturate(.92) contrast(1.03) brightness(.97) !important;
}

/* AIO_CLUB_HERO_LOGO_KEEP_SIZE_IMAGE_BIGGER_20260711_END */

/* AIO_MEMBER_HERO_SOCIAL_HOVER_20260711_START */

/*
   Страница участника:
   возвращаем лёгкое подсвечивание и подъём кнопок связи в hero:
   VK / Telegram / Написать.
*/

html body.page-people-item .aio-main .aio-member-hero a[href*="vk"],
html body.page-people-item .aio-main .aio-member-hero a[href*="t.me"],
html body.page-people-item .aio-main .aio-member-hero a[href*="telegram"],
html body.page-people-item .aio-main .aio-member-hero a[href^="mailto:"],
html body.page-people-item .aio-main .aio-member-hero a[href^="/account/messages"],
html body.page-people-item .aio-main .aio-member-hero a[href*="message"],
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="vk"],
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="t.me"],
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="telegram"],
html body.page-people-item .aio-main .aio-member-showcase-hero a[href^="mailto:"],
html body.page-people-item .aio-main .aio-member-showcase-hero a[href^="/account/messages"],
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="message"],
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="vk"],
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="t.me"],
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="telegram"],
html body.page-people-item .aio-main .aio-member-profile-hero a[href^="mailto:"],
html body.page-people-item .aio-main .aio-member-profile-hero a[href^="/account/messages"],
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="message"],
html body.page-people-item .aio-main .aio-member-contact-links a,
html body.page-people-item .aio-main .aio-member-social-links a,
html body.page-people-item .aio-main .aio-member-public-links a,
html body.page-people-item .aio-main .aio-member-hero__contacts a,
html body.page-people-item .aio-main .aio-member-hero__socials a,
html body.page-people-item .aio-main .aio-member-showcase-card__contacts a,
html body.page-people-item .aio-main .aio-member-showcase-card__socials a {
    transition:
        transform .22s ease,
        border-color .22s ease,
        background-color .22s ease,
        color .22s ease,
        box-shadow .22s ease !important;
    will-change: transform !important;
}

html body.page-people-item .aio-main .aio-member-hero a[href*="vk"]:hover,
html body.page-people-item .aio-main .aio-member-hero a[href*="t.me"]:hover,
html body.page-people-item .aio-main .aio-member-hero a[href*="telegram"]:hover,
html body.page-people-item .aio-main .aio-member-hero a[href^="mailto:"]:hover,
html body.page-people-item .aio-main .aio-member-hero a[href^="/account/messages"]:hover,
html body.page-people-item .aio-main .aio-member-hero a[href*="message"]:hover,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="vk"]:hover,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="t.me"]:hover,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="telegram"]:hover,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href^="mailto:"]:hover,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href^="/account/messages"]:hover,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="message"]:hover,
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="vk"]:hover,
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="t.me"]:hover,
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="telegram"]:hover,
html body.page-people-item .aio-main .aio-member-profile-hero a[href^="mailto:"]:hover,
html body.page-people-item .aio-main .aio-member-profile-hero a[href^="/account/messages"]:hover,
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="message"]:hover,
html body.page-people-item .aio-main .aio-member-contact-links a:hover,
html body.page-people-item .aio-main .aio-member-social-links a:hover,
html body.page-people-item .aio-main .aio-member-public-links a:hover,
html body.page-people-item .aio-main .aio-member-hero__contacts a:hover,
html body.page-people-item .aio-main .aio-member-hero__socials a:hover,
html body.page-people-item .aio-main .aio-member-showcase-card__contacts a:hover,
html body.page-people-item .aio-main .aio-member-showcase-card__socials a:hover {
    transform: translateY(-2px) !important;
    color: #F8F5EF !important;
    background: rgba(169,67,43,.82) !important;
    border-color: rgba(169,67,43,.88) !important;
    box-shadow:
        0 10px 24px rgba(169,67,43,.22),
        0 4px 12px rgba(0,0,0,.18) !important;
}

html body.page-people-item .aio-main .aio-member-hero a[href*="vk"]:active,
html body.page-people-item .aio-main .aio-member-hero a[href*="t.me"]:active,
html body.page-people-item .aio-main .aio-member-hero a[href*="telegram"]:active,
html body.page-people-item .aio-main .aio-member-hero a[href^="mailto:"]:active,
html body.page-people-item .aio-main .aio-member-hero a[href^="/account/messages"]:active,
html body.page-people-item .aio-main .aio-member-hero a[href*="message"]:active,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="vk"]:active,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="t.me"]:active,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="telegram"]:active,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href^="mailto:"]:active,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href^="/account/messages"]:active,
html body.page-people-item .aio-main .aio-member-showcase-hero a[href*="message"]:active,
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="vk"]:active,
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="t.me"]:active,
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="telegram"]:active,
html body.page-people-item .aio-main .aio-member-profile-hero a[href^="mailto:"]:active,
html body.page-people-item .aio-main .aio-member-profile-hero a[href^="/account/messages"]:active,
html body.page-people-item .aio-main .aio-member-profile-hero a[href*="message"]:active,
html body.page-people-item .aio-main .aio-member-contact-links a:active,
html body.page-people-item .aio-main .aio-member-social-links a:active,
html body.page-people-item .aio-main .aio-member-public-links a:active,
html body.page-people-item .aio-main .aio-member-hero__contacts a:active,
html body.page-people-item .aio-main .aio-member-hero__socials a:active,
html body.page-people-item .aio-main .aio-member-showcase-card__contacts a:active,
html body.page-people-item .aio-main .aio-member-showcase-card__socials a:active {
    transform: translateY(0) !important;
}

/* AIO_MEMBER_HERO_SOCIAL_HOVER_20260711_END */

/* AIO_MEMBER_DOSSIER_CONTACT_HOVER_20260711_START */

/*
   Реальные кнопки связи в hero участника:
   .aio-member-hero-dossier__contact a
   Возвращаем подсветку и лёгкий подъём.
*/

html body.page-people-item .aio-main .aio-member-hero-dossier__contact a {
    transition:
        transform .22s ease,
        background-color .22s ease,
        border-color .22s ease,
        color .22s ease,
        box-shadow .22s ease !important;
    will-change: transform !important;
}

html body.page-people-item .aio-main .aio-member-hero-dossier__contact a:hover {
    transform: translateY(-2px) !important;
    background: rgba(169,67,43,.88) !important;
    border-color: rgba(169,67,43,.92) !important;
    color: #F8F5EF !important;
    box-shadow:
        0 10px 24px rgba(169,67,43,.24),
        0 4px 12px rgba(0,0,0,.18) !important;
}

html body.page-people-item .aio-main .aio-member-hero-dossier__contact a:active {
    transform: translateY(0) !important;
}

/* AIO_MEMBER_DOSSIER_CONTACT_HOVER_20260711_END */

/* AIO_MEMBER_ABOUT_FONT_LIKE_CLUB_20260711_START */

/*
   Страница участника, раздел "Обо мне":
   правый текст приводим к тому же стилю, что текст описания клуба.
   Montserrat, не жирный, спокойный музейный текст.
*/

/* Правая текстовая колонка "Обо мне" */
html body.page-people-item .aio-main #about .aio-member-about-card p,
html body.page-people-item .aio-main #about .aio-member-about-text p,
html body.page-people-item .aio-main #about .aio-member-about-grid p,
html body.page-people-item .aio-main .aio-member-profile-page .aio-member-about-card p,
html body.page-people-item .aio-main .aio-member-profile-page .aio-member-about-text p,
html body.page-people-item .aio-main .aio-member-profile-page .aio-member-about-grid p,
html body.page-people-item .aio-main .aio-member-about-card__text p,
html body.page-people-item .aio-main .aio-member-about__text p,
html body.page-people-item .aio-main .aio-member-about-body p,
html body.page-people-item .aio-main .aio-member-profile-text p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.02vw, 17px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(45,45,45,.72) !important;
}

/* Если текст выводится не параграфами, а прямо внутри текстового контейнера */
html body.page-people-item .aio-main #about .aio-member-about-card,
html body.page-people-item .aio-main #about .aio-member-about-text,
html body.page-people-item .aio-main #about .aio-member-about-grid,
html body.page-people-item .aio-main .aio-member-profile-page .aio-member-about-card,
html body.page-people-item .aio-main .aio-member-profile-page .aio-member-about-text,
html body.page-people-item .aio-main .aio-member-about-card__text,
html body.page-people-item .aio-main .aio-member-about__text,
html body.page-people-item .aio-main .aio-member-about-body,
html body.page-people-item .aio-main .aio-member-profile-text {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

/* Левая большая фраза остаётся Cormorant, как в клубном блоке */
html body.page-people-item .aio-main #about .aio-member-about-card h2,
html body.page-people-item .aio-main #about .aio-member-about-grid h2,
html body.page-people-item .aio-main .aio-member-profile-page .aio-member-about-card h2,
html body.page-people-item .aio-main .aio-member-profile-page .aio-member-about-grid h2 {
    font-family: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #1F1F1F !important;
}

/* Кикер "Обо мне" — как кикер на странице клуба */
html body.page-people-item .aio-main #about .aio-kicker,
html body.page-people-item .aio-main .aio-member-profile-page .aio-kicker,
html body.page-people-item .aio-main .aio-member-about-card .aio-kicker {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* AIO_MEMBER_ABOUT_FONT_LIKE_CLUB_20260711_END */

/* AIO_MEMBER_STRIP_BUTTONS_LIKE_CLUB_20260711_START */

/*
   Страница участника:
   кнопки "Все фотоальбомы" и "Все публикации"
   приводим к тому же спокойному клубному стилю:
   тонкая рамка, без грубой синей заливки, лёгкий красный hover, плюсик.
*/

html body.page-people-item .aio-main .aio-member-photoarchive-strip__all,
html body.page-people-item .aio-main .aio-member-publications-strip__all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 28px !important;

    border: 1px solid rgba(7,45,91,.20) !important;
    background: rgba(248,245,239,.22) !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #072D5B !important;

    transition:
        color .22s ease,
        border-color .22s ease,
        background-color .22s ease,
        transform .22s ease,
        box-shadow .22s ease !important;
}

html body.page-people-item .aio-main .aio-member-photoarchive-strip__all::after,
html body.page-people-item .aio-main .aio-member-publications-strip__all::after {
    content: " +" !important;
    display: inline-block !important;
    margin-left: 2px !important;
    color: #A9432B !important;
}

html body.page-people-item .aio-main .aio-member-photoarchive-strip__all:hover,
html body.page-people-item .aio-main .aio-member-publications-strip__all:hover {
    color: #A9432B !important;
    border-color: rgba(169,67,43,.52) !important;
    background: rgba(169,67,43,.035) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 24px rgba(169,67,43,.08) !important;
}

html body.page-people-item .aio-main .aio-member-photoarchive-strip__all:hover::after,
html body.page-people-item .aio-main .aio-member-publications-strip__all:hover::after {
    color: #A9432B !important;
}

/* На всякий случай перебиваем старую синюю заливку именно у фотоархива */
html body.page-people-item .aio-main .aio-member-photoarchive-strip__head .aio-member-photoarchive-strip__all {
    background-color: rgba(248,245,239,.22) !important;
    color: #072D5B !important;
    border-color: rgba(7,45,91,.20) !important;
}

html body.page-people-item .aio-main .aio-member-photoarchive-strip__head .aio-member-photoarchive-strip__all:hover {
    background-color: rgba(169,67,43,.035) !important;
    color: #A9432B !important;
    border-color: rgba(169,67,43,.52) !important;
}

/* AIO_MEMBER_STRIP_BUTTONS_LIKE_CLUB_20260711_END */

/* AIO_MEMBER_PHOTOALBUM_TITLE_THIN_20260711_START */

/*
   Страница участника, карточки фотоархива.
   Заголовки фотоальбомов делаем тоньше и чуть меньше:
   музейный Cormorant, без тяжёлой жирности.
*/

html body.page-people-item .aio-main .aio-member-photoarchive-card strong,
html body.page-people-item .aio-main .aio-member-photoarchive-strip .aio-member-photoarchive-card strong {
    font-family: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 2.45vw, 42px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
}

/* Подпись "Фотоальбом · 9 фото" — служебная, тонкая Montserrat */
html body.page-people-item .aio-main .aio-member-photoarchive-card__meta {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.86) !important;
}

/* Чуть спокойнее затемнение, чтобы тонкий Cormorant читался мягче */
html body.page-people-item .aio-main .aio-member-photoarchive-card__shade {
    background:
        linear-gradient(180deg, rgba(5,7,10,.06) 0%, rgba(5,7,10,.34) 45%, rgba(5,7,10,.74) 100%) !important;
}

/* AIO_MEMBER_PHOTOALBUM_TITLE_THIN_20260711_END */

/* AIO_MEMBER_PHOTOALBUM_TITLE_THIN_REAL_20260711_START */

/*
   Страница участника → Фотоархив.
   Реальный заголовок карточки: .aio-member-photoarchive-card strong.
   Уменьшаем примерно в полтора раза и делаем тоньше.
*/
html body.page-people-item .aio-main .aio-member-photoarchive-strip .aio-member-photoarchive-card strong,
html body.page-people-item .aio-main .aio-member-photoarchive-card strong,
body.page-people-item .aio-member-photoarchive-strip .aio-member-photoarchive-card strong,
body.page-people-item .aio-member-photoarchive-card strong {
    display: block !important;
    margin: 0 !important;

    font-family: "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(17px, 1.55vw, 26px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    text-shadow: 0 1px 12px rgba(0,0,0,.28) !important;
}

/* Техническая строка остаётся мелкой, но не жирной плитой */
html body.page-people-item .aio-main .aio-member-photoarchive-card__meta,
body.page-people-item .aio-member-photoarchive-card__meta {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.80) !important;
}

/* AIO_MEMBER_PHOTOALBUM_TITLE_THIN_REAL_20260711_END */

/* AIO_MEMBER_PHOTOALBUM_TITLE_MUSEUM_CORMORANT_20260711_START */

/*
   Фотоархив на странице участника.
   Ничего не пересобираем: только возвращаем музейный Cormorant,
   делаем заголовок чуть меньше и тоньше, чем был изначально.
*/
html body.page-people-item .aio-main .aio-member-photoarchive-strip .aio-member-photoarchive-card strong,
html body.page-people-item .aio-main .aio-member-photoarchive-card strong,
body.page-people-item .aio-member-photoarchive-strip .aio-member-photoarchive-card strong,
body.page-people-item .aio-member-photoarchive-card strong {
    display: block !important;
    margin: 0 !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(23px, 2.05vw, 34px) !important;
    line-height: .96 !important;
    font-weight: 300 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
    text-shadow: 0 1px 14px rgba(0,0,0,.30) !important;
}

/* AIO_MEMBER_PHOTOALBUM_TITLE_MUSEUM_CORMORANT_20260711_END */

/* AIO_MEMBER_PUBLICATION_TITLE_THIN_20260711_START */

/*
   Страница участника, блок "Публикации".
   Не меняем карточку, сетку, фото, отступы.
   Только делаем заголовок публикации тоньше и немного меньше,
   ближе к карточкам общего раздела "Блоги".
*/
html body.page-people-item .aio-main .aio-member-publications-strip .aio-member-publication-card h3,
html body.page-people-item .aio-main .aio-member-publications-strip .aio-member-publication-card h3 a,
html body.page-people-item .aio-main .aio-member-publication-card .aio-blog-museum-card__body h3,
html body.page-people-item .aio-main .aio-member-publication-card .aio-blog-museum-card__body h3 a {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(27px, 2.25vw, 38px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
}

/* AIO_MEMBER_PUBLICATION_TITLE_THIN_20260711_END */

/* AIO_MEMBER_PUBLICATION_TITLE_COMPACT_20260711_START */

/*
   Финальная компактность заголовков публикаций на странице участника.
   Всё остальное в карточках не меняем.
*/
html body.page-people-item .aio-main .aio-member-publications-strip .aio-member-publication-card h3,
html body.page-people-item .aio-main .aio-member-publications-strip .aio-member-publication-card h3 a,
html body.page-people-item .aio-main .aio-member-publication-card .aio-blog-museum-card__body h3,
html body.page-people-item .aio-main .aio-member-publication-card .aio-blog-museum-card__body h3 a {
    font-size: clamp(24px, 1.95vw, 33px) !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    letter-spacing: .014em !important;
}

/* AIO_MEMBER_PUBLICATION_TITLE_COMPACT_20260711_END */


/* AIO_HEADER_FOOTER_EDITORIAL_20260711_START
   Общая шапка и футер: без текстовой подписи рядом с логотипом,
   dropdown — музейный, футерный знак — Cormorant.
*/

html body .aio-header__brand,
html body .aio-header_elegant .aio-header__brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

html body .aio-header__brand > span,
html body .aio-header__brand > b,
html body .aio-header__brand > strong,
html body .aio-header__brand .aio-header__brand-text,
html body .aio-header__brand .aio-header__brand-title,
html body .aio-header__brand .aio-header__brand-name {
    display: none !important;
}

html body .aio-header__brand::before,
html body .aio-header__brand::after {
    content: none !important;
    display: none !important;
}

html body .aio-header__brand img,
html body .aio-header_elegant .aio-header__brand img {
    display: block !important;
    flex: 0 0 auto !important;
    object-fit: contain !important;
}

/* Dropdown: не SaaS-пилюля, а мягкая музейная карточка */
html body .aio-header__dropdown-menu {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    background:
        linear-gradient(180deg, rgba(255,252,245,.98), rgba(248,245,239,.96)) !important;
    box-shadow:
        0 18px 46px rgba(7,23,44,.12),
        0 1px 0 rgba(255,255,255,.80) inset !important;
    padding: 10px !important;
}

html body .aio-header__dropdown-menu a {
    border-radius: 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
    color: #07172C !important;
    text-decoration: none !important;
}

html body .aio-header__dropdown-menu a:hover {
    background: rgba(169,67,43,.075) !important;
    color: #A9432B !important;
}

/* Футер: название общества — не служебный Montserrat, а статусный Cormorant */
html body .aio-footer__title {
    margin: 0 0 12px !important;
    max-width: 390px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 2.65vw, 46px) !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    color: #F8F5EF !important;
    text-transform: none !important;
}

html body .aio-footer__brand > p:not(.aio-footer__title) {
    max-width: 390px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.72) !important;
}

/* AIO_HEADER_FOOTER_EDITORIAL_20260711_END */

/* AIO_HEADER_FOOTER_FINAL_CLEAN_20260711_START */

/* Header: только знак-логотип, без текстового wordmark рядом */
html body .aio-header-brand-wordmark,
html body .aio-header-brand-wordmark *,
html body.page-index .aio-header-brand-wordmark,
html body.page-index .aio-header-brand-wordmark * {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Header: знак держим компактно, без растягивания из-за старых home-правил */
html body .aio-header__brand,
html body .aio-header_elegant .aio-header__brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    flex: 0 0 auto !important;
    text-decoration: none !important;
}

html body .aio-header__brand img {
    display: block !important;
    width: auto !important;
    height: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
}

/* Header: навигация чуть легче, без ощущения жирной плашки */
html body .aio-header__nav > a,
html body .aio-header__dropdown-link,
html body .aio-header__login,
html body .aio-header__register,
html body .aio-header__apply {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .105em !important;
    text-transform: uppercase !important;
}

/* Выпадающее меню оставляем мягким, но без чрезмерной “пилюли” */
html body .aio-header__dropdown-menu {
    border-radius: 18px !important;
}

html body .aio-header__dropdown-menu a {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Footer: название общества — Cormorant, чуть меньше и легче */
html body .aio-footer .aio-footer__title {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant Garamond", "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(25px, 2.05vw, 34px) !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    letter-spacing: .005em !important;
    text-transform: none !important;
    color: #F8F5EF !important;
}

html body .aio-footer .aio-footer__brand > p:not(.aio-footer__title) {
    max-width: 360px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.74) !important;
}

/* AIO_HEADER_FOOTER_FINAL_CLEAN_20260711_END */

/* AIO_HOME_KICKERS_LEADS_UNIFY_20260711_START */

/* Главная: все секционные кикеры в одном стиле */
html body.page-index .aio-main .aio-kicker,
html body.page-index .aio-main .aio-kicker_red,
html body.page-index .aio-main [class$="__kicker"],
html body.page-index .aio-main [class*="__kicker"],
html body.page-index .aio-main .aio-events-kicker,
html body.page-index .aio-main .aio-calendar-redesign__kicker,
html body.page-index .aio-main .aio-directions-visual__kicker,
html body.page-index .aio-main .aio-mission-statement__kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Главная: партнёры — принудительно как остальные кикеры */
html body.page-index .aio-main [class*="partner"] [class*="kicker"],
html body.page-index .aio-main [class*="partners"] [class*="kicker"],
html body.page-index .aio-main [class*="partner"] > p:first-child,
html body.page-index .aio-main [class*="partners"] > p:first-child {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Главная: вводные подписи под заголовками — единая Montserrat */
html body.page-index .aio-main .aio-calendar-redesign__head > div > p:not([class*="kicker"]),
html body.page-index .aio-main .aio-directions-visual__head > div > p:not([class*="kicker"]),
html body.page-index .aio-main .aio-home-archive__head > div > p:not([class*="kicker"]),
html body.page-index .aio-main .aio-home-gallery__head > div > p:not([class*="kicker"]),
html body.page-index .aio-main .aio-home-partners__head > div > p:not([class*="kicker"]),
html body.page-index .aio-main .aio-partners-home__head > div > p:not([class*="kicker"]),
html body.page-index .aio-main .aio-publishing-home__head > div > p:not([class*="kicker"]),
html body.page-index .aio-main .aio-home-hero-museum__lead,
html body.page-index .aio-main section > .aio-container > p,
html body.page-index .aio-main section > .aio-container > div > p:not([class*="kicker"]):not([class*="meta"]):not([class*="type"]) {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.02vw, 17px) !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(45,45,45,.74) !important;
}

/* Не трогаем подписи внутри карточек */
html body.page-index .aio-main article [class*="meta"],
html body.page-index .aio-main article [class*="type"],
html body.page-index .aio-main article [class*="kicker"],
html body.page-index .aio-main article p {
    font-family: inherit;
}

/* AIO_HOME_KICKERS_LEADS_UNIFY_20260711_END */

/* AIO_HOME_PARTNERS_KICKER_MATCH_20260711_START
   Главная: блок партнёров приводим к тому же ритму, что Фотоархив / Издания.
   Правим только заголовочную часть блока aio-partners-rebuild.
*/

html body.page-index .aio-main .aio-partners-rebuild__head p {
    margin: 0 0 14px !important;
    padding: 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-index .aio-main .aio-partners-rebuild__head h2 {
    margin: 0 !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(42px, 4.1vw, 64px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
}

html body.page-index .aio-main .aio-partners-rebuild__head span {
    display: block !important;
    max-width: 760px !important;
    margin: 18px 0 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.02vw, 17px) !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
}

html body.page-index .aio-main .aio-partners-rebuild__head {
    margin-bottom: clamp(34px, 4vw, 52px) !important;
}

@media (max-width: 760px) {
    html body.page-index .aio-main .aio-partners-rebuild__head h2 {
        font-size: clamp(36px, 10vw, 48px) !important;
    }

    html body.page-index .aio-main .aio-partners-rebuild__head span {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
}

/* AIO_HOME_PARTNERS_KICKER_MATCH_20260711_END */

/* AIO_HOME_PARTNERS_FINAL_REBUILD_20260711_START
   Главная: блок партнёров переписан заново, без старой aio-partners-rebuild-логики.
   Типографика приведена к блокам Календарь / Издания / Фотоархив.
*/

html body.page-index .aio-main .aio-home-partners-final {
    position: relative !important;
    padding: clamp(72px, 7vw, 112px) 0 clamp(72px, 7vw, 104px) !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(169,67,43,.045), transparent 25rem),
        radial-gradient(circle at 90% 12%, rgba(7,45,91,.028), transparent 28rem),
        linear-gradient(180deg, #F8F5EF 0%, #F7F1E7 52%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
    border-bottom: 3px solid #A9432B !important;
}

html body.page-index .aio-main .aio-home-partners-final__head {
    max-width: 820px !important;
    margin: 0 0 clamp(34px, 4vw, 52px) !important;
}

html body.page-index .aio-main .aio-home-partners-final__kicker {
    display: block !important;
    margin: 0 0 14px !important;
    padding: 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-index .aio-main .aio-home-partners-final__head h2 {
    margin: 0 !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(42px, 4vw, 62px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
}

html body.page-index .aio-main .aio-home-partners-final__lead {
    max-width: 760px !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.02vw, 17px) !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
}

html body.page-index .aio-main .aio-home-partners-final__grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: clamp(14px, 1.4vw, 22px) !important;
    align-items: stretch !important;
}

html body.page-index .aio-main .aio-home-partners-final__item {
    min-height: 128px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px 28px !important;

    background:
        linear-gradient(180deg, rgba(255,255,255,.78), rgba(248,245,239,.86)) !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    box-shadow: 0 14px 38px rgba(7,23,44,.055) !important;

    text-decoration: none !important;
    color: #072D5B !important;
    overflow: hidden !important;
}

html body.page-index .aio-main .aio-home-partners-final__item img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 78% !important;
    max-height: 74px !important;
    object-fit: contain !important;
    filter: saturate(.82) contrast(.98) brightness(.96) sepia(.025) !important;
    transition: filter .25s ease, transform .25s ease !important;
}

html body.page-index .aio-main .aio-home-partners-final__item:hover {
    border-color: rgba(169,67,43,.28) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.08) !important;
}

html body.page-index .aio-main .aio-home-partners-final__item:hover img {
    filter: saturate(.98) contrast(1.02) brightness(1) sepia(0) !important;
    transform: scale(1.025) !important;
}

html body.page-index .aio-main .aio-home-partners-final__item span {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #072D5B !important;
}

@media (max-width: 1100px) {
    html body.page-index .aio-main .aio-home-partners-final__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    html body.page-index .aio-main .aio-home-partners-final {
        padding: 54px 0 62px !important;
    }

    html body.page-index .aio-main .aio-home-partners-final__head h2 {
        font-size: clamp(36px, 10vw, 48px) !important;
    }

    html body.page-index .aio-main .aio-home-partners-final__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body.page-index .aio-main .aio-home-partners-final__item {
        min-height: 108px !important;
        padding: 20px !important;
    }
}

/* AIO_HOME_PARTNERS_FINAL_REBUILD_20260711_END */

/* AIO_HOME_PARTNERS_FINAL_TUNE_20260711_START
   Главная: финальная подстройка блока партнёров.
   Меньше заголовок, меньше отступ до логотипов, карточки ближе к кремовой подложке.
*/

html body.page-index .aio-main .aio-home-partners-final__head {
    max-width: 760px !important;
    margin: 0 0 clamp(22px, 2.4vw, 32px) !important;
}

html body.page-index .aio-main .aio-home-partners-final__head h2 {
    font-size: clamp(30px, 2.65vw, 42px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
}

html body.page-index .aio-main .aio-home-partners-final__lead {
    max-width: 690px !important;
    margin-top: 12px !important;
    font-size: clamp(14px, .95vw, 16px) !important;
    line-height: 1.62 !important;
}

html body.page-index .aio-main .aio-home-partners-final__grid {
    gap: clamp(12px, 1.25vw, 18px) !important;
}

html body.page-index .aio-main .aio-home-partners-final__item {
    min-height: 116px !important;
    padding: 20px 24px !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.66), rgba(246,239,228,.74)) !important;
    border-color: rgba(7,45,91,.085) !important;
    box-shadow: 0 10px 28px rgba(7,23,44,.035) !important;
}

html body.page-index .aio-main .aio-home-partners-final__item:hover {
    background:
        linear-gradient(180deg, rgba(248,245,239,.78), rgba(246,239,228,.84)) !important;
    border-color: rgba(169,67,43,.18) !important;
    box-shadow: 0 14px 34px rgba(7,23,44,.055) !important;
}

html body.page-index .aio-main .aio-home-partners-final__item img {
    max-width: 74% !important;
    max-height: 66px !important;
}

@media (max-width: 760px) {
    html body.page-index .aio-main .aio-home-partners-final__head h2 {
        font-size: clamp(31px, 8vw, 40px) !important;
    }

    html body.page-index .aio-main .aio-home-partners-final__item {
        min-height: 104px !important;
        padding: 18px !important;
    }
}

/* AIO_HOME_PARTNERS_FINAL_TUNE_20260711_END */

/* AIO_HOME_PARTNERS_CLUBS_SAND_20260712_START
   Главная: партнёры + клубы в одном блоке.
   Карточки песочные, не белые; клубы подтягиваются отдельным массивом.
*/

html body.page-index .aio-main .aio-home-partners-final {
    padding: clamp(58px, 6vw, 92px) 0 clamp(62px, 6.4vw, 96px) !important;
    background:
        radial-gradient(circle at 10% 18%, rgba(169,67,43,.045), transparent 26rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 52%, #F2E3CF 100%) !important;
    border-top: 1px solid rgba(7,45,91,.07) !important;
    border-bottom: 3px solid #A9432B !important;
}

html body.page-index .aio-main .aio-home-partners-final__head {
    max-width: 780px !important;
    margin: 0 0 clamp(24px, 2.6vw, 34px) !important;
}

html body.page-index .aio-main .aio-home-partners-final__kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-index .aio-main .aio-home-partners-final__head h2 {
    margin: 0 !important;
    max-width: 850px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 2.8vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
}

html body.page-index .aio-main .aio-home-partners-final__lead {
    max-width: 700px !important;
    margin: 14px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14px, .95vw, 16px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
}

html body.page-index .aio-main .aio-home-partners-final__grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: clamp(12px, 1.15vw, 18px) !important;
    align-items: stretch !important;
}

html body.page-index .aio-main .aio-home-partners-final__item {
    min-height: 116px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 24px !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,.22), transparent 15rem),
        linear-gradient(180deg, #F4E8D8 0%, #F2E3CF 100%) !important;
    border: 1px solid rgba(7,45,91,.075) !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 26px rgba(7,23,44,.035) !important;
    text-decoration: none !important;
    overflow: hidden !important;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease !important;
}

html body.page-index .aio-main .aio-home-partners-final__item:hover {
    transform: translateY(-1px) !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,.18), transparent 15rem),
        linear-gradient(180deg, #F2E3CF 0%, #EED9C0 100%) !important;
    border-color: rgba(169,67,43,.22) !important;
    box-shadow: 0 14px 34px rgba(7,23,44,.055) !important;
}

html body.page-index .aio-main .aio-home-partners-final__item img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 76% !important;
    max-height: 66px !important;
    object-fit: contain !important;
    filter: saturate(.86) contrast(.98) brightness(.96) sepia(.025) !important;
}

html body.page-index .aio-main .aio-home-partners-final__item:hover img {
    filter: saturate(1) contrast(1) brightness(.98) sepia(0) !important;
}

html body.page-index .aio-main .aio-home-partners-final__item_club img {
    max-width: 68% !important;
    max-height: 70px !important;
}

@media (max-width: 1100px) {
    html body.page-index .aio-main .aio-home-partners-final__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    html body.page-index .aio-main .aio-home-partners-final__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body.page-index .aio-main .aio-home-partners-final__item {
        min-height: 104px !important;
        padding: 18px !important;
    }
}

@media (max-width: 520px) {
    html body.page-index .aio-main .aio-home-partners-final__grid {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_HOME_PARTNERS_CLUBS_SAND_20260712_END */

/* AIO_HOME_GALLERY_TITLE_THIN_LIKE_PARTNERS_20260712_START
   Главная: заголовок "Визуальная память" как тонкий музейный Cormorant
   из блока партнёров.
*/

html body.page-index .aio-main .aio-home-gallery-title-thin,
html body.page-index .aio-main section .aio-home-gallery-title-thin {
    margin: 0 !important;
    max-width: 850px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 2.8vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
    text-transform: none !important;
}

/* страховка: если на live заголовок всё ещё без класса, цепляем секцию по карточкам фотоархива */
html body.page-index .aio-main section:has(.aio-photo-card) h2 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 2.8vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
    text-transform: none !important;
}

/* AIO_HOME_GALLERY_TITLE_THIN_LIKE_PARTNERS_20260712_END */

/* AIO_HOME_PUBLISHING_TITLE_ELEGANT_20260711_START
   Главная: заголовок блока "Книги, альбомы и исследования"
   приводим к тонкому музейному Cormorant, как в блоке партнёров.
*/
html body.page-index .aio-main .aio-home-publishing h2,
html body.page-index .aio-main .aio-home-publishing-redesign h2,
html body.page-index .aio-main .aio-home-publishing .aio-section-head h2,
html body.page-index .aio-main .aio-home-publishing-redesign .aio-section-head h2,
html body.page-index .aio-main .aio-home-publishing-redesign__head h2 {
    margin: 0 0 14px !important;
    max-width: 980px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.4vw, 58px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
}

/* Подпись под заголовком — тот же спокойный Montserrat, как в соседних блоках главной */
html body.page-index .aio-main .aio-home-publishing .aio-section-head > div > p:not(.aio-kicker),
html body.page-index .aio-main .aio-home-publishing-redesign .aio-section-head > div > p:not(.aio-kicker),
html body.page-index .aio-main .aio-home-publishing-redesign__head > div > p:not(.aio-kicker),
html body.page-index .aio-main .aio-home-publishing-redesign__head > p:not(.aio-kicker) {
    max-width: 760px !important;
    margin: 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14px, 1.05vw, 17px) !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
}
/* AIO_HOME_PUBLISHING_TITLE_ELEGANT_20260711_END */


/* AIO_HOME_PUBLISHING_TITLE_MATCH_PARTNERS_20260712_START
   Главная: только заголовок блока "Книги, альбомы и исследования".
   Делаем его таким же тонким, лёгким и размерным, как заголовок блока партнёров.
*/
html body.page-index .aio-main .aio-home-publishing h2,
html body.page-index .aio-main .aio-home-publishing-redesign h2,
html body.page-index .aio-main .aio-home-publishing .aio-section-head h2,
html body.page-index .aio-main .aio-home-publishing-redesign .aio-section-head h2,
html body.page-index .aio-main .aio-home-publishing-redesign__head h2 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(26px, 2.7vw, 42px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;
    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
}
/* AIO_HOME_PUBLISHING_TITLE_MATCH_PARTNERS_20260712_END */


/* AIO_HOME_PUBLISHING_TITLE_EXACT_PARTNERS_20260712_START
   Главная: заголовок "Книги, альбомы и исследования"
   делаем тем же шрифтом, весом и размером, что "Музеи, клубы, архивы и издатели".
*/

html body.page-index .aio-main .aio-partners-rebuild__head h2,
html body.page-index .aio-main .aio-home-publishing h2,
html body.page-index .aio-main .aio-home-publishing-redesign h2,
html body.page-index .aio-main .aio-home-publishing .aio-section-head h2,
html body.page-index .aio-main .aio-home-publishing-redesign .aio-section-head h2,
html body.page-index .aio-main .aio-home-publishing-redesign__head h2,
html body.page-index .aio-main section.aio-home-publishing h2 {
    margin: 0 0 14px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 3.15vw, 52px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: -.055em !important;
    text-transform: none !important;
    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
}

/* на случай, если в старых стилях заголовок изданий перебивается более грубым правилом */
html body.page-index .aio-main .aio-home-publishing h2 *,
html body.page-index .aio-main .aio-home-publishing-redesign h2 *,
html body.page-index .aio-main .aio-home-publishing .aio-section-head h2 *,
html body.page-index .aio-main .aio-home-publishing-redesign .aio-section-head h2 * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

/* AIO_HOME_PUBLISHING_TITLE_EXACT_PARTNERS_20260712_END */


/* AIO_HOME_SECTION_TITLES_REAL_CLASSES_20260712_START
   Главная: единый тонкий заголовок секций.
   Берём стиль заголовка партнёров и применяем к реальным live-классам:
   направления, календарь, издания, фотоархив, партнёры.
*/

html body.page-index .aio-main .aio-directions-visual__head h2,
html body.page-index .aio-main .aio-calendar-redesign__head h2,
html body.page-index .aio-main .aio-publishing-hub__head h2,
html body.page-index .aio-main .aio-photoarchive-redesign__head h2,
html body.page-index .aio-main .aio-home-partners-final__head h2 {
    margin: 0 !important;
    max-width: 850px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 2.8vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Чтобы вложенные ссылки/спаны/переносы не возвращали старый жирный стиль */
html body.page-index .aio-main .aio-directions-visual__head h2 *,
html body.page-index .aio-main .aio-calendar-redesign__head h2 *,
html body.page-index .aio-main .aio-publishing-hub__head h2 *,
html body.page-index .aio-main .aio-photoarchive-redesign__head h2 *,
html body.page-index .aio-main .aio-home-partners-final__head h2 * {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

@media (max-width: 760px) {
    html body.page-index .aio-main .aio-directions-visual__head h2,
    html body.page-index .aio-main .aio-calendar-redesign__head h2,
    html body.page-index .aio-main .aio-publishing-hub__head h2,
    html body.page-index .aio-main .aio-photoarchive-redesign__head h2,
    html body.page-index .aio-main .aio-home-partners-final__head h2 {
        font-size: clamp(30px, 8vw, 40px) !important;
        line-height: 1.03 !important;
    }
}

/* AIO_HOME_SECTION_TITLES_REAL_CLASSES_20260712_END */

/* AIO_HOME_MISSION_NOTE_WHITE_ONE_LINE_20260712_START
   Главная: возвращаем подпись в тёмном блоке миссии.
   Текст "Автомобильная история — это документы..." должен быть светлым и в одну строку.
*/

html body.page-index .aio-main .aio-mission-statement .aio-mission-statement__note,
html body.page-index .aio-main .aio-mission-statement p.aio-mission-statement__note {
    display: block !important;
    max-width: none !important;
    width: 100% !important;
    margin: 24px auto 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13px, .95vw, 16px) !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;

    color: rgba(248,245,239,.82) !important;
    -webkit-text-fill-color: rgba(248,245,239,.82) !important;
    opacity: 1 !important;

    white-space: nowrap !important;
    text-align: center !important;
}

@media (max-width: 980px) {
    html body.page-index .aio-main .aio-mission-statement .aio-mission-statement__note,
    html body.page-index .aio-main .aio-mission-statement p.aio-mission-statement__note {
        white-space: normal !important;
        max-width: 720px !important;
    }
}

/* AIO_HOME_MISSION_NOTE_WHITE_ONE_LINE_20260712_END */

/* AIO_ABOUT_THIN_CORMORANT_MISSION_20260712_START
   /about: миссия и заголовки секций приводятся к тонкому музейному Cormorant,
   как на главной.
*/

/* 1. Тёмный блок миссии на странице "Об обществе" */
html body.page-about .aio-main .aio-mission-statement,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission {
    overflow: hidden !important;
}

html body.page-about .aio-main .aio-mission-statement h2,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 {
    max-width: 1120px !important;
    margin: 0 auto !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.45vw, 54px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;

    text-align: center !important;
    text-wrap: balance !important;
}

html body.page-about .aio-main .aio-mission-statement h2 br,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 br {
    display: block !important;
}

html body.page-about .aio-main .aio-mission-statement h2 span,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 span {
    display: block !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

/* Подпись под миссией — светлая, но спокойная */
html body.page-about .aio-main .aio-mission-statement .aio-mission-statement__note,
html body.page-about .aio-main .aio-mission-statement p.aio-mission-statement__note {
    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
    opacity: 1 !important;
}

/* 2. Заголовки секций на /about — тот же тонкий музейный Cormorant, что на главной */
html body.page-about .aio-main .aio-about-editorial__title h2,
html body.page-about .aio-main .aio-about-history__head h2,
html body.page-about .aio-main .aio-about-today__head h2,
html body.page-about .aio-main .aio-about-principles-editorial__head h2,
html body.page-about .aio-main .aio-about-rebuild-documents__head h2,
html body.page-about .aio-main .aio-about-documents__head h2,
html body.page-about .aio-main .aio-directions-visual__head h2,
html body.page-about .aio-main .aio-section-head h2,
html body.page-about .aio-main section > .aio-container > div:first-child h2 {
    margin-top: 0 !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 2.8vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Не даём вложенным span/a возвращать старый жирный стиль */
html body.page-about .aio-main .aio-about-editorial__title h2 *,
html body.page-about .aio-main .aio-about-history__head h2 *,
html body.page-about .aio-main .aio-about-today__head h2 *,
html body.page-about .aio-main .aio-about-principles-editorial__head h2 *,
html body.page-about .aio-main .aio-about-rebuild-documents__head h2 *,
html body.page-about .aio-main .aio-about-documents__head h2 *,
html body.page-about .aio-main .aio-directions-visual__head h2 *,
html body.page-about .aio-main .aio-section-head h2 * {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

@media (max-width: 760px) {
    html body.page-about .aio-main .aio-mission-statement h2,
    html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 {
        font-size: clamp(30px, 8.2vw, 40px) !important;
        line-height: 1.02 !important;
    }

    html body.page-about .aio-main .aio-about-editorial__title h2,
    html body.page-about .aio-main .aio-about-history__head h2,
    html body.page-about .aio-main .aio-about-today__head h2,
    html body.page-about .aio-main .aio-about-principles-editorial__head h2,
    html body.page-about .aio-main .aio-about-rebuild-documents__head h2,
    html body.page-about .aio-main .aio-about-documents__head h2,
    html body.page-about .aio-main .aio-directions-visual__head h2,
    html body.page-about .aio-main .aio-section-head h2,
    html body.page-about .aio-main section > .aio-container > div:first-child h2 {
        font-size: clamp(30px, 8vw, 40px) !important;
        line-height: 1.03 !important;
    }
}

/* AIO_ABOUT_THIN_CORMORANT_MISSION_20260712_END */

/* AIO_ABOUT_MISSION_WHITE_TITLE_3_LINES_20260712_START
   /about: возвращаем белый заголовок миссии и делаем верхний заголовок в три строки.
*/

/* Верхний блок "Об обществе": Автомобильное / историческое / общество */
html body.page-about .aio-main .aio-about-editorial__title {
    max-width: 390px !important;
}

html body.page-about .aio-main .aio-about-editorial__title h2 {
    max-width: 360px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 3.15vw, 50px) !important;
    line-height: 1.03 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;
    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
}

/* Тёмная миссия: белый капс, тонкий музейный Cormorant */
html body.page-about .aio-main .aio-mission-statement h2,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2,
html body.page-about .aio-main .aio-mission-statement .aio-mission-statement__inner h2,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission .aio-mission-statement__inner h2 {
    max-width: 1180px !important;
    margin: 0 auto !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.45vw, 54px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    opacity: 1 !important;

    text-align: center !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body.page-about .aio-main .aio-mission-statement h2 *,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 * {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    opacity: 1 !important;
}

/* На всякий случай перебиваем слишком широкие общие правила для h2 внутри секций */
html body.page-about .aio-main .aio-mission-statement section h2,
html body.page-about .aio-main section.aio-mission-statement h2 {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

@media (max-width: 760px) {
    html body.page-about .aio-main .aio-about-editorial__title,
    html body.page-about .aio-main .aio-about-editorial__title h2 {
        max-width: 100% !important;
    }

    html body.page-about .aio-main .aio-mission-statement h2,
    html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 {
        font-size: clamp(30px, 8.2vw, 40px) !important;
        line-height: 1.02 !important;
    }
}

/* AIO_ABOUT_MISSION_WHITE_TITLE_3_LINES_20260712_END */

/* AIO_ABOUT_TITLE_BIG_MISSION_TWO_LINES_20260712_START
   /about: верхний заголовок крупнее, миссия строго в две строки.
*/

/* Верхний блок "Об обществе": крупный Cormorant в три строки */
html body.page-about .aio-main .aio-about-editorial__title {
    max-width: 620px !important;
}

html body.page-about .aio-main .aio-about-editorial__title h2 {
    max-width: 620px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(58px, 5vw, 76px) !important;
    line-height: .92 !important;
    font-weight: 400 !important;
    letter-spacing: -.022em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body.page-about .aio-main .aio-about-editorial__title h2 br {
    display: block !important;
}

/* Миссия: белый капс, тонкий музейный Cormorant, две строки */
html body.page-about .aio-main .aio-mission-statement h2,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2,
html body.page-about .aio-main .aio-mission-statement .aio-mission-statement__inner h2,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission .aio-mission-statement__inner h2 {
    max-width: 1180px !important;
    margin: 0 auto !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(36px, 3.55vw, 56px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    opacity: 1 !important;

    text-align: center !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body.page-about .aio-main .aio-mission-statement h2 br,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 br {
    display: block !important;
}

html body.page-about .aio-main .aio-mission-statement h2 *,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 * {
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    opacity: 1 !important;
}

/* Подпись под миссией оставляем светлой и читаемой */
html body.page-about .aio-main .aio-mission-statement .aio-mission-statement__note,
html body.page-about .aio-main .aio-mission-statement p.aio-mission-statement__note {
    color: rgba(248,245,239,.82) !important;
    -webkit-text-fill-color: rgba(248,245,239,.82) !important;
    opacity: 1 !important;
}

@media (max-width: 980px) {
    html body.page-about .aio-main .aio-about-editorial__title h2 {
        font-size: clamp(44px, 8vw, 62px) !important;
        line-height: .96 !important;
    }

    html body.page-about .aio-main .aio-mission-statement h2,
    html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 {
        font-size: clamp(32px, 7vw, 46px) !important;
        line-height: 1.02 !important;
    }
}

@media (max-width: 640px) {
    html body.page-about .aio-main .aio-about-editorial__title,
    html body.page-about .aio-main .aio-about-editorial__title h2 {
        max-width: 100% !important;
    }

    html body.page-about .aio-main .aio-about-editorial__title h2 {
        font-size: clamp(40px, 11vw, 54px) !important;
    }
}

/* AIO_ABOUT_TITLE_BIG_MISSION_TWO_LINES_20260712_END */

/* AIO_ABOUT_MISSION_EXACT_TWO_LINES_THIN_20260712_START
   /about: миссия строго в две строки, тонкий музейный Cormorant.
*/

html body.page-about .aio-main .aio-mission-statement h2,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2,
html body.page-about .aio-main .aio-mission-statement .aio-mission-statement__inner h2,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission .aio-mission-statement__inner h2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.28vw, 52px) !important;
    line-height: .98 !important;
    font-weight: 300 !important;
    letter-spacing: -.014em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    opacity: 1 !important;

    text-align: center !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body.page-about .aio-main .aio-mission-statement h2 .aio-about-mission-line,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 .aio-about-mission-line {
    display: block !important;
    width: 100% !important;

    font: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    opacity: 1 !important;

    white-space: nowrap !important;
}

html body.page-about .aio-main .aio-mission-statement h2 .aio-about-mission-line_1,
html body.page-about .aio-main .aio-mission-statement h2 .aio-about-mission-line_2 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Страховка от старых правил, которые красили вложенные элементы в тёмный */
html body.page-about .aio-main .aio-mission-statement h2 *,
html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 * {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Подпись под миссией */
html body.page-about .aio-main .aio-mission-statement .aio-mission-statement__note,
html body.page-about .aio-main .aio-mission-statement p.aio-mission-statement__note {
    color: rgba(248,245,239,.82) !important;
    -webkit-text-fill-color: rgba(248,245,239,.82) !important;
    opacity: 1 !important;
}

@media (max-width: 980px) {
    html body.page-about .aio-main .aio-mission-statement h2,
    html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 {
        font-size: clamp(30px, 6.6vw, 44px) !important;
        line-height: 1 !important;
    }
}

@media (max-width: 640px) {
    html body.page-about .aio-main .aio-mission-statement h2 .aio-about-mission-line,
    html body.page-about .aio-main .aio-mission-statement.aio-about-mission h2 .aio-about-mission-line {
        white-space: normal !important;
    }
}

/* AIO_ABOUT_MISSION_EXACT_TWO_LINES_THIN_20260712_END */

/* AIO_ABOUT_BODIES_THIN_CORMORANT_HEADINGS_20260712_START
   /about/bodies: все основные заголовки страницы "Структура общества"
   приводим к тонкому музейному Cormorant, как на главной и /about.
*/

/* Hero / главный заголовок страницы */
html body.page-about-bodies .aio-main h1,
html body.page-about-bodies .aio-events-museum-hero h1,
html body.page-about-bodies .aio-events-museum-hero__inner h1,
html body.page-about-bodies .aio-bodies-hero h1,
html body.page-about-bodies .aio-bodies-hero__inner h1 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(40px, 4.2vw, 58px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: inherit !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Секционные заголовки: Наша команда / Правление / Экспертный совет / Попечительский совет */
html body.page-about-bodies .aio-main h2,
html body.page-about-bodies .aio-bodies-page h2,
html body.page-about-bodies .aio-bodies-section h2,
html body.page-about-bodies .aio-bodies-section__head h2,
html body.page-about-bodies .aio-bodies-team__head h2,
html body.page-about-bodies .aio-bodies-board__head h2,
html body.page-about-bodies .aio-bodies-council__head h2,
html body.page-about-bodies .aio-bodies-trustees__head h2,
html body.page-about-bodies .aio-section-head h2,
html body.page-about-bodies section > .aio-container > div:first-child h2 {
    margin-top: 0 !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 2.8vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Заголовки внутри карточек людей — тоже Cormorant, но не огромные */
html body.page-about-bodies .aio-main .aio-person-card h3,
html body.page-about-bodies .aio-main .aio-member-card h3,
html body.page-about-bodies .aio-main .aio-body-person h3,
html body.page-about-bodies .aio-main .aio-bodies-person h3,
html body.page-about-bodies .aio-main article h3 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(24px, 2vw, 32px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.014em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Не даём вложенным ссылкам/спанам возвращать старый жирный стиль */
html body.page-about-bodies .aio-main h1 *,
html body.page-about-bodies .aio-main h2 *,
html body.page-about-bodies .aio-main h3 * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

/* Кикеры оставляем как на всём сайте: маленький красный Montserrat */
html body.page-about-bodies .aio-main .aio-kicker,
html body.page-about-bodies .aio-main .aio-events-kicker,
html body.page-about-bodies .aio-main [class*="kicker"] {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

@media (max-width: 760px) {
    html body.page-about-bodies .aio-main h1,
    html body.page-about-bodies .aio-events-museum-hero h1,
    html body.page-about-bodies .aio-events-museum-hero__inner h1,
    html body.page-about-bodies .aio-bodies-hero h1,
    html body.page-about-bodies .aio-bodies-hero__inner h1 {
        font-size: clamp(34px, 9vw, 44px) !important;
        line-height: 1.02 !important;
    }

    html body.page-about-bodies .aio-main h2,
    html body.page-about-bodies .aio-bodies-page h2,
    html body.page-about-bodies .aio-bodies-section h2,
    html body.page-about-bodies .aio-bodies-section__head h2,
    html body.page-about-bodies .aio-section-head h2 {
        font-size: clamp(30px, 8vw, 40px) !important;
        line-height: 1.03 !important;
    }

    html body.page-about-bodies .aio-main .aio-person-card h3,
    html body.page-about-bodies .aio-main .aio-member-card h3,
    html body.page-about-bodies .aio-main .aio-body-person h3,
    html body.page-about-bodies .aio-main .aio-bodies-person h3,
    html body.page-about-bodies .aio-main article h3 {
        font-size: clamp(23px, 6vw, 30px) !important;
    }
}

/* AIO_ABOUT_BODIES_THIN_CORMORANT_HEADINGS_20260712_END */


/* AIO_FOOTER_ONLY_MUSEUM_SMALLER_TITLE_20260712_START
   Оставляем только футер: графитовый музейный тон, название в три строки,
   но буквы меньше.
*/

html body .aio-footer,
html body footer.aio-footer {
    background:
        radial-gradient(circle at 18% 8%, rgba(169,67,43,.105), transparent 28rem),
        radial-gradient(circle at 82% 16%, rgba(248,245,239,.045), transparent 30rem),
        linear-gradient(135deg, #111418 0%, #1A1A1B 48%, #242424 100%) !important;
    color: #F8F5EF !important;
    border-top: 1px solid rgba(248,245,239,.10) !important;
}

html body .aio-footer .aio-footer__title,
html body footer.aio-footer .aio-footer__title {
    display: block !important;
    max-width: 440px !important;
    margin: 0 0 20px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.1vw, 48px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body .aio-footer .aio-footer__title br,
html body footer.aio-footer .aio-footer__title br {
    display: block !important;
}

html body .aio-footer p,
html body .aio-footer li,
html body .aio-footer span,
html body .aio-footer small,
html body footer.aio-footer p,
html body footer.aio-footer li,
html body footer.aio-footer span,
html body footer.aio-footer small {
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

html body .aio-footer a,
html body footer.aio-footer a {
    color: rgba(248,245,239,.86) !important;
    -webkit-text-fill-color: rgba(248,245,239,.86) !important;
    text-decoration-color: rgba(169,67,43,.42) !important;
}

html body .aio-footer a:hover,
html body footer.aio-footer a:hover {
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
    text-decoration-color: #A9432B !important;
}

html body .aio-footer [class*="kicker"],
html body .aio-footer h3,
html body .aio-footer h4,
html body footer.aio-footer [class*="kicker"],
html body footer.aio-footer h3,
html body footer.aio-footer h4 {
    color: #C56A4D !important;
    -webkit-text-fill-color: #C56A4D !important;
}

html body .aio-footer__bottom,
html body footer.aio-footer .aio-footer__bottom {
    border-top-color: rgba(248,245,239,.12) !important;
}

/* AIO_FOOTER_ONLY_MUSEUM_SMALLER_TITLE_20260712_END */


/* AIO_FOOTER_RESTORE_LAYOUT_TITLE_TWO_LINES_20260712_START
   Футер: возвращаем нормальную компоновку.
   Меняем только левое название: две строки, Cormorant, компактно.
*/

/* Отменяем растягивание брендовой колонки на всю ширину */
html body .aio-footer .aio-footer__brand,
html body footer.aio-footer .aio-footer__brand,
html body .aio-footer .aio-footer__about,
html body footer.aio-footer .aio-footer__about {
    grid-column: auto !important;
    width: auto !important;
    max-width: 360px !important;
    margin-bottom: 0 !important;
}

/* Название общества: не огромное, не Montserrat, две строки */
html body .aio-footer .aio-footer__title,
html body footer.aio-footer .aio-footer__title,
html body .aio-footer .aio-footer__brand .aio-footer__title,
html body footer.aio-footer .aio-footer__brand .aio-footer__title {
    display: block !important;
    width: auto !important;
    max-width: 360px !important;
    margin: 0 0 18px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(25px, 2.25vw, 34px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    white-space: normal !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body .aio-footer .aio-footer__title *,
html body footer.aio-footer .aio-footer__title * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

html body .aio-footer .aio-footer__title br,
html body footer.aio-footer .aio-footer__title br {
    display: block !important;
}

/* Описание под названием — как было компактно */
html body .aio-footer .aio-footer__brand p,
html body footer.aio-footer .aio-footer__brand p,
html body .aio-footer .aio-footer__about p,
html body footer.aio-footer .aio-footer__about p {
    max-width: 310px !important;
    margin-top: 0 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

/* AIO_FOOTER_RESTORE_LAYOUT_TITLE_TWO_LINES_20260712_END */

/* AIO_FOOTER_COPYRIGHT_ONE_LINE_FIX_20260712_START
   Футер: нижний копирайт всегда в одну строку.
   Это не касается большого названия общества в левой колонке.
*/

html body .aio-footer__bottom,
html body footer.aio-footer .aio-footer__bottom {
    white-space: nowrap !important;
}

html body .aio-footer__bottom *,
html body footer.aio-footer .aio-footer__bottom * {
    white-space: nowrap !important;
}

html body .aio-footer__bottom br,
html body footer.aio-footer .aio-footer__bottom br {
    display: none !important;
}

/* AIO_FOOTER_COPYRIGHT_ONE_LINE_FIX_20260712_END */

/* AIO_PUBLIC_CARS_PAGES_20260712_START
   Публичные страницы автомобилей: /cars и /cars/:slug.
   Стиль: музейный каталог, на базе фильтров блогов/галереи и карточек участника/клуба.
*/

html body.page-cars,
html body.page-car-item {
    background: #F8F5EF !important;
}

html body.page-cars .aio-cars-catalog-page,
html body.page-car-item .aio-car-item-page {
    padding: clamp(54px, 6vw, 86px) 0 clamp(76px, 7vw, 112px) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(169,67,43,.045), transparent 30rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 58%, #F2E3CF 100%) !important;
}

html body.page-cars .aio-cars-catalog-layout {
    display: grid !important;
    grid-template-columns: 292px minmax(0, 1fr) !important;
    gap: clamp(28px, 3.5vw, 48px) !important;
    align-items: start !important;
}

html body.page-cars .aio-cars-catalog-filter {
    position: sticky !important;
    top: 104px !important;
}

html body.page-cars .aio-cars-catalog-head {
    margin: 0 0 clamp(24px, 3vw, 38px) !important;
}

html body.page-cars .aio-cars-catalog-head h2,
html body.page-car-item .aio-car-item-passport h2,
html body.page-car-item .aio-car-item-section h2 {
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 2.8vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #1D1D1D !important;
}

html body.page-cars .aio-cars-catalog-head > p:not(.aio-events-kicker) {
    max-width: 760px !important;
    margin: 14px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: rgba(45,45,45,.68) !important;
}

html body.page-cars .aio-cars-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(20px, 2.4vw, 30px) !important;
}

html body.page-cars .aio-car-museum-card {
    min-height: 330px !important;
    display: grid !important;
    grid-template-columns: minmax(180px, .82fr) minmax(0, 1fr) !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.94), rgba(242,227,207,.72)) !important;
    border: 1px solid rgba(7,45,91,.11) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.07) !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__image {
    min-height: 330px !important;
    background: #111418 !important;
    color: #F2E3CF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.82) contrast(.96) brightness(.92) !important;
    transition: transform .35s ease, filter .35s ease !important;
}

html body.page-cars .aio-car-museum-card:hover .aio-car-museum-card__image img {
    transform: scale(1.025) !important;
    filter: saturate(.98) contrast(1) brightness(.96) !important;
}

html body.page-cars .aio-car-museum-card__image span {
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    font-weight: 400 !important;
}

html body.page-cars .aio-car-museum-card__body {
    padding: 24px 24px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

html body.page-cars .aio-car-museum-card__type {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

html body.page-cars .aio-car-museum-card h3 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(28px, 2.4vw, 38px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
}

html body.page-cars .aio-car-museum-card h3 a {
    color: #1D1D1D !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__body > p:not(.aio-car-museum-card__type) {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
    color: rgba(45,45,45,.70) !important;
}

html body.page-cars .aio-car-museum-card dl {
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
    margin: auto 0 18px !important;
}

html body.page-cars .aio-car-museum-card dl div {
    display: flex !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
}

html body.page-cars .aio-car-museum-card dt {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.46) !important;
}

html body.page-cars .aio-car-museum-card dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: rgba(45,45,45,.78) !important;
    text-align: right !important;
}

html body.page-cars .aio-car-museum-card__link {
    margin-top: auto !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-cars-catalog-empty {
    padding: 34px !important;
    background: rgba(248,245,239,.88) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
}

html body.page-cars .aio-cars-catalog-empty h2 {
    margin: 0 0 12px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    font-weight: 400 !important;
}

/* Detail */

html body.page-car-item .aio-car-item-hero {
    padding: clamp(54px, 6vw, 86px) 0 !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(248,245,239,.08), transparent 28rem),
        linear-gradient(135deg, #111418 0%, #252525 54%, #2D2D2D 100%) !important;
    color: #F8F5EF !important;
}

html body.page-car-item .aio-car-item-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr) !important;
    gap: clamp(34px, 5vw, 72px) !important;
    align-items: stretch !important;
}

html body.page-car-item .aio-car-item-hero__content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

html body.page-car-item .aio-car-item-hero h1 {
    max-width: 760px !important;
    margin: 0 !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(48px, 6vw, 88px) !important;
    line-height: .92 !important;
    font-weight: 400 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
}

html body.page-car-item .aio-car-item-hero__content > p:not(.aio-events-kicker) {
    max-width: 620px !important;
    margin: 22px 0 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(15px, 1.12vw, 18px) !important;
    line-height: 1.68 !important;
    color: rgba(248,245,239,.76) !important;
}

html body.page-car-item .aio-car-item-hero__facts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 30px 0 0 !important;
}

html body.page-car-item .aio-car-item-hero__facts div {
    padding: 14px 14px 13px !important;
    border: 1px solid rgba(248,245,239,.16) !important;
    background: rgba(248,245,239,.055) !important;
}

html body.page-car-item .aio-car-item-hero__facts dt {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

html body.page-car-item .aio-car-item-hero__facts dd {
    margin: 7px 0 0 !important;
    font-family: "AIO Cormorant", "Cormorant Garamond", Georgia, serif !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #F8F5EF !important;
}

html body.page-car-item .aio-car-item-hero__photo {
    min-height: 440px !important;
    background: #0E1116 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: 1px solid rgba(248,245,239,.12) !important;
}

html body.page-car-item .aio-car-item-hero__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.84) contrast(.98) brightness(.88) !important;
}

html body.page-car-item .aio-car-item-hero__photo span {
    font-family: "AIO Cormorant", Georgia, serif !important;
    font-size: 46px !important;
    color: #F2E3CF !important;
}

html body.page-car-item .aio-car-item-layout {
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    gap: clamp(32px, 4vw, 58px) !important;
    align-items: start !important;
}

html body.page-car-item .aio-car-item-passport {
    position: sticky !important;
    top: 104px !important;
    padding: 28px 28px 26px !important;
    background: rgba(248,245,239,.92) !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.07) !important;
}

html body.page-car-item .aio-car-item-passport dl {
    margin: 24px 0 0 !important;
    display: grid !important;
    gap: 0 !important;
}

html body.page-car-item .aio-car-item-passport dl div {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 13px 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
}

html body.page-car-item .aio-car-item-passport dt {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.46) !important;
}

html body.page-car-item .aio-car-item-passport dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: rgba(45,45,45,.78) !important;
}

html body.page-car-item .aio-car-item-passport__owner {
    display: inline-flex !important;
    margin-top: 24px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

html body.page-car-item .aio-car-item-main {
    display: grid !important;
    gap: 30px !important;
}

html body.page-car-item .aio-car-item-section {
    padding: clamp(28px, 3.2vw, 44px) !important;
    background: rgba(248,245,239,.88) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 16px 40px rgba(7,23,44,.055) !important;
}

html body.page-car-item .aio-car-item-section h2 {
    margin-bottom: 18px !important;
}

html body.page-car-item .aio-car-item-text {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
    color: rgba(45,45,45,.76) !important;
}

html body.page-car-item .aio-car-item-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 22px !important;
}

html body.page-car-item .aio-car-item-gallery a {
    display: block !important;
    height: 180px !important;
    background: #111418 !important;
    overflow: hidden !important;
}

html body.page-car-item .aio-car-item-gallery img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.82) contrast(.96) brightness(.92) !important;
}

html body.page-car-item .aio-car-item-legal {
    padding: 18px 22px !important;
    border: 1px solid rgba(7,45,91,.09) !important;
    background: rgba(242,227,207,.56) !important;
}

html body.page-car-item .aio-car-item-legal p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.62 !important;
    color: rgba(45,45,45,.62) !important;
}

@media (max-width: 1080px) {
    html body.page-cars .aio-cars-catalog-layout,
    html body.page-car-item .aio-car-item-layout,
    html body.page-car-item .aio-car-item-hero__grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-cars-catalog-filter,
    html body.page-car-item .aio-car-item-passport {
        position: static !important;
    }
}

@media (max-width: 860px) {
    html body.page-cars .aio-cars-catalog-grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-car-museum-card {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-car-museum-card__image {
        min-height: 260px !important;
    }

    html body.page-car-item .aio-car-item-hero__facts,
    html body.page-car-item .aio-car-item-gallery {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_PUBLIC_CARS_PAGES_20260712_END */

/* AIO_CARS_CATALOG_CARDS_LIKE_CLUB_20260712_START
   /cars: карточки как в клубе/профиле — фото сверху, Cormorant, без описательного текста.
*/

/* Hero kicker должен быть светлым, не красным */
html body.page-cars .aio-events-museum-hero .aio-events-kicker_light,
html body.page-cars .aio-cars-hero .aio-events-kicker_light {
    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
}

/* Убираем лишний технический воздух в шапке каталога */
html body.page-cars .aio-cars-catalog-head {
    margin: 0 0 clamp(24px, 3vw, 38px) !important;
}

html body.page-cars .aio-cars-catalog-head h2 {
    max-width: 760px !important;
}

/* Сетка: фильтр слева, карточки справа */
html body.page-cars .aio-cars-catalog-layout {
    grid-template-columns: 292px minmax(0, 1fr) !important;
    gap: clamp(30px, 3.5vw, 52px) !important;
}

/* Фильтр — в том же музейном стиле, что блоги/галерея/архив */
html body.page-cars .aio-cars-catalog-filter {
    background: rgba(248,245,239,.90) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 18px 44px rgba(7,23,44,.055) !important;
}

html body.page-cars .aio-cars-catalog-filter h2 {
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #1D1D1D !important;
}

/* Карточки */
html body.page-cars .aio-cars-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(22px, 2.4vw, 32px) !important;
}

html body.page-cars .aio-car-museum-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    background:
        linear-gradient(180deg, rgba(248,245,239,.96), rgba(246,239,228,.88)) !important;
    border: 1px solid rgba(7,45,91,.10) !important;
    box-shadow: 0 18px 42px rgba(7,23,44,.065) !important;
    overflow: hidden !important;
}

html body.page-cars .aio-car-museum-card__image {
    display: flex !important;
    width: 100% !important;
    height: clamp(230px, 19vw, 310px) !important;
    min-height: 0 !important;
    background: #111418 !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.82) contrast(.96) brightness(.92) !important;
    transition: transform .35s ease, filter .35s ease !important;
}

html body.page-cars .aio-car-museum-card:hover .aio-car-museum-card__image img {
    transform: scale(1.025) !important;
    filter: saturate(.96) contrast(1) brightness(.96) !important;
}

html body.page-cars .aio-car-museum-card__image span {
    margin: auto !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    color: #F2E3CF !important;
}

html body.page-cars .aio-car-museum-card__body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 238px !important;
    padding: 22px 24px 20px !important;
}

html body.page-cars .aio-car-museum-card__type {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-car-museum-card h3 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(30px, 2.7vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.022em !important;
    color: #072D5B !important;
}

html body.page-cars .aio-car-museum-card h3 a {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__meta {
    margin: 0 0 18px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.62) !important;
    -webkit-text-fill-color: rgba(45,45,45,.62) !important;
}

html body.page-cars .aio-car-museum-card dl {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 14px !important;
    width: 100% !important;
    margin: 0 0 18px !important;
}

html body.page-cars .aio-car-museum-card dl div {
    display: block !important;
    padding: 9px 0 0 !important;
    border-top: 1px solid rgba(7,45,91,.09) !important;
}

html body.page-cars .aio-car-museum-card dt {
    margin: 0 0 5px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.44) !important;
}

html body.page-cars .aio-car-museum-card dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: rgba(45,45,45,.76) !important;
    text-align: left !important;
}

html body.page-cars .aio-car-museum-card__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    margin-top: auto !important;
    padding: 0 22px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: rgba(248,245,239,.34) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__link::first-letter {
    color: inherit !important;
}

html body.page-cars .aio-car-museum-card__link:hover {
    border-color: rgba(169,67,43,.42) !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

@media (max-width: 1080px) {
    html body.page-cars .aio-cars-catalog-layout {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-cars-catalog-filter {
        position: static !important;
    }
}

@media (max-width: 760px) {
    html body.page-cars .aio-cars-catalog-grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-car-museum-card__image {
        height: 250px !important;
    }
}

/* AIO_CARS_CATALOG_CARDS_LIKE_CLUB_20260712_END */

/* AIO_CARS_CATALOG_FILTER_CARDS_COMPACT_20260712_START
   /cars: фильтр как на людях/блогах, карточки компактнее, без лишнего заголовка и коробки.
*/

/* Общий фон каталога без ощущения большой отдельной коробки */
html body.page-cars .aio-cars-catalog-page {
    padding: clamp(48px, 5.4vw, 76px) 0 clamp(72px, 7vw, 108px) !important;
    background:
        radial-gradient(circle at 92% 8%, rgba(169,67,43,.055), transparent 30rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 64%, #F2E3CF 100%) !important;
}

/* Сетка: верх карточек выравниваем по верху фильтра */
html body.page-cars .aio-cars-catalog-layout {
    grid-template-columns: 305px minmax(0, 1fr) !important;
    gap: clamp(34px, 4vw, 58px) !important;
    align-items: start !important;
}

/* Убираем визуально лишний заголовочный блок над карточками */
html body.page-cars .aio-cars-catalog-head {
    display: none !important;
}

/* Фильтр — ближе к странице людей */
html body.page-cars .aio-cars-catalog-filter {
    position: sticky !important;
    top: 104px !important;
    padding: 26px 26px 24px !important;

    background: rgba(248,245,239,.92) !important;
    border: 1px solid rgba(7,45,91,.105) !important;
    box-shadow: 0 16px 38px rgba(7,23,44,.05) !important;
}

html body.page-cars .aio-cars-catalog-filter > .aio-events-kicker,
html body.page-cars .aio-cars-catalog-filter .aio-events-kicker {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-cars-catalog-filter h2 {
    margin: 0 0 20px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 38px !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.02em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

html body.page-cars .aio-cars-catalog-filter .aio-events-filter-group {
    margin: 0 !important;
    padding: 18px 0 !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;
}

html body.page-cars .aio-cars-catalog-filter .aio-events-filter-group:first-of-type {
    border-top: 0 !important;
    padding-top: 0 !important;
}

html body.page-cars .aio-cars-catalog-filter .aio-events-filter-group h3 {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.52) !important;
}

html body.page-cars .aio-cars-catalog-filter .aio-events-filter-group a,
html body.page-cars .aio-cars-catalog-filter .aio-events-filter-group span {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 7px 0 !important;
    border: 0 !important;
    background: transparent !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
    text-decoration: none !important;
}

html body.page-cars .aio-cars-catalog-filter .aio-events-filter-group a:hover,
html body.page-cars .aio-cars-catalog-filter .aio-events-filter-group a.is-active {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Дисклеймер под фильтром */
html body.page-cars .aio-cars-catalog-disclaimer {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

html body.page-cars .aio-cars-catalog-disclaimer p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.56) !important;
    -webkit-text-fill-color: rgba(45,45,45,.56) !important;
}

/* Карточки: компактнее примерно в полтора раза */
html body.page-cars .aio-cars-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 26px) !important;
    align-items: start !important;
}

/* Снимаем ощущение большой бежевой коробки: карточки легче, тоньше, меньше */
html body.page-cars .aio-car-museum-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;

    background: rgba(248,245,239,.78) !important;
    border: 1px solid rgba(7,45,91,.09) !important;
    box-shadow: 0 10px 24px rgba(7,23,44,.035) !important;
    overflow: hidden !important;
}

html body.page-cars .aio-car-museum-card__image {
    height: clamp(150px, 13vw, 205px) !important;
    min-height: 0 !important;
    background: #111418 !important;
}

html body.page-cars .aio-car-museum-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.84) contrast(.96) brightness(.92) !important;
}

html body.page-cars .aio-car-museum-card__body {
    min-height: 0 !important;
    padding: 15px 17px 16px !important;
}

html body.page-cars .aio-car-museum-card__type {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Название автомобиля — музейный тонкий Cormorant */
html body.page-cars .aio-car-museum-card h3 {
    margin: 0 0 7px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(24px, 2vw, 31px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body.page-cars .aio-car-museum-card h3 a {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__meta {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.58) !important;
    -webkit-text-fill-color: rgba(45,45,45,.58) !important;
}

/* Характеристики — компактно, без тяжёлого блока */
html body.page-cars .aio-car-museum-card dl {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 12px !important;
    margin: 0 0 13px !important;
}

html body.page-cars .aio-car-museum-card dl div {
    display: block !important;
    padding: 7px 0 0 !important;
    border-top: 1px solid rgba(7,45,91,.075) !important;
}

html body.page-cars .aio-car-museum-card dt {
    margin: 0 0 4px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.5px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.42) !important;
}

html body.page-cars .aio-car-museum-card dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.32 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.68) !important;
    text-align: left !important;
}

/* Ссылка — не кнопка в рамке, а аккуратный текст */
html body.page-cars .aio-car-museum-card__link {
    display: inline-block !important;
    min-height: 0 !important;
    margin-top: 2px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__link:hover {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* На средних экранах */
@media (max-width: 1080px) {
    html body.page-cars .aio-cars-catalog-layout {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-cars-catalog-filter {
        position: static !important;
    }
}

@media (max-width: 760px) {
    html body.page-cars .aio-cars-catalog-grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-car-museum-card__image {
        height: 230px !important;
    }
}

/* AIO_CARS_CATALOG_FILTER_CARDS_COMPACT_20260712_END */

/* AIO_CARS_SELECT_FILTERS_20260712_START
   /cars: настоящий фильтр каталога — выпадающие списки, как в форме/каталоге.
*/

html body.page-cars .aio-cars-catalog-filter {
    padding: 26px 26px 24px !important;
}

html body.page-cars .aio-cars-filter-form {
    display: grid !important;
    gap: 15px !important;
    margin: 0 !important;
}

html body.page-cars .aio-cars-filter-form label {
    display: grid !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid rgba(7,45,91,.075) !important;
}

html body.page-cars .aio-cars-filter-form label span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.50) !important;
    -webkit-text-fill-color: rgba(45,45,45,.50) !important;
}

html body.page-cars .aio-cars-filter-form select {
    width: 100% !important;
    height: 38px !important;
    padding: 0 34px 0 12px !important;

    border: 1px solid rgba(7,45,91,.12) !important;
    border-radius: 0 !important;
    background-color: rgba(248,245,239,.62) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.74) !important;

    outline: none !important;
    box-shadow: none !important;
}

html body.page-cars .aio-cars-filter-form select:focus {
    border-color: rgba(169,67,43,.46) !important;
    background-color: rgba(248,245,239,.92) !important;
}

html body.page-cars .aio-cars-filter-form__actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding-top: 4px !important;
}

html body.page-cars .aio-cars-filter-form__actions button,
html body.page-cars .aio-cars-filter-form__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

html body.page-cars .aio-cars-filter-form__actions button {
    padding: 0 18px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    cursor: pointer !important;
}

html body.page-cars .aio-cars-filter-form__actions a {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-cars-catalog-disclaimer {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

/* AIO_CARS_SELECT_FILTERS_20260712_END */

/* AIO_CARS_SELECT_FILTERS_20260712_START
   /cars: настоящий фильтр каталога — выпадающие списки, как в форме/каталоге.
*/

html body.page-cars .aio-cars-catalog-filter {
    padding: 26px 26px 24px !important;
}

html body.page-cars .aio-cars-filter-form {
    display: grid !important;
    gap: 15px !important;
    margin: 0 !important;
}

html body.page-cars .aio-cars-filter-form label {
    display: grid !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid rgba(7,45,91,.075) !important;
}

html body.page-cars .aio-cars-filter-form label span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.50) !important;
    -webkit-text-fill-color: rgba(45,45,45,.50) !important;
}

html body.page-cars .aio-cars-filter-form select {
    width: 100% !important;
    height: 38px !important;
    padding: 0 34px 0 12px !important;

    border: 1px solid rgba(7,45,91,.12) !important;
    border-radius: 0 !important;
    background-color: rgba(248,245,239,.62) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.74) !important;

    outline: none !important;
    box-shadow: none !important;
}

html body.page-cars .aio-cars-filter-form select:focus {
    border-color: rgba(169,67,43,.46) !important;
    background-color: rgba(248,245,239,.92) !important;
}

html body.page-cars .aio-cars-filter-form__actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding-top: 4px !important;
}

html body.page-cars .aio-cars-filter-form__actions button,
html body.page-cars .aio-cars-filter-form__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

html body.page-cars .aio-cars-filter-form__actions button {
    padding: 0 18px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    cursor: pointer !important;
}

html body.page-cars .aio-cars-filter-form__actions a {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-cars-catalog-disclaimer {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

/* AIO_CARS_SELECT_FILTERS_20260712_END */

/* AIO_CARS_CLEAN_SELECTS_TRANSPARENT_20260712_START
   /cars: чистый каталог, выпадающие фильтры и светлая подложка для прозрачных PNG.
*/

html body.page-cars .aio-events-museum-hero .aio-events-kicker_light,
html body.page-cars .aio-cars-hero .aio-events-kicker_light {
    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
}

html body.page-cars .aio-cars-catalog-page {
    padding: clamp(48px, 5.4vw, 76px) 0 clamp(72px, 7vw, 108px) !important;
    background:
        radial-gradient(circle at 92% 8%, rgba(169,67,43,.055), transparent 30rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 64%, #F2E3CF 100%) !important;
}

html body.page-cars .aio-cars-catalog-layout {
    display: grid !important;
    grid-template-columns: 305px minmax(0, 1fr) !important;
    gap: clamp(34px, 4vw, 58px) !important;
    align-items: start !important;
}

html body.page-cars .aio-cars-catalog-filter {
    position: sticky !important;
    top: 104px !important;
    padding: 26px 26px 24px !important;
    background: rgba(248,245,239,.92) !important;
    border: 1px solid rgba(7,45,91,.105) !important;
    box-shadow: 0 16px 38px rgba(7,23,44,.05) !important;
}

html body.page-cars .aio-cars-catalog-filter > .aio-events-kicker,
html body.page-cars .aio-cars-catalog-filter .aio-events-kicker {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-cars-catalog-filter h2 {
    margin: 0 0 20px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid rgba(7,45,91,.10) !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 38px !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.02em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

html body.page-cars .aio-cars-filter-form {
    display: grid !important;
    gap: 15px !important;
    margin: 0 !important;
}

html body.page-cars .aio-cars-filter-form label {
    display: grid !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid rgba(7,45,91,.075) !important;
}

html body.page-cars .aio-cars-filter-form label span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.50) !important;
    -webkit-text-fill-color: rgba(45,45,45,.50) !important;
}

html body.page-cars .aio-cars-filter-form select {
    width: 100% !important;
    height: 38px !important;
    padding: 0 34px 0 12px !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    border-radius: 0 !important;
    background-color: rgba(248,245,239,.62) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.74) !important;
    outline: none !important;
    box-shadow: none !important;
}

html body.page-cars .aio-cars-filter-form select:focus {
    border-color: rgba(169,67,43,.46) !important;
    background-color: rgba(248,245,239,.92) !important;
}

html body.page-cars .aio-cars-filter-form__actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding-top: 4px !important;
}

html body.page-cars .aio-cars-filter-form__actions button,
html body.page-cars .aio-cars-filter-form__actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

html body.page-cars .aio-cars-filter-form__actions button {
    padding: 0 18px !important;
    border: 1px solid rgba(7,45,91,.18) !important;
    background: #072D5B !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    cursor: pointer !important;
}

html body.page-cars .aio-cars-filter-form__actions a {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-cars-catalog-disclaimer {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(7,45,91,.10) !important;
}

html body.page-cars .aio-cars-catalog-disclaimer p {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.56) !important;
    -webkit-text-fill-color: rgba(45,45,45,.56) !important;
}

html body.page-cars .aio-cars-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 26px) !important;
    align-items: start !important;
}

html body.page-cars .aio-car-museum-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    background: rgba(248,245,239,.78) !important;
    border: 1px solid rgba(7,45,91,.09) !important;
    box-shadow: 0 10px 24px rgba(7,23,44,.035) !important;
    overflow: hidden !important;
}

html body.page-cars .aio-car-museum-card__image {
    height: clamp(150px, 13vw, 205px) !important;
    min-height: 0 !important;
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,.28), transparent 12rem),
        linear-gradient(180deg, #F6EFE4 0%, #F2E3CF 100%) !important;
    overflow: hidden !important;
}

html body.page-cars .aio-car-museum-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.84) contrast(.96) brightness(.92) !important;
}

html body.page-cars .aio-car-museum-card__image_transparent {
    padding: 18px 22px !important;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.42), transparent 12rem),
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;
}

html body.page-cars .aio-car-museum-card__image_transparent img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: saturate(.92) contrast(.98) brightness(.98) drop-shadow(0 12px 18px rgba(7,23,44,.10)) !important;
}

html body.page-cars .aio-car-museum-card__image span {
    margin: auto !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    color: #072D5B !important;
}

html body.page-cars .aio-car-museum-card__body {
    min-height: 0 !important;
    padding: 15px 17px 16px !important;
}

html body.page-cars .aio-car-museum-card__type {
    margin: 0 0 10px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-car-museum-card h3 {
    margin: 0 0 7px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(24px, 2vw, 31px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body.page-cars .aio-car-museum-card h3 a {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__meta {
    margin: 0 0 12px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.58) !important;
    -webkit-text-fill-color: rgba(45,45,45,.58) !important;
}

html body.page-cars .aio-car-museum-card dl {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 12px !important;
    margin: 0 0 13px !important;
}

html body.page-cars .aio-car-museum-card dl div {
    display: block !important;
    padding: 7px 0 0 !important;
    border-top: 1px solid rgba(7,45,91,.075) !important;
}

html body.page-cars .aio-car-museum-card dt {
    margin: 0 0 4px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 7.5px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(45,45,45,.42) !important;
}

html body.page-cars .aio-car-museum-card dd {
    margin: 0 !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.32 !important;
    font-weight: 400 !important;
    color: rgba(45,45,45,.68) !important;
    text-align: left !important;
}

html body.page-cars .aio-car-museum-card__link {
    display: inline-block !important;
    min-height: 0 !important;
    margin-top: 2px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

@media (max-width: 1080px) {
    html body.page-cars .aio-cars-catalog-layout {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-cars-catalog-filter {
        position: static !important;
    }
}

@media (max-width: 760px) {
    html body.page-cars .aio-cars-catalog-grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-car-museum-card__image {
        height: 230px !important;
    }
}

/* AIO_CARS_CLEAN_SELECTS_TRANSPARENT_20260712_END */


/* AIO_CARS_RESTORE_EXISTING_CARD_LAYOUT_20260712_START
   /cars: возвращаем существующую карточку к нормальной вертикальной композиции.
   Ничего не пересобираем: фото сверху, текст снизу, карточки одинаковой высоты.
*/

html body.page-cars .aio-cars-catalog-page {
    background:
        radial-gradient(circle at 90% 8%, rgba(169,67,43,.035), transparent 32rem),
        linear-gradient(180deg, #F8F5EF 0%, #F6EFE4 58%, #F2E3CF 100%) !important;
}

html body.page-cars .aio-cars-catalog-main {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.page-cars .aio-cars-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(20px, 2.2vw, 30px) !important;
    align-items: stretch !important;
}

html body.page-cars .aio-car-museum-card {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;

    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;

    background: rgba(248,245,239,.82) !important;
    border: 1px solid rgba(7,45,91,.09) !important;
    box-shadow: 0 12px 28px rgba(7,23,44,.038) !important;
    overflow: hidden !important;
}

html body.page-cars .aio-car-museum-card__image {
    display: flex !important;
    width: 100% !important;
    height: clamp(215px, 18vw, 285px) !important;
    min-height: clamp(215px, 18vw, 285px) !important;
    padding: 0 !important;

    background:
        radial-gradient(circle at 50% 36%, rgba(255,255,255,.34), transparent 14rem),
        linear-gradient(180deg, #F8F5EF 0%, #F2E3CF 100%) !important;

    overflow: hidden !important;
}

html body.page-cars .aio-car-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.88) contrast(.97) brightness(.94) !important;
    transform: none !important;
}

html body.page-cars .aio-car-museum-card__body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 210px !important;
    padding: 18px 20px 18px !important;
}

html body.page-cars .aio-car-museum-card__type {
    margin: 0 0 11px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-car-museum-card h3 {
    margin: 0 0 8px !important;
    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(27px, 2.2vw, 35px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.02em !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

html body.page-cars .aio-car-museum-card h3 a {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__meta {
    margin: 0 0 13px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
    color: rgba(45,45,45,.58) !important;
    -webkit-text-fill-color: rgba(45,45,45,.58) !important;
}

/* Если в шаблоне уже стоят новые строки характеристик — показываем их аккуратно, без перестройки карточки */
html body.page-cars .aio-car-museum-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 16px !important;
    margin: 0 0 14px !important;
}

html body.page-cars .aio-car-museum-card__facts p {
    margin: 0 !important;
    padding-top: 7px !important;
    border-top: 1px solid rgba(7,45,91,.075) !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

html body.page-cars .aio-car-museum-card__facts span {
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-car-museum-card__facts span::after {
    content: " — " !important;
    color: rgba(169,67,43,.72) !important;
}

html body.page-cars .aio-car-museum-card__facts em {
    font-style: normal !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

html body.page-cars .aio-car-museum-card__link {
    display: inline-block !important;
    margin-top: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__link:hover {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Фильтр: кнопка чёрная прямоугольная */
html body.page-cars .aio-cars-filter-form__actions button {
    border-radius: 0 !important;
    border-color: #101216 !important;
    background: #101216 !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-cars .aio-cars-filter-form__actions button:hover {
    border-color: #A9432B !important;
    background: transparent !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

@media (max-width: 760px) {
    html body.page-cars .aio-cars-catalog-grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-cars .aio-car-museum-card__image {
        height: 230px !important;
        min-height: 230px !important;
    }
}

/* AIO_CARS_RESTORE_EXISTING_CARD_LAYOUT_20260712_END */

/* AIO_CARS_CARD_TYPOGRAPHY_FACTS_LINK_20260712_START
   /cars: точечная правка карточки — заголовок, характеристики, ссылка подробнее.
*/

/* Тело карточки делаем сеткой, чтобы "Подробнее" стояло внизу справа */
html body.page-cars .aio-car-museum-card__body {
    display: grid !important;
    grid-template-rows: auto auto auto 1fr auto !important;
    min-height: 230px !important;
    padding: 20px 22px 19px !important;
}

/* Название автомобиля: музейный Cormorant, аккуратно, не жирно */
html body.page-cars .aio-car-museum-card h3 {
    margin: 0 0 10px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(25px, 2.05vw, 32px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body.page-cars .aio-car-museum-card h3 a {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
    text-decoration: none !important;
}

/* Строка ГАЗ · модель · год — чуть спокойнее */
html body.page-cars .aio-car-museum-card__meta {
    margin: 0 0 18px !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    color: rgba(45,45,45,.60) !important;
    -webkit-text-fill-color: rgba(45,45,45,.60) !important;
}

/* Характеристики: крупнее, свободнее, не налеплено */
html body.page-cars .aio-car-museum-card__facts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 22px !important;
    margin: 0 0 18px !important;
    padding-top: 2px !important;
}

html body.page-cars .aio-car-museum-card__facts p {
    margin: 0 !important;
    padding-top: 9px !important;
    border-top: 1px solid rgba(7,45,91,.08) !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

html body.page-cars .aio-car-museum-card__facts span {
    display: inline !important;
    margin: 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-car-museum-card__facts span::after {
    content: " — " !important;
    margin: 0 3px 0 5px !important;
    color: rgba(169,67,43,.72) !important;
    -webkit-text-fill-color: rgba(169,67,43,.72) !important;
}

html body.page-cars .aio-car-museum-card__facts em {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    font-style: normal !important;

    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* Подробнее — в правый нижний угол */
html body.page-cars .aio-car-museum-card__link {
    justify-self: end !important;
    align-self: end !important;

    display: inline-block !important;
    margin: 4px 0 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card__link:hover {
    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

/* AIO_CARS_CARD_TYPOGRAPHY_FACTS_LINK_20260712_END */


/* AIO_CARS_CTA_INSIDE_GRID_CARD_20260712_START
   /cars: CTA как одна из карточек каталога, по аналогии со страницей людей.
*/

html body.page-cars .aio-car-museum-card_cta {
    min-height: 100% !important;
    display: flex !important;
    background:
        radial-gradient(circle at 80% 12%, rgba(169,67,43,.18), transparent 18rem),
        linear-gradient(135deg, #111418 0%, #1B1D20 54%, #252525 100%) !important;
    border: 1px solid rgba(248,245,239,.12) !important;
    box-shadow: 0 18px 42px rgba(7,23,44,.10) !important;
}

html body.page-cars .aio-car-museum-card_cta__inner {
    min-height: 100% !important;
    padding: clamp(26px, 3vw, 38px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

html body.page-cars .aio-car-museum-card_cta__kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

html body.page-cars .aio-car-museum-card_cta h3 {
    max-width: 420px !important;
    margin: 0 0 18px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.2vw, 52px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.026em !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-cars .aio-car-museum-card_cta p:not(.aio-car-museum-card_cta__kicker) {
    max-width: 420px !important;
    margin: 0 0 28px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;

    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

html body.page-cars .aio-car-museum-card_cta a {
    align-self: flex-start !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card_cta a:hover {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* На случай если автомобилей меньше трёх — пока CTA не выводится.
   Позже можно добавить отдельную CTA-карточку и в пустое состояние. */

/* AIO_CARS_CTA_INSIDE_GRID_CARD_20260712_END */

/* AIO_CARS_CTA_LAST_CARD_HERO_KICKER_20260712_START
   /cars: CTA всегда последней карточкой, цвета в музейной палитре.
*/

html body.page-cars .aio-car-museum-card_cta {
    min-height: 100% !important;
    display: flex !important;
    background:
        radial-gradient(circle at 78% 14%, rgba(169,67,43,.20), transparent 18rem),
        linear-gradient(135deg, #111418 0%, #1B1D20 54%, #252525 100%) !important;
    border: 1px solid rgba(248,245,239,.12) !important;
    box-shadow: 0 18px 42px rgba(7,23,44,.10) !important;
}

html body.page-cars .aio-car-museum-card_cta__inner {
    min-height: 100% !important;
    padding: clamp(26px, 3vw, 38px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

html body.page-cars .aio-car-museum-card_cta__kicker {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-cars .aio-car-museum-card_cta h3 {
    max-width: 420px !important;
    margin: 0 0 18px !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.2vw, 52px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.026em !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-cars .aio-car-museum-card_cta p:not(.aio-car-museum-card_cta__kicker) {
    max-width: 420px !important;
    margin: 0 0 28px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;

    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

html body.page-cars .aio-car-museum-card_cta a {
    align-self: flex-start !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration: none !important;
}

html body.page-cars .aio-car-museum-card_cta a:hover {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* AIO_CARS_CTA_LAST_CARD_HERO_KICKER_20260712_END */


/* AIO_CAR_ITEM_HERO_COMPACT_WIDE_PHOTO_20260712_START
   /cars/:slug — hero автомобиля: ниже, компактнее, слева текст 1/3, справа фото 2/3.
*/

html body.page-car-item .aio-car-item-hero {
    padding: 0 !important;
    min-height: 0 !important;
    background:
        radial-gradient(circle at 88% 18%, rgba(169,67,43,.13), transparent 34rem),
        linear-gradient(135deg, #111418 0%, #1B1D20 56%, #252525 100%) !important;
    color: #F8F5EF !important;
    overflow: hidden !important;
}

html body.page-car-item .aio-car-item-hero .aio-container {
    max-width: none !important;
    width: 100% !important;
    padding-left: max(28px, calc((100vw - 1320px) / 2)) !important;
    padding-right: 0 !important;
}

html body.page-car-item .aio-car-item-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(340px, .36fr) minmax(0, .64fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    min-height: clamp(380px, 42vw, 520px) !important;
}

html body.page-car-item .aio-car-item-hero__content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: clamp(42px, 5vw, 68px) clamp(34px, 4vw, 58px) clamp(42px, 5vw, 68px) 0 !important;
}

/* Кикер */
html body.page-car-item .aio-car-item-hero .aio-events-kicker,
html body.page-car-item .aio-car-item-hero .aio-events-kicker_light {
    margin: 0 0 15px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Заголовок: компактный музейный Cormorant */
html body.page-car-item .aio-car-item-hero h1 {
    max-width: 520px !important;
    margin: 0 !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4.15vw, 62px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.028em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Краткое описание */
html body.page-car-item .aio-car-item-hero__content > p:not(.aio-events-kicker) {
    max-width: 520px !important;
    margin: 22px 0 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(14px, .98vw, 16px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(248,245,239,.74) !important;
    -webkit-text-fill-color: rgba(248,245,239,.74) !important;
}

/* Факты одной строкой, без коробочек */
html body.page-car-item .aio-car-item-hero__facts,
html body.page-car-item .aio-car-item-hero__facts-line {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 22px !important;
    max-width: 560px !important;
    margin: 26px 0 0 !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(248,245,239,.14) !important;
}

html body.page-car-item .aio-car-item-hero__facts-line span {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 7px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.84) !important;
    -webkit-text-fill-color: rgba(248,245,239,.84) !important;
}

html body.page-car-item .aio-car-item-hero__facts-line b {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-car-item .aio-car-item-hero__facts-line b::after {
    content: "—" !important;
    margin-left: 7px !important;
    color: rgba(169,67,43,.72) !important;
    -webkit-text-fill-color: rgba(169,67,43,.72) !important;
}

/* Фото: широкая правая часть hero, без белого квадрата/постамента */
html body.page-car-item .aio-car-item-hero__photo {
    position: relative !important;
    width: 100% !important;
    min-height: clamp(380px, 42vw, 520px) !important;
    height: 100% !important;

    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.page-car-item .aio-car-item-hero__photo::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg, rgba(17,20,24,.90) 0%, rgba(17,20,24,.38) 22%, rgba(17,20,24,0) 48%),
        radial-gradient(circle at 74% 46%, rgba(248,245,239,.08), transparent 24rem) !important;
}

html body.page-car-item .aio-car-item-hero__photo img {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;

    filter: saturate(.9) contrast(.98) brightness(.88) !important;
    transform: none !important;
}

html body.page-car-item .aio-car-item-hero__photo span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", Georgia, serif !important;
    font-size: 44px !important;
    line-height: 1 !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color: rgba(248,245,239,.72) !important;
}

/* Планшет */
@media (max-width: 1100px) {
    html body.page-car-item .aio-car-item-hero .aio-container {
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    html body.page-car-item .aio-car-item-hero__grid {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    html body.page-car-item .aio-car-item-hero__content {
        padding: 44px 0 34px !important;
    }

    html body.page-car-item .aio-car-item-hero__photo {
        min-height: 360px !important;
        height: 360px !important;
    }

    html body.page-car-item .aio-car-item-hero__photo::before {
        background:
            linear-gradient(180deg, rgba(17,20,24,.18) 0%, rgba(17,20,24,0) 42%),
            radial-gradient(circle at 50% 50%, rgba(248,245,239,.06), transparent 24rem) !important;
    }
}

/* Мобильный */
@media (max-width: 680px) {
    html body.page-car-item .aio-car-item-hero h1 {
        font-size: clamp(36px, 11vw, 52px) !important;
    }

    html body.page-car-item .aio-car-item-hero__facts-line {
        gap: 10px 16px !important;
    }

    html body.page-car-item .aio-car-item-hero__photo {
        min-height: 280px !important;
        height: 280px !important;
    }
}

/* AIO_CAR_ITEM_HERO_COMPACT_WIDE_PHOTO_20260712_END */

/* AIO_CAR_ITEM_HERO_COMPACT_DARK_LEFT_20260712_START
   /cars/:slug — hero автомобиля: ниже, темнее, заголовок капсом, факты вертикально.
*/

html body.page-car-item .aio-car-item-hero {
    min-height: 0 !important;
    background:
        radial-gradient(circle at 82% 24%, rgba(169,67,43,.12), transparent 34rem),
        linear-gradient(135deg, #111418 0%, #15171B 48%, #252525 100%) !important;
}

html body.page-car-item .aio-car-item-hero__grid {
    min-height: clamp(330px, 34vw, 440px) !important;
    grid-template-columns: minmax(340px, .34fr) minmax(0, .66fr) !important;
}

/* Левая часть — тот же глубокий чёрный, чтобы не спорила с фото */
html body.page-car-item .aio-car-item-hero__content {
    position: relative !important;
    z-index: 3 !important;
    justify-content: center !important;
    padding: clamp(34px, 4.2vw, 54px) clamp(34px, 4vw, 56px) clamp(34px, 4.2vw, 54px) 0 !important;
    background: #111418 !important;
}

/* Мягкий переход от текста к фото */
html body.page-car-item .aio-car-item-hero__content::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: -120px !important;
    bottom: 0 !important;
    width: 120px !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, #111418 0%, rgba(17,20,24,.72) 42%, rgba(17,20,24,0) 100%) !important;
}

/* Кикер */
html body.page-car-item .aio-car-item-hero .aio-events-kicker,
html body.page-car-item .aio-car-item-hero .aio-events-kicker_light {
    margin: 0 0 14px !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Заголовок — музейный Cormorant, капсом, компактнее */
html body.page-car-item .aio-car-item-hero h1 {
    max-width: 520px !important;
    margin: 0 !important;

    font-family: "AIO Cormorant", "AIO Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.65vw, 56px) !important;
    line-height: .92 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Краткое описание — чистый Montserrat */
html body.page-car-item .aio-car-item-hero__content > p:not(.aio-events-kicker) {
    max-width: 500px !important;
    margin: 20px 0 0 !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: clamp(13.5px, .96vw, 15.5px) !important;
    line-height: 1.64 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color: rgba(248,245,239,.76) !important;
}

/* Характеристики — вертикально, без коробочек */
html body.page-car-item .aio-car-item-hero__facts-line {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    max-width: 500px !important;
    margin: 24px 0 0 !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(248,245,239,.14) !important;
}

html body.page-car-item .aio-car-item-hero__facts-line span {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.86) !important;
    -webkit-text-fill-color: rgba(248,245,239,.86) !important;
}

html body.page-car-item .aio-car-item-hero__facts-line b {
    min-width: 82px !important;

    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-car-item .aio-car-item-hero__facts-line b::after {
    content: "—" !important;
    margin-left: 8px !important;
    color: rgba(169,67,43,.72) !important;
    -webkit-text-fill-color: rgba(169,67,43,.72) !important;
}

/* Фото — широкое, ниже, без постамента */
html body.page-car-item .aio-car-item-hero__photo {
    min-height: clamp(330px, 34vw, 440px) !important;
    height: clamp(330px, 34vw, 440px) !important;
    background: #15171B !important;
}

html body.page-car-item .aio-car-item-hero__photo::before {
    background:
        linear-gradient(90deg, rgba(17,20,24,.74) 0%, rgba(17,20,24,.28) 18%, rgba(17,20,24,0) 42%),
        radial-gradient(circle at 74% 46%, rgba(248,245,239,.055), transparent 24rem) !important;
}

html body.page-car-item .aio-car-item-hero__photo img {
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(.9) contrast(.98) brightness(.88) !important;
}

@media (max-width: 1100px) {
    html body.page-car-item .aio-car-item-hero__grid {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    html body.page-car-item .aio-car-item-hero__content {
        padding: 42px 0 32px !important;
    }

    html body.page-car-item .aio-car-item-hero__content::after {
        display: none !important;
    }

    html body.page-car-item .aio-car-item-hero__photo {
        height: 340px !important;
        min-height: 340px !important;
    }
}

@media (max-width: 680px) {
    html body.page-car-item .aio-car-item-hero h1 {
        font-size: clamp(34px, 10vw, 48px) !important;
    }

    html body.page-car-item .aio-car-item-hero__photo {
        height: 270px !important;
        min-height: 270px !important;
    }
}

/* AIO_CAR_ITEM_HERO_COMPACT_DARK_LEFT_20260712_END */


/* AIO_CAR_ITEM_HERO_FULLBLEED_PHOTO_ALIGN_20260712_START
   /cars/:slug — фото снова тянется до правого края, текст выровнен по нижнему контейнеру.
*/

html body.page-car-item .aio-car-item-hero {
    --aio-car-hero-left: clamp(138px, 7.8vw, 170px);

    padding: 0 !important;
    min-height: 0 !important;

    background:
        radial-gradient(circle at 84% 22%, rgba(169,67,43,.11), transparent 34rem),
        linear-gradient(135deg, #111418 0%, #15171B 50%, #252525 100%) !important;
    overflow: hidden !important;
}

html body.page-car-item .aio-car-item-hero .aio-container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html body.page-car-item .aio-car-item-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(500px, 39vw) minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: stretch !important;

    min-height: clamp(330px, 31vw, 430px) !important;
}

/* Левая часть: ровняем по нижнему блоку "Паспорт" */
html body.page-car-item .aio-car-item-hero__content {
    position: relative !important;
    z-index: 3 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    padding-top: clamp(32px, 3.8vw, 50px) !important;
    padding-bottom: clamp(32px, 3.8vw, 50px) !important;
    padding-left: var(--aio-car-hero-left) !important;
    padding-right: clamp(34px, 4vw, 58px) !important;

    background: #111418 !important;
}

/* Мягкий переход к фото */
html body.page-car-item .aio-car-item-hero__content::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: -140px !important;
    bottom: 0 !important;
    width: 140px !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, #111418 0%, rgba(17,20,24,.76) 42%, rgba(17,20,24,0) 100%) !important;
}

/* Фото: не отдельная картинка, а правая часть hero до края экрана */
html body.page-car-item .aio-car-item-hero__photo {
    position: relative !important;
    width: 100% !important;

    min-height: clamp(330px, 31vw, 430px) !important;
    height: clamp(330px, 31vw, 430px) !important;

    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;

    background: #15171B !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.page-car-item .aio-car-item-hero__photo::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;

    background:
        linear-gradient(90deg, rgba(17,20,24,.76) 0%, rgba(17,20,24,.32) 16%, rgba(17,20,24,0) 38%),
        radial-gradient(circle at 74% 46%, rgba(248,245,239,.04), transparent 24rem) !important;
}

html body.page-car-item .aio-car-item-hero__photo img {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;

    filter: saturate(.9) contrast(.98) brightness(.88) !important;
    transform: none !important;
}

/* Текст пока оставляем в текущей логике, но чуть собираем */
html body.page-car-item .aio-car-item-hero h1 {
    font-size: clamp(30px, 3.2vw, 48px) !important;
    line-height: .94 !important;
}

html body.page-car-item .aio-car-item-hero__content > p:not(.aio-events-kicker) {
    max-width: 500px !important;
    font-size: clamp(13.5px, .94vw, 15px) !important;
    line-height: 1.62 !important;
}

html body.page-car-item .aio-car-item-hero__facts-line {
    margin-top: 21px !important;
}

@media (max-width: 1100px) {
    html body.page-car-item .aio-car-item-hero {
        --aio-car-hero-left: 28px;
    }

    html body.page-car-item .aio-car-item-hero__grid {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    html body.page-car-item .aio-car-item-hero__content {
        padding-right: 28px !important;
    }

    html body.page-car-item .aio-car-item-hero__content::after {
        display: none !important;
    }

    html body.page-car-item .aio-car-item-hero__photo {
        height: 330px !important;
        min-height: 330px !important;
    }
}

/* AIO_CAR_ITEM_HERO_FULLBLEED_PHOTO_ALIGN_20260712_END */

/* AIO_CAR_ITEM_HERO_NO_PHOTO_RESIZE_20260712_START
   /cars/:slug — запрещаем hero принудительно форматировать фото.
   Фото больше не cover/contain, не absolute, не растягивается по фиксированной рамке.
*/

html body.page-car-item .aio-car-item-hero {
    background:
        radial-gradient(circle at 82% 22%, rgba(169,67,43,.10), transparent 34rem),
        linear-gradient(135deg, #111418 0%, #15171B 50%, #252525 100%) !important;
    overflow: hidden !important;
}

html body.page-car-item .aio-car-item-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(500px, 39vw) minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: center !important;

    min-height: 0 !important;
    height: auto !important;
}

/* Левая текстовая часть остаётся компактной */
html body.page-car-item .aio-car-item-hero__content {
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    min-height: 0 !important;
    height: auto !important;

    background: #111418 !important;
}

/* Правый блок больше не задаёт фото фиксированный размер */
html body.page-car-item .aio-car-item-hero__photo {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow: visible !important;
    background: #15171B !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Убираем затемняющие/размывающие слои поверх фото */
html body.page-car-item .aio-car-item-hero__photo::before,
html body.page-car-item .aio-car-item-hero__photo::after {
    display: none !important;
    content: none !important;
}

/* Главное: не форматировать изображение */
html body.page-car-item .aio-car-item-hero__photo img {
    position: static !important;
    inset: auto !important;

    display: block !important;

    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;

    object-fit: initial !important;
    object-position: initial !important;

    transform: none !important;
    filter: none !important;

    margin: 0 !important;
}

/* Чтобы фото доходило до правого края, сам блок фото прижат вправо */
html body.page-car-item .aio-car-item-hero .aio-container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Мягкий переход оставляем только от левой текстовой части, не от фото */
html body.page-car-item .aio-car-item-hero__content::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: -120px !important;
    bottom: 0 !important;
    width: 120px !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, #111418 0%, rgba(17,20,24,.72) 42%, rgba(17,20,24,0) 100%) !important;
}

/* Текстовая часть: без дополнительных изменений фото */
html body.page-car-item .aio-car-item-hero h1 {
    font-size: clamp(30px, 3.2vw, 48px) !important;
    line-height: .94 !important;
}

@media (max-width: 1100px) {
    html body.page-car-item .aio-car-item-hero__grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-car-item .aio-car-item-hero__content::after {
        display: none !important;
    }

    html body.page-car-item .aio-car-item-hero__photo {
        justify-content: center !important;
        overflow: hidden !important;
    }

    html body.page-car-item .aio-car-item-hero__photo img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* AIO_CAR_ITEM_HERO_NO_PHOTO_RESIZE_20260712_END */

/* AIO_CAR_HERO_PASSPORT_INLINE_20260712_START
   /cars/:slug

   Паспорт автомобиля перенесён внутрь hero.
   Фото и текущая композиция hero не изменяются.
*/

html body.page-car-item .aio-car-item-hero__passport {
    width: 100% !important;
    max-width: 610px !important;

    margin: 30px 0 0 !important;
    padding: 22px 0 0 !important;

    border-top:
        1px solid rgba(248, 245, 239, .16) !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__passport-kicker {
    margin: 0 0 13px !important;

    font-family:
        var(
            --aio-font-ui,
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif
        ) !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
}

html body.page-car-item .aio-car-item-hero__passport dl {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    column-gap: 28px !important;
    row-gap: 0 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-car-item .aio-car-item-hero__passport dl > div {
    display: grid !important;
    grid-template-columns:
        minmax(78px, 100px)
        minmax(0, 1fr) !important;

    align-items: baseline !important;
    gap: 11px !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 10px 0 !important;

    border-top:
        1px solid rgba(248, 245, 239, .105) !important;
}

html body.page-car-item .aio-car-item-hero__passport dt {
    margin: 0 !important;
    padding: 0 !important;

    font-family:
        var(
            --aio-font-ui,
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif
        ) !important;

    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    letter-spacing: .14em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
}

html body.page-car-item .aio-car-item-hero__passport dd {
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        var(
            --aio-font-ui,
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif
        ) !important;

    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.42 !important;

    overflow-wrap: anywhere !important;

    color: rgba(248, 245, 239, .84) !important;
}

html body.page-car-item .aio-car-item-hero__owner {
    display: block !important;

    margin: 13px 0 0 !important;
    padding: 13px 0 0 !important;

    border-top:
        1px solid rgba(248, 245, 239, .13) !important;

    font-family:
        var(
            --aio-font-ui,
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif
        ) !important;

    font-size: 9.5px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;

    letter-spacing: .08em !important;
    text-decoration: none !important;
    text-transform: uppercase !important;

    color: rgba(248, 245, 239, .66) !important;

    transition:
        color .2s ease !important;
}

html body.page-car-item .aio-car-item-hero__owner:hover {
    color: #F8F5EF !important;
}

/*
   После переноса паспорта нижняя часть больше
   не должна сохранять пустую левую колонку.
*/
html body.page-car-item .aio-car-item-layout {
    display: block !important;
    grid-template-columns: none !important;
}

html body.page-car-item .aio-car-item-main {
    width: 100% !important;
    max-width: 980px !important;

    margin-right: auto !important;
    margin-left: auto !important;
}

@media (max-width: 700px) {
    html body.page-car-item .aio-car-item-hero__passport {
        margin-top: 24px !important;
        padding-top: 19px !important;
    }

    html body.page-car-item .aio-car-item-hero__passport dl {
        grid-template-columns:
            minmax(0, 1fr) !important;
    }

    html body.page-car-item
    .aio-car-item-hero__passport
    dl > div {
        grid-template-columns:
            minmax(94px, 112px)
            minmax(0, 1fr) !important;
    }

    html body.page-car-item .aio-car-item-main {
        max-width: none !important;
    }
}

/* AIO_CAR_HERO_PASSPORT_INLINE_20260712_END */

/* AIO_CAR_HERO_PASSPORT_LAYOUT_20260712_START
   /cars/:slug

   Убрано описание под названием.
   Заголовок уменьшен примерно в полтора раза.
   Короткие паспортные данные расположены в сетке 3 × 2.
   Длинные значения занимают отдельную строку.
*/

html body.page-car-item .aio-car-item-hero h1 {
    max-width: 560px !important;

    margin: 0 !important;

    font-size:
        clamp(28px, 2.3vw, 39px) !important;

    line-height: .98 !important;
    letter-spacing: .025em !important;
}

html body.page-car-item .aio-car-item-hero__passport {
    width: 100% !important;
    max-width: 610px !important;

    margin: 25px 0 0 !important;
    padding: 20px 0 0 !important;

    border-top:
        1px solid rgba(248, 245, 239, .16) !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__passport-kicker {
    margin: 0 0 12px !important;
}

html body.page-car-item .aio-car-item-hero__passport dl {
    display: grid !important;
    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    column-gap: 22px !important;
    row-gap: 0 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__fact {
    display: block !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 11px 0 12px !important;

    border-top:
        1px solid rgba(248, 245, 239, .105) !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__fact dt {
    display: block !important;

    margin: 0 0 6px !important;
    padding: 0 !important;

    font-size: 8.5px !important;
    line-height: 1.25 !important;

    letter-spacing: .14em !important;

    white-space: normal !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__fact dd {
    display: block !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.38 !important;

    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;

    color: rgba(248, 245, 239, .86) !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__fact_wide {
    grid-column: 1 / -1 !important;

    display: grid !important;
    grid-template-columns:
        minmax(145px, 170px)
        minmax(0, 1fr) !important;

    align-items: baseline !important;
    column-gap: 22px !important;

    padding:
        11px
        0
        12px !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__fact_wide dt {
    margin: 0 !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__fact_wide dd {
    margin: 0 !important;

    font-size: 12.5px !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__fact_collection {
    padding-bottom: 10px !important;
}

html body.page-car-item .aio-car-item-hero__owner {
    margin-top: 10px !important;
    padding-top: 12px !important;
}

@media (max-width: 760px) {
    html body.page-car-item
    .aio-car-item-hero__passport dl {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    html body.page-car-item
    .aio-car-item-hero__passport
    .aio-car-item-hero__fact_wide {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 520px) {
    html body.page-car-item .aio-car-item-hero h1 {
        font-size:
            clamp(27px, 9vw, 36px) !important;
    }

    html body.page-car-item
    .aio-car-item-hero__passport dl {
        grid-template-columns:
            minmax(0, 1fr) !important;
    }

    html body.page-car-item
    .aio-car-item-hero__passport
    .aio-car-item-hero__fact_wide {
        display: block !important;
    }

    html body.page-car-item
    .aio-car-item-hero__passport
    .aio-car-item-hero__fact_wide dt {
        margin-bottom: 6px !important;
    }
}

/* AIO_CAR_HERO_VALUE_CASE_REGISTRY_20260712_START
   Описательные значения визуально приводятся к нижнему регистру.
   Исходные данные в базе не изменяются.
*/

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__fact_lower dd {
    text-transform: lowercase !important;
}

html body.page-car-item
.aio-car-item-hero__passport
.aio-car-item-hero__fact_registry dd {
    font-weight: 600 !important;
    letter-spacing: .055em !important;
    text-transform: none !important;
    font-variant-numeric: tabular-nums !important;
}

/* AIO_CAR_HERO_VALUE_CASE_REGISTRY_20260712_END */

/* AIO_CAR_HERO_PASSPORT_LAYOUT_20260712_END */

/* AIO_CAR_SUBNAV_CANONICAL_20260712_START
   /cars/:slug

   Единственный итоговый CSS-блок навигации автомобиля.

   Фактическая структура:
   nav.aio-car-item-subnav
   > div.aio-container
   > div.aio-car-item-subnav__inner

   Desktop:
   левая граница 136px — линия паспорта автомобиля.

   Tablet:
   левая граница 32px.

   Mobile:
   левая граница 22px.
*/

html body.page-car-item
nav.aio-car-item-subnav {
    position: relative !important;
    z-index: 12 !important;

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #FCFBF8 !important;
    background-image: none !important;

    border-top:
        1px solid rgba(6, 31, 62, .045) !important;

    border-bottom:
        1px solid rgba(6, 31, 62, .10) !important;

    box-shadow:
        0 8px 20px rgba(6, 31, 62, .03) !important;
}

html body.page-car-item
nav.aio-car-item-subnav
> div.aio-container {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

html body.page-car-item
nav.aio-car-item-subnav
> div.aio-container
> div.aio-car-item-subnav__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap:
        clamp(18px, 3vw, 38px) !important;

    width: 100% !important;
    max-width: none !important;
    min-height: 56px !important;

    margin: 0 !important;

    padding-top: 0 !important;
    padding-right: 40px !important;
    padding-bottom: 0 !important;
    padding-left: 136px !important;

    box-sizing: border-box !important;

    text-align: left !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
}

html body.page-car-item
nav.aio-car-item-subnav
> div.aio-container
> div.aio-car-item-subnav__inner::-webkit-scrollbar {
    display: none !important;
}

html body.page-car-item
nav.aio-car-item-subnav
a {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    flex: 0 0 auto !important;

    min-height: 56px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    letter-spacing: .13em !important;

    text-align: left !important;
    text-decoration: none !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;

    color: #061E3A !important;

    transition:
        color .2s ease !important;
}

html body.page-car-item
nav.aio-car-item-subnav
a::after {
    display: none !important;
    content: none !important;
}

html body.page-car-item
nav.aio-car-item-subnav
a:hover {
    color: #A9432B !important;
}

html body.page-car-item
.aio-car-item-section {
    scroll-margin-top: 140px !important;
}

/*
   Сохраняем утверждённое уплотнение hero.
   Фотография, паспорт и размеры автомобиля не меняются.
*/
@media (min-width: 1181px) {
    html body.page-car-item
    .aio-car-item-hero__content {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    html body.page-car-item
    .aio-car-item-hero__passport {
        margin-top: 18px !important;
        padding-top: 15px !important;
    }

    html body.page-car-item
    .aio-car-item-hero__passport
    .aio-car-item-hero__fact {
        padding-top: 8px !important;
        padding-bottom: 9px !important;
    }

    html body.page-car-item
    .aio-car-item-hero__owner {
        margin-top: 7px !important;
        padding-top: 9px !important;
    }

    html body.page-car-item
    .aio-car-item-hero__photo img {
        max-width: 96% !important;
    }
}

@media (min-width: 761px) and (max-width: 1180px) {
    html body.page-car-item
    nav.aio-car-item-subnav
    > div.aio-container
    > div.aio-car-item-subnav__inner {
        padding-right: 32px !important;
        padding-left: 32px !important;
    }
}

@media (max-width: 760px) {
    html body.page-car-item
    nav.aio-car-item-subnav
    > div.aio-container
    > div.aio-car-item-subnav__inner {
        gap: 24px !important;

        min-height: 54px !important;

        padding-right: 22px !important;
        padding-left: 22px !important;
    }

    html body.page-car-item
    nav.aio-car-item-subnav
    a {
        min-height: 54px !important;

        font-size: 10px !important;
        letter-spacing: .11em !important;
    }

    html body.page-car-item
    .aio-car-item-hero__photo img {
        max-width: 100% !important;
    }
}

/* AIO_CAR_SUBNAV_CANONICAL_20260712_END */

/* AIO_CAR_CLEAN_CONTENT_20260712_START
   /cars/:slug

   Единая нижняя музейная часть страницы автомобиля.

   Контент и меню используют одну геометрию:
   слева — линия пункта «Об автомобиле»,
   справа — линия области «Личный кабинет».

   Никаких карточек, панелей, рамок или теней.
*/

html body.page-car-item {
    --aio-car-content-side:
        clamp(
            28px,
            9.5vw,
            170px
        );
}


/* ----------------------------------------------------------
   ОБЩАЯ ЛИНИЯ МЕНЮ И КОНТЕНТА
   ---------------------------------------------------------- */

html body.page-car-item
.aio-car-item-subnav
> .aio-container {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-car-item
.aio-car-item-subnav
> .aio-container
> .aio-car-item-subnav__inner {
    width: 100% !important;

    padding-right:
        var(--aio-car-content-side) !important;

    padding-left:
        var(--aio-car-content-side) !important;

    box-sizing: border-box !important;
}


/* ----------------------------------------------------------
   ПОЛНОШИРИННАЯ МУЗЕЙНАЯ ПЛОСКОСТЬ
   ---------------------------------------------------------- */

html body.page-car-item .aio-car-clean,
html body.page-car-item .aio-car-clean *,
html body.page-car-item .aio-car-clean *::before,
html body.page-car-item .aio-car-clean *::after {
    box-sizing: border-box !important;
}

html body.page-car-item .aio-car-clean {
    position: relative !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F7F2E9 46%,
            #F4E9D8 74%,
            #F2E3CF 100%
        ) !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #111418 !important;
}

html body.page-car-item .aio-car-clean__inner {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding-right:
        var(--aio-car-content-side) !important;

    padding-left:
        var(--aio-car-content-side) !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
}


/* ----------------------------------------------------------
   ГЛАВЫ
   ---------------------------------------------------------- */

html body.page-car-item .aio-car-clean__section {
    display: grid !important;

    grid-template-columns:
        minmax(250px, 340px)
        minmax(0, 1fr) !important;

    column-gap:
        clamp(62px, 6vw, 108px) !important;

    align-items: start !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding:
        clamp(58px, 5.5vw, 84px)
        0 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    outline: 0 !important;

    scroll-margin-top: 138px !important;
}

html body.page-car-item
.aio-car-clean__section
+ .aio-car-clean__section {
    border-top:
        1px solid rgba(17, 20, 24, .105) !important;
}

html body.page-car-item .aio-car-clean__heading,
html body.page-car-item .aio-car-clean__content,
html body.page-car-item .aio-car-clean__part,
html body.page-car-item .aio-car-clean__photo-head {
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* ----------------------------------------------------------
   ЛЕВАЯ ЧАСТЬ
   ---------------------------------------------------------- */

html body.page-car-item .aio-car-clean__kicker,
html body.page-car-item .aio-car-clean__subheading {
    margin: 0 0 17px !important;
    padding: 0 !important;

    font-family:
        var(
            --aio-font-ui,
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif
        ) !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;

    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-car-item .aio-car-clean__heading h2,
html body.page-car-item .aio-car-clean__photo-head h2 {
    width: 100% !important;
    max-width: 340px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        var(
            --aio-font-display,
            "AIO Cormorant",
            "Cormorant Garamond",
            Georgia,
            "Times New Roman",
            serif
        ) !important;

    font-size:
        clamp(26px, 2vw, 34px) !important;

    font-weight: 400 !important;
    line-height: 1.03 !important;

    letter-spacing: -.012em !important;

    color: #171717 !important;
    -webkit-text-fill-color: #171717 !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body.page-car-item .aio-car-clean__section-note {
    max-width: 310px !important;

    margin: 18px 0 0 !important;
    padding: 0 !important;

    font-family:
        var(
            --aio-font-ui,
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif
        ) !important;

    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;

    color: rgba(17, 20, 24, .54) !important;
}

html body.page-car-item .aio-car-clean__accent {
    display: block !important;

    width: 74px !important;
    height: 1px !important;

    margin: 27px 0 0 !important;

    background:
        rgba(169, 67, 43, .74) !important;
}


/* ----------------------------------------------------------
   ПРАВАЯ ЧАСТЬ
   ---------------------------------------------------------- */

html body.page-car-item .aio-car-clean__content {
    width: 100% !important;
    max-width: 790px !important;

    margin-left: auto !important;
}

html body.page-car-item .aio-car-clean__lead {
    margin: 0 0 30px !important;
    padding: 0 !important;

    font-family:
        var(
            --aio-font-display,
            "AIO Cormorant",
            "Cormorant Garamond",
            Georgia,
            serif
        ) !important;

    font-size:
        clamp(22px, 1.7vw, 28px) !important;

    font-weight: 400 !important;
    line-height: 1.2 !important;

    letter-spacing: -.008em !important;

    color: #22201D !important;
    -webkit-text-fill-color: #22201D !important;
}

html body.page-car-item .aio-car-clean__text {
    margin: 0 !important;
    padding: 0 !important;

    font-family:
        var(
            --aio-font-ui,
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif
        ) !important;

    font-size:
        clamp(14.5px, .88vw, 15.5px) !important;

    font-weight: 400 !important;
    line-height: 1.72 !important;

    letter-spacing: 0 !important;

    color: rgba(17, 20, 24, .69) !important;
    -webkit-text-fill-color:
        rgba(17, 20, 24, .69) !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

html body.page-car-item
.aio-car-clean__part
+ .aio-car-clean__part {
    margin-top: 42px !important;
    padding-top: 36px !important;

    border-top:
        1px solid rgba(17, 20, 24, .105) !important;
}

html body.page-car-item
.aio-car-clean__subheading {
    margin-bottom: 16px !important;
}


/*
   В происхождении короткая левая часть
   остаётся у нижней границы правого текста.
*/
html body.page-car-item .aio-car-clean__origin {
    align-items: start !important;
}

html body.page-car-item
.aio-car-clean__origin
.aio-car-clean__heading {
    align-self: start !important;
}


/* ----------------------------------------------------------
   ФОТОАРХИВ
   ---------------------------------------------------------- */

html body.page-car-item .aio-car-clean__photos {
    display: block !important;
}

html body.page-car-item .aio-car-clean__photo-head {
    margin: 0 0 34px !important;
}

html body.page-car-item .aio-car-clean__photo-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 10px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
}

html body.page-car-item .aio-car-clean__photo-grid a {
    position: relative !important;

    display: block !important;

    aspect-ratio: 1.48 / 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: #111418 !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body.page-car-item .aio-car-clean__photo-grid img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    filter:
        saturate(.78)
        contrast(.95)
        brightness(.92) !important;

    transform: scale(1.001) !important;

    transition:
        filter .35s ease,
        transform .45s ease !important;
}

html body.page-car-item
.aio-car-clean__photo-grid a:hover img {
    filter:
        saturate(.98)
        contrast(.98)
        brightness(.98) !important;

    transform: scale(1.025) !important;
}


/* AIO_CAR_CLEAN_WARM_BAND_20260712_START
   Меню и первый раздел объединены по температуре цвета.

   Экспозиционная карточка выделяется не рамкой
   и не коробкой, а полноширинной музейной полосой.
*/

html body.page-car-item
.aio-main
.aio-car-item-subnav,
html body.page-car-item
.aio-car-item-subnav {
    background: #F8F5EF !important;
    background-image: none !important;

    border-bottom:
        1px solid rgba(17, 20, 24, .085) !important;
}

html body.page-car-item
.aio-car-clean__about {
    position: relative !important;
    z-index: 0 !important;

    isolation: isolate !important;

    background: transparent !important;
    overflow: visible !important;
}

html body.page-car-item
.aio-car-clean__about::before {
    content: "" !important;

    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 50% !important;

    z-index: 0 !important;

    width: 100vw !important;

    pointer-events: none !important;

    transform:
        translateX(-50%) !important;

    background:
        linear-gradient(
            90deg,
            #F8F5EF 0%,
            #F6EFE4 55%,
            #F2E3CF 100%
        ) !important;
}

html body.page-car-item
.aio-car-clean__about
> * {
    position: relative !important;
    z-index: 1 !important;
}

/*
   В фотоархиве остаётся только один красный кикер.
*/
html body.page-car-item
.aio-car-clean__photo-head {
    display: block !important;

    margin: 0 0 28px !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.page-car-item
.aio-car-clean__photo-head
.aio-car-clean__kicker {
    margin: 0 !important;
}

/* AIO_CAR_CLEAN_WARM_BAND_20260712_END */

/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 980px) {
    html body.page-car-item {
        --aio-car-content-side: 28px;
    }

    html body.page-car-item .aio-car-clean__section {
        grid-template-columns:
            minmax(0, 1fr) !important;

        row-gap: 35px !important;
        align-items: start !important;
    }

    html body.page-car-item
    .aio-car-clean__origin
    .aio-car-clean__heading {
        align-self: start !important;
    }

    html body.page-car-item .aio-car-clean__content {
        width: 100% !important;
        max-width: none !important;

        margin-left: 0 !important;
    }

    html body.page-car-item .aio-car-clean__photo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 600px) {
    html body.page-car-item {
        --aio-car-content-side: 18px;
    }

    html body.page-car-item .aio-car-clean__section {
        row-gap: 29px !important;

        padding:
            48px
            0 !important;
    }

    html body.page-car-item
    .aio-car-clean__heading h2,
    html body.page-car-item
    .aio-car-clean__photo-head h2 {
        font-size:
            clamp(25px, 8vw, 32px) !important;
    }

    html body.page-car-item .aio-car-clean__lead {
        font-size:
            clamp(21px, 6.8vw, 27px) !important;
    }

    html body.page-car-item .aio-car-clean__text {
        font-size: 14px !important;
        line-height: 1.68 !important;
    }

    html body.page-car-item .aio-car-clean__photo-grid {
        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 8px !important;
    }
}

/* AIO_CAR_CLEAN_CONTENT_20260712_END */

/* AIO_CAR_MODAL_FINAL_CSS_20260712_START
   Фотоархив автомобиля.

   Визуал приведён к общему lightbox-паттерну сайта:
   — управление привязано к окну браузера;
   — крестик находится в правом верхнем углу;
   — стрелки находятся у краёв экрана;
   — фотография свободно расположена в тёмной музейной среде;
   — никаких рамок и активного красного заполнения.
*/


/* ==========================================================
   ПРЕВЬЮ ФОТОАРХИВА
   ========================================================== */

html body.page-car-item
.aio-car-modal-final__thumb {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    aspect-ratio: 1.48 / 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    font: inherit !important;

    cursor: zoom-in !important;

    overflow: hidden !important;

    background: #111418 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

html body.page-car-item
.aio-car-modal-final__thumb img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    filter:
        saturate(.72)
        contrast(.94)
        brightness(.90) !important;

    transform:
        scale(1.001) !important;

    transition:
        filter .35s ease,
        transform .42s ease !important;
}

html body.page-car-item
.aio-car-modal-final__thumb:hover img {
    filter:
        saturate(.94)
        contrast(.97)
        brightness(.97) !important;

    transform:
        scale(1.018) !important;
}

html body.page-car-item
.aio-car-modal-final__thumb:focus-visible {
    outline:
        1px solid rgba(169, 67, 43, .82) !important;

    outline-offset: 3px !important;
}


/* ==========================================================
   БЛОКИРОВКА СТРАНИЦЫ
   ========================================================== */

html.aio-car-modal-final-open,
body.aio-car-modal-final-open {
    overflow: hidden !important;
}


/* ==========================================================
   ПОЛНОЭКРАННАЯ ПОВЕРХНОСТЬ
   ========================================================== */

body.page-car-item
.aio-car-modal-final[hidden] {
    display: none !important;
}

body.page-car-item
.aio-car-modal-final {
    position: fixed !important;
    inset: 0 !important;

    z-index: 2147483000 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 0 !important;

    background:
        rgba(10, 12, 14, .985) !important;

    transition:
        opacity .18s ease !important;
}

body.page-car-item
.aio-car-modal-final.is-open {
    opacity: 1 !important;
}

body.page-car-item
.aio-car-modal-final__backdrop {
    position: fixed !important;
    inset: 0 !important;

    z-index: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;
    padding: 0 !important;

    cursor: default !important;

    background:
        linear-gradient(
            180deg,
            rgba(9, 11, 13, .99) 0%,
            rgba(12, 14, 16, .985) 100%
        ) !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* ==========================================================
   ФОТОГРАФИЯ
   ========================================================== */

body.page-car-item
.aio-car-modal-final__dialog {
    position: static !important;
    z-index: 2 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;

    padding:
        66px
        88px
        58px !important;

    pointer-events: none !important;
}

body.page-car-item
.aio-car-modal-final__stage {
    position: relative !important;
    z-index: 2 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    pointer-events: none !important;
}

body.page-car-item
.aio-car-modal-final__image {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width:
        min(1320px, 82vw) !important;

    max-height: 84vh !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow:
        0 24px 72px rgba(0, 0, 0, .38) !important;
}


/* ==========================================================
   КРЕСТИК В ПРАВОМ ВЕРХНЕМ УГЛУ ЭКРАНА
   ========================================================== */

body.page-car-item
.aio-car-modal-final__close {
    position: fixed !important;

    top:
        clamp(18px, 2.2vw, 30px) !important;

    right:
        clamp(18px, 2.2vw, 30px) !important;

    z-index: 2147483005 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 44px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 0 2px !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    pointer-events: auto !important;
    cursor: pointer !important;

    font-family:
        Arial,
        sans-serif !important;

    font-size: 20px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    color:
        rgba(248, 245, 239, .90) !important;

    background:
        rgba(248, 245, 239, .045) !important;

    border:
        1px solid rgba(248, 245, 239, .27) !important;

    border-radius: 50% !important;

    box-shadow: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease !important;
}

body.page-car-item
.aio-car-modal-final__close:hover {
    color: #FFFFFF !important;

    background:
        rgba(248, 245, 239, .11) !important;

    border-color:
        rgba(248, 245, 239, .48) !important;
}

body.page-car-item
.aio-car-modal-final__close:focus-visible {
    outline:
        1px solid rgba(248, 245, 239, .82) !important;

    outline-offset: 4px !important;
}


/* ==========================================================
   СТРЕЛКИ У КРАЁВ ЭКРАНА
   ========================================================== */

body.page-car-item
.aio-car-modal-final__arrow {
    position: fixed !important;
    top: 50% !important;

    z-index: 2147483005 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 46px !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 0 4px !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    pointer-events: auto !important;
    cursor: pointer !important;

    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: 31px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    color:
        rgba(248, 245, 239, .88) !important;

    background:
        rgba(248, 245, 239, .035) !important;

    border:
        1px solid rgba(248, 245, 239, .24) !important;

    border-radius: 50% !important;

    box-shadow: none !important;

    transform:
        translateY(-50%) !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease !important;
}

body.page-car-item
.aio-car-modal-final__arrow:hover {
    color: #FFFFFF !important;

    background:
        rgba(248, 245, 239, .10) !important;

    border-color:
        rgba(248, 245, 239, .46) !important;
}

body.page-car-item
.aio-car-modal-final__arrow:focus-visible {
    outline:
        1px solid rgba(248, 245, 239, .82) !important;

    outline-offset: 4px !important;
}

body.page-car-item
.aio-car-modal-final__arrow_prev {
    left:
        clamp(18px, 2.2vw, 32px) !important;
}

body.page-car-item
.aio-car-modal-final__arrow_next {
    right:
        clamp(18px, 2.2vw, 32px) !important;
}


/* ==========================================================
   СЧЁТЧИК
   ========================================================== */

body.page-car-item
.aio-car-modal-final__counter {
    position: fixed !important;

    right: 0 !important;
    bottom:
        clamp(18px, 2.2vw, 28px) !important;
    left: 0 !important;

    z-index: 2147483005 !important;

    margin: 0 !important;
    padding: 0 !important;

    pointer-events: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    letter-spacing: .14em !important;
    text-align: center !important;

    color:
        rgba(248, 245, 239, .52) !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {
    body.page-car-item
    .aio-car-modal-final__dialog {
        padding:
            62px
            68px
            56px !important;
    }

    body.page-car-item
    .aio-car-modal-final__image {
        max-width: 84vw !important;
        max-height: 80vh !important;
    }

    body.page-car-item
    .aio-car-modal-final__arrow {
        width: 42px !important;
        height: 42px !important;

        font-size: 29px !important;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {
    body.page-car-item
    .aio-car-modal-final__dialog {
        padding:
            64px
            14px
            74px !important;
    }

    body.page-car-item
    .aio-car-modal-final__image {
        max-width: 100% !important;
        max-height: 72vh !important;

        box-shadow:
            0 18px 50px rgba(0, 0, 0, .34) !important;
    }

    body.page-car-item
    .aio-car-modal-final__close {
        top: 14px !important;
        right: 14px !important;

        width: 42px !important;
        height: 42px !important;
    }

    body.page-car-item
    .aio-car-modal-final__arrow {
        top: auto !important;
        bottom: 14px !important;

        width: 44px !important;
        height: 44px !important;

        transform: none !important;
    }

    body.page-car-item
    .aio-car-modal-final__arrow_prev {
        left: 14px !important;
    }

    body.page-car-item
    .aio-car-modal-final__arrow_next {
        right: 14px !important;
    }

    body.page-car-item
    .aio-car-modal-final__counter {
        bottom: 31px !important;
    }
}

/* AIO_CAR_MODAL_FINAL_CSS_20260712_END */

/* AIO_CAR_PUBLIC_LINKS_20260712_START */

.aio-car-vitrine__actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin: 20px 0 2px !important;
}

.aio-car-vitrine__detail-link {
    width: fit-content !important;
    margin: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

.aio-car-vitrine__detail-link:hover {
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* AIO_CAR_PUBLIC_LINKS_20260712_END */

/* AIO_TEAM_STANDING_PAGE_20260713 */

.aio-team-overview,
.aio-team-crews {
    background: linear-gradient(180deg,#F8F5EF 0%,#F6EFE4 58%,#F2E3CF 100%);
}

.aio-team-overview {
    padding: 58px 0 46px;
}

.aio-team-overview__grid {
    display: grid;
    grid-template-columns: minmax(0,1.7fr) minmax(280px,.75fr);
    gap: clamp(42px,6vw,88px);
    align-items: start;
}

.aio-team-overview__about h2,
.aio-team-crews__head h2,
.aio-team-crew-card h3 {
    margin: 12px 0 0;
    font-family: "AIO Cormorant","Cormorant Garamond",Georgia,serif;
    font-weight: 400;
    color: #061F3E;
}

.aio-team-overview__about h2 {
    max-width: 760px;
    font-size: clamp(30px,3vw,46px);
    line-height: 1;
}

.aio-team-overview__text,
.aio-team-overview__empty {
    margin-top: 24px;
    max-width: 760px;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(17,20,24,.72);
}

.aio-team-passport {
    padding-left: 28px;
    border-left: 1px solid rgba(45,45,45,.13);
}

.aio-team-passport dl {
    margin: 20px 0 0;
}

.aio-team-passport dl > div {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(45,45,45,.095);
}

.aio-team-passport dt {
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #A9432B;
}

.aio-team-passport dd {
    margin: 0;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: #111418;
}

.aio-team-crews {
    padding: 34px 0 82px;
}

.aio-team-crews__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 30px;
}

.aio-team-crews__head h2 {
    font-size: clamp(32px,3vw,48px);
    line-height: .98;
}

.aio-team-crews__count {
    margin: 0;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(17,20,24,.62);
}

.aio-team-crews__grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px;
}

.aio-team-crew-card {
    overflow: hidden;
    background: linear-gradient(180deg,rgba(248,245,239,.98),rgba(242,227,207,.84));
    border: 1px solid rgba(45,45,45,.095);
    box-shadow: 0 10px 24px rgba(17,20,24,.045);
}

.aio-team-crew-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101820;
}

.aio-team-crew-card__media > a,
.aio-team-crew-card__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.aio-team-crew-card__media img {
    object-fit: cover;
    filter: saturate(.72) contrast(.94) brightness(.90);
}

.aio-team-crew-card__index,
.aio-team-crew-card__number {
    position: absolute;
    top: 16px;
    z-index: 2;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.aio-team-crew-card__index {
    left: 18px;
    color: #F8F5EF;
}

.aio-team-crew-card__number {
    right: 18px;
    padding: 8px 10px;
    background: rgba(248,245,239,.9);
    color: #061F3E;
}

.aio-team-crew-card__body {
    padding: 25px 26px 28px;
}

.aio-team-crew-card h3 {
    font-size: clamp(25px,2.1vw,34px);
    line-height: 1;
}

.aio-team-crew-card__car {
    display: inline-block;
    margin-top: 9px;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #A9432B;
    text-decoration: none;
}

.aio-team-crew-card__people {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.aio-team-crew-person {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
}

.aio-team-crew-person__photo {
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 50%;
    background: #E8DDCC;
}

.aio-team-crew-person__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aio-team-crew-person__photo span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    font-family: "AIO Cormorant","Cormorant Garamond",Georgia,serif;
    font-size: 19px;
    color: #061F3E;
}

.aio-team-crew-person p {
    margin: 0 0 3px;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(17,20,24,.55);
}

.aio-team-crew-person a,
.aio-team-crew-person > div > span {
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 13px;
    color: #061F3E;
    text-decoration: none;
}

@media (max-width: 820px) {
    .aio-team-overview__grid,
    .aio-team-crews__grid {
        grid-template-columns: 1fr;
    }

    .aio-team-passport {
        padding-left: 0;
        padding-top: 24px;
        border-left: 0;
        border-top: 1px solid rgba(45,45,45,.13);
    }
}


/* ==========================================================================
   AIO ARCHIVE — MUSEUM CATALOG REBUILD
   Полная новая страница /archive.
   Эталон hero и фильтра: /events, /blogs, /gallery, /cars.
   ========================================================================== */

body.page-archive .aio-archive-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding:
        clamp(34px, 3.6vw, 52px)
        0
        clamp(38px, 4.2vw, 60px) !important;
    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(169,67,43,.18) 0%,
            rgba(169,67,43,0) 34%
        ),
        linear-gradient(
            120deg,
            rgba(17,20,24,.96) 0%,
            rgba(6,31,62,.98) 100%
        ) !important;
    color: #F8F5EF !important;
}

body.page-archive .aio-archive-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(
            90deg,
            rgba(248,245,239,.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            180deg,
            rgba(248,245,239,.04) 1px,
            transparent 1px
        ) !important;
    background-size: 74px 74px !important;
    opacity: .20 !important;
    pointer-events: none !important;
}

body.page-archive .aio-archive-museum-hero
.aio-events-museum-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns:
        minmax(260px, .72fr)
        minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
}

body.page-archive .aio-events-kicker {
    margin: 0 0 12px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-archive .aio-events-kicker_light {
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

body.page-archive .aio-archive-museum-hero h1 {
    margin: 0 !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-synthesis: none !important;
}

body.page-archive .aio-archive-museum-hero
.aio-events-museum-hero__inner > p {
    max-width: 640px !important;
    margin: 0 0 6px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.70) !important;
}

body.page-archive .aio-archive-museum-page {
    padding:
        clamp(34px, 4vw, 56px)
        0
        clamp(64px, 7vw, 96px) !important;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 52%,
            #F2E3CF 100%
        ) !important;
}

body.page-archive .aio-archive-museum-layout {
    display: grid !important;
    grid-template-columns:
        minmax(250px, 310px)
        minmax(0, 1fr) !important;
    gap: clamp(24px, 3.6vw, 44px) !important;
    align-items: start !important;
}

body.page-archive .aio-archive-museum-sidebar {
    position: sticky !important;
    top: 110px !important;
    display: grid !important;
    gap: 18px !important;
}

body.page-archive .aio-archive-museum-filter {
    padding: 20px !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    border-radius: 0 !important;
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.96) 0%,
            rgba(246,239,228,.92) 56%,
            rgba(242,227,207,.82) 100%
        ) !important;
    box-shadow:
        0 10px 24px rgba(17,20,24,.045) !important;
}

body.page-archive .aio-archive-museum-filter h2 {
    margin: 0 0 22px !important;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(27px, 2vw, 32px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

body.page-archive .aio-archive-museum-filter
.aio-events-filter-group {
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 15px 0 !important;
    border-top:
        1px solid rgba(45,45,45,.095) !important;
}

body.page-archive .aio-archive-museum-filter
.aio-events-filter-group h3 {
    margin: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(17,20,24,.48) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.48) !important;
}

body.page-archive .aio-archive-museum-filter input,
body.page-archive .aio-archive-museum-filter select {
    display: block !important;
    width: 100% !important;
    min-height: 39px !important;
    padding: 9px 11px !important;
    border: 1px solid rgba(6,31,62,.14) !important;
    border-radius: 0 !important;
    outline: none !important;
    background: rgba(248,245,239,.72) !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    color: rgba(17,20,24,.76) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.76) !important;
}

body.page-archive .aio-archive-museum-filter input:focus,
body.page-archive .aio-archive-museum-filter select:focus {
    border-color: #A9432B !important;
}

body.page-archive .aio-archive-filter-actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: 18px !important;
}

body.page-archive .aio-archive-filter-actions button {
    min-height: 39px !important;
    padding: 10px 16px !important;
    border: 1px solid #061F3E !important;
    border-radius: 0 !important;
    background: #061F3E !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    cursor: pointer !important;
}

body.page-archive .aio-archive-filter-actions button:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
}

body.page-archive .aio-archive-filter-actions a {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

body.page-archive .aio-archive-filter-legal {
    padding: 0 3px !important;
}

body.page-archive .aio-archive-filter-legal p {
    margin: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.62 !important;
    color: rgba(17,20,24,.52) !important;
}

body.page-archive .aio-archive-museum-head {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 0 0 22px !important;
    padding-bottom: 17px !important;
    border-bottom:
        1px solid rgba(45,45,45,.11) !important;
}

body.page-archive .aio-archive-museum-head h2 {
    margin: 0 !important;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(31px, 3vw, 43px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

body.page-archive .aio-archive-museum-head > span {
    padding-bottom: 3px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: rgba(17,20,24,.45) !important;
}

body.page-archive .aio-archive-museum-grid {
    display: grid !important;
    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(15px, 1.6vw, 21px) !important;
    align-items: stretch !important;
}

body.page-archive .aio-archive-index-card {
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    min-width: 0 !important;
    min-height: 430px !important;
    flex-direction: column !important;
    border: 1px solid rgba(45,45,45,.105) !important;
    border-radius: 0 !important;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.64),
            rgba(248,245,239,.91)
        ),
        #F8F5EF !important;
    box-shadow:
        0 14px 34px rgba(7,23,44,.05) !important;
}

body.page-archive .aio-archive-index-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 13px !important;
    width: 1px !important;
    background: rgba(169,67,43,.16) !important;
    pointer-events: none !important;
}

body.page-archive .aio-archive-index-card__top {
    display: flex !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 11px 15px 10px 26px !important;
    border-bottom:
        1px solid rgba(45,45,45,.10) !important;
    background: rgba(242,227,207,.32) !important;
}

body.page-archive .aio-archive-index-card__top span,
body.page-archive .aio-archive-index-card__top em {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    font-style: normal !important;
}

body.page-archive .aio-archive-index-card__top span {
    color: #A9432B !important;
}

body.page-archive .aio-archive-index-card__top em {
    color: rgba(17,20,24,.39) !important;
}

body.page-archive .aio-archive-index-card__preview {
    overflow: hidden !important;
    height: 150px !important;
    border-bottom:
        1px solid rgba(45,45,45,.095) !important;
    background: #E8DFD1 !important;
}

body.page-archive .aio-archive-index-card__preview img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter:
        sepia(.16)
        saturate(.72)
        contrast(.95)
        brightness(.92) !important;
    transition:
        transform .25s ease,
        filter .25s ease !important;
}

body.page-archive .aio-archive-index-card:hover
.aio-archive-index-card__preview img {
    transform: scale(1.025) !important;
    filter:
        sepia(.08)
        saturate(.88)
        contrast(.98)
        brightness(.96) !important;
}

body.page-archive .aio-archive-index-card__mark {
    display: flex !important;
    height: 112px !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom:
        1px solid rgba(45,45,45,.095) !important;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(169,67,43,.15),
            transparent 8rem
        ),
        linear-gradient(
            135deg,
            #111418,
            #1B1D20 56%,
            #292126
        ) !important;
}

body.page-archive .aio-archive-index-card__mark span {
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: 40px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .08em !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

body.page-archive .aio-archive-index-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    padding: 22px 18px 18px 27px !important;
}

body.page-archive .aio-archive-index-card h3 {
    margin: 0 !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(23px, 2vw, 30px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.015em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
    font-synthesis: none !important;
}

body.page-archive .aio-archive-index-card__excerpt {
    margin: 13px 0 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.58 !important;
    color: rgba(17,20,24,.63) !important;
}

body.page-archive .aio-archive-index-card__facts {
    display: grid !important;
    gap: 8px !important;
    margin: auto 0 0 !important;
    padding-top: 20px !important;
}

body.page-archive .aio-archive-index-card__facts div {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding-top: 8px !important;
    border-top:
        1px solid rgba(45,45,45,.085) !important;
}

body.page-archive .aio-archive-index-card__facts dt {
    margin: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 7.5px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-archive .aio-archive-index-card__facts dd {
    min-width: 0 !important;
    margin: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
    color: rgba(17,20,24,.66) !important;
}

body.page-archive .aio-archive-index-card__footer {
    display: flex !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 13px 16px 13px 27px !important;
    border-top:
        1px solid rgba(45,45,45,.10) !important;
    background: rgba(242,227,207,.26) !important;
}

body.page-archive .aio-archive-index-card__footer > span,
body.page-archive .aio-archive-index-card__footer > a {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 7.8px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
}

body.page-archive .aio-archive-index-card__footer > span {
    color: rgba(17,20,24,.46) !important;
}

body.page-archive .aio-archive-index-card__footer > a {
    color: #A9432B !important;
    text-align: right !important;
    text-decoration: none !important;
}

body.page-archive .aio-archive-index-card__footer > a:hover {
    color: #061F3E !important;
}

body.page-archive .aio-archive-submit-card {
    min-height: 430px !important;
    border-color: rgba(248,245,239,.09) !important;
    background:
        radial-gradient(
            circle at 78% 16%,
            rgba(169,67,43,.24),
            transparent 12rem
        ),
        linear-gradient(
            135deg,
            #111418,
            #061F3E
        ) !important;
}

body.page-archive .aio-archive-submit-card::before {
    background: rgba(242,227,207,.16) !important;
}

body.page-archive .aio-archive-submit-card__inner {
    display: flex !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 30px 24px 28px 29px !important;
}

body.page-archive .aio-archive-submit-card h3 {
    max-width: 300px !important;
    margin: 3px 0 15px !important;
    font-size: clamp(30px, 2.8vw, 40px) !important;
    line-height: .94 !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-archive .aio-archive-submit-card
p:not(.aio-events-kicker) {
    margin: 0 0 22px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.62 !important;
    color: rgba(248,245,239,.68) !important;
}

body.page-archive .aio-archive-submit-card a {
    width: fit-content !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #D36B52 !important;
    text-decoration: none !important;
}

body.page-archive .aio-archive-museum-empty {
    padding: clamp(32px, 5vw, 58px) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.62),
            rgba(248,245,239,.90)
        ) !important;
    box-shadow:
        0 14px 34px rgba(7,23,44,.045) !important;
}

body.page-archive .aio-archive-museum-empty h2 {
    margin: 0 0 13px !important;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(34px, 4vw, 50px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    color: #061F3E !important;
}

body.page-archive .aio-archive-museum-empty
p:not(.aio-events-kicker) {
    max-width: 620px !important;
    margin: 0 0 20px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 13px !important;
    line-height: 1.68 !important;
    color: rgba(17,20,24,.62) !important;
}

body.page-archive .aio-archive-museum-empty a {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

@media (max-width: 1240px) {
    body.page-archive .aio-archive-museum-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 920px) {
    body.page-archive .aio-archive-museum-hero
    .aio-events-museum-hero__inner,
    body.page-archive .aio-archive-museum-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-archive .aio-archive-museum-sidebar {
        position: static !important;
    }
}

@media (max-width: 680px) {
    body.page-archive .aio-archive-museum-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }

    body.page-archive .aio-archive-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-archive .aio-archive-museum-head {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    body.page-archive .aio-archive-index-card {
        min-height: 0 !important;
    }
}


/* AIO_ARCHIVE_MUSEUM_CATALOG_REBUILD_END */


/* ==========================================================================
   AIO ARCHIVE — HERO AND CATALOG ALIGNMENT FIX
   Hero приведён к тёплому эталону /blogs.
   Фильтр и карточки начинаются на одной высоте.
   ========================================================================== */

body.page-archive .aio-archive-museum-hero {
    padding:
        clamp(44px, 4.7vw, 66px)
        0
        clamp(48px, 5vw, 70px) !important;

    background:
        radial-gradient(
            circle at 84% 34%,
            rgba(169,67,43,.24) 0%,
            rgba(169,67,43,.10) 18%,
            rgba(169,67,43,0) 46%
        ),
        linear-gradient(
            108deg,
            #101216 0%,
            #141519 46%,
            #242023 76%,
            #302126 100%
        ) !important;
}

body.page-archive .aio-archive-museum-hero::after {
    background:
        linear-gradient(
            90deg,
            rgba(248,245,239,.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            180deg,
            rgba(248,245,239,.032) 1px,
            transparent 1px
        ) !important;
    background-size: 72px 72px !important;
    opacity: .20 !important;
}

body.page-archive .aio-archive-museum-hero
.aio-events-museum-hero__inner {
    grid-template-columns:
        minmax(460px, .98fr)
        minmax(0, .92fr) !important;

    gap: clamp(70px, 8vw, 128px) !important;
    align-items: end !important;
}

body.page-archive .aio-archive-museum-hero
.aio-events-kicker {
    margin-bottom: 14px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.68) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.68) !important;
}

body.page-archive .aio-archive-museum-hero h1 {
    font-size: clamp(48px, 5.3vw, 68px) !important;
    line-height: .91 !important;
    letter-spacing: -.024em !important;
}

body.page-archive .aio-archive-museum-hero
.aio-events-museum-hero__inner > p {
    max-width: 690px !important;
    margin: 0 0 4px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: clamp(13px, .95vw, 15px) !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;

    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.70) !important;
}

/*
 * Убираем следы лишней шапки каталога.
 * Первый ряд карточек начинается вровень с фильтром.
 */
body.page-archive .aio-archive-museum-head {
    display: none !important;
}

body.page-archive .aio-archive-museum-main {
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/*
 * Две карточки в строке.
 */
body.page-archive .aio-archive-museum-grid {
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: clamp(18px, 2vw, 26px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/*
 * У карточек больше пространства:
 * они теперь рассчитаны на две колонки, а не на три.
 */
body.page-archive .aio-archive-index-card {
    min-height: 490px !important;
}

body.page-archive .aio-archive-index-card__preview {
    height: 210px !important;
}

body.page-archive .aio-archive-index-card__mark {
    height: 156px !important;
}

body.page-archive .aio-archive-index-card__mark span {
    font-size: 48px !important;
}

body.page-archive .aio-archive-index-card h3 {
    font-size: clamp(27px, 2.4vw, 35px) !important;
}

body.page-archive .aio-archive-index-card__excerpt {
    font-size: 12px !important;
    line-height: 1.62 !important;
}

/*
 * Пустое состояние — без тяжёлой коробки внутри страницы.
 */
body.page-archive .aio-archive-museum-empty {
    margin: 0 !important;
    padding:
        clamp(24px, 3.5vw, 44px)
        0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-archive .aio-archive-museum-empty h2 {
    max-width: 760px !important;
}

@media (max-width: 1080px) {
    body.page-archive .aio-archive-museum-hero
    .aio-events-museum-hero__inner {
        grid-template-columns:
            minmax(340px, .85fr)
            minmax(0, 1fr) !important;

        gap: clamp(38px, 5vw, 72px) !important;
    }

    body.page-archive .aio-archive-museum-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 920px) {
    body.page-archive .aio-archive-museum-hero
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.page-archive .aio-archive-museum-hero h1 {
        font-size: clamp(43px, 11vw, 62px) !important;
    }
}


/* AIO_ARCHIVE_HERO_AND_CATALOG_ALIGNMENT_FIX_END */

/* AIO_TEAM_STANDING_REFINEMENT_20260713_2 */

/* Верхний блок и экипажи воспринимаются как единая светлая музейная секция */
.aio-team-overview {
    padding-bottom: 52px;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 72%,
            #F4E9D8 100%
        );
}

.aio-team-crews {
    padding: 48px 0 82px;
    background:
        linear-gradient(
            180deg,
            #F4E9D8 0%,
            #F6EFE4 42%,
            #F2E3CF 100%
        );
    border-top: 1px solid rgba(45,45,45,.095);
}

/* Все служебные кикеры страницы команды */
.aio-team-overview .aio-events-kicker,
.aio-team-crews .aio-events-kicker {
    margin: 0;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: #A9432B;
}

/* Название команды внутри содержательной части */
.aio-team-overview__about h2 {
    margin: 17px 0 0;
    font-family: "AIO Cormorant","Cormorant Garamond",Georgia,serif;
    font-size: clamp(30px,3vw,44px);
    line-height: .98;
    font-weight: 400;
    letter-spacing: .01em;
    color: #061F3E;
}

/* Текст о команде */
.aio-team-overview__text,
.aio-team-overview__text p,
.aio-team-overview__empty {
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: clamp(14px,1vw,15.5px);
    line-height: 1.72;
    font-weight: 400;
    color: rgba(17,20,24,.72);
}

.aio-team-overview__text p {
    margin: 0 0 18px;
}

.aio-team-overview__text p:last-child {
    margin-bottom: 0;
}

/* Паспорт команды */
.aio-team-passport > .aio-events-kicker {
    color: #A9432B;
}

.aio-team-passport dl > div {
    grid-template-columns: 125px minmax(0,1fr);
}

.aio-team-passport dt {
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .145em;
    text-transform: uppercase;
    color: #A9432B;
}

.aio-team-passport dd {
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    color: #111418;
}

/* Заголовок раздела: обычный Cormorant, без капса */
.aio-team-crews__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.aio-team-crews__head h2 {
    margin: 13px 0 0;
    font-family: "AIO Cormorant","Cormorant Garamond",Georgia,serif;
    font-size: clamp(27px,2.4vw,37px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: #061F3E;
}

.aio-team-crews__count {
    margin: 0 0 3px;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(17,20,24,.58);
}

/* Две карточки в ряд; при большем числе продолжается сетка */
.aio-team-crews__grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px;
    align-items: start;
}

.aio-team-crew-card {
    min-width: 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(248,245,239,.98) 0%,
            rgba(246,239,228,.94) 56%,
            rgba(242,227,207,.82) 100%
        );
    border: 1px solid rgba(45,45,45,.095);
    box-shadow: 0 10px 24px rgba(17,20,24,.045);
}

/* Автомобиль */
.aio-team-crew-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101820;
}

.aio-team-crew-card__media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.aio-team-crew-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.72) contrast(.94) brightness(.90);
    transition: filter .25s ease, transform .35s ease;
}

.aio-team-crew-card:hover .aio-team-crew-card__media img {
    filter: saturate(.9) contrast(.96) brightness(.94);
    transform: scale(1.015);
}

.aio-team-crew-card__index,
.aio-team-crew-card__number {
    position: absolute;
    top: 16px;
    z-index: 2;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.aio-team-crew-card__index {
    left: 18px;
    color: #F8F5EF;
}

.aio-team-crew-card__number {
    right: 18px;
    padding: 8px 10px;
    color: #061F3E;
    background: rgba(248,245,239,.9);
}

/* Тело карточки */
.aio-team-crew-card__body {
    padding: 24px 26px 27px;
}

/* Название экипажа: тонкий Cormorant Caps, но компактный */
.aio-team-crew-card__body h3 {
    margin: 0;
    font-family: "AIO Cormorant","Cormorant Garamond",Georgia,serif;
    font-size: clamp(20px,1.75vw,27px);
    line-height: .98;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-synthesis: none;
    color: #061F3E;
}

.aio-team-crew-card__car {
    display: inline-block;
    margin: 11px 0 0;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 9px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    color: #A9432B;
}

/* Люди в экипаже */
.aio-team-crew-card__people {
    display: grid;
    gap: 0;
    margin-top: 21px;
    border-top: 1px solid rgba(45,45,45,.095);
}

.aio-team-crew-person {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 13px;
    align-items: center;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(45,45,45,.095);
}

.aio-team-crew-person__photo {
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 50%;
    background: #E8DDCC;
}

.aio-team-crew-person__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.76) contrast(.95) brightness(.93);
}

.aio-team-crew-person__photo span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    font-family: "AIO Cormorant","Cormorant Garamond",Georgia,serif;
    font-size: 18px;
    font-weight: 400;
    color: #061F3E;
}

.aio-team-crew-person p {
    margin: 0 0 3px;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 8px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #A9432B;
}

.aio-team-crew-person a,
.aio-team-crew-person > div > span {
    display: inline;
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 400;
    text-decoration: none;
    color: #061F3E;
}

.aio-team-crew-person a:hover {
    color: #A9432B;
}

/* Адаптация */
@media (max-width: 900px) {
    .aio-team-crews__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .aio-team-crews__head {
        display: block;
    }

    .aio-team-crews__count {
        margin-top: 14px;
    }

    .aio-team-crew-card__body {
        padding: 21px 20px 24px;
    }

    .aio-team-passport dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}


/* ==========================================================================
   AIO ARCHIVE — EXACT STANDARD HERO
   Размеры буквально приведены к компактному hero /events и /blogs.
   ========================================================================== */

body.page-archive .aio-archive-museum-hero {
    padding:
        clamp(34px, 3.6vw, 52px)
        0
        clamp(38px, 4.2vw, 60px) !important;
}

body.page-archive .aio-archive-museum-hero
.aio-events-museum-hero__inner {
    grid-template-columns:
        minmax(260px, .72fr)
        minmax(0, .92fr) !important;
    gap: clamp(24px, 4vw, 64px) !important;
    align-items: end !important;
}

body.page-archive .aio-archive-museum-hero
.aio-events-kicker {
    margin: 0 0 12px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;
}

body.page-archive .aio-archive-museum-hero h1 {
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
}

body.page-archive .aio-archive-museum-hero
.aio-events-museum-hero__inner > p {
    max-width: 640px !important;
    margin: 0 0 6px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: clamp(13.5px, .98vw, 15.5px) !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.70) !important;
}

/*
 * Служебная классификация карточки:
 * «Инструкция / руководство», «Каталог деталей» и т. п.
 */
body.page-archive .aio-archive-index-card__top span {
    max-width: 62% !important;
    font-size: 7px !important;
    line-height: 1.28 !important;
    letter-spacing: .105em !important;
}

body.page-archive .aio-archive-index-card__top em {
    font-size: 7px !important;
    letter-spacing: .10em !important;
}

@media (max-width: 920px) {
    body.page-archive .aio-archive-museum-hero
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-archive .aio-archive-museum-hero h1 {
        font-size: clamp(36px, 10vw, 52px) !important;
    }
}


/* AIO_ARCHIVE_EXACT_STANDARD_HERO_END */

/* AIO_TEAM_TYPOGRAPHY_CORRECT_20260713 */

/* Название команды в содержательной части */
.aio-team-overview__about h2 {
    margin: 16px 0 0;
    font-family: "Cormorant Garamond","AIO Cormorant",Georgia,"Times New Roman",serif;
    font-size: clamp(31px,3vw,45px);
    line-height: .98;
    font-weight: 400;
    letter-spacing: .005em;
    text-transform: none;
    font-synthesis: none;
    color: #061F3E;
}

/* После удаления полного описания блок делаем компактнее */
.aio-team-overview {
    padding-top: 54px;
    padding-bottom: 48px;
}

.aio-team-overview__about {
    align-self: start;
}

/* Паспорт команды — крупнее и выразительнее */
.aio-team-passport > .aio-events-kicker {
    font-size: 10px;
    color: #A9432B;
}

.aio-team-passport dl {
    margin-top: 22px;
}

.aio-team-passport dl > div {
    grid-template-columns: 138px minmax(0,1fr);
    gap: 20px;
    padding: 14px 0;
}

.aio-team-passport dt {
    font-size: 9.5px;
    line-height: 1.35;
}

.aio-team-passport dd {
    font-size: 14px;
    line-height: 1.45;
}

/* Заголовок раздела — обычный тонкий музейный Cormorant */
.aio-team-crews__head h2 {
    margin: 14px 0 0;
    font-family: "Cormorant Garamond","AIO Cormorant",Georgia,"Times New Roman",serif;
    font-size: clamp(29px,2.5vw,39px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-synthesis: none;
    color: #061F3E;
}

/* Названия экипажей — Cormorant Caps, тонкие и компактные */
.aio-team-crew-card__body h3 {
    margin: 0;
    font-family: "Cormorant Garamond","AIO Cormorant",Georgia,"Times New Roman",serif;
    font-size: clamp(18px,1.55vw,24px);
    line-height: .98;
    font-weight: 400;
    letter-spacing: .045em;
    text-transform: uppercase;
    font-synthesis: none;
    color: #061F3E;
}

/* Служебные кикеры остаются фирменными красными */
.aio-team-overview .aio-events-kicker,
.aio-team-crews .aio-events-kicker {
    font-family: "AIO Montserrat",Montserrat,Arial,sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: #A9432B;
}


/* ==========================================================================
   AIO ARCHIVE PROJECT PAGES V1
   Hero /archive, /archive/about и /archive/rules буквально равен
   финальному hero /events и /blogs.
   ========================================================================== */

body.page-archive .aio-events-museum-hero,
body.page-archive-about .aio-events-museum-hero,
body.page-archive-rules .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(
            circle at 78% 22%,
            rgba(169,67,43,.14),
            transparent 22rem
        ),
        linear-gradient(
            135deg,
            #121416 0%,
            #191A1D 56%,
            #2A2224 100%
        ) !important;
    border-bottom:
        1px solid rgba(242,227,207,.14) !important;
}

body.page-archive .aio-events-museum-hero::after,
body.page-archive-about .aio-events-museum-hero::after,
body.page-archive-rules .aio-events-museum-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: .13 !important;
    background-image:
        linear-gradient(
            rgba(248,245,239,.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(248,245,239,.08) 1px,
            transparent 1px
        ) !important;
    background-size: 72px 72px !important;
}

body.page-archive .aio-events-museum-hero .aio-container,
body.page-archive-about .aio-events-museum-hero .aio-container,
body.page-archive-rules .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

body.page-archive .aio-events-museum-hero__inner,
body.page-archive-about .aio-events-museum-hero__inner,
body.page-archive-rules .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns:
        minmax(0, .82fr)
        minmax(280px, .72fr) !important;
    gap: clamp(22px, 3.5vw, 52px) !important;
    align-items: end !important;
}

body.page-archive .aio-events-museum-hero
.aio-events-kicker,
body.page-archive .aio-events-museum-hero
.aio-events-kicker_light,
body.page-archive-about .aio-events-museum-hero
.aio-events-kicker,
body.page-archive-about .aio-events-museum-hero
.aio-events-kicker_light,
body.page-archive-rules .aio-events-museum-hero
.aio-events-kicker,
body.page-archive-rules .aio-events-museum-hero
.aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
    -webkit-text-fill-color: #E5B9A7 !important;
}

body.page-archive .aio-events-museum-hero h1,
body.page-archive-about .aio-events-museum-hero h1,
body.page-archive-rules .aio-events-museum-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    max-width: 620px !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    font-weight: 500 !important;
    line-height: .9 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

body.page-archive .aio-events-museum-hero__inner > p,
body.page-archive-about .aio-events-museum-hero__inner > p,
body.page-archive-rules .aio-events-museum-hero__inner > p {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 540px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: clamp(11px, .88vw, 13px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.76) !important;
    opacity: 1 !important;
}

/* Верхняя служебная строка архивной карточки */
body.page-archive .aio-archive-index-card__top {
    min-height: 38px !important;
    padding: 8px 14px 8px 26px !important;
}

body.page-archive .aio-archive-index-card__top span,
body.page-archive .aio-archive-index-card__top em {
    font-size: 6.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .095em !important;
}

/* Блок о проекте под фильтром */
body.page-archive .aio-archive-project-note {
    padding: 21px 20px 19px !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.56),
            rgba(242,227,207,.62)
        ) !important;
}

body.page-archive .aio-archive-project-note h3 {
    margin: 6px 0 12px !important;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: 25px !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    color: #061F3E !important;
}

body.page-archive .aio-archive-project-note
p:not(.aio-events-kicker) {
    margin: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1.62 !important;
    color: rgba(17,20,24,.62) !important;
}

body.page-archive .aio-archive-project-note nav {
    display: grid !important;
    gap: 9px !important;
    margin-top: 17px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(45,45,45,.095) !important;
}

body.page-archive .aio-archive-project-note a,
.aio-archive-info-nav a {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    text-decoration: none !important;
}

/* Общая система информационных страниц */
.aio-archive-info-page,
.aio-archive-rules-page {
    padding: clamp(30px, 4vw, 52px) 0 90px !important;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 55%,
            #F2E3CF 100%
        ) !important;
}

.aio-archive-info-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 22px !important;
    margin-bottom: clamp(34px, 5vw, 66px) !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
}

.aio-archive-info-intro {
    display: grid !important;
    grid-template-columns:
        minmax(280px, .78fr)
        minmax(0, 1fr) !important;
    gap: clamp(34px, 6vw, 92px) !important;
    padding-bottom: clamp(44px, 6vw, 78px) !important;
}

.aio-archive-info-intro h2,
.aio-archive-info-result h2,
.aio-archive-rules-cta h2 {
    margin: 7px 0 0 !important;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(36px, 4.4vw, 58px) !important;
    line-height: .93 !important;
    font-weight: 400 !important;
    color: #061F3E !important;
}

.aio-archive-info-copy,
.aio-archive-info-grid article > div,
.aio-archive-info-result > div,
.aio-archive-rules-content section > div,
.aio-archive-rules-cta > div {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 13px !important;
    line-height: 1.76 !important;
    color: rgba(17,20,24,.68) !important;
}

.aio-archive-info-copy p,
.aio-archive-info-grid p,
.aio-archive-info-result p,
.aio-archive-rules-content p,
.aio-archive-rules-cta p {
    margin: 0 0 1em !important;
}

.aio-archive-info-grid {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;
    border-top: 1px solid rgba(45,45,45,.11) !important;
    border-left: 1px solid rgba(45,45,45,.11) !important;
}

.aio-archive-info-grid article {
    min-height: 310px !important;
    padding: clamp(25px, 3.5vw, 44px) !important;
    border-right: 1px solid rgba(45,45,45,.11) !important;
    border-bottom: 1px solid rgba(45,45,45,.11) !important;
    background: rgba(248,245,239,.34) !important;
}

.aio-archive-info-grid article > span,
.aio-archive-rules-content section > span {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    color: #A9432B !important;
}

.aio-archive-info-grid h2,
.aio-archive-rules-content h2 {
    margin: 13px 0 18px !important;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(27px, 3vw, 39px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    color: #061F3E !important;
}

.aio-archive-info-result,
.aio-archive-rules-cta {
    margin-top: clamp(42px, 6vw, 76px) !important;
    padding: clamp(30px, 5vw, 60px) !important;
    background:
        radial-gradient(
            circle at 80% 12%,
            rgba(169,67,43,.22),
            transparent 18rem
        ),
        linear-gradient(
            135deg,
            #111418,
            #2A2224
        ) !important;
}

.aio-archive-info-result h2,
.aio-archive-rules-cta h2 {
    color: #F8F5EF !important;
}

.aio-archive-info-result > div,
.aio-archive-rules-cta > div {
    max-width: 760px !important;
    margin-top: 18px !important;
    color: rgba(248,245,239,.70) !important;
}

.aio-archive-info-result > a,
.aio-archive-rules-cta > a {
    display: inline-block !important;
    margin-top: 22px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    color: #D36B52 !important;
    text-decoration: none !important;
}

/* Правила */
.aio-archive-rules-layout {
    display: grid !important;
    grid-template-columns:
        minmax(220px, 280px)
        minmax(0, 1fr) !important;
    gap: clamp(36px, 6vw, 80px) !important;
    align-items: start !important;
}

.aio-archive-rules-layout > aside {
    position: sticky !important;
    top: 110px !important;
    display: grid !important;
    gap: 12px !important;
    padding: 22px !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    background: rgba(248,245,239,.62) !important;
}

.aio-archive-rules-layout > aside a {
    padding-top: 10px !important;
    border-top: 1px solid rgba(45,45,45,.085) !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
    color: rgba(17,20,24,.65) !important;
    text-decoration: none !important;
}

.aio-archive-rules-content section {
    scroll-margin-top: 120px !important;
    padding: 0 0 34px !important;
    margin-bottom: 34px !important;
    border-bottom: 1px solid rgba(45,45,45,.11) !important;
}

@media (max-width: 980px) {
    body.page-archive .aio-events-museum-hero__inner,
    body.page-archive-about .aio-events-museum-hero__inner,
    body.page-archive-rules .aio-events-museum-hero__inner,
    .aio-archive-info-intro,
    .aio-archive-rules-layout {
        grid-template-columns: 1fr !important;
    }

    .aio-archive-rules-layout > aside {
        position: static !important;
    }
}

@media (max-width: 680px) {
    body.page-archive .aio-events-museum-hero,
    body.page-archive-about .aio-events-museum-hero,
    body.page-archive-rules .aio-events-museum-hero {
        padding: 32px 0 38px !important;
    }

    body.page-archive .aio-events-museum-hero h1,
    body.page-archive-about .aio-events-museum-hero h1,
    body.page-archive-rules .aio-events-museum-hero h1 {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    body.page-archive .aio-events-museum-hero__inner > p,
    body.page-archive-about .aio-events-museum-hero__inner > p,
    body.page-archive-rules .aio-events-museum-hero__inner > p {
        font-size: 12px !important;
    }

    .aio-archive-info-grid {
        grid-template-columns: 1fr !important;
    }
}


/* AIO_ARCHIVE_PROJECT_PAGES_V1_END */


/* ==========================================================================
   AIO ARCHIVE — FINAL VISUAL ALIGNMENT
   Hero и служебная типографика после визуального сравнения с /events.
   ========================================================================== */

/*
 * Hero: фон, размеры и высота — как у событий.
 */
body.page-archive .aio-events-museum-hero,
body.page-archive-about .aio-events-museum-hero,
body.page-archive-rules .aio-events-museum-hero {
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(
            circle at 78% 22%,
            rgba(169,67,43,.14),
            transparent 22rem
        ),
        linear-gradient(
            135deg,
            #121416 0%,
            #191A1D 56%,
            #2A2224 100%
        ) !important;
}

/*
 * Правая колонка начинается правее —
 * приблизительно под окончанием заголовка «События».
 */
body.page-archive .aio-events-museum-hero__inner,
body.page-archive-about .aio-events-museum-hero__inner,
body.page-archive-rules .aio-events-museum-hero__inner {
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, .72fr) !important;
    gap: clamp(28px, 4.3vw, 68px) !important;
}

/*
 * Кикер — буквально как на странице событий.
 */
body.page-archive .aio-events-museum-hero
.aio-events-kicker,
body.page-archive .aio-events-museum-hero
.aio-events-kicker_light,
body.page-archive-about .aio-events-museum-hero
.aio-events-kicker,
body.page-archive-about .aio-events-museum-hero
.aio-events-kicker_light,
body.page-archive-rules .aio-events-museum-hero
.aio-events-kicker,
body.page-archive-rules .aio-events-museum-hero
.aio-events-kicker_light {
    margin: 0 !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    color: #E5B9A7 !important;
    -webkit-text-fill-color: #E5B9A7 !important;
}

/*
 * Заголовки hero.
 */
body.page-archive .aio-events-museum-hero h1,
body.page-archive-about .aio-events-museum-hero h1,
body.page-archive-rules .aio-events-museum-hero h1 {
    margin: 7px 0 0 !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    font-weight: 500 !important;
    line-height: .9 !important;
    letter-spacing: -.04em !important;
}

/*
 * Правое описание немного мельче событийного,
 * как требуется для длинных текстов архива.
 */
body.page-archive .aio-events-museum-hero__inner > p,
body.page-archive-about .aio-events-museum-hero__inner > p,
body.page-archive-rules .aio-events-museum-hero__inner > p {
    max-width: 500px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: clamp(10px, .78vw, 12px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.72) !important;
}

/*
 * Навигация «К картотеке / Правила».
 * Чуть крупнее, но остаётся служебной.
 */
body.page-archive-about .aio-archive-info-nav a,
body.page-archive-rules .aio-archive-info-nav a {
    font-size: 9px !important;
    line-height: 1.3 !important;
    letter-spacing: .13em !important;
}

/*
 * Все содержательные кикеры информационных страниц —
 * утверждённый красный.
 */
body.page-archive-about .aio-archive-info-page
.aio-events-kicker,
body.page-archive-rules .aio-archive-rules-page
.aio-events-kicker {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/*
 * «Документ должен стать доступным и понятным»:
 * меньше примерно в 1,5 раза, тонкий Cormorant.
 */
body.page-archive-about
.aio-archive-info-intro h2 {
    max-width: 570px !important;
    margin-top: 9px !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(27px, 3vw, 39px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/*
 * Правила: «Содержание» заметнее.
 */
body.page-archive-rules
.aio-archive-rules-layout > aside
.aio-events-kicker {
    margin-bottom: 9px !important;
    font-size: 10px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/*
 * Само слово «Содержание» в текущей разметке может
 * рендериться как обычный текст темы. Укрупняем первый
 * текстовый элемент боковой карточки.
 */
body.page-archive-rules
.aio-archive-rules-layout > aside {
    color: #061F3E !important;
}

body.page-archive-rules
.aio-archive-rules-layout > aside > p:first-child {
    font-size: 10px !important;
}

/*
 * Ссылки оглавления крупнее и читаемее.
 */
body.page-archive-rules
.aio-archive-rules-layout > aside a {
    padding: 11px 0 2px !important;
    font-size: 10.5px !important;
    line-height: 1.48 !important;
    font-weight: 500 !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.72) !important;
}

/*
 * Заголовки и тексты пунктов правил.
 */
body.page-archive-rules
.aio-archive-rules-content h2 {
    font-size: clamp(28px, 2.8vw, 38px) !important;
    font-weight: 400 !important;
}

body.page-archive-rules
.aio-archive-rules-content section > div {
    max-width: 760px !important;
    font-size: 13.5px !important;
    line-height: 1.76 !important;
}

/*
 * Кикер «Результат» на тёмной карточке должен быть
 * не синим и не белым, а тёплым красным.
 */
body.page-archive-about
.aio-archive-info-result
.aio-events-kicker,
body.page-archive-rules
.aio-archive-rules-cta
.aio-events-kicker {
    color: #D36B52 !important;
    -webkit-text-fill-color: #D36B52 !important;
}

/*
 * Служебная классификация архивной карточки.
 */
body.page-archive
.aio-archive-index-card__top span,
body.page-archive
.aio-archive-index-card__top em {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 6.25px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .09em !important;
}

@media (max-width: 980px) {
    body.page-archive .aio-events-museum-hero__inner,
    body.page-archive-about .aio-events-museum-hero__inner,
    body.page-archive-rules .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}


/* AIO_ARCHIVE_FINAL_VISUAL_ALIGNMENT_END */


/* ==========================================================================
   AIO ARCHIVE — DB FONT HERO FIX
   Финальная корректировка по визуальному эталону /events и /about.
   ========================================================================== */

/*
 * HERO АРХИВА
 * Высота, фон, контейнер и вертикальная посадка — как у /events.
 */
body.page-archive .aio-events-museum-hero,
body.page-archive-about .aio-events-museum-hero,
body.page-archive-rules .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(
            circle at 78% 22%,
            rgba(169,67,43,.14),
            transparent 22rem
        ),
        linear-gradient(
            135deg,
            #121416 0%,
            #191A1D 56%,
            #2A2224 100%
        ) !important;
    border-bottom:
        1px solid rgba(242,227,207,.14) !important;
}

body.page-archive .aio-events-museum-hero .aio-container,
body.page-archive-about .aio-events-museum-hero .aio-container,
body.page-archive-rules .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    width: min(1240px, calc(100% - 48px)) !important;
    max-width: 1240px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/*
 * Левая колонка имеет ту же ширину, что на событиях.
 * Правая надпись начинается значительно правее —
 * примерно под окончанием заголовка «События».
 */
body.page-archive .aio-events-museum-hero__inner,
body.page-archive-about .aio-events-museum-hero__inner,
body.page-archive-rules .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(300px, .82fr) !important;
    column-gap: clamp(34px, 4vw, 60px) !important;
    align-items: end !important;
}

/*
 * Верхний кикер hero — как у событий:
 * маленький Montserrat и тёплый музейный оттенок.
 */
body.page-archive .aio-events-museum-hero
.aio-events-kicker,
body.page-archive .aio-events-museum-hero
.aio-events-kicker_light,
body.page-archive-about .aio-events-museum-hero
.aio-events-kicker,
body.page-archive-about .aio-events-museum-hero
.aio-events-kicker_light,
body.page-archive-rules .aio-events-museum-hero
.aio-events-kicker,
body.page-archive-rules .aio-events-museum-hero
.aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
    -webkit-text-fill-color: #E5B9A7 !important;
}

/*
 * Заголовок hero — тонкий музейный Cormorant.
 */
body.page-archive .aio-events-museum-hero h1,
body.page-archive-about .aio-events-museum-hero h1,
body.page-archive-rules .aio-events-museum-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    max-width: 690px !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Cormorant,
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    line-height: .90 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/*
 * Описательная часть hero архива:
 * меньше, тоньше и спокойнее, чем была.
 */
body.page-archive .aio-events-museum-hero__inner > p,
body.page-archive-about .aio-events-museum-hero__inner > p,
body.page-archive-rules .aio-events-museum-hero__inner > p {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: clamp(9.5px, .72vw, 11.5px) !important;
    line-height: 1.64 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.70) !important;
}

/*
 * Содержательные кикеры внутренних страниц:
 * «Замысел», «Результат» и т. д.
 */
body.page-archive-about .aio-archive-info-page
.aio-events-kicker,
body.page-archive-rules .aio-archive-rules-page
.aio-events-kicker {
    margin: 0 !important;
    padding: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/*
 * «Документ должен стать доступным и понятным».
 * Тонкий музейный Cormorant как в /about,
 * без искусственного утолщения.
 */
body.page-archive-about
.aio-archive-info-intro h2 {
    max-width: 590px !important;
    margin: 13px 0 0 !important;
    padding: 0 !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Cormorant,
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(28px, 3.05vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/*
 * Заголовки смысловых блоков проекта —
 * тот же тонкий Cormorant.
 */
body.page-archive-about
.aio-archive-info-grid h2,
body.page-archive-about
.aio-archive-info-result h2,
body.page-archive-rules
.aio-archive-rules-content h2,
body.page-archive-rules
.aio-archive-rules-cta h2 {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Cormorant,
        Georgia,
        "Times New Roman",
        serif !important;
    font-weight: 400 !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
}

/*
 * Навигация: «К картотеке», «О проекте», «Правила».
 */
body.page-archive-about .aio-archive-info-nav a,
body.page-archive-rules .aio-archive-info-nav a {
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: .125em !important;
}

/*
 * Красный кикер в тёмном блоке результата.
 */
body.page-archive-about
.aio-archive-info-result
.aio-events-kicker,
body.page-archive-rules
.aio-archive-rules-cta
.aio-events-kicker {
    color: #D36B52 !important;
    -webkit-text-fill-color: #D36B52 !important;
}

/*
 * Содержание правил — крупнее и контрастнее.
 */
body.page-archive-rules
.aio-archive-rules-layout > aside
.aio-events-kicker {
    margin: 0 0 13px !important;
    font-size: 11px !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

body.page-archive-rules
.aio-archive-rules-layout > aside a {
    padding: 12px 0 4px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 11px !important;
    line-height: 1.48 !important;
    font-weight: 500 !important;
    color: rgba(17,20,24,.72) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.72) !important;
}

/*
 * Основной текст правил увеличиваем.
 */
body.page-archive-rules
.aio-archive-rules-content section > div {
    max-width: 780px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.78 !important;
    color: rgba(17,20,24,.70) !important;
}

/*
 * Служебная классификация карточки:
 * «Инструкция / руководство».
 */
body.page-archive
.aio-archive-index-card__top span,
body.page-archive
.aio-archive-index-card__top em {
    font-size: 6.25px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .085em !important;
}

@media (max-width: 980px) {
    body.page-archive .aio-events-museum-hero__inner,
    body.page-archive-about .aio-events-museum-hero__inner,
    body.page-archive-rules .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        row-gap: 18px !important;
    }

    body.page-archive .aio-events-museum-hero__inner > p,
    body.page-archive-about .aio-events-museum-hero__inner > p,
    body.page-archive-rules .aio-events-museum-hero__inner > p {
        max-width: 650px !important;
    }
}


/* AIO_ARCHIVE_DB_FONT_HERO_FIX_END */


/* ==========================================================================
   AIO ARCHIVE HERO — REAL FINAL ALIGNMENT
   Загружается после исправления cache-busting.
   ========================================================================== */

body.page-archive .aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(
            circle at 78% 22%,
            rgba(169,67,43,.14),
            transparent 22rem
        ),
        linear-gradient(
            135deg,
            #121416 0%,
            #191A1D 56%,
            #2A2224 100%
        ) !important;
    border-bottom:
        1px solid rgba(242,227,207,.14) !important;
}

body.page-archive .aio-events-museum-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

/*
 * Правая колонка начинается примерно в отмеченной точке:
 * под правой частью событийного заголовка.
 */
body.page-archive .aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 540px) !important;
    column-gap: 52px !important;
    align-items: end !important;
}

body.page-archive .aio-events-museum-hero
.aio-events-kicker,
body.page-archive .aio-events-museum-hero
.aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
    -webkit-text-fill-color: #E5B9A7 !important;
}

body.page-archive .aio-events-museum-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Cormorant,
        Georgia,
        serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    line-height: .9 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-synthesis: none !important;
}

/*
 * Описание меньше и начинается заметно правее.
 */
body.page-archive
.aio-events-museum-hero__inner > p {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: clamp(9px, .68vw, 11px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248,245,239,.70) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.70) !important;
}

@media (max-width: 980px) {
    body.page-archive
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        row-gap: 18px !important;
    }

    body.page-archive
    .aio-events-museum-hero__inner > p {
        max-width: 650px !important;
    }
}


/* AIO_ARCHIVE_HERO_REAL_FINAL_ALIGNMENT_END */


/* ==========================================================================
   AIO ARCHIVE HERO — EXACT DESKTOP POSITION
   Правая колонка перенесена вправо по визуальному эталону /events.
   ========================================================================== */

@media (min-width: 981px) {
    body.page-archive
    .aio-events-museum-hero__inner {
        display: grid !important;
        grid-template-columns:
            620px
            minmax(0, 1fr) !important;
        column-gap: 88px !important;
        align-items: end !important;
    }

    body.page-archive
    .aio-events-museum-hero__inner > p {
        width: auto !important;
        max-width: 500px !important;
        margin: 0 0 3px !important;
        padding: 0 !important;

        font-family:
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif !important;

        font-size: 10.5px !important;
        line-height: 1.58 !important;
        font-weight: 400 !important;
        letter-spacing: 0 !important;

        color: rgba(248,245,239,.69) !important;
        -webkit-text-fill-color:
            rgba(248,245,239,.69) !important;
    }
}

body.page-archive
.aio-events-museum-hero h1 {
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Cormorant,
        Georgia,
        "Times New Roman",
        serif !important;

    font-weight: 400 !important;
    font-synthesis: none !important;
}


/* AIO_ARCHIVE_HERO_EXACT_DESKTOP_POSITION_END */

/* AIO_TEAM_THIN_CORMORANT_FINAL_20260714_START */

/*
 * Точная типографика страницы команды.
 * Hero не затрагивается.
 */

/* Название команды в блоке «О команде» */
html body .aio-main .aio-team-overview__about h2 {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(42px, 4vw, 60px) !important;
    line-height: .93 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: -.022em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Заголовок «Экипажи команды» */
html body .aio-main .aio-team-crews__head h2 {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(32px, 3vw, 46px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Названия экипажей — тонкий музейный Cormorant Caps */
html body .aio-main .aio-team-crew-card__body h3,
html body .aio-main .aio-team-crew-card h3 {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(19px, 1.6vw, 25px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Название команды в каталоге /teams */
html body .aio-main .aio-club-directory-card__body h3,
html body .aio-main .aio-club-directory-card__body h3 a {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Описание в карточке команды не выводим */
html body .aio-main .aio-club-directory-card__text {
    display: none !important;
}

html body .aio-main .aio-club-directory-card__meta {
    margin-top: 18px !important;
}

/* AIO_TEAM_THIN_CORMORANT_FINAL_20260714_END */


/* ==========================================================================
   AIO ARCHIVE — CLEAN HERO, SMALLER CARD TITLES, SOURCE LINK
   Hero использует ту же геометрию, что /events.
   ========================================================================== */

/*
 * После удаления класса .aio-archive-museum-hero старые специальные
 * архивные селекторы больше не участвуют в оформлении этой секции.
 *
 * Геометрия буквально повторяет финальный hero страницы /events.
 */
html body.page-archive
main.aio-main
section.aio-events-museum-hero
.aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns:
        minmax(0, .82fr)
        minmax(280px, .72fr) !important;
    gap: clamp(22px, 3.5vw, 52px) !important;
    align-items: end !important;
}

html body.page-archive
main.aio-main
section.aio-events-museum-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 3.8vw, 52px) 0 !important;
    background:
        radial-gradient(
            circle at 78% 22%,
            rgba(169,67,43,.14),
            transparent 22rem
        ),
        linear-gradient(
            135deg,
            #121416 0%,
            #191A1D 56%,
            #2A2224 100%
        ) !important;
    border-bottom:
        1px solid rgba(242,227,207,.14) !important;
}

html body.page-archive
main.aio-main
section.aio-events-museum-hero
.aio-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1240px !important;
}

html body.page-archive
main.aio-main
section.aio-events-museum-hero
.aio-events-kicker,
html body.page-archive
main.aio-main
section.aio-events-museum-hero
.aio-events-kicker_light {
    margin: 0 !important;
    padding: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #E5B9A7 !important;
    -webkit-text-fill-color: #E5B9A7 !important;
}

html body.page-archive
main.aio-main
section.aio-events-museum-hero h1 {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    max-width: 620px !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Cormorant,
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(36px, 4.15vw, 62px) !important;
    font-weight: 400 !important;
    line-height: .9 !important;
    letter-spacing: -.04em !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-synthesis: none !important;
}

html body.page-archive
main.aio-main
section.aio-events-museum-hero
.aio-events-museum-hero__inner > p {
    width: auto !important;
    max-width: 540px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: clamp(11px, .88vw, 13px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.76) !important;
}

/*
 * Заголовок обычной архивной карточки уменьшаем примерно в 1,5 раза.
 * Тёмную CTA-карточку это правило не затрагивает.
 */
html body.page-archive
.aio-archive-index-card:not(.aio-archive-submit-card)
.aio-archive-index-card__body h3 {
    font-size: clamp(18px, 1.6vw, 23px) !important;
    line-height: 1.04 !important;
    font-weight: 400 !important;
    letter-spacing: -.006em !important;
}

/*
 * Ссылка на первоисточник внутри паспортной части карточки.
 */
html body.page-archive
.aio-archive-source-link {
    color: rgba(17,20,24,.68) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.68) !important;
    text-decoration: underline !important;
    text-decoration-color:
        rgba(169,67,43,.34) !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
    transition:
        color .18s ease,
        text-decoration-color .18s ease !important;
}

html body.page-archive
.aio-archive-source-link:hover {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
    text-decoration-color: #A9432B !important;
}

@media (max-width: 980px) {
    html body.page-archive
    main.aio-main
    section.aio-events-museum-hero
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}


/* AIO_ARCHIVE_CLEAN_HERO_CARD_SOURCE_END */

/* AIO_TEAM_TITLE_SCALE_FIX_20260714_START */

/*
 * Название команды и заголовок «Экипажи команды»
 * используют один масштаб и одинаковый тонкий музейный Cormorant.
 * Hero не затрагивается.
 */

html body .aio-main .aio-team-overview__about h2,
html body .aio-main .aio-team-crews__head h2 {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(32px, 3vw, 46px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* AIO_TEAM_TITLE_SCALE_FIX_20260714_END */


/* AIO_TEAM_PROJECT_GROUP_FINAL_20260714 */

.aio-team-project-group {
    padding: clamp(68px, 7vw, 104px) 0;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 54%,
            #F2E3CF 100%
        );
    border-top: 1px solid rgba(45,45,45,.095);
}

.aio-team-project-group__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 38px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(45,45,45,.095);
}

/*
 * Единая типографика заголовков внутри страницы команды.
 * Hero не затрагивается.
 */
html body .aio-main .aio-team-overview__about h2,
html body .aio-main .aio-team-crews__head h2,
html body .aio-main .aio-team-project-group__head h2 {
    margin: 14px 0 0 !important;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(32px, 3vw, 46px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: .005em !important;
    text-transform: none !important;
    font-synthesis: none !important;
    color: #061F3E !important;
}

.aio-team-project-group__count {
    margin: 0 0 4px;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(17,20,24,.58);
}

.aio-team-project-group__list {
    border-top: 1px solid rgba(45,45,45,.095);
}

.aio-team-project-member {
    display: grid;
    grid-template-columns:
        42px
        96px
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: clamp(18px, 2.4vw, 34px);
    min-height: 136px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(45,45,45,.095);
}

.aio-team-project-member__number {
    align-self: start;
    padding-top: 4px;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .16em;
    color: #A9432B;
}

.aio-team-project-member__photo {
    width: 96px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(6,31,62,.92) 0%,
            rgba(17,20,24,.98) 100%
        );
}

.aio-team-project-member__photo a {
    display: block;
    width: 100%;
    height: 100%;
}

.aio-team-project-member__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.72) contrast(.94) brightness(.90);
    transition:
        filter .3s ease,
        transform .3s ease;
}

.aio-team-project-member:hover
.aio-team-project-member__photo img {
    filter: saturate(.92) contrast(.98) brightness(.96);
    transform: scale(1.015);
}

.aio-team-project-member__photo > span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 400;
    color: rgba(248,245,239,.88);
}

.aio-team-project-member__content {
    min-width: 0;
}

.aio-team-project-member__role {
    margin: 0 0 9px;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 9px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #A9432B;
}

html body .aio-main .aio-team-project-member__content h3 {
    margin: 0;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(23px, 2.2vw, 34px);
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    letter-spacing: .035em;
    text-transform: uppercase;
    font-synthesis: none;
    color: #061F3E;
}

.aio-team-project-member__bio {
    max-width: 680px;
    margin: 10px 0 0;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 13px;
    line-height: 1.58;
    color: rgba(17,20,24,.68);
}

.aio-team-project-member__action {
    min-width: 152px;
    text-align: right;
}

.aio-team-project-member__action a {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #061F3E;
    text-decoration: none;
}

.aio-team-project-member__action a:hover {
    color: #A9432B;
}

.aio-team-project-group__empty {
    margin: 0;
    padding: 28px 0;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(17,20,24,.66);
}

@media (max-width: 860px) {
    .aio-team-project-group__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .aio-team-project-member {
        grid-template-columns:
            32px
            84px
            minmax(0, 1fr);
    }

    .aio-team-project-member__photo {
        width: 84px;
    }

    .aio-team-project-member__action {
        grid-column: 3;
        min-width: 0;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .aio-team-project-group {
        padding: 52px 0 68px;
    }

    .aio-team-project-member {
        grid-template-columns:
            24px
            68px
            minmax(0, 1fr);
        gap: 13px;
        min-height: 0;
        padding: 18px 0;
    }

    .aio-team-project-member__photo {
        width: 68px;
    }

    html body
    .aio-main
    .aio-team-project-member__content h3 {
        font-size: 21px;
    }

    .aio-team-project-member__bio {
        display: none;
    }

    .aio-team-project-member__action {
        grid-column: 3;
    }
}

/* AIO_TEAM_PROJECT_TYPOGRAPHY_FINAL_20260714 */

/*
 * Единый кикер страницы команды.
 * Hero не меняем: правило действует только внутри светлой части.
 */
html body .aio-main .aio-team-overview .aio-events-kicker,
html body .aio-main .aio-team-crews .aio-events-kicker,
html body .aio-main .aio-team-project-group .aio-events-kicker,
html body .aio-main .aio-team-project-member__role {
    margin-top: 0;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    font-style: normal !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
    font-synthesis: none !important;
}

/*
 * Имена участников проектной группы:
 * тонкий AIO Cormorant, без капса.
 */
html body .aio-main .aio-team-project-member__content h3 {
    margin: 0 !important;
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(25px, 2.25vw, 35px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: .005em !important;
    text-transform: none !important;
    font-synthesis: none !important;
    color: #061F3E !important;
}

/*
 * Единый основной Montserrat-текст в блоках
 * «О команде», «Направления» и проектной группе.
 */
html body .aio-main .aio-team-overview__text,
html body .aio-main .aio-team-overview__text p,
html body .aio-main .aio-team-overview__directions,
html body .aio-main .aio-team-overview__directions p,
html body .aio-main .aio-team-overview__empty,
html body .aio-main .aio-team-project-member__bio,
html body .aio-main .aio-team-project-group__empty {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(17,20,24,.72) !important;
    font-synthesis: none !important;
}

/*
 * Одинаковый ритм абзацев в описании и направлениях.
 */
html body .aio-main .aio-team-overview__text p,
html body .aio-main .aio-team-overview__directions p {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

html body .aio-main .aio-team-overview__text p:last-child,
html body .aio-main .aio-team-overview__directions p:last-child {
    margin-bottom: 0 !important;
}

/*
 * Служебные подписи проектной группы.
 */
html body .aio-main .aio-team-project-group__count,
html body .aio-main .aio-team-project-member__action a,
html body .aio-main .aio-team-project-member__number {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-synthesis: none !important;
}

@media (max-width: 560px) {
    html body .aio-main .aio-team-project-member__content h3 {
        font-size: 23px !important;
    }

    html body .aio-main .aio-team-overview__text,
    html body .aio-main .aio-team-overview__text p,
    html body .aio-main .aio-team-overview__directions,
    html body .aio-main .aio-team-overview__directions p,
    html body .aio-main .aio-team-overview__empty,
    html body .aio-main .aio-team-project-group__empty {
        font-size: 14px !important;
        line-height: 1.68 !important;
    }
}

/* AIO_TEAM_PROJECT_CORMORANT_UNIFY_20260714 */

/*
 * Заголовок «Состав проектной группы» —
 * та же тонкая музейная типографика,
 * что у названия команды «Индиана Джонс».
 */
html body .aio-main .aio-team-project-group__head h2 {
    margin: 14px 0 0 !important;

    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(32px, 3vw, 46px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    font-style: normal !important;

    letter-spacing: .005em !important;
    text-transform: none !important;

    font-synthesis: none !important;
    font-variation-settings: normal !important;

    color: #061F3E !important;
}

/*
 * Имена участников —
 * тот же AIO Cormorant, без капса,
 * без декоративного разрежения.
 */
html body .aio-main .aio-team-project-member__content h3 {
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(27px, 2.45vw, 38px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    font-style: normal !important;

    letter-spacing: .005em !important;
    text-transform: none !important;

    font-synthesis: none !important;
    font-variation-settings: normal !important;

    color: #061F3E !important;
}

@media (max-width: 560px) {
    html body .aio-main .aio-team-project-group__head h2 {
        font-size: 31px !important;
    }

    html body .aio-main .aio-team-project-member__content h3 {
        font-size: 24px !important;
    }
}

/* AIO_TEAM_EXACT_LIGHT_FONT_START */

@font-face {
    font-family: "AIO Cormorant Team Light";
    src:
        url("../fonts/CormorantGaramond-Light.ttf")
        format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

/*
 * Один физический файл шрифта для:
 * названия команды, заголовка состава и имён участников.
 */
html body .aio-main .aio-team-overview__about h2,
html body .aio-main .aio-team-project-group__head h2,
html body .aio-main .aio-team-project-member__content h3 {
    font-family:
        "AIO Cormorant Team Light",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-weight: 300 !important;
    font-style: normal !important;
    font-synthesis: none !important;
    font-variation-settings: normal !important;

    text-transform: none !important;
    letter-spacing: -.018em !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: geometricPrecision !important;
}

/* Название команды */
html body .aio-main .aio-team-overview__about h2 {
    margin: 14px 0 0 !important;
    font-size: clamp(32px, 3vw, 46px) !important;
    line-height: .96 !important;
}

/* Заголовок «Состав проектной группы» */
html body .aio-main .aio-team-project-group__head h2 {
    margin: 14px 0 0 !important;
    font-size: clamp(32px, 3vw, 46px) !important;
    line-height: .96 !important;
}

/* Имена участников */
html body .aio-main .aio-team-project-member__content h3 {
    margin: 0 !important;
    font-size: clamp(27px, 2.45vw, 38px) !important;
    line-height: .98 !important;
}

@media (max-width: 560px) {
    html body .aio-main .aio-team-overview__about h2,
    html body .aio-main .aio-team-project-group__head h2 {
        font-size: 31px !important;
    }

    html body .aio-main .aio-team-project-member__content h3 {
        font-size: 24px !important;
    }
}

/* AIO_TEAM_EXACT_LIGHT_FONT_END */

/* AIO_TEAM_SINGLE_CREW_FINAL_20260714 */

.aio-team-single-crew {
    padding: clamp(68px, 7vw, 108px) 0;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 54%,
            #F2E3CF 100%
        );
    border-top: 1px solid rgba(45,45,45,.095);
}

.aio-team-single-crew__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(30px, 4vw, 48px);
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(45,45,45,.095);
}

html body .aio-main .aio-team-single-crew__head h2,
html body .aio-main .aio-team-single-crew__car-body h3,
html body .aio-main .aio-team-single-person__identity h3 {
    font-family:
        "AIO Cormorant Team Light",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;
    font-weight: 300 !important;
    font-style: normal !important;
    font-synthesis: none !important;
    text-transform: none !important;
    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body .aio-main .aio-team-single-crew__head h2 {
    margin: 14px 0 0 !important;
    font-size: clamp(32px, 3vw, 46px) !important;
    line-height: .96 !important;
    letter-spacing: -.018em !important;
}

.aio-team-single-crew__start-number {
    margin: 0 0 4px;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(17,20,24,.58);
}

.aio-team-single-crew__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(340px, .75fr);
    gap: clamp(38px, 6vw, 86px);
    align-items: start;
}

.aio-team-single-crew__car {
    min-width: 0;
}

.aio-team-single-crew__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #061F3E 0%,
            #111418 100%
        );
}

.aio-team-single-crew__media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.aio-team-single-crew__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.72) contrast(.94) brightness(.90);
    transition:
        filter .35s ease,
        transform .35s ease;
}

.aio-team-single-crew__car:hover
.aio-team-single-crew__media img {
    filter: saturate(.94) contrast(.98) brightness(.96);
    transform: scale(1.012);
}

.aio-team-single-crew__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family:
        "AIO Cormorant Team Light",
        "Cormorant Garamond",
        Georgia,
        serif;
    font-size: clamp(54px, 8vw, 108px);
    font-weight: 300;
    color: rgba(248,245,239,.82);
}

.aio-team-single-crew__media-label {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 8px 10px;
    background: rgba(17,20,24,.76);
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #F8F5EF;
}

.aio-team-single-crew__car-body {
    padding-top: 22px;
}

html body .aio-main .aio-team-single-crew__car-body h3 {
    margin: 12px 0 0 !important;
    font-size: clamp(30px, 3.2vw, 48px) !important;
    line-height: .97 !important;
    letter-spacing: -.018em !important;
}

.aio-team-single-crew__car-link {
    display: inline-block;
    margin-top: 18px;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #061F3E;
    text-decoration: none;
}

.aio-team-single-crew__car-link:hover {
    color: #A9432B;
}

.aio-team-single-crew__people {
    padding-left: 28px;
    border-left: 1px solid rgba(45,45,45,.13);
}

.aio-team-single-crew__people-list {
    margin-top: 20px;
    border-top: 1px solid rgba(45,45,45,.095);
}

.aio-team-single-person {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 110px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(45,45,45,.095);
}

.aio-team-single-person__photo {
    width: 76px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(6,31,62,.92) 0%,
            rgba(17,20,24,.98) 100%
        );
}

.aio-team-single-person__photo a {
    display: block;
    width: 100%;
    height: 100%;
}

.aio-team-single-person__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.72) contrast(.94) brightness(.90);
}

.aio-team-single-person__photo > span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family:
        "AIO Cormorant Team Light",
        "Cormorant Garamond",
        Georgia,
        serif;
    font-size: 36px;
    font-weight: 300;
    color: rgba(248,245,239,.88);
}

.aio-team-single-person__identity {
    min-width: 0;
}

.aio-team-single-person__identity > p {
    margin: 0 0 7px;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: #A9432B;
}

html body .aio-main .aio-team-single-person__identity h3 {
    margin: 0 !important;
    font-size: clamp(23px, 2.1vw, 32px) !important;
    line-height: 1 !important;
    letter-spacing: -.012em !important;
}

.aio-team-single-person__link {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #061F3E;
    text-decoration: none;
}

.aio-team-single-person__link:hover {
    color: #A9432B;
}

.aio-team-single-crew__note {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(45,45,45,.095);
}

.aio-team-single-crew__note > p:last-child {
    margin: 18px 0 0;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(17,20,24,.72);
}

.aio-team-single-crew__empty {
    margin: 0;
    padding: 28px 0;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(17,20,24,.68);
}

html body .aio-main .aio-team-single-crew .aio-events-kicker {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

@media (max-width: 960px) {
    .aio-team-single-crew__grid {
        grid-template-columns: 1fr;
    }

    .aio-team-single-crew__people {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .aio-team-single-crew {
        padding: 54px 0 70px;
    }

    .aio-team-single-crew__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .aio-team-single-person {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .aio-team-single-person__photo {
        width: 64px;
    }

    .aio-team-single-person__link {
        grid-column: 2;
    }

    html body .aio-main .aio-team-single-crew__head h2 {
        font-size: 31px !important;
    }

    html body .aio-main .aio-team-single-person__identity h3 {
        font-size: 23px !important;
    }
}

/* AIO_TEAM_RELATED_EVENTS_20260714 */

.aio-team-related-events {
    padding: clamp(68px, 7vw, 108px) 0;
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F6EFE4 54%,
            #F2E3CF 100%
        );
    border-top: 1px solid rgba(45,45,45,.095);
}

.aio-team-related-events__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(30px, 4vw, 48px);
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(45,45,45,.095);
}

html body .aio-main .aio-team-related-events__head h2 {
    margin: 14px 0 0 !important;
    font-family:
        "AIO Cormorant Team Light",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(32px, 3vw, 46px) !important;
    line-height: .96 !important;
    font-weight: 300 !important;
    font-style: normal !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;
    font-synthesis: none !important;
    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;
}

.aio-team-related-events__count {
    margin: 0 0 4px;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(17,20,24,.58);
}

.aio-team-related-events__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.8vw, 38px);
}

.aio-team-related-event {
    min-width: 0;
}

.aio-team-related-event .aio-event-museum-card {
    height: 100%;
}

html body .aio-main
.aio-team-related-events
.aio-events-kicker {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

@media (max-width: 820px) {
    .aio-team-related-events__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .aio-team-related-events {
        padding: 54px 0 70px;
    }

    .aio-team-related-events__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    html body .aio-main
    .aio-team-related-events__head h2 {
        font-size: 31px !important;
    }
}

/* AIO_TEAM_CLUB_CALENDAR_AND_TYPE_20260714 */

/*
 * События команды используют готовую композицию
 * главной страницы и страницы клуба.
 */
html body .aio-main .aio-team-calendar-redesign {
    padding-top: 72px !important;
    padding-bottom: 80px !important;
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(255,255,255,.78),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 72%,
            rgba(169,67,43,.07),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F7F1E8 52%,
            #F4E8D8 100%
        ) !important;
    border-top: 1px solid rgba(45,45,45,.095) !important;
}

html body .aio-main
.aio-team-calendar-redesign > .aio-container {
    width: min(1516px, calc(100% - 276px)) !important;
    max-width: 1516px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html body .aio-main
.aio-team-calendar-redesign
.aio-calendar-redesign__head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 32px !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
}

html body .aio-main
.aio-team-calendar-redesign
.aio-calendar-redesign__kicker {
    margin: 0 0 16px !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

html body .aio-main
.aio-team-calendar-redesign
.aio-calendar-redesign__all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 21px !important;
    border: 1px solid rgba(7,45,91,.20) !important;
    background: rgba(248,245,239,.34) !important;
    color: #072D5B !important;
    text-decoration: none !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

html body .aio-main
.aio-team-calendar-redesign
.aio-calendar-redesign__all::after {
    content: " +" !important;
    color: #A9432B !important;
}

html body .aio-main
.aio-team-calendar-redesign
.aio-calendar-redesign__all:hover {
    color: #A9432B !important;
    border-color: rgba(169,67,43,.46) !important;
    background: rgba(248,245,239,.58) !important;
}

/*
 * Одинокая карточка не растягивается на всю ширину.
 * Размер и форма соответствуют клубному блоку.
 */
html body .aio-main
.aio-team-calendar-redesign
.aio-calendar-redesign__grid {
    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;
    gap: 26px !important;
    max-width: 1240px !important;
    align-items: stretch !important;
}

/*
 * Типографика одного экипажа:
 * тот же Light Cormorant, но спокойнее по масштабу.
 */

/* Название экипажа */
html body .aio-main
.aio-team-single-crew__head h2 {
    font-size: clamp(28px, 2.6vw, 40px) !important;
    line-height: .97 !important;
}

/* Название автомобиля */
html body .aio-main
.aio-team-single-crew__car-body h3 {
    font-size: clamp(26px, 2.7vw, 41px) !important;
    line-height: .98 !important;
}

/* Имена водителя, штурмана и механика */
html body .aio-main
.aio-team-single-person__identity h3 {
    font-size: clamp(20px, 1.8vw, 27px) !important;
    line-height: 1 !important;
}

@media (max-width: 1080px) {
    html body .aio-main
    .aio-team-calendar-redesign > .aio-container {
        width: min(100% - 44px, 1280px) !important;
    }

    html body .aio-main
    .aio-team-calendar-redesign
    .aio-calendar-redesign__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    html body .aio-main
    .aio-team-calendar-redesign {
        padding-top: 56px !important;
        padding-bottom: 66px !important;
    }

    html body .aio-main
    .aio-team-calendar-redesign
    .aio-calendar-redesign__head {
        display: block !important;
    }

    html body .aio-main
    .aio-team-calendar-redesign
    .aio-calendar-redesign__all {
        margin-top: 18px !important;
    }

    html body .aio-main
    .aio-team-calendar-redesign
    .aio-calendar-redesign__grid {
        grid-template-columns: 1fr !important;
    }

    html body .aio-main
    .aio-team-single-crew__head h2 {
        font-size: 29px !important;
    }

    html body .aio-main
    .aio-team-single-crew__car-body h3 {
        font-size: 29px !important;
    }

    html body .aio-main
    .aio-team-single-person__identity h3 {
        font-size: 21px !important;
    }
}

/* AIO_TEAM_MOBILE_FINAL_20260714_START */

/*
 * Финальная мобильная система страниц команд:
 * project_group, team_standing, single_crew.
 * Desktop-версия не затрагивается.
 */

/* ---------------------------------------------------------
   ПЛАНШЕТ И НЕБОЛЬШОЙ НОУТБУК
   --------------------------------------------------------- */

@media (max-width: 960px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body.page-team-item .aio-main,
    body.page-team-item .aio-main section,
    body.page-team-item .aio-main .aio-container {
        min-width: 0;
    }

    body.page-team-item .aio-main .aio-container {
        width: min(100% - 44px, 1280px) !important;
        max-width: 1280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Hero */

    body.page-team-item .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        min-height: 0 !important;
        padding-top: 58px !important;
        padding-bottom: 58px !important;
    }

    body.page-team-item .aio-events-museum-hero__inner > div,
    body.page-team-item .aio-events-museum-hero__inner > p {
        width: 100% !important;
        max-width: 760px !important;
        min-width: 0 !important;
    }

    body.page-team-item .aio-events-museum-hero h1 {
        max-width: 100% !important;
        overflow-wrap: anywhere;
    }

    body.page-team-item .aio-events-museum-hero__inner > p {
        margin: 0 !important;
    }

    /* О команде и паспорт */

    body.page-team-item .aio-team-overview {
        padding-top: 52px !important;
        padding-bottom: 58px !important;
    }

    body.page-team-item .aio-team-overview__grid {
        grid-template-columns: 1fr !important;
        gap: 38px !important;
    }

    body.page-team-item .aio-team-overview__about,
    body.page-team-item .aio-team-passport {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    body.page-team-item .aio-team-passport {
        padding-left: 0 !important;
        padding-top: 30px !important;
        border-left: 0 !important;
        border-top: 1px solid rgba(45,45,45,.13) !important;
    }

    body.page-team-item .aio-team-passport dl {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 28px !important;
    }

    /* Командный зачёт */

    body.page-team-item .aio-team-crews {
        padding-top: 58px !important;
        padding-bottom: 72px !important;
    }

    body.page-team-item .aio-team-crews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }

    body.page-team-item .aio-team-crew-card,
    body.page-team-item .aio-team-crew-card__body,
    body.page-team-item .aio-team-crew-card__people {
        min-width: 0 !important;
    }

    /* Проектная группа */

    body.page-team-item .aio-team-project-group {
        padding-top: 58px !important;
        padding-bottom: 72px !important;
    }

    body.page-team-item .aio-team-project-member {
        grid-template-columns:
            34px
            88px
            minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    body.page-team-item .aio-team-project-member__photo {
        width: 88px !important;
    }

    body.page-team-item .aio-team-project-member__action {
        grid-column: 3 !important;
        justify-self: start !important;
        text-align: left !important;
    }

    /* Один экипаж */

    body.page-team-item .aio-team-single-crew {
        padding-top: 58px !important;
        padding-bottom: 72px !important;
    }

    body.page-team-item .aio-team-single-crew__grid {
        grid-template-columns: 1fr !important;
        gap: 44px !important;
    }

    body.page-team-item .aio-team-single-crew__people {
        padding-left: 0 !important;
        padding-top: 30px !important;
        border-left: 0 !important;
        border-top: 1px solid rgba(45,45,45,.13) !important;
    }

    /* События команды */

    body.page-team-item .aio-team-calendar-redesign {
        padding-top: 58px !important;
        padding-bottom: 72px !important;
    }

    body.page-team-item .aio-team-calendar-redesign
    .aio-calendar-redesign__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
}


/* ---------------------------------------------------------
   ТЕЛЕФОН
   --------------------------------------------------------- */

@media (max-width: 720px) {

    body.page-team-item .aio-main .aio-container {
        width: calc(100% - 32px) !important;
    }

    /* Hero */

    body.page-team-item .aio-events-museum-hero__inner {
        gap: 22px !important;
        padding-top: 46px !important;
        padding-bottom: 48px !important;
    }

    body.page-team-item .aio-events-museum-hero h1 {
        font-size: clamp(42px, 12vw, 64px) !important;
        line-height: .91 !important;
        letter-spacing: -.025em !important;
    }

    body.page-team-item .aio-events-museum-hero__inner > p {
        font-size: 14px !important;
        line-height: 1.66 !important;
    }

    /* Общие заголовки */

    body.page-team-item .aio-team-overview__about h2,
    body.page-team-item .aio-team-crews__head h2,
    body.page-team-item .aio-team-project-group__head h2,
    body.page-team-item .aio-team-single-crew__head h2 {
        font-size: clamp(30px, 9vw, 39px) !important;
        line-height: .96 !important;
        overflow-wrap: anywhere;
    }

    /* О команде */

    body.page-team-item .aio-team-overview {
        padding-top: 44px !important;
        padding-bottom: 50px !important;
    }

    body.page-team-item .aio-team-overview__grid {
        gap: 32px !important;
    }

    body.page-team-item .aio-team-overview__text,
    body.page-team-item .aio-team-overview__text p,
    body.page-team-item .aio-team-overview__directions,
    body.page-team-item .aio-team-overview__directions p,
    body.page-team-item .aio-team-overview__empty {
        font-size: 14px !important;
        line-height: 1.68 !important;
    }

    body.page-team-item .aio-team-passport {
        padding-top: 24px !important;
    }

    body.page-team-item .aio-team-passport dl {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    body.page-team-item .aio-team-passport dl > div {
        min-width: 0 !important;
    }

    /* Шапки разделов */

    body.page-team-item .aio-team-crews__head,
    body.page-team-item .aio-team-project-group__head,
    body.page-team-item .aio-team-single-crew__head,
    body.page-team-item .aio-team-calendar-redesign
    .aio-calendar-redesign__head {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    body.page-team-item .aio-team-crews__count,
    body.page-team-item .aio-team-project-group__count,
    body.page-team-item .aio-team-single-crew__start-number {
        margin: 0 !important;
    }

    /* Командный зачёт */

    body.page-team-item .aio-team-crews {
        padding-top: 50px !important;
        padding-bottom: 62px !important;
    }

    body.page-team-item .aio-team-crews__grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.page-team-item .aio-team-crew-card__media {
        min-height: 0 !important;
        aspect-ratio: 16 / 10 !important;
    }

    body.page-team-item .aio-team-crew-card__body {
        padding: 22px 20px 24px !important;
    }

    body.page-team-item .aio-team-crew-card__body h3 {
        font-size: clamp(27px, 8vw, 34px) !important;
        line-height: .98 !important;
    }

    body.page-team-item .aio-team-crew-card__people {
        gap: 14px !important;
    }

    body.page-team-item .aio-team-crew-person {
        min-width: 0 !important;
    }

    body.page-team-item .aio-team-crew-person__photo {
        flex: 0 0 auto !important;
    }

    body.page-team-item .aio-team-crew-person > div:last-child,
    body.page-team-item .aio-team-crew-person a,
    body.page-team-item .aio-team-crew-person span {
        min-width: 0 !important;
        overflow-wrap: anywhere;
    }

    /* Проектная группа */

    body.page-team-item .aio-team-project-group {
        padding-top: 50px !important;
        padding-bottom: 62px !important;
    }

    body.page-team-item .aio-team-project-member {
        grid-template-columns:
            24px
            72px
            minmax(0, 1fr) !important;
        gap: 14px !important;
        min-height: 0 !important;
        padding: 20px 0 !important;
    }

    body.page-team-item .aio-team-project-member__photo {
        width: 72px !important;
    }

    body.page-team-item .aio-team-project-member__content {
        min-width: 0 !important;
    }

    body.page-team-item .aio-team-project-member__content h3 {
        font-size: clamp(24px, 7vw, 31px) !important;
        line-height: .98 !important;
        overflow-wrap: anywhere;
    }

    body.page-team-item .aio-team-project-member__bio {
        font-size: 13.5px !important;
        line-height: 1.62 !important;
    }

    body.page-team-item .aio-team-project-member__action {
        grid-column: 3 !important;
        margin-top: 2px !important;
    }

    /* Один экипаж */

    body.page-team-item .aio-team-single-crew {
        padding-top: 50px !important;
        padding-bottom: 62px !important;
    }

    body.page-team-item .aio-team-single-crew__head {
        padding-bottom: 18px !important;
        margin-bottom: 28px !important;
    }

    body.page-team-item .aio-team-single-crew__grid {
        gap: 36px !important;
    }

    body.page-team-item .aio-team-single-crew__media {
        aspect-ratio: 4 / 3 !important;
    }

    body.page-team-item .aio-team-single-crew__car-body {
        padding-top: 18px !important;
    }

    body.page-team-item .aio-team-single-crew__car-body h3 {
        font-size: clamp(27px, 8vw, 37px) !important;
        line-height: .98 !important;
        overflow-wrap: anywhere;
    }

    body.page-team-item .aio-team-single-person {
        grid-template-columns: 64px minmax(0, 1fr) !important;
        gap: 14px !important;
        min-height: 0 !important;
        padding: 15px 0 !important;
    }

    body.page-team-item .aio-team-single-person__photo {
        width: 64px !important;
    }

    body.page-team-item .aio-team-single-person__identity {
        min-width: 0 !important;
    }

    body.page-team-item .aio-team-single-person__identity h3 {
        font-size: clamp(22px, 7vw, 29px) !important;
        line-height: .98 !important;
        overflow-wrap: anywhere;
    }

    body.page-team-item .aio-team-single-person__link {
        grid-column: 2 !important;
        justify-self: start !important;
        margin-top: 2px !important;
    }

    /* События */

    body.page-team-item .aio-team-calendar-redesign {
        padding-top: 50px !important;
        padding-bottom: 62px !important;
    }

    body.page-team-item .aio-team-calendar-redesign
    .aio-calendar-redesign__grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.page-team-item .aio-team-calendar-redesign
    .aio-calendar-redesign__all {
        margin-top: 0 !important;
    }

    body.page-team-item .aio-team-calendar-redesign
    .aio-cal-card {
        min-width: 0 !important;
    }
}


/* ---------------------------------------------------------
   МАЛЕНЬКИЙ ТЕЛЕФОН
   --------------------------------------------------------- */

@media (max-width: 430px) {

    body.page-team-item .aio-main .aio-container {
        width: calc(100% - 26px) !important;
    }

    body.page-team-item .aio-events-museum-hero h1 {
        font-size: clamp(39px, 12vw, 52px) !important;
    }

    body.page-team-item .aio-team-overview__about h2,
    body.page-team-item .aio-team-crews__head h2,
    body.page-team-item .aio-team-project-group__head h2,
    body.page-team-item .aio-team-single-crew__head h2 {
        font-size: clamp(28px, 9vw, 35px) !important;
    }

    body.page-team-item .aio-team-crew-card__body {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body.page-team-item .aio-team-project-member {
        grid-template-columns:
            20px
            62px
            minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body.page-team-item .aio-team-project-member__photo {
        width: 62px !important;
    }

    body.page-team-item .aio-team-project-member__content h3 {
        font-size: 23px !important;
    }

    body.page-team-item .aio-team-project-member__bio {
        display: none !important;
    }

    body.page-team-item .aio-team-single-person {
        grid-template-columns: 58px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body.page-team-item .aio-team-single-person__photo {
        width: 58px !important;
    }

    body.page-team-item .aio-team-single-person__identity h3 {
        font-size: 22px !important;
    }

    body.page-team-item .aio-team-single-crew__media-label {
        left: 12px !important;
        bottom: 12px !important;
        font-size: 8px !important;
    }
}

/* AIO_TEAM_MOBILE_FINAL_20260714_END */

/* AIO_HOME_MOBILE_COMPLETE_20260714_START */

/*
 * Финальная мобильная система:
 * — общая шапка;
 * — главная страница;
 * — общий футер.
 *
 * Desktop не изменяется.
 */

/* =========================================================
   MOBILE HEADER
   ========================================================= */

.aio-header-mobile-toggle {
    display: none;
}

@media (max-width: 900px) {

    html.aio-mobile-menu-lock,
    html.aio-mobile-menu-lock body {
        overflow: hidden !important;
    }

    html body .aio-header_elegant {
        position: sticky !important;
        top: 0 !important;
        z-index: 99999 !important;
        width: 100% !important;
        max-width: 100vw !important;
        background: #F8F5EF !important;
        box-shadow:
            0 8px 28px rgba(17,20,24,.08) !important;
    }

    html body .aio-header-main {
        width: 100% !important;
        background: rgba(248,245,239,.985) !important;
        border-bottom:
            1px solid rgba(45,45,45,.095) !important;
        backdrop-filter: blur(12px) !important;
    }

    html body .aio-header-main__inner {
        position: relative !important;
        width: calc(100% - 32px) !important;
        min-height: 66px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 18px !important;
        overflow: visible !important;
    }

    html body .aio-header__brand,
    html body .aio-header_elegant .aio-header__brand {
        position: relative !important;
        z-index: 3 !important;
        width: 52px !important;
        height: 52px !important;
        flex: 0 0 52px !important;
        overflow: hidden !important;
    }

    html body .aio-header__brand img,
    html body .aio-header_elegant .aio-header__brand img {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        object-fit: contain !important;
    }

    html body .aio-header-mobile-toggle {
        position: relative !important;
        z-index: 3 !important;
        display: inline-flex !important;
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 44px !important;
        padding: 0 !important;
        border: 1px solid rgba(6,31,62,.16) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 5px !important;
        cursor: pointer !important;
    }

    html body .aio-header-mobile-toggle span {
        display: block !important;
        width: 18px !important;
        height: 1px !important;
        background: #061F3E !important;
        transition:
            transform .22s ease,
            opacity .22s ease !important;
    }

    html body
    .aio-header_elegant.is-mobile-menu-open
    .aio-header-mobile-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg) !important;
    }

    html body
    .aio-header_elegant.is-mobile-menu-open
    .aio-header-mobile-toggle span:nth-child(2) {
        opacity: 0 !important;
    }

    html body
    .aio-header_elegant.is-mobile-menu-open
    .aio-header-mobile-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg) !important;
    }

    html body .aio-header_elegant .aio-header__nav {
        position: fixed !important;
        z-index: 2 !important;
        top: 66px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        display: block !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: calc(100dvh - 66px) !important;

        padding:
            22px 16px
            calc(40px + env(safe-area-inset-bottom)) !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        white-space: normal !important;

        background:
            linear-gradient(
                180deg,
                #F8F5EF 0%,
                #F6EFE4 58%,
                #F2E3CF 100%
            ) !important;

        border-top:
            1px solid rgba(45,45,45,.095) !important;

        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-10px) !important;
        transition:
            opacity .2s ease,
            visibility .2s ease,
            transform .2s ease !important;
    }

    html body
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__nav {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    html body .aio-header_elegant .aio-header__nav > a,
    html body .aio-header_elegant .aio-header__dropdown-link,
    html body .aio-header_elegant .aio-header__login,
    html body .aio-header_elegant .aio-header__register,
    html body .aio-header_elegant .aio-header__apply {
        display: flex !important;
        width: 100% !important;
        min-height: 48px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 13px 0 !important;

        align-items: center !important;
        justify-content: space-between !important;

        border: 0 !important;
        border-bottom:
            1px solid rgba(45,45,45,.095) !important;
        border-radius: 0 !important;

        background: transparent !important;
        box-shadow: none !important;

        font-family:
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        letter-spacing: .12em !important;
        text-transform: uppercase !important;

        color: #061F3E !important;
        -webkit-text-fill-color: #061F3E !important;
        text-decoration: none !important;
        white-space: normal !important;
    }

    html body .aio-header_elegant .aio-header__apply {
        margin-top: 18px !important;
        min-height: 44px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        justify-content: center !important;
        border:
            1px solid rgba(169,67,43,.78) !important;
        background: #A9432B !important;
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
    }

    html body .aio-header_elegant .aio-header__register {
        margin-top: 14px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        justify-content: center !important;
        border:
            1px solid rgba(6,31,62,.20) !important;
    }

    html body .aio-header_elegant .aio-header__separator {
        display: none !important;
    }

    html body .aio-header_elegant .aio-header__dropdown {
        display: block !important;
        width: 100% !important;
    }

    html body .aio-header_elegant .aio-header__dropdown::after {
        content: none !important;
        display: none !important;
    }

    html body .aio-header_elegant .aio-header__dropdown-menu {
        position: static !important;
        inset: auto !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 2px 0 8px 16px !important;

        border: 0 !important;
        border-bottom:
            1px solid rgba(45,45,45,.095) !important;
        border-radius: 0 !important;

        background: transparent !important;
        box-shadow: none !important;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    html body .aio-header_elegant .aio-header__dropdown-menu a {
        display: block !important;
        min-height: 0 !important;
        padding: 8px 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;

        font-family:
            "AIO Montserrat",
            Montserrat,
            Arial,
            sans-serif !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;

        color: rgba(17,20,24,.72) !important;
        -webkit-text-fill-color:
            rgba(17,20,24,.72) !important;
        white-space: normal !important;
    }
}

/* =========================================================
   HOME: TABLET
   ========================================================= */

@media (max-width: 960px) {

    html body.page-index,
    html body.page-index .aio-main,
    html body.page-index .aio-main section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    html body.page-index .aio-main .aio-container {
        width: calc(100% - 44px) !important;
        max-width: 1280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        min-width: 0 !important;
    }

    /* Hero */

    html body.page-index .aio-home-hero-museum,
    html body.page-index .aio-home-hero-museum__grid {
        min-height: 0 !important;
    }

    html body.page-index .aio-home-hero-museum__grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        padding-top: 42px !important;
        padding-bottom: 46px !important;
    }

    html body.page-index .aio-home-hero-museum__content {
        order: 1 !important;
        width: 100% !important;
        max-width: 720px !important;
        min-height: 0 !important;
    }

    html body.page-index .aio-home-hero-museum__media {
        order: 2 !important;
        position: relative !important;
        inset: auto !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;

        margin: 0 !important;
        overflow: hidden !important;
        background: #061F3E !important;
    }

    html body.page-index
    .aio-home-hero-museum__media::before {
        width: 100% !important;
        background:
            linear-gradient(
                180deg,
                rgba(248,245,239,0) 0%,
                rgba(248,245,239,.12) 100%
            ) !important;
    }

    html body.page-index
    .aio-home-hero-museum__media::after {
        background:
            linear-gradient(
                0deg,
                rgba(6,31,62,.20) 0%,
                rgba(6,31,62,0) 48%
            ) !important;
    }

    html body.page-index
    .aio-home-hero-museum__fallback-image,
    html body.page-index
    .aio-home-hero-museum__video,
    html body.page-index
    .aio-home-hero-museum__media img,
    html body.page-index
    .aio-home-hero-museum__media video {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    /* Общие двухколоночные заголовки */

    html body.page-index
    .aio-about-editorial__inner,
    html body.page-index
    .aio-directions-visual__head,
    html body.page-index
    .aio-calendar-redesign__head,
    html body.page-index
    .aio-photoarchive-redesign__head {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 22px !important;
    }

    /* Сетки */

    html body.page-index
    .aio-directions-visual__grid,
    html body.page-index
    .aio-calendar-redesign__grid,
    html body.page-index
    .aio-photoarchive-redesign__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }

    html body.page-index
    .aio-publishing-hub__grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    html body.page-index
    .aio-home-partners-final__grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}

/* =========================================================
   HOME: PHONE
   ========================================================= */

@media (max-width: 720px) {

    html body.page-index .aio-main .aio-container {
        width: calc(100% - 32px) !important;
    }

    /* Hero */

    html body.page-index .aio-home-hero-museum__grid {
        gap: 26px !important;
        padding-top: 34px !important;
        padding-bottom: 36px !important;
    }

    html body.page-index
    .aio-home-hero-museum .aio-kicker,
    html body.page-index
    .aio-home-hero-museum .aio-kicker_red {
        margin-bottom: 14px !important;
        font-size: 9px !important;
        line-height: 1.35 !important;
        letter-spacing: .15em !important;
    }

    html body.page-index .aio-home-hero-museum h1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;

        font-size:
            clamp(42px, 12vw, 58px) !important;
        line-height: .91 !important;
        letter-spacing: -.025em !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    html body.page-index
    .aio-home-hero-museum__lead {
        max-width: 100% !important;
        margin-top: 19px !important;
        font-size: 14px !important;
        line-height: 1.64 !important;
    }

    html body.page-index
    .aio-home-hero-museum__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        width: 100% !important;
        margin-top: 23px !important;
    }

    html body.page-index
    .aio-home-hero-museum__actions .aio-btn {
        width: 100% !important;
        min-height: 44px !important;
        height: auto !important;
        padding: 12px 16px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    html body.page-index
    .aio-home-hero-museum__media {
        aspect-ratio: 4 / 3 !important;
    }

    /* Вертикальный ритм секций */

    html body.page-index .aio-about-editorial,
    html body.page-index .aio-directions-visual,
    html body.page-index .aio-calendar-redesign,
    html body.page-index .aio-publishing-hub,
    html body.page-index .aio-photoarchive-redesign,
    html body.page-index .aio-home-partners-final {
        padding-top: 54px !important;
        padding-bottom: 62px !important;
    }

    html body.page-index .aio-mission-statement {
        padding-top: 54px !important;
        padding-bottom: 56px !important;
    }

    /* Заголовки */

    html body.page-index
    .aio-about-editorial__title h2,
    html body.page-index
    .aio-mission-statement h2,
    html body.page-index
    .aio-directions-visual__head h2,
    html body.page-index
    .aio-calendar-redesign__head h2,
    html body.page-index
    .aio-publishing-hub__head h2,
    html body.page-index
    .aio-photoarchive-redesign__head h2,
    html body.page-index
    .aio-home-partners-final__head h2 {
        max-width: 100% !important;
        font-size:
            clamp(34px, 10vw, 46px) !important;
        line-height: .95 !important;
        letter-spacing: -.022em !important;
        overflow-wrap: normal !important;
    }

    /* О нас */

    html body.page-index
    .aio-about-editorial__inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }

    html body.page-index
    .aio-about-editorial__title,
    html body.page-index
    .aio-about-editorial__text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    html body.page-index
    .aio-about-editorial__text p {
        font-size: 14px !important;
        line-height: 1.66 !important;
    }

    html body.page-index
    .aio-about-editorial__text a {
        margin-top: 20px !important;
    }

    /* Миссия */

    html body.page-index
    .aio-mission-statement__inner {
        width: 100% !important;
        max-width: 100% !important;
    }

    html body.page-index
    .aio-mission-statement__line {
        width: 100% !important;
        margin-top: 24px !important;
        margin-bottom: 22px !important;
    }

    html body.page-index
    .aio-mission-statement__note {
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.62 !important;
    }

    /* Ссылки разделов */

    html body.page-index
    .aio-directions-visual__all,
    html body.page-index
    .aio-calendar-redesign__all,
    html body.page-index
    .aio-photoarchive-redesign__all {
        margin-top: 0 !important;
        min-height: 38px !important;
        padding: 0 18px !important;
        white-space: normal !important;
    }

    /* Все карточки — одна колонка */

    html body.page-index
    .aio-directions-visual__grid,
    html body.page-index
    .aio-calendar-redesign__grid,
    html body.page-index
    .aio-photoarchive-redesign__grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Направления */

    html body.page-index
    .aio-direction-visual-card {
        width: 100% !important;
        min-width: 0 !important;
    }

    html body.page-index
    .aio-direction-visual-card__image {
        aspect-ratio: 16 / 10 !important;
        min-height: 0 !important;
    }

    html body.page-index
    .aio-direction-visual-card__body {
        padding: 22px 20px 24px !important;
    }

    html body.page-index
    .aio-direction-visual-card__body h3 {
        font-size:
            clamp(28px, 8vw, 36px) !important;
        line-height: .98 !important;
    }

    /* Календарь */

    html body.page-index .aio-cal-card {
        width: 100% !important;
        min-width: 0 !important;
    }

    html body.page-index
    .aio-cal-card__photo {
        min-height: 0 !important;
        aspect-ratio: 16 / 10 !important;
    }

    html body.page-index
    .aio-cal-card__body {
        padding: 22px 20px 24px !important;
    }

    html body.page-index
    .aio-cal-card__body h3 {
        font-size:
            clamp(28px, 8vw, 36px) !important;
        line-height: .98 !important;
    }

    html body.page-index
    .aio-cal-card__meta {
        overflow-wrap: anywhere !important;
    }

    /* Издания */

    html body.page-index
    .aio-publishing-hub__head {
        max-width: 100% !important;
        margin-bottom: 28px !important;
    }

    html body.page-index
    .aio-publishing-hub__head > p:not(
        .aio-publishing-hub__kicker
    ) {
        font-size: 14px !important;
        line-height: 1.66 !important;
    }

    html body.page-index
    .aio-publishing-hub-card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        min-width: 0 !important;
    }

    html body.page-index
    .aio-publishing-hub-card__image {
        min-height: 0 !important;
        aspect-ratio: 16 / 10 !important;
    }

    html body.page-index
    .aio-publishing-hub-card__body {
        padding: 22px 20px 24px !important;
    }

    html body.page-index
    .aio-publishing-hub-card__body h3 {
        font-size:
            clamp(29px, 8vw, 38px) !important;
        line-height: .98 !important;
    }

    /* Фотоархив */

    html body.page-index
    .aio-photo-card {
        width: 100% !important;
        min-width: 0 !important;
    }

    html body.page-index
    .aio-photo-card__image {
        min-height: 0 !important;
        aspect-ratio: 4 / 3 !important;
    }

    html body.page-index
    .aio-photo-card__body {
        padding: 19px 18px 22px !important;
    }

    html body.page-index
    .aio-photo-card__body h3 {
        font-size:
            clamp(27px, 8vw, 35px) !important;
        line-height: .98 !important;
    }

    /* Партнёры */

    html body.page-index
    .aio-home-partners-final__head {
        max-width: 100% !important;
    }

    html body.page-index
    .aio-home-partners-final__lead {
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.66 !important;
    }

    html body.page-index
    .aio-home-partners-final__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    html body.page-index
    .aio-home-partners-final__item {
        min-width: 0 !important;
        min-height: 94px !important;
        padding: 15px !important;
    }

    html body.page-index
    .aio-home-partners-final__item img {
        max-width: 100% !important;
        max-height: 56px !important;
    }
}

/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media (max-width: 430px) {

    html body .aio-header-main__inner,
    html body.page-index .aio-main .aio-container {
        width: calc(100% - 26px) !important;
    }

    html body.page-index
    .aio-home-hero-museum h1 {
        font-size:
            clamp(39px, 12vw, 50px) !important;
    }

    html body.page-index
    .aio-home-hero-museum__media {
        aspect-ratio: 5 / 4 !important;
    }

    html body.page-index
    .aio-about-editorial__title h2,
    html body.page-index
    .aio-mission-statement h2,
    html body.page-index
    .aio-directions-visual__head h2,
    html body.page-index
    .aio-calendar-redesign__head h2,
    html body.page-index
    .aio-publishing-hub__head h2,
    html body.page-index
    .aio-photoarchive-redesign__head h2,
    html body.page-index
    .aio-home-partners-final__head h2 {
        font-size:
            clamp(31px, 10vw, 40px) !important;
    }

    html body.page-index
    .aio-home-partners-final__grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* =========================================================
   MOBILE FOOTER
   ========================================================= */

@media (max-width: 760px) {

    html body .aio-footer {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    html body .aio-footer .aio-container {
        width: calc(100% - 32px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body .aio-footer__main {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 38px !important;
        padding-top: 52px !important;
        padding-bottom: 42px !important;
    }

    html body .aio-footer__brand,
    html body .aio-footer__nav,
    html body .aio-footer__nav_docs {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        grid-column: auto !important;
    }

    html body .aio-footer .aio-footer__title {
        max-width: 320px !important;
        margin-bottom: 15px !important;
        font-size: 29px !important;
        line-height: 1 !important;
        white-space: normal !important;
    }

    html body
    .aio-footer__brand > p:not(.aio-footer__title) {
        max-width: 100% !important;
        font-size: 13px !important;
        line-height: 1.58 !important;
    }

    html body .aio-footer__support {
        max-width: 100% !important;
        margin-top: 24px !important;
    }

    html body .aio-footer__support a {
        width: 100% !important;
        min-height: 42px !important;
        padding: 11px 15px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    html body .aio-footer__nav > p {
        margin: 0 0 14px !important;
    }

    html body .aio-footer__nav > div {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    html body .aio-footer__nav a {
        display: block !important;
        padding: 8px 0 !important;
        overflow-wrap: anywhere !important;
    }

    html body .aio-footer__bottom {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;

        padding-top: 22px !important;
        padding-bottom:
            calc(26px + env(safe-area-inset-bottom)) !important;

        white-space: normal !important;
    }

    html body .aio-footer__bottom *,
    html body footer.aio-footer .aio-footer__bottom * {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    html body .aio-footer__bottom span {
        display: block !important;
        width: 100% !important;
        font-size: 11px !important;
        line-height: 1.55 !important;
    }
}

@media (max-width: 430px) {

    html body .aio-footer .aio-container {
        width: calc(100% - 26px) !important;
    }

    html body .aio-footer__main {
        gap: 32px !important;
        padding-top: 44px !important;
    }

    html body .aio-footer .aio-footer__title {
        font-size: 27px !important;
    }
}

/* AIO_HOME_MOBILE_COMPLETE_20260714_END */

/* AIO_HOME_MOBILE_CARDS_GEOMETRY_FIX_20260715_START */

/*
 * Главная на телефоне:
 * карточки проектов и событий переводятся
 * из остаточной десктопной сетки в нормальную вертикальную композицию.
 */

@media (max-width: 720px) {

    /* =====================================================
       ПРОЕКТЫ ОБЩЕСТВА
       ===================================================== */

    html body.page-index
    .aio-directions-visual__grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    html body.page-index
    .aio-direction-visual-card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        overflow: hidden !important;
    }

    html body.page-index
    .aio-direction-visual-card__image {
        position: relative !important;
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;

        aspect-ratio: 16 / 9 !important;
        overflow: hidden !important;

        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    html body.page-index
    .aio-direction-visual-card__image img {
        position: absolute !important;
        inset: 0 !important;

        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        min-height: 100% !important;

        object-fit: cover !important;
        object-position: center center !important;
    }

    html body.page-index
    .aio-direction-visual-card__body {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        grid-column: 1 !important;
        grid-row: 2 !important;

        padding: 24px 22px 27px !important;
    }

    html body.page-index
    .aio-direction-visual-card__number {
        margin: 0 0 15px !important;
    }

    html body.page-index
    .aio-direction-visual-card__body h3 {
        max-width: 100% !important;
        margin: 0 !important;

        font-size: clamp(30px, 8.6vw, 39px) !important;
        line-height: .94 !important;
        letter-spacing: .015em !important;

        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    html body.page-index
    .aio-direction-visual-card__text {
        max-width: 100% !important;
        margin: 17px 0 0 !important;

        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    html body.page-index
    .aio-direction-visual-card__link {
        display: inline-block !important;
        margin-top: 19px !important;
    }


    /* =====================================================
       СОБЫТИЯ
       ===================================================== */

    html body.page-index
    .aio-calendar-redesign__grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    html body.page-index
    .aio-cal-card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        overflow: hidden !important;
    }

    html body.page-index
    .aio-cal-card__photo {
        position: relative !important;
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;

        aspect-ratio: 16 / 9 !important;
        overflow: hidden !important;

        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    html body.page-index
    .aio-cal-card__photo > img {
        position: absolute !important;
        inset: 0 !important;

        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        min-height: 100% !important;

        object-fit: cover !important;
        object-position: center center !important;
    }

    html body.page-index
    .aio-cal-card__date {
        z-index: 3 !important;
    }

    html body.page-index
    .aio-cal-card__body {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        grid-column: 1 !important;
        grid-row: 2 !important;

        padding: 23px 22px 27px !important;
    }

    html body.page-index
    .aio-cal-card__type {
        margin: 0 0 13px !important;
    }

    html body.page-index
    .aio-cal-card__body h3 {
        max-width: 100% !important;
        margin: 0 !important;

        font-size: clamp(29px, 8.4vw, 38px) !important;
        line-height: .96 !important;

        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    html body.page-index
    .aio-cal-card__meta {
        max-width: 100% !important;
        margin: 14px 0 0 !important;

        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    html body.page-index
    .aio-cal-card__link {
        display: inline-block !important;
        margin-top: 18px !important;
    }
}


/* Маленький телефон */

@media (max-width: 430px) {

    html body.page-index
    .aio-direction-visual-card__image,
    html body.page-index
    .aio-cal-card__photo {
        aspect-ratio: 16 / 10 !important;
    }

    html body.page-index
    .aio-direction-visual-card__body,
    html body.page-index
    .aio-cal-card__body {
        padding-left: 19px !important;
        padding-right: 19px !important;
    }

    html body.page-index
    .aio-direction-visual-card__body h3,
    html body.page-index
    .aio-cal-card__body h3 {
        font-size: 30px !important;
    }
}

/* AIO_HOME_MOBILE_CARDS_GEOMETRY_FIX_20260715_END */

/* AIO_HOME_MOBILE_PHOTOARCHIVE_FULL_IMAGE_20260715_START */

/*
 * Главная, мобильный фотоархив:
 * карточка становится единым полноразмерным изображением;
 * остаточная десктопная колонка и видимая тёмная полоса исключаются.
 */
@media (max-width: 720px) {

    html body.page-index
    .aio-photoarchive-redesign__grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    html body.page-index
    .aio-photoarchive-redesign
    .aio-photo-card {
        position: relative !important;
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;

        aspect-ratio: 4 / 3 !important;
        overflow: hidden !important;

        padding: 0 !important;
        margin: 0 !important;

        background: #111418 !important;
        border-radius: 0 !important;
    }

    html body.page-index
    .aio-photoarchive-redesign
    .aio-photo-card__image {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;

        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;

        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;

        background: #111418 !important;
    }

    html body.page-index
    .aio-photoarchive-redesign
    .aio-photo-card__image img {
        position: absolute !important;
        inset: 0 !important;

        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: cover !important;
        object-position: center center !important;
    }

    html body.page-index
    .aio-photoarchive-redesign
    .aio-photo-card__image > span {
        position: absolute !important;
        inset: 0 !important;

        display: grid !important;
        place-items: center !important;

        width: 100% !important;
        height: 100% !important;
    }

    html body.page-index
    .aio-photoarchive-redesign
    .aio-photo-card__body {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 3 !important;

        display: block !important;
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 68px 22px 22px !important;

        background:
            linear-gradient(
                180deg,
                rgba(17,20,24,0) 0%,
                rgba(17,20,24,.24) 32%,
                rgba(17,20,24,.88) 100%
            ) !important;
    }

    html body.page-index
    .aio-photoarchive-redesign
    .aio-photo-card__body p {
        margin: 0 0 10px !important;
        color: rgba(248,245,239,.72) !important;
    }

    html body.page-index
    .aio-photoarchive-redesign
    .aio-photo-card__body h3 {
        max-width: 100% !important;
        margin: 0 !important;

        font-size: clamp(31px, 9vw, 42px) !important;
        line-height: .94 !important;
        color: #F8F5EF !important;

        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}

@media (max-width: 430px) {

    html body.page-index
    .aio-photoarchive-redesign
    .aio-photo-card {
        aspect-ratio: 1.22 / 1 !important;
    }

    html body.page-index
    .aio-photoarchive-redesign
    .aio-photo-card__body {
        padding: 62px 18px 19px !important;
    }
}

/* AIO_HOME_MOBILE_PHOTOARCHIVE_FULL_IMAGE_20260715_END */


/* AIO_HOME_HERO_DESKTOP_FULLSCREEN_LIGHT_20260715_START */

/*
 * Главная, широкий экран:
 * hero занимает первый экран за вычетом актуальной высоты шапки.
 * Следующий раздел не показывается при первом открытии страницы.
 */
@media (min-width: 1081px) {

    html body.page-index .aio-home-hero-museum {
        min-height: calc(100svh - 68px) !important;
    }

    html body.page-index
    .aio-home-hero-museum__grid {
        min-height: calc(100svh - 68px) !important;
        box-sizing: border-box !important;

        padding-top: clamp(42px, 4.5vh, 66px) !important;
        padding-bottom: clamp(42px, 4.5vh, 66px) !important;
    }

    /*
     * Главный заголовок:
     * тонкое начертание Cormorant без искусственного утолщения.
     */
    html body.page-index
    .aio-home-hero-museum h1 {
        font-family:
            "AIO Cormorant Team Light",
            "AIO Cormorant Garamond",
            "Cormorant Garamond",
            Georgia,
            "Times New Roman",
            serif !important;

        font-weight: 300 !important;
        font-style: normal !important;
        font-synthesis: none !important;

        letter-spacing: -.012em !important;
        line-height: .94 !important;

        -webkit-font-smoothing: antialiased !important;
        text-rendering: geometricPrecision !important;
    }
}

/*
 * На невысоких ноутбуках сохраняем полный первый экран,
 * но немного уплотняем внутреннюю композицию.
 */
@media (min-width: 1081px) and (max-height: 760px) {

    html body.page-index
    .aio-home-hero-museum__grid {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    html body.page-index
    .aio-home-hero-museum h1 {
        font-size: clamp(48px, 5vw, 72px) !important;
    }

    html body.page-index
    .aio-home-hero-museum__lead {
        margin-top: 20px !important;
    }

    html body.page-index
    .aio-home-hero-museum__actions {
        margin-top: 24px !important;
    }
}

/* AIO_HOME_HERO_DESKTOP_FULLSCREEN_LIGHT_20260715_END */

/* AIO_HOME_HERO_DESKTOP_LOWER_TEXT_20260715_START */

/*
 * Главная, десктоп:
 * — заголовок меньше и тоньше;
 * — текстовая часть опущена вниз;
 * — нижний край кнопок выровнен по нижнему краю изображения.
 */
@media (min-width: 1101px) {

    html body.page-index
    .aio-home-hero-museum__grid {
        align-items: stretch !important;
    }

    html body.page-index
    .aio-home-hero-museum__content {
        align-self: stretch !important;
        justify-content: flex-end !important;

        width: 100% !important;
        max-width: 720px !important;

        padding-top: 52px !important;
        padding-bottom: 0 !important;
    }

    html body.page-index
    .aio-home-hero-museum h1 {
        width: 100% !important;
        max-width: 720px !important;

        font-family:
            "AIO Cormorant",
            "Cormorant Garamond",
            Georgia,
            "Times New Roman",
            serif !important;

        font-size: clamp(48px, 4.15vw, 62px) !important;
        line-height: .96 !important;
        font-weight: 400 !important;
        letter-spacing: .005em !important;

        font-synthesis: none !important;
    }

    html body.page-index
    .aio-home-hero-museum__lead {
        max-width: 660px !important;
        margin-top: 22px !important;
    }

    html body.page-index
    .aio-home-hero-museum__actions {
        margin-top: 26px !important;
        margin-bottom: 0 !important;
    }

    html body.page-index
    .aio-home-hero-museum__media {
        align-self: stretch !important;
    }
}

/* AIO_HOME_HERO_DESKTOP_LOWER_TEXT_20260715_END */

/* AIO_HOME_HERO_DESKTOP_FINAL_LOWER_20260715_START */

/*
 * Главная, десктоп:
 * текстовая композиция опущена ближе к нижней границе hero.
 * Заголовок немного уменьшен, остаётся тонким и двухстрочным.
 */
@media (min-width: 1101px) {

    html body.page-index
    .aio-home-hero-museum__content {
        position: relative !important;
        top: 104px !important;

        width: 100% !important;
        max-width: 740px !important;

        justify-content: flex-end !important;
        align-self: stretch !important;
    }

    html body.page-index
    .aio-home-hero-museum h1 {
        width: 100% !important;
        max-width: 740px !important;

        font-family:
            "AIO Cormorant",
            "Cormorant Garamond",
            Georgia,
            "Times New Roman",
            serif !important;

        font-size: clamp(45px, 3.85vw, 58px) !important;
        line-height: .96 !important;
        font-weight: 400 !important;
        letter-spacing: .003em !important;
        font-synthesis: none !important;
    }

    html body.page-index
    .aio-home-hero-museum__lead {
        max-width: 700px !important;
        margin-top: 20px !important;
    }

    html body.page-index
    .aio-home-hero-museum__actions {
        margin-top: 24px !important;
        margin-bottom: 0 !important;
    }
}

/* AIO_HOME_HERO_DESKTOP_FINAL_LOWER_20260715_END */

/* AIO_HOME_HERO_LEFT_COLUMN_FIX_20260715_START */

/*
 * Главная, desktop:
 * левая смысловая колонка не заходит на автомобиль.
 * Утверждённый заголовок выводится в две строки.
 */
@media (min-width: 901px) {

    html body.page-index
    .aio-home-hero-museum__grid {
        grid-template-columns:
            minmax(0, 560px)
            minmax(0, 1fr) !important;
        column-gap: clamp(38px, 4vw, 68px) !important;
    }

    html body.page-index
    .aio-home-hero-museum__content {
        width: 100% !important;
        max-width: 560px !important;
        min-width: 0 !important;

        align-self: end !important;
        justify-content: flex-end !important;

        padding-bottom: clamp(72px, 8vh, 108px) !important;
        z-index: 3 !important;
    }

    html body.page-index
    .aio-home-hero-museum__title {
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 !important;

        font-family:
            "AIO Cormorant",
            "Cormorant Garamond",
            Georgia,
            "Times New Roman",
            serif !important;

        font-size: clamp(49px, 4.15vw, 66px) !important;
        line-height: .92 !important;
        font-weight: 400 !important;
        letter-spacing: -.018em !important;

        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    html body.page-index
    .aio-home-hero-museum__title > span {
        display: block !important;
        width: max-content !important;
        max-width: 100% !important;
        white-space: nowrap !important;
    }

    html body.page-index
    .aio-home-hero-museum__title > span + span {
        margin-top: 7px !important;
    }

    html body.page-index
    .aio-home-hero-museum__lead {
        width: 100% !important;
        max-width: 550px !important;
        margin-top: 23px !important;

        font-size: 15px !important;
        line-height: 1.58 !important;
    }

    html body.page-index
    .aio-home-hero-museum__actions {
        display: grid !important;
        grid-template-columns:
            max-content
            max-content
            max-content !important;

        width: 100% !important;
        max-width: 550px !important;
        gap: 10px !important;
        margin-top: 25px !important;
    }

    html body.page-index
    .aio-home-hero-museum__actions .aio-btn {
        width: auto !important;
        min-width: 0 !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        white-space: nowrap !important;
    }

    html body.page-index
    .aio-home-hero-museum__media {
        min-width: 0 !important;
    }
}


/*
 * Узкий desktop / планшет:
 * кнопки могут перенестись, но не заходят на изображение.
 */
@media (min-width: 901px) and (max-width: 1180px) {

    html body.page-index
    .aio-home-hero-museum__grid {
        grid-template-columns:
            minmax(0, 46%)
            minmax(0, 54%) !important;
        column-gap: 24px !important;
    }

    html body.page-index
    .aio-home-hero-museum__content {
        max-width: 100% !important;
    }

    html body.page-index
    .aio-home-hero-museum__title {
        max-width: 100% !important;
        font-size: clamp(43px, 4.8vw, 56px) !important;
    }

    html body.page-index
    .aio-home-hero-museum__actions {
        display: flex !important;
        flex-wrap: wrap !important;
        max-width: 100% !important;
    }
}


/*
 * Mobile:
 * отменяем desktop-ограничения и сохраняем уже настроенную
 * вертикальную мобильную композицию.
 */
@media (max-width: 900px) {

    html body.page-index
    .aio-home-hero-museum__content {
        width: 100% !important;
        max-width: 100% !important;
        padding-bottom: 0 !important;
        align-self: auto !important;
        justify-content: flex-start !important;
    }

    html body.page-index
    .aio-home-hero-museum__title {
        width: 100% !important;
        max-width: 100% !important;
    }

    html body.page-index
    .aio-home-hero-museum__title > span {
        width: auto !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
}

/* AIO_HOME_HERO_LEFT_COLUMN_FIX_20260715_END */

/* AIO_HOME_HERO_TITLE_TYPOGRAPHY_FIX_20260715_START */

/*
 * Главная — заголовок hero.
 * Возвращаем утверждённый тонкий AIO Cormorant,
 * тёмный цвет и нормальный редакционный масштаб.
 */

html body.page-index
.aio-home-hero-museum
.aio-home-hero-museum__title,
html body.page-index
.aio-home-hero-museum
h1.aio-home-hero-museum__title {
    color: #061F3E !important;

    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-style: normal !important;
    font-weight: 400 !important;
    font-synthesis: none !important;

    text-shadow: none !important;
    -webkit-text-fill-color: #061F3E !important;

    line-height: .92 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;
}


/* Десктоп */
@media (min-width: 1181px) {

    html body.page-index
    .aio-home-hero-museum
    .aio-home-hero-museum__title {
        width: 100% !important;
        max-width: 560px !important;

        font-size: clamp(46px, 3.75vw, 61px) !important;
    }

    html body.page-index
    .aio-home-hero-museum
    .aio-home-hero-museum__title > span {
        display: block !important;
        width: max-content !important;
        max-width: 100% !important;

        color: #061F3E !important;
        -webkit-text-fill-color: #061F3E !important;

        font-family:
            "AIO Cormorant",
            "Cormorant Garamond",
            Georgia,
            "Times New Roman",
            serif !important;

        font-weight: 400 !important;
        font-style: normal !important;
        font-synthesis: none !important;

        white-space: nowrap !important;
    }

    html body.page-index
    .aio-home-hero-museum
    .aio-home-hero-museum__title > span + span {
        margin-top: 5px !important;
    }
}


/* Небольшой десктоп и планшет */
@media (min-width: 901px) and (max-width: 1180px) {

    html body.page-index
    .aio-home-hero-museum
    .aio-home-hero-museum__title {
        max-width: 100% !important;
        font-size: clamp(41px, 4.4vw, 52px) !important;
    }

    html body.page-index
    .aio-home-hero-museum
    .aio-home-hero-museum__title > span {
        color: #061F3E !important;
        -webkit-text-fill-color: #061F3E !important;

        font-family:
            "AIO Cormorant",
            "Cormorant Garamond",
            Georgia,
            "Times New Roman",
            serif !important;

        font-weight: 400 !important;
        font-synthesis: none !important;
    }
}


/* Мобильная версия */
@media (max-width: 900px) {

    html body.page-index
    .aio-home-hero-museum
    .aio-home-hero-museum__title {
        color: #061F3E !important;
        -webkit-text-fill-color: #061F3E !important;

        font-family:
            "AIO Cormorant",
            "Cormorant Garamond",
            Georgia,
            "Times New Roman",
            serif !important;

        font-size: clamp(39px, 11vw, 50px) !important;
        line-height: .94 !important;
        font-weight: 400 !important;
        font-synthesis: none !important;
    }

    html body.page-index
    .aio-home-hero-museum
    .aio-home-hero-museum__title > span {
        color: #061F3E !important;
        -webkit-text-fill-color: #061F3E !important;

        font-family:
            "AIO Cormorant",
            "Cormorant Garamond",
            Georgia,
            "Times New Roman",
            serif !important;

        font-weight: 400 !important;
        font-synthesis: none !important;
    }
}

/* AIO_HOME_HERO_TITLE_TYPOGRAPHY_FIX_20260715_END */

/* AIO_ABOUT_HERO_EXACT_TWO_LINES_20260715_START */
/*
 * Только управляем переносом первого заголовка /about.
 * Шрифт, размер, начертание, цвет и межстрочный интервал наследуются
 * из уже утверждённых правил страницы.
 */
html body.page-about
.aio-main
.aio-about-page
> .aio-about-editorial:first-child
.aio-about-hero-title-two-lines > span {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;

    font: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

@media (max-width: 640px) {
    html body.page-about
    .aio-main
    .aio-about-page
    > .aio-about-editorial:first-child
    .aio-about-hero-title-two-lines > span {
        width: auto !important;
    }
}
/* AIO_ABOUT_HERO_EXACT_TWO_LINES_20260715_END */

/* AIO_ABOUT_SECTION_HEADINGS_UNIFIED_20260715_START
 *
 * Первый заголовок страницы:
 * «Автомобильное / историческое общество»
 * сохраняет отдельный hero-масштаб.
 *
 * Все следующие секционные заголовки /about
 * получают единый тонкий музейный Cormorant.
 */

html body.page-about
.aio-main
.aio-about-page
> .aio-about-editorial:not(:first-child)
.aio-about-editorial__title h2,

html body.page-about
.aio-main
.aio-about-page
.aio-directions-visual__head h2,

html body.page-about
.aio-main
.aio-about-page
.aio-about-principles-editorial__head h2,

html body.page-about
.aio-main
.aio-about-page
.aio-about-rebuild-documents__head h2 {
    max-width: 680px !important;
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(30px, 2.8vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Вложенные элементы не должны возвращать старое начертание */

html body.page-about
.aio-main
.aio-about-page
> .aio-about-editorial:not(:first-child)
.aio-about-editorial__title h2 *,

html body.page-about
.aio-main
.aio-about-page
.aio-directions-visual__head h2 *,

html body.page-about
.aio-main
.aio-about-page
.aio-about-principles-editorial__head h2 *,

html body.page-about
.aio-main
.aio-about-page
.aio-about-rebuild-documents__head h2 * {
    font: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

@media (max-width: 760px) {

    html body.page-about
    .aio-main
    .aio-about-page
    > .aio-about-editorial:not(:first-child)
    .aio-about-editorial__title h2,

    html body.page-about
    .aio-main
    .aio-about-page
    .aio-directions-visual__head h2,

    html body.page-about
    .aio-main
    .aio-about-page
    .aio-about-principles-editorial__head h2,

    html body.page-about
    .aio-main
    .aio-about-page
    .aio-about-rebuild-documents__head h2 {
        max-width: 100% !important;
        font-size: clamp(30px, 8vw, 40px) !important;
        line-height: 1.03 !important;
    }
}

/* AIO_ABOUT_SECTION_HEADINGS_UNIFIED_20260715_END */

/* AIO_BLOG_AUTHORS_COMPACT_20260715_START */

/*
 * Блок авторов на странице /blogs:
 * стандартный кикер и компактные имена,
 * чтобы длинные ФИО помещались в боковой панели.
 */

body.page-blogs
.aio-blog-authors-panel__head
.aio-events-kicker {
    margin: 0 !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

body.page-blogs
.aio-blog-authors-panel__head > span {
    font-size: 10px !important;
    line-height: 1.25 !important;
    letter-spacing: .02em !important;
}

body.page-blogs
.aio-blog-author-line {
    grid-template-columns:
        48px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px 0 !important;
}

body.page-blogs
.aio-blog-author-line__photo {
    width: 46px !important;
    height: 46px !important;
}

body.page-blogs
.aio-blog-author-line__text {
    min-width: 0 !important;
    gap: 3px !important;
}

body.page-blogs
.aio-blog-author-line__text strong {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: 20px !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.page-blogs
.aio-blog-author-line__text em {
    font-size: 10px !important;
    line-height: 1.25 !important;
}

@media (max-width: 680px) {
    body.page-blogs
    .aio-blog-author-line__text strong {
        font-size: 19px !important;
    }
}

/* AIO_BLOG_AUTHORS_COMPACT_20260715_END */

/* AIO_MEMBER_CURRENT_TYPOGRAPHY_20260715_START */

/*
 * Актуальная страница участника /people/:slug.
 * Работаем только с реально используемой разметкой:
 * .aio-member-personal-formula
 * .aio-car-vitrine
 */

/* =========================================================
   ОБО МНЕ — ЛЕВАЯ РЕДАКЦИОННАЯ ФРАЗА
   ========================================================= */

html body.page-people-item
#aio-placeholder-never-used,
html body.page-people-item
#about
.aio-member-personal-formula h2,
html body.page-people-item
.aio-member-reset-page
.aio-member-personal-formula h2 {
    max-width: 720px !important;
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(34px, 3.2vw, 48px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none !important;

    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    overflow-wrap: normal !important;
    word-break: normal !important;

    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Кикер «Обо мне» — стандартный для сайта */

html body.page-people-item
#about
.aio-member-personal-formula
.aio-events-kicker {
    margin: 0 0 16px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
}

/* =========================================================
   ДОСЬЕ АВТОМОБИЛЯ — АКТУАЛЬНАЯ ВИТРИНА
   ========================================================= */

/* Кикер «Досье автомобиля» */

html body.page-people-item
#cars
.aio-car-vitrine__eyebrow {
    margin: 0 0 15px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
}

/* Название автомобиля */

html body.page-people-item
#cars
h3.aio-car-vitrine__title,
html body.page-people-item
#cars
.aio-car-vitrine__dossier
.aio-car-vitrine__title {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 0 17px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(30px, 2.6vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none !important;

    letter-spacing: -.015em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    overflow-wrap: normal !important;
    word-break: normal !important;

    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* =========================================================
   МОБИЛЬНАЯ ТИПОГРАФИКА
   ========================================================= */

@media (max-width: 760px) {

    html body.page-people-item
    #about
    .aio-member-personal-formula h2,
    html body.page-people-item
    .aio-member-reset-page
    .aio-member-personal-formula h2 {
        max-width: 100% !important;
        font-size: clamp(31px, 9vw, 40px) !important;
        line-height: 1 !important;
    }

    html body.page-people-item
    #cars
    h3.aio-car-vitrine__title,
    html body.page-people-item
    #cars
    .aio-car-vitrine__dossier
    .aio-car-vitrine__title {
        max-width: 100% !important;
        font-size: clamp(28px, 8vw, 36px) !important;
        line-height: 1 !important;
    }
}

@media (max-width: 430px) {

    html body.page-people-item
    #about
    .aio-member-personal-formula h2,
    html body.page-people-item
    .aio-member-reset-page
    .aio-member-personal-formula h2 {
        font-size: 32px !important;
    }

    html body.page-people-item
    #cars
    h3.aio-car-vitrine__title,
    html body.page-people-item
    #cars
    .aio-car-vitrine__dossier
    .aio-car-vitrine__title {
        font-size: 29px !important;
    }
}

/* AIO_MEMBER_CURRENT_TYPOGRAPHY_20260715_END */

/* =========================================================
   AIO CLUB ITEM — ABOUT LEFT TYPOGRAPHY
   Актуальный блок «О клубе»
   ========================================================= */

html body.page-club-item
.aio-club-about-fixed__left h2 {
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(35px, 3.35vw, 49px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: .005em !important;

    color: #072D5B !important;

    text-transform: none !important;
    font-synthesis: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

html body.page-club-item
.aio-club-about-fixed__kicker {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

@media (max-width: 760px) {
    html body.page-club-item
    .aio-club-about-fixed__left h2 {
        font-size: clamp(31px, 9.2vw, 39px) !important;
        line-height: .98 !important;
    }
}

/* AIO_CLUB_ABOUT_LEFT_TYPOGRAPHY_20260715_END */

/* AIO_CLUB_ABOUT_REAL_TYPOGRAPHY_FIX_20260715_START */

/*
 * Фактическое исправление левого заголовка «О клубе».
 * Селектор намеренно повторяет специфичность старого правила
 * и переопределяет также возможные вложенные элементы.
 */

html body.page-club-item
.aio-main
.aio-club-about-fixed__left h2,

html body.page-club-item
.aio-main
.aio-club-about-fixed__left h2 * {
    margin: 0 !important;
    padding: 0 !important;

    max-width: 420px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(34px, 2.5vw, 43px) !important;
    line-height: 1.04 !important;

    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none !important;

    letter-spacing: -.012em !important;
    text-transform: none !important;

    color: #1D1D1D !important;
    -webkit-text-fill-color: #1D1D1D !important;

    overflow-wrap: normal !important;
    word-break: normal !important;

    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body.page-club-item
.aio-main
.aio-club-about-fixed__kicker {
    margin: 0 0 22px 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

@media (max-width: 1200px) {
    html body.page-club-item
    .aio-main
    .aio-club-about-fixed__left h2,

    html body.page-club-item
    .aio-main
    .aio-club-about-fixed__left h2 * {
        max-width: 380px !important;
    }
}

@media (max-width: 860px) {
    html body.page-club-item
    .aio-main
    .aio-club-about-fixed__left h2,

    html body.page-club-item
    .aio-main
    .aio-club-about-fixed__left h2 * {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 32px !important;
        line-height: 1.02 !important;
    }
}

/* AIO_CLUB_ABOUT_REAL_TYPOGRAPHY_FIX_20260715_END */

/* AIO_MEMBER_ABOUT_CLUB_SIZE_20260715_START */

/*
 * Страница участника.
 * Заголовок личной формулы в разделе «Обо мне»
 * по размеру приводится к заголовку левого блока страницы клуба.
 * Семейство шрифта, цвет и начертание здесь не меняются.
 */
html body.page-people-item
.aio-main
#about
.aio-member-personal-formula h2,

html body.page-people-item
.aio-main
.aio-member-reset-page
.aio-member-personal-formula h2 {
    font-size: clamp(34px, 2.5vw, 43px) !important;
    line-height: 1.04 !important;
}

/* Телефон */
@media (max-width: 680px) {
    html body.page-people-item
    .aio-main
    #about
    .aio-member-personal-formula h2,

    html body.page-people-item
    .aio-main
    .aio-member-reset-page
    .aio-member-personal-formula h2 {
        font-size: clamp(30px, 9vw, 36px) !important;
        line-height: 1.04 !important;
    }
}

/* AIO_MEMBER_ABOUT_CLUB_SIZE_20260715_END */

/* AIO_ARCHIVE_TYPOGRAPHY_UNIFIED_20260715_START */

/* =========================================================
   АРХИВ — КАРТОЧКИ КАТАЛОГА
   Увеличиваем только типографику, геометрию не перестраиваем.
   ========================================================= */

html body.page-archive
.aio-archive-index-card__top span,
html body.page-archive
.aio-archive-index-card__top em {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    font-style: normal !important;
}

/* Название документа */
html body.page-archive
.aio-archive-index-card:not(.aio-archive-submit-card)
.aio-archive-index-card__body h3 {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Cormorant,
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(22px, 1.85vw, 27px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.01em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Краткое описание */
html body.page-archive
.aio-archive-index-card__excerpt {
    font-size: 12.5px !important;
    line-height: 1.58 !important;
}

/* В паспорте карточки даём подписи чуть больше места */
html body.page-archive
.aio-archive-index-card__facts div {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 10px !important;
}

/* Датировка / Автомобиль / Источник */
html body.page-archive
.aio-archive-index-card__facts dt {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    letter-spacing: .105em !important;
    text-transform: uppercase !important;
    color: #A9432B !important;
}

/* Значения паспортных строк */
html body.page-archive
.aio-archive-index-card__facts dd,
html body.page-archive
.aio-archive-index-card__facts dd a {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.48 !important;
    font-weight: 400 !important;
}

/* Нижняя строка карточки */
html body.page-archive
.aio-archive-index-card__footer > span,
html body.page-archive
.aio-archive-index-card__footer > a {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8.8px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
}


/* =========================================================
   /ARCHIVE/ABOUT И /ARCHIVE/RULES
   Единый размер заголовков — как утверждённый блок клуба.
   ========================================================= */

html body.page-archive-about
.aio-archive-info-intro h2,

html body.page-archive-about
.aio-archive-info-grid h2,

html body.page-archive-about
.aio-archive-info-result h2,

html body.page-archive-rules
.aio-archive-rules-content h2,

html body.page-archive-rules
.aio-archive-rules-cta h2 {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Cormorant,
        Georgia,
        "Times New Roman",
        serif !important;
    font-size: clamp(28px, 3.05vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* В тёмных итоговых блоках сохраняем светлый цвет */
html body.page-archive-about
.aio-archive-info-result h2,

html body.page-archive-rules
.aio-archive-rules-cta h2 {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Основной текст информационных страниц:
   немного крупнее прежних 13–13.5 px */
html body.page-archive-about
.aio-archive-info-copy,

html body.page-archive-about
.aio-archive-info-grid article > div,

html body.page-archive-about
.aio-archive-info-result > div,

html body.page-archive-rules
.aio-archive-rules-content section > div,

html body.page-archive-rules
.aio-archive-rules-cta > div {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 680px) {

    html body.page-archive
    .aio-archive-index-card:not(.aio-archive-submit-card)
    .aio-archive-index-card__body h3 {
        font-size: 23px !important;
        line-height: 1.02 !important;
    }

    html body.page-archive
    .aio-archive-index-card__facts div {
        grid-template-columns: 78px minmax(0, 1fr) !important;
    }

    html body.page-archive
    .aio-archive-index-card__facts dt {
        font-size: 8px !important;
    }

    html body.page-archive
    .aio-archive-index-card__facts dd,
    html body.page-archive
    .aio-archive-index-card__facts dd a {
        font-size: 11px !important;
    }

    html body.page-archive-about
    .aio-archive-info-intro h2,

    html body.page-archive-about
    .aio-archive-info-grid h2,

    html body.page-archive-about
    .aio-archive-info-result h2,

    html body.page-archive-rules
    .aio-archive-rules-content h2,

    html body.page-archive-rules
    .aio-archive-rules-cta h2 {
        font-size: clamp(27px, 8.8vw, 34px) !important;
        line-height: .98 !important;
    }

    html body.page-archive-about
    .aio-archive-info-copy,

    html body.page-archive-about
    .aio-archive-info-grid article > div,

    html body.page-archive-about
    .aio-archive-info-result > div,

    html body.page-archive-rules
    .aio-archive-rules-content section > div,

    html body.page-archive-rules
    .aio-archive-rules-cta > div {
        font-size: 13.5px !important;
        line-height: 1.68 !important;
    }
}

/* AIO_ARCHIVE_TYPOGRAPHY_UNIFIED_20260715_END */

/* ============================================================
   AIO_UNIFIED_MUSEUM_CTA_20260715
   Единая типографика CTA-карточек.
   Эталон: CTA «Поделиться архивным материалом».
   Геометрия, фон и положение карточек не перестраиваются.
   ============================================================ */

/* ------------------------------------------------------------
   1. ВНУТРЕННИЙ РИТМ
   ------------------------------------------------------------ */

html body .aio-archive-submit-card__inner,
html body .aio-partner-museum-card_cta .aio-partner-museum-card__body,
html body .aio-car-museum-card_cta__inner,
html body .aio-videos-cta,
html body .aio-gallery-museum-submit__inner,
html body .aio-people-museum-join-card,
html body .aio-club-clean-card_join .aio-club-clean-card__body,
html body .aio-archive-rules-cta {
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* ------------------------------------------------------------
   2. КИКЕР
   ------------------------------------------------------------ */

html body .aio-archive-submit-card .aio-events-kicker,
html body .aio-partner-museum-card_cta .aio-partner-museum-card__type,
html body .aio-car-museum-card_cta__kicker,
html body .aio-videos-cta .aio-events-kicker,
html body .aio-gallery-museum-submit__inner > p:first-child,
html body .aio-people-museum-join-card .aio-events-kicker,
html body .aio-club-clean-card_join .aio-club-clean-card__kicker,
html body .aio-archive-rules-cta .aio-events-kicker {
    margin: 0 0 17px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    font-style: normal !important;
}

/* Тёмные CTA */
html body .aio-archive-submit-card .aio-events-kicker,
html body .aio-partner-museum-card_cta .aio-partner-museum-card__type,
html body .aio-car-museum-card_cta__kicker,
html body .aio-videos-cta .aio-events-kicker,
html body .aio-people-museum-join-card .aio-events-kicker,
html body .aio-club-clean-card_join .aio-club-clean-card__kicker {
    color: #C46A50 !important;
    -webkit-text-fill-color: #C46A50 !important;
}

/* Светлые CTA */
html body .aio-gallery-museum-submit__inner > p:first-child,
html body .aio-archive-rules-cta .aio-events-kicker {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* ------------------------------------------------------------
   3. ЗАГОЛОВОК CTA
   ------------------------------------------------------------ */

html body .aio-archive-submit-card h3,
html body .aio-partner-museum-card_cta h3,
html body .aio-car-museum-card_cta h3,
html body .aio-videos-cta h2,
html body .aio-gallery-museum-submit h3,
html body .aio-people-museum-join-card h3,
html body .aio-club-clean-card_join h3,
html body .aio-club-clean-card_join h3 a,
html body .aio-archive-rules-cta h2 {
    margin: 0 0 18px !important;
    max-width: 100% !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(34px, 2.75vw, 44px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none !important;

    letter-spacing: -.022em !important;
    text-transform: none !important;
    text-decoration: none !important;

    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Заголовки тёмных CTA */
html body .aio-archive-submit-card h3,
html body .aio-partner-museum-card_cta h3,
html body .aio-car-museum-card_cta h3,
html body .aio-videos-cta h2,
html body .aio-people-museum-join-card h3,
html body .aio-club-clean-card_join h3,
html body .aio-club-clean-card_join h3 a {
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* Заголовки светлых CTA */
html body .aio-gallery-museum-submit h3,
html body .aio-archive-rules-cta h2 {
    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* ------------------------------------------------------------
   4. ОПИСАНИЕ
   ------------------------------------------------------------ */

html body .aio-archive-submit-card__inner > p:not(.aio-events-kicker),
html body .aio-partner-museum-card_cta .aio-partner-museum-card__text,
html body .aio-car-museum-card_cta__inner > p:not(.aio-car-museum-card_cta__kicker),
html body .aio-videos-cta > p:not(.aio-events-kicker),
html body .aio-gallery-museum-submit__inner > span,
html body .aio-people-museum-join-card > p:not(.aio-events-kicker),
html body .aio-club-clean-card_join .aio-club-clean-card__text,
html body .aio-archive-rules-cta > div,
html body .aio-archive-rules-cta > div p {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    max-width: 560px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 14px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Описание на тёмном фоне */
html body .aio-archive-submit-card__inner > p:not(.aio-events-kicker),
html body .aio-partner-museum-card_cta .aio-partner-museum-card__text,
html body .aio-car-museum-card_cta__inner > p:not(.aio-car-museum-card_cta__kicker),
html body .aio-videos-cta > p:not(.aio-events-kicker),
html body .aio-people-museum-join-card > p:not(.aio-events-kicker),
html body .aio-club-clean-card_join .aio-club-clean-card__text {
    color: rgba(248,245,239,.76) !important;
    -webkit-text-fill-color: rgba(248,245,239,.76) !important;
}

/* Описание на светлом фоне */
html body .aio-gallery-museum-submit__inner > span,
html body .aio-archive-rules-cta > div,
html body .aio-archive-rules-cta > div p {
    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;
}

/* Убираем обрезание CTA-текста, если его унаследовала карточка партнёра */
html body .aio-partner-museum-card_cta .aio-partner-museum-card__text {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
}

/* ------------------------------------------------------------
   5. ССЫЛКА CTA
   ------------------------------------------------------------ */

html body .aio-archive-submit-card__inner > a,
html body .aio-partner-museum-card_cta .aio-partner-museum-card__link,
html body .aio-car-museum-card_cta__inner > a,
html body .aio-videos-cta > a,
html body .aio-gallery-museum-submit__links a,
html body .aio-people-museum-join-card > a,
html body .aio-club-clean-card_join .aio-club-clean-card__link,
html body .aio-archive-rules-cta > a {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    margin: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    font-style: normal !important;

    text-decoration: none !important;
    transition: opacity .18s ease, color .18s ease !important;
}

/* Ссылки тёмных CTA */
html body .aio-archive-submit-card__inner > a,
html body .aio-partner-museum-card_cta .aio-partner-museum-card__link,
html body .aio-car-museum-card_cta__inner > a,
html body .aio-videos-cta > a,
html body .aio-people-museum-join-card > a,
html body .aio-club-clean-card_join .aio-club-clean-card__link {
    color: #E5A38E !important;
    -webkit-text-fill-color: #E5A38E !important;
}

/* Ссылки светлых CTA */
html body .aio-gallery-museum-submit__links a,
html body .aio-archive-rules-cta > a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body .aio-archive-submit-card__inner > a:hover,
html body .aio-partner-museum-card_cta .aio-partner-museum-card__link:hover,
html body .aio-car-museum-card_cta__inner > a:hover,
html body .aio-videos-cta > a:hover,
html body .aio-gallery-museum-submit__links a:hover,
html body .aio-people-museum-join-card > a:hover,
html body .aio-club-clean-card_join .aio-club-clean-card__link:hover,
html body .aio-archive-rules-cta > a:hover {
    opacity: .72 !important;
}

/* ------------------------------------------------------------
   6. ГАЛЕРЕЯ: ДВЕ ССЫЛКИ
   ------------------------------------------------------------ */

html body .aio-gallery-museum-submit__links {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 22px !important;
    margin-top: 0 !important;
}

/* ------------------------------------------------------------
   7. МОБИЛЬНАЯ ВЕРСИЯ
   ------------------------------------------------------------ */

@media (max-width: 680px) {

    html body .aio-archive-submit-card h3,
    html body .aio-partner-museum-card_cta h3,
    html body .aio-car-museum-card_cta h3,
    html body .aio-videos-cta h2,
    html body .aio-gallery-museum-submit h3,
    html body .aio-people-museum-join-card h3,
    html body .aio-club-clean-card_join h3,
    html body .aio-club-clean-card_join h3 a,
    html body .aio-archive-rules-cta h2 {
        font-size: clamp(31px, 9.5vw, 38px) !important;
        line-height: .97 !important;
    }

    html body .aio-archive-submit-card__inner > p:not(.aio-events-kicker),
    html body .aio-partner-museum-card_cta .aio-partner-museum-card__text,
    html body .aio-car-museum-card_cta__inner > p:not(.aio-car-museum-card_cta__kicker),
    html body .aio-videos-cta > p:not(.aio-events-kicker),
    html body .aio-gallery-museum-submit__inner > span,
    html body .aio-people-museum-join-card > p:not(.aio-events-kicker),
    html body .aio-club-clean-card_join .aio-club-clean-card__text,
    html body .aio-archive-rules-cta > div,
    html body .aio-archive-rules-cta > div p {
        font-size: 13px !important;
        line-height: 1.58 !important;
    }
}

/* AIO_UNIFIED_MUSEUM_CTA_20260715_END */

/* AIO_CTA_GALLERY_VIDEO_EXACT_FIX_20260715_START */

/*
 * Галерея и видеоматериалы:
 * единая музейная типографика тёмных CTA.
 */

html body.page-gallery
.aio-gallery-museum-submit,
html body.page-videos
.aio-videos-cta {
    color: #F8F5EF !important;
}

/* Кикеры */

html body.page-gallery
.aio-gallery-museum-submit__inner > p:first-child,
html body.page-videos
.aio-videos-cta > .aio-events-kicker {
    margin: 0 0 17px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    opacity: 1 !important;
}

/* Заголовки */

html body.page-gallery
.aio-gallery-museum-submit__inner > h3,
html body.page-videos
.aio-videos-cta > h2 {
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(34px, 3.15vw, 46px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: .01em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Описательный текст */

html body.page-gallery
.aio-gallery-museum-submit__inner > span,
html body.page-videos
.aio-videos-cta > p:not(.aio-events-kicker) {
    display: block !important;
    margin: 20px 0 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 14px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(248,245,239,.78) !important;
    opacity: 1 !important;
}

/* Ссылки */

html body.page-gallery
.aio-gallery-museum-submit__links {
    margin-top: 23px !important;
}

html body.page-gallery
.aio-gallery-museum-submit__links a,
html body.page-videos
.aio-videos-cta > a {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;

    color: #C85726 !important;
    opacity: 1 !important;
}

/* Телефон */

@media (max-width: 680px) {

    html body.page-gallery
    .aio-gallery-museum-submit__inner > h3,
    html body.page-videos
    .aio-videos-cta > h2 {
        font-size: clamp(31px, 9.5vw, 39px) !important;
        line-height: .96 !important;
    }

    html body.page-gallery
    .aio-gallery-museum-submit__inner > span,
    html body.page-videos
    .aio-videos-cta > p:not(.aio-events-kicker) {
        font-size: 13px !important;
        line-height: 1.56 !important;
    }
}

/* AIO_CTA_GALLERY_VIDEO_EXACT_FIX_20260715_END */

/* AIO_UNIFIED_DARK_CTA_TYPOGRAPHY_V1_START
   Единая типографика тёмных CTA:
   партнёры, видео, галерея, архив и каталог автомобилей.
   Геометрию и размеры самих карточек не меняем.
*/

/* ------------------------------------------------------------
   1. ЕДИНЫЙ ЗАГОЛОВОК CTA
   ------------------------------------------------------------ */

body.page-partners
.aio-partner-museum-card_cta
.aio-partner-museum-card__body > h3,

body.page-partners
.aio-partner-museum-card_cta h3,

body.page-videos
.aio-videos-cta > h2,

body.page-gallery
.aio-gallery-museum-submit
.aio-gallery-museum-submit__inner > h3,

body.page-archive
.aio-archive-card_submit h2,

body.page-archive
.aio-archive-card_submit h3,

body.page-cars
.aio-cars-cta h2,

body.page-cars
.aio-cars-cta h3,

body.page-cars
.aio-car-catalog-cta h2,

body.page-cars
.aio-car-catalog-cta h3 {
    margin: 0 0 14px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(30px, 2.65vw, 42px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    font-style: normal !important;

    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* ------------------------------------------------------------
   2. ПАРТНЁРЫ
   Старое правило делало все h3 капсом, тонкими и с разрядкой.
   Здесь CTA отделён от названий обычных партнёров.
   ------------------------------------------------------------ */

html body.page-partners
.aio-partner-museum-card_cta
.aio-partner-museum-card__body > h3 {
    max-width: 560px !important;

    font-size: clamp(29px, 2.55vw, 41px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;

    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* ------------------------------------------------------------
   3. ВИДЕО
   Не допускаем жирного или искусственно утолщённого Cormorant.
   ------------------------------------------------------------ */

html body.page-videos
.aio-videos-cta > h2 {
    max-width: 580px !important;

    font-size: clamp(31px, 2.7vw, 43px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;

    letter-spacing: -.02em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* ------------------------------------------------------------
   4. ГАЛЕРЕЯ
   Принудительно исправляем синий текст на синем фоне.
   ------------------------------------------------------------ */

html body.page-gallery
.aio-gallery-museum-submit
.aio-gallery-museum-submit__inner > h3 {
    max-width: 520px !important;

    font-size: clamp(31px, 2.7vw, 43px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;

    letter-spacing: -.02em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    opacity: 1 !important;
}

/* ------------------------------------------------------------
   5. ЕДИНЫЙ КИКЕР НА ТЁМНЫХ CTA
   ------------------------------------------------------------ */

body.page-partners
.aio-partner-museum-card_cta
.aio-partner-museum-card__type,

body.page-videos
.aio-videos-cta
.aio-events-kicker,

body.page-gallery
.aio-gallery-museum-submit
.aio-gallery-museum-submit__inner > p:first-child,

body.page-archive
.aio-archive-card_submit
.aio-events-kicker,

body.page-archive
.aio-archive-card_submit
.aio-kicker,

body.page-cars
.aio-cars-cta
.aio-events-kicker,

body.page-cars
.aio-cars-cta
.aio-kicker,

body.page-cars
.aio-car-catalog-cta
.aio-events-kicker,

body.page-cars
.aio-car-catalog-cta
.aio-kicker {
    margin: 0 0 17px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;

    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #D47A61 !important;
    -webkit-text-fill-color: #D47A61 !important;

    opacity: 1 !important;
}

/* ------------------------------------------------------------
   6. ЕДИНОЕ ОПИСАНИЕ CTA
   ------------------------------------------------------------ */

body.page-partners
.aio-partner-museum-card_cta
.aio-partner-museum-card__text,

body.page-partners
.aio-partner-museum-card_cta
.aio-partner-museum-card__body > p:not(.aio-partner-museum-card__type),

body.page-videos
.aio-videos-cta > p:not(.aio-events-kicker),

body.page-gallery
.aio-gallery-museum-submit
.aio-gallery-museum-submit__inner > span,

body.page-archive
.aio-archive-card_submit > p:not(.aio-events-kicker):not(.aio-kicker),

body.page-archive
.aio-archive-card_submit
.aio-archive-card__body > p:not(.aio-events-kicker):not(.aio-kicker),

body.page-cars
.aio-cars-cta > p:not(.aio-events-kicker):not(.aio-kicker),

body.page-cars
.aio-car-catalog-cta > p:not(.aio-events-kicker):not(.aio-kicker) {
    margin: 0 !important;
    max-width: 590px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;

    letter-spacing: 0 !important;
    text-transform: none !important;

    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;

    opacity: 1 !important;
}

/* Галерея: старые стили могли назначить тёмный цвет вложенным
   элементам и через color, и через text-fill-color. */

html body.page-gallery
.aio-gallery-museum-submit
.aio-gallery-museum-submit__inner,

html body.page-gallery
.aio-gallery-museum-submit
.aio-gallery-museum-submit__inner > span {
    color: rgba(248,245,239,.78) !important;
    -webkit-text-fill-color: rgba(248,245,239,.78) !important;
}

/* ------------------------------------------------------------
   7. ЕДИНЫЕ ССЫЛКИ CTA
   ------------------------------------------------------------ */

body.page-partners
.aio-partner-museum-card_cta
.aio-partner-museum-card__link,

body.page-videos
.aio-videos-cta > a,

body.page-gallery
.aio-gallery-museum-submit
.aio-gallery-museum-submit__links > a,

body.page-archive
.aio-archive-card_submit a,

body.page-cars
.aio-cars-cta a,

body.page-cars
.aio-car-catalog-cta a {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    letter-spacing: .14em !important;
    text-transform: uppercase !important;

    color: #F2E3CF !important;
    -webkit-text-fill-color: #F2E3CF !important;

    text-decoration: none !important;
}

/* ------------------------------------------------------------
   8. МОБИЛЬНАЯ ВЕРСИЯ
   ------------------------------------------------------------ */

@media (max-width: 680px) {
    body.page-partners
    .aio-partner-museum-card_cta
    .aio-partner-museum-card__body > h3,

    body.page-videos
    .aio-videos-cta > h2,

    body.page-gallery
    .aio-gallery-museum-submit
    .aio-gallery-museum-submit__inner > h3,

    body.page-archive
    .aio-archive-card_submit h2,

    body.page-archive
    .aio-archive-card_submit h3,

    body.page-cars
    .aio-cars-cta h2,

    body.page-cars
    .aio-cars-cta h3,

    body.page-cars
    .aio-car-catalog-cta h2,

    body.page-cars
    .aio-car-catalog-cta h3 {
        font-size: clamp(28px, 9vw, 36px) !important;
        line-height: .97 !important;
    }

    body.page-partners
    .aio-partner-museum-card_cta
    .aio-partner-museum-card__text,

    body.page-videos
    .aio-videos-cta > p:not(.aio-events-kicker),

    body.page-gallery
    .aio-gallery-museum-submit
    .aio-gallery-museum-submit__inner > span {
        font-size: 12.5px !important;
        line-height: 1.56 !important;
    }
}

/* AIO_UNIFIED_DARK_CTA_TYPOGRAPHY_V1_END */


/* AIO_GLOBAL_HEADER_BRAND_AND_BACK_TO_TOP_FIX_20260715_START */

/*
 * Логотип в шапке:
 * убираем любой случайно унаследованный синий фон,
 * лишнюю ширину и прямоугольную геометрию.
 */
html body .aio-header_elegant .aio-header-main__inner
.aio-header__brand {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;

    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;

    flex: 0 0 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
    outline: 0 !important;
}

html body .aio-header_elegant .aio-header-main__inner
.aio-header__brand::before,
html body .aio-header_elegant .aio-header-main__inner
.aio-header__brand::after {
    content: none !important;
    display: none !important;
}

html body .aio-header_elegant .aio-header-main__inner
.aio-header__brand img {
    display: block !important;

    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;

    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: transparent !important;
    box-shadow: none !important;
}

/*
 * Кнопка возврата наверх:
 * всегда круглая, компактная и без растягивания.
 */
html body button.aio-back-to-top,
html body .aio-back-to-top {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 9998 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;

    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;

    aspect-ratio: 1 / 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid rgba(248,245,239,.24) !important;
    border-radius: 50% !important;

    background:
        linear-gradient(145deg, #072D5B, #061F3E) !important;

    color: #F8F5EF !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    text-align: center !important;
    text-indent: 0 !important;

    box-shadow:
        0 12px 30px rgba(6,31,62,.20) !important;

    transform:
        translateY(12px)
        scale(.96) !important;

    opacity: 0 !important;
    visibility: hidden !important;

    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;

    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease !important;
}

html body button.aio-back-to-top.is-visible,
html body .aio-back-to-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform:
        translateY(0)
        scale(1) !important;
}

html body button.aio-back-to-top:hover,
html body .aio-back-to-top:hover {
    background:
        linear-gradient(145deg, #A9432B, #8A2F23) !important;

    transform:
        translateY(-2px)
        scale(1) !important;
}

html body button.aio-back-to-top::before,
html body button.aio-back-to-top::after,
html body .aio-back-to-top::before,
html body .aio-back-to-top::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 760px) {
    html body .aio-header_elegant .aio-header-main__inner
    .aio-header__brand {
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;

        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;

        flex-basis: 50px !important;
    }

    html body .aio-header_elegant .aio-header-main__inner
    .aio-header__brand img {
        width: 47px !important;
        min-width: 47px !important;
        max-width: 47px !important;

        height: 47px !important;
        min-height: 47px !important;
        max-height: 47px !important;
    }

    html body button.aio-back-to-top,
    html body .aio-back-to-top {
        right: 16px !important;
        bottom:
            calc(16px + env(safe-area-inset-bottom)) !important;

        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;

        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;

        font-size: 18px !important;
    }
}

/* AIO_GLOBAL_HEADER_BRAND_AND_BACK_TO_TOP_FIX_20260715_END */

/* AIO_HEADER_BRAND_REAL_RESET_20260715_START */

/*
 * Фактический первый элемент внутри шапки — ссылка с логотипом.
 * Полностью убираем растянутую синюю/оранжевую область.
 */
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> a.aio-header__brand,
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> a.aio-header__brand:link,
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> a.aio-header__brand:visited,
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> a.aio-header__brand:hover,
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> a.aio-header__brand:focus,
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> a.aio-header__brand:active {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;

    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;

    flex: 0 0 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    overflow: visible !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;

    background: none !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    opacity: 1 !important;
    transform: none !important;
    filter: none !important;

    text-decoration: none !important;
}

/* Убираем любые декоративные прямоугольники у ссылки логотипа */
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> a.aio-header__brand::before,
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> a.aio-header__brand::after {
    content: none !important;
    display: none !important;

    width: 0 !important;
    height: 0 !important;

    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Сам герб возвращаем внутрь своих 58 × 58 px */
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> a.aio-header__brand
> img {
    position: static !important;

    display: block !important;

    box-sizing: border-box !important;

    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;

    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;

    margin: 0 !important;
    padding: 0 !important;

    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    object-fit: contain !important;
    object-position: center center !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    opacity: 1 !important;
    transform: none !important;
}

/*
 * Защита от случайного пустого элемента,
 * вставленного между логотипом и навигацией.
 */
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> :empty:not(.aio-header__brand):not(.aio-header__nav) {
    display: none !important;
}

/* Навигация занимает всё оставшееся место */
html body header.aio-header
.aio-header-main
.aio-header-main__inner
> nav.aio-header__nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin-left: auto !important;
}

@media (max-width: 760px) {
    html body header.aio-header
    .aio-header-main
    .aio-header-main__inner
    > a.aio-header__brand,
    html body header.aio-header
    .aio-header-main
    .aio-header-main__inner
    > a.aio-header__brand:hover,
    html body header.aio-header
    .aio-header-main
    .aio-header-main__inner
    > a.aio-header__brand:active {
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;

        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;

        flex-basis: 50px !important;
    }

    html body header.aio-header
    .aio-header-main
    .aio-header-main__inner
    > a.aio-header__brand
    > img {
        width: 47px !important;
        min-width: 47px !important;
        max-width: 47px !important;

        height: 47px !important;
        min-height: 47px !important;
        max-height: 47px !important;
    }
}

/* AIO_HEADER_BRAND_REAL_RESET_20260715_END */

/* AIO_APPLY_HIDDEN_MODAL_FIX_20260715_START */

/*
 * На странице /apply скрытое окно успешной отправки
 * не должно участвовать в раскладке страницы.
 *
 * Поздние стили кнопок переопределяли стандартное
 * поведение атрибута hidden, из-за чего пустая
 * backdrop-кнопка появлялась рядом с логотипом.
 */
html body.page-apply .aio-apply-success-modal[hidden],
html body .aio-apply-success-modal[hidden],
html body.page-apply [data-aio-apply-success-modal][hidden] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/*
 * Дополнительная защита:
 * пока модальное окно скрыто, ни один его дочерний
 * элемент не должен отображаться самостоятельно.
 */
html body.page-apply
.aio-apply-success-modal[hidden]
.aio-apply-success-modal__backdrop,

html body.page-apply
.aio-apply-success-modal[hidden]
.aio-apply-success-modal__dialog,

html body.page-apply
.aio-apply-success-modal[hidden]
button {
    display: none !important;
}

/*
 * После удаления hidden окно снова использует
 * штатную фиксированную модальную геометрию.
 */
html body.page-apply
.aio-apply-success-modal:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10050 !important;

    display: grid !important;
    place-items: center !important;

    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;
    padding: 20px !important;

    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Подложка модального окна не наследует стиль обычной кнопки */
html body.page-apply
.aio-apply-success-modal:not([hidden])
.aio-apply-success-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: rgba(5, 7, 10, .76) !important;
    box-shadow: none !important;

    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Диалог всегда находится над затемняющей подложкой */
html body.page-apply
.aio-apply-success-modal:not([hidden])
.aio-apply-success-modal__dialog {
    position: relative !important;
    z-index: 2 !important;
}

/* AIO_APPLY_HIDDEN_MODAL_FIX_20260715_END */

/* AIO_HEADER_MOBILE_TOGGLE_DESKTOP_FIX_20260715_START */

/*
 * Кнопка мобильного меню является вторым прямым элементом
 * между логотипом и навигацией.
 *
 * На /apply широкое правило для button принудительно показывало
 * её на desktop и превращало в синюю прямоугольную кнопку.
 */

/* Desktop: переключателя мобильного меню быть не должно */
@media (min-width: 901px) {
    html body header.aio-header
    .aio-header-main
    .aio-header-main__inner
    > button.aio-header-mobile-toggle,

    html body.page-apply header.aio-header
    .aio-header-main
    .aio-header-main__inner
    > button.aio-header-mobile-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;

        position: absolute !important;

        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;

        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        background: none !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }
}

/* Mobile: возвращаем штатный компактный hamburger */
@media (max-width: 900px) {
    html body header.aio-header
    .aio-header-main
    .aio-header-main__inner
    > button.aio-header-mobile-toggle,

    html body.page-apply header.aio-header
    .aio-header-main
    .aio-header-main__inner
    > button.aio-header-mobile-toggle {
        position: relative !important;
        z-index: 3 !important;

        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;

        flex: 0 0 44px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;

        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;

        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        background-image: none !important;
        box-shadow: none !important;

        color: #061F3E !important;
        cursor: pointer !important;

        appearance: none !important;
        -webkit-appearance: none !important;
    }

    html body header.aio-header
    .aio-header-mobile-toggle:hover,

    html body header.aio-header
    .aio-header-mobile-toggle:focus,

    html body header.aio-header
    .aio-header-mobile-toggle:active,

    html body.page-apply header.aio-header
    .aio-header-mobile-toggle:hover,

    html body.page-apply header.aio-header
    .aio-header-mobile-toggle:focus,

    html body.page-apply header.aio-header
    .aio-header-mobile-toggle:active {
        border: 0 !important;
        background: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        color: #061F3E !important;
    }

    html body header.aio-header
    .aio-header-mobile-toggle > span,

    html body.page-apply header.aio-header
    .aio-header-mobile-toggle > span {
        display: block !important;

        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;

        height: 1px !important;
        min-height: 1px !important;
        max-height: 1px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;
        background: #061F3E !important;
        box-shadow: none !important;
    }
}

/* AIO_HEADER_MOBILE_TOGGLE_DESKTOP_FIX_20260715_END */

/* AIO_UNIFIED_BUTTON_SYSTEM_20260715_START */

/* =========================================================
   1. КНОПКИ В ШАПКЕ
   Единая текстовая система без таблеток, градиентов и теней
   ========================================================= */

html body header.aio-header .aio-header__login,
html body header.aio-header .aio-header__register,
html body header.aio-header .aio-header__apply {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 9px 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
    filter: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .105em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    text-decoration: none !important;
    white-space: nowrap !important;

    transition:
        color .18s ease,
        border-color .18s ease,
        background-color .18s ease !important;
}

/* Регистрация и подача заявки больше не имеют овальной формы */
html body header.aio-header .aio-header__register,
html body header.aio-header .aio-header__apply {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Единый hover всех трёх пунктов */
html body header.aio-header .aio-header__login:hover,
html body header.aio-header .aio-header__login:focus,
html body header.aio-header .aio-header__register:hover,
html body header.aio-header .aio-header__register:focus,
html body header.aio-header .aio-header__apply:hover,
html body header.aio-header .aio-header__apply:focus {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
    filter: none !important;

    outline: 0 !important;
}

/* Полностью гасим старые active/visited-состояния */
html body header.aio-header .aio-header__login:active,
html body header.aio-header .aio-header__register:active,
html body header.aio-header .aio-header__apply:active,
html body header.aio-header .aio-header__login:visited,
html body header.aio-header .aio-header__register:visited,
html body header.aio-header .aio-header__apply:visited {
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Небольшой интервал между действиями */
html body header.aio-header .aio-header__login {
    margin-left: 2px !important;
}

html body header.aio-header .aio-header__register,
html body header.aio-header .aio-header__apply {
    margin-left: 4px !important;
}


/* =========================================================
   2. ЕДИНАЯ СИСТЕМА КНОПОК ФИЛЬТРА
   Только кнопки внутри боковых фильтров и панелей поиска
   ========================================================= */

html body aside form button,
html body aside form input[type="submit"],
html body aside form input[type="reset"],

html body [class*="filter"] form button,
html body [class*="filter"] form input[type="submit"],
html body [class*="filter"] form input[type="reset"],

html body [class*="filter-actions"] button,
html body [class*="filter-actions"] a,

html body [class*="filter__actions"] button,
html body [class*="filter__actions"] a,

html body [class*="filters-actions"] button,
html body [class*="filters-actions"] a,

html body [class*="filters__actions"] button,
html body [class*="filters__actions"] a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 112px !important;
    max-width: none !important;

    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;

    margin: 0 !important;
    padding: 0 22px !important;

    border-radius: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    text-decoration: none !important;
    white-space: nowrap !important;

    box-shadow: none !important;
    filter: none !important;

    cursor: pointer !important;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease !important;

    appearance: none !important;
    -webkit-appearance: none !important;
}


/* =========================================================
   3. ОСНОВНАЯ КНОПКА ФИЛЬТРА
   Показать / Найти / Применить
   ========================================================= */

html body aside form button[type="submit"],
html body aside form input[type="submit"],

html body [class*="filter"] form button[type="submit"],
html body [class*="filter"] form input[type="submit"],

html body [class*="filter-actions"] button:first-child,
html body [class*="filter__actions"] button:first-child,
html body [class*="filters-actions"] button:first-child,
html body [class*="filters__actions"] button:first-child {
    border: 1px solid #061F3E !important;

    background: #061F3E !important;
    background-image: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body aside form button[type="submit"]:hover,
html body aside form input[type="submit"]:hover,

html body [class*="filter"] form button[type="submit"]:hover,
html body [class*="filter"] form input[type="submit"]:hover,

html body [class*="filter-actions"] button:first-child:hover,
html body [class*="filter__actions"] button:first-child:hover,
html body [class*="filters-actions"] button:first-child:hover,
html body [class*="filters__actions"] button:first-child:hover {
    border-color: #A9432B !important;

    background: #A9432B !important;
    background-image: none !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    box-shadow: none !important;
}


/* =========================================================
   4. ВТОРИЧНАЯ КНОПКА
   Сбросить / Очистить
   ========================================================= */

html body aside form button[type="reset"],
html body aside form input[type="reset"],

html body [class*="filter"] form button[type="reset"],
html body [class*="filter"] form input[type="reset"],

html body [class*="filter-actions"] button:not(:first-child),
html body [class*="filter-actions"] a:not(:first-child),

html body [class*="filter__actions"] button:not(:first-child),
html body [class*="filter__actions"] a:not(:first-child),

html body [class*="filters-actions"] button:not(:first-child),
html body [class*="filters-actions"] a:not(:first-child),

html body [class*="filters__actions"] button:not(:first-child),
html body [class*="filters__actions"] a:not(:first-child) {
    border: 1px solid rgba(169,67,43,.52) !important;

    background: transparent !important;
    background-image: none !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body aside form button[type="reset"]:hover,
html body aside form input[type="reset"]:hover,

html body [class*="filter"] form button[type="reset"]:hover,
html body [class*="filter"] form input[type="reset"]:hover,

html body [class*="filter-actions"] button:not(:first-child):hover,
html body [class*="filter-actions"] a:not(:first-child):hover,

html body [class*="filter__actions"] button:not(:first-child):hover,
html body [class*="filter__actions"] a:not(:first-child):hover,

html body [class*="filters-actions"] button:not(:first-child):hover,
html body [class*="filters-actions"] a:not(:first-child):hover,

html body [class*="filters__actions"] button:not(:first-child):hover,
html body [class*="filters__actions"] a:not(:first-child):hover {
    border-color: #A9432B !important;

    background: rgba(169,67,43,.075) !important;
    background-image: none !important;

    color: #8A2F23 !important;
    -webkit-text-fill-color: #8A2F23 !important;

    box-shadow: none !important;
}


/* =========================================================
   5. КОНКРЕТНЫЕ СТАРЫЕ КЛАССЫ КАТАЛОГОВ
   Страховочная унификация известных страниц
   ========================================================= */

html body.page-people .aio-filter button,
html body.page-people .aio-filter a,
html body.page-gallery .aio-filter button,
html body.page-gallery .aio-filter a,
html body.page-cars .aio-filter button,
html body.page-cars .aio-filter a,
html body.page-archive .aio-filter button,
html body.page-archive .aio-filter a,
html body.page-videos .aio-filter button,
html body.page-videos .aio-filter a,

html body .aio-people-filter button,
html body .aio-people-filter a,
html body .aio-gallery-filter button,
html body .aio-gallery-filter a,
html body .aio-cars-filter button,
html body .aio-cars-filter a,
html body .aio-archive-filter button,
html body .aio-archive-filter a,
html body .aio-videos-filter button,
html body .aio-videos-filter a {
    border-radius: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}


/* =========================================================
   6. НЕ ТРОГАЕМ ТЕГИ И ПЕРЕКЛЮЧАТЕЛИ КАТЕГОРИЙ
   Они остаются компактными элементами фильтра
   ========================================================= */

html body [class*="filter"] label button,
html body [class*="filter"] [class*="chip"],
html body [class*="filter"] [class*="tag"],
html body [class*="filter"] [class*="pill"],
html body [class*="filter"] [class*="option"] {
    min-width: 0 !important;
}


/* =========================================================
   7. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 680px) {
    html body aside form button,
    html body aside form input[type="submit"],
    html body aside form input[type="reset"],

    html body [class*="filter-actions"] button,
    html body [class*="filter-actions"] a,
    html body [class*="filter__actions"] button,
    html body [class*="filter__actions"] a,
    html body [class*="filters-actions"] button,
    html body [class*="filters-actions"] a,
    html body [class*="filters__actions"] button,
    html body [class*="filters__actions"] a {
        min-width: 0 !important;
        padding-left: 17px !important;
        padding-right: 17px !important;
    }
}

/* AIO_UNIFIED_BUTTON_SYSTEM_20260715_END */

/* AIO_FILTER_BUTTONS_EXACT_20260715_START
   Точные актуальные классы фильтров:
   /people, /gallery, /cars, /archive
*/

/* =========================================================
   1. КОНТЕЙНЕРЫ КНОПОК
   ========================================================= */

html body.page-people
.aio-main
.aio-people-museum-filter__actions,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions,

html body.page-archive
.aio-main
.aio-archive-filter-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;

    margin-top: 20px !important;
    padding: 0 !important;
}


/* =========================================================
   2. ОБЩАЯ ГЕОМЕТРИЯ ОБЕИХ КНОПОК
   ========================================================= */

html body.page-people
.aio-main
.aio-people-museum-filter__actions > button,

html body.page-people
.aio-main
.aio-people-museum-filter__actions > a,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > button,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > a,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > button,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > a,

html body.page-archive
.aio-main
.aio-archive-filter-actions > button,

html body.page-archive
.aio-main
.aio-archive-filter-actions > a {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 118px !important;
    max-width: none !important;

    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;

    margin: 0 !important;
    padding: 0 20px !important;

    border-radius: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    font-style: normal !important;

    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    box-shadow: none !important;
    filter: none !important;
    transform: none !important;

    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    transition:
        color .18s ease,
        background-color .18s ease,
        border-color .18s ease !important;
}


/* =========================================================
   3. ОСНОВНАЯ КНОПКА
   ========================================================= */

html body.page-people
.aio-main
.aio-people-museum-filter__actions > button[type="submit"],

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > button[type="submit"],

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > button[type="submit"],

html body.page-archive
.aio-main
.aio-archive-filter-actions > button[type="submit"] {
    border: 1px solid #061F3E !important;

    background: #061F3E !important;
    background-color: #061F3E !important;
    background-image: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-people
.aio-main
.aio-people-museum-filter__actions > button[type="submit"]:hover,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > button[type="submit"]:hover,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > button[type="submit"]:hover,

html body.page-archive
.aio-main
.aio-archive-filter-actions > button[type="submit"]:hover {
    border-color: #A9432B !important;

    background: #A9432B !important;
    background-color: #A9432B !important;
    background-image: none !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    box-shadow: none !important;
    transform: none !important;
}


/* =========================================================
   4. КНОПКА СБРОСА
   ========================================================= */

html body.page-people
.aio-main
.aio-people-museum-filter__actions > a,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > a,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > a,

html body.page-archive
.aio-main
.aio-archive-filter-actions > a {
    border: 1px solid rgba(169, 67, 43, .52) !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-people
.aio-main
.aio-people-museum-filter__actions > a:hover,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > a:hover,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > a:hover,

html body.page-archive
.aio-main
.aio-archive-filter-actions > a:hover {
    border-color: #A9432B !important;

    background: rgba(169, 67, 43, .075) !important;
    background-color: rgba(169, 67, 43, .075) !important;
    background-image: none !important;

    color: #8A2F23 !important;
    -webkit-text-fill-color: #8A2F23 !important;

    box-shadow: none !important;
    transform: none !important;
}


/* =========================================================
   5. СОСТОЯНИЯ FOCUS / ACTIVE
   ========================================================= */

html body.page-people
.aio-main
.aio-people-museum-filter__actions > button:focus,

html body.page-people
.aio-main
.aio-people-museum-filter__actions > a:focus,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > button:focus,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > a:focus,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > button:focus,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > a:focus,

html body.page-archive
.aio-main
.aio-archive-filter-actions > button:focus,

html body.page-archive
.aio-main
.aio-archive-filter-actions > a:focus {
    outline: 1px solid rgba(169, 67, 43, .42) !important;
    outline-offset: 2px !important;
}

html body.page-people
.aio-main
.aio-people-museum-filter__actions > button:active,

html body.page-people
.aio-main
.aio-people-museum-filter__actions > a:active,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > button:active,

html body.page-gallery
.aio-main
.aio-gallery-museum-filter__actions > a:active,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > button:active,

html body.page-cars
.aio-main
.aio-cars-filter-form__actions > a:active,

html body.page-archive
.aio-main
.aio-archive-filter-actions > button:active,

html body.page-archive
.aio-main
.aio-archive-filter-actions > a:active {
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}


/* =========================================================
   6. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 680px) {
    html body.page-people
    .aio-main
    .aio-people-museum-filter__actions,

    html body.page-gallery
    .aio-main
    .aio-gallery-museum-filter__actions,

    html body.page-cars
    .aio-main
    .aio-cars-filter-form__actions,

    html body.page-archive
    .aio-main
    .aio-archive-filter-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    html body.page-people
    .aio-main
    .aio-people-museum-filter__actions > button,

    html body.page-people
    .aio-main
    .aio-people-museum-filter__actions > a,

    html body.page-gallery
    .aio-main
    .aio-gallery-museum-filter__actions > button,

    html body.page-gallery
    .aio-main
    .aio-gallery-museum-filter__actions > a,

    html body.page-cars
    .aio-main
    .aio-cars-filter-form__actions > button,

    html body.page-cars
    .aio-main
    .aio-cars-filter-form__actions > a,

    html body.page-archive
    .aio-main
    .aio-archive-filter-actions > button,

    html body.page-archive
    .aio-main
    .aio-archive-filter-actions > a {
        width: 100% !important;
        min-width: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* AIO_FILTER_BUTTONS_EXACT_20260715_END */

/* AIO_PEOPLE_FILTER_BUTTONS_ONE_ROW_20260715_START */

/*
 * Боковой фильтр каталога людей уже остальных фильтров.
 * Делим его ширину между двумя кнопками без переноса.
 */

html body.page-people
.aio-main
.aio-people-museum-filter__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-top: 20px !important;
}

html body.page-people
.aio-main
.aio-people-museum-filter__actions > button,

html body.page-people
.aio-main
.aio-people-museum-filter__actions > a {
    box-sizing: border-box !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;

    margin: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;

    font-size: 9px !important;
    letter-spacing: .105em !important;
    white-space: nowrap !important;

    border-radius: 0 !important;
}

/* На узком телефоне тоже сохраняем один ряд, пока хватает ширины */
@media (max-width: 430px) {
    html body.page-people
    .aio-main
    .aio-people-museum-filter__actions {
        gap: 6px !important;
    }

    html body.page-people
    .aio-main
    .aio-people-museum-filter__actions > button,

    html body.page-people
    .aio-main
    .aio-people-museum-filter__actions > a {
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 8.5px !important;
        letter-spacing: .085em !important;
    }
}

/* AIO_PEOPLE_FILTER_BUTTONS_ONE_ROW_20260715_END */

/* =========================================================
   AIO ACCOUNT SHELL REDESIGN — 20260716
   Только визуальная оболочка личного кабинета.
   PHP, Twig, AJAX и структура форм не изменяются.
   ========================================================= */

/* =========================================================
   1. ОБЩАЯ СТРАНИЦА
   ========================================================= */

html body .aio-main .aio-lk-page {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: clip !important;

    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #FBFAF7 42%,
            #F6F0E7 100%
        ) !important;

    color: #2D2D2D !important;
}


/* =========================================================
   2. СТАНДАРТНЫЙ МУЗЕЙНЫЙ HERO
   ========================================================= */

html body .aio-main .aio-lk-page > .aio-lk-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;

    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(46px, 5vw, 72px) 0 !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(242,227,207,.14) !important;
    border-radius: 0 !important;

    background:
        radial-gradient(
            circle at 82% 22%,
            rgba(169,67,43,.17),
            transparent 24rem
        ),
        linear-gradient(
            135deg,
            #121416 0%,
            #191A1D 56%,
            #2A2224 100%
        ) !important;

    box-shadow: none !important;
    color: #F8F5EF !important;
}

html body .aio-main .aio-lk-page > .aio-lk-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;

    opacity: .12 !important;

    background-image:
        linear-gradient(
            rgba(248,245,239,.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(248,245,239,.07) 1px,
            transparent 1px
        ) !important;

    background-size: 72px 72px !important;
}

html body .aio-main .aio-lk-hero__inner {
    position: relative !important;
    z-index: 2 !important;

    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(190px, auto) !important;

    gap: clamp(30px, 5vw, 76px) !important;
    align-items: end !important;

    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

html body .aio-main .aio-lk-hero__inner > div {
    min-width: 0 !important;
    max-width: 900px !important;
}

html body .aio-main .aio-lk-hero
.aio-lk-kicker {
    display: block !important;

    margin: 0 0 15px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #C85726 !important;
    opacity: 1 !important;
}

html body .aio-main .aio-lk-hero h1 {
    max-width: 900px !important;
    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(42px, 5.3vw, 72px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body .aio-main .aio-lk-hero
.aio-lk-hero__inner > div > p:not(.aio-lk-kicker) {
    max-width: 720px !important;
    margin: 22px 0 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: clamp(13px, 1vw, 15px) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(248,245,239,.72) !important;
}


/* =========================================================
   3. ССЫЛКА «МОЯ СТРАНИЦА» В HERO
   ========================================================= */

html body .aio-main .aio-lk-hero
.aio-lk-public-link,
html body .aio-main .aio-lk-hero
a.aio-lk-public-link {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;

    width: auto !important;
    min-width: 148px !important;
    max-width: 100% !important;

    min-height: 42px !important;
    margin: 0 !important;
    padding: 11px 19px !important;

    border: 1px solid rgba(248,245,239,.34) !important;
    border-radius: 0 !important;

    background: rgba(248,245,239,.035) !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-decoration: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    transition:
        color .18s ease,
        border-color .18s ease,
        background-color .18s ease !important;
}

html body .aio-main .aio-lk-hero
.aio-lk-public-link:hover,
html body .aio-main .aio-lk-hero
a.aio-lk-public-link:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
    background-image: none !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    transform: none !important;
    box-shadow: none !important;
}

html body .aio-main .aio-lk-hero
.aio-lk-public-link_disabled {
    border-color: rgba(248,245,239,.16) !important;
    background: transparent !important;

    color: rgba(248,245,239,.44) !important;
    -webkit-text-fill-color: rgba(248,245,239,.44) !important;

    cursor: default !important;
}


/* =========================================================
   4. ОСНОВНАЯ РАБОЧАЯ СЕТКА
   ========================================================= */

html body .aio-main .aio-lk-layout {
    display: grid !important;
    grid-template-columns:
        minmax(220px, 255px)
        minmax(0, 1fr) !important;

    gap: clamp(34px, 4.5vw, 70px) !important;
    align-items: start !important;

    padding-top: clamp(38px, 5vw, 68px) !important;
    padding-bottom: clamp(70px, 8vw, 112px) !important;
}

html body .aio-main .aio-lk-main {
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
}


/* =========================================================
   5. БОКОВАЯ НАВИГАЦИЯ
   ========================================================= */

html body .aio-main .aio-lk-sidebar {
    position: sticky !important;
    top: 104px !important;

    min-width: 0 !important;
    width: 100% !important;
    max-width: 255px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

html body .aio-main .aio-lk-profile-card {
    margin: 0 0 22px !important;
    padding: 18px !important;

    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.80),
            rgba(248,245,239,.95)
        ) !important;

    box-shadow: 0 18px 48px rgba(7,23,44,.05) !important;
}

html body .aio-main .aio-lk-person {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 0 16px !important;

    border-bottom: 1px solid rgba(45,45,45,.10) !important;
}

html body .aio-main .aio-lk-person__photo {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;

    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;

    overflow: hidden !important;

    border: 1px solid rgba(45,45,45,.12) !important;
    border-radius: 50% !important;

    background: #EDE4D8 !important;
}

html body .aio-main .aio-lk-person__photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

html body .aio-main .aio-lk-person__info {
    min-width: 0 !important;
}

html body .aio-main .aio-lk-person__info strong {
    display: block !important;
    margin: 0 0 3px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: 21px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: -.01em !important;

    color: #061F3E !important;
}

html body .aio-main .aio-lk-person__info span,
html body .aio-main .aio-lk-person__info small {
    display: block !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9.5px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    letter-spacing: .07em !important;

    color: rgba(45,45,45,.52) !important;
}

html body .aio-main .aio-lk-menu {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border-top: 1px solid rgba(45,45,45,.11) !important;
}

html body .aio-main .aio-lk-menu a {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    min-height: 44px !important;
    margin: 0 !important;
    padding: 11px 12px 11px 0 !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: .085em !important;
    text-transform: uppercase !important;

    color: rgba(45,45,45,.68) !important;
    -webkit-text-fill-color: rgba(45,45,45,.68) !important;

    text-decoration: none !important;

    transition:
        color .18s ease,
        padding-left .18s ease !important;
}

html body .aio-main .aio-lk-menu a:hover {
    padding-left: 8px !important;

    background: transparent !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body .aio-main .aio-lk-menu a.is-active,
html body .aio-main .aio-lk-menu a.active,
html body .aio-main .aio-lk-menu a[aria-current="page"] {
    padding-left: 14px !important;

    background: transparent !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-weight: 700 !important;
}

html body .aio-main .aio-lk-menu a.is-active::before,
html body .aio-main .aio-lk-menu a.active::before,
html body .aio-main .aio-lk-menu a[aria-current="page"]::before {
    content: "" !important;

    position: absolute !important;
    left: 0 !important;
    top: 50% !important;

    width: 5px !important;
    height: 5px !important;

    border-radius: 50% !important;
    background: #A9432B !important;

    transform: translateY(-50%) !important;
}


/* =========================================================
   6. ЗАГОЛОВКИ ВНУТРИ КАБИНЕТА
   ========================================================= */

html body .aio-main .aio-lk-head {
    margin: 0 0 28px !important;
    padding: 0 0 22px !important;

    border-bottom: 1px solid rgba(45,45,45,.11) !important;
}

html body .aio-main .aio-lk-head_inner {
    margin-top: clamp(42px, 5vw, 72px) !important;
}

html body .aio-main .aio-lk-head
.aio-lk-kicker,
html body .aio-main .aio-lk-card
.aio-lk-kicker,
html body .aio-main .aio-lk-main
> .aio-lk-kicker {
    margin: 0 0 10px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
}

html body .aio-main .aio-lk-head h2 {
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(34px, 4vw, 52px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .005em !important;

    color: #061F3E !important;
}

html body .aio-main .aio-lk-head
> p:not(.aio-lk-kicker) {
    max-width: 820px !important;
    margin: 16px 0 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;

    color: rgba(45,45,45,.68) !important;
}


/* =========================================================
   7. КАРТОЧКИ И РАБОЧИЕ ПОВЕРХНОСТИ
   ========================================================= */

html body .aio-main .aio-lk-card,
html body .aio-main .aio-lk-profile-status-card,
html body .aio-main .aio-lk-car-card,
html body .aio-main .aio-lk-post-card,
html body .aio-main .aio-account-album-card {
    border: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.82),
            rgba(248,245,239,.96)
        ) !important;

    box-shadow: 0 18px 48px rgba(7,23,44,.05) !important;
}

html body .aio-main .aio-lk-card {
    margin: 0 0 24px !important;
    padding: clamp(22px, 3vw, 34px) !important;
}

html body .aio-main .aio-lk-card h2,
html body .aio-main .aio-lk-card h3,
html body .aio-main .aio-lk-profile-status-card h2,
html body .aio-main .aio-lk-car-card h3,
html body .aio-main .aio-lk-post-card h3,
html body .aio-main .aio-account-album-card h3 {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: #061F3E !important;
}

html body .aio-main .aio-lk-card h3 {
    margin: 0 0 18px !important;
    font-size: clamp(26px, 2.6vw, 34px) !important;
    line-height: 1 !important;
}


/* =========================================================
   8. ФОРМЫ
   ========================================================= */

html body .aio-main .aio-lk-form,
html body .aio-main .aio-lk-form * {
    box-sizing: border-box !important;
}

html body .aio-main .aio-lk-fields {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 20px 22px !important;
}

html body .aio-main .aio-lk-fields__full {
    grid-column: 1 / -1 !important;
}

html body .aio-main .aio-lk-form label {
    min-width: 0 !important;
    margin: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
}

html body .aio-main .aio-lk-form
label > span:first-child {
    display: block !important;

    margin: 0 0 8px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .095em !important;
    text-transform: uppercase !important;

    color: rgba(45,45,45,.70) !important;
}

html body .aio-main .aio-lk-form input[type="text"],
html body .aio-main .aio-lk-form input[type="email"],
html body .aio-main .aio-lk-form input[type="tel"],
html body .aio-main .aio-lk-form input[type="password"],
html body .aio-main .aio-lk-form input[type="number"],
html body .aio-main .aio-lk-form input[type="url"],
html body .aio-main .aio-lk-form input[type="date"],
html body .aio-main .aio-lk-form select,
html body .aio-main .aio-lk-form textarea {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    min-height: 46px !important;
    margin: 0 !important;
    padding: 12px 13px !important;

    border: 1px solid rgba(45,45,45,.18) !important;
    border-radius: 0 !important;
    outline: 0 !important;

    background: rgba(255,255,255,.72) !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: #2D2D2D !important;
    -webkit-text-fill-color: #2D2D2D !important;

    transition:
        border-color .18s ease,
        background-color .18s ease !important;
}

html body .aio-main .aio-lk-form textarea {
    min-height: 136px !important;
    resize: vertical !important;
}

html body .aio-main .aio-lk-form input:focus,
html body .aio-main .aio-lk-form select:focus,
html body .aio-main .aio-lk-form textarea:focus {
    border-color: rgba(169,67,43,.72) !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
}

html body .aio-main .aio-lk-form input[readonly],
html body .aio-main .aio-lk-form input[disabled],
html body .aio-main .aio-lk-form select[disabled],
html body .aio-main .aio-lk-form textarea[disabled] {
    background: rgba(237,228,216,.58) !important;
    color: rgba(45,45,45,.52) !important;
    -webkit-text-fill-color: rgba(45,45,45,.52) !important;
    cursor: not-allowed !important;
}

html body .aio-main .aio-lk-form small,
html body .aio-main .aio-lk-muted {
    display: block !important;

    margin-top: 7px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10.5px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;

    color: rgba(45,45,45,.52) !important;
}


/* =========================================================
   9. ОСНОВНЫЕ КНОПКИ ФОРМ
   ========================================================= */

html body .aio-main .aio-lk-form
button[type="submit"],
html body .aio-main .aio-lk-actions
button,
html body .aio-main .aio-lk-actions
a {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 150px !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 11px 19px !important;

    border: 1px solid #061F3E !important;
    border-radius: 0 !important;

    background: #061F3E !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    transition:
        color .18s ease,
        border-color .18s ease,
        background-color .18s ease !important;
}

html body .aio-main .aio-lk-form
button[type="submit"]:hover,
html body .aio-main .aio-lk-actions
button:hover,
html body .aio-main .aio-lk-actions
a:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
    background-image: none !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    transform: none !important;
    box-shadow: none !important;
}


/* =========================================================
   10. СЛУЖЕБНЫЕ СТАТУСЫ
   ========================================================= */

html body .aio-main
.aio-lk-car-card__meta,
html body .aio-main
.aio-lk-post-card__meta,
html body .aio-main
.aio-account-album-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px 12px !important;

    margin: 0 0 13px !important;
}

html body .aio-main
.aio-lk-car-card__meta span,
html body .aio-main
.aio-lk-post-card__meta span,
html body .aio-main
.aio-account-album-card__meta span {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
}


/* =========================================================
   11. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 900px) {
    html body .aio-main .aio-lk-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        align-items: start !important;
    }

    html body .aio-main .aio-lk-hero
    .aio-lk-public-link {
        justify-self: start !important;
    }

    html body .aio-main .aio-lk-layout {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    html body .aio-main .aio-lk-sidebar {
        position: static !important;
        top: auto !important;
        max-width: none !important;
    }

    html body .aio-main .aio-lk-menu {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;

        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;

        border-top: 1px solid rgba(45,45,45,.11) !important;
        border-bottom: 1px solid rgba(45,45,45,.11) !important;

        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    html body .aio-main .aio-lk-menu::-webkit-scrollbar {
        display: none !important;
    }

    html body .aio-main .aio-lk-menu a {
        flex: 0 0 auto !important;
        min-height: 48px !important;
        padding: 13px 16px !important;

        border-right: 1px solid rgba(45,45,45,.09) !important;
        border-bottom: 0 !important;

        white-space: nowrap !important;
    }

    html body .aio-main .aio-lk-menu a:hover,
    html body .aio-main .aio-lk-menu a.is-active,
    html body .aio-main .aio-lk-menu a.active,
    html body .aio-main .aio-lk-menu a[aria-current="page"] {
        padding-left: 16px !important;
    }

    html body .aio-main .aio-lk-menu a.is-active::before,
    html body .aio-main .aio-lk-menu a.active::before,
    html body .aio-main .aio-lk-menu a[aria-current="page"]::before {
        left: 50% !important;
        top: auto !important;
        bottom: 5px !important;

        transform: translateX(-50%) !important;
    }
}

@media (max-width: 680px) {
    html body .aio-main .aio-lk-page > .aio-lk-hero {
        padding: 42px 0 46px !important;
    }

    html body .aio-main .aio-lk-hero h1 {
        font-size: clamp(38px, 11vw, 52px) !important;
    }

    html body .aio-main .aio-lk-layout {
        padding-top: 30px !important;
        padding-bottom: 72px !important;
    }

    html body .aio-main .aio-lk-profile-card {
        padding: 15px !important;
    }

    html body .aio-main .aio-lk-fields {
        grid-template-columns: 1fr !important;
        gap: 17px !important;
    }

    html body .aio-main .aio-lk-fields__full {
        grid-column: auto !important;
    }

    html body .aio-main .aio-lk-card {
        padding: 20px 17px !important;
    }

    html body .aio-main .aio-lk-form
    button[type="submit"],
    html body .aio-main .aio-lk-actions
    button,
    html body .aio-main .aio-lk-actions
    a {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* AIO ACCOUNT SHELL REDESIGN — END */

/* AIO_ACCOUNT_SECOND_PASS_20260716_START
   Вторая редакция оболочки личного кабинета.
   Функциональные обработчики и имена полей не изменяются.
   ========================================================= */

/* Общая страница */
html body .aio-lk-page,
html body .aio-account-section {
    background:
        linear-gradient(
            180deg,
            #F8F5EF 0%,
            #F7F2E9 54%,
            #F8F5EF 100%
        ) !important;
}

/* Основная сетка */
html body .aio-lk-layout {
    grid-template-columns: minmax(230px, 272px) minmax(0, 1fr) !important;
    gap: clamp(38px, 5vw, 70px) !important;
    align-items: start !important;
    padding-top: clamp(38px, 5vw, 66px) !important;
    padding-bottom: clamp(70px, 8vw, 110px) !important;
}

html body .aio-lk-main {
    min-width: 0 !important;
}

/* Боковая панель остаётся отдельным навигационным объектом */
html body .aio-lk-profile-card {
    border-radius: 0 !important;
    background: rgba(255,255,255,.56) !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    box-shadow: 0 12px 34px rgba(17,20,24,.035) !important;
}

html body .aio-lk-profile-status {
    margin: 18px 20px 20px !important;
    padding: 13px 0 0 !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
    background: transparent !important;
    border-radius: 0 !important;
}

html body .aio-lk-profile-status span {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(169,67,43,.76) !important;
}

/* Заголовки рабочих разделов */
html body .aio-lk-head {
    margin: 0 0 30px !important;
    padding: 0 0 22px !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;
    background: transparent !important;
}

html body .aio-lk-head h2 {
    margin: 7px 0 0 !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(34px, 4vw, 48px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    color: #061F3E !important;
    font-synthesis: none !important;
}

html body .aio-lk-head > p:not(.aio-lk-kicker) {
    display: none !important;
}

/* Убираем тяжёлые бежевые коробки */
html body .aio-lk-form,
html body .aio-lk-card,
html body .aio-lk-cars-list,
html body .aio-account-albums-grid,
html body .aio-lk-posts-list {
    background: transparent !important;
}

html body .aio-lk-card {
    margin: 0 !important;
    padding: 28px 0 34px !important;
    border: 0 !important;
    border-top: 1px solid rgba(45,45,45,.10) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body .aio-lk-form > .aio-lk-card:first-of-type {
    border-top: 0 !important;
    padding-top: 0 !important;
}

html body .aio-lk-card h3,
html body .aio-lk-card__head h3 {
    margin: 0 0 20px !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(26px, 2.6vw, 34px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #061F3E !important;
}

/* Поля */
html body .aio-lk-fields,
html body .aio-lk-form-grid {
    gap: 24px 22px !important;
}

html body .aio-lk-fields label,
html body .aio-lk-form-grid label {
    gap: 8px !important;
}

html body .aio-lk-fields label > span,
html body .aio-lk-form-grid label > span,
html body .aio-lk-field-title {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(6,31,62,.60) !important;
}

html body .aio-lk-fields input,
html body .aio-lk-fields select,
html body .aio-lk-fields textarea,
html body .aio-lk-form-grid input,
html body .aio-lk-form-grid select,
html body .aio-lk-form-grid textarea,
html body .aio-lk-form input,
html body .aio-lk-form select,
html body .aio-lk-form textarea {
    border-radius: 0 !important;
    border: 1px solid rgba(6,31,62,.15) !important;
    background: rgba(255,255,255,.48) !important;
    box-shadow: none !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: rgba(17,20,24,.82) !important;
}

html body .aio-lk-fields input,
html body .aio-lk-fields select,
html body .aio-lk-form-grid input,
html body .aio-lk-form-grid select,
html body .aio-lk-form input,
html body .aio-lk-form select {
    min-height: 48px !important;
    padding: 0 14px !important;
}

html body .aio-lk-fields textarea,
html body .aio-lk-form-grid textarea,
html body .aio-lk-form textarea {
    padding: 13px 14px !important;
}

html body .aio-lk-fields input:focus,
html body .aio-lk-fields select:focus,
html body .aio-lk-fields textarea:focus,
html body .aio-lk-form input:focus,
html body .aio-lk-form select:focus,
html body .aio-lk-form textarea:focus {
    outline: none !important;
    border-color: rgba(169,67,43,.62) !important;
    box-shadow: 0 0 0 2px rgba(169,67,43,.06) !important;
}

/* Placeholder и технические пояснения */
html body .aio-lk-form input::placeholder,
html body .aio-lk-form textarea::placeholder,
html body .aio-lk-fields input::placeholder,
html body .aio-lk-fields textarea::placeholder {
    color: rgba(17,20,24,.30) !important;
    opacity: 1 !important;
}

html body .aio-lk-card small,
html body .aio-lk-help,
html body .aio-lk-muted,
html body .aio-lk-subhead p,
html body .aio-lk-upload-box p,
html body .aio-lk-rights-notice p {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    color: rgba(17,20,24,.43) !important;
    font-style: normal !important;
}

/* Убираем декоративный preview короткой подписи */
html body .aio-lk-profile-preview {
    display: none !important;
}

/* Фото профиля — без отдельной коробки */
html body .aio-lk-card_photo {
    display: grid !important;
    grid-template-columns: minmax(170px, 210px) minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: center !important;
}

html body .aio-lk-photo-preview {
    border-radius: 0 !important;
    overflow: hidden !important;
}

/* Карточки автомобилей */
html body .aio-lk-cars-list {
    display: grid !important;
    gap: 24px !important;
    margin-bottom: 42px !important;
}

html body .aio-lk-car-card {
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    background: rgba(255,255,255,.45) !important;
    box-shadow: none !important;
}

html body .aio-lk-car-card__body {
    padding: 24px 26px !important;
}

html body .aio-lk-car-card__body > p {
    display: none !important;
}

/* Альбомы — две компактные карточки */
html body .aio-account-albums-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    margin-bottom: 42px !important;
}

html body .aio-account-album-card {
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    background: rgba(255,255,255,.45) !important;
    box-shadow: none !important;
}

html body .aio-account-album-card__cover {
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    min-height: 0 !important;
}

html body .aio-account-album-card__body {
    padding: 18px 20px 20px !important;
}

html body .aio-account-album-card__body > p {
    display: none !important;
}

/* Публикации — две компактные карточки */
html body .aio-lk-posts-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    margin-bottom: 42px !important;
}

html body .aio-lk-post-card {
    display: block !important;
    border-radius: 0 !important;
    border: 1px solid rgba(45,45,45,.095) !important;
    background: rgba(255,255,255,.45) !important;
    box-shadow: none !important;
}

html body .aio-lk-post-card__cover {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
}

html body .aio-lk-post-card__body {
    padding: 18px 20px 20px !important;
}

html body .aio-lk-post-card__body > p {
    display: none !important;
}

/* Публичность — легче и короче */
html body .aio-lk-switch-list {
    gap: 0 !important;
}

html body .aio-lk-switch {
    padding: 18px 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

html body .aio-lk-switch:first-of-type {
    border-top: 0 !important;
}

html body .aio-lk-switch em {
    display: none !important;
}

html body .aio-lk-switch strong {
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    color: rgba(17,20,24,.78) !important;
}

/* Все рабочие кнопки прямоугольные */
html body .aio-lk-main button,
html body .aio-lk-main .aio-btn,
html body .aio-lk-main .aio-lk-btn,
html body .aio-lk-main .aio-lk-edit-link,
html body .aio-lk-main .aio-lk-add-row-btn,
html body .aio-lk-main .aio-lk-cancel-link {
    border-radius: 0 !important;
}

html body .aio-lk-actions button,
html body .aio-lk-main .aio-btn_primary {
    min-height: 44px !important;
    padding: 0 20px !important;
    border: 1px solid #061F3E !important;
    background: #061F3E !important;
    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

html body .aio-lk-actions button:hover,
html body .aio-lk-main .aio-btn_primary:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
}

/* Внутренние кнопки редактирования, удаления, добавления */
html body .aio-lk-edit-link,
html body .aio-lk-add-row-btn,
html body .aio-lk-cancel-link,
html body .aio-lk-photo-actions button,
html body .aio-lk-car-photo-actions button {
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(6,31,62,.17) !important;
    background: transparent !important;
    font-family: "AIO Montserrat", Montserrat, Arial, sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    color: rgba(6,31,62,.74) !important;
    -webkit-text-fill-color: rgba(6,31,62,.74) !important;
    text-decoration: none !important;
}

html body .aio-lk-edit-link:hover,
html body .aio-lk-add-row-btn:hover,
html body .aio-lk-cancel-link:hover,
html body .aio-lk-photo-actions button:hover,
html body .aio-lk-car-photo-actions button:hover {
    border-color: #A9432B !important;
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Локальные старые округлые служебные блоки фотоальбома */
html body .aio-lk-rights-notice,
html body .aio-lk-checks,
html body .aio-lk-upload-box,
html body .aio-lk-status-note {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Адаптив */
@media (max-width: 980px) {
    html body .aio-lk-hero .aio-events-museum-hero__inner,
    html body .aio-lk-layout {
        grid-template-columns: 1fr !important;
    }

    html body .aio-lk-sidebar {
        position: static !important;
    }

    html body .aio-account-albums-grid,
    html body .aio-lk-posts-list {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {


    html body .aio-lk-card_photo {
        grid-template-columns: 1fr !important;
    }

    html body .aio-lk-fields,
    html body .aio-lk-form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_ACCOUNT_SECOND_PASS_20260716_END */


/* =========================================================
   AIO ACCOUNT PROFILE — USE REAL EVENTS HERO
   Hero полностью наследует утверждённую систему /events.
   Здесь остаются только размещение и стиль кнопки.
   ========================================================= */

/*
 * ВАЖНО:
 * Не задаём здесь:
 * — высоту hero;
 * — padding hero;
 * — размер заголовка;
 * — размер кикера;
 * — фон;
 * — сетку;
 * — размеры контейнера.
 *
 * Всё это берётся напрямую из .aio-events-museum-hero,
 * как на странице /events.
 */

/* Стандартная правая колонка hero используется под кнопку */

html body.page-account-profile
.aio-events-museum-hero
.aio-lk-profile-hero__action {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

/*
 * Правая граница кнопки совпадает с правой границей
 * стандартного контейнера hero. Поэтому обе стороны
 * начинаются и заканчиваются по общей музейной сетке.
 */

html body.page-account-profile
.aio-events-museum-hero
.aio-lk-public-link {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(248,245,239,.30) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-decoration: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-account-profile
.aio-events-museum-hero
a.aio-lk-public-link:hover {
    border-color: #A9432B !important;

    background: #A9432B !important;
    background-image: none !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    transform: none !important;
    box-shadow: none !important;
}

html body.page-account-profile
.aio-events-museum-hero
.aio-lk-public-link_disabled {
    opacity: .46 !important;
    cursor: default !important;
}

/*
 * В hero событий кикер уже имеет утверждённый размер,
 * Montserrat, uppercase и letter-spacing.
 * Только запрещаем старым стилям ЛК менять регистр.
 */

html body.page-account-profile
.aio-events-museum-hero
.aio-events-kicker {
    text-transform: uppercase !important;
}

/* Телефон: кнопка располагается под заголовком слева */

@media (max-width: 720px) {
    html body.page-account-profile
    .aio-events-museum-hero
    .aio-lk-profile-hero__action {
        justify-content: flex-start !important;
    }
}

/* AIO ACCOUNT PROFILE — USE REAL EVENTS HERO END */


/* =========================================================
   AIO ACCOUNT PROFILE — FINAL PAGE RHYTHM
   Единая система компоновки /account/profile
   ========================================================= */

body.page-account-profile {
    --aio-profile-card-pad-x: 36px;
    --aio-profile-card-pad-top: 32px;
    --aio-profile-card-pad-bottom: 36px;
    --aio-profile-section-gap: 28px;
    --aio-profile-title-size: clamp(29px, 2.35vw, 36px);
}

/* =========================================================
   1. ОСНОВНАЯ КОЛОНКА
   ========================================================= */

html body.page-account-profile .aio-lk-main,
html body.page-account-profile .aio-lk-form {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body.page-account-profile .aio-lk-form {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--aio-profile-section-gap) !important;
}

/* Убираем тёплую полосу, которая могла остаться
   у промежуточных контейнеров формы. */

html body.page-account-profile .aio-lk-form > *,
html body.page-account-profile .aio-lk-main > * {
    background-image: none !important;
}

/* =========================================================
   2. ВСЕ СОДЕРЖАТЕЛЬНЫЕ БЛОКИ ОДИНАКОВЫ
   ========================================================= */

html body.page-account-profile .aio-lk-card {
    box-sizing: border-box !important;
    width: 100% !important;

    margin: 0 !important;
    padding:
        var(--aio-profile-card-pad-top)
        var(--aio-profile-card-pad-x)
        var(--aio-profile-card-pad-bottom) !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.72) !important;
    background-image: none !important;

    box-shadow: 0 14px 38px rgba(17,20,24,.035) !important;
}

html body.page-account-profile .aio-lk-card::before,
html body.page-account-profile .aio-lk-card::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   3. ОДИНАКОВЫЕ ЗАГОЛОВКИ
   ========================================================= */

html body.page-account-profile .aio-lk-card h2,
html body.page-account-profile .aio-lk-card h3,
html body.page-account-profile .aio-lk-card__head h2,
html body.page-account-profile .aio-lk-card__head h3,
html body.page-account-profile .aio-lk-password-card h2,
html body.page-account-profile .aio-lk-password-card h3,
html body.page-account-profile .aio-lk-card_password h2,
html body.page-account-profile .aio-lk-card_password h3 {
    margin: 0 0 20px !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: var(--aio-profile-title-size) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.014em !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
}

/* Отменяем отдельный увеличенный размер «Сменить пароль». */

html body.page-account-profile
.aio-lk-card:has(input[name="current_password"]) h2,
html body.page-account-profile
.aio-lk-card:has(input[name="current_password"]) h3,
html body.page-account-profile
.aio-lk-card:has(input[name="new_password"]) h2,
html body.page-account-profile
.aio-lk-card:has(input[name="new_password"]) h3 {
    font-size: var(--aio-profile-title-size) !important;
    margin: 0 0 20px !important;
}

/* Общая шапка раздела не добавляет второй отступ. */

html body.page-account-profile .aio-lk-card__head,
html body.page-account-profile .aio-lk-card > header {
    margin: 0 0 22px !important;
    padding: 0 !important;
}

html body.page-account-profile .aio-lk-card__head h2,
html body.page-account-profile .aio-lk-card__head h3,
html body.page-account-profile .aio-lk-card > header h2,
html body.page-account-profile .aio-lk-card > header h3 {
    margin-bottom: 0 !important;
}

/* =========================================================
   4. ФОТО ПРОФИЛЯ
   ========================================================= */

html body.page-account-profile .aio-lk-card_photo {
    display: grid !important;
    grid-template-columns:
        minmax(200px, 226px)
        minmax(0, 1fr) !important;

    gap: 30px !important;
    align-items: center !important;

    padding:
        var(--aio-profile-card-pad-top)
        var(--aio-profile-card-pad-x)
        var(--aio-profile-card-pad-bottom) !important;
}

html body.page-account-profile .aio-lk-card_photo > * {
    min-width: 0 !important;
}

html body.page-account-profile .aio-lk-card_photo h2,
html body.page-account-profile .aio-lk-card_photo h3 {
    margin: 0 0 14px !important;
}

html body.page-account-profile .aio-lk-card_photo p {
    max-width: 680px !important;
    margin: 0 0 18px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.55) !important;
    -webkit-text-fill-color: rgba(17,20,24,.55) !important;
}

html body.page-account-profile .aio-lk-photo-preview {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;

    margin: 0 !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.48) !important;
    overflow: hidden !important;
}

html body.page-account-profile .aio-lk-photo-preview img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;
}

/* =========================================================
   5. СЕТКА ПОЛЕЙ
   ========================================================= */

html body.page-account-profile .aio-lk-fields,
html body.page-account-profile .aio-lk-grid,
html body.page-account-profile .aio-lk-form-grid {
    margin: 0 !important;
    padding: 0 !important;

    row-gap: 22px !important;
    column-gap: 24px !important;
}

html body.page-account-profile .aio-lk-card label {
    margin: 0 !important;
}

html body.page-account-profile
.aio-lk-card label > span:first-child {
    display: block !important;
    margin: 0 0 9px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: rgba(17,20,24,.58) !important;
    -webkit-text-fill-color: rgba(17,20,24,.58) !important;
}

/* =========================================================
   6. ПОДСКАЗКИ И PLACEHOLDER
   ========================================================= */

html body.page-account-profile .aio-lk-help,
html body.page-account-profile .aio-lk-muted,
html body.page-account-profile .aio-lk-hint,
html body.page-account-profile .aio-lk-note,
html body.page-account-profile .aio-lk-field-help,
html body.page-account-profile .aio-lk-description,
html body.page-account-profile .form-text,
html body.page-account-profile .help-block,
html body.page-account-profile .field-description,
html body.page-account-profile .aio-lk-card small,
html body.page-account-profile .aio-lk-card label > small,
html body.page-account-profile
.aio-lk-card input + p,
html body.page-account-profile
.aio-lk-card select + p,
html body.page-account-profile
.aio-lk-card textarea + p {
    margin-top: 7px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    font-style: normal !important;

    color: rgba(17,20,24,.34) !important;
    -webkit-text-fill-color: rgba(17,20,24,.34) !important;

    opacity: 1 !important;
}

html body.page-account-profile
.aio-lk-card input::placeholder,
html body.page-account-profile
.aio-lk-card textarea::placeholder {
    color: rgba(17,20,24,.24) !important;
    -webkit-text-fill-color: rgba(17,20,24,.24) !important;
    opacity: 1 !important;
}

html body.page-account-profile
.aio-lk-card select:has(option[value=""]:checked) {
    color: rgba(17,20,24,.29) !important;
    -webkit-text-fill-color: rgba(17,20,24,.29) !important;
}

/* =========================================================
   7. «СОХРАНИТЬ ПРОФИЛЬ»
   ========================================================= */

/*
 * Кнопка не входит в карточку пароля и не прилипает к ней.
 * Контейнер получает самостоятельную строку и нижний отступ.
 */

html body.page-account-profile .aio-lk-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-height: 44px !important;

    margin: 0 0 12px !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}

html body.page-account-profile
.aio-lk-actions + .aio-lk-card,
html body.page-account-profile
.aio-lk-actions + .aio-lk-password-card,
html body.page-account-profile
.aio-lk-actions + .aio-lk-card_password,
html body.page-account-profile
.aio-lk-actions + section,
html body.page-account-profile
.aio-lk-actions + div {
    margin-top: 12px !important;
}

/* Страховка, когда пароль находится в соседней форме. */

html body.page-account-profile
form + form,
html body.page-account-profile
.aio-lk-form + .aio-lk-form,
html body.page-account-profile
.aio-lk-main > form + section,
html body.page-account-profile
.aio-lk-main > section + form {
    margin-top: 28px !important;
}

/* =========================================================
   8. СМЕНА ПАРОЛЯ
   ========================================================= */

html body.page-account-profile
.aio-lk-card:has(input[name="current_password"]),
html body.page-account-profile
.aio-lk-card:has(input[name="new_password"]),
html body.page-account-profile
.aio-lk-password-card,
html body.page-account-profile
.aio-lk-card_password {
    margin: 0 !important;

    padding:
        var(--aio-profile-card-pad-top)
        var(--aio-profile-card-pad-x)
        var(--aio-profile-card-pad-bottom) !important;
}

html body.page-account-profile
.aio-lk-card:has(input[name="current_password"])
.aio-lk-fields,
html body.page-account-profile
.aio-lk-card:has(input[name="new_password"])
.aio-lk-fields,
html body.page-account-profile
.aio-lk-password-card
.aio-lk-fields,
html body.page-account-profile
.aio-lk-card_password
.aio-lk-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 22px 24px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-profile
.aio-lk-card:has(input[name="current_password"])
label:has(input[name="new_password_confirmation"]),
html body.page-account-profile
.aio-lk-card:has(input[name="new_password"])
label:has(input[name="new_password_confirmation"]) {
    grid-column: 1 / 2 !important;
}

/* Кнопка смены пароля не прилипает к последнему полю. */

html body.page-account-profile
.aio-lk-card:has(input[name="current_password"])
button[type="submit"],
html body.page-account-profile
.aio-lk-card:has(input[name="new_password"])
button[type="submit"],
html body.page-account-profile
.aio-lk-password-card button[type="submit"],
html body.page-account-profile
.aio-lk-card_password button[type="submit"] {
    margin-top: 20px !important;
}

/* =========================================================
   9. ЕДИНЫЕ КНОПКИ
   ========================================================= */

html body.page-account-profile
.aio-lk-main button,
html body.page-account-profile
.aio-lk-main input[type="submit"] {
    min-height: 44px !important;
    padding: 0 20px !important;

    border-radius: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   10. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 760px) {
    body.page-account-profile {
        --aio-profile-card-pad-x: 20px;
        --aio-profile-card-pad-top: 25px;
        --aio-profile-card-pad-bottom: 29px;
        --aio-profile-section-gap: 22px;
        --aio-profile-title-size: clamp(28px, 8.5vw, 34px);
    }

    html body.page-account-profile .aio-lk-card_photo {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    html body.page-account-profile .aio-lk-photo-preview {
        max-width: 430px !important;
    }

    html body.page-account-profile
    .aio-lk-card:has(input[name="current_password"])
    .aio-lk-fields,
    html body.page-account-profile
    .aio-lk-card:has(input[name="new_password"])
    .aio-lk-fields,
    html body.page-account-profile
    .aio-lk-password-card
    .aio-lk-fields,
    html body.page-account-profile
    .aio-lk-card_password
    .aio-lk-fields {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    html body.page-account-profile
    .aio-lk-card:has(input[name="current_password"])
    label:has(input[name="new_password_confirmation"]),
    html body.page-account-profile
    .aio-lk-card:has(input[name="new_password"])
    label:has(input[name="new_password_confirmation"]) {
        grid-column: auto !important;
    }
}

/* AIO ACCOUNT PROFILE — FINAL PAGE RHYTHM END */

/* =========================================================
   AIO ACCOUNT PROFILE — PHOTO BLOCK FINAL
   Только блок «Фото профиля»
   ========================================================= */

/* Нормальные внутренние поля блока */

html body.page-account-profile
.aio-lk-card_photo {
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns:
        minmax(220px, 240px)
        minmax(0, 1fr) !important;

    gap: 32px !important;
    align-items: center !important;

    min-height: 250px !important;

    margin: 0 !important;
    padding: 30px 36px 32px !important;
}

/* Обе колонки выравниваем по вертикальному центру */

html body.page-account-profile
.aio-lk-card_photo > * {
    min-width: 0 !important;
    align-self: center !important;
}

/* Фотография */

html body.page-account-profile
.aio-lk-card_photo .aio-lk-photo-preview {
    align-self: center !important;

    width: 100% !important;
    max-width: 240px !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    overflow: hidden !important;
}

html body.page-account-profile
.aio-lk-card_photo .aio-lk-photo-preview img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;
}

/* Правая текстовая колонка */

html body.page-account-profile
.aio-lk-card_photo__content,
html body.page-account-profile
.aio-lk-card_photo > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    min-height: 180px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Заголовок больше не прижат к верхней границе */

html body.page-account-profile
.aio-lk-card_photo h2,
html body.page-account-profile
.aio-lk-card_photo h3 {
    margin: 0 0 14px !important;
    padding: 0 !important;

    font-size: var(--aio-profile-title-size, clamp(29px, 2.35vw, 36px)) !important;
    line-height: .98 !important;
}

/* Описание */

html body.page-account-profile
.aio-lk-card_photo p {
    max-width: 690px !important;

    margin: 0 0 18px !important;
    padding: 0 !important;

    font-size: 13px !important;
    line-height: 1.62 !important;

    color: rgba(17,20,24,.55) !important;
    -webkit-text-fill-color: rgba(17,20,24,.55) !important;
}

/* Убираем внешнюю коробку вокруг загрузчика */

html body.page-account-profile
.aio-lk-card_photo input[type="file"] {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12px !important;
    line-height: 1.4 !important;

    color: rgba(17,20,24,.48) !important;
    -webkit-text-fill-color: rgba(17,20,24,.48) !important;
}

/* Аккуратная кнопка внутри нативного загрузчика */

html body.page-account-profile
.aio-lk-card_photo input[type="file"]::file-selector-button {
    min-height: 38px !important;

    margin: 0 12px 0 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(6,31,62,.18) !important;
    border-radius: 0 !important;

    background: #F8F5EF !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;

    cursor: pointer !important;
}

html body.page-account-profile
.aio-lk-card_photo input[type="file"]::-webkit-file-upload-button {
    min-height: 38px !important;

    margin: 0 12px 0 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(6,31,62,.18) !important;
    border-radius: 0 !important;

    background: #F8F5EF !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;

    cursor: pointer !important;
}

html body.page-account-profile
.aio-lk-card_photo input[type="file"]::file-selector-button:hover,
html body.page-account-profile
.aio-lk-card_photo input[type="file"]::-webkit-file-upload-button:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #FFFFFF !important;
}

/* Телефон */

@media (max-width: 760px) {
    html body.page-account-profile
    .aio-lk-card_photo {
        grid-template-columns: 1fr !important;
        gap: 22px !important;

        min-height: 0 !important;

        padding: 26px 20px 28px !important;
    }

    html body.page-account-profile
    .aio-lk-card_photo__content,
    html body.page-account-profile
    .aio-lk-card_photo > div:last-child {
        min-height: 0 !important;
    }
}

/* AIO ACCOUNT PROFILE — PHOTO BLOCK FINAL END */

/* =========================================================
   AIO ACCOUNT CARS — PATCH 1
   Hero + коллекция + карточки автомобилей
   ========================================================= */

/* ---------------------------------------------------------
   1. HERO — наследует стандарт страницы событий
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-cars-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 38px 0 42px !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(242,227,207,.14) !important;
    border-radius: 0 !important;

    background:
        radial-gradient(
            circle at 82% 24%,
            rgba(169,67,43,.15),
            transparent 23rem
        ),
        linear-gradient(
            135deg,
            #121416 0%,
            #191A1D 58%,
            #2A2224 100%
        ) !important;

    box-shadow: none !important;
}

html body.page-account-cars
.aio-lk-cars-hero::after {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;

    pointer-events: none !important;

    opacity: .045 !important;

    background-image:
        linear-gradient(
            rgba(248,245,239,.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(248,245,239,.055) 1px,
            transparent 1px
        ) !important;

    background-size: 72px 72px !important;
}

html body.page-account-cars
.aio-lk-cars-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;

    max-width: 1240px !important;
}

html body.page-account-cars
.aio-lk-cars-hero
.aio-events-museum-hero__inner {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(180px, 240px) !important;

    gap: clamp(54px, 8vw, 128px) !important;
    align-items: center !important;

    min-height: 104px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-cars
.aio-lk-cars-hero
.aio-events-kicker {
    margin: 0 0 8px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.62) !important;
    -webkit-text-fill-color: rgba(248,245,239,.62) !important;
}

html body.page-account-cars
.aio-lk-cars-hero h1 {
    max-width: 640px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(38px, 4.25vw, 56px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
}

html body.page-account-cars
.aio-lk-cars-hero__action {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-cars
.aio-lk-cars-hero
.aio-lk-public-link {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 38px !important;
    width: auto !important;

    margin: 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(248,245,239,.30) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-decoration: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-account-cars
.aio-lk-cars-hero
a.aio-lk-public-link:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

html body.page-account-cars
.aio-lk-cars-hero
.aio-lk-public-link_disabled {
    opacity: .46 !important;
    cursor: default !important;
}

/* ---------------------------------------------------------
   2. УБИРАЕМ ЖЁЛТУЮ ПОДЛОЖКУ ВЕРХНЕЙ ЧАСТИ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-page,
html body.page-account-cars
.aio-account-section,
html body.page-account-cars
.aio-lk-layout,
html body.page-account-cars
.aio-lk-main {
    background: #F8F5EF !important;
    background-image: none !important;

    box-shadow: none !important;
}

html body.page-account-cars
.aio-lk-main {
    min-width: 0 !important;
}

/* ---------------------------------------------------------
   3. ЗАГОЛОВОК «КОЛЛЕКЦИЯ»
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-collection-head {
    width: 100% !important;

    margin: 0 0 26px !important;
    padding: 0 0 20px !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(45,45,45,.10) !important;

    background: transparent !important;
    box-shadow: none !important;
}

html body.page-account-cars
.aio-lk-collection-head h2 {
    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(36px, 3.4vw, 48px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
}

/* ---------------------------------------------------------
   4. СПИСОК АВТОМОБИЛЕЙ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-cars-list {
    display: grid !important;
    grid-template-columns: 1fr !important;

    gap: 24px !important;

    margin: 0 0 46px !important;
    padding: 0 !important;

    background: transparent !important;
}

/* ---------------------------------------------------------
   5. МУЗЕЙНАЯ КАРТОЧКА АВТОМОБИЛЯ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-car-card {
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns:
        minmax(270px, 36%)
        minmax(0, 1fr) !important;

    min-height: 300px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(45,45,45,.095) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.66) !important;
    background-image: none !important;

    box-shadow: 0 16px 40px rgba(17,20,24,.035) !important;

    overflow: hidden !important;
}

html body.page-account-cars
.aio-lk-car-card__photo {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 300px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-right: 1px solid rgba(45,45,45,.075) !important;

    background:
        linear-gradient(
            145deg,
            #061F3E,
            #15191F
        ) !important;

    overflow: hidden !important;
}

html body.page-account-cars
.aio-lk-car-card__photo img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center !important;

    filter:
        saturate(.90)
        contrast(1.01)
        sepia(.05) !important;
}

html body.page-account-cars
.aio-lk-car-card__photo > span {
    position: absolute !important;
    inset: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    color: rgba(248,245,239,.72) !important;
}

/* ---------------------------------------------------------
   6. ТЕКСТОВАЯ ЧАСТЬ КАРТОЧКИ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-car-card__body {
    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 29px 34px 28px !important;
}

html body.page-account-cars
.aio-lk-car-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 14px !important;

    margin: 0 0 12px !important;
    padding: 0 !important;
}

html body.page-account-cars
.aio-lk-car-card__meta span {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-account-cars
.aio-lk-car-card__topline {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr)
        auto !important;

    align-items: start !important;
    gap: 24px !important;

    margin: 0 0 22px !important;
    padding: 0 !important;
}

html body.page-account-cars
.aio-lk-car-card__topline h3,
html body.page-account-cars
.aio-lk-car-card__body > h3 {
    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(29px, 2.4vw, 37px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.014em !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
}

/* ---------------------------------------------------------
   7. ХАРАКТЕРИСТИКИ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-car-card dl {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 0 24px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-cars
.aio-lk-car-card dl > div {
    display: grid !important;
    grid-template-columns:
        minmax(92px, 36%)
        minmax(0, 1fr) !important;

    gap: 12px !important;
    align-items: baseline !important;

    min-height: 39px !important;

    margin: 0 !important;
    padding: 10px 0 !important;

    border: 0 !important;
    border-top: 1px solid rgba(45,45,45,.075) !important;

    background: transparent !important;
}

html body.page-account-cars
.aio-lk-car-card dt,
html body.page-account-cars
.aio-lk-car-card dd {
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-cars
.aio-lk-car-card dt {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;

    color: rgba(169,67,43,.78) !important;
}

html body.page-account-cars
.aio-lk-car-card dd {
    overflow-wrap: anywhere !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;

    color: rgba(6,31,62,.82) !important;
}

/* ---------------------------------------------------------
   8. КНОПКА РЕДАКТИРОВАНИЯ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-car-card
.aio-lk-edit-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 38px !important;
    width: auto !important;

    margin: 0 !important;
    padding: 0 14px !important;

    border: 1px solid rgba(169,67,43,.28) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-account-cars
.aio-lk-car-card
.aio-lk-edit-link:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* ---------------------------------------------------------
   9. УБИРАЕМ ОПИСАНИЕ ИЗ КАРТОЧКИ СПИСКА
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-car-card__body
> p:not(.aio-lk-car-card__meta) {
    display: none !important;
}

/* ---------------------------------------------------------
   10. АДАПТИВ
   --------------------------------------------------------- */

@media (max-width: 980px) {
    html body.page-account-cars
    .aio-lk-car-card {
        grid-template-columns: 1fr !important;
    }

    html body.page-account-cars
    .aio-lk-car-card__photo {
        min-height: 270px !important;
        aspect-ratio: 16 / 9 !important;

        border-right: 0 !important;
        border-bottom: 1px solid rgba(45,45,45,.075) !important;
    }
}

@media (max-width: 720px) {
    html body.page-account-cars
    .aio-lk-cars-hero {
        padding: 30px 0 34px !important;
    }

    html body.page-account-cars
    .aio-lk-cars-hero
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;

        min-height: 0 !important;
    }

    html body.page-account-cars
    .aio-lk-cars-hero__action {
        justify-content: flex-start !important;
    }

    html body.page-account-cars
    .aio-lk-cars-hero h1 {
        font-size: clamp(34px, 10.5vw, 46px) !important;
    }

    html body.page-account-cars
    .aio-lk-car-card__body {
        padding: 24px 20px 26px !important;
    }

    html body.page-account-cars
    .aio-lk-car-card__topline {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    html body.page-account-cars
    .aio-lk-car-card
    .aio-lk-edit-link {
        justify-self: start !important;
    }

    html body.page-account-cars
    .aio-lk-car-card dl {
        grid-template-columns: 1fr !important;
    }
}

/* AIO ACCOUNT CARS — PATCH 1 END */

/* =========================================================
   AIO ACCOUNT CARS — PATCH 3
   Добавление фотографий + загруженные фотографии
   ========================================================= */

/* ---------------------------------------------------------
   1. БЛОК ДОБАВЛЕНИЯ ФОТОГРАФИЙ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-card_car-upload,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-card_photo {
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns:
        minmax(210px, 238px)
        minmax(0, 1fr) !important;

    gap: 34px !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 242px !important;

    margin: 0 !important;
    padding: 31px 36px 33px !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.68) !important;
    background-image: none !important;

    box-shadow: 0 14px 38px rgba(17,20,24,.03) !important;
}

/*
 * Левая часть может содержать изображение, заглушку или preview.
 * Она получает стабильную горизонтальную пропорцию.
 */

html body.page-account-cars
.aio-lk-card_car-upload .aio-lk-photo-preview,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-card_photo .aio-lk-photo-preview {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    max-width: 238px !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background:
        radial-gradient(
            circle at 74% 18%,
            rgba(169,67,43,.18),
            transparent 8rem
        ),
        linear-gradient(
            145deg,
            #061F3E,
            #161A20
        ) !important;

    box-shadow: none !important;

    overflow: hidden !important;
}

html body.page-account-cars
.aio-lk-card_car-upload .aio-lk-photo-preview img,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-card_photo .aio-lk-photo-preview img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;
}

html body.page-account-cars
.aio-lk-card_car-upload .aio-lk-photo-preview > span,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-card_photo .aio-lk-photo-preview > span {
    position: absolute !important;
    inset: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    color: rgba(248,245,239,.60) !important;
    -webkit-text-fill-color: rgba(248,245,239,.60) !important;
}

/* Правая часть блока */

html body.page-account-cars
.aio-lk-card_car-upload > div:last-child,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-card_photo > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    min-width: 0 !important;
    min-height: 176px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-cars
.aio-lk-card_car-upload h3,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-card_photo h3 {
    margin: 0 0 14px !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: var(--aio-car-form-title, clamp(29px, 2.35vw, 36px)) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.014em !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

html body.page-account-cars
.aio-lk-card_car-upload p,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-card_photo p {
    max-width: 670px !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.52) !important;
    -webkit-text-fill-color: rgba(17,20,24,.52) !important;
}

html body.page-account-cars
.aio-lk-photo-upload-note {
    margin-bottom: 18px !important;

    font-size: 10.5px !important;
    line-height: 1.55 !important;

    color: rgba(17,20,24,.33) !important;
    -webkit-text-fill-color: rgba(17,20,24,.33) !important;
}

/* ---------------------------------------------------------
   2. FILE INPUT БЕЗ ВНЕШНЕЙ КОРОБКИ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-cars-form input[type="file"],
html body.page-account-cars
.aio-lk-card_car-upload input[type="file"] {
    box-sizing: border-box !important;

    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;

    margin: 8px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
    outline: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.39) !important;
    -webkit-text-fill-color: rgba(17,20,24,.39) !important;
}

/* Нативная кнопка выбора файлов */

html body.page-account-cars
.aio-lk-cars-form input[type="file"]::file-selector-button,
html body.page-account-cars
.aio-lk-card_car-upload input[type="file"]::file-selector-button {
    box-sizing: border-box !important;

    min-height: 40px !important;

    margin: 0 12px 0 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(6,31,62,.18) !important;
    border-radius: 0 !important;

    background: #F8F5EF !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;

    cursor: pointer !important;
}

html body.page-account-cars
.aio-lk-cars-form input[type="file"]::-webkit-file-upload-button,
html body.page-account-cars
.aio-lk-card_car-upload input[type="file"]::-webkit-file-upload-button {
    box-sizing: border-box !important;

    min-height: 40px !important;

    margin: 0 12px 0 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(6,31,62,.18) !important;
    border-radius: 0 !important;

    background: #F8F5EF !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;

    cursor: pointer !important;
}

html body.page-account-cars
.aio-lk-cars-form input[type="file"]::file-selector-button:hover,
html body.page-account-cars
.aio-lk-card_car-upload input[type="file"]::file-selector-button:hover,
html body.page-account-cars
.aio-lk-cars-form input[type="file"]::-webkit-file-upload-button:hover,
html body.page-account-cars
.aio-lk-card_car-upload input[type="file"]::-webkit-file-upload-button:hover {
    border-color: #A9432B !important;

    background: #A9432B !important;

    color: #FFFFFF !important;
}

/* ---------------------------------------------------------
   3. ГАЛЕРЕЯ УЖЕ ЗАГРУЖЕННЫХ ФОТОГРАФИЙ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-card_car-gallery,
html body.page-account-cars
.aio-lk-card_car_photos {
    box-sizing: border-box !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 34px 36px 38px !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.68) !important;
    background-image: none !important;

    box-shadow: 0 14px 38px rgba(17,20,24,.03) !important;
}

html body.page-account-cars
.aio-lk-card_car-gallery .aio-lk-card__head,
html body.page-account-cars
.aio-lk-card_car_photos .aio-lk-card__head {
    margin: 0 0 24px !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

html body.page-account-cars
.aio-lk-card_car-gallery h2,
html body.page-account-cars
.aio-lk-card_car-gallery h3,
html body.page-account-cars
.aio-lk-card_car_photos h2,
html body.page-account-cars
.aio-lk-card_car_photos h3 {
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: var(--aio-car-form-title, clamp(29px, 2.35vw, 36px)) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.014em !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* ---------------------------------------------------------
   4. СЕТКА ФОТОГРАФИЙ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-car-photo-grid,
html body.page-account-cars
.aio-lk-car-gallery,
html body.page-account-cars
.aio-lk-photos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    gap: 20px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Карточка отдельной фотографии */

html body.page-account-cars
.aio-lk-car-photo-card,
html body.page-account-cars
.aio-lk-car-gallery figure,
html body.page-account-cars
.aio-lk-photos-grid figure {
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.58) !important;

    box-shadow: none !important;

    overflow: hidden !important;
}

html body.page-account-cars
.aio-lk-car-photo-card__image,
html body.page-account-cars
.aio-lk-car-gallery figure > div:first-child,
html body.page-account-cars
.aio-lk-photos-grid figure > div:first-child {
    display: block !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #16191E !important;

    overflow: hidden !important;
}

html body.page-account-cars
.aio-lk-car-photo-card__image img,
html body.page-account-cars
.aio-lk-car-gallery figure img,
html body.page-account-cars
.aio-lk-photos-grid figure img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 0 !important;

    filter:
        saturate(.92)
        contrast(1.01)
        sepia(.035) !important;
}

/* Техническая подпись */

html body.page-account-cars
.aio-lk-car-photo-card figcaption,
html body.page-account-cars
.aio-lk-car-gallery figcaption,
html body.page-account-cars
.aio-lk-photos-grid figcaption {
    min-height: 34px !important;

    margin: 0 !important;
    padding: 12px 14px 7px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;

    color: rgba(17,20,24,.40) !important;
    -webkit-text-fill-color: rgba(17,20,24,.40) !important;
}

/* ---------------------------------------------------------
   5. ДЕЙСТВИЯ С ФОТОГРАФИЯМИ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-car-photo-actions,
html body.page-account-cars
.aio-lk-photo-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;

    gap: 8px !important;

    margin: 0 !important;
    padding: 7px 14px 14px !important;

    border: 0 !important;
    background: transparent !important;
}

html body.page-account-cars
.aio-lk-car-photo-actions form,
html body.page-account-cars
.aio-lk-photo-actions form {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-cars
.aio-lk-car-photo-actions button,
html body.page-account-cars
.aio-lk-photo-actions button {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 34px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    border: 1px solid rgba(6,31,62,.17) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 7.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

html body.page-account-cars
.aio-lk-car-photo-actions button:hover,
html body.page-account-cars
.aio-lk-photo-actions button:hover {
    border-color: #A9432B !important;

    background: #A9432B !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Опасное действие «Удалить» не превращаем в отдельную красную таблетку */

html body.page-account-cars
.aio-lk-car-photo-actions button[data-request*="Delete"],
html body.page-account-cars
.aio-lk-photo-actions button[data-request*="Delete"],
html body.page-account-cars
.aio-lk-car-photo-actions button[name*="delete"],
html body.page-account-cars
.aio-lk-photo-actions button[name*="delete"] {
    border-color: rgba(169,67,43,.25) !important;

    color: rgba(169,67,43,.86) !important;
    -webkit-text-fill-color: rgba(169,67,43,.86) !important;
}

/* ---------------------------------------------------------
   6. ПУСТОЕ СОСТОЯНИЕ
   --------------------------------------------------------- */

html body.page-account-cars
.aio-lk-car-photos-empty,
html body.page-account-cars
.aio-lk-photos-empty {
    margin: 0 !important;
    padding: 24px 0 0 !important;

    border: 0 !important;
    border-top: 1px solid rgba(45,45,45,.075) !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.38) !important;
    -webkit-text-fill-color: rgba(17,20,24,.38) !important;
}

/* ---------------------------------------------------------
   7. ФИНАЛЬНЫЙ РИТМ НИЖНЕЙ ЧАСТИ ФОРМЫ
   --------------------------------------------------------- */

/* Между последней карточкой и кнопкой сохранения должен быть воздух. */

html body.page-account-cars
.aio-lk-cars-form > .aio-lk-actions,
html body.page-account-cars
.aio-car-form > .aio-lk-actions {
    margin-top: 2px !important;
    margin-bottom: 16px !important;
}

/* Жёлтая полоса под кнопками не допускается. */

html body.page-account-cars
.aio-lk-actions,
html body.page-account-cars
.aio-lk-form-actions,
html body.page-account-cars
.aio-lk-cars-form-footer {
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}

/* ---------------------------------------------------------
   8. АДАПТИВ
   --------------------------------------------------------- */

@media (max-width: 980px) {
    html body.page-account-cars
    .aio-lk-car-photo-grid,
    html body.page-account-cars
    .aio-lk-car-gallery,
    html body.page-account-cars
    .aio-lk-photos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    html body.page-account-cars
    .aio-lk-card_car-upload,
    html body.page-account-cars
    .aio-lk-cars-form .aio-lk-card_photo {
        grid-template-columns: 1fr !important;
        gap: 22px !important;

        min-height: 0 !important;

        padding: 27px 20px 30px !important;
    }

    html body.page-account-cars
    .aio-lk-card_car-upload > div:last-child,
    html body.page-account-cars
    .aio-lk-cars-form .aio-lk-card_photo > div:last-child {
        min-height: 0 !important;
    }

    html body.page-account-cars
    .aio-lk-card_car-gallery,
    html body.page-account-cars
    .aio-lk-card_car_photos {
        padding: 27px 20px 30px !important;
    }

    html body.page-account-cars
    .aio-lk-car-photo-grid,
    html body.page-account-cars
    .aio-lk-car-gallery,
    html body.page-account-cars
    .aio-lk-photos-grid {
        grid-template-columns: 1fr !important;
    }
}

/* AIO ACCOUNT CARS — PATCH 3 END */

/* AIO ACCOUNT CARS — CORRECTION START */

/* =========================================================
   1. HERO — ЕЩЁ НА 3 ММ НИЖЕ ПО ВЫСОТЕ
   ========================================================= */

/*
 * Предыдущий hero был примерно на 11–12 px выше профиля.
 * Уменьшаем суммарную вертикальную высоту на 12 px.
 */

html body.page-account-cars
.aio-lk-cars-hero {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
}

html body.page-account-cars
.aio-lk-cars-hero
.aio-events-museum-hero__inner {
    min-height: 100px !important;
}


/* =========================================================
   2. СПИСОК АВТОМОБИЛЕЙ НАЧИНАЕТСЯ СРАЗУ
   ========================================================= */

/*
 * После удаления слова «Коллекция» первая автомобильная
 * карточка встаёт вровень с верхом левого меню.
 */

html body.page-account-cars
.aio-lk-cars-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html body.page-account-cars
.aio-lk-main {
    padding-top: 0 !important;
}

html body.page-account-cars
.aio-lk-cars-collection-head,
html body.page-account-cars
.aio-lk-collection-head {
    display: none !important;
}


/* =========================================================
   3. УБИРАЕМ ОСТАТКИ ШАПКИ «ДОБАВИТЬ АВТОМОБИЛЬ»
   ========================================================= */

html body.page-account-cars
.aio-lk-head_inner,
html body.page-account-cars
.aio-lk-cars-form
> header:first-child {
    display: none !important;
}


/* =========================================================
   4. НОРМАЛЬНЫЕ ВНУТРЕННИЕ ОТСТУПЫ КАРТОЧЕК ФОРМЫ
   ========================================================= */

/*
 * Заголовки больше не прилипают к верхней границе.
 */

html body.page-account-cars
.aio-lk-cars-form > .aio-lk-card,
html body.page-account-cars
.aio-car-form > .aio-lk-card,
html body.page-account-cars
.aio-lk-card_car,
html body.page-account-cars
.aio-lk-car-form-card {
    padding:
        40px
        36px
        42px !important;
}

html body.page-account-cars
.aio-lk-cars-form h2,
html body.page-account-cars
.aio-lk-cars-form h3,
html body.page-account-cars
.aio-car-form h2,
html body.page-account-cars
.aio-car-form h3 {
    margin-top: 0 !important;
    margin-bottom: 27px !important;
}


/* =========================================================
   5. ПОЛЯ И СЕТКА
   ========================================================= */

html body.page-account-cars
.aio-lk-fields,
html body.page-account-cars
.aio-lk-form-grid,
html body.page-account-cars
.aio-car-fields {
    align-items: start !important;
    grid-auto-flow: row !important;

    row-gap: 24px !important;
    column-gap: 24px !important;
}

/*
 * «Состояние» занимает собственный полный ряд.
 * После него номер в реестре и цвет становятся ровной парой.
 */

html body.page-account-cars
.aio-lk-cars-form
label:has(
    [name="condition"]
),
html body.page-account-cars
.aio-lk-cars-form
label:has(
    [name="state"]
) {
    grid-column: 1 / -1 !important;
}

html body.page-account-cars
.aio-lk-cars-form
textarea[name="condition"],
html body.page-account-cars
.aio-lk-cars-form
input[name="condition"],
html body.page-account-cars
.aio-lk-cars-form
textarea[name="state"],
html body.page-account-cars
.aio-lk-cars-form
input[name="state"] {
    min-height: 76px !important;
    max-height: 98px !important;
}

/*
 * Все обычные поля одной высоты.
 */

html body.page-account-cars
.aio-lk-cars-form
input:not(
    [type="checkbox"]
):not(
    [type="radio"]
):not(
    [type="file"]
),
html body.page-account-cars
.aio-lk-cars-form
select {
    min-height: 48px !important;
    height: 48px !important;
}


/* =========================================================
   6. PLACEHOLDER — ЯВНО ТЕХНИЧЕСКИЙ, А НЕ ВВЕДЁННЫЙ ТЕКСТ
   ========================================================= */

html body.page-account-cars
.aio-lk-cars-form
input::placeholder,
html body.page-account-cars
.aio-lk-cars-form
textarea::placeholder {
    color: rgba(17,20,24,.22) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.22) !important;

    opacity: 1 !important;
}

html body.page-account-cars
.aio-lk-cars-form
select:has(
    option[value=""]:checked
) {
    color: rgba(17,20,24,.25) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.25) !important;
}

/*
 * Технические пояснения под полями.
 */

html body.page-account-cars
.aio-lk-cars-form small,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-muted,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-help,
html body.page-account-cars
.aio-lk-cars-form .aio-lk-hint,
html body.page-account-cars
.aio-lk-public-field-hint,
html body.page-account-cars
.aio-lk-photo-upload-note {
    color: rgba(17,20,24,.32) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.32) !important;

    opacity: 1 !important;
}


/* =========================================================
   7. КРАТКАЯ ЭКСПОЗИЦИОННАЯ ПОДПИСЬ
   ========================================================= */

html body.page-account-cars
.aio-lk-cars-form
textarea[name="short_description"] {
    min-height: 76px !important;
    height: 76px !important;
    max-height: 92px !important;
}


/* =========================================================
   8. РАЗРЕШЕНИЯ — ЧЕКБОКС И ТЕКСТ НА ОДНОЙ СТРОКЕ
   ========================================================= */

html body.page-account-cars
.aio-lk-car-permissions
label:has(
    input[type="checkbox"]
),
html body.page-account-cars
.aio-lk-cars-form
label.aio-lk-check {
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns:
        18px
        minmax(0, 1fr) !important;

    align-items: start !important;
    justify-content: start !important;

    gap: 12px !important;

    width: 100% !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 9px 0 !important;

    border: 0 !important;
    border-top:
        1px solid
        rgba(45,45,45,.065) !important;

    background: transparent !important;
}

html body.page-account-cars
.aio-lk-car-permissions
label:has(
    input[type="checkbox"]
)
> input[type="checkbox"],
html body.page-account-cars
.aio-lk-cars-form
label.aio-lk-check
> input[type="checkbox"] {
    grid-column: 1 !important;
    grid-row: 1 !important;

    align-self: start !important;

    width: 16px !important;
    height: 16px !important;

    margin: 1px 0 0 !important;
    padding: 0 !important;
}

html body.page-account-cars
.aio-lk-car-permissions
label:has(
    input[type="checkbox"]
)
> span,
html body.page-account-cars
.aio-lk-cars-form
label.aio-lk-check
> span {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.48 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: rgba(17,20,24,.66) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.66) !important;
}

/*
 * Описание конкретного разрешения, если оно находится
 * отдельным элементом внутри label, тоже идёт справа,
 * а не падает под checkbox.
 */

html body.page-account-cars
.aio-lk-car-permissions
label:has(
    input[type="checkbox"]
)
> small,
html body.page-account-cars
.aio-lk-car-permissions
label:has(
    input[type="checkbox"]
)
> p {
    grid-column: 2 !important;

    margin: 4px 0 0 !important;

    font-size: 10px !important;
    line-height: 1.5 !important;

    color: rgba(17,20,24,.32) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.32) !important;
}


/* =========================================================
   9. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 760px) {
    html body.page-account-cars
    .aio-lk-cars-hero {
        padding-top: 27px !important;
        padding-bottom: 30px !important;
    }

    html body.page-account-cars
    .aio-lk-cars-form > .aio-lk-card,
    html body.page-account-cars
    .aio-car-form > .aio-lk-card,
    html body.page-account-cars
    .aio-lk-card_car,
    html body.page-account-cars
    .aio-lk-car-form-card {
        padding:
            30px
            20px
            32px !important;
    }

    html body.page-account-cars
    .aio-lk-cars-form
    label:has(
        [name="condition"]
    ),
    html body.page-account-cars
    .aio-lk-cars-form
    label:has(
        [name="state"]
    ) {
        grid-column: auto !important;
    }
}

/* AIO ACCOUNT CARS — CORRECTION END */

/* AIO ACCOUNT CARS — PERMISSION CHECKBOX ALIGN START */

/*
 * Checkbox и подпись располагаются на одной визуальной оси.
 * Исправление касается только блока разрешений автомобиля.
 */

html body.page-account-cars
.aio-lk-car-permissions
label:has(input[type="checkbox"]),
html body.page-account-cars
.aio-lk-cars-form
label.aio-lk-check {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;

    align-items: center !important;
    column-gap: 14px !important;

    min-height: 72px !important;

    margin: 0 !important;
    padding: 18px 0 !important;

    border-top: 1px solid rgba(45,45,45,.065) !important;

    background: transparent !important;
}

html body.page-account-cars
.aio-lk-car-permissions
label:has(input[type="checkbox"])
> input[type="checkbox"],
html body.page-account-cars
.aio-lk-cars-form
label.aio-lk-check
> input[type="checkbox"] {
    align-self: center !important;

    width: 17px !important;
    height: 17px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}

html body.page-account-cars
.aio-lk-car-permissions
label:has(input[type="checkbox"])
> span,
html body.page-account-cars
.aio-lk-cars-form
label.aio-lk-check
> span {
    align-self: center !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: rgba(17,20,24,.68) !important;
    -webkit-text-fill-color: rgba(17,20,24,.68) !important;
}

/*
 * Дополнительное пояснение, если оно есть внутри label,
 * остаётся в правой колонке, но не сдвигает checkbox вверх.
 */

html body.page-account-cars
.aio-lk-car-permissions
label:has(input[type="checkbox"])
> small,
html body.page-account-cars
.aio-lk-car-permissions
label:has(input[type="checkbox"])
> p {
    grid-column: 2 !important;

    margin: 5px 0 0 !important;
    padding: 0 !important;

    font-size: 10px !important;
    line-height: 1.5 !important;

    color: rgba(17,20,24,.32) !important;
    -webkit-text-fill-color: rgba(17,20,24,.32) !important;
}

/* AIO ACCOUNT CARS — PERMISSION CHECKBOX ALIGN END */

/* AIO ACCOUNT GALLERIES — MUSEUM START */

body.page-account-galleries,
body.page-account-albums {
    --aio-gallery-form-pad-x: 36px;
    --aio-gallery-form-pad-y: 38px;
    --aio-gallery-form-gap: 28px;
    --aio-gallery-title-size: clamp(29px, 2.35vw, 36px);
}

/* =========================================================
   1. HERO — ЭТАЛОН СТРАНИЦЫ «АВТОМОБИЛИ»
   ========================================================= */

html body.page-account-galleries .aio-lk-galleries-hero,
html body.page-account-albums .aio-lk-galleries-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 32px 0 36px !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(242,227,207,.14) !important;
    border-radius: 0 !important;

    background:
        radial-gradient(
            circle at 82% 24%,
            rgba(169,67,43,.15),
            transparent 23rem
        ),
        linear-gradient(
            135deg,
            #121416 0%,
            #191A1D 58%,
            #2A2224 100%
        ) !important;

    box-shadow: none !important;
}

html body.page-account-galleries
.aio-lk-galleries-hero::after,
html body.page-account-albums
.aio-lk-galleries-hero::after {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;

    pointer-events: none !important;

    opacity: .045 !important;

    background-image:
        linear-gradient(
            rgba(248,245,239,.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(248,245,239,.055) 1px,
            transparent 1px
        ) !important;

    background-size: 72px 72px !important;
}

html body.page-account-galleries
.aio-lk-galleries-hero .aio-container,
html body.page-account-albums
.aio-lk-galleries-hero .aio-container {
    position: relative !important;
    z-index: 2 !important;

    max-width: 1240px !important;
}

html body.page-account-galleries
.aio-lk-galleries-hero
.aio-events-museum-hero__inner,
html body.page-account-albums
.aio-lk-galleries-hero
.aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(190px, 260px) !important;

    align-items: center !important;
    gap: clamp(60px, 8vw, 126px) !important;

    min-height: 100px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-galleries
.aio-lk-galleries-hero .aio-events-kicker,
html body.page-account-albums
.aio-lk-galleries-hero .aio-events-kicker {
    margin: 0 0 8px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.66) !important;
    -webkit-text-fill-color: rgba(248,245,239,.66) !important;
}

html body.page-account-galleries
.aio-lk-galleries-hero h1,
html body.page-account-albums
.aio-lk-galleries-hero h1 {
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(38px, 4.25vw, 56px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
}

html body.page-account-galleries
.aio-lk-galleries-hero__action,
html body.page-account-albums
.aio-lk-galleries-hero__action {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-galleries
.aio-lk-galleries-hero .aio-lk-public-link,
html body.page-account-albums
.aio-lk-galleries-hero .aio-lk-public-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 38px !important;
    padding: 0 16px !important;

    border: 1px solid rgba(248,245,239,.30) !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-account-galleries
.aio-lk-galleries-hero a.aio-lk-public-link:hover,
html body.page-account-albums
.aio-lk-galleries-hero a.aio-lk-public-link:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* =========================================================
   2. ОБЩИЙ ФОН И ВЫРАВНИВАНИЕ
   ========================================================= */

html body.page-account-galleries .aio-lk-page,
html body.page-account-galleries .aio-lk-layout,
html body.page-account-galleries .aio-lk-main,
html body.page-account-albums .aio-lk-page,
html body.page-account-albums .aio-lk-layout,
html body.page-account-albums .aio-lk-main {
    background: #F8F5EF !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body.page-account-galleries .aio-lk-main,
html body.page-account-albums .aio-lk-main {
    min-width: 0 !important;
    padding-top: 0 !important;
}

/* Скрываем прежний второй заголовок, если остался в DOM. */

html body.page-account-galleries
.aio-lk-main > .aio-lk-head:first-child,
html body.page-account-galleries
.aio-lk-main > .aio-lk-gallery-head:first-child,
html body.page-account-albums
.aio-lk-main > .aio-lk-head:first-child,
html body.page-account-albums
.aio-lk-main > .aio-lk-gallery-head:first-child {
    display: none !important;
}

/* =========================================================
   3. КАРТОЧКИ АЛЬБОМОВ
   ========================================================= */

html body.page-account-galleries
.aio-lk-gallery-list,
html body.page-account-galleries
.aio-lk-albums-list,
html body.page-account-albums
.aio-lk-gallery-list,
html body.page-account-albums
.aio-lk-albums-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 24px !important;

    margin: 0 0 44px !important;
    padding: 0 !important;

    background: transparent !important;
}

html body.page-account-galleries
.aio-lk-gallery-card,
html body.page-account-galleries
.aio-lk-album-card,
html body.page-account-albums
.aio-lk-gallery-card,
html body.page-account-albums
.aio-lk-album-card {
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(45,45,45,.095) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.68) !important;
    background-image: none !important;

    box-shadow: 0 14px 38px rgba(17,20,24,.03) !important;

    overflow: hidden !important;
}

html body.page-account-galleries
.aio-lk-gallery-card img,
html body.page-account-galleries
.aio-lk-album-card img,
html body.page-account-albums
.aio-lk-gallery-card img,
html body.page-account-albums
.aio-lk-album-card img {
    display: block !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 0 !important;

    filter:
        saturate(.92)
        contrast(1.01)
        sepia(.035) !important;
}

/* Убираем скругления у любых внутренних оболочек фото. */

html body.page-account-galleries
.aio-lk-gallery-card *,
html body.page-account-galleries
.aio-lk-album-card *,
html body.page-account-albums
.aio-lk-gallery-card *,
html body.page-account-albums
.aio-lk-album-card * {
    border-radius: 0 !important;
}

/* =========================================================
   4. ФОРМА ФОТОАЛЬБОМА
   ========================================================= */

html body.page-account-galleries form,
html body.page-account-galleries .aio-lk-gallery-form,
html body.page-account-albums form,
html body.page-account-albums .aio-lk-gallery-form {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}

html body.page-account-galleries
.aio-lk-gallery-editor,
html body.page-account-galleries
.aio-lk-gallery-form > .aio-lk-card,
html body.page-account-albums
.aio-lk-gallery-editor,
html body.page-account-albums
.aio-lk-gallery-form > .aio-lk-card {
    box-sizing: border-box !important;

    width: 100% !important;

    margin: 0 0 var(--aio-gallery-form-gap) !important;
    padding:
        var(--aio-gallery-form-pad-y)
        var(--aio-gallery-form-pad-x)
        42px !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.68) !important;
    background-image: none !important;

    box-shadow: 0 14px 38px rgba(17,20,24,.03) !important;
}

html body.page-account-galleries
.aio-lk-gallery-form-head,
html body.page-account-albums
.aio-lk-gallery-form-head {
    margin: 0 0 27px !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

html body.page-account-galleries
.aio-lk-gallery-form-head h2,
html body.page-account-galleries
.aio-lk-gallery-form h2,
html body.page-account-galleries
.aio-lk-gallery-form h3,
html body.page-account-albums
.aio-lk-gallery-form-head h2,
html body.page-account-albums
.aio-lk-gallery-form h2,
html body.page-account-albums
.aio-lk-gallery-form h3 {
    margin: 0 0 25px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: var(--aio-gallery-title-size) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.014em !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
}

html body.page-account-galleries
.aio-lk-gallery-form-head h2,
html body.page-account-albums
.aio-lk-gallery-form-head h2 {
    margin-bottom: 0 !important;
}

/* =========================================================
   5. СЕТКА И ПОЛЯ
   ========================================================= */

html body.page-account-galleries
.aio-lk-fields,
html body.page-account-galleries
.aio-lk-form-grid,
html body.page-account-albums
.aio-lk-fields,
html body.page-account-albums
.aio-lk-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    align-items: start !important;
    gap: 24px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-galleries
.aio-lk-fields__full,
html body.page-account-galleries
.aio-lk-field_full,
html body.page-account-albums
.aio-lk-fields__full,
html body.page-account-albums
.aio-lk-field_full {
    grid-column: 1 / -1 !important;
}

html body.page-account-galleries label,
html body.page-account-albums label {
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-galleries
label > span:first-child,
html body.page-account-albums
label > span:first-child {
    display: block !important;

    margin: 0 0 9px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;

    color: rgba(17,20,24,.60) !important;
    -webkit-text-fill-color: rgba(17,20,24,.60) !important;
}

html body.page-account-galleries
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body.page-account-galleries select,
html body.page-account-galleries textarea,
html body.page-account-albums
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body.page-account-albums select,
html body.page-account-albums textarea {
    box-sizing: border-box !important;

    width: 100% !important;

    border: 1px solid rgba(6,31,62,.15) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.72) !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.82) !important;
    -webkit-text-fill-color: rgba(17,20,24,.82) !important;
}

html body.page-account-galleries
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body.page-account-galleries select,
html body.page-account-albums
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body.page-account-albums select {
    min-height: 48px !important;
    height: 48px !important;

    padding: 0 14px !important;
}

html body.page-account-galleries textarea,
html body.page-account-albums textarea {
    min-height: 116px !important;
    padding: 13px 14px !important;

    resize: vertical !important;
}

html body.page-account-galleries
textarea[name="short_description"],
html body.page-account-galleries
textarea[name="caption"],
html body.page-account-albums
textarea[name="short_description"],
html body.page-account-albums
textarea[name="caption"] {
    min-height: 76px !important;
    height: 76px !important;
    max-height: 92px !important;
}

/* =========================================================
   6. PLACEHOLDER И ТЕХНИЧЕСКИЕ ТЕКСТЫ
   ========================================================= */

html body.page-account-galleries
input::placeholder,
html body.page-account-galleries
textarea::placeholder,
html body.page-account-albums
input::placeholder,
html body.page-account-albums
textarea::placeholder {
    color: rgba(17,20,24,.22) !important;
    -webkit-text-fill-color: rgba(17,20,24,.22) !important;

    opacity: 1 !important;
}

html body.page-account-galleries
select:has(option[value=""]:checked),
html body.page-account-albums
select:has(option[value=""]:checked) {
    color: rgba(17,20,24,.26) !important;
    -webkit-text-fill-color: rgba(17,20,24,.26) !important;
}

html body.page-account-galleries small,
html body.page-account-galleries .aio-lk-muted,
html body.page-account-galleries .aio-lk-help,
html body.page-account-galleries .aio-lk-hint,
html body.page-account-galleries .aio-lk-note,
html body.page-account-albums small,
html body.page-account-albums .aio-lk-muted,
html body.page-account-albums .aio-lk-help,
html body.page-account-albums .aio-lk-hint,
html body.page-account-albums .aio-lk-note {
    display: block !important;

    margin: 7px 0 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.32) !important;
    -webkit-text-fill-color: rgba(17,20,24,.32) !important;

    opacity: 1 !important;
}

/* =========================================================
   7. ОТВЕТСТВЕННОСТЬ И CHECKBOX
   ========================================================= */

html body.page-account-galleries
.aio-lk-responsibility,
html body.page-account-galleries
.aio-lk-gallery-rights,
html body.page-account-albums
.aio-lk-responsibility,
html body.page-account-albums
.aio-lk-gallery-rights {
    margin: 32px 0 0 !important;
    padding: 32px 0 0 !important;

    border: 0 !important;
    border-top: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;
}

html body.page-account-galleries
label:has(input[type="checkbox"]),
html body.page-account-albums
label:has(input[type="checkbox"]) {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;

    align-items: center !important;
    gap: 14px !important;

    min-height: 58px !important;

    padding: 14px 0 !important;

    border-top: 1px solid rgba(45,45,45,.065) !important;
    border-radius: 0 !important;

    background: transparent !important;
}

html body.page-account-galleries
label:has(input[type="checkbox"]) input[type="checkbox"],
html body.page-account-albums
label:has(input[type="checkbox"]) input[type="checkbox"] {
    align-self: center !important;

    width: 17px !important;
    height: 17px !important;

    margin: 0 !important;

    accent-color: #A9432B !important;
}

html body.page-account-galleries
label:has(input[type="checkbox"]) > span,
html body.page-account-albums
label:has(input[type="checkbox"]) > span {
    align-self: center !important;

    margin: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: rgba(17,20,24,.68) !important;
    -webkit-text-fill-color: rgba(17,20,24,.68) !important;
}

/* =========================================================
   8. ЗАГРУЗКА ФОТОГРАФИЙ
   ========================================================= */

html body.page-account-galleries
.aio-lk-gallery-upload,
html body.page-account-albums
.aio-lk-gallery-upload {
    box-sizing: border-box !important;

    margin: var(--aio-gallery-form-gap) 0 0 !important;
    padding:
        var(--aio-gallery-form-pad-y)
        var(--aio-gallery-form-pad-x)
        42px !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.68) !important;
    background-image: none !important;

    box-shadow: 0 14px 38px rgba(17,20,24,.03) !important;
}

html body.page-account-galleries
input[type="file"],
html body.page-account-albums
input[type="file"] {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    min-height: 0 !important;

    margin: 16px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.4 !important;

    color: rgba(17,20,24,.39) !important;
    -webkit-text-fill-color: rgba(17,20,24,.39) !important;
}

html body.page-account-galleries
input[type="file"]::file-selector-button,
html body.page-account-albums
input[type="file"]::file-selector-button {
    min-height: 40px !important;

    margin: 0 12px 0 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(6,31,62,.18) !important;
    border-radius: 0 !important;

    background: #F8F5EF !important;
    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;

    cursor: pointer !important;
}

html body.page-account-galleries
input[type="file"]::-webkit-file-upload-button,
html body.page-account-albums
input[type="file"]::-webkit-file-upload-button {
    min-height: 40px !important;

    margin: 0 12px 0 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(6,31,62,.18) !important;
    border-radius: 0 !important;

    background: #F8F5EF !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;

    cursor: pointer !important;
}

html body.page-account-galleries
input[type="file"]::file-selector-button:hover,
html body.page-account-galleries
input[type="file"]::-webkit-file-upload-button:hover,
html body.page-account-albums
input[type="file"]::file-selector-button:hover,
html body.page-account-albums
input[type="file"]::-webkit-file-upload-button:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
}

/* =========================================================
   9. ФОТОГРАФИИ В РЕДАКТОРЕ АЛЬБОМА
   ========================================================= */

html body.page-account-galleries
.aio-lk-gallery-photo-grid,
html body.page-account-galleries
.aio-lk-album-photo-grid,
html body.page-account-albums
.aio-lk-gallery-photo-grid,
html body.page-account-albums
.aio-lk-album-photo-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    gap: 20px !important;
}

html body.page-account-galleries
.aio-lk-gallery-photo-grid figure,
html body.page-account-galleries
.aio-lk-album-photo-grid figure,
html body.page-account-albums
.aio-lk-gallery-photo-grid figure,
html body.page-account-albums
.aio-lk-album-photo-grid figure {
    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.58) !important;

    overflow: hidden !important;
}

html body.page-account-galleries
.aio-lk-gallery-photo-grid img,
html body.page-account-galleries
.aio-lk-album-photo-grid img,
html body.page-account-albums
.aio-lk-gallery-photo-grid img,
html body.page-account-albums
.aio-lk-album-photo-grid img {
    display: block !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;

    object-fit: cover !important;

    border-radius: 0 !important;
}

/* Страховка от старых «полукруглых» карточек. */

html body.page-account-galleries
.aio-lk-gallery-photo-grid *,
html body.page-account-galleries
.aio-lk-album-photo-grid *,
html body.page-account-albums
.aio-lk-gallery-photo-grid *,
html body.page-account-albums
.aio-lk-album-photo-grid * {
    border-radius: 0 !important;
}

/* =========================================================
   10. КНОПКА СОЗДАНИЯ
   ========================================================= */

html body.page-account-galleries
.aio-lk-actions,
html body.page-account-albums
.aio-lk-actions {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

html body.page-account-galleries
.aio-lk-actions button,
html body.page-account-galleries
button[type="submit"],
html body.page-account-albums
.aio-lk-actions button,
html body.page-account-albums
button[type="submit"] {
    min-height: 44px !important;
    padding: 0 21px !important;

    border: 1px solid #061F3E !important;
    border-radius: 0 !important;

    background: #061F3E !important;
    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;

    color: #FFFFFF !important;
}

html body.page-account-galleries
.aio-lk-actions button:hover,
html body.page-account-galleries
button[type="submit"]:hover,
html body.page-account-albums
.aio-lk-actions button:hover,
html body.page-account-albums
button[type="submit"]:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
}

/* =========================================================
   11. АДАПТИВ
   ========================================================= */

@media (max-width: 900px) {
    html body.page-account-galleries
    .aio-lk-gallery-list,
    html body.page-account-galleries
    .aio-lk-albums-list,
    html body.page-account-albums
    .aio-lk-gallery-list,
    html body.page-account-albums
    .aio-lk-albums-list {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    body.page-account-galleries,
    body.page-account-albums {
        --aio-gallery-form-pad-x: 20px;
        --aio-gallery-form-pad-y: 30px;
        --aio-gallery-form-gap: 22px;
        --aio-gallery-title-size: clamp(28px, 8.5vw, 34px);
    }

    html body.page-account-galleries
    .aio-lk-galleries-hero,
    html body.page-account-albums
    .aio-lk-galleries-hero {
        padding: 27px 0 30px !important;
    }

    html body.page-account-galleries
    .aio-lk-galleries-hero
    .aio-events-museum-hero__inner,
    html body.page-account-albums
    .aio-lk-galleries-hero
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    html body.page-account-galleries
    .aio-lk-galleries-hero__action,
    html body.page-account-albums
    .aio-lk-galleries-hero__action {
        justify-content: flex-start !important;
    }

    html body.page-account-galleries
    .aio-lk-fields,
    html body.page-account-galleries
    .aio-lk-form-grid,
    html body.page-account-albums
    .aio-lk-fields,
    html body.page-account-albums
    .aio-lk-form-grid {
        grid-template-columns: 1fr !important;
        gap: 19px !important;
    }

    html body.page-account-galleries
    .aio-lk-fields__full,
    html body.page-account-galleries
    .aio-lk-field_full,
    html body.page-account-albums
    .aio-lk-fields__full,
    html body.page-account-albums
    .aio-lk-field_full {
        grid-column: auto !important;
    }

    html body.page-account-galleries
    .aio-lk-gallery-photo-grid,
    html body.page-account-galleries
    .aio-lk-album-photo-grid,
    html body.page-account-albums
    .aio-lk-gallery-photo-grid,
    html body.page-account-albums
    .aio-lk-album-photo-grid {
        grid-template-columns: 1fr !important;
    }
}

/* AIO ACCOUNT GALLERIES — MUSEUM END */

/* AIO_ACCOUNT_GALLERIES_FINAL_START */

/* =========================================================
   1. ПОДНИМАЕМ ЛЕВОЕ МЕНЮ И ПРАВУЮ ЧАСТЬ К HERO
   ========================================================= */

html body.page-account-galleries .aio-lk-page,
html body.page-account-galleries .aio-account-section,
html body.page-account-albums .aio-lk-page,
html body.page-account-albums .aio-account-section {
    margin-top: 0 !important;
    padding-top: 30px !important;

    background: #F8F5EF !important;
    background-image: none !important;
}

html body.page-account-galleries .aio-lk-page > .aio-container,
html body.page-account-galleries .aio-account-section > .aio-container,
html body.page-account-albums .aio-lk-page > .aio-container,
html body.page-account-albums .aio-account-section > .aio-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html body.page-account-galleries .aio-lk-layout,
html body.page-account-albums .aio-lk-layout {
    align-items: start !important;

    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* =========================================================
   2. АЛЬБОМЫ — ЦВЕТНАЯ МУЗЕЙНАЯ ДЫМКА
   ========================================================= */

html body.page-account-galleries .aio-lk-gallery-card img,
html body.page-account-galleries .aio-lk-album-card img,
html body.page-account-galleries .aio-lk-gallery-list img,
html body.page-account-galleries .aio-lk-albums-list img,
html body.page-account-albums .aio-lk-gallery-card img,
html body.page-account-albums .aio-lk-album-card img,
html body.page-account-albums .aio-lk-gallery-list img,
html body.page-account-albums .aio-lk-albums-list img {
    opacity: 1 !important;
    mix-blend-mode: normal !important;

    filter:
        saturate(.78)
        contrast(.94)
        brightness(.94)
        sepia(.035) !important;

    transition: filter .25s ease !important;
}

html body.page-account-galleries .aio-lk-gallery-card:hover img,
html body.page-account-galleries .aio-lk-album-card:hover img,
html body.page-account-albums .aio-lk-gallery-card:hover img,
html body.page-account-albums .aio-lk-album-card:hover img {
    opacity: 1 !important;

    filter:
        saturate(.94)
        contrast(.97)
        brightness(.97)
        sepia(.015) !important;
}

/* Убираем чёрно-белый фильтр со всех внутренних изображений. */

html body.page-account-galleries
.aio-lk-main img,
html body.page-account-albums
.aio-lk-main img {
    -webkit-filter:
        saturate(.82)
        contrast(.95)
        brightness(.95)
        sepia(.03) !important;

    filter:
        saturate(.82)
        contrast(.95)
        brightness(.95)
        sepia(.03) !important;

    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

/* Убираем старые затемняющие псевдоэлементы. */

html body.page-account-galleries
.aio-lk-gallery-card__image::before,
html body.page-account-galleries
.aio-lk-gallery-card__image::after,
html body.page-account-galleries
.aio-lk-album-card__image::before,
html body.page-account-galleries
.aio-lk-album-card__image::after,
html body.page-account-albums
.aio-lk-gallery-card__image::before,
html body.page-account-albums
.aio-lk-gallery-card__image::after,
html body.page-account-albums
.aio-lk-album-card__image::before,
html body.page-account-albums
.aio-lk-album-card__image::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   3. ФОРМА — БЕЗ КИКЕРА «НОВЫЙ ФОТОАЛЬБОМ»
   ========================================================= */

html body.page-account-galleries
.aio-lk-gallery-editor > .aio-lk-kicker:first-child,
html body.page-account-galleries
.aio-lk-gallery-form > .aio-lk-kicker:first-child,
html body.page-account-albums
.aio-lk-gallery-editor > .aio-lk-kicker:first-child,
html body.page-account-albums
.aio-lk-gallery-form > .aio-lk-kicker:first-child {
    display: none !important;
}

html body.page-account-galleries
.aio-lk-gallery-form-head,
html body.page-account-albums
.aio-lk-gallery-form-head {
    margin: 0 0 28px !important;
    padding: 0 !important;
}

html body.page-account-galleries
.aio-lk-gallery-form-head h2,
html body.page-account-albums
.aio-lk-gallery-form-head h2 {
    margin: 0 !important;
}


/* =========================================================
   4. ОСТАВЛЯЕМ ТОЛЬКО КИКЕР «ФОТОГРАФИИ»
   ========================================================= */

html body.page-account-galleries
.aio-lk-gallery-photos-kicker,
html body.page-account-albums
.aio-lk-gallery-photos-kicker {
    display: block !important;

    margin: 0 0 24px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-account-galleries
.aio-lk-main h2:has(+ .aio-lk-gallery-photo-grid),
html body.page-account-galleries
.aio-lk-main h3:has(+ .aio-lk-gallery-photo-grid),
html body.page-account-galleries
.aio-lk-main h2:has(+ .aio-lk-album-photo-grid),
html body.page-account-galleries
.aio-lk-main h3:has(+ .aio-lk-album-photo-grid),
html body.page-account-albums
.aio-lk-main h2:has(+ .aio-lk-gallery-photo-grid),
html body.page-account-albums
.aio-lk-main h3:has(+ .aio-lk-gallery-photo-grid),
html body.page-account-albums
.aio-lk-main h2:has(+ .aio-lk-album-photo-grid),
html body.page-account-albums
.aio-lk-main h3:has(+ .aio-lk-album-photo-grid) {
    display: none !important;
}


/* =========================================================
   5. СЕТКА ФОТОГРАФИЙ — КАК У АВТОМОБИЛЯ
   ========================================================= */

html body.page-account-galleries .aio-lk-gallery-photo-grid,
html body.page-account-galleries .aio-lk-album-photo-grid,
html body.page-account-galleries .aio-lk-photos-grid,
html body.page-account-galleries .aio-lk-gallery-existing-grid,
html body.page-account-albums .aio-lk-gallery-photo-grid,
html body.page-account-albums .aio-lk-album-photo-grid,
html body.page-account-albums .aio-lk-photos-grid,
html body.page-account-albums .aio-lk-gallery-existing-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 20px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   6. КАРТОЧКА ФОТО — БЕЗ СКРУГЛЕНИЙ
   ========================================================= */

html body.page-account-galleries
.aio-lk-gallery-photo-grid > *,
html body.page-account-galleries
.aio-lk-album-photo-grid > *,
html body.page-account-galleries
.aio-lk-photos-grid > *,
html body.page-account-galleries
.aio-lk-gallery-existing-grid > *,
html body.page-account-albums
.aio-lk-gallery-photo-grid > *,
html body.page-account-albums
.aio-lk-album-photo-grid > *,
html body.page-account-albums
.aio-lk-photos-grid > *,
html body.page-account-albums
.aio-lk-gallery-existing-grid > * {
    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.62) !important;
    background-image: none !important;

    box-shadow: none !important;

    overflow: hidden !important;
}

html body.page-account-galleries
.aio-lk-gallery-photo-grid > * *,
html body.page-account-galleries
.aio-lk-album-photo-grid > * *,
html body.page-account-galleries
.aio-lk-photos-grid > * *,
html body.page-account-galleries
.aio-lk-gallery-existing-grid > * *,
html body.page-account-albums
.aio-lk-gallery-photo-grid > * *,
html body.page-account-albums
.aio-lk-album-photo-grid > * *,
html body.page-account-albums
.aio-lk-photos-grid > * *,
html body.page-account-albums
.aio-lk-gallery-existing-grid > * * {
    border-radius: 0 !important;
}


/* =========================================================
   7. ИЗОБРАЖЕНИЕ ФОТО — ПРЯМОУГОЛЬНОЕ 4:3
   ========================================================= */

html body.page-account-galleries
.aio-lk-gallery-photo-grid img,
html body.page-account-galleries
.aio-lk-album-photo-grid img,
html body.page-account-galleries
.aio-lk-photos-grid img,
html body.page-account-galleries
.aio-lk-gallery-existing-grid img,
html body.page-account-albums
.aio-lk-gallery-photo-grid img,
html body.page-account-albums
.aio-lk-album-photo-grid img,
html body.page-account-albums
.aio-lk-photos-grid img,
html body.page-account-albums
.aio-lk-gallery-existing-grid img {
    display: block !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;
    border-radius: 0 !important;

    opacity: 1 !important;

    filter:
        saturate(.84)
        contrast(.95)
        brightness(.96)
        sepia(.03) !important;
}


/* =========================================================
   8. ПОДПИСЬ «ОБЛОЖКА / ФОТО»
   ========================================================= */

html body.page-account-galleries
.aio-lk-gallery-photo-grid figcaption,
html body.page-account-galleries
.aio-lk-album-photo-grid figcaption,
html body.page-account-galleries
.aio-lk-photos-grid figcaption,
html body.page-account-galleries
.aio-lk-gallery-existing-grid figcaption,
html body.page-account-galleries
.aio-lk-photo-label,
html body.page-account-albums
.aio-lk-gallery-photo-grid figcaption,
html body.page-account-albums
.aio-lk-album-photo-grid figcaption,
html body.page-account-albums
.aio-lk-photos-grid figcaption,
html body.page-account-albums
.aio-lk-gallery-existing-grid figcaption,
html body.page-account-albums
.aio-lk-photo-label {
    display: block !important;

    min-height: 36px !important;

    margin: 0 !important;
    padding: 11px 12px 8px !important;

    border: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-align: center !important;
    text-transform: uppercase !important;

    color: rgba(169,67,43,.80) !important;
    -webkit-text-fill-color: rgba(169,67,43,.80) !important;
}


/* =========================================================
   9. ОБЛАСТЬ КНОПОК ПОД ФОТО
   ========================================================= */

html body.page-account-galleries
.aio-lk-photo-actions,
html body.page-account-galleries
.aio-lk-gallery-photo-actions,
html body.page-account-albums
.aio-lk-photo-actions,
html body.page-account-albums
.aio-lk-gallery-photo-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;

    gap: 8px !important;

    min-height: 55px !important;

    margin: 0 !important;
    padding: 7px 12px 14px !important;

    border: 0 !important;

    background: transparent !important;
}


/* =========================================================
   10. УБИРАЕМ СИНИЕ КВАДРАТЫ И ПЛАШКИ
   ========================================================= */

html body.page-account-galleries
.aio-lk-gallery-photo-grid form,
html body.page-account-galleries
.aio-lk-album-photo-grid form,
html body.page-account-galleries
.aio-lk-photos-grid form,
html body.page-account-galleries
.aio-lk-gallery-existing-grid form,
html body.page-account-albums
.aio-lk-gallery-photo-grid form,
html body.page-account-albums
.aio-lk-album-photo-grid form,
html body.page-account-albums
.aio-lk-photos-grid form,
html body.page-account-albums
.aio-lk-gallery-existing-grid form {
    display: inline-flex !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}

html body.page-account-galleries
.aio-lk-gallery-photo-grid button,
html body.page-account-galleries
.aio-lk-album-photo-grid button,
html body.page-account-galleries
.aio-lk-photos-grid button,
html body.page-account-galleries
.aio-lk-gallery-existing-grid button,
html body.page-account-albums
.aio-lk-gallery-photo-grid button,
html body.page-account-albums
.aio-lk-album-photo-grid button,
html body.page-account-albums
.aio-lk-photos-grid button,
html body.page-account-albums
.aio-lk-gallery-existing-grid button {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    border: 1px solid rgba(6,31,62,.17) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 7.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

html body.page-account-galleries
.aio-lk-gallery-photo-grid button:hover,
html body.page-account-galleries
.aio-lk-album-photo-grid button:hover,
html body.page-account-galleries
.aio-lk-photos-grid button:hover,
html body.page-account-galleries
.aio-lk-gallery-existing-grid button:hover,
html body.page-account-albums
.aio-lk-gallery-photo-grid button:hover,
html body.page-account-albums
.aio-lk-album-photo-grid button:hover,
html body.page-account-albums
.aio-lk-photos-grid button:hover,
html body.page-account-albums
.aio-lk-gallery-existing-grid button:hover {
    border-color: #A9432B !important;

    background: #A9432B !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}


/* =========================================================
   11. СТРАХОВКА ДЛЯ РЕАЛЬНЫХ КЛАССОВ КАРТОЧЕК
   ========================================================= */

html body.page-account-galleries
.aio-lk-main figure,
html body.page-account-albums
.aio-lk-main figure {
    border-radius: 0 !important;
}

html body.page-account-galleries
.aio-lk-main figure img,
html body.page-account-albums
.aio-lk-main figure img {
    border-radius: 0 !important;
}

html body.page-account-galleries
.aio-lk-main figure form,
html body.page-account-albums
.aio-lk-main figure form {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}


/* =========================================================
   12. АДАПТИВ
   ========================================================= */

@media (max-width: 980px) {
    html body.page-account-galleries
    .aio-lk-gallery-photo-grid,
    html body.page-account-galleries
    .aio-lk-album-photo-grid,
    html body.page-account-galleries
    .aio-lk-photos-grid,
    html body.page-account-galleries
    .aio-lk-gallery-existing-grid,
    html body.page-account-albums
    .aio-lk-gallery-photo-grid,
    html body.page-account-albums
    .aio-lk-album-photo-grid,
    html body.page-account-albums
    .aio-lk-photos-grid,
    html body.page-account-albums
    .aio-lk-gallery-existing-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    html body.page-account-galleries .aio-lk-page,
    html body.page-account-galleries .aio-account-section,
    html body.page-account-albums .aio-lk-page,
    html body.page-account-albums .aio-account-section {
        padding-top: 22px !important;
    }

    html body.page-account-galleries
    .aio-lk-gallery-photo-grid,
    html body.page-account-galleries
    .aio-lk-album-photo-grid,
    html body.page-account-galleries
    .aio-lk-photos-grid,
    html body.page-account-galleries
    .aio-lk-gallery-existing-grid,
    html body.page-account-albums
    .aio-lk-gallery-photo-grid,
    html body.page-account-albums
    .aio-lk-album-photo-grid,
    html body.page-account-albums
    .aio-lk-photos-grid,
    html body.page-account-albums
    .aio-lk-gallery-existing-grid {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_ACCOUNT_GALLERIES_FINAL_END */

/* AIO_ACCOUNT_GALLERY_REAL_PHOTO_CLASSES_START */

/*
 * Фотоальбомы в личном кабинете.
 * Буквальное сопоставление с блоком фотографий автомобиля.
 * Используются фактические классы account-galleries.htm.
 */

/* Внешняя карточка раздела фотографий */


html body.page-account-galleries
#album-photos.aio-lk-card_photos {
    box-sizing: border-box !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 0 22px !important;
    padding: 34px 36px 38px !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.68) !important;
    background-image: none !important;

    box-shadow: 0 14px 38px rgba(17,20,24,.03) !important;

    overflow: visible !important;
}

/* Заголовок: только красный кикер «ФОТОГРАФИИ» */

html body.page-account-galleries
#album-photos
.aio-lk-card__head {
    display: block !important;

    min-height: 0 !important;

    margin: 0 0 24px !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.page-account-galleries
#album-photos
.aio-lk-card__head > div {
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-galleries
#album-photos
.aio-lk-gallery-photos-kicker {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

/* Реальная сетка фотоальбома: три карточки */

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    align-items: start !important;
    gap: 20px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Реальная карточка фотографии */

html body.page-account-galleries
#album-photos
figure.aio-lk-photo-manager-card {
    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;
    align-self: start !important;

    width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.62) !important;
    background-image: none !important;

    box-shadow: none !important;

    overflow: hidden !important;
}

/* Убираем псевдоэлементы и старые декоративные оболочки */

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card::before,
html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card::after {
    content: none !important;
    display: none !important;
}

/* Контейнер изображения — ровно 4:3 */

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card__image {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;

    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #16191E !important;
    box-shadow: none !important;

    overflow: hidden !important;
}

/* Само изображение */

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card__image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    opacity: 1 !important;
    transform: none !important;

    filter:
        saturate(.88)
        contrast(.96)
        brightness(.96)
        sepia(.025) !important;

    transition: filter .22s ease !important;
}

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card:hover
.aio-lk-photo-manager-card__image img {
    filter:
        saturate(.98)
        contrast(.98)
        brightness(.98)
        sepia(.01) !important;

    transform: none !important;
}

/* Подпись — как у автомобиля */

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card figcaption {
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 34px !important;
    height: auto !important;

    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 12px 14px 7px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-align: center !important;
    text-transform: uppercase !important;

    color: rgba(17,20,24,.40) !important;
    -webkit-text-fill-color: rgba(17,20,24,.40) !important;
}

/* Компактная область действий */

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card
.aio-lk-photo-actions {
    box-sizing: border-box !important;

    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 55px !important;
    height: auto !important;

    flex: 0 0 auto !important;

    gap: 8px !important;

    margin: 0 !important;
    padding: 7px 12px 14px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}

/* Формы вокруг кнопок полностью прозрачны */

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card
.aio-lk-photo-actions form {
    box-sizing: border-box !important;

    display: inline-flex !important;

    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;

    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
    overflow: visible !important;
}

/* Кнопки — буквальная система автомобиля */

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card
.aio-lk-photo-actions button {
    appearance: none !important;
    -webkit-appearance: none !important;

    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    border: 1px solid rgba(6,31,62,.17) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 7.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    cursor: pointer !important;
    transform: none !important;
}

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card
.aio-lk-photo-actions button:hover,
html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card
.aio-lk-photo-actions button:focus-visible {
    border-color: #A9432B !important;

    background: #A9432B !important;
    background-image: none !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    box-shadow: none !important;
    transform: none !important;
}

/* Страховка от старых глобальных скруглений */

html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card,
html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card *,
html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card form,
html body.page-account-galleries
#album-photos
.aio-lk-photo-manager-card button {
    border-radius: 0 !important;
}

/* Технические подсказки и placeholder формы альбома */

html body.page-account-galleries
.aio-lk-album-form input::placeholder,
html body.page-account-galleries
.aio-lk-album-form textarea::placeholder {
    color: rgba(17,20,24,.22) !important;
    -webkit-text-fill-color: rgba(17,20,24,.22) !important;
    opacity: 1 !important;
}

html body.page-account-galleries
.aio-lk-album-form small,
html body.page-account-galleries
.aio-lk-album-form .aio-lk-muted,
html body.page-account-galleries
.aio-lk-album-form .aio-lk-help,
html body.page-account-galleries
.aio-lk-album-form .aio-lk-hint,
html body.page-account-galleries
.aio-lk-upload-box p,
html body.page-account-galleries
.aio-lk-upload-selected {
    color: rgba(17,20,24,.32) !important;
    -webkit-text-fill-color: rgba(17,20,24,.32) !important;
    opacity: 1 !important;
}

/* Планшет: две карточки */

@media (max-width: 980px) {
    html body.page-account-galleries
    #album-photos
    .aio-lk-photo-manager-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Мобильный: одна карточка */

@media (max-width: 760px) {
    html body.page-account-galleries
    #album-photos.aio-lk-card_photos {
        padding: 27px 20px 30px !important;
    }

    html body.page-account-galleries
    #album-photos
    .aio-lk-photo-manager-grid {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_ACCOUNT_GALLERY_REAL_PHOTO_CLASSES_END */

/* AIO_ACCOUNT_GALLERIES_HERO_SPACING_FINAL_START */

/*
 * Расстояние между hero и содержимым приводим
 * к страницам «Автомобили» и «Профиль участника».
 * Левое меню и правая колонка опускаются одновременно.
 */

html body.page-account-galleries
.aio-account-section,
html body.page-account-albums
.aio-account-section {
    margin-top: 0 !important;
    padding-top: 72px !important;
}

/* Планшет */

@media (max-width: 980px) {
    html body.page-account-galleries
    .aio-account-section,
    html body.page-account-albums
    .aio-account-section {
        padding-top: 48px !important;
    }
}

/* Телефон */

@media (max-width: 760px) {
    html body.page-account-galleries
    .aio-account-section,
    html body.page-account-albums
    .aio-account-section {
        padding-top: 30px !important;
    }
}

/* AIO_ACCOUNT_GALLERIES_HERO_SPACING_FINAL_END */

/* AIO_ACCOUNT_POSTS_EDITORIAL_REBUILD_START */

/* =========================================================
   1. HERO — КАК АВТОМОБИЛИ И ФОТОАЛЬБОМЫ
   ========================================================= */

html body.page-account-posts
.aio-lk-posts-hero {
    position: relative !important;

    padding-top: 32px !important;
    padding-bottom: 36px !important;

    min-height: 0 !important;

    overflow: hidden !important;
}

html body.page-account-posts
.aio-lk-posts-hero::before,
html body.page-account-posts
.aio-lk-posts-hero::after,
html body.page-account-posts
.aio-lk-posts-hero
.aio-events-museum-hero__inner::before,
html body.page-account-posts
.aio-lk-posts-hero
.aio-events-museum-hero__inner::after {
    content: none !important;
    display: none !important;
}

html body.page-account-posts
.aio-lk-posts-hero
.aio-events-museum-hero__inner {
    min-height: 100px !important;
    align-items: center !important;
}

html body.page-account-posts
.aio-lk-posts-hero__action {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-posts
.aio-lk-posts-hero
.aio-lk-public-link {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(248,245,239,.30) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-decoration: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-account-posts
.aio-lk-posts-hero
a.aio-lk-public-link:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

html body.page-account-posts
.aio-lk-posts-hero
.aio-lk-public-link_disabled {
    opacity: .46 !important;
    cursor: default !important;
}

/* Отступ от hero — как в автомобилях и фотоальбомах */

html body.page-account-posts
.aio-lk-page > .aio-container.aio-lk-layout {
    padding-top: 72px !important;
}

/* =========================================================
   2. СПИСОК ПУБЛИКАЦИЙ
   ========================================================= */

html body.page-account-posts
.aio-lk-posts-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 20px !important;

    margin: 0 0 34px !important;
    padding: 0 !important;
}

html body.page-account-posts
.aio-lk-post-card {
    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.62) !important;
    background-image: none !important;

    box-shadow: none !important;
}

html body.page-account-posts
.aio-lk-post-card__cover {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 0 !important;

    background: #16191E !important;

    overflow: hidden !important;
}

html body.page-account-posts
.aio-lk-post-card__cover::before,
html body.page-account-posts
.aio-lk-post-card__cover::after {
    content: none !important;
    display: none !important;
}

html body.page-account-posts
.aio-lk-post-card__cover img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 0 !important;

    filter:
        saturate(.88)
        contrast(.96)
        brightness(.96)
        sepia(.025) !important;

    transform: none !important;

    transition:
        filter .24s ease,
        transform .28s ease !important;
}

html body.page-account-posts
.aio-lk-post-card:hover
.aio-lk-post-card__cover img {
    filter:
        saturate(1)
        contrast(.99)
        brightness(1)
        sepia(.005) !important;

    transform: scale(1.018) !important;
}

html body.page-account-posts
.aio-lk-post-card__cover span {
    display: grid !important;
    place-items: center !important;

    width: 100% !important;
    height: 100% !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(22px, 2vw, 30px) !important;
    font-weight: 400 !important;

    color: rgba(248,245,239,.82) !important;
}

html body.page-account-posts
.aio-lk-post-card__body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;

    padding: 18px 20px 20px !important;

    background: transparent !important;
}

html body.page-account-posts
.aio-lk-post-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;

    gap: 6px 12px !important;

    margin: 0 0 12px !important;
}

html body.page-account-posts
.aio-lk-post-card__meta span {
    display: inline !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;

    color: rgba(169,67,43,.82) !important;
}

html body.page-account-posts
.aio-lk-post-card h3 {
    margin: 0 0 16px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(23px, 1.9vw, 30px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;

    color: #061F3E !important;
}

html body.page-account-posts
.aio-lk-post-card
.aio-lk-edit-link {
    align-self: flex-start !important;
    margin-top: auto !important;
}

/* =========================================================
   3. ЗАГОЛОВОК ФОРМЫ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form-head {
    margin: 0 0 32px !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

html body.page-account-posts
.aio-lk-post-form-head
.aio-lk-kicker {
    margin: 0 0 10px !important;
}

html body.page-account-posts
.aio-lk-post-form-head h2 {
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(32px, 2.8vw, 42px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;

    color: #061F3E !important;
}

/* =========================================================
   4. ФОРМА — ЕДИНЫЙ РЕДАКЦИОННЫЙ ПОТОК БЕЗ КОРОБОК
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form {
    display: flex !important;
    flex-direction: column !important;

    gap: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}

html body.page-account-posts
.aio-lk-post-section {
    box-sizing: border-box !important;

    width: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 34px 0 38px !important;

    border: 0 !important;
    border-top: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    overflow: visible !important;
}

html body.page-account-posts
.aio-lk-post-section:first-of-type {
    border-top: 0 !important;
    padding-top: 0 !important;
}

html body.page-account-posts
.aio-lk-post-section h3 {
    margin: 0 0 25px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(27px, 2.25vw, 35px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;

    color: #061F3E !important;
}

/* =========================================================
   5. ПОЛЯ — ОДИН РИТМ И ОДИН УРОВЕНЬ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form
.aio-lk-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    align-items: start !important;

    row-gap: 24px !important;
    column-gap: 24px !important;

    margin: 0 !important;
}

html body.page-account-posts
.aio-lk-post-form
.aio-lk-fields > label,
html body.page-account-posts
.aio-lk-post-form
.aio-lk-post-editor-field {
    display: flex !important;
    flex-direction: column !important;
    align-self: start !important;

    gap: 8px !important;

    min-width: 0 !important;

    margin: 0 !important;
}

html body.page-account-posts
.aio-lk-post-form
.aio-lk-fields__full {
    grid-column: 1 / -1 !important;
}

html body.page-account-posts
.aio-lk-post-form
label > span,
html body.page-account-posts
.aio-lk-post-editor-field > span {
    min-height: 14px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: rgba(169,67,43,.82) !important;
}

html body.page-account-posts
.aio-lk-post-form
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body.page-account-posts
.aio-lk-post-form select {
    box-sizing: border-box !important;

    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 0 14px !important;

    border: 1px solid rgba(6,31,62,.14) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.68) !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;

    color: #061F3E !important;
}

html body.page-account-posts
.aio-lk-post-form textarea {
    box-sizing: border-box !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 13px 14px !important;

    border: 1px solid rgba(6,31,62,.14) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.68) !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.55 !important;

    color: #061F3E !important;

    resize: vertical !important;
}

html body.page-account-posts
.aio-lk-post-form textarea[name="excerpt"] {
    min-height: 86px !important;
    height: 86px !important;
}

/* =========================================================
   6. ТЕХНИЧЕСКИЕ ПОДСКАЗКИ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form input::placeholder,
html body.page-account-posts
.aio-lk-post-form textarea::placeholder {
    color: rgba(17,20,24,.22) !important;
    -webkit-text-fill-color: rgba(17,20,24,.22) !important;

    opacity: 1 !important;
}

html body.page-account-posts
.aio-lk-post-form small,
html body.page-account-posts
.aio-lk-post-form .aio-lk-muted,
html body.page-account-posts
.aio-lk-post-section p,
html body.page-account-posts
[data-upload-selected] {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    color: rgba(17,20,24,.34) !important;
    -webkit-text-fill-color: rgba(17,20,24,.34) !important;

    opacity: 1 !important;
}

/* =========================================================
   7. РЕДАКТОР
   ========================================================= */

html body.page-account-posts
.aio-native-editor-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;

    gap: 7px !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

html body.page-account-posts
.aio-native-editor-toolbar button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 32px !important;

    margin: 0 !important;
    padding: 0 11px !important;

    border: 1px solid rgba(6,31,62,.14) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 7.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;
}

html body.page-account-posts
.aio-native-editor-toolbar button:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
}

html body.page-account-posts
.aio-native-post-editor {
    box-sizing: border-box !important;

    width: 100% !important;
    min-height: 330px !important;

    margin: 0 !important;
    padding: 24px 26px !important;

    border: 1px solid rgba(6,31,62,.14) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.72) !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 15px !important;
    line-height: 1.72 !important;

    color: #111418 !important;

    outline: none !important;
}

html body.page-account-posts
.aio-native-post-editor:focus {
    border-color: rgba(169,67,43,.45) !important;
}

html body.page-account-posts
.aio-native-post-editor[data-placeholder]:empty::before {
    content: attr(data-placeholder) !important;

    color: rgba(17,20,24,.22) !important;

    pointer-events: none !important;
}

/* =========================================================
   8. ЗАГРУЗКА ФОТО — БЕЗ ВНЕШНИХ КОРОБОК
   ========================================================= */

html body.page-account-posts
.aio-lk-post-section_cover {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;

    gap: 30px !important;
    align-items: center !important;
}

html body.page-account-posts
.aio-lk-post-section_cover
.aio-lk-photo-preview {
    width: 220px !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;

    margin: 0 !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: #16191E !important;

    overflow: hidden !important;
}

html body.page-account-posts
.aio-lk-post-section_cover
.aio-lk-photo-preview img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;

    border-radius: 0 !important;

    filter:
        saturate(.88)
        contrast(.96)
        brightness(.96)
        sepia(.025) !important;
}

html body.page-account-posts
.aio-lk-post-form input[type="file"] {
    width: 100% !important;

    margin: 10px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;

    color: rgba(17,20,24,.42) !important;
}

html body.page-account-posts
.aio-lk-post-form
input[type="file"]::file-selector-button,
html body.page-account-posts
.aio-lk-post-form
input[type="file"]::-webkit-file-upload-button {
    min-height: 36px !important;

    margin: 0 12px 0 0 !important;
    padding: 0 14px !important;

    border: 1px solid rgba(6,31,62,.17) !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;

    cursor: pointer !important;
}

html body.page-account-posts
.aio-lk-post-form
input[type="file"]::file-selector-button:hover,
html body.page-account-posts
.aio-lk-post-form
input[type="file"]::-webkit-file-upload-button:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
}

/* =========================================================
   9. ПУБЛИЧНОСТЬ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-section_publicity
.aio-lk-check {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;

    align-items: start !important;
    gap: 12px !important;

    margin: 0 0 13px !important;
}

html body.page-account-posts
.aio-lk-post-section_publicity
.aio-lk-check input {
    width: 16px !important;
    height: 16px !important;

    margin: 2px 0 0 !important;
}

html body.page-account-posts
.aio-lk-post-section_publicity
.aio-lk-check span {
    min-height: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: #061F3E !important;
}

/* =========================================================
   10. МЕДИА УЖЕ СОХРАНЁННОЙ ПУБЛИКАЦИИ
   ========================================================= */

html body.page-account-posts
#post-media.aio-lk-card_photos {
    margin: 0 0 34px !important;
    padding: 34px 36px 38px !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.68) !important;
    background-image: none !important;

    box-shadow: 0 14px 38px rgba(17,20,24,.03) !important;
}

html body.page-account-posts
#post-media
.aio-lk-photo-manager-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    gap: 20px !important;
}

html body.page-account-posts
#post-media
.aio-lk-photo-manager-card {
    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.62) !important;

    box-shadow: none !important;

    overflow: hidden !important;
}

html body.page-account-posts
#post-media
.aio-lk-photo-manager-card__image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;

    overflow: hidden !important;
}

html body.page-account-posts
#post-media
.aio-lk-photo-manager-card__image img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 0 !important;

    filter:
        saturate(.88)
        contrast(.96)
        brightness(.96)
        sepia(.025) !important;
}

html body.page-account-posts
#post-media
.aio-lk-photo-manager-card figcaption {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 34px !important;

    margin: 0 !important;
    padding: 12px 14px 7px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-align: center !important;
    text-transform: uppercase !important;

    color: rgba(17,20,24,.40) !important;
}

html body.page-account-posts
#post-media
.aio-lk-photo-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;

    gap: 8px !important;

    min-height: 55px !important;

    margin: 0 !important;
    padding: 7px 12px 14px !important;

    background: transparent !important;
}

html body.page-account-posts
#post-media
.aio-lk-photo-actions form {
    display: inline-flex !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.page-account-posts
#post-media
.aio-lk-photo-actions button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    border: 1px solid rgba(6,31,62,.17) !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 7.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;
}

html body.page-account-posts
#post-media
.aio-lk-photo-actions button:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
}

/* =========================================================
   11. ЗОНА УДАЛЕНИЯ И ПРИМЕЧАНИЕ
   ========================================================= */

html body.page-account-posts
.aio-lk-danger-zone {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 24px !important;

    margin: 24px 0 0 !important;
    padding: 24px 0 0 !important;

    border: 0 !important;
    border-top: 1px solid rgba(169,67,43,.18) !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}

html body.page-account-posts
.aio-lk-danger-button {
    min-height: 36px !important;
    padding: 0 15px !important;

    border: 1px solid rgba(169,67,43,.34) !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
}

html body.page-account-posts
.aio-lk-danger-button:hover {
    background: #A9432B !important;
    color: #FFFFFF !important;
}

html body.page-account-posts
.aio-account-note {
    margin: 34px 0 0 !important;
    padding: 24px 0 !important;

    border: 0 !important;
    border-top: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

/* Все кнопки и визуальные элементы прямоугольные */

html body.page-account-posts
.aio-lk-main button,
html body.page-account-posts
.aio-lk-main input,
html body.page-account-posts
.aio-lk-main select,
html body.page-account-posts
.aio-lk-main textarea,
html body.page-account-posts
.aio-lk-main figure,
html body.page-account-posts
.aio-lk-main .aio-lk-card {
    border-radius: 0 !important;
}

/* =========================================================
   12. АДАПТИВ
   ========================================================= */

@media (max-width: 980px) {
    html body.page-account-posts
    .aio-lk-page > .aio-container.aio-lk-layout {
        padding-top: 48px !important;
    }

    html body.page-account-posts
    .aio-lk-posts-list {
        grid-template-columns: 1fr !important;
    }

    html body.page-account-posts
    #post-media
    .aio-lk-photo-manager-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    html body.page-account-posts
    .aio-lk-posts-hero__action {
        justify-content: flex-start !important;
    }

    html body.page-account-posts
    .aio-lk-page > .aio-container.aio-lk-layout {
        padding-top: 30px !important;
    }

    html body.page-account-posts
    .aio-lk-post-form
    .aio-lk-fields {
        grid-template-columns: 1fr !important;
    }

    html body.page-account-posts
    .aio-lk-post-section_cover {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    html body.page-account-posts
    .aio-lk-post-section_cover
    .aio-lk-photo-preview {
        width: 100% !important;
    }

    html body.page-account-posts
    #post-media {
        padding: 27px 20px 30px !important;
    }

    html body.page-account-posts
    #post-media
    .aio-lk-photo-manager-grid {
        grid-template-columns: 1fr !important;
    }

    html body.page-account-posts
    .aio-lk-danger-zone {
        display: grid !important;
    }
}

/* AIO_ACCOUNT_POSTS_EDITORIAL_REBUILD_END */


/* AIO_ACCOUNT_POSTS_CLEAN_CORRECTION_START */

/* =========================================================
   ОБЩИЙ ФОН — БЕЗ ЖЁЛТОЙ ПОДЛОЖКИ
   ========================================================= */

html body.page-account-posts,
html body.page-account-posts .aio-main,
html body.page-account-posts main,
html body.page-account-posts .aio-lk-page {
    background: #F8F5EF !important;
    background-image: none !important;
}

html body.page-account-posts
.aio-lk-page > .aio-container.aio-lk-layout {
    background: transparent !important;
}

/* =========================================================
   ФОРМА — ОДНА БЕЛАЯ ПРЯМОУГОЛЬНАЯ ПЛОСКОСТЬ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form {
    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 38px 40px 42px !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.78) !important;
    background-image: none !important;

    box-shadow: 0 14px 38px rgba(17,20,24,.035) !important;
}

/* Никаких отдельных жёлтых коробок внутри формы */

html body.page-account-posts
.aio-lk-post-form
.aio-lk-post-section {
    width: 100% !important;

    margin: 0 !important;
    padding: 30px 0 34px !important;

    border: 0 !important;
    border-top: 1px solid rgba(45,45,45,.085) !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}

html body.page-account-posts
.aio-lk-post-form
.aio-lk-post-section_basic {
    padding-top: 0 !important;
    border-top: 0 !important;
}

/* =========================================================
   ЗАГОЛОВОК ФОРМЫ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form-head {
    margin: 0 0 28px !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

html body.page-account-posts
.aio-lk-post-form-head
.aio-lk-kicker {
    display: none !important;
}

html body.page-account-posts
.aio-lk-post-form-head h2 {
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(36px, 3.3vw, 48px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;

    color: #061F3E !important;
}

/* =========================================================
   ПОЛЯ — ПОДПИСИ БЛИЖЕ К ПОЛЯМ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form
.aio-lk-fields {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    align-items: start !important;

    column-gap: 24px !important;
    row-gap: 20px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-posts
.aio-lk-post-form
.aio-lk-fields > label,
html body.page-account-posts
.aio-lk-post-form
.aio-lk-post-editor-field {
    display: flex !important;
    flex-direction: column !important;

    gap: 5px !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-posts
.aio-lk-post-form label > span,
html body.page-account-posts
.aio-lk-post-editor-field > span {
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: rgba(17,20,24,.52) !important;
}

/* Поля прямоугольные */

html body.page-account-posts
.aio-lk-post-form
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body.page-account-posts
.aio-lk-post-form select,
html body.page-account-posts
.aio-lk-post-form textarea {
    border-radius: 0 !important;
    background: rgba(255,255,255,.72) !important;
    box-shadow: none !important;
}

/* =========================================================
   ЗАГОЛОВКИ СЕКЦИЙ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-section h3 {
    margin: 0 0 16px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(28px, 2.3vw, 36px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;

    color: #061F3E !important;
}

/* =========================================================
   РЕДАКТОР
   ========================================================= */

html body.page-account-posts
.aio-lk-post-editor-help {
    margin: -2px 0 15px !important;

    max-width: 760px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.38) !important;
    -webkit-text-fill-color: rgba(17,20,24,.38) !important;
}

html body.page-account-posts
.aio-native-editor-toolbar {
    margin: 0 0 9px !important;
    padding: 0 !important;

    background: transparent !important;
}

html body.page-account-posts
.aio-native-editor-toolbar button {
    border-radius: 0 !important;
}

html body.page-account-posts
.aio-native-post-editor {
    box-sizing: border-box !important;

    display: block !important;

    width: 100% !important;

    min-height: 300px !important;
    height: 360px !important;
    max-height: 900px !important;

    padding: 22px 24px !important;

    border: 1px solid rgba(6,31,62,.14) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.76) !important;

    overflow: auto !important;
    resize: vertical !important;

    box-shadow: none !important;
}

/* =========================================================
   ПУБЛИЧНОСТЬ — ТЕКСТ СРАЗУ РЯДОМ С ЧЕКБОКСОМ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-section_publicity
.aio-lk-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    gap: 10px !important;

    width: 100% !important;

    margin: 0 0 9px !important;
    padding: 0 !important;
}

html body.page-account-posts
.aio-lk-post-section_publicity
.aio-lk-check input[type="checkbox"] {
    flex: 0 0 16px !important;

    width: 16px !important;
    height: 16px !important;

    margin: 0 !important;
}

html body.page-account-posts
.aio-lk-post-section_publicity
.aio-lk-check span {
    display: inline !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: #061F3E !important;
}

/* =========================================================
   ПОДСКАЗКИ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form input::placeholder,
html body.page-account-posts
.aio-lk-post-form textarea::placeholder {
    color: rgba(17,20,24,.20) !important;
    -webkit-text-fill-color: rgba(17,20,24,.20) !important;
    opacity: 1 !important;
}

html body.page-account-posts
.aio-lk-post-form small,
html body.page-account-posts
.aio-lk-post-form .aio-lk-muted,
html body.page-account-posts
.aio-lk-post-section p:not(.aio-lk-post-editor-help) {
    color: rgba(17,20,24,.34) !important;
    -webkit-text-fill-color: rgba(17,20,24,.34) !important;
}

/* =========================================================
   КНОПКИ И ВСЕ ЭЛЕМЕНТЫ — БЕЗ СКРУГЛЕНИЙ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form button,
html body.page-account-posts
.aio-lk-post-form input,
html body.page-account-posts
.aio-lk-post-form select,
html body.page-account-posts
.aio-lk-post-form textarea,
html body.page-account-posts
.aio-lk-post-form section,
html body.page-account-posts
.aio-lk-post-form figure {
    border-radius: 0 !important;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 760px) {
    html body.page-account-posts
    .aio-lk-post-form {
        padding: 30px 20px 34px !important;
    }

    html body.page-account-posts
    .aio-lk-post-form
    .aio-lk-fields {
        grid-template-columns: 1fr !important;
    }

    html body.page-account-posts
    .aio-native-post-editor {
        min-height: 260px !important;
        height: 320px !important;
    }
}

/* AIO_ACCOUNT_POSTS_CLEAN_CORRECTION_END */


/* AIO_ACCOUNT_POSTS_TYPOGRAPHY_UNIFICATION_START */

/* =========================================================
   HERO — ТОЧНО ТА ЖЕ ШКАЛА, ЧТО В АВТОМОБИЛЯХ
   И ФОТОАЛЬБОМАХ
   ========================================================= */

html body.page-account-posts
.aio-lk-posts-hero,
html body.page-account-posts
.aio-events-museum-hero.aio-lk-posts-hero {
    min-height: 0 !important;

    padding-top: 36px !important;
    padding-bottom: 40px !important;
}

html body.page-account-posts
.aio-lk-posts-hero
.aio-events-museum-hero__inner,
html body.page-account-posts
.aio-lk-posts-hero
.aio-lk-hero__inner {
    min-height: 100px !important;

    align-items: center !important;
}

/* Маленький общий кикер личного кабинета */

html body.page-account-posts
.aio-lk-posts-hero
.aio-events-kicker,
html body.page-account-posts
.aio-lk-posts-hero
.aio-events-kicker_light {
    margin: 0 0 9px !important;

    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.66) !important;
    -webkit-text-fill-color: rgba(248,245,239,.66) !important;
}

/* Заголовок hero — не крупнее автомобилей и фотоальбомов */

html body.page-account-posts
.aio-lk-posts-hero h1 {
    margin: 0 !important;

    max-width: none !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(42px, 4.2vw, 58px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

/* =========================================================
   ГЛАВНЫЙ ЗАГОЛОВОК ФОРМЫ
   Как «Добавить фотоальбом»
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form-head h2 {
    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(36px, 3.1vw, 46px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* =========================================================
   ВСЕ НАЗВАНИЯ РАЗДЕЛОВ ФОРМЫ — ОДИН ШРИФТ
   И ОДИН РАЗМЕР
   ========================================================= */

html body.page-account-posts
.aio-lk-post-section > h3,
html body.page-account-posts
.aio-lk-post-section_editor > h3,
html body.page-account-posts
.aio-lk-post-section_cover > div > h3,
html body.page-account-posts
.aio-lk-post-section_cover h3,
html body.page-account-posts
.aio-lk-post-section_images > h3,
html body.page-account-posts
.aio-lk-post-section_source > h3,
html body.page-account-posts
.aio-lk-post-section_publicity > h3 {
    margin: 0 0 16px !important;

    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(28px, 2.2vw, 34px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/*
 * Страховка от старых локальных правил,
 * которые задавали отдельные размеры конкретным секциям.
 */

html body.page-account-posts
.aio-lk-card_photo h3,
html body.page-account-posts
.aio-lk-card_editor h3,
html body.page-account-posts
.aio-lk-post-section_images h3,
html body.page-account-posts
.aio-lk-post-section_source h3,
html body.page-account-posts
.aio-lk-post-section_publicity h3 {
    font:
        400 clamp(28px, 2.2vw, 34px) / .98
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    letter-spacing: -.015em !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* =========================================================
   ВСЕ ТЕХНИЧЕСКИЕ НАЗВАНИЯ — MONTSERRAT
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form label > span,
html body.page-account-posts
.aio-lk-post-editor-field > span,
html body.page-account-posts
.aio-native-editor-toolbar button,
html body.page-account-posts
.aio-lk-post-actions button,
html body.page-account-posts
.aio-lk-post-actions a,
html body.page-account-posts
.aio-lk-photo-actions button,
html body.page-account-posts
.aio-lk-danger-button,
html body.page-account-posts
.aio-lk-edit-link {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
}

/* Подписи полей — один размер и одно начертание */

html body.page-account-posts
.aio-lk-post-form label > span,
html body.page-account-posts
.aio-lk-post-editor-field > span {
    margin: 0 !important;

    padding: 0 !important;

    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: rgba(17,20,24,.52) !important;
    -webkit-text-fill-color: rgba(17,20,24,.52) !important;
}

/* =========================================================
   ПОДСКАЗКИ И ОПИСАНИЯ — ОДИН MONTSERRAT
   ========================================================= */

html body.page-account-posts
.aio-lk-post-editor-help,
html body.page-account-posts
.aio-lk-post-section p,
html body.page-account-posts
.aio-lk-post-form small,
html body.page-account-posts
.aio-lk-post-form .aio-lk-muted,
html body.page-account-posts
[data-upload-selected] {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10.5px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: rgba(17,20,24,.34) !important;
    -webkit-text-fill-color: rgba(17,20,24,.34) !important;
}

/* =========================================================
   ПОЛЯ И РЕДАКТОР — ТОЖЕ ЕДИНЫЙ MONTSERRAT
   ========================================================= */

html body.page-account-posts
.aio-lk-post-form input,
html body.page-account-posts
.aio-lk-post-form select,
html body.page-account-posts
.aio-lk-post-form textarea,
html body.page-account-posts
.aio-native-post-editor {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
}

/* =========================================================
   ПУБЛИЧНОСТЬ
   ========================================================= */

html body.page-account-posts
.aio-lk-post-section_publicity
.aio-lk-check span {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* =========================================================
   МОБИЛЬНАЯ ШКАЛА
   ========================================================= */

@media (max-width: 760px) {
    html body.page-account-posts
    .aio-lk-posts-hero h1 {
        font-size: clamp(38px, 11vw, 48px) !important;
    }

    html body.page-account-posts
    .aio-lk-post-form-head h2 {
        font-size: clamp(32px, 9vw, 40px) !important;
    }

    html body.page-account-posts
    .aio-lk-post-section > h3,
    html body.page-account-posts
    .aio-lk-post-section_cover h3,
    html body.page-account-posts
    .aio-lk-card_photo h3,
    html body.page-account-posts
    .aio-lk-card_editor h3 {
        font-size: clamp(26px, 7.5vw, 31px) !important;
    }
}

/* AIO_ACCOUNT_POSTS_TYPOGRAPHY_UNIFICATION_END */

/* AIO_ACCOUNT_SETTINGS_FINAL_CLEAN_START */

/*
 * Страница «Публичность».
 *
 * Hero здесь намеренно не переопределяется.
 * Он получает общий эталонный стиль личного кабинета
 * из AIO_LK_REAL_UNIFIED_HERO.
 */

/* =========================================================
   ОБЩИЙ ФОН
   ========================================================= */

html body.page-account-settings,
html body.page-account-settings main,
html body.page-account-settings .aio-main,
html body.page-account-settings .aio-lk-page {
    background: #F8F5EF !important;
    background-image: none !important;
}

html body.page-account-settings
.aio-lk-page > .aio-container.aio-lk-layout {
    background: transparent !important;
}

/* =========================================================
   ОСНОВНАЯ БЕЛАЯ ПЛОСКОСТЬ
   ========================================================= */

html body.page-account-settings
.aio-lk-form {
    box-sizing: border-box !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 38px 40px 40px !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.78) !important;
    background-image: none !important;

    box-shadow:
        0 14px 38px rgba(17,20,24,.035) !important;
}

/* =========================================================
   ЗАГОЛОВОК И ВВОДНЫЙ ТЕКСТ
   ========================================================= */

html body.page-account-settings
.aio-lk-settings-head {
    margin: 0 0 28px !important;
    padding: 0 0 25px !important;

    border: 0 !important;
    border-bottom:
        1px solid rgba(45,45,45,.09) !important;

    background: transparent !important;
}

html body.page-account-settings
.aio-lk-settings-head h2 {
    margin: 0 0 14px !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size:
        clamp(36px, 3.1vw, 46px) !important;

    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;

    color: #061F3E !important;
}

html body.page-account-settings
.aio-lk-settings-intro {
    display: block !important;

    max-width: 820px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(17,20,24,.58) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.58) !important;
}

/* =========================================================
   ВНУТРЕННЯЯ СЕКЦИЯ — БЕЗ ВЛОЖЕННОЙ КОРОБКИ
   ========================================================= */

html body.page-account-settings
.aio-lk-settings-card {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}

html body.page-account-settings
.aio-lk-settings-card::before,
html body.page-account-settings
.aio-lk-settings-card::after {
    content: none !important;
    display: none !important;
}

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

html body.page-account-settings
.aio-lk-switch-list {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}

/*
 * Вся строка кликабельна.
 * Квадрат и название стоят на одной верхней линии.
 */

html body.page-account-settings
label.aio-lk-switch {
    box-sizing: border-box !important;

    display: grid !important;

    grid-template-columns:
        22px
        minmax(0, 1fr) !important;

    align-items: start !important;
    gap: 13px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 20px 12px !important;

    border: 0 !important;
    border-top:
        1px solid rgba(45,45,45,.09) !important;

    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    cursor: pointer !important;

    transition:
        background-color .18s ease !important;
}

html body.page-account-settings
label.aio-lk-switch:first-child {
    border-top: 0 !important;
}

html body.page-account-settings
label.aio-lk-switch:hover {
    background:
        rgba(6,31,62,.025) !important;
}

/* =========================================================
   ПОНЯТНЫЙ КВАДРАТНЫЙ CHECKBOX
   ========================================================= */

html body.page-account-settings
label.aio-lk-switch
input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;

    position: relative !important;

    box-sizing: border-box !important;

    display: block !important;

    width: 19px !important;
    min-width: 19px !important;
    height: 19px !important;
    min-height: 19px !important;

    margin: 1px 0 0 !important;
    padding: 0 !important;

    border:
        1.5px solid rgba(6,31,62,.55) !important;

    border-radius: 0 !important;

    background: #FFFFFF !important;
    background-image: none !important;

    box-shadow:
        inset 0 0 0 2px rgba(255,255,255,.85) !important;

    cursor: pointer !important;

    transition:
        border-color .16s ease,
        background-color .16s ease !important;
}

html body.page-account-settings
label.aio-lk-switch:hover
input[type="checkbox"] {
    border-color: #A9432B !important;
}

html body.page-account-settings
label.aio-lk-switch
input[type="checkbox"]:checked {
    border-color: #061F3E !important;
    background: #061F3E !important;
}

html body.page-account-settings
label.aio-lk-switch
input[type="checkbox"]:checked::after {
    content: "✓" !important;

    position: absolute !important;
    inset: 0 !important;

    display: grid !important;
    place-items: center !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    color: #FFFFFF !important;
}

html body.page-account-settings
label.aio-lk-switch
input[type="checkbox"]:focus-visible {
    outline:
        2px solid rgba(169,67,43,.42) !important;

    outline-offset: 3px !important;
}

/* =========================================================
   ТЕКСТ НАСТРОЙКИ
   ========================================================= */

html body.page-account-settings
label.aio-lk-switch > span {
    display: block !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-settings
label.aio-lk-switch strong {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12.5px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* Пояснение под названием */

html body.page-account-settings
label.aio-lk-switch em {
    display: block !important;

    max-width: 820px !important;

    margin: 5px 0 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10.5px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: rgba(17,20,24,.43) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.43) !important;
}

/* =========================================================
   КНОПКА СОХРАНЕНИЯ
   ========================================================= */

html body.page-account-settings
.aio-lk-actions {
    display: flex !important;
    align-items: center !important;

    margin: 30px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;
}

html body.page-account-settings
.aio-lk-actions form {
    display: inline-flex !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

html body.page-account-settings
.aio-lk-actions button,
html body.page-account-settings
button[type="submit"] {
    appearance: none !important;
    -webkit-appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 20px !important;

    border: 1px solid #061F3E !important;
    border-radius: 0 !important;

    background: #061F3E !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    cursor: pointer !important;
}

html body.page-account-settings
.aio-lk-actions button:hover,
html body.page-account-settings
button[type="submit"]:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Все элементы прямоугольные */

html body.page-account-settings
.aio-lk-main form,
html body.page-account-settings
.aio-lk-main section,
html body.page-account-settings
.aio-lk-main button,
html body.page-account-settings
.aio-lk-main input {
    border-radius: 0 !important;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 760px) {
    html body.page-account-settings
    .aio-lk-form {
        padding:
            30px 20px 34px !important;
    }

    html body.page-account-settings
    label.aio-lk-switch {
        grid-template-columns:
            21px
            minmax(0, 1fr) !important;

        gap: 11px !important;

        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}

/* AIO_ACCOUNT_SETTINGS_FINAL_CLEAN_END */

/* AIO_ACCOUNT_COMMON_HERO_START */

/*
 * Единый hero личного кабинета.
 * Разметка:
 * themes/aio/partials/account/hero.htm
 */

.aio-account-common-hero {
    position: relative !important;
    isolation: isolate !important;

    box-sizing: border-box !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 34px 0 40px !important;

    border: 0 !important;
    border-bottom:
        1px solid rgba(242,227,207,.14) !important;

    border-radius: 0 !important;

    background:
        radial-gradient(
            circle at 78% 22%,
            rgba(169,67,43,.14),
            transparent 22rem
        ),
        linear-gradient(
            135deg,
            #121416 0%,
            #191A1D 56%,
            #2A2224 100%
        ) !important;

    color: #F8F5EF !important;

    overflow: hidden !important;
}

.aio-account-common-hero::before,
.aio-account-common-hero::after {
    content: none !important;
    display: none !important;
}

/*
 * Используем ровно тот же контейнер,
 * что и основной контент личного кабинета.
 */

.aio-account-common-hero > .aio-container {
    position: relative !important;
    z-index: 2 !important;

    box-sizing: border-box !important;
}

/* Общая сетка */

.aio-account-common-hero__inner {
    box-sizing: border-box !important;

    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        auto !important;

    align-items: center !important;
    gap: 36px !important;

    width: 100% !important;
    height: auto !important;
    min-height: 88px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.aio-account-common-hero__title {
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Единый кикер */

.aio-account-common-hero__kicker {
    display: block !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #E5B9A7 !important;
    -webkit-text-fill-color: #E5B9A7 !important;

    opacity: 1 !important;
}

/* Единый заголовок */

.aio-account-common-hero h1 {
    display: block !important;

    width: auto !important;
    max-width: 720px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size:
        clamp(42px, 3.7vw, 54px) !important;

    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Правая область */

.aio-account-common-hero__action {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Кнопка */

.aio-account-common-hero__link {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;

    height: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    border:
        1px solid rgba(248,245,239,.30) !important;

    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    transition:
        border-color .18s ease,
        background-color .18s ease,
        color .18s ease !important;
}

a.aio-account-common-hero__link:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

.aio-account-common-hero__link_disabled {
    opacity: .46 !important;
    cursor: default !important;
}

/* Планшет */

@media (max-width: 980px) {
    .aio-account-common-hero__inner {
        grid-template-columns:
            minmax(0, 1fr)
            auto !important;

        gap: 24px !important;
    }
}

/* Телефон */

@media (max-width: 680px) {
    .aio-account-common-hero {
        padding: 29px 0 34px !important;
    }

    .aio-account-common-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .aio-account-common-hero h1 {
        font-size:
            clamp(36px, 10vw, 44px) !important;
    }

    .aio-account-common-hero__action {
        justify-content: flex-start !important;
    }
}

/* AIO_ACCOUNT_COMMON_HERO_END */

/* AIO_LEGAL_DOCUMENTS_PUBLIC_START */

/* =========================================================
   1. HERO — СТАНДАРТНЫЙ HERO САЙТА
   ========================================================= */

html body .aio-legal-document-hero {
    margin: 0 !important;
    border-radius: 0 !important;
}

html body
.aio-legal-document-hero
.aio-events-museum-hero__inner {
    align-items: center !important;
}

html body
.aio-legal-document-hero__title {
    min-width: 0 !important;
}

html body
.aio-legal-document-hero h1 {
    max-width: 780px !important;
    text-wrap: balance !important;
}

html body
.aio-legal-document-hero__meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    gap: 18px !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body
.aio-legal-document-hero__meta > p {
    max-width: 560px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;

    color: rgba(248,245,239,.72) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.72) !important;
}

html body
.aio-legal-document-hero__date {
    font-size: 9px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.47) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.47) !important;
}


/* =========================================================
   2. ОБЩАЯ СТРАНИЦА
   ========================================================= */

html body
.aio-legal-document-page {
    margin: 0 !important;
    padding: clamp(46px, 5.4vw, 76px) 0 92px !important;

    background:
        radial-gradient(
            circle at 84% 4%,
            rgba(169,67,43,.045),
            transparent 29rem
        ),
        linear-gradient(
            180deg,
            #FBFAF7 0%,
            #F8F5EF 100%
        ) !important;
}

html body
.aio-legal-document-layout {
    display: grid !important;

    grid-template-columns:
        minmax(230px, 292px)
        minmax(0, 1fr) !important;

    align-items: start !important;
    gap: clamp(42px, 5.7vw, 86px) !important;

    max-width: 1220px !important;

    margin: 0 auto !important;
    padding: 0 !important;
}

html body
.aio-legal-document-layout_without-toc {
    grid-template-columns: minmax(0, 900px) !important;
    justify-content: center !important;
}


/* =========================================================
   3. СОДЕРЖАНИЕ СЛЕВА
   ========================================================= */

html body
.aio-legal-document-toc {
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

html body
.aio-legal-document-toc__inner {
    position: sticky !important;
    top: 118px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body
.aio-legal-document-toc
.aio-events-kicker {
    margin: 0 0 22px !important;
}

html body
.aio-legal-document-toc nav {
    display: flex !important;
    flex-direction: column !important;

    margin: 0 !important;
    padding: 0 !important;

    border-top:
        1px solid
        rgba(45,45,45,.095) !important;
}

html body
.aio-legal-document-toc nav a {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;

    align-items: start !important;
    gap: 12px !important;

    min-height: 54px !important;

    margin: 0 !important;
    padding: 15px 0 !important;

    border: 0 !important;
    border-bottom:
        1px solid
        rgba(45,45,45,.085) !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10.5px !important;
    line-height: 1.48 !important;
    font-weight: 600 !important;
    letter-spacing: .015em !important;
    text-transform: none !important;
    text-decoration: none !important;

    color: rgba(6,31,62,.72) !important;
    -webkit-text-fill-color:
        rgba(6,31,62,.72) !important;
}

html body
.aio-legal-document-toc nav a > span {
    padding-top: 1px !important;

    font-size: 8px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;

    color: rgba(169,67,43,.67) !important;
    -webkit-text-fill-color:
        rgba(169,67,43,.67) !important;
}

html body
.aio-legal-document-toc nav a:hover {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}


/* =========================================================
   4. ТЕКСТ СПРАВА
   ========================================================= */

html body
.aio-legal-document-content {
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

html body
.aio-legal-document-edition {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 28px !important;

    margin: 0 0 42px !important;
    padding: 0 0 22px !important;

    border: 0 !important;
    border-bottom:
        1px solid
        rgba(45,45,45,.095) !important;

    background: transparent !important;
}

html body
.aio-legal-document-edition p {
    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;

    color: rgba(17,20,24,.42) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.42) !important;
}


/* =========================================================
   5. РАЗДЕЛ ДОКУМЕНТА
   ========================================================= */

html body
.aio-legal-document-section {
    position: relative !important;

    margin: 0 !important;
    padding: 0 0 54px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    scroll-margin-top: 132px !important;
}

html body
.aio-legal-document-section
+ .aio-legal-document-section {
    padding-top: 45px !important;

    border-top:
        1px solid
        rgba(45,45,45,.095) !important;
}

html body
.aio-legal-document-section__number {
    margin: 0 0 12px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body
.aio-legal-document-section h2 {
    max-width: 820px !important;

    margin: 0 0 25px !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(29px, 2.65vw, 39px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
}


/* =========================================================
   6. ЮРИДИЧЕСКИЙ ТЕКСТ
   ========================================================= */

html body
.aio-legal-document-section__body {
    max-width: 860px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.78 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.76) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.76) !important;
}

html body
.aio-legal-document-section__body p {
    margin: 0 0 17px !important;
    padding: 0 !important;
}

html body
.aio-legal-document-section__body p:last-child {
    margin-bottom: 0 !important;
}

html body
.aio-legal-document-section__body h3 {
    margin: 31px 0 14px !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(23px, 2vw, 29px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

html body
.aio-legal-document-section__body h4 {
    margin: 27px 0 12px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;

    color: rgba(6,31,62,.78) !important;
    -webkit-text-fill-color:
        rgba(6,31,62,.78) !important;
}

html body
.aio-legal-document-section__body ul,
html body
.aio-legal-document-section__body ol {
    margin: 0 0 19px 22px !important;
    padding: 0 !important;
}

html body
.aio-legal-document-section__body li {
    margin: 0 0 9px !important;
    padding-left: 5px !important;
}

html body
.aio-legal-document-section__body a {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;

    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}

html body
.aio-legal-document-section__body strong {
    font-weight: 650 !important;

    color: rgba(17,20,24,.88) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.88) !important;
}

html body
.aio-legal-document-section__body blockquote {
    margin: 28px 0 !important;
    padding: 5px 0 5px 22px !important;

    border: 0 !important;
    border-left: 2px solid rgba(169,67,43,.55) !important;

    background: transparent !important;

    color: rgba(17,20,24,.58) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.58) !important;
}

html body
.aio-legal-document-section__body table {
    width: 100% !important;

    margin: 24px 0 !important;

    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

html body
.aio-legal-document-section__body th,
html body
.aio-legal-document-section__body td {
    padding: 12px 13px !important;

    border:
        1px solid
        rgba(45,45,45,.10) !important;

    vertical-align: top !important;
    text-align: left !important;
}

html body
.aio-legal-document-section__body th {
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;

    background: rgba(6,31,62,.025) !important;
}


/* =========================================================
   7. ПУСТОЙ ДОКУМЕНТ
   ========================================================= */

html body
.aio-legal-document-empty {
    max-width: 880px !important;

    margin: 0 auto !important;
    padding: 46px 0 !important;

    border: 0 !important;
    border-top:
        1px solid
        rgba(45,45,45,.095) !important;
    border-bottom:
        1px solid
        rgba(45,45,45,.095) !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

html body
.aio-legal-document-empty h2 {
    margin: 0 0 17px !important;

    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(31px, 3vw, 43px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    color: #061F3E !important;
}

html body
.aio-legal-document-empty > p:last-child {
    max-width: 680px !important;

    margin: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.7 !important;

    color: rgba(17,20,24,.55) !important;
}


/* =========================================================
   8. АДАПТИВ
   ========================================================= */

@media (max-width: 980px) {
    html body
    .aio-legal-document-layout {
        grid-template-columns:
            minmax(190px, 230px)
            minmax(0, 1fr) !important;

        gap: 42px !important;
    }
}

@media (max-width: 760px) {
    html body
    .aio-legal-document-hero__meta {
        gap: 12px !important;
    }

    html body
    .aio-legal-document-page {
        padding: 34px 0 66px !important;
    }

    html body
    .aio-legal-document-layout {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    html body
    .aio-legal-document-toc__inner {
        position: static !important;
    }

    html body
    .aio-legal-document-toc nav {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    html body
    .aio-legal-document-toc nav a {
        min-height: 48px !important;
        padding: 13px 0 !important;
    }

    html body
    .aio-legal-document-edition {
        margin-bottom: 34px !important;
    }

    html body
    .aio-legal-document-section {
        padding-bottom: 42px !important;
        scroll-margin-top: 92px !important;
    }

    html body
    .aio-legal-document-section
    + .aio-legal-document-section {
        padding-top: 37px !important;
    }

    html body
    .aio-legal-document-section__body {
        font-size: 12.5px !important;
        line-height: 1.72 !important;
    }

    html body
    .aio-legal-document-section__body table {
        display: block !important;
        overflow-x: auto !important;
    }
}

/* AIO_LEGAL_DOCUMENTS_PUBLIC_END */

/* AIO_LEGAL_DOCUMENTS_TYPOGRAPHY_FINAL_START */

/* =========================================================
   HERO
   ========================================================= */

html body .aio-legal-document-hero {
    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

html body
.aio-legal-document-hero
.aio-events-museum-hero__inner {
    display: block !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding:
        clamp(48px, 5.2vw, 68px)
        0
        clamp(50px, 5.4vw, 72px) !important;
}

html body
.aio-legal-document-hero__title {
    width: 100% !important;
    max-width: 930px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Стандартный кикер сайта */

html body
.aio-legal-document-hero
.aio-events-kicker {
    display: block !important;

    margin: 0 0 15px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.68) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.68) !important;

    font-synthesis: none !important;
}

/* Заголовок немного уменьшен до общего масштаба hero */

html body
.aio-legal-document-hero h1 {
    max-width: 900px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(42px, 4.65vw, 62px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.022em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    text-wrap: balance !important;

    font-synthesis: none !important;
}

/* Правая часть hero полностью исключена */

html body
.aio-legal-document-hero__meta,
html body
.aio-legal-document-hero__aside,
html body
.aio-legal-document-hero__date {
    display: none !important;
}


/* =========================================================
   СОДЕРЖАНИЕ СЛЕВА
   ========================================================= */

html body
.aio-legal-document-toc
> .aio-legal-document-toc__inner
> .aio-events-kicker,
html body
.aio-legal-document-toc
.aio-events-kicker {
    margin: 0 0 22px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body
.aio-legal-document-toc nav a {
    grid-template-columns: 31px minmax(0, 1fr) !important;

    gap: 12px !important;

    min-height: 58px !important;

    padding: 17px 0 16px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11.5px !important;
    line-height: 1.48 !important;
    font-weight: 600 !important;
    letter-spacing: .012em !important;
    text-transform: none !important;

    color: rgba(6,31,62,.76) !important;
    -webkit-text-fill-color:
        rgba(6,31,62,.76) !important;
}

html body
.aio-legal-document-toc nav a > span {
    padding-top: 2px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;

    color: rgba(169,67,43,.75) !important;
    -webkit-text-fill-color:
        rgba(169,67,43,.75) !important;
}


/* =========================================================
   ЗАГОЛОВКИ РАЗДЕЛОВ ДОКУМЕНТА
   ========================================================= */

html body
.aio-legal-document-section h2 {
    max-width: 830px !important;

    margin: 0 0 25px !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(30px, 2.65vw, 39px) !important;
    line-height: 1.01 !important;
    font-weight: 400 !important;
    letter-spacing: -.014em !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
}

/* Вложенные заголовки в тексте */

html body
.aio-legal-document-section__body h3 {
    margin: 31px 0 15px !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(23px, 2vw, 29px) !important;
    line-height: 1.06 !important;
    font-weight: 400 !important;
    letter-spacing: -.008em !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
}

html body
.aio-legal-document-section__body h4 {
    margin: 27px 0 12px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;

    color: rgba(6,31,62,.76) !important;
    -webkit-text-fill-color:
        rgba(6,31,62,.76) !important;
}


/* =========================================================
   ОСНОВНОЙ ТЕКСТ
   ========================================================= */

html body
.aio-legal-document-section__body {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.76 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(17,20,24,.75) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.75) !important;

    font-synthesis: none !important;
}

html body
.aio-legal-document-section__body p,
html body
.aio-legal-document-section__body li,
html body
.aio-legal-document-section__body td {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 760px) {
    html body
    .aio-legal-document-hero
    .aio-events-museum-hero__inner {
        padding: 36px 0 40px !important;
    }

    html body
    .aio-legal-document-hero h1 {
        font-size: clamp(37px, 11vw, 50px) !important;
        line-height: .96 !important;
    }

    html body
    .aio-legal-document-section h2 {
        font-size: clamp(28px, 8.8vw, 36px) !important;
    }

    html body
    .aio-legal-document-toc nav a {
        font-size: 11px !important;
    }
}

/* AIO_LEGAL_DOCUMENTS_TYPOGRAPHY_FINAL_END */

/* AIO_LEGAL_DOCUMENTS_FONT_FIX_START */

/* =========================================================
   1. HERO — ЧУТЬ МЕНЬШЕ
   ========================================================= */

html body
.aio-legal-document-hero
.aio-events-kicker {
    margin: 0 0 12px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.66) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.66) !important;

    font-synthesis: none !important;
}

html body
.aio-legal-document-hero h1 {
    max-width: 890px !important;

    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(40px, 4.35vw, 58px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: -.02em !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
}


/* =========================================================
   2. ПРАВЫЕ ЗАГОЛОВКИ — ТОЧНЫЙ ТОНКИЙ AIO CORMORANT
   ========================================================= */

html body
.aio-legal-document-section h2,
html body
.aio-legal-document-section__body h2,
html body
.aio-legal-document-section__body h3 {
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none !important;

    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* Основные заголовки разделов */

html body
.aio-legal-document-section h2 {
    margin: 0 0 24px !important;

    font-size: clamp(29px, 2.45vw, 37px) !important;
    line-height: 1.01 !important;
    letter-spacing: -.016em !important;
}

/* Вложенные заголовки внутри текста */

html body
.aio-legal-document-section__body h2 {
    margin: 32px 0 15px !important;

    font-size: clamp(25px, 2.15vw, 32px) !important;
    line-height: 1.03 !important;
    letter-spacing: -.013em !important;
}

html body
.aio-legal-document-section__body h3 {
    margin: 29px 0 14px !important;

    font-size: clamp(22px, 1.85vw, 28px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.01em !important;
}


/* =========================================================
   3. УБИРАЕМ ВЛИЯНИЕ СТИЛЕЙ RICHEDITOR
   ========================================================= */

html body
.aio-legal-document-section__body
[style*="font-family"],
html body
.aio-legal-document-section__body
h2[style],
html body
.aio-legal-document-section__body
h3[style] {
    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none !important;
}

/* Обычный текст всё равно остаётся Montserrat */

html body
.aio-legal-document-section__body p,
html body
.aio-legal-document-section__body li,
html body
.aio-legal-document-section__body td,
html body
.aio-legal-document-section__body span:not(h2 span):not(h3 span) {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
}


/* =========================================================
   4. СОДЕРЖАНИЕ СЛЕВА — НЕМНОГО КРУПНЕЕ
   ========================================================= */

html body
.aio-legal-document-toc nav a {
    grid-template-columns: 32px minmax(0, 1fr) !important;

    gap: 12px !important;

    min-height: 60px !important;

    padding: 18px 0 17px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12px !important;
    line-height: 1.48 !important;
    font-weight: 600 !important;
    letter-spacing: .008em !important;

    color: rgba(6,31,62,.78) !important;
    -webkit-text-fill-color:
        rgba(6,31,62,.78) !important;
}

html body
.aio-legal-document-toc nav a > span {
    padding-top: 2px !important;

    font-size: 8.5px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;

    color: rgba(169,67,43,.78) !important;
    -webkit-text-fill-color:
        rgba(169,67,43,.78) !important;
}


/* =========================================================
   5. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 760px) {
    html body
    .aio-legal-document-hero h1 {
        font-size: clamp(35px, 10.4vw, 47px) !important;
    }

    html body
    .aio-legal-document-hero
    .aio-events-kicker {
        font-size: 8px !important;
    }

    html body
    .aio-legal-document-section h2 {
        font-size: clamp(27px, 8.3vw, 34px) !important;
    }

    html body
    .aio-legal-document-toc nav a {
        font-size: 11.5px !important;
    }
}

/* AIO_LEGAL_DOCUMENTS_FONT_FIX_END */

/* AIO_LEGAL_MEMBER_FONT_REFERENCE_START */

/* =========================================================
   1. HERO — КОМПАКТНЕЕ
   ========================================================= */

html body
.aio-legal-document-hero
.aio-events-museum-hero__inner {
    display: block !important;

    min-height: 0 !important;

    padding-top: clamp(40px, 4.15vw, 56px) !important;
    padding-bottom: clamp(42px, 4.35vw, 59px) !important;
}

html body
.aio-legal-document-hero__title {
    max-width: 850px !important;
}

/*
 * Кикер такого же порядка, как стандартные кикеры сайта:
 * маленький, разреженный, не конкурирует с заголовком.
 */

html body
.aio-legal-document-hero
.aio-events-kicker {
    margin: 0 0 11px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.64) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.64) !important;

    font-synthesis: none !important;
}

/*
 * Тот же заголовочный стек, который зафиксирован
 * для публичной страницы участника.
 */

html body
.aio-legal-document-hero h1 {
    max-width: 850px !important;

    margin: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(38px, 4vw, 55px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: -.024em !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
    font-variation-settings: normal !important;
}


/* =========================================================
   2. ЗАГОЛОВКИ РАЗДЕЛОВ СПРАВА
   ========================================================= */

/*
 * Жёстко закрепляем тонкий AIO Cormorant.
 * Не наследуем шрифт, который мог сохраниться из rich editor.
 */

html body
.aio-legal-document-section > h2,
html body
.aio-legal-document-section__body h2,
html body
.aio-legal-document-section__body h3 {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-weight: 400 !important;
    font-style: normal !important;
    font-stretch: normal !important;

    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
    font-variation-settings: normal !important;
}

/* Основной заголовок раздела */

html body
.aio-legal-document-section > h2 {
    margin: 0 0 24px !important;

    font-size: clamp(28px, 2.35vw, 35px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.018em !important;
}

/* Заголовки, добавленные внутри редактора */

html body
.aio-legal-document-section__body h2 {
    margin: 31px 0 15px !important;

    font-size: clamp(24px, 2vw, 30px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.015em !important;
}

html body
.aio-legal-document-section__body h3 {
    margin: 28px 0 14px !important;

    font-size: clamp(21px, 1.75vw, 26px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.012em !important;
}


/* =========================================================
   3. НЕ ДАЁМ RICH EDITOR ПОДМЕНЯТЬ ЗАГОЛОВОЧНЫЙ ШРИФТ
   ========================================================= */

html body
.aio-legal-document-section__body h2 *,
html body
.aio-legal-document-section__body h3 *,
html body
.aio-legal-document-section__body h2[style],
html body
.aio-legal-document-section__body h3[style] {
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: inherit !important;

    color: inherit !important;
    -webkit-text-fill-color: inherit !important;

    font-synthesis: none !important;
}


/* =========================================================
   4. СОДЕРЖАНИЕ СЛЕВА — КРУПНЕЕ
   ========================================================= */

html body
.aio-legal-document-toc nav a {
    grid-template-columns: 33px minmax(0, 1fr) !important;

    gap: 12px !important;

    min-height: 61px !important;

    padding: 18px 0 17px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 12.5px !important;
    line-height: 1.48 !important;
    font-weight: 600 !important;
    letter-spacing: .005em !important;

    color: rgba(6,31,62,.79) !important;
    -webkit-text-fill-color:
        rgba(6,31,62,.79) !important;
}

html body
.aio-legal-document-toc nav a > span {
    padding-top: 3px !important;

    font-size: 8.5px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;

    color: rgba(169,67,43,.79) !important;
    -webkit-text-fill-color:
        rgba(169,67,43,.79) !important;
}


/* =========================================================
   5. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 760px) {
    html body
    .aio-legal-document-hero
    .aio-events-museum-hero__inner {
        padding-top: 33px !important;
        padding-bottom: 37px !important;
    }

    html body
    .aio-legal-document-hero h1 {
        font-size: clamp(34px, 9.8vw, 45px) !important;
    }

    html body
    .aio-legal-document-section > h2 {
        font-size: clamp(26px, 8vw, 33px) !important;
    }

    html body
    .aio-legal-document-toc nav a {
        font-size: 11.5px !important;
    }
}

/* AIO_LEGAL_MEMBER_FONT_REFERENCE_END */

/* AIO_LEGAL_EXACT_CORMORANT_START */

/* =========================================================
   HERO — КОМПАКТНЕЕ И ЛЕГЧЕ
   ========================================================= */

html body
.aio-legal-document-hero
.aio-events-museum-hero__inner {
    display: block !important;
    min-height: 0 !important;

    padding-top: clamp(34px, 3.7vw, 49px) !important;
    padding-bottom: clamp(37px, 3.9vw, 52px) !important;
}

html body
.aio-legal-document-hero__title {
    width: 100% !important;
    max-width: 820px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body
.aio-legal-document-hero
.aio-events-kicker {
    margin: 0 0 10px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 7.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.63) !important;
    -webkit-text-fill-color: rgba(248,245,239,.63) !important;

    font-synthesis: none !important;
}

html body
.aio-legal-document-hero h1 {
    max-width: 820px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(37px, 3.82vw, 52px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-stretch: normal !important;
    letter-spacing: -.024em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}


/* =========================================================
   ЗАГОЛОВКИ РАЗДЕЛОВ СПРАВА
   Точный шрифт дизайн-системы
   ========================================================= */

html body
.aio-legal-document-section > h2,
html body
.aio-legal-document-section__body h2,
html body
.aio-legal-document-section__body h3 {
    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-weight: 400 !important;
    font-style: normal !important;
    font-stretch: normal !important;
    font-synthesis: none !important;

    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* «Общие положения», «Сведения об операторе» и т. п. */

html body
.aio-legal-document-section > h2 {
    max-width: 820px !important;

    margin: 0 0 23px !important;
    padding: 0 !important;

    font-size: clamp(27px, 2.2vw, 34px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.018em !important;
}

/* Заголовки второго уровня, внесённые через редактор */

html body
.aio-legal-document-section__body h2 {
    margin: 30px 0 14px !important;

    font-size: clamp(23px, 1.9vw, 29px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.014em !important;
}

html body
.aio-legal-document-section__body h3 {
    margin: 27px 0 13px !important;

    font-size: clamp(20px, 1.65vw, 25px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.01em !important;
}

/*
 * Rich editor иногда помещает текст заголовка во внутренний span
 * с собственным стилем. Принудительно наследуем точный шрифт.
 */

html body
.aio-legal-document-section__body h2 *,
html body
.aio-legal-document-section__body h3 *,
html body
.aio-legal-document-section__body h2[style],
html body
.aio-legal-document-section__body h3[style] {
    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: inherit !important;

    color: inherit !important;
    -webkit-text-fill-color: inherit !important;

    font-synthesis: none !important;
}


/* =========================================================
   СОДЕРЖАНИЕ СЛЕВА — НЕМНОГО КРУПНЕЕ
   ========================================================= */

html body
.aio-legal-document-toc nav a {
    grid-template-columns: 34px minmax(0, 1fr) !important;

    gap: 12px !important;
    min-height: 62px !important;

    padding: 18px 0 17px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.46 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;

    color: rgba(6,31,62,.80) !important;
    -webkit-text-fill-color: rgba(6,31,62,.80) !important;
}

html body
.aio-legal-document-toc nav a > span {
    padding-top: 3px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;

    color: rgba(169,67,43,.80) !important;
    -webkit-text-fill-color: rgba(169,67,43,.80) !important;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 760px) {
    html body
    .aio-legal-document-hero
    .aio-events-museum-hero__inner {
        padding-top: 30px !important;
        padding-bottom: 34px !important;
    }

    html body
    .aio-legal-document-hero h1 {
        font-size: clamp(33px, 9.3vw, 43px) !important;
    }

    html body
    .aio-legal-document-section > h2 {
        font-size: clamp(25px, 7.7vw, 32px) !important;
    }

    html body
    .aio-legal-document-toc nav a {
        font-size: 11.8px !important;
    }
}

/* AIO_LEGAL_EXACT_CORMORANT_END */

/* AIO_HOME_HERO_MEDIA_CONTAIN_TEST_20260717_START */

/*
 * ВРЕМЕННЫЙ БЕЗОПАСНЫЙ ТЕСТ.
 * Меняется только способ вписывания изображения и видео
 * в существующую медиаплоскость hero на широком экране.
 *
 * Геометрия hero, высота, контейнер, текст и кнопки не меняются.
 */
@media (min-width: 1081px) {
    html body.page-index
    .aio-main
    .aio-home-hero-museum__fallback-image,

    html body.page-index
    .aio-main
    .aio-home-hero-museum__video,

    html body.page-index
    .aio-main
    .aio-home-hero-museum__media img,

    html body.page-index
    .aio-main
    .aio-home-hero-museum__media video {
        object-fit: contain !important;
        object-position: center right !important;
        transform: none !important;
        scale: 1 !important;
    }
}

/* AIO_HOME_HERO_MEDIA_CONTAIN_TEST_20260717_END */

/* AIO_LEGAL_DOCUMENTS_UNIFIED_FINAL_START */

/* =========================================================
   ОБЩИЙ HERO ВСЕХ ПРАВОВЫХ ДОКУМЕНТОВ
   ========================================================= */

html body
.aio-legal-document-hero {
    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

html body
.aio-legal-document-hero
.aio-events-museum-hero__inner {
    display: block !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding:
        clamp(34px, 3.7vw, 49px)
        0
        clamp(37px, 3.9vw, 52px) !important;
}

html body
.aio-legal-document-hero__title {
    width: 100% !important;
    max-width: 820px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   КИКЕР HERO
   ========================================================= */

html body
.aio-legal-document-hero
.aio-events-kicker {
    display: block !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 7.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: rgba(248,245,239,.63) !important;
    -webkit-text-fill-color:
        rgba(248,245,239,.63) !important;

    font-synthesis: none !important;
}


/* =========================================================
   НАЗВАНИЕ ДОКУМЕНТА В HERO
   ========================================================= */

html body
.aio-legal-document-hero h1 {
    max-width: 820px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(37px, 3.82vw, 52px) !important;
    line-height: .95 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-stretch: normal !important;
    letter-spacing: -.024em !important;
    text-transform: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;

    text-wrap: balance !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

/* Правая часть hero у документов не используется. */

html body
.aio-legal-document-hero__meta,
html body
.aio-legal-document-hero__aside,
html body
.aio-legal-document-hero__date {
    display: none !important;
}


/* =========================================================
   ОБЩАЯ СЕТКА СТРАНИЦЫ
   ========================================================= */

html body
.aio-legal-document-layout {
    display: grid !important;

    grid-template-columns:
        minmax(230px, 292px)
        minmax(0, 1fr) !important;

    align-items: start !important;
    gap: clamp(42px, 5.7vw, 86px) !important;

    max-width: 1220px !important;

    margin: 0 auto !important;
    padding: 0 !important;
}

html body
.aio-legal-document-layout_without-toc {
    grid-template-columns: minmax(0, 900px) !important;
    justify-content: center !important;
}


/* =========================================================
   КИКЕР «СОДЕРЖАНИЕ»
   ========================================================= */

html body
.aio-legal-document-toc
.aio-events-kicker {
    margin: 0 0 22px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}


/* =========================================================
   ПУНКТЫ СОДЕРЖАНИЯ
   ========================================================= */

html body
.aio-legal-document-toc nav a {
    display: grid !important;

    grid-template-columns:
        34px
        minmax(0, 1fr) !important;

    align-items: start !important;
    gap: 12px !important;

    min-height: 62px !important;

    margin: 0 !important;
    padding: 18px 0 17px !important;

    border: 0 !important;
    border-bottom:
        1px solid
        rgba(45,45,45,.085) !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.46 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;

    color: rgba(6,31,62,.80) !important;
    -webkit-text-fill-color:
        rgba(6,31,62,.80) !important;
}

html body
.aio-legal-document-toc nav a > span {
    padding-top: 3px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;

    color: rgba(169,67,43,.80) !important;
    -webkit-text-fill-color:
        rgba(169,67,43,.80) !important;
}

html body
.aio-legal-document-toc nav a:hover {
    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}


/* =========================================================
   ОСНОВНЫЕ ЗАГОЛОВКИ РАЗДЕЛОВ
   ========================================================= */

html body
.aio-legal-document-section > h2 {
    max-width: 820px !important;

    margin: 0 0 23px !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(27px, 2.2vw, 34px) !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-stretch: normal !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}


/* =========================================================
   ВЛОЖЕННЫЕ ЗАГОЛОВКИ ИЗ РЕДАКТОРА
   ========================================================= */

html body
.aio-legal-document-section__body h2,
html body
.aio-legal-document-section__body h3 {
    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-weight: 400 !important;
    font-style: normal !important;
    font-stretch: normal !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;

    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

html body
.aio-legal-document-section__body h2 {
    margin: 30px 0 14px !important;

    font-size: clamp(23px, 1.9vw, 29px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.014em !important;
}

html body
.aio-legal-document-section__body h3 {
    margin: 27px 0 13px !important;

    font-size: clamp(20px, 1.65vw, 25px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.01em !important;
}


/* =========================================================
   СБРОС ВСТРОЕННЫХ СТИЛЕЙ RICH EDITOR
   ========================================================= */

html body
.aio-legal-document-section__body h2 *,
html body
.aio-legal-document-section__body h3 *,
html body
.aio-legal-document-section__body h2[style],
html body
.aio-legal-document-section__body h3[style] {
    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: inherit !important;

    color: inherit !important;
    -webkit-text-fill-color: inherit !important;

    font-synthesis: none !important;
}


/* =========================================================
   ОСНОВНОЙ ЮРИДИЧЕСКИЙ ТЕКСТ
   ========================================================= */

html body
.aio-legal-document-section__body,
html body
.aio-legal-document-section__body p,
html body
.aio-legal-document-section__body li,
html body
.aio-legal-document-section__body td,
html body
.aio-legal-document-section__body th {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
}

html body
.aio-legal-document-section__body {
    font-size: 13px !important;
    line-height: 1.78 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    color: rgba(17,20,24,.76) !important;
    -webkit-text-fill-color:
        rgba(17,20,24,.76) !important;
}

html body
.aio-legal-document-section__body p {
    margin: 0 0 17px !important;
}

html body
.aio-legal-document-section__body li {
    margin-bottom: 9px !important;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 760px) {
    html body
    .aio-legal-document-hero
    .aio-events-museum-hero__inner {
        padding-top: 30px !important;
        padding-bottom: 34px !important;
    }

    html body
    .aio-legal-document-hero h1 {
        font-size: clamp(33px, 9.3vw, 43px) !important;
    }

    html body
    .aio-legal-document-layout {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    html body
    .aio-legal-document-section > h2 {
        font-size: clamp(25px, 7.7vw, 32px) !important;
    }

    html body
    .aio-legal-document-toc nav a {
        font-size: 11.8px !important;
    }
}

/* AIO_LEGAL_DOCUMENTS_UNIFIED_FINAL_END */

/* AIO_MOBILE_HIDDEN_NAV_POINTER_FIX_20260718_START
 *
 * Закрытая мобильная навигация и все её вложенные dropdown-элементы
 * не должны перекрывать контент страницы и перехватывать касания.
 */
@media (max-width: 900px) {
    html body
    header.aio-header
    .aio-header_elegant:not(.is-mobile-menu-open)
    .aio-header__nav,
    html body
    header.aio-header
    .aio-header_elegant:not(.is-mobile-menu-open)
    .aio-header__nav * {
        pointer-events: none !important;
    }

    html body
    header.aio-header
    .aio-header_elegant:not(.is-mobile-menu-open)
    .aio-header__dropdown-menu {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html body
    header.aio-header
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__nav {
        pointer-events: auto !important;
    }

    html body
    header.aio-header
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__nav > a,
    html body
    header.aio-header
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown,
    html body
    header.aio-header
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown-link,
    html body
    header.aio-header
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown-menu,
    html body
    header.aio-header
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown-menu a,
    html body
    header.aio-header
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__login,
    html body
    header.aio-header
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__register,
    html body
    header.aio-header
    .aio-header_elegant.is-mobile-menu-open
    .aio-header__apply {
        pointer-events: auto !important;
    }
}
/* AIO_MOBILE_HIDDEN_NAV_POINTER_FIX_20260718_END */

/* AIO_MOBILE_HIDDEN_NAV_POINTER_FIX_V2_20260718_START
 *
 * aio-header и aio-header_elegant находятся на одном элементе.
 * При закрытом мобильном меню вся навигация физически убирается
 * из области кликов и не может перекрывать hero личного кабинета.
 */
@media (max-width: 900px) {
    html body
    header.aio-header.aio-header_elegant:not(.is-mobile-menu-open)
    .aio-header__nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html body
    header.aio-header.aio-header_elegant:not(.is-mobile-menu-open)
    .aio-header__nav *,
    html body
    header.aio-header.aio-header_elegant:not(.is-mobile-menu-open)
    .aio-header__dropdown,
    html body
    header.aio-header.aio-header_elegant:not(.is-mobile-menu-open)
    .aio-header__dropdown-link,
    html body
    header.aio-header.aio-header_elegant:not(.is-mobile-menu-open)
    .aio-header__dropdown-menu,
    html body
    header.aio-header.aio-header_elegant:not(.is-mobile-menu-open)
    .aio-header__dropdown-menu * {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__nav {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__nav > a,
    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown,
    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown-link,
    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown-menu,
    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown-menu a,
    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__login,
    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__register,
    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__apply {
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Сама кнопка hero гарантированно остаётся кликабельной. */
    html body
    .aio-account-common-hero {
        position: relative !important;
        z-index: 1 !important;
    }

    html body
    .aio-account-common-hero__action,
    html body
    a.aio-account-common-hero__link {
        position: relative !important;
        z-index: 10 !important;
        pointer-events: auto !important;
    }
}
/* AIO_MOBILE_HIDDEN_NAV_POINTER_FIX_V2_20260718_END */

/* AIO_MEMBER_PUBLICATION_TITLE_COMPACT_20260718_START
 * Заголовок публикации на персональной странице:
 * немного меньше без изменения геометрии карточки.
 */
.aio-member-publications-strip
.aio-blog-museum-card.aio-member-publication-card
.aio-blog-museum-card__body h3,
.aio-member-publications-strip
.aio-blog-museum-card.aio-member-publication-card
.aio-blog-museum-card__body h3 > a {
    font-size: clamp(20px, 1.75vw, 24px) !important;
    line-height: 1.06 !important;
}
/* AIO_MEMBER_PUBLICATION_TITLE_COMPACT_20260718_END */

/* AIO_MOBILE_MENU_LAYOUT_FINAL_20260718_START
 *
 * Финальная геометрия мобильной навигации.
 * Убирает горизонтальную раскладку, старый nowrap и влияние
 * desktop-системы кнопок на ссылки входа и регистрации.
 *
 * Desktop не изменяется.
 */

@media (max-width: 900px) {

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    nav.aio-header__nav,

    html body.page-people-item
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    nav.aio-header__nav {

        position: fixed !important;
        top: 66px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;

        gap: 0 !important;

        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;

        height: calc(100dvh - 66px) !important;
        min-height: 0 !important;
        max-height: calc(100dvh - 66px) !important;

        margin: 0 !important;
        padding:
            22px 16px
            calc(40px + env(safe-area-inset-bottom)) !important;

        box-sizing: border-box !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        white-space: normal !important;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;

        transform: none !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    nav.aio-header__nav > a,

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    nav.aio-header__nav > .aio-header__dropdown,

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    nav.aio-header__nav > .aio-header__login,

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    nav.aio-header__nav > .aio-header__register,

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    nav.aio-header__nav > .aio-header__apply {

        position: relative !important;

        display: flex !important;
        flex: 0 0 auto !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 48px !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 13px 0 !important;

        box-sizing: border-box !important;

        align-items: center !important;
        justify-content: space-between !important;

        white-space: normal !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    nav.aio-header__nav > .aio-header__dropdown {

        display: block !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown-link {

        display: flex !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 13px 0 !important;

        box-sizing: border-box !important;

        align-items: center !important;
        justify-content: space-between !important;

        white-space: normal !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown-menu {

        position: static !important;
        inset: auto !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 2px 0 8px 16px !important;

        box-sizing: border-box !important;

        overflow: visible !important;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;

        transform: none !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__dropdown-menu a {

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 8px 0 !important;

        box-sizing: border-box !important;

        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__login,

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__register,

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__apply {

        display: flex !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        justify-content: flex-start !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__register,

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__apply {

        margin-top: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;

        border-left: 0 !important;
        border-right: 0 !important;

        background: transparent !important;

        color: #061F3E !important;
        -webkit-text-fill-color: #061F3E !important;
    }

    html body
    header.aio-header.aio-header_elegant.is-mobile-menu-open
    .aio-header__separator {

        display: none !important;
    }

    /*
     * Закрытое меню полностью исключаем из раскладки.
     * Это также предотвращает невидимое горизонтальное переполнение.
     */

    html body
    header.aio-header.aio-header_elegant:not(.is-mobile-menu-open)
    nav.aio-header__nav,

    html body.page-people-item
    header.aio-header.aio-header_elegant:not(.is-mobile-menu-open)
    nav.aio-header__nav {

        display: none !important;

        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;

        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;

        overflow: hidden !important;

        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* AIO_MOBILE_MENU_LAYOUT_FINAL_20260718_END */


/* AIO_AUTHOR_ALBUMS_EXACT_GALLERY_20260718_START
   /people/:slug/albums

   Разметка карточек буквально совпадает с /gallery.
   Здесь только подключение той же геометрии к body.page-people-albums,
   поскольку исходные правила /gallery ограничены body.page-gallery.
*/

/* HERO — стандартная каталожная геометрия */

body.page-people-albums .aio-author-archive-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(34px, 3.6vw, 52px) 0
             clamp(38px, 4.2vw, 60px) !important;
}

body.page-people-albums
.aio-author-archive-hero
.aio-events-museum-hero__inner {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(280px, .85fr) !important;
    gap: clamp(34px, 5vw, 74px) !important;
    align-items: end !important;
    min-height: 0 !important;
}

body.page-people-albums
.aio-author-archive-hero h1 {
    margin: 0 !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(40px, 4.7vw, 64px) !important;
    line-height: .94 !important;
    font-weight: 400 !important;
    letter-spacing: -.03em !important;
    color: #F8F5EF !important;
}

body.page-people-albums
.aio-author-archive-hero__details {
    display: grid !important;
    gap: 17px !important;
    align-self: end !important;
}

body.page-people-albums
.aio-author-archive-hero__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

body.page-people-albums
.aio-author-archive-hero__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(248,245,239,.22) !important;
    border-radius: 999px !important;
    background: rgba(248,245,239,.045) !important;
    color: rgba(248,245,239,.78) !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

body.page-people-albums
.aio-author-archive-hero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 18px !important;
}

body.page-people-albums
.aio-author-archive-hero__actions a {
    color: #D5A28F !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.page-people-albums
.aio-author-archive-hero__actions a:hover {
    color: #F8F5EF !important;
}

/* СВЕТЛАЯ ЧАСТЬ */

body.page-people-albums .aio-author-albums-page {
    padding: clamp(46px, 5vw, 72px) 0
             clamp(58px, 6vw, 90px) !important;
    background:
        radial-gradient(
            circle at 12% 12%,
            rgba(169,67,43,.045),
            transparent 280px
        ),
        radial-gradient(
            circle at 86% 18%,
            rgba(7,45,91,.035),
            transparent 320px
        ),
        linear-gradient(
            180deg,
            #FBFAF7 0%,
            #F8F5EF 44%,
            #F2E9DC 100%
        ) !important;
}

body.page-people-albums
.aio-author-albums-main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* РОВНО ТА ЖЕ СЕТКА, ЧТО В /gallery */

body.page-people-albums
.aio-gallery-museum-grid {
    position: relative !important;
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-people-albums
.aio-gallery-museum-grid::before,
body.page-people-albums
.aio-gallery-museum-grid::after {
    content: none !important;
    display: none !important;
}

/* РОВНО ТА ЖЕ КАРТОЧКА */

body.page-people-albums
.aio-gallery-museum-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 372px !important;
    height: 372px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: 1px solid rgba(7,45,91,.13) !important;
    background: #07172C !important;
    box-shadow: 0 18px 42px rgba(7,23,44,.095) !important;
    isolation: isolate !important;
}

body.page-people-albums
.aio-gallery-museum-card::after {
    content: none !important;
    display: none !important;
}

body.page-people-albums
.aio-gallery-museum-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            180deg,
            rgba(7,23,44,.02) 0%,
            rgba(7,23,44,.08) 38%,
            rgba(7,23,44,.80) 100%
        ),
        linear-gradient(
            90deg,
            rgba(7,45,91,.22) 0%,
            rgba(7,45,91,.03) 58%,
            rgba(169,67,43,.10) 100%
        ) !important;
    transition: opacity .28s ease !important;
}

body.page-people-albums
.aio-gallery-museum-card:hover::before {
    opacity: .72 !important;
}

body.page-people-albums
.aio-gallery-museum-card__image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #07172C !important;
    text-decoration: none !important;
}

body.page-people-albums
.aio-gallery-museum-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter:
        saturate(.78)
        contrast(.96)
        brightness(.84)
        sepia(.10) !important;
    transform: scale(1.012) !important;
    transition:
        filter .28s ease,
        transform .28s ease !important;
}

body.page-people-albums
.aio-gallery-museum-card:hover
.aio-gallery-museum-card__image img {
    filter:
        saturate(.96)
        contrast(1)
        brightness(.95)
        sepia(.025) !important;
    transform: scale(1.045) !important;
}

body.page-people-albums
.aio-gallery-museum-card__image span {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    color: rgba(248,245,239,.72) !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: 34px !important;
}

body.page-people-albums
.aio-gallery-museum-card__body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    display: block !important;
    min-height: 0 !important;
    padding: 0 24px 24px !important;
    background: transparent !important;
}

body.page-people-albums
.aio-gallery-museum-card__meta {
    margin: 0 0 9px !important;
    color: rgba(248,245,239,.76) !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

body.page-people-albums
.aio-gallery-museum-card h3 {
    max-width: 92% !important;
    margin: 0 !important;
    color: #F8F5EF !important;
    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;
    font-size: clamp(25px, 2.08vw, 33px) !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    letter-spacing: .005em !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 16px rgba(0,0,0,.26) !important;
}

body.page-people-albums
.aio-gallery-museum-card h3 a {
    color: inherit !important;
    font-family: inherit !important;
    text-decoration: none !important;
}

body.page-people-albums
.aio-gallery-museum-card__count {
    margin: 12px 0 0 !important;
    padding: 0 !important;
    color: rgba(248,245,239,.74) !important;
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;
    font-size: 8.5px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

/* EMPTY */

body.page-people-albums
.aio-gallery-museum-empty {
    padding: 34px !important;
    border: 1px solid rgba(7,45,91,.12) !important;
    background: rgba(248,245,239,.76) !important;
}

@media (max-width: 920px) {
    body.page-people-albums
    .aio-author-archive-hero
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        align-items: start !important;
    }
}

@media (max-width: 760px) {
    body.page-people-albums
    .aio-gallery-museum-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-people-albums
    .aio-gallery-museum-card {
        min-height: 330px !important;
        height: 330px !important;
    }

    body.page-people-albums
    .aio-author-archive-hero h1 {
        font-size: clamp(38px, 11vw, 52px) !important;
    }
}

/* AIO_AUTHOR_ALBUMS_EXACT_GALLERY_20260718_END */

/* AIO_AUTHOR_ALBUMS_HERO_COMPACT_20260718_START
   /people/:slug/albums
   Компактный эталонный hero. Карточки альбомов не затрагиваются.
*/

body.page-people-albums .aio-author-archive-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: 31px 0 35px !important;
}

body.page-people-albums
.aio-author-archive-hero
.aio-events-museum-hero__inner {
    min-height: 0 !important;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(260px, .8fr) !important;
    gap: clamp(26px, 4vw, 54px) !important;
    align-items: center !important;
}

body.page-people-albums
.aio-author-archive-hero
.aio-events-kicker {
    margin: 0 0 6px !important;
    font-size: 7.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .17em !important;
}

body.page-people-albums
.aio-author-archive-hero h1 {
    margin: 0 !important;
    max-width: 760px !important;
    font-size: clamp(35px, 3.65vw, 52px) !important;
    line-height: .96 !important;
    letter-spacing: -.025em !important;
}

body.page-people-albums
.aio-author-archive-hero__details {
    gap: 11px !important;
}

body.page-people-albums
.aio-author-archive-hero__meta {
    gap: 6px !important;
}

body.page-people-albums
.aio-author-archive-hero__meta span {
    min-height: 24px !important;
    padding: 0 10px !important;
    font-size: 7.2px !important;
}

body.page-people-albums
.aio-author-archive-hero__actions {
    gap: 8px 15px !important;
}

body.page-people-albums
.aio-author-archive-hero__actions a {
    font-size: 7.8px !important;
}

@media (max-width: 920px) {
    body.page-people-albums
    .aio-author-archive-hero {
        padding: 28px 0 32px !important;
    }

    body.page-people-albums
    .aio-author-archive-hero
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    body.page-people-albums
    .aio-author-archive-hero h1 {
        font-size: clamp(33px, 9vw, 46px) !important;
    }
}

/* AIO_AUTHOR_ALBUMS_HERO_COMPACT_20260718_END */

/* AIO_LK_PROFILE_GALLERY_FORM_ALIGNMENT_20260718_START
   Выравнивание полей профиля и формы фотоальбома.
   Hero, sidebar, обработчики и структура страниц не затрагиваются.
*/

/* Единая геометрия двухколоночных форм */
html body.page-account-profile .aio-lk-fields,
html body.page-account-galleries .aio-lk-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 26px !important;
    row-gap: 22px !important;
    align-items: start !important;
}

/* Label всегда занимает всю выделенную ячейку */
html body.page-account-profile .aio-lk-fields > label,
html body.page-account-galleries .aio-lk-form-grid > label {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Единая высота input, select и даты */
html body.page-account-profile .aio-lk-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body.page-account-profile .aio-lk-form select,
html body.page-account-galleries .aio-lk-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body.page-account-galleries .aio-lk-form select {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 50px !important;
    vertical-align: middle !important;
}

/* Select сохраняет штатную стрелку и нормальную высоту текста */
html body.page-account-profile .aio-lk-form select,
html body.page-account-galleries .aio-lk-form select {
    line-height: normal !important;
}

/* Дата визуально совпадает с обычными полями */
html body.page-account-galleries
.aio-lk-form input[type="date"] {
    font-variant-numeric: tabular-nums !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

/* Подписи располагаются на одном уровне */
html body.page-account-profile
.aio-lk-card label > span:first-child,
html body.page-account-galleries
.aio-lk-form-grid label > span:first-child {
    display: block !important;
    min-height: 14px !important;
    margin: 0 0 10px !important;
    line-height: 1.25 !important;
}

/* Заголовки карточек и первый ряд формы */
html body.page-account-profile .aio-lk-card > h3,
html body.page-account-galleries .aio-lk-card__head {
    margin-bottom: 27px !important;
}

/* Полноширинные элементы профиля сохраняются полноширинными */
html body.page-account-profile
.aio-lk-fields > .aio-lk-fields__full {
    grid-column: 1 / -1 !important;
}

/* Textarea не принуждаем к высоте обычного поля */
html body.page-account-profile .aio-lk-form textarea,
html body.page-account-galleries .aio-lk-form textarea {
    height: auto !important;
    min-height: 96px !important;
    line-height: 1.55 !important;
}

/* Мобильная версия */
@media (max-width: 760px) {
    html body.page-account-profile .aio-lk-fields,
    html body.page-account-galleries .aio-lk-form-grid {
        grid-template-columns: 1fr !important;
        gap: 19px !important;
    }

    html body.page-account-profile
    .aio-lk-fields > .aio-lk-fields__full {
        grid-column: auto !important;
    }
}

/* AIO_LK_PROFILE_GALLERY_FORM_ALIGNMENT_20260718_END */

/* AIO_AUTHOR_POSTS_HERO_EXACT_ALBUMS_20260718_START */
/*
 * Точная копия утверждённой геометрии hero фотоальбомов.
 * Изменён только body-класс страницы.
 */
   /people/:slug/albums
   Компактный эталонный hero. Карточки альбомов не затрагиваются.
*/

body.page-people-posts .aio-author-archive-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: 31px 0 35px !important;
}

body.page-people-posts
.aio-author-archive-hero
.aio-events-museum-hero__inner {
    min-height: 0 !important;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(260px, .8fr) !important;
    gap: clamp(26px, 4vw, 54px) !important;
    align-items: center !important;
}

body.page-people-posts
.aio-author-archive-hero
.aio-events-kicker {
    margin: 0 0 6px !important;
    font-size: 7.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .17em !important;
}

body.page-people-posts
.aio-author-archive-hero h1 {
    margin: 0 !important;
    max-width: 760px !important;
    font-size: clamp(35px, 3.65vw, 52px) !important;
    line-height: .96 !important;
    letter-spacing: -.025em !important;
}

body.page-people-posts
.aio-author-archive-hero__details {
    gap: 11px !important;
}

body.page-people-posts
.aio-author-archive-hero__meta {
    gap: 6px !important;
}

body.page-people-posts
.aio-author-archive-hero__meta span {
    min-height: 24px !important;
    padding: 0 10px !important;
    font-size: 7.2px !important;
}

body.page-people-posts
.aio-author-archive-hero__actions {
    gap: 8px 15px !important;
}

body.page-people-posts
.aio-author-archive-hero__actions a {
    font-size: 7.8px !important;
}

@media (max-width: 920px) {
    body.page-people-posts
    .aio-author-archive-hero {
        padding: 28px 0 32px !important;
    }

    body.page-people-posts
    .aio-author-archive-hero
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    body.page-people-posts
    .aio-author-archive-hero h1 {
        font-size: clamp(33px, 9vw, 46px) !important;
    }
}

/* AIO_AUTHOR_POSTS_HERO_EXACT_ALBUMS_20260718_END */


/* AIO_ACCOUNT_ALBUMS_AS_POSTS_START */

/*
 * Фотоальбомы личного кабинета.
 * Точная копия рабочего раздела карточек публикаций.
 * Источник: AIO_ACCOUNT_POSTS_EDITORIAL_REBUILD /
 * раздел «2. СПИСОК ПУБЛИКАЦИЙ».
 */

/* =========================================================
   2. СПИСОК ПУБЛИКАЦИЙ
   ========================================================= */

html body.page-account-galleries
.aio-lk-posts-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 20px !important;

    margin: 0 0 34px !important;
    padding: 0 !important;
}

html body.page-account-galleries
.aio-lk-post-card {
    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid rgba(45,45,45,.09) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.62) !important;
    background-image: none !important;

    box-shadow: none !important;
}

html body.page-account-galleries
.aio-lk-post-card__cover {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 0 !important;

    background: #16191E !important;

    overflow: hidden !important;
}

html body.page-account-galleries
.aio-lk-post-card__cover::before,
html body.page-account-galleries
.aio-lk-post-card__cover::after {
    content: none !important;
    display: none !important;
}

html body.page-account-galleries
.aio-lk-post-card__cover img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 0 !important;

    filter:
        saturate(.88)
        contrast(.96)
        brightness(.96)
        sepia(.025) !important;

    transform: none !important;

    transition:
        filter .24s ease,
        transform .28s ease !important;
}

html body.page-account-galleries
.aio-lk-post-card:hover
.aio-lk-post-card__cover img {
    filter:
        saturate(1)
        contrast(.99)
        brightness(1)
        sepia(.005) !important;

    transform: scale(1.018) !important;
}

html body.page-account-galleries
.aio-lk-post-card__cover span {
    display: grid !important;
    place-items: center !important;

    width: 100% !important;
    height: 100% !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(22px, 2vw, 30px) !important;
    font-weight: 400 !important;

    color: rgba(248,245,239,.82) !important;
}

html body.page-account-galleries
.aio-lk-post-card__body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;

    padding: 18px 20px 20px !important;

    background: transparent !important;
}

html body.page-account-galleries
.aio-lk-post-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;

    gap: 6px 12px !important;

    margin: 0 0 12px !important;
}

html body.page-account-galleries
.aio-lk-post-card__meta span {
    display: inline !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;

    color: rgba(169,67,43,.82) !important;
}

html body.page-account-galleries
.aio-lk-post-card h3 {
    margin: 0 0 16px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(23px, 1.9vw, 30px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;

    color: #061F3E !important;
}

html body.page-account-galleries
.aio-lk-post-card
.aio-lk-edit-link {
    align-self: flex-start !important;
    margin-top: auto !important;
}

/*
 * На узких экранах список альбомов становится одноколоночным.
 */
@media (max-width: 760px) {
    html body.page-account-galleries
    .aio-lk-posts-list.aio-lk-albums-as-posts {
        grid-template-columns: 1fr !important;
    }
}

/* AIO_ACCOUNT_ALBUMS_AS_POSTS_END */

/* AIO_PROFILE_MODERATION_VISUAL_EXACT_FIX_20260723_START
   Финальная типографика и геометрия панели модерации.
   ========================================================= */

/*
 * Заголовок должен совпадать по масштабу с «Сменить пароль»
 * и другими крупными заголовками страницы профиля.
 */
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
.aio-lk-moderation-panel__content
h3 {
    margin: 0 0 16px !important;

    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(34px, 3vw, 42px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/*
 * Пояснения — компактный Montserrat, как служебный текст
 * в карточке фотографии профиля.
 */
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
.aio-lk-moderation-panel__content > p,
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
.aio-lk-moderation-panel__preview-note {
    max-width: 790px !important;

    margin-right: 0 !important;
    margin-left: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10.5px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: rgba(17,20,24,.58) !important;
    -webkit-text-fill-color: rgba(17,20,24,.58) !important;
}

html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
.aio-lk-moderation-panel__preview-note {
    margin-top: 11px !important;
}

/*
 * Две кнопки располагаются в одной строке.
 */
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel__actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    gap: 12px !important;

    width: 100% !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel__form {
    display: inline-flex !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/*
 * Геометрия и типографика полностью совпадают
 * с кнопкой «Сохранить профиль».
 */
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
button.aio-lk-moderation-panel__submit-button,
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
a.aio-lk-moderation-panel__preview-button {
    appearance: none !important;
    -webkit-appearance: none !important;

    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;

    margin: 0 !important;
    padding: 0 20px !important;

    border: 1px solid #061F3E !important;
    border-radius: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    box-shadow: none !important;
    transform: none !important;
    cursor: pointer !important;
}

/* Основное действие сохраняет красно-терракотовый акцент. */
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
button.aio-lk-moderation-panel__submit-button {
    background: #C85726 !important;
    background-image: none !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Просмотр — равная по размеру контурная кнопка. */
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
a.aio-lk-moderation-panel__preview-button {
    background: transparent !important;
    background-image: none !important;

    color: #061F3E !important;
    -webkit-text-fill-color: #061F3E !important;
}

/* Одинаковое состояние наведения. */
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
button.aio-lk-moderation-panel__submit-button:hover,
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
button.aio-lk-moderation-panel__submit-button:focus,
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
a.aio-lk-moderation-panel__preview-button:hover,
html body.page-account-profile
.aio-lk-main
.aio-lk-moderation-panel
a.aio-lk-moderation-panel__preview-button:focus {
    border-color: #A9432B !important;
    background: #A9432B !important;
    background-image: none !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 680px) {
    html body.page-account-profile
    .aio-lk-main
    .aio-lk-moderation-panel
    .aio-lk-moderation-panel__content
    h3 {
        font-size: clamp(31px, 9vw, 37px) !important;
    }

    html body.page-account-profile
    .aio-lk-main
    .aio-lk-moderation-panel__actions {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    html body.page-account-profile
    .aio-lk-main
    .aio-lk-moderation-panel__form,
    html body.page-account-profile
    .aio-lk-main
    .aio-lk-moderation-panel
    button.aio-lk-moderation-panel__submit-button,
    html body.page-account-profile
    .aio-lk-main
    .aio-lk-moderation-panel
    a.aio-lk-moderation-panel__preview-button {
        width: 100% !important;
    }
}

/* AIO_PROFILE_MODERATION_VISUAL_EXACT_FIX_20260723_END */

/* =========================================================
   AIO EMPTY STATE STANDARD V1 — 20260723-102936
   Unified public catalogue empty state.
   Visual reference: /blogs.
   ========================================================= */

html body .aio-empty-state-standard {
    margin-top: 30px !important;
    padding: 22px 24px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(45, 45, 45, .10) !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .72),
            rgba(248, 245, 239, .94)
        ),
        #F8F5EF !important;

    box-shadow:
        0 18px 48px rgba(7, 23, 44, .055) !important;
}

html body .aio-empty-state-standard:first-child {
    margin-top: 0 !important;
}

html body .aio-empty-state-standard .aio-events-kicker {
    margin: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body .aio-empty-state-standard h2 {
    margin: 8px 0 12px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 34px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;

    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

html body .aio-empty-state-standard p:not(.aio-events-kicker) {
    margin: 0 !important;
    max-width: 620px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;

    color: rgba(45, 45, 45, .66) !important;
    -webkit-text-fill-color: rgba(45, 45, 45, .66) !important;
}

html body .aio-empty-state-standard > a {
    display: inline-flex !important;
    align-items: center !important;

    width: fit-content !important;
    min-height: 0 !important;

    margin-top: 14px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body .aio-empty-state-standard > a:hover {
    opacity: .72 !important;
}

html body.page-events
.aio-events-empty-filter.aio-empty-state-standard[hidden] {
    display: none !important;
}

@media (max-width: 720px) {
    html body .aio-empty-state-standard {
        margin-top: 22px !important;
        padding: 20px !important;
    }

    html body .aio-empty-state-standard h2 {
        font-size: 30px !important;
    }

    html body .aio-empty-state-standard p:not(.aio-events-kicker) {
        font-size: 12.5px !important;
    }
}

/* AIO_PROFILE_MODERATION_TYPOGRAPHY_FINAL_20260723_START */

/*
 * Панель модерации профиля:
 * заголовок соответствует заголовку «Сменить пароль»,
 * текст соответствует описанию блока «Фото профиля».
 */

.aio-lk-main .aio-lk-moderation-panel
#aio-profile-moderation-title {
    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(34px, 2.5vw, 40px) !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: #061f3e !important;

    max-width: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

.aio-lk-main .aio-lk-moderation-panel > p {
    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 15px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.62 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: rgba(17, 20, 24, 0.58) !important;

    max-width: 920px !important;
    margin: 0 0 12px !important;
}

.aio-lk-main .aio-lk-moderation-panel > p:last-of-type {
    margin-bottom: 24px !important;
}

@media (max-width: 767px) {
    .aio-lk-main .aio-lk-moderation-panel
    #aio-profile-moderation-title {
        font-size: 32px !important;
        line-height: 1.1 !important;
        margin-bottom: 16px !important;
    }

    .aio-lk-main .aio-lk-moderation-panel > p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* AIO_PROFILE_MODERATION_TYPOGRAPHY_FINAL_20260723_END */

/* =========================================================
   AIO GALLERY EMPTY STATE V2 — 20260723-104538
   Empty state follows /blogs.
   CTA restored as a separate full-width museum panel.
   ========================================================= */

html body.page-gallery
.aio-gallery-museum-empty.aio-empty-state-standard {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 22px 24px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(45, 45, 45, .10) !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .72),
            rgba(248, 245, 239, .94)
        ),
        #F8F5EF !important;

    box-shadow:
        0 18px 48px rgba(7, 23, 44, .055) !important;
}

html body.page-gallery
.aio-gallery-museum-empty.aio-empty-state-standard
.aio-events-kicker {
    margin: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;

    color: #A9432B !important;
    -webkit-text-fill-color: #A9432B !important;
}

html body.page-gallery
.aio-gallery-museum-empty.aio-empty-state-standard h2 {
    margin: 8px 0 12px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 34px !important;
    line-height: .96 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;

    color: #072D5B !important;
    -webkit-text-fill-color: #072D5B !important;
}

html body.page-gallery
.aio-gallery-museum-empty.aio-empty-state-standard
p:not(.aio-events-kicker) {
    max-width: 620px !important;
    margin: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;

    color: rgba(45, 45, 45, .66) !important;
    -webkit-text-fill-color: rgba(45, 45, 45, .66) !important;
}

/* Самостоятельный CTA под пустым сообщением */

html body.page-gallery
.aio-gallery-museum-submit.aio-gallery-museum-submit_empty {
    display: flex !important;
    grid-column: 1 / -1 !important;

    width: 100% !important;
    max-width: none !important;
    min-height: 300px !important;

    margin: 30px 0 0 !important;

    border-radius: 0 !important;
    overflow: hidden !important;

    background:
        radial-gradient(
            circle at 86% 22%,
            rgba(17, 72, 139, .58),
            transparent 46%
        ),
        linear-gradient(
            135deg,
            #111820 0%,
            #061F3E 62%,
            #082F62 100%
        ) !important;

    border: 1px solid rgba(7, 45, 91, .14) !important;
    box-shadow: 0 20px 52px rgba(7, 23, 44, .10) !important;
}

html body.page-gallery
.aio-gallery-museum-submit.aio-gallery-museum-submit_empty
.aio-gallery-museum-submit__inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 300px !important;

    padding: clamp(34px, 5vw, 56px) !important;
}

html body.page-gallery
.aio-gallery-museum-submit.aio-gallery-museum-submit_empty
.aio-gallery-museum-submit__inner > p {
    margin: 0 0 16px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;

    color: #E5A18E !important;
    -webkit-text-fill-color: #E5A18E !important;
}

html body.page-gallery
.aio-gallery-museum-submit.aio-gallery-museum-submit_empty h3 {
    max-width: 720px !important;
    margin: 0 0 18px !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(36px, 4vw, 48px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-gallery
.aio-gallery-museum-submit.aio-gallery-museum-submit_empty
.aio-gallery-museum-submit__inner > span {
    display: block !important;

    max-width: 660px !important;
    margin: 0 !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13.5px !important;
    line-height: 1.62 !important;

    color: rgba(248, 245, 239, .76) !important;
    -webkit-text-fill-color: rgba(248, 245, 239, .76) !important;
}

html body.page-gallery
.aio-gallery-museum-submit.aio-gallery-museum-submit_empty
.aio-gallery-museum-submit__links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;

    margin-top: 24px !important;
}

html body.page-gallery
.aio-gallery-museum-submit.aio-gallery-museum-submit_empty
.aio-gallery-museum-submit__links a {
    display: inline-flex !important;

    min-height: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    color: #F8F5EF !important;
    -webkit-text-fill-color: #F8F5EF !important;
}

html body.page-gallery
.aio-gallery-museum-submit.aio-gallery-museum-submit_empty
.aio-gallery-museum-submit__links a::after {
    content: " +" !important;
}

@media (max-width: 720px) {
    html body.page-gallery
    .aio-gallery-museum-empty.aio-empty-state-standard {
        padding: 20px !important;
    }

    html body.page-gallery
    .aio-gallery-museum-empty.aio-empty-state-standard h2 {
        font-size: 30px !important;
    }

    html body.page-gallery
    .aio-gallery-museum-submit.aio-gallery-museum-submit_empty {
        min-height: 260px !important;
        margin-top: 22px !important;
    }

    html body.page-gallery
    .aio-gallery-museum-submit.aio-gallery-museum-submit_empty
    .aio-gallery-museum-submit__inner {
        min-height: 260px !important;
        padding: 30px 22px !important;
    }
}


/* =========================================================
   AIO_CLUB_MANAGER_FINAL_BUNDLE_20260724
   Source commit: 6c763145e120ab1291417ac492cf7a9d9fcbffa9
   Installed: 20260724-134014
   ========================================================= */

.aio-club-manager-main {
    min-width: 0 !important;
}

html body.page-account-club
.aio-club-manager-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-club
.aio-club-manager-card,
html body.page-account-club
.aio-club-manager-upload-card {
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 30px 36px 34px !important;

    border: 1px solid rgba(6,31,62,.075) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.82) !important;
    background-image: none !important;

    box-shadow:
        0 16px 42px rgba(17,20,24,.025) !important;
}

html body.page-account-club
.aio-club-manager-heading {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 24px !important;

    margin: 0 0 28px !important;
    padding: 0 0 23px !important;

    border-bottom: 1px solid rgba(6,31,62,.075) !important;
}

html body.page-account-club
.aio-club-manager-heading h2 {
    max-width: 760px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(33px, 2.8vw, 43px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    letter-spacing: -.018em !important;

    color: #061F3E !important;
}

html body.page-account-club
.aio-club-manager-card
.aio-lk-card__head {
    margin: 0 0 23px !important;
    padding: 0 !important;
}

html body.page-account-club
.aio-club-manager-card
.aio-lk-card__head h3,
html body.page-account-club
.aio-club-manager-upload-card h3 {
    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "AIO Cormorant",
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: clamp(28px, 2.3vw, 35px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -.012em !important;

    color: #061F3E !important;
}

html body.page-account-club
.aio-club-manager-public-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 40px !important;
    padding: 0 16px !important;

    border: 1px solid rgba(6,31,62,.17) !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .115em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    color: #061F3E !important;
    text-decoration: none !important;

    transition:
        color .18s ease,
        border-color .18s ease,
        background-color .18s ease !important;
}

html body.page-account-club
.aio-club-manager-public-link::after {
    content: "↗" !important;

    margin-left: 9px !important;

    font-size: 12px !important;
}

html body.page-account-club
.aio-club-manager-public-link:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #FFFFFF !important;
}

html body.page-account-club
.aio-club-manager-card
.aio-lk-fields {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    row-gap: 22px !important;
    column-gap: 24px !important;

    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-club
.aio-club-manager-card
.aio-lk-fields__full {
    grid-column: 1 / -1 !important;
}

html body.page-account-club
.aio-club-manager-card
label {
    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;
    margin: 0 !important;
}

html body.page-account-club
.aio-club-manager-card
label > span:first-child {
    display: block !important;

    margin: 0 0 8px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 9px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    color: rgba(17,20,24,.52) !important;
}

html body.page-account-club
.aio-club-manager-card input[type="text"],
html body.page-account-club
.aio-club-manager-card input[type="email"],
html body.page-account-club
.aio-club-manager-card input[type="tel"],
html body.page-account-club
.aio-club-manager-card select,
html body.page-account-club
.aio-club-manager-card textarea {
    box-sizing: border-box !important;

    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;

    border: 1px solid rgba(6,31,62,.13) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.96) !important;
    background-image: none !important;

    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.82) !important;
    -webkit-text-fill-color: rgba(17,20,24,.82) !important;

    transition:
        border-color .18s ease,
        box-shadow .18s ease !important;
}

html body.page-account-club
.aio-club-manager-card input[type="text"],
html body.page-account-club
.aio-club-manager-card input[type="email"],
html body.page-account-club
.aio-club-manager-card input[type="tel"],
html body.page-account-club
.aio-club-manager-card select {
    height: 46px !important;
    min-height: 46px !important;

    padding: 0 13px !important;
}

html body.page-account-club
.aio-club-manager-card textarea {
    min-height: 128px !important;
    padding: 12px 13px !important;
    resize: vertical !important;
}

html body.page-account-club
.aio-club-manager-card
textarea[name="description"] {
    min-height: 210px !important;
}

html body.page-account-club
.aio-club-manager-card input:focus,
html body.page-account-club
.aio-club-manager-card select:focus,
html body.page-account-club
.aio-club-manager-card textarea:focus {
    outline: none !important;

    border-color: rgba(169,67,43,.60) !important;

    box-shadow:
        0 0 0 2px rgba(169,67,43,.055) !important;
}

html body.page-account-club
.aio-club-manager-card input::placeholder,
html body.page-account-club
.aio-club-manager-card textarea::placeholder {
    color: rgba(17,20,24,.28) !important;
    opacity: 1 !important;
}

html body.page-account-club
.aio-club-manager-card small,
html body.page-account-club
.aio-club-manager-image-error,
html body.page-account-club
.aio-club-manager-system-note {
    display: block !important;

    margin-top: 7px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 10.5px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    font-style: normal !important;

    color: rgba(17,20,24,.34) !important;
}

html body.page-account-club
.aio-club-manager-upload-card {
    display: grid !important;
    grid-template-columns:
        minmax(210px, 238px)
        minmax(0, 1fr) !important;

    gap: 34px !important;
    align-items: center !important;

    min-height: 248px !important;
}

html body.page-account-club
.aio-club-manager-upload-card
.aio-lk-photo-preview {
    position: relative !important;

    width: 100% !important;
    max-width: 238px !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;

    margin: 0 !important;

    border: 1px solid rgba(6,31,62,.075) !important;
    border-radius: 0 !important;

    background:
        linear-gradient(
            145deg,
            #061F3E,
            #161A20
        ) !important;

    box-shadow: none !important;
    overflow: hidden !important;
}

html body.page-account-club
.aio-club-manager-logo-preview {
    max-width: 210px !important;
    aspect-ratio: 1 / 1 !important;

    background: #FFFFFF !important;
}

html body.page-account-club
.aio-club-manager-upload-card
.aio-lk-photo-preview img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;
}

html body.page-account-club
.aio-club-manager-logo-preview img {
    box-sizing: border-box !important;

    object-fit: contain !important;
    padding: 12px !important;
}

html body.page-account-club
.aio-club-manager-upload-card
.aio-lk-photo-preview > span {
    position: absolute !important;
    inset: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-family:
        "AIO Cormorant",
        "Cormorant Garamond",
        Georgia,
        serif !important;

    font-size: 27px !important;
    font-weight: 400 !important;

    color: rgba(255,255,255,.58) !important;
}

html body.page-account-club
.aio-club-manager-logo-preview > span {
    color: rgba(6,31,62,.40) !important;
}

html body.page-account-club
.aio-club-manager-upload-card
.aio-lk-card_photo__content {
    min-width: 0 !important;
    min-height: 0 !important;
}

html body.page-account-club
.aio-club-manager-upload-card h3 {
    margin-bottom: 13px !important;
}

html body.page-account-club
.aio-club-manager-upload-card p {
    max-width: 680px !important;

    margin: 0 0 10px !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;

    color: rgba(17,20,24,.54) !important;
}

html body.page-account-club
.aio-club-manager-upload-card
.aio-lk-photo-upload-note {
    margin-bottom: 18px !important;

    font-size: 10.5px !important;
    line-height: 1.55 !important;

    color: rgba(17,20,24,.34) !important;
}

html body.page-account-club
.aio-club-manager-upload-card
input[type="file"] {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11.5px !important;
    line-height: 1.4 !important;

    color: rgba(17,20,24,.42) !important;
}

html body.page-account-club
.aio-club-manager-upload-card
input[type="file"]::file-selector-button,
html body.page-account-club
.aio-club-manager-upload-card
input[type="file"]::-webkit-file-upload-button {
    min-height: 38px !important;

    margin: 0 12px 0 0 !important;
    padding: 0 16px !important;

    border: 1px solid rgba(6,31,62,.17) !important;
    border-radius: 0 !important;

    background: #F8F5EF !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;

    color: #061F3E !important;

    cursor: pointer !important;
}

html body.page-account-club
.aio-club-manager-upload-card
input[type="file"]::file-selector-button:hover,
html body.page-account-club
.aio-club-manager-upload-card
input[type="file"]::-webkit-file-upload-button:hover {
    border-color: #A9432B !important;
    background: #A9432B !important;
    color: #FFFFFF !important;
}

html body.page-account-club
.aio-club-manager-actions {
    margin: 1px 0 0 !important;
}

html body.page-account-club
.aio-club-manager-system-note {
    margin: 19px 0 0 !important;
    padding: 17px 0 0 !important;

    border-top: 1px solid rgba(6,31,62,.065) !important;
}

html body.page-account-club
.aio-club-manager-switcher {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;

    margin: 0 0 22px !important;
}

html body.page-account-club
.aio-club-manager-switcher a {
    display: inline-flex !important;
    align-items: center !important;

    min-height: 34px !important;
    padding: 0 12px !important;

    border: 1px solid rgba(6,31,62,.13) !important;

    background: rgba(255,255,255,.72) !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;

    color: rgba(6,31,62,.68) !important;
    text-decoration: none !important;
}

html body.page-account-club
.aio-club-manager-switcher a.is-active {
    border-color: #A9432B !important;
    color: #A9432B !important;
}

@media (max-width: 820px) {
    html body.page-account-club
    .aio-club-manager-card,
    html body.page-account-club
    .aio-club-manager-upload-card {
        padding: 25px 20px 28px !important;
    }

    html body.page-account-club
    .aio-club-manager-heading {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 17px !important;
    }

    html body.page-account-club
    .aio-club-manager-card
    .aio-lk-fields {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    html body.page-account-club
    .aio-club-manager-card
    .aio-lk-fields__full {
        grid-column: auto !important;
    }

    html body.page-account-club
    .aio-club-manager-upload-card {
        grid-template-columns: 1fr !important;
        gap: 22px !important;

        min-height: 0 !important;
    }

    html body.page-account-club
    .aio-club-manager-upload-card
    .aio-lk-photo-preview {
        max-width: 430px !important;
    }

    html body.page-account-club
    .aio-club-manager-logo-preview {
        max-width: 220px !important;
    }
}

/* AIO_ACCOUNT_CLUB_MANAGER_20260724_END */


/* AIO_ACCOUNT_CLUB_REFINEMENT_20260724_START
   Финальная коррекция кабинета клуба:
   воздух первой карточки, нейтральные промежутки,
   универсальный логотип.
   ========================================================= */

html body.page-account-club
.aio-club-manager-main {
    background: #F8F5EF !important;
}

html body.page-account-club
.aio-club-manager-form {
    gap: 18px !important;
    background: #F8F5EF !important;
}

/*
 * Убираем песочную/жёлтую подложку,
 * видимую между отдельными белыми карточками.
 */
html body.page-account-club
.aio-club-manager-form::before,
html body.page-account-club
.aio-club-manager-form::after,
html body.page-account-club
.aio-club-manager-main::before,
html body.page-account-club
.aio-club-manager-main::after {
    background: transparent !important;
    background-image: none !important;
}

/*
 * Первая карточка: заголовок клуба и кнопка
 * больше не прилипают к верхней границе.
 */
html body.page-account-club
.aio-club-manager-main-card {
    padding-top: 42px !important;
}

html body.page-account-club
.aio-club-manager-main-card
.aio-club-manager-heading {
    align-items: center !important;
    margin-top: 0 !important;
}

/*
 * Размер шрифта названия клуба сохраняем,
 * меняется только вертикальный воздух.
 */
html body.page-account-club
.aio-club-manager-main-card
.aio-club-manager-heading h2 {
    padding-top: 2px !important;
}

/*
 * Кнопка располагается в одной спокойной
 * горизонтали с названием клуба.
 */
html body.page-account-club
.aio-club-manager-main-card
.aio-club-manager-public-link {
    flex: 0 0 auto !important;
    margin-top: 1px !important;
}

/*
 * Каждая карточка имеет собственный белый фон.
 * За её границами остаётся нейтральный фон страницы.
 */
html body.page-account-club
.aio-club-manager-card,
html body.page-account-club
.aio-club-manager-upload-card {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
}

/*
 * Универсальная область логотипа:
 * квадрат, белый фон, contain.
 * Подходит для круглых, вертикальных,
 * квадратных и гербовых эмблем.
 */
html body.page-account-club
.aio-club-manager-logo-preview {
    width: 210px !important;
    max-width: 210px !important;
    height: 210px !important;
    aspect-ratio: 1 / 1 !important;

    border: 1px solid rgba(6,31,62,.09) !important;
    background: #FFFFFF !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body.page-account-club
.aio-club-manager-logo-preview img {
    box-sizing: border-box !important;

    width: 100% !important;
    height: 100% !important;

    padding: 16px !important;

    object-fit: contain !important;
    object-position: center !important;

    background: #FFFFFF !important;
}

/*
 * Обложка остаётся горизонтальной:
 * для неё contain не применяется.
 */
html body.page-account-club
.aio-club-manager-cover-preview img {
    padding: 0 !important;
    object-fit: cover !important;
}

@media (max-width: 820px) {
    html body.page-account-club
    .aio-club-manager-main-card {
        padding-top: 31px !important;
    }

    html body.page-account-club
    .aio-club-manager-main-card
    .aio-club-manager-heading {
        align-items: flex-start !important;
    }

    html body.page-account-club
    .aio-club-manager-logo-preview {
        width: 200px !important;
        max-width: 200px !important;
        height: 200px !important;
    }
}

/* AIO_ACCOUNT_CLUB_REFINEMENT_20260724_END */


/* AIO_ACCOUNT_CLUB_TOP_AIR_SPECIFICITY_FIX_20260724_START
   Исправление конфликта с глобальным правилом:
   .aio-lk-form > .aio-lk-card:first-of-type {
       padding-top: 0 !important;
   }

   Селектор ниже повторяет :first-of-type и добавляет
   страницу и специализированные классы клуба.
   ========================================================= */

html body.page-account-club
.aio-club-manager-form
> section.aio-lk-card.aio-club-manager-card.aio-club-manager-main-card:first-of-type {
    box-sizing: border-box !important;

    padding:
        56px
        36px
        34px !important;
}

html body.page-account-club
.aio-club-manager-form
> section.aio-club-manager-main-card:first-of-type
> .aio-club-manager-heading {
    align-items: center !important;

    margin:
        0
        0
        28px !important;

    padding:
        0
        0
        23px !important;
}

html body.page-account-club
.aio-club-manager-form
> section.aio-club-manager-main-card:first-of-type
> .aio-club-manager-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-account-club
.aio-club-manager-form
> section.aio-club-manager-main-card:first-of-type
> .aio-club-manager-heading
> .aio-club-manager-public-link,
html body.page-account-club
.aio-club-manager-form
> section.aio-club-manager-main-card:first-of-type
> .aio-club-manager-heading
> a.aio-club-manager-public-link {
    align-self: center !important;

    margin: 0 !important;
}

@media (max-width: 820px) {
    html body.page-account-club
    .aio-club-manager-form
    > section.aio-lk-card.aio-club-manager-card.aio-club-manager-main-card:first-of-type {
        padding:
            38px
            20px
            28px !important;
    }

    html body.page-account-club
    .aio-club-manager-form
    > section.aio-club-manager-main-card:first-of-type
    > .aio-club-manager-heading {
        align-items: flex-start !important;
    }

    html body.page-account-club
    .aio-club-manager-form
    > section.aio-club-manager-main-card:first-of-type
    > .aio-club-manager-heading
    .aio-club-manager-public-link {
        align-self: flex-start !important;
    }
}


/* AIO_CLUB_MANAGER_FINAL_BUNDLE_20260724_END */


/* ============================================================
   AIO_CLUB_EVENTS_STAGE1_20260724
   Управление клубом: вкладки и список событий
   ============================================================ */

.aio-club-manager-sections {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 0 28px;
    padding: 0;
    border-bottom: 1px solid rgba(6, 31, 62, .10);
}

.aio-club-manager-sections a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0 12px;
    color: rgba(6, 31, 62, .52);
    font-family: "AIO Montserrat", "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color .2s ease,
        opacity .2s ease;
}

.aio-club-manager-sections a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: transparent;
}

.aio-club-manager-sections a:hover,
.aio-club-manager-sections a.is-active {
    color: #061f3e;
}

.aio-club-manager-sections a.is-active::after {
    background: #a9432b;
}

.aio-club-events-panel {
    width: 100%;
}

.aio-club-events-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin: 0 0 28px;
    padding: 0 0 27px;
    border-bottom: 1px solid rgba(6, 31, 62, .10);
}

.aio-club-events-heading > div {
    min-width: 0;
}

.aio-club-events-kicker {
    display: block;
    margin: 0 0 8px;
    color: #a9432b;
    font-family: "AIO Montserrat", "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.aio-club-events-heading h2 {
    margin: 0;
    color: #061f3e;
    font-family: "AIO Cormorant Garamond",
        "Cormorant Garamond",
        serif;
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 400;
    line-height: .98;
}

.aio-club-events-heading p {
    max-width: 620px;
    margin: 13px 0 0;
    color: rgba(17, 20, 24, .54);
    font-family: "AIO Montserrat", "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
}

.aio-club-events-add,
.aio-club-event-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(6, 31, 62, .22);
    color: #061f3e;
    font-family: "AIO Montserrat", "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.aio-club-events-add {
    min-height: 42px;
    padding: 0 20px;
}

.aio-club-event-edit {
    min-height: 36px;
    padding: 0 15px;
}

.aio-club-events-add.is-disabled,
.aio-club-event-edit.is-disabled {
    cursor: default;
    opacity: .42;
}

.aio-club-events-list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(6, 31, 62, .08);
}

.aio-club-event-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    min-height: 132px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(6, 31, 62, .08);
}

.aio-club-event-card__date {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 22px;
    border-right: 1px solid rgba(6, 31, 62, .10);
}

.aio-club-event-card__date strong {
    color: #061f3e;
    font-family: "AIO Cormorant Garamond",
        "Cormorant Garamond",
        serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
}

.aio-club-event-card__date span {
    color: rgba(17, 20, 24, .42);
    font-family: "AIO Montserrat", "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.aio-club-event-card__content {
    min-width: 0;
}

.aio-club-event-card__content h3 {
    margin: 8px 0 0;
    color: #061f3e;
    font-family: "AIO Cormorant Garamond",
        "Cormorant Garamond",
        serif;
    font-size: clamp(24px, 2vw, 31px);
    font-weight: 400;
    line-height: 1.05;
}

.aio-club-event-card__content p {
    margin: 8px 0 0;
    color: rgba(17, 20, 24, .48);
    font-family: "AIO Montserrat", "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.55;
}

.aio-club-event-status {
    display: inline-flex;
    color: rgba(17, 20, 24, .46);
    font-family: "AIO Montserrat", "Montserrat", sans-serif;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.aio-club-event-status.is-review,
.aio-club-event-status.is-changes {
    color: #8a5d1b;
}

.aio-club-event-status.is-approved,
.aio-club-event-status.is-club-public {
    color: #446847;
}

.aio-club-event-status.is-rejected {
    color: #9b3b31;
}

.aio-club-event-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.aio-club-events-empty {
    padding: 56px 38px 60px;
    border: 1px solid rgba(6, 31, 62, .08);
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .70),
            rgba(235, 226, 211, .20)
        );
    text-align: center;
}

.aio-club-events-empty > span {
    display: block;
    margin: 0 0 10px;
    color: #a9432b;
    font-family: "AIO Montserrat", "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.aio-club-events-empty h3 {
    margin: 0;
    color: #061f3e;
    font-family: "AIO Cormorant Garamond",
        "Cormorant Garamond",
        serif;
    font-size: clamp(29px, 2.7vw, 39px);
    font-weight: 400;
    line-height: 1.05;
}

.aio-club-events-empty p {
    max-width: 500px;
    margin: 15px auto 0;
    color: rgba(17, 20, 24, .48);
    font-family: "AIO Montserrat", "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.65;
}

@media (max-width: 760px) {
    .aio-club-manager-sections {
        gap: 20px;
        overflow-x: auto;
    }

    .aio-club-events-heading {
        display: block;
    }

    .aio-club-events-add {
        margin-top: 22px;
    }

    .aio-club-event-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 18px;
    }

    .aio-club-event-card__date {
        padding-right: 16px;
    }

    .aio-club-event-card__date strong {
        font-size: 19px;
    }

    .aio-club-event-card__actions {
        grid-column: 2;
        justify-content: flex-start;
    }

    .aio-club-events-empty {
        padding: 44px 22px 48px;
    }
}


/* ============================================================
   AIO_CLUB_EVENTS_SEPARATE_PAGE_20260724
   Отдельная страница событий клуба
   ============================================================ */

.aio-club-events-kicker {
    color: rgba(17, 20, 24, .52);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
}

.aio-club-events-heading {
    background: transparent;
}

.aio-club-events-heading h2 {
    font-size: clamp(31px, 2.7vw, 41px);
    line-height: 1.02;
}

.aio-club-events-heading p {
    margin-top: 10px;
    color: rgba(17, 20, 24, .48);
}

.aio-club-events-add,
.aio-club-event-edit {
    background: transparent;
    border-color: rgba(6, 31, 62, .16);
    color: rgba(6, 31, 62, .72);
}

.aio-club-events-add:hover,
.aio-club-event-edit:hover {
    border-color: rgba(6, 31, 62, .34);
    color: #061f3e;
}

.aio-club-events-empty {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 46px 30px;
    background: #fff;
    border-color: rgba(6, 31, 62, .10);
}

.aio-club-events-empty__icon {
    display: flex;
    margin-bottom: 18px;
    color: rgba(17, 20, 24, .20);
}

.aio-club-events-empty > span:not(
    .aio-club-events-empty__icon
) {
    color: rgba(17, 20, 24, .46);
}

.aio-club-events-empty h3 {
    font-family: "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.aio-club-events-empty p {
    max-width: 520px;
    margin-top: 14px;
    color: rgba(17, 20, 24, .46);
    font-size: 11.5px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .aio-club-events-empty {
        min-height: 250px;
        padding: 38px 20px;
    }

    .aio-club-events-empty h3 {
        font-size: 17px;
    }
}


/* ============================================================
   AIO_CLUB_EVENTS_VISUAL_FIX_20260724
   Белый кабинетный фон без бежевой подложки
   ============================================================ */

.aio-account-club-events-page
.aio-club-manager-main {
    background: transparent;
}

.aio-account-club-events-page
.aio-club-manager-sections {
    margin-bottom: 0;
    background: #fff;
}

.aio-account-club-events-page
.aio-club-events-panel {
    background: #fff;
}

.aio-account-club-events-page
.aio-club-events-heading {
    margin-bottom: 0;
    padding: 28px 0 30px;
    background: #fff;
    border-bottom:
        1px solid rgba(6, 31, 62, .09);
}

.aio-account-club-events-page
.aio-club-events-kicker {
    margin-bottom: 8px;
    color: rgba(17, 20, 24, .50);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.aio-account-club-events-page
.aio-club-events-heading h2 {
    margin: 0;
    font-size: clamp(32px, 2.65vw, 42px);
    line-height: 1;
}

.aio-account-club-events-page
.aio-club-events-heading p {
    margin-top: 11px;
    color: rgba(17, 20, 24, .48);
}

.aio-account-club-events-page
.aio-club-events-add {
    min-height: 40px;
    padding: 0 19px;
    background: transparent;
    border:
        1px solid rgba(6, 31, 62, .16);
    color: rgba(6, 31, 62, .68);
}

.aio-account-club-events-page
.aio-club-events-add:hover {
    background: transparent;
    border-color: rgba(6, 31, 62, .32);
    color: #061f3e;
}

.aio-account-club-events-page
.aio-club-events-empty {
    min-height: 292px;
    margin-top: 32px;
    padding: 42px 28px;
    background: #fff;
    border:
        1px solid rgba(6, 31, 62, .09);
    box-shadow: none;
}

.aio-account-club-events-page
.aio-club-events-empty__icon {
    margin-bottom: 17px;
    color: rgba(17, 20, 24, .20);
}

.aio-account-club-events-page
.aio-club-events-empty h3 {
    margin: 0;
    color: #061f3e;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.aio-account-club-events-page
.aio-club-events-empty p {
    max-width: 510px;
    margin: 14px auto 0;
    color: rgba(17, 20, 24, .44);
    font-size: 11.5px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .aio-account-club-events-page
    .aio-club-events-heading {
        padding-top: 24px;
        padding-bottom: 25px;
    }

    .aio-account-club-events-page
    .aio-club-events-empty {
        min-height: 240px;
        margin-top: 24px;
        padding: 36px 20px;
    }
}


/* ============================================================
   AIO_CLUB_EVENTS_SPACING_FIX_20260724
   Геометрия списка и маршрут создания
   ============================================================ */

.aio-account-club-events-page
.aio-club-events-heading {
    box-sizing: border-box;
    padding:
        30px
        34px
        31px;
}

.aio-account-club-events-page
.aio-club-events-heading > div {
    padding: 0;
}

.aio-account-club-events-page
.aio-club-events-heading h2 {
    margin: 0;
}

.aio-account-club-events-page
.aio-club-events-heading p {
    margin:
        11px
        0
        0;
}

.aio-account-club-events-page
.aio-club-events-add {
    margin: 0;
}

.aio-account-club-events-page
.aio-club-events-empty {
    margin:
        32px
        34px
        34px;
}

.aio-account-club-event-create-page
.aio-club-event-create-shell {
    background: #fff;
}

.aio-account-club-event-create-page
.aio-club-event-create-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding:
        30px
        34px
        31px;
    border-bottom:
        1px solid rgba(6, 31, 62, .09);
}

.aio-account-club-event-create-page
.aio-club-event-create-heading h2 {
    margin: 0;
    color: #061f3e;
    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        serif;
    font-size:
        clamp(32px, 2.65vw, 42px);
    font-weight: 400;
    line-height: 1;
}

.aio-account-club-event-create-page
.aio-club-event-create-heading p {
    margin: 11px 0 0;
    color: rgba(17, 20, 24, .48);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 12px;
    line-height: 1.65;
}

.aio-club-event-create-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 19px;
    border:
        1px solid rgba(6, 31, 62, .16);
    color: rgba(6, 31, 62, .68);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.aio-club-event-create-back:hover {
    border-color: rgba(6, 31, 62, .32);
    color: #061f3e;
}

.aio-club-event-create-placeholder {
    margin:
        32px
        34px
        34px;
    padding: 40px 34px;
    border:
        1px solid rgba(6, 31, 62, .09);
    background: #fff;
    text-align: center;
}

.aio-club-event-create-placeholder h3 {
    margin: 0;
    color: #061f3e;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.aio-club-event-create-placeholder p {
    max-width: 520px;
    margin: 13px auto 0;
    color: rgba(17, 20, 24, .44);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 11.5px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .aio-account-club-events-page
    .aio-club-events-heading {
        display: block;
        padding:
            25px
            20px
            26px;
    }

    .aio-account-club-events-page
    .aio-club-events-add {
        margin-top: 21px;
    }

    .aio-account-club-events-page
    .aio-club-events-empty {
        margin:
            24px
            20px
            28px;
    }

    .aio-account-club-event-create-page
    .aio-club-event-create-heading {
        display: block;
        padding:
            25px
            20px
            26px;
    }

    .aio-club-event-create-back {
        margin-top: 21px;
    }

    .aio-club-event-create-placeholder {
        margin:
            24px
            20px
            28px;
        padding:
            34px
            20px;
    }
}


/* ============================================================
   AIO_CLUB_EVENT_CREATE_FORM_STYLE_20260725
   Непрерывный кремовый рабочий блок и форма события
   ============================================================ */

.aio-account-club-events-page
.aio-club-events-workspace,
.aio-account-club-events-page
.aio-club-manager-main {
    background: #fbfaf7;
}

.aio-account-club-events-page
.aio-club-manager-sections {
    margin: 0;
    padding:
        0
        34px;
    background: #fbfaf7;
}

.aio-account-club-events-page
.aio-club-events-panel,
.aio-account-club-event-create-page
.aio-club-event-create-shell {
    background: #fbfaf7;
}

.aio-account-club-events-page
.aio-club-events-heading,
.aio-account-club-event-create-page
.aio-club-event-create-heading {
    background: #fbfaf7;
}

.aio-account-club-events-page
.aio-club-events-empty {
    margin:
        0
        34px
        34px;
    min-height: 310px;
    background: rgba(255, 255, 255, .28);
    border:
        1px solid rgba(6, 31, 62, .09);
}

.aio-account-club-events-page
.aio-club-events-list {
    margin:
        0
        34px
        34px;
}

.aio-account-club-event-create-page
.aio-club-event-create-shell {
    padding-bottom: 34px;
}

.aio-account-club-event-create-page
.aio-club-event-create-heading {
    margin: 0;
}

.aio-club-event-form {
    margin:
        0
        34px;
    border:
        1px solid rgba(6, 31, 62, .09);
    background:
        rgba(255, 255, 255, .22);
}

.aio-club-event-form-section {
    display: grid;
    grid-template-columns:
        minmax(180px, 240px)
        minmax(0, 1fr);
    gap: 42px;
    padding:
        34px
        36px;
    border-bottom:
        1px solid rgba(6, 31, 62, .08);
}

.aio-club-event-form-section__head h3 {
    margin: 0;
    color: #061f3e;
    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.05;
}

.aio-club-event-form-section__head p {
    margin: 11px 0 0;
    color: rgba(17, 20, 24, .43);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.65;
}

.aio-club-event-form-fields {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap:
        24px
        22px;
}

.aio-club-event-form-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.aio-club-event-form-field_full {
    grid-column: 1 / -1;
}

.aio-club-event-form-field > span {
    display: block;
    margin: 0 0 8px;
    color: rgba(17, 20, 24, .52);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.aio-club-event-form-field input,
.aio-club-event-form-field select,
.aio-club-event-form-field textarea {
    box-sizing: border-box;
    width: 100%;
    border:
        1px solid rgba(6, 31, 62, .12);
    border-radius: 0;
    outline: none;
    background:
        rgba(255, 255, 255, .52);
    color: #061f3e;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 12px;
    font-weight: 400;
    transition:
        border-color .2s ease,
        background .2s ease;
}

.aio-club-event-form-field input,
.aio-club-event-form-field select {
    min-height: 46px;
    padding:
        0
        14px;
}

.aio-club-event-form-field textarea {
    min-height: 110px;
    padding:
        13px
        14px;
    line-height: 1.65;
    resize: vertical;
}

.aio-club-event-form-field input:focus,
.aio-club-event-form-field select:focus,
.aio-club-event-form-field textarea:focus {
    border-color:
        rgba(6, 31, 62, .32);
    background:
        rgba(255, 255, 255, .72);
}

.aio-club-event-form-field input::placeholder,
.aio-club-event-form-field textarea::placeholder {
    color: rgba(17, 20, 24, .28);
}

.aio-club-event-form-field small {
    display: block;
    margin: 7px 0 0;
    color: rgba(17, 20, 24, .34);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
}

.aio-club-event-form-field
small[data-validate-for]:not(:empty) {
    color: #a9432b;
}

.aio-club-event-form-field_note {
    box-sizing: border-box;
    min-height: 92px;
    justify-content: center;
    padding:
        14px
        16px;
    border:
        1px solid rgba(6, 31, 62, .08);
    background:
        rgba(255, 255, 255, .25);
}

.aio-club-event-form-field_note strong {
    color: #061f3e;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.aio-club-event-form-field_note small {
    margin-top: 5px;
}

.aio-club-event-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
    padding:
        25px
        36px;
}

.aio-club-event-form-cancel,
.aio-club-event-form-submit {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 0;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.aio-club-event-form-cancel {
    padding:
        0
        20px;
    border:
        1px solid rgba(6, 31, 62, .14);
    color:
        rgba(6, 31, 62, .62);
    background: transparent;
}

.aio-club-event-form-submit {
    padding:
        0
        24px;
    border:
        1px solid #061f3e;
    background: #061f3e;
    color: #fff;
    cursor: pointer;
}

.aio-club-event-form-cancel:hover {
    border-color:
        rgba(6, 31, 62, .30);
    color: #061f3e;
}

.aio-club-event-form-submit:hover {
    opacity: .90;
}

@media (max-width: 900px) {
    .aio-club-event-form-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 760px) {
    .aio-account-club-events-page
    .aio-club-manager-sections {
        padding:
            0
            20px;
    }

    .aio-account-club-events-page
    .aio-club-events-empty,
    .aio-account-club-events-page
    .aio-club-events-list {
        margin:
            0
            20px
            28px;
    }

    .aio-club-event-form {
        margin:
            0
            20px;
    }

    .aio-club-event-form-section {
        padding:
            27px
            20px;
    }

    .aio-club-event-form-fields {
        grid-template-columns: 1fr;
    }

    .aio-club-event-form-field_full {
        grid-column: auto;
    }

    .aio-club-event-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
        padding:
            22px
            20px;
    }

    .aio-club-event-form-cancel,
    .aio-club-event-form-submit {
        width: 100%;
    }
}


/* ============================================================
   AIO_CLUB_EVENT_LIST_EDIT_FIX_20260725
   Горизонтальный список и завершённая рабочая область
   ============================================================ */

.aio-account-club-events-page
.aio-club-events-workspace {
    position: relative;
    overflow: hidden;
    padding-bottom: 34px;
    background: #fbfaf7;
    border-bottom:
        1px solid rgba(6, 31, 62, .09);
}

.aio-account-club-events-page
.aio-club-events-panel {
    padding-bottom: 0;
    background: #fbfaf7;
}

.aio-account-club-events-page
.aio-club-events-empty {
    box-sizing: border-box;
    margin:
        0
        34px;
    background:
        rgba(255, 255, 255, .18);
}

.aio-account-club-events-page
.aio-club-events-list {
    display: block;
    box-sizing: border-box;
    margin:
        0
        34px;
    border-top:
        1px solid rgba(6, 31, 62, .09);
    background: transparent;
}

.aio-account-club-events-page
.aio-club-event-card {
    display: grid;
    grid-template-columns:
        122px
        minmax(0, 1fr)
        auto;
    width: 100%;
    min-height: 132px;
    box-sizing: border-box;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding:
        25px
        0;
    border: 0;
    border-bottom:
        1px solid rgba(6, 31, 62, .09);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.aio-account-club-events-page
.aio-club-event-card__date {
    display: flex;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding:
        0
        25px
        0
        0;
    border: 0;
    border-right:
        1px solid rgba(6, 31, 62, .09);
}

.aio-account-club-events-page
.aio-club-event-card__date strong {
    margin: 0;
    color: #061f3e;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.aio-account-club-events-page
.aio-club-event-card__date span {
    color: rgba(17, 20, 24, .42);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .04em;
}

.aio-account-club-events-page
.aio-club-event-card__body {
    min-width: 0;
}

.aio-account-club-events-page
.aio-club-event-status {
    display: inline-flex;
    margin: 0 0 8px;
    color: rgba(17, 20, 24, .45);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .13em;
}

.aio-account-club-events-page
.aio-club-event-card__body h3 {
    margin: 0;
    color: #061f3e;
    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        serif;
    font-size:
        clamp(24px, 2vw, 30px);
    font-weight: 400;
    line-height: 1.05;
}

.aio-account-club-events-page
.aio-club-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap:
        5px
        16px;
    margin-top: 9px;
}

.aio-account-club-events-page
.aio-club-event-card__meta span {
    position: relative;
    color: rgba(17, 20, 24, .47);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 10.5px;
    line-height: 1.45;
}

.aio-account-club-events-page
.aio-club-event-card__meta span + span::before {
    content: "·";
    position: absolute;
    left: -10px;
    color: rgba(17, 20, 24, .28);
}

.aio-account-club-events-page
.aio-club-event-card__body > p {
    max-width: 680px;
    margin: 9px 0 0;
    color: rgba(17, 20, 24, .47);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 11px;
    line-height: 1.55;
}

.aio-account-club-events-page
.aio-club-event-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.aio-account-club-events-page
.aio-club-event-edit {
    min-width: 142px;
    min-height: 38px;
    box-sizing: border-box;
    padding:
        0
        17px;
    background: transparent;
    white-space: nowrap;
}

.aio-account-club-event-create-page
.aio-club-events-workspace {
    padding-bottom: 34px;
    background: #fbfaf7;
    border-bottom:
        1px solid rgba(6, 31, 62, .09);
}

.aio-account-club-event-create-page
.aio-club-event-create-shell {
    padding-bottom: 0;
    background: #fbfaf7;
}

.aio-account-club-event-create-page
.aio-club-event-form {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .aio-account-club-events-page
    .aio-club-events-workspace,
    .aio-account-club-event-create-page
    .aio-club-events-workspace {
        padding-bottom: 28px;
    }

    .aio-account-club-events-page
    .aio-club-events-empty,
    .aio-account-club-events-page
    .aio-club-events-list {
        margin:
            0
            20px;
    }

    .aio-account-club-events-page
    .aio-club-event-card {
        grid-template-columns:
            92px
            minmax(0, 1fr);
        gap: 18px;
    }

    .aio-account-club-events-page
    .aio-club-event-card__date {
        padding-right: 15px;
    }

    .aio-account-club-events-page
    .aio-club-event-card__date strong {
        font-size: 12px;
    }

    .aio-account-club-events-page
    .aio-club-event-card__actions {
        grid-column: 2;
        justify-content: flex-start;
    }

    .aio-account-club-events-page
    .aio-club-event-edit {
        min-width: 0;
    }
}


/* ============================================================
   AIO_CLUB_EVENT_SUBMIT_STYLE_20260725
   Финальный список, стрелки и отправка на модерацию
   ============================================================ */

/*
 * Убираем старую нижнюю бежевую полосу.
 * Вся рабочая область имеет единый кремовый фон.
 */
.aio-account-club-events-page
.aio-club-events-workspace,
.aio-account-club-event-create-page
.aio-club-events-workspace,
.aio-account-club-event-edit-page
.aio-club-events-workspace {
    overflow: visible !important;
    padding-bottom: 0 !important;
    background: #fbfaf7 !important;
    border-bottom:
        1px solid rgba(6, 31, 62, .09) !important;
}

.aio-account-club-events-page
.aio-club-events-workspace::before,
.aio-account-club-events-page
.aio-club-events-workspace::after,
.aio-account-club-events-page
.aio-club-manager-main::before,
.aio-account-club-events-page
.aio-club-manager-main::after {
    display: none !important;
    content: none !important;
}

.aio-account-club-events-page
.aio-club-events-panel {
    box-sizing: border-box;
    padding-bottom: 34px !important;
    background: #fbfaf7 !important;
}

.aio-account-club-event-create-page
.aio-club-event-create-shell,
.aio-account-club-event-edit-page
.aio-club-event-create-shell {
    box-sizing: border-box;
    padding-bottom: 34px !important;
    background: #fbfaf7 !important;
}

/*
 * Карточка события — без капсулы и случайного скругления.
 */
.aio-account-club-events-page
.aio-club-event-card {
    border-radius: 0 !important;
    background: transparent !important;
}

.aio-account-club-events-page
.aio-club-event-card__body h3 {
    font-size:
        clamp(27px, 2.25vw, 34px) !important;
}

/*
 * Статус как полноценный плотный кикер.
 */
.aio-account-club-events-page
.aio-club-event-status {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 3px 8px;
    background:
        rgba(17, 20, 24, .075);
    color:
        rgba(17, 20, 24, .62) !important;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: .14em !important;
    text-transform: uppercase;
}

.aio-account-club-events-page
.aio-club-event-status.is-review {
    background:
        rgba(138, 93, 27, .10);
    color: #79521b !important;
}

.aio-account-club-events-page
.aio-club-event-status.is-approved,
.aio-account-club-events-page
.aio-club-event-status.is-club-public {
    background:
        rgba(68, 104, 71, .10);
    color: #446847 !important;
}

/*
 * Стрелки и hover кнопок.
 */
.aio-account-club-events-page
.aio-club-event-edit,
.aio-account-club-events-page
.aio-club-events-add,
.aio-club-event-create-back,
.aio-club-event-form-back {
    transition:
        border-color .2s ease,
        color .2s ease;
}

.aio-account-club-events-page
.aio-club-event-edit::after,
.aio-account-club-events-page
.aio-club-events-add::after {
    content: "→";
    display: inline-block;
    margin-left: 10px;
    color: rgba(6, 31, 62, .45);
    transition:
        color .2s ease,
        transform .2s ease;
}

.aio-account-club-events-page
.aio-club-event-edit:hover::after,
.aio-account-club-events-page
.aio-club-events-add:hover::after {
    color: #a9432b;
    transform: translateX(4px);
}

.aio-club-event-create-back::before,
.aio-club-event-form-back::before {
    content: "←";
    display: inline-block;
    margin-right: 10px;
    color: rgba(6, 31, 62, .45);
    transition:
        color .2s ease,
        transform .2s ease;
}

.aio-club-event-create-back:hover::before,
.aio-club-event-form-back:hover::before {
    color: #a9432b;
    transform: translateX(-4px);
}

/*
 * Кнопка отправки — самостоятельное действие.
 */
.aio-club-event-form-review {
    border-color: #a9432b !important;
    background: #a9432b !important;
    color: #fff !important;
}

.aio-club-event-form-review:hover {
    opacity: .90;
}

.aio-club-event-form-save {
    border-color: #061f3e !important;
    background: transparent !important;
    color: #061f3e !important;
}

.aio-club-event-form-save:hover {
    background:
        rgba(6, 31, 62, .045) !important;
}

.aio-club-event-review-state {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 20px;
    border:
        1px solid rgba(138, 93, 27, .24);
    background:
        rgba(138, 93, 27, .07);
    color: #79521b;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aio-club-event-review-state.is-approved {
    border-color:
        rgba(68, 104, 71, .24);
    background:
        rgba(68, 104, 71, .07);
    color: #446847;
}

.aio-club-event-review-notice {
    margin:
        0
        34px;
    padding:
        18px
        22px;
    border:
        1px solid rgba(138, 93, 27, .16);
    background:
        rgba(138, 93, 27, .055);
}

.aio-club-event-review-notice strong {
    color: #79521b;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.aio-club-event-review-notice p {
    margin: 7px 0 0;
    color: rgba(17, 20, 24, .48);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 10.5px;
    line-height: 1.6;
}

.aio-club-event-form-lock {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.aio-club-event-form-lock:disabled {
    opacity: .70;
}

@media (max-width: 760px) {
    .aio-account-club-events-page
    .aio-club-events-panel,
    .aio-account-club-event-create-page
    .aio-club-event-create-shell,
    .aio-account-club-event-edit-page
    .aio-club-event-create-shell {
        padding-bottom: 28px !important;
    }

    .aio-club-event-review-notice {
        margin:
            0
            20px;
    }
}


/* ============================================================
   AIO_CLUB_EVENT_EXTENDED_FIELDS_STYLE_20260725
   Обложка, регистрация, оплата и комментарий АИО
   ============================================================ */

.aio-club-event-cover-current {
    display: grid;
    grid-template-columns:
        minmax(180px, 320px)
        minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.aio-club-event-cover-current img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border:
        1px solid rgba(6, 31, 62, .10);
}

.aio-club-event-cover-current label,
.aio-club-event-form-switch {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(17, 20, 24, .58);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.aio-club-event-cover-current input,
.aio-club-event-form-switch input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #061f3e;
}

.aio-club-event-review-comment {
    margin:
        0
        36px;
    padding:
        22px
        24px;
    border:
        1px solid rgba(169, 67, 43, .15);
    background:
        rgba(169, 67, 43, .045);
}

.aio-club-event-review-comment > span {
    display: block;
    margin-bottom: 8px;
    color: #a9432b;
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.aio-club-event-review-comment p {
    margin: 0;
    color: rgba(17, 20, 24, .60);
    font-family:
        "AIO Montserrat",
        "Montserrat",
        sans-serif;
    font-size: 11px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .aio-club-event-cover-current {
        grid-template-columns: 1fr;
    }

    .aio-club-event-review-comment {
        margin:
            0
            20px;
    }
}

/* ==========================================================
   AIO_EVENT_DETAIL_HERO_REFINEMENT_20260725
   Публичная страница события: hero и регистрационная колонка
   ========================================================== */

.aio-event-detail-museum-hero
.aio-events-museum-hero__inner {
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(330px, .72fr);
    column-gap: clamp(72px, 8.8vw, 150px);
    align-items: center;
}

.aio-event-detail-museum-hero
.aio-events-museum-hero__inner > div {
    min-width: 0;
}

.aio-event-detail-museum-hero
.aio-events-museum-hero__inner h1 {
    margin: 0;
    max-width: 760px;

    font-family:
        "AIO Cormorant Garamond",
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(40px, 3.35vw, 54px);
    font-style: normal;
    font-weight: 400;
    line-height: .96;
    letter-spacing: -.035em;
}

.aio-event-detail-museum-hero
.aio-events-museum-hero__inner > p {
    width: 100%;
    max-width: 510px;
    margin: 0 0 0 auto;
    justify-self: end;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif;

    font-size: clamp(13px, 1vw, 15px);
    font-weight: 400;
    line-height: 1.62;
}

.aio-event-detail-cover-row {
    align-items: stretch;
}

.aio-event-detail-cover-row
.aio-event-registration-card {
    min-height: 100%;
}

@media (max-width: 980px) {
    .aio-event-detail-museum-hero
    .aio-events-museum-hero__inner {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .aio-event-detail-museum-hero
    .aio-events-museum-hero__inner > p {
        max-width: 660px;
        margin-left: 0;
        justify-self: start;
    }

    .aio-event-detail-museum-hero
    .aio-events-museum-hero__inner h1 {
        font-size: clamp(39px, 7vw, 51px);
    }
}

@media (max-width: 640px) {
    .aio-event-detail-museum-hero
    .aio-events-museum-hero__inner h1 {
        font-size: clamp(36px, 11vw, 46px);
        line-height: .98;
    }
}

/* ==========================================================
   AIO_EVENT_DETAIL_HERO_RIGHT_SHIFT_20260725
   Публичное событие: окончательное положение правого текста
   ========================================================== */

.aio-event-detail-museum-hero
.aio-events-museum-hero__inner {
    grid-template-columns:
        minmax(0, 1.16fr)
        minmax(350px, .62fr);
    column-gap: clamp(110px, 11vw, 205px);
}

.aio-event-detail-museum-hero
.aio-events-museum-hero__inner > p {
    box-sizing: border-box;
    max-width: 470px;
    padding-left: clamp(42px, 4.5vw, 82px);
    margin-left: auto;
    justify-self: end;
}

@media (max-width: 1100px) {
    .aio-event-detail-museum-hero
    .aio-events-museum-hero__inner {
        column-gap: 70px;
    }

    .aio-event-detail-museum-hero
    .aio-events-museum-hero__inner > p {
        padding-left: 24px;
    }
}

@media (max-width: 980px) {
    .aio-event-detail-museum-hero
    .aio-events-museum-hero__inner > p {
        padding-left: 0;
        margin-left: 0;
    }
}

/* AIO_CLUB_FOOTER_FLOW_RECOVERY_20260726_START */

/*
 * Страница клуба завершается в обычном документном потоке.
 * Футер не позиционируется, не перекрывается и не обрезается.
 */
html body.page-club-item {
    overflow-x: hidden;
    overflow-y: auto;
}

html body.page-club-item .aio-main {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    overflow: visible;
    margin: 0;
    padding-bottom: 0;
}

html body.page-club-item .aio-main::after {
    content: "";
    display: table;
    clear: both;
}

html body.page-club-item .aio-footer {
    position: relative;
    inset: auto;
    z-index: 1;
    clear: both;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    overflow: visible;
    transform: none;
    clip-path: none;
}

/* Последний реальный раздел не создаёт наложения на footer. */
html body.page-club-item .aio-main > :last-child {
    margin-bottom: 0;
}

/* AIO_CLUB_FOOTER_FLOW_RECOVERY_20260726_END */

/* ==========================================================
   AIO_EVENT_CLUB_LEGAL_CARD_RESTORE_20260726
   Дисклеймер только на странице клубного события
   ========================================================== */

.aio-event-detail-museum-sidebar
.aio-event-club-legal-card {
    display: block !important;
    box-sizing: border-box !important;

    width: 100% !important;
    max-width: none !important;

    margin: 12px 0 0 !important;
    padding: 18px 20px 19px !important;

    background:
        rgba(251, 250, 247, .82) !important;

    border:
        1px solid rgba(169, 67, 43, .20) !important;

    border-radius: 0 !important;
    box-shadow: none !important;
}

.aio-event-detail-museum-sidebar
.aio-event-club-legal-card p {
    display: block !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    color: rgba(45, 45, 45, .58) !important;
    -webkit-text-fill-color:
        rgba(45, 45, 45, .58) !important;

    font-family:
        "AIO Montserrat",
        Montserrat,
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    font-weight: 400 !important;
    font-style: normal !important;

    line-height: 1.62 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/*
 * Дисклеймер не должен превращаться в свободный текст
 * из-за общих правил боковой колонки.
 */
.aio-event-detail-museum-sidebar
.aio-event-club-legal-card::before,
.aio-event-detail-museum-sidebar
.aio-event-club-legal-card::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 980px) {
    .aio-event-detail-museum-sidebar
    .aio-event-club-legal-card {
        margin-top: 12px !important;
    }
}

@media (max-width: 640px) {
    .aio-event-detail-museum-sidebar
    .aio-event-club-legal-card {
        padding: 16px 17px 17px !important;
    }

    .aio-event-detail-museum-sidebar
    .aio-event-club-legal-card p {
        font-size: 10.5px !important;
        line-height: 1.6 !important;
    }
}
