/* Общие стили внутренних страниц
 * Иерархия: раздел → блок → элементы; вложенные @media задают изменения на экранах разной ширины.
 * Меняйте значения свойств внутри нужного блока. Порядок правил сохранён: более поздние уточнения имеют приоритет.
 * Цвета и шрифты: :root. Размеры: padding, margin, gap, font-size.
 */

/* 01. Палитра, шрифты и переменные — основные настройки оформления */
:root {
    --g1: #031a2a;
    --g2: #0b3149;
    --g3: #1e597a;
    --g4: #255f81;
    --g5: #8cb8cf;
    --grad: linear-gradient(90deg,var(--g1) 0%,var(--g2) 18%,var(--g3) 42%,var(--g4) 72%,var(--g5) 100%);
    --ink: #0b3149;
    --sky: #255f81;
    --line: #d7e7ef;
    --pale: #e2eef4;
    --paper: #fafcfd;
    --muted: #6a8193;
    --white: #fff;
    --serif: 'Spectral',Georgia,serif;
    --sans: 'Manrope',Arial,sans-serif;
}

/* 02. Базовые стили и общие блоки */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: #34495a;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input {
    font: inherit;
}

h1,h2,h3,h4,p {
    margin-top: 0;
}

h1,h2,h3,h4 {
    font-family: var(--serif);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.13;
}

.wrap {
    width: min(1120px,calc(100% - 48px));
    margin-inline: auto;
}

.narrow {
    width: min(780px,calc(100% - 48px));
    margin-inline: auto;
}

/* 03. Шапка → логотип и навигация */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(11,49,73,.1);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    white-space: nowrap;
}

.brand img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    color: var(--ink);
    opacity: .76;
}

.nav-links a:hover,.nav-links a[aria-current=page] {
    opacity: 1;
}

/* 04. Пожертвования → реквизиты и поддержка */
.donate-link {
    padding: 10px 18px;
    border: 1px solid var(--ink);
    border-radius: 99px;
}

/* 05. Шапка → логотип и навигация */
.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--ink);
    padding: 8px;
}

/* 06. Первый экран страницы */
.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 100px;
    text-align: center;
    background: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    width: 920px;
    height: 920px;
    border: 1px solid var(--line);
    border-radius: 50%;
    left: 50%;
    top: 64%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    width: 680px;
    height: 680px;
    border: 1px dashed var(--line);
    border-radius: 50%;
    left: 50%;
    top: 64%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin-bottom: 22px;
    color: var(--sky);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(48px,8vw,98px);
    letter-spacing: -.035em;
    margin: 0 auto 24px;
    max-width: 980px;
}

.hero .lead {
    font-family: var(--serif);
    font-size: clamp(21px,3vw,32px);
    line-height: 1.4;
    color: var(--ink);
    max-width: 760px;
    margin: 0 auto 34px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* 07. Общие компоненты → кнопки и состояния */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 99px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    border: 1px solid var(--ink);
    transition: .2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11,49,73,.18);
}

.btn.secondary {
    background: #fff;
    color: var(--ink);
}

/* 08. Базовые стили и общие блоки */
.section {
    padding: 100px 0;
    background: #fff;
}

.section.alt {
    background: var(--pale);
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-head h2 {
    font-size: clamp(34px,5vw,54px);
    margin-bottom: 14px;
}

.section-head p {
    color: var(--muted);
    margin: 0;
}

.kicker {
    display: block;
    color: var(--sky);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* 09. О нас → команда и свидетельства */
.goal {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.goal h2 {
    font-size: clamp(36px,5vw,58px);
    margin: 0;
}

.goal-copy {
    font-family: var(--serif);
    font-size: clamp(22px,3vw,34px);
    line-height: 1.45;
    color: var(--ink);
}

/* 10. Базовые стили и общие блоки */
.verse {
    margin-top: 28px;
    padding-left: 24px;
    border-left: 2px solid var(--sky);
    color: var(--muted);
    font-style: italic;
}

/* 11. О нас → команда и свидетельства */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

/* 12. Базовые стили и общие блоки */
.person {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.person img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    background: var(--pale);
}

.person-body {
    padding: 20px;
}

.person h3 {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.person p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

/* 13. О нас → направления служения */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.work-item {
    min-height: 120px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-end;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 22px;
}

/* 14. О нас → команда и свидетельства */
.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.quote {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.quote p {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--ink);
    line-height: 1.55;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 24px;
    font-weight: 700;
    font-size: 14px;
}

.quote-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* 15. Базовые стили и общие блоки */
.creed {
    max-width: 900px;
    text-align: center;
    margin: auto;
    font-family: var(--serif);
    font-size: clamp(22px,3vw,34px);
    line-height: 1.55;
    color: var(--ink);
}

/* 16. Первый экран страницы */
.page-hero {
    padding: 90px 0 70px;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(46px,7vw,82px);
    margin-bottom: 18px;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}

/* 17. Каталог курсов */
.cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}

.course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.course-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

/* 18. Базовые стили и общие блоки */
.course-body {
    padding: 28px;
}

.course-body h2 {
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 18px;
}

.facts {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.facts li {
    font-size: 14px;
    margin-bottom: 8px;
}

/* 19. Каталог курсов */
.small-btn {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 99px;
    border: 1px solid var(--ink);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

/* 20. Пожертвования → реквизиты и поддержка */
.donate-intro {
    font-family: var(--serif);
    font-size: clamp(22px,3vw,32px);
    line-height: 1.5;
    color: var(--ink);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 48px;
}

.bank-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 34px;
}

.bank-card h2 {
    font-size: 30px;
}

.bank-details {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

/* 21. Базовые стили и общие блоки */
.detail {
    padding: 17px;
    background: var(--pale);
    border-radius: 8px;
}

.detail span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.detail strong {
    display: block;
    color: var(--ink);
    overflow-wrap: anywhere;
}

/* 22. Пожертвования → реквизиты и поддержка */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.support-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.support-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.support-card div {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    flex: 1;
}

.support-card h3 {
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

/* 23. О нас → команда и свидетельства */
.portrait-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: start;
}

.portrait-layout>img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.portrait-copy h2 {
    font-size: clamp(34px,4vw,50px);
}

.portrait-copy p {
    margin-bottom: 18px;
}

/* 24. Пожертвования → способы оплаты */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

/* 25. Пожертвования → реквизиты и поддержка */
.pay-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

/* 26. Пожертвования → способы оплаты */
.pay-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--pale);
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 26px;
}

/* 27. Пожертвования → реквизиты и поддержка */
.pay-card h3 {
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 700;
}

.pay-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.copy-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.copy-value {
    flex: 1;
    padding: 12px 14px;
    border-radius: 7px;
    background: var(--pale);
    font-family: ui-monospace,monospace;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.copy-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 7px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--ink);
}

.donor-hero {
    padding: 88px 0;
    background: #fff;
}

.donor-hero h1 {
    font-size: clamp(44px,6vw,76px);
    max-width: 850px;
}

.donor-hero .lead {
    font-size: 18px;
    max-width: 760px;
}

.stripe-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
}

.stripe-grid .btn {
    width: 100%;
}

/* 28. Текстовые разделы и контакты */
.article {
    padding: 90px 0;
    background: #fff;
}

.article h2 {
    font-size: clamp(32px,4vw,48px);
    margin-top: 58px;
}

.article h3 {
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 700;
    margin-top: 34px;
}

.article p {
    margin-bottom: 18px;
}

.privileges {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-top: 28px;
}

.privilege {
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 12px;
    background: #fff;
}

.privilege h3 {
    margin-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact {
    padding: 26px;
    background: var(--pale);
    border-radius: 10px;
}

.contact h3 {
    margin-top: 0;
}

/* 29. Семинар → аудиоуроки и книга */
.lesson-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
}

.lesson {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.lesson h2 {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* 30. Материалы → аудио */
.lesson audio {
    width: 100%;
    height: 42px;
}

/* 31. Семинар → аудиоуроки и книга */
.book {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: center;
}

.book img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(11,49,73,.15);
}

.book h2 {
    font-size: 38px;
}

/* 32. Социальные сети */
.social-row,.socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero .social-row {
    margin-top: 26px;
}

.team-socials {
    margin-top: 34px;
}

.social-icon,.socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--ink);
    transition: .2s;
}

.social-icon:hover,.socials a:hover {
    transform: translateY(-2px);
    background: var(--pale);
}

.social-icon svg,.socials a svg {
    width: 21px;
    height: 21px;
    display: block;
}

/* 33. Подвал сайта */
.site-footer {
    padding: 44px 0;
    background: var(--ink);
    color: #fff;
}

.footer-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-in .brand {
    color: #fff;
}

.footer-copy {
    font-size: 13px;
    color: #8cb8cf;
}

.site-footer .social-row,.site-footer .socials {
    justify-content: flex-end;
}

.site-footer .social-icon,.site-footer .socials a {
    color: #fff;
    border-color: rgba(255,255,255,.3);
}

.site-footer .social-icon:hover,.site-footer .socials a:hover {
    background: rgba(255,255,255,.1);
}

/* 34. Общие компоненты → уведомления */
.notice {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    background: var(--ink);
    color: #fff;
    border-radius: 99px;
    padding: 10px 18px;
    font-size: 13px;
    transition: .2s;
    z-index: 100;
}

.notice.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 35. Адаптивность → @media(max-width:900px) */
@media(max-width:900px) {
    .team-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .goal,.portrait-layout,.book {
        grid-template-columns: 1fr;
    }
    .cards {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .support-grid,.payment-grid {
        grid-template-columns: 1fr;
    }
    .portrait-layout>img {
        max-width: 440px;
    }
    .privileges {
        grid-template-columns: 1fr;
    }
}

/* 36. Адаптивность → @media(max-width:720px) */
@media(max-width:720px) {
    .wrap,.narrow {
        width: min(100% - 32px,1120px);
    }
    .nav {
        height: 68px;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 16px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        padding: 12px;
    }
    .donate-link {
        border: 0;
    }
    .hero {
        padding: 74px 0;
    }
    .hero-media img {
        aspect-ratio: 4/3;
    }
    .section {
        padding: 72px 0;
    }
    .goal {
        gap: 28px;
    }
    .work-grid {
        grid-template-columns: 1fr;
    }
    .testimonials {
        grid-template-columns: 1fr;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .course-card img {
        aspect-ratio: 1/1;
        object-fit: contain;
    }
    .bank-details,.contact-grid,.lesson-grid,.stripe-grid {
        grid-template-columns: 1fr;
    }
    .footer-in {
        flex-direction: column;
        text-align: center;
    }
    .site-footer .social-row,.site-footer .socials {
        justify-content: center;
    }
    .page-hero {
        padding: 64px 0 52px;
    }
}

/* 37. Адаптивность → @media(max-width:480px) */
@media(max-width:480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 50px;
    }
    .page-hero h1 {
        font-size: 44px;
    }
    .bank-card {
        padding: 24px;
    }
    .quote {
        padding: 26px;
    }
}

/* 38. Адаптивность → @media(prefers-reduced-motion:reduce) */
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    .btn,.notice {
        transition: none;
    }
}

/* 39. Пожертвования → реквизиты и поддержка */
.project-support {
    margin-top: 34px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: center;
    background: var(--pale);
}

.project-support p {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 16px;
}

/* 40. Шапка → логотип и навигация */
.brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky);
    flex: 0 0 auto;
}

/* 41. Подвал сайта */
.footer-logo {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

/* 42. О нас → направления служения */
.work-wheel {
    position: relative;
    width: min(720px,82vw);
    height: min(720px,82vw);
    margin: 0 auto;
}

.work-wheel::before,.work-wheel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.work-wheel::before {
    inset: 8%;
    border: 1px dashed var(--line);
}

.work-wheel::after {
    inset: 28%;
    border: 1px solid var(--line);
    background: var(--pale);
}

.work-center {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 27%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%,-50%);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(20px,3vw,29px);
    line-height: 1.15;
    color: var(--ink);
    box-shadow: 0 12px 36px rgba(11,49,73,.1);
}

.wheel-item {
    position: absolute;
    z-index: 3;
    width: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    text-align: center;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.3;
}

.wheel-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--sky);
    box-shadow: 0 8px 24px rgba(11,49,73,.08);
}

.wheel-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wheel-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.wheel-2 {
    top: 16%;
    right: 1%;
}

.wheel-3 {
    top: 48%;
    right: -5%;
    transform: translateY(-50%);
}

.wheel-4 {
    right: 8%;
    bottom: 7%;
}

.wheel-5 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.wheel-6 {
    left: 8%;
    bottom: 7%;
}

.wheel-7 {
    top: 48%;
    left: -5%;
    transform: translateY(-50%);
}

/* 43. Адаптивность → @media(max-width:640px) */
@media(max-width:640px) {
    .work-wheel {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .work-wheel::before,.work-wheel::after {
        display: none;
    }
    .work-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 156px;
        margin: 0 auto 18px;
    }
    .wheel-item,.wheel-1,.wheel-2,.wheel-3,.wheel-4,.wheel-5,.wheel-6,.wheel-7 {
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        flex-direction: row;
        text-align: left;
        padding: 13px 16px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        font-family: var(--sans);
        font-size: 15px;
    }
    .wheel-icon {
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
        box-shadow: none;
    }
}

/* 44. О нас → направления служения */
.work-wheel {
    width: min(660px,82vw);
    height: auto;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle,#fff 0 28%,var(--line) 28.1% 28.45%,transparent 28.6%),repeating-conic-gradient(from -25.714deg,#eaf3f8 0deg 49.4deg,#fff 49.4deg 51.43deg);
}

.work-wheel::before,.work-wheel::after {
    display: none;
}

.work-center {
    width: 28%;
    padding: 16px;
    border: 0;
    box-shadow: none;
    background: transparent;
    font-size: clamp(21px,3vw,30px);
}

.work-center::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    margin: 12px auto 0;
    background: var(--sky);
}

.wheel-item {
    width: 25%;
    gap: 8px;
    background: transparent;
    border: 0;
    font-size: clamp(14px,1.7vw,18px);
}

.wheel-icon {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.wheel-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.7;
}

.wheel-1 {
    top: 7%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
}

.wheel-2 {
    top: 20%;
    right: 7%;
    left: auto;
    bottom: auto;
    transform: none;
}

.wheel-3 {
    top: 50%;
    right: 2%;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
}

.wheel-4 {
    right: 13%;
    bottom: 9%;
    left: auto;
    top: auto;
    transform: none;
}

.wheel-5 {
    left: 13%;
    bottom: 9%;
    right: auto;
    top: auto;
    transform: none;
}

.wheel-6 {
    top: 50%;
    left: 2%;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
}

.wheel-7 {
    top: 20%;
    left: 7%;
    right: auto;
    bottom: auto;
    transform: none;
}

/* 45. Адаптивность → @media(max-width:640px) */
@media(max-width:640px) {
    .work-wheel {
        display: block;
        width: min(100%,560px);
        height: auto;
        aspect-ratio: 1;
    }
    .work-center {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 29%;
        margin: 0;
        transform: translate(-50%,-50%);
        font-size: clamp(17px,5vw,24px);
    }
    .wheel-item,.wheel-1,.wheel-2,.wheel-3,.wheel-4,.wheel-5,.wheel-6,.wheel-7 {
        position: absolute;
        width: 27%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        flex-direction: column;
        text-align: center;
        font-family: var(--serif);
        font-size: clamp(10px,3.1vw,14px);
        line-height: 1.2;
    }
    .wheel-icon {
        width: 34px;
        height: 34px;
    }
    .wheel-icon svg {
        width: 24px;
        height: 24px;
    }
    .wheel-1 {
        top: 6%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translateX(-50%);
    }
    .wheel-2 {
        top: 19%;
        right: 6%;
        left: auto;
        bottom: auto;
        transform: none;
    }
    .wheel-3 {
        top: 50%;
        right: 1%;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
    }
    .wheel-4 {
        right: 11%;
        bottom: 7%;
        left: auto;
        top: auto;
        transform: none;
    }
    .wheel-5 {
        left: 11%;
        bottom: 7%;
        right: auto;
        top: auto;
        transform: none;
    }
    .wheel-6 {
        top: 50%;
        left: 1%;
        right: auto;
        bottom: auto;
        transform: translateY(-50%);
    }
    .wheel-7 {
        top: 19%;
        left: 6%;
        right: auto;
        bottom: auto;
        transform: none;
    }
}

/* 46. О нас → направления служения */
.work-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Balanced typography and spacing for the seven-part directions wheel. */
.work-wheel {
    width: min(620px,86vw);
    background: radial-gradient(circle,#fff 0 28%,var(--line) 28.1% 28.45%,transparent 28.6%),repeating-conic-gradient(from -24.7deg,#eaf3f8 0deg 49.4deg,#fff 49.4deg 51.43deg);
}

.directions-section .section-head {
    margin-bottom: 38px;
}

.directions-section .section-head h2 {
    font-size: clamp(36px,4.2vw,50px);
}

.work-center {
    width: 28%;
    font-family: var(--sans);
    font-size: clamp(20px,2.4vw,26px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.02em;
}

.wheel-item {
    width: 28%;
    height: 18%;
    justify-content: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.wheel-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
}

.wheel-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.6;
}

.wheel-item>span:last-child {
    text-wrap: balance;
}

.wheel-1 {
    left: 50%;
    top: 16%;
    right: auto;
    bottom: auto;
    transform: translate(-50%,-50%);
}

.wheel-2 {
    left: 76.6%;
    top: 28.8%;
    right: auto;
    bottom: auto;
    transform: translate(-50%,-50%);
}

.wheel-3 {
    left: 83.2%;
    top: 57.6%;
    right: auto;
    bottom: auto;
    transform: translate(-50%,-50%);
}

.wheel-4 {
    left: 64.8%;
    top: 80.6%;
    right: auto;
    bottom: auto;
    transform: translate(-50%,-50%);
}

.wheel-5 {
    left: 35.2%;
    top: 80.6%;
    right: auto;
    bottom: auto;
    transform: translate(-50%,-50%);
}

.wheel-6 {
    left: 16.8%;
    top: 57.6%;
    right: auto;
    bottom: auto;
    transform: translate(-50%,-50%);
}

.wheel-7 {
    left: 23.4%;
    top: 28.8%;
    right: auto;
    bottom: auto;
    transform: translate(-50%,-50%);
}

/* 47. Адаптивность → @media(max-width:640px) */
@media(max-width:640px) {
    .work-wheel {
        display: block;
        width: min(100%,560px);
        height: auto;
        aspect-ratio: 1;
    }
    .work-center {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 29%;
        margin: 0;
        transform: translate(-50%,-50%);
        font-size: clamp(15px,4.6vw,22px);
    }
    .wheel-item,.wheel-1,.wheel-2,.wheel-3,.wheel-4,.wheel-5,.wheel-6,.wheel-7 {
        position: absolute;
        width: 28.5%;
        height: 19%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-family: var(--sans);
        font-size: clamp(12px,3vw,14px);
        font-weight: 600;
        line-height: 1.18;
        gap: 4px;
    }
    .wheel-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
    .wheel-icon svg {
        width: 27px;
        height: 27px;
        stroke-width: 1.7;
    }
    .wheel-1 {
        left: 50%;
        top: 16%;
        right: auto;
        bottom: auto;
        transform: translate(-50%,-50%);
    }
    .wheel-2 {
        left: 76.6%;
        top: 28.8%;
        right: auto;
        bottom: auto;
        transform: translate(-50%,-50%);
    }
    .wheel-3 {
        left: 83.2%;
        top: 57.6%;
        right: auto;
        bottom: auto;
        transform: translate(-50%,-50%);
    }
    .wheel-4 {
        left: 64.8%;
        top: 80.6%;
        right: auto;
        bottom: auto;
        transform: translate(-50%,-50%);
    }
    .wheel-5 {
        left: 35.2%;
        top: 80.6%;
        right: auto;
        bottom: auto;
        transform: translate(-50%,-50%);
    }
    .wheel-6 {
        left: 16.8%;
        top: 57.6%;
        right: auto;
        bottom: auto;
        transform: translate(-50%,-50%);
    }
    .wheel-7 {
        left: 23.4%;
        top: 28.8%;
        right: auto;
        bottom: auto;
        transform: translate(-50%,-50%);
    }
}

/* 48. Адаптивность → @media(max-width:460px) */
@media(max-width:460px) {
    .work-wheel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: none;
        aspect-ratio: auto;
    }
    .work-center {
        position: relative;
        grid-column: 1/-1;
        left: auto;
        top: auto;
        width: 138px;
        margin: 0 auto 8px;
        transform: none;
        aspect-ratio: 1;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: var(--pale);
        font-size: 19px;
    }
    .wheel-item,.wheel-1,.wheel-2,.wheel-3,.wheel-4,.wheel-5,.wheel-6,.wheel-7 {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: 118px;
        padding: 16px 10px;
        transform: none;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--pale);
        font-size: 14px;
        line-height: 1.25;
    }
    .wheel-7 {
        grid-column: 1/-1;
        min-height: 108px;
    }
    .wheel-icon {
        width: 38px;
        height: 38px;
    }
    .wheel-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* Donation methods and personal social links on Stepan's support page. */
/* 49. Пожертвования → способы оплаты */
.stepan-payment-section {
    padding: 76px 0 84px;
}

.stepan-payment-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}

.method-form {
    display: block;
}

.donate-method {
    position: relative;
    width: 100%;
    min-height: 350px;
    padding: 30px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--ink);
    background: linear-gradient(145deg,#fff 0%,#fff 72%,#f3f8fb 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    cursor: pointer;
    transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.donate-method:hover {
    transform: translateY(-4px);
    border-color: #8cb8cf;
    box-shadow: 0 18px 38px rgba(11,49,73,.11);
}

.donate-method:focus-visible,.stepan-socials a:focus-visible {
    outline: 3px solid rgba(37,95,129,.32);
    outline-offset: 3px;
}

.stepan-payment-grid .pay-number {
    width: 58px;
    height: 58px;
    margin: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--pale);
    font-size: 20px;
    font-weight: 700;
}

.stepan-payment-grid .pay-number-small {
    font-size: 13px;
    letter-spacing: -.04em;
}

.donate-method h3,.method-title {
    margin: 18px 0 0;
    font-family: var(--sans);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
}

.method-description {
    margin: 12px 0 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.method-button {
    width: 100%;
    min-height: 54px;
    margin-top: auto;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--ink);
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    transition: background .2s ease,transform .2s ease;
}

.donate-method:hover .method-button {
    background: var(--g3);
}

.method-note {
    margin-top: 10px;
    color: #6a8193;
    font-size: 12px;
    line-height: 1.4;
}

.stepan-social-band {
    padding: 34px 0 38px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.stepan-socials {
    gap: 12px;
}

.stepan-socials a {
    width: 50px;
    height: 50px;
    color: var(--ink);
    border-color: var(--line);
    background: var(--pale);
}

.stepan-socials a:hover {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}

.stepan-socials svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stepan-socials svg.social-fill {
    fill: currentColor;
    stroke: none;
}

.stepan-socials .social-dot {
    fill: currentColor;
    stroke: none;
}

/* 50. Адаптивность → @media(max-width:900px) */
@media(max-width:900px) {
    .stepan-payment-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

/* 51. Адаптивность → @media(max-width:560px) */
@media(max-width:560px) {
    .stepan-payment-grid {
        grid-template-columns: 1fr;
    }
    .donate-method {
        min-height: 330px;
    }
    .stepan-social-band {
        padding: 28px 0;
    }
    .stepan-socials a {
        width: 46px;
        height: 46px;
    }
}

/* SRT revisions: approved blue palette, compact donation pages and contact blocks. */
/* 52. Шапка → логотип и навигация */
.brand-dot {
    width: 9px;
    height: 9px;
    background: linear-gradient(135deg,var(--g1),var(--g3) 55%,var(--g5));
}

/* 53. Общие компоненты → кнопки и состояния */
.btn {
    background: var(--grad);
    border-color: transparent;
    background-size: 140% 100%;
    transition: background-position .5s ease,transform .2s,box-shadow .2s;
}

.btn:hover {
    background-position: 100% 0;
}

/* 54. Каталог курсов */
.small-btn {
    border-color: var(--g3);
    color: var(--g3);
}

.small-btn:hover {
    background: var(--g3);
    color: #fff;
}

/* 55. Подвал сайта */
.site-footer {
    background: var(--grad);
}

/* 56. Пожертвования → реквизиты и поддержка */
.page-hero.donate-hero {
    padding: 60px 0 42px;
    border-bottom: 0;
}

.donate-hero h1 {
    font-size: clamp(38px,5.2vw,64px);
    margin-bottom: 0;
}

.donate-page>.site-header+main>.section {
    padding-top: 54px;
}

.donate-page .donate-intro {
    font-size: clamp(19px,2.3vw,27px);
    margin-bottom: 36px;
}

.pay-logo {
    min-width: 64px;
    width: max-content;
    max-width: 100%;
    height: 40px;
    margin-bottom: 26px;
    padding: 0 12px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #fff;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.pay-logo-paypal {
    font-size: 13px;
}

.other-methods h2 {
    font-size: clamp(34px,4vw,46px);
    margin-bottom: 18px;
}

.other-methods h3 {
    margin: 34px 0 10px;
    font-family: var(--serif);
    font-size: clamp(22px,2.5vw,29px);
    font-weight: 500;
}

/* 57. Текстовые разделы и контакты */
.telegram-contact {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin: 18px 0 28px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    transition: transform .2s,border-color .2s,box-shadow .2s;
}

.telegram-contact:hover {
    transform: translateY(-2px);
    border-color: var(--g5);
    box-shadow: 0 12px 28px rgba(11,49,73,.1);
}

/* 58. Базовые стили и общие блоки */
.telegram-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* 59. Текстовые разделы и контакты */
.telegram-contact small,.telegram-contact strong {
    display: block;
}

.telegram-contact small {
    color: var(--muted);
    font-size: 12px;
}

.telegram-contact strong {
    font-size: 15px;
}

.contact-action {
    padding: 8px 13px;
    border: 1px solid var(--g3);
    border-radius: 99px;
    color: var(--g3);
    font-size: 12px;
    font-weight: 700;
}

.contacts-block {
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-links a {
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--g3);
    font-size: 14px;
    font-weight: 600;
}

/* 60. Пожертвования → реквизиты и поддержка */
.donor-profile {
    padding-top: 64px;
}

.donor-page .portrait-copy p {
    font-size: 15px;
    line-height: 1.65;
}

.donor-page .section-head {
    margin-bottom: 34px;
}

/* 61. Семинар → аудиоуроки и книга */
.book h2 {
    font-size: clamp(40px,4.6vw,52px);
}

/* 62. Пожертвования → способы оплаты */
.stepan-donate-page .donate-intro {
    font-size: clamp(20px,2.4vw,27px);
}

/* 63. Адаптивность → @media(max-width:640px) */
@media(max-width:640px) {
    .page-hero.donate-hero {
        padding: 48px 0 30px;
    }
    .telegram-contact {
        grid-template-columns: auto 1fr;
    }
    .contact-action {
        grid-column: 1/-1;
        text-align: center;
    }
    .donor-profile {
        padding-top: 46px;
    }
}

/* ===== Final revisions (blue palette everywhere, icons, compact layout) ===== */
/* 64. Пожертвования → способы оплаты */
.pay-number {
    background: var(--grad);
    color: #fff;
    border: 0;
}

.stepan-payment-grid .pay-number {
    background: var(--grad);
    color: #fff;
    border: 0;
}

.method-button {
    border: 0;
    background: var(--grad);
    background-size: 140% 100%;
    transition: background-position .5s ease,transform .2s;
}

.donate-method:hover .method-button {
    background: var(--grad);
    background-size: 140% 100%;
    background-position: 100% 0;
}

.stepan-socials a {
    background: var(--pale);
    color: var(--g3);
}

.stepan-socials a:hover {
    background: var(--g3);
    border-color: var(--g3);
    color: #fff;
}

/* 65. Пожертвования → реквизиты и поддержка */
.copy-btn {
    border-color: var(--g5);
    color: var(--g3);
    font-size: 13px;
    font-weight: 600;
    transition: background .2s,color .2s;
}

.copy-btn:hover {
    background: var(--g3);
    color: #fff;
    border-color: var(--g3);
}

.copy-value {
    background: var(--pale);
}

/* Payment brand badges */
.pay-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 16px 0 12px;
    font-size: 14px;
    letter-spacing: .01em;
}

.pay-logo svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.pay-round {
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #fff;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
}

.pay-round svg {
    width: 30px;
    height: 30px;
}

.pay-card .copy-row+p {
    margin-bottom: 18px;
}

/* Telegram / contact blocks */
/* 66. Базовые стили и общие блоки */
.telegram-mark svg {
    width: 22px;
    height: 22px;
    display: block;
    margin-right: 2px;
}

/* 67. Текстовые разделы и контакты */
.contact-links {
    align-items: center;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.contact-links a svg {
    flex: 0 0 auto;
    color: var(--g3);
}

.contact-links a:hover,.telegram-contact:hover .contact-action {
    background: var(--g3);
    color: #fff;
    border-color: var(--g3);
}

.contact-links a:hover svg {
    color: #fff;
}

.contact-action {
    transition: background .2s,color .2s;
}

/* Donate page: support-the-ministers section, smaller text */
/* 68. Пожертвования → реквизиты и поддержка */
.donate-page .section-head h2 {
    font-size: clamp(26px,3.2vw,38px);
}

.donate-page .support-card h3 {
    font-size: 15px;
    line-height: 1.4;
}

.donate-page .support-card div {
    gap: 14px;
    padding: 20px;
}

.donate-page .support-card .small-btn {
    font-size: 12.5px;
}

.donate-page .other-methods p {
    font-size: 15px;
}

/* Chuvirovs page: photo centred relative to the text block */
.donor-page .portrait-layout {
    align-items: center;
    gap: 56px;
}

.donor-page .portrait-layout>img {
    border-radius: 14px;
    margin-top: 0;
}

.donor-page .portrait-copy h2 {
    font-size: clamp(28px,3.4vw,40px);
}

.donor-page .pay-card p {
    font-size: 14.5px;
}

.donor-page .pay-card h3 {
    font-size: 17px;
}

.donor-page .pay-card .small-btn {
    margin-top: 16px;
}

/* 69. Адаптивность → @media(max-width:900px) */
@media(max-width:900px) {
    .donor-page .portrait-layout {
        align-items: start;
    }
}

/* Donate: tighter first screen, stacked copy rows */
/* 70. Пожертвования → реквизиты и поддержка */
.page-hero.donate-hero {
    padding: 40px 0 4px;
}

.donate-hero .kicker {
    margin-bottom: 10px;
}

.donate-page>.site-header+main>.section {
    padding-top: 22px;
    padding-bottom: 64px;
}

.donate-page .donate-intro {
    font-size: clamp(17px,1.8vw,21px);
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 820px;
}

.donate-hero h1 {
    font-size: clamp(32px,4.2vw,50px);
    white-space: nowrap;
}

/* 71. Адаптивность → @media(max-width:640px) */
@media(max-width:640px) {
    .donate-hero h1 {
        white-space: normal;
        font-size: 32px;
    }
}

/* 72. Пожертвования → способы оплаты */
.payment-grid .pay-card .copy-row {
    flex-direction: column;
    gap: 10px;
}

.payment-grid .pay-card .copy-value {
    font-size: 13px;
}

.payment-grid .pay-card .copy-btn {
    align-self: flex-start;
    padding: 8px 16px;
}

.pay-logo,.pay-round,.telegram-mark,.pay-number {
    background: linear-gradient(135deg,var(--g2),var(--g3));
}

/* Chuvirovs page: pull requisites up, equal card buttons */
/* 73. Пожертвования → реквизиты и поддержка */
.donor-page .donor-profile {
    padding: 44px 0 48px;
}

.donor-page main>.section:not(.alt) {
    padding: 44px 0 64px;
}

.donor-page .section-head h2 {
    font-size: clamp(26px,3vw,36px);
}

/* 74. Пожертвования → способы оплаты */
.donor-page .payment-grid .pay-card {
    display: flex;
    flex-direction: column;
}

.donor-page .payment-grid .pay-card .small-btn {
    margin-top: auto;
    align-self: flex-start;
}

.donor-page .payment-grid .pay-card .copy-row+p {
    margin-bottom: 16px;
}

.donor-page .payment-grid .pay-card>p:not(.x)+.small-btn {
    margin-top: auto;
}

/* 75. Базовые стили и общие блоки */
.inline-link {
    color: var(--g3);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--g5);
}

.inline-link:hover {
    color: var(--g1);
}

/* Footer: same pale blue as the testimonials block */
/* 76. Подвал сайта */
.site-footer {
    background: var(--pale);
    color: var(--ink);
    border-top: 1px solid rgba(11,49,73,.1);
}

.footer-logo {
    color: var(--ink);
}

.footer-copy {
    color: var(--sky);
}

.footer-in .brand {
    color: var(--ink);
}

.site-footer .social-row a,.site-footer .socials a,.site-footer .social-icon {
    color: var(--g3);
    background: #fff;
    border-color: rgba(11,49,73,.12);
}

.site-footer .social-row a:hover,.site-footer .socials a:hover,.site-footer .social-icon:hover {
    background: var(--g3);
    color: #fff;
    border-color: var(--g3);
}

/* 77. Семинар → аудиоуроки и книга */
.book-text {
    max-width: 640px;
    margin: 18px 0 26px;
    font-size: 16px;
    line-height: 1.7;
    color: #34495a;
}

/* 80. Семинар → заголовок на узких экранах: длинные слова не выходят за ширину страницы. */
@media (max-width: 480px) {
    .seminar-page .page-hero h1 {
        font-size: clamp(30px, 8vw, 38px);
        overflow-wrap: anywhere;
    }
}
