

/* Start:/local/templates/woman19/styles.css?177858209515346*/
@font-face {
    font-family: 'Times';
    src: url('/local/templates/woman19/assets/fonts/TimesNewRoman-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Times';
    src: url('/local/templates/woman19/assets/fonts/TimesNewRoman-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Texgy';
    src: url('/local/templates/woman19/assets/fonts/texgyreadventor-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Texgy';
    src: url('/local/templates/woman19/assets/fonts/texgyreadventor-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/local/templates/woman19/assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/local/templates/woman19/assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Georgia';
    src: url('/local/templates/woman19/assets/fonts/georgia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Georgia';
    src: url('/local/templates/woman19/assets/fonts/georgiab.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* ─── ПЕРЕМЕННЫЕ ─────────────────────────────────────── */
:root {
    /* Цвета */
    --color-bg:          #FFF9F4;
    --color-accent:      #B11733;
    --color-blue:        #284877;
    --color-gold-light:  #FFF5DA;

    /* Типографика */
    --font-h1:    clamp(1.75rem, 4vw, 3rem);       /* 28px → 48px */
    --font-h2:    clamp(1.25rem, 2.5vw, 2rem);     /* 20px → 32px */
    --font-body:  clamp(1rem, 1.25vw, 1.25rem);    /* 16px → 20px */

    /* Сетка */
    --container-width:   90rem;    /* ~1440px — стандарт для 1920 */
    --text-width:        70rem;    /* ~1120px */
    --container-padding: 1.5rem;   /* боковые отступы на малых экранах */
}

/* ─── СБРОС ──────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ─── БАЗА ───────────────────────────────────────────── */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    font-size: var(--font-body);
    font-family: 'Georgia', serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}

.font--times {
    font-family: 'Times', serif;
}

.font--inter {
    font-family: 'Inter', serif;
}

/* ─── КОНТЕЙНЕРЫ ─────────────────────────────────────── */
.container {
    width: min(var(--container-width), 100% - var(--container-padding) * 2);
    margin-inline: auto;
}

.container--text {
    width: min(var(--text-width), 100% - var(--container-padding) * 2);
    margin-inline: auto;
}

.container--flex {
    display: flex;
    justify-content: space-between;
}

/* ─── ТИПОГРАФИКА ────────────────────────────────────── */
h1 {
    font-family: 'Inter', serif;
    font-size: var(--font-h1);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(180deg, #F7FAC5, #F1E589);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.3;
    /* цвет применяй через модификаторы: */
}

h2.h2--accent { color: var(--color-accent); }
h2.h2--blue   { color: var(--color-blue); }
h2.h2--gold   { color: var(--color-gold-light); }

/* ─── СЕКЦИИ ВО ВСЮ ШИРИНУ ───────────────────────────── */
.section {
    width: 100%;
    padding-block: 3.5rem;
}

.section--accent {
    background-color: var(--color-accent);
}
.logo {
    max-height: 50px;
    height: auto;
}
.logo--project {
    max-height: 140px;
    position: relative;
    top: -20px;
}
.logo--rts {
    margin-top: 7px;
}
.logos {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}
.banner {
    width: 100%;
}
.banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 100dvh;
    object-fit: cover;
}
.title--block {
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.title--block img {
    max-width: 130px;
    object-fit: contain;
}
.text--block p {
    padding-block: 0.8rem;
    font-size: var(--font-body);
}
ol, ul {
    padding-left: 1.5rem; /* отступ чтобы маркер был виден */
}

ol { list-style: decimal; }
ul { list-style: disc; }
li {padding-block: 0.3rem;}

.text--block a {
    color: #2F80ED;
    text-decoration: none;
    cursor: pointer;
}

.text--block a:hover {
    color: var(--color-blue);
}

.menu {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}
.menu-item {
    text-decoration: none;
    color: var(--color-bg);
    font-family: 'Inter', serif;
    position: relative;
    padding-bottom: 4px;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-bg);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.menu-item:hover::after {
    transform: scaleX(1);
}

/* ─── БУРГЕР (скрыт на десктопе) ────────────────────── */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.burger__line {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-bg);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Анимация в крестик */
.burger--open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open .burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger--open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.advertising {
    font-size: 14px;
    font-family: "Inter", serif;
}

/* ─── АДАПТИВ ────────────────────────────────────────── */

/* Планшет и ниже (≤ 1024px) */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1.25rem;
    }

    .logo--project {
        max-height: 110px;
    }

    .menu {
        gap: 0.25rem 0.75rem;
    }

    .menu-item {
        font-size: 0.9rem;
    }
}

/* Планшет (≤ 768px) — бургер включается */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    header .container--flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .logos {
        justify-content: center;
    }

    h1 {
        text-align: center;
    }

    /* Строка бургера: бургер справа */
    .header__nav-row {
        position: relative;
        justify-content: flex-end;
        align-items: center;
        padding-block: 0.25rem;
    }

    /* Бургер видим */
    .burger {
        display: flex;
    }

    /* Меню — дропдаун под хедером */
    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--color-accent);
        z-index: 100;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .menu--open {
        display: flex;
    }

    .menu-item {
        font-size: 1rem;
        width: 100%;
        text-align: center;
        padding: 0.7rem 1rem;
    }

    /* Подчёркивание на мобиле — горизонтально центрировано */
    .menu-item::after {
        left: 50%;
        transform: scaleX(0) translateX(-50%);
        transform-origin: left;
        width: 60%;
    }

    .menu-item:hover::after {
        transform: scaleX(1) translateX(-50%);
    }

    .section {
        padding-block: 2.5rem;
    }

    .title--block {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        text-align: center;
    }

    .title--block img {
        max-width: 90px;
    }

    .partners {
        gap: 1rem;
        justify-content: space-between;
    }
    .partner-card {
        flex: 0 1 175px;
    }
}

/* Мобильный (≤ 480px) */
@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
        --font-h1: clamp(1.25rem, 7vw, 1.75rem);
        --font-h2: clamp(1.1rem, 5vw, 1.4rem);
        --font-body: clamp(0.9rem, 4vw, 1rem);
    }

    .logo--project {
        max-height: 80px;
        top: -10px;
    }

    .logo {
        max-height: 35px;
    }

    .logos {
        gap: 1rem;
    }

    .menu-item {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .section {
        padding-block: 2rem;
    }

    .text--block p {
        padding-block: 0.6rem;
    }

    .title--block img {
        max-width: 70px;
    }

    .partners {
        gap: 1rem;
        justify-content: space-between;
    }
    .partner-card {
        flex: 0 1 175px;
    }
}

/* ─── ГАЛЕРЕЯ ПОБЕДИТЕЛЬНИЦЫ ─────────────────────── */
.winner-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-block: 0.5rem;
}

.winner-gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 2 / 3;
    border: 2px solid rgba(255, 245, 218, 0.2);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.winner-gallery__item:hover {
    border-color: var(--color-gold-light);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.winner-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.winner-gallery__item:hover img {
    transform: scale(1.07);
}

.winner-gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(177, 23, 51, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.winner-gallery__item:hover .winner-gallery__overlay {
    opacity: 1;
}

.winner-gallery__icon {
    width: 58px;
    height: 58px;
    border: 2px solid var(--color-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
    transform: scale(0.75);
    transition: transform 0.3s ease;
}

.winner-gallery__item:hover .winner-gallery__icon {
    transform: scale(1);
}

/* ─── МОДАЛЬНОЕ ОКНО ПОБЕДИТЕЛЬНИЦЫ ─────────────── */
.winner-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.winner-modal--open {
    display: flex;
}

.winner-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 8, 12, 0.92);
    cursor: pointer;
}

.winner-modal__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-inline: 0.5rem;
    animation: winnerModalIn 0.3s ease;
}

@keyframes winnerModalIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.winner-modal__img {
    max-width: 80vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid rgba(255, 245, 218, 0.25);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
    display: block;
}

.winner-modal__close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: transparent;
    border: 2px solid var(--color-gold-light);
    color: var(--color-gold-light);
    border-radius: 50%;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.winner-modal__close:hover {
    background: var(--color-gold-light);
    color: var(--color-accent);
}

.winner-modal__nav {
    background: rgba(255, 245, 218, 0.08);
    border: 2px solid rgba(255, 245, 218, 0.5);
    color: var(--color-gold-light);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.winner-modal__nav:hover {
    background: rgba(255, 245, 218, 0.2);
    border-color: var(--color-gold-light);
}

.winner-modal__counter {
    position: absolute;
    bottom: -2.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 245, 218, 0.65);
    font-family: 'Inter', serif;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .winner-gallery {
        gap: 1rem;
    }

    .winner-modal__nav {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.4rem;
    }

    .winner-modal__img {
        max-width: 85vw;
    }
}

@media (max-width: 480px) {
    .winner-gallery {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-inline: auto;
    }

    .winner-modal__content {
        gap: 0.5rem;
    }

    .winner-modal__nav {
        width: 2rem;
        height: 2rem;
        font-size: 1.2rem;
    }
}
/* End */
/* /local/templates/woman19/styles.css?177858209515346 */
