@font-face {
    font-family: "NinoMtavruli";
    src: url("../fonts/bpg-nino-mtavruli-bold-webfont.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NinoMedium";
    src: url("../fonts/bpg-nino-medium-webfont.woff2") format("woff2");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Mrgvlovani";
    src: url("../fonts/bpg-mrgvlovani-caps-webfont.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --yg-ink: #202422;
    --yg-forest: #000000;
    --yg-forest-2: #52625c;
    --yg-panel: #ffffff;
    --yg-panel-soft: #f6f6f6;
    --yg-line: rgba(32, 36, 34, 0.12);
    --yg-blue: #dc143c;
    --yg-orange: #dc143c;
    --yg-green: #dc143c;
    --yg-text: #263238;
    --yg-muted: #75808a;
    --yg-shadow: 0 20px 52px rgba(45, 61, 52, 0.10);
    --yg-font-heading: "NinoMtavruli", "Noto Sans Georgian", "Arial Unicode MS", sans-serif;
    --yg-font-body: "NinoMedium", "Noto Sans Georgian", Arial, sans-serif;
    --ya-blue: #dc143c;
    --ya-orange: #dc143c;
    --ya-green: #dc143c;
    --ya-ink: #1a1c1e;
    --ya-muted: #6b7280;
    --ya-line: #e7e7e7;
    --ya-bg: #f7f9fb;
    --ya-panel: #ffffff;
}

html {
    font-size: 16px;
    overflow-x: hidden;
    touch-action: manipulation;
}

html,
body {
    max-width: 100%;
}

body.fed-page {
    margin: 0;
    background: #fff;
    color: #26352f;
    font-family: var(--yg-font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.fed-page h1,
body.fed-page h2,
body.fed-page h3,
body.fed-page h4,
body.fed-page h5,
body.fed-page h6 {
    font-family: var(--yg-font-heading);
    letter-spacing: 0;
    color: #26352f;
}

img {
    max-width: 100%;
    height: auto;
}

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

*,
*::before,
*::after {
    box-sizing: border-box;
}

.fed-dev-banner {
    background: #000;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    text-align: center;
    padding: 8px 16px;
    font-family: var(--yg-font-body);
}

.fed-dev-banner strong {
    color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Header / navigation — same visual system as yoga.ge menu.php               */
/* -------------------------------------------------------------------------- */

.navbar.navbar-default {
    position: relative;
    z-index: 1030;
    min-height: 60px;
    height: auto;
    margin-bottom: 0;
    border: 0;
    border-bottom: 1px solid #e7e7e7;
    background: #fff;
}

.navbar.navbar-default > .container-fluid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 60px;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-default .navbar-header {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 60px;
    height: 60px;
    float: none !important;
    margin: 0;
}

.yh-menu-toggle.navbar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.yh-menu-toggle.navbar-toggle:hover,
.yh-menu-toggle.navbar-toggle:focus {
    background: transparent !important;
}

.yh-menu-toggle .icon-bar {
    display: none !important;
}

.yh-menu-icon {
    display: block;
    width: 20px;
    height: 16px;
    fill: #1a1c1e;
}

.yh-header-divider {
    display: none;
    flex: 0 0 1px;
    width: 1px;
    align-self: stretch;
    height: auto;
    min-height: 100%;
    margin: 0 12px 0 2px;
    background: #e7e7e7;
}

.navbar-default .navbar-brand {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 60px !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.yh-logo-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
}

.navbar-default .navbar-brand img {
    display: block !important;
    width: 50px !important;
    height: 50px !important;
    max-height: 50px !important;
    object-fit: contain;
    margin: 0 !important;
    flex-shrink: 0;
    border-radius: 50%;
    background: #000;
}

.yh-brand-text {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.yh-brand-text strong {
    display: block;
    font-family: var(--yg-font-heading);
    font-size: 14px;
    color: #1a1c1e;
    font-weight: 700;
}

.yh-brand-text span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #6b7280;
    font-family: var(--yg-font-body);
}

.navbar-default .navbar-collapse {
    flex: 1 1 auto;
    border: 0;
    box-shadow: none !important;
}

.navbar-default .navbar-collapse::before,
.navbar-default .navbar-collapse::after {
    display: none !important;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a.yh-nav-link {
    height: 60px;
    padding: 20px 10px;
    color: #1a1c1e !important;
    font-family: var(--yg-font-body) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background: transparent !important;
    color: #000 !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .open > a {
    background: transparent !important;
    color: #1a1c1e !important;
}

.yh-nav-ico {
    display: none;
}

.yh-nav-label {
    display: inline;
}

.yh-trailing {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    height: 60px;
    margin-left: 8px;
}

.yh-trailing .yh-auth-links {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.yh-trailing .yh-auth-links > a.yh-auth-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 12px !important;
    border: 1px solid #1a1c1e !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1a1c1e !important;
    font-family: var(--yg-font-body) !important;
    font-size: 13px !important;
    height: auto !important;
    min-height: 0 !important;
    text-decoration: none !important;
}

.yh-trailing .yh-auth-links > a.yh-auth-login:hover {
    background: #f7f7f7 !important;
    color: #000 !important;
}

.dropdown-toggle::after {
    display: none !important;
}

.navbar .navbar-nav .nav-item.dropdown > .dropdown-toggle,
.navbar-default .navbar-nav > .dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

@media (min-width: 1300px) {
    .navbar.navbar-default .navbar-collapse {
        display: flex !important;
        align-items: center;
        width: auto !important;
        padding: 0;
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
    .navbar.navbar-default .navbar-collapse > .navbar-nav {
        display: flex !important;
        float: none !important;
        margin: 0 !important;
        flex-wrap: nowrap;
        align-items: center;
    }
    .navbar.navbar-default .navbar-nav > li {
        float: none;
    }
    .navbar-default .navbar-toggle {
        display: none !important;
    }
    .yh-brand-text {
        display: flex;
    }
}

@media (min-width: 1300px) and (max-width: 1599px) {
    .yh-brand-text {
        display: none;
    }
    .navbar-default .navbar-nav > li > a,
    .navbar-default .navbar-nav > li > a.yh-nav-link {
        padding: 20px 7px;
        font-size: 12px !important;
    }
}

@media (max-width: 1299px) {
    .yh-menu-toggle.navbar-toggle {
        display: inline-flex !important;
    }
    .navbar.navbar-default .navbar-collapse {
        display: none !important;
    }
    .navbar.navbar-default .navbar-collapse.in,
    .navbar.navbar-default .navbar-collapse.collapsing {
        display: block !important;
    }
}

.navbar-default .navbar-nav > .yh-mega-dropdown {
    position: relative;
}

.navbar-default .navbar-nav > .yh-mega-dropdown > .yh-mega.dropdown-menu {
    display: none;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    min-width: 360px;
    max-width: min(420px, calc(100vw - 24px));
    padding: 10px;
    margin: 0;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(26, 28, 30, 0.12);
    z-index: 1200;
}

.navbar-default .navbar-nav > .yh-mega-dropdown.open > .yh-mega.dropdown-menu {
    display: block;
}

.yh-mega > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.yh-mega > li + li {
    margin-top: 2px;
}

.navbar-default .navbar-nav .yh-mega > li > a.yh-mega-item {
    display: flex !important;
    align-items: center;
    gap: 14px;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 12px !important;
    margin: 0 !important;
    border-radius: 12px;
    color: #1a1c1e !important;
    text-decoration: none !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    background: transparent !important;
}

.navbar-default .navbar-nav .yh-mega > li > a.yh-mega-item:hover,
.navbar-default .navbar-nav .yh-mega > li > a.yh-mega-item:focus {
    background: #f7f9fb !important;
    color: #1a1c1e !important;
}

.yh-mega-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #e7e7e7;
    background: #f7f9fb;
    font-size: 17px;
}

.yh-mega-icon--blue,
.yh-mega-icon--orange,
.yh-mega-icon--green {
    color: #000;
    background: #ececec;
    border-color: #e7e7e7;
}

.yh-mega-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.yh-mega-text strong {
    display: block;
    font-family: var(--yg-font-body);
    font-size: 14px;
    font-weight: 700;
    color: #1a1c1e;
}

.yh-mega-text em {
    display: block;
    font-family: var(--yg-font-body);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.35;
}

@media (min-width: 1300px) {
    .navbar-default .navbar-nav > .yh-mega-dropdown.open > .yh-mega.dropdown-menu::before {
        content: "";
        position: absolute;
        top: -7px;
        left: 28px;
        width: 12px;
        height: 12px;
        background: #fff;
        border-left: 1px solid #e7e7e7;
        border-top: 1px solid #e7e7e7;
        transform: rotate(45deg);
    }
}

@media (max-width: 1299px) {
    .navbar.navbar-default {
        display: block !important;
        position: sticky;
        top: 0;
        z-index: 1100;
        overflow: visible;
        width: 100%;
        border-bottom: 1px solid #e7e7e7;
        transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .navbar.navbar-default > .container-fluid {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        padding-left: 0 !important;
        padding-right: 12px !important;
    }
    .navbar.navbar-default > .container-fluid > .navbar-header {
        display: flex !important;
        align-items: center;
        flex: 0 0 auto;
        width: auto;
        order: 1;
        height: 60px;
        align-self: stretch;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .navbar-default .navbar-brand {
        width: 74px;
        min-width: 74px;
        height: 60px !important;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: center;
        align-items: center;
    }
    .yh-logo-slot {
        width: 74px;
        flex-basis: 74px;
    }
    .yh-brand-text {
        display: none;
    }
    .yh-header-divider {
        display: block;
        align-self: stretch;
        height: 60px;
        margin: 0 10px 0 0;
    }
    .navbar-default .navbar-header .yh-menu-toggle.navbar-toggle {
        display: inline-flex !important;
        float: none !important;
        margin: 0;
        align-self: center;
    }
    .navbar-default .navbar-collapse {
        flex: 1 1 100%;
        order: 10;
        width: 100%;
        display: none !important;
        background: #f5f5f5;
        border-top: 1px solid rgba(58, 78, 70, 0.10);
        box-shadow: 0 18px 40px rgba(38, 53, 47, 0.10);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px 12px 18px;
    }
    .navbar-default .navbar-collapse.in,
    .navbar-default .navbar-collapse.collapsing {
        display: block !important;
    }
    .navbar-default .navbar-nav {
        display: block !important;
        margin: 0;
        width: 100%;
    }
    .navbar-default .navbar-nav > li {
        display: block;
        width: 100%;
        margin: 0 0 8px;
        float: none;
    }
    .navbar-default .navbar-nav > li:last-child {
        margin-bottom: 0;
    }
    .navbar-default .navbar-nav > li > a,
    .navbar-default .navbar-nav > li > a.yh-nav-link,
    .navbar-default .navbar-nav > .yh-mega-dropdown > a.dropdown-toggle {
        display: flex !important;
        align-items: center;
        gap: 14px;
        height: auto !important;
        min-height: 56px;
        padding: 12px 14px !important;
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid rgba(58, 78, 70, 0.08);
        box-shadow: 0 8px 20px rgba(38, 53, 47, 0.04);
        color: #1a1c1e !important;
        font-size: 17px !important;
        font-weight: 400 !important;
        line-height: 1.3 !important;
        white-space: normal;
    }
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > .yh-mega-dropdown.open > a.dropdown-toggle {
        background: #ffffff !important;
        border-color: rgba(220, 20, 60, 0.28);
    }
    .yh-nav-ico {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #ececec;
        color: #000;
        font-size: 16px;
    }
    .yh-nav-ico--green,
    .yh-nav-ico--blue,
    .yh-nav-ico--orange {
        background: #ececec;
        color: #000;
    }
    .yh-nav-label {
        flex: 1 1 auto;
        min-width: 0;
    }
    .navbar-default .navbar-nav > .yh-mega-dropdown > a.dropdown-toggle .caret {
        margin-left: auto;
        border-top-color: #6b7280;
        border-bottom-color: #6b7280;
    }
    .navbar-default .navbar-nav > .yh-mega-dropdown.open > .yh-mega.dropdown-menu,
    .navbar-default .navbar-collapse .navbar-nav .yh-mega-dropdown.open .yh-mega.dropdown-menu {
        position: static !important;
        float: none !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 8px 0 0 !important;
        border-radius: 14px !important;
        border: 1px solid rgba(58, 78, 70, 0.08) !important;
        box-shadow: none !important;
        padding: 6px !important;
        background: #f0f0f0 !important;
        display: block;
    }
    .yh-trailing {
        margin-left: auto;
        order: 2;
        gap: 8px;
    }
    html.yh-chrome-hidden #yhNavbar {
        top: -110% !important;
        pointer-events: none;
    }
}

/* -------------------------------------------------------------------------- */
/* Footer — yoga-modern-footer                                                */
/* -------------------------------------------------------------------------- */

.yoga-modern-footer {
    --yf-blue: #dc143c;
    --yf-orange: #dc143c;
    --yf-green: #dc143c;
    --yf-ink: #1a1c1e;
    --yf-muted: #6b7280;
    --yf-line: #e7e7e7;
    --yf-bg: #ffffff;
    --yf-soft: #f7f9fb;
    margin-top: 48px;
    padding: 0;
    color: var(--yf-ink);
    background: var(--yf-bg);
    border-top: 1px solid var(--yf-line);
    font-family: var(--yg-font-body);
}

.yoga-modern-footer .yoga-footer-accent {
    height: 3px;
    width: 100%;
    background: #dc143c;
}

.yoga-modern-footer .yoga-footer-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 28px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px 28px;
    align-items: start;
}

.yoga-modern-footer .yoga-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.yoga-modern-footer .yoga-footer-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yoga-modern-footer .yoga-footer-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #000;
}

.yoga-modern-footer .yoga-footer-brand h3 {
    margin: 0;
    color: var(--yf-ink);
    font-size: 18px;
    font-weight: 700;
    font-family: var(--yg-font-heading);
}

.yoga-modern-footer .yoga-footer-brand p {
    margin: 0;
    color: var(--yf-muted);
    font-size: 13px;
    line-height: 1.5;
    max-width: 32ch;
}

.yoga-modern-footer h4 {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yf-muted);
    font-family: var(--yg-font-body);
}

.yoga-modern-footer .yoga-footer-col {
    display: grid;
    gap: 10px;
    align-content: start;
}

.yoga-modern-footer .yoga-footer-col a {
    color: var(--yf-ink);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    transition: color 0.15s ease;
}

.yoga-modern-footer .yoga-footer-col a:hover {
    color: var(--yf-blue);
}

.yoga-modern-footer .yoga-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.yoga-modern-footer .yoga-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--yf-line);
    background: var(--yf-soft);
    color: var(--yf-ink);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.yoga-modern-footer .yoga-footer-social a:hover {
    transform: translateY(-1px);
    background: #fff;
}

.yoga-modern-footer .yoga-footer-social a[data-network="facebook"]:hover {
    color: var(--yf-blue);
    border-color: var(--yf-blue);
}

.yoga-modern-footer .yoga-footer-social a[data-network="instagram"]:hover {
    color: var(--yf-orange);
    border-color: var(--yf-orange);
}

.yoga-modern-footer .yoga-footer-social a[data-network="youtube"]:hover {
    color: #c4302b;
    border-color: #c4302b;
}

.yoga-modern-footer .yoga-footer-social a[data-network="tiktok"]:hover {
    color: var(--yf-green);
    border-color: var(--yf-green);
}

.yoga-modern-footer .yoga-footer-bottom {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 24px;
    flex-wrap: wrap;
    color: var(--yf-muted);
    font-size: 12px;
}

.yoga-modern-footer .yoga-footer-bottom a {
    color: var(--yf-muted);
    text-decoration: none;
}

.yoga-modern-footer .yoga-footer-bottom a:hover {
    color: var(--yf-blue);
}

@media (max-width: 900px) {
    .yoga-modern-footer .yoga-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .yoga-modern-footer .yoga-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 20px;
    }
    .yoga-modern-footer .yoga-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* -------------------------------------------------------------------------- */
/* Shared layout                                                              */
/* -------------------------------------------------------------------------- */

.fed-shell {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.fed-wide {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
}

.home-section {
    padding: 72px 0;
    font-family: var(--yg-font-body);
    font-size: 16px;
    color: #26352f;
}

.home-section--alt {
    background: #f5f5f5;
    border-top: 1px solid rgba(26, 28, 30, 0.10);
    border-bottom: 1px solid rgba(26, 28, 30, 0.10);
}

.home-section--soft {
    background: #f4f4f4;
}

.home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.home-section-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
    color: #dc143c;
    font-family: "Mrgvlovani", sans-serif;
    font-size: 14px;
}

.home-section-kicker::before {
    content: "";
    width: 38px;
    height: 4px;
    border-radius: 4px;
    background: #dc143c;
}

.home-section-title {
    margin: 0;
    color: #26352f;
    font-family: var(--yg-font-heading);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 700;
}

.home-section-subtitle {
    max-width: 660px;
    margin: 12px 0 0;
    color: #55635d;
    font-size: 18px;
    line-height: 1.7;
}

.home-section-link,
.fed-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(58, 78, 70, 0.22);
    border-radius: 6px;
    color: #344940;
    background: transparent;
    font-weight: 700;
    font-family: var(--yg-font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.home-section-link:hover,
.fed-btn:hover,
.home-section-link:focus,
.fed-btn:focus {
    color: #202b27;
    background: #f5f5f5;
    border-color: #dc143c;
    text-decoration: none;
}

.fed-btn-primary {
    background: #1a1c1e;
    border-color: #1a1c1e;
    color: #fff !important;
}

.fed-btn-primary:hover,
.fed-btn-primary:focus {
    background: #000;
    border-color: #000;
    color: #fff !important;
}

.fed-btn-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.72);
    color: #fff !important;
}

.fed-btn-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border-color: #dc143c;
}

.fed-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Hero */

.fed-hero {
    position: relative;
    width: 100%;
    min-height: min(72vh, 640px);
    overflow: hidden;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
}

.fed-hero-inner {
    position: relative;
    z-index: 2;
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 96px;
    text-align: center;
}

.fed-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Mrgvlovani", sans-serif;
    font-size: 13px;
}

.fed-hero-kicker::before {
    content: "";
    width: 38px;
    height: 4px;
    border-radius: 4px;
    background: #dc143c;
}

body.fed-page .fed-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.2;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.fed-hero p {
    max-width: 640px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
}

.fed-hero .fed-btn-row {
    justify-content: center;
    margin-top: 28px;
}

.fed-hero-waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 110px;
    z-index: 3;
    pointer-events: none;
}

.fed-hero-waves svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fed-hero-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 28px;
}

.fed-hero-dots span {
    width: 42px;
    height: 6px;
    border-radius: 99px;
    display: block;
}

.fed-hero-dots span:nth-child(1) { background: var(--ya-blue); }
.fed-hero-dots span:nth-child(2) { background: var(--ya-orange); }
.fed-hero-dots span:nth-child(3) { background: var(--ya-green); }

/* Cards */

.fed-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fed-card-grid.fed-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fed-card-grid.fed-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fed-stack-8 {
    margin-top: 8px;
}

.fed-stack-24 {
    margin-top: 24px;
}

.fed-card,
.home-instructor-card,
.home-journal-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(58, 78, 70, 0.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(40, 58, 51, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.fed-card:hover,
.home-journal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(40, 58, 51, 0.12);
}

.fed-card-body {
    padding: 22px;
}

.fed-card-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 18px;
}

.fed-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.25;
}

.fed-card p {
    margin: 0;
    color: #55635d;
    font-size: 15px;
    line-height: 1.65;
}

.fed-card-link {
    display: inline-flex;
    margin-top: 16px;
    color: #344940;
    font-weight: 700;
}

.fed-card-link:hover {
    color: #dc143c;
}

.fed-standards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fed-standard-item {
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(58, 78, 70, 0.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(40, 58, 51, 0.07);
}

.fed-standard-item h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.fed-standard-item p {
    margin: 0;
    color: #55635d;
}

.fed-cta-band {
    background: #000;
    color: #fff;
    padding: 72px 0;
}

body.fed-page .fed-cta-band h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    text-align: center;
}

.fed-cta-band p {
    max-width: 620px;
    margin: 14px auto 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
}

.fed-cta-band .fed-btn-row {
    justify-content: center;
    margin-top: 28px;
}

/* Page interior */

.fed-page-hero {
    background: #000;
    color: #fff;
    padding: 48px 0 56px;
}

body.fed-page .fed-page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.12;
}

.fed-page-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    line-height: 1.7;
}

.fed-page-body {
    padding: 40px 0 24px;
}

.yoga-modern-panel {
    position: relative;
    overflow: hidden;
    background: var(--yg-panel);
    border: 1px solid var(--yg-line);
    border-radius: 8px;
    box-shadow: var(--yg-shadow);
    padding: 28px 28px 24px;
}

.fed-prose {
    max-width: 68ch;
}

.fed-prose h2 {
    margin: 28px 0 12px;
    font-size: 28px;
}

.fed-prose h3 {
    margin: 22px 0 10px;
    font-size: 22px;
}

.fed-prose p,
.fed-prose li {
    color: #55635d;
    font-size: 16px;
    line-height: 1.75;
}

.fed-toc {
    margin: 0 0 24px;
    padding: 18px 20px;
    background: #f5f5f5;
    border: 1px solid var(--yg-line);
    border-radius: 8px;
}

.fed-toc strong {
    display: block;
    margin-bottom: 10px;
    font-family: var(--yg-font-heading);
}

.fed-toc a {
    display: block;
    padding: 6px 0;
    color: #344940;
}

.fed-toc a:hover {
    color: #dc143c;
}

.fed-draft-note,
.fed-form-note {
    margin: 0 0 20px;
    padding: 14px 16px;
    background: #f5f5f5;
    border: 1px solid rgba(220, 20, 60, 0.35);
    border-radius: 10px;
    color: #26352f;
    font-size: 14px;
}

.fed-placeholder-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 5px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.fed-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 99px;
    background: #f0f0f0;
    color: #1a1c1e;
    font-size: 12px;
}

.fed-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

/* Filters / registry */

.fed-filters {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.fed-filters.fed-filters-4 {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
}

.fed-filters.fed-filters-2 {
    grid-template-columns: 1.6fr 1fr;
}

.fed-filters input,
.fed-filters select,
.fed-form input,
.fed-form select,
.fed-form textarea {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    border: 1px solid #e7e7e7;
    box-shadow: none;
    font-size: 16px;
    color: #1a1c1e;
    background: #fff;
    padding: 10px 14px;
    font-family: var(--yg-font-body);
}

.fed-filters input:focus,
.fed-filters select:focus,
.fed-form input:focus,
.fed-form select:focus,
.fed-form textarea:focus {
    border-color: #dc143c;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.22);
    outline: none;
}

.fed-form textarea {
    min-height: 120px;
    resize: vertical;
}

.fed-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}

.fed-form .form-group {
    margin-bottom: 14px;
}

.fed-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.teacher-grid,
.school-grid,
.news-grid,
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.teacher-card .fed-avatar,
.teacher-card img.fed-avatar {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--yg-font-heading);
    font-size: 42px;
    color: #fff;
}

.fed-avatar--green { background: #111; }
.fed-avatar--blue { background: #dc143c; }
.fed-avatar--orange { background: #dc143c; }

.teacher-info,
.school-info,
.news-content,
.event-content {
    padding: 18px;
}

.teacher-info h3,
.school-info h3,
.news-content h3,
.event-content h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}

.teacher-meta,
.muted {
    margin: 7px 0 0;
    color: #55635d;
    font-size: 15px;
}

.fed-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.fed-pagination span,
.fed-pagination a {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
    background: #fff;
}

.fed-pagination .is-active {
    background: #1a1c1e;
    color: #fff;
    border-color: #1a1c1e;
}

.fed-profile {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.fed-profile-side .fed-avatar {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #fff;
    font-family: var(--yg-font-heading);
}

.fed-dl {
    display: grid;
    gap: 14px;
}

.fed-dl div {
    padding-bottom: 12px;
    border-bottom: 1px solid #e7e7e7;
}

.fed-dl dt {
    font-size: 12px;
    color: #6b7280;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fed-dl dd {
    margin: 0;
    color: #26352f;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
}

.contact-list a,
.contact-list span {
    display: block;
    margin-bottom: 10px;
}

.yh-auth-page {
    min-height: calc(100vh - 60px);
    background: #f5f5f5;
    padding: 28px 16px 88px;
}

.yh-auth-wrap {
    width: min(440px, 100%);
    margin: 0 auto;
}

.yh-auth-wrap.wide {
    width: min(860px, 100%);
}

.yh-auth-panel {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(26, 28, 30, 0.06);
}

.yh-auth-accent {
    height: 3px;
    background: #dc143c;
}

.yh-auth-body {
    padding: 28px 22px 24px;
}

.yh-auth-title {
    margin: 0 0 22px;
    font-size: 26px;
}

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

.profile-tab {
    padding: 18px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    background: #f7f9fb;
}

.profile-tab h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.profile-tab p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.home-journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-journal-media {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 140px;
    background: #e8e8e8;
}

.home-journal-media.tone-green { background: #111; }
.home-journal-media.tone-blue { background: #dc143c; }
.home-journal-media.tone-orange { background: #dc143c; }

.home-journal-type {
    position: relative;
    z-index: 1;
    margin: 0 0 14px 16px;
    padding: 6px 10px;
    color: #fff;
    background: #000;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
}

.home-journal-content {
    display: flex;
    flex-direction: column;
    min-height: 200px;
    padding: 22px;
}

.home-journal-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
}

.home-journal-excerpt {
    flex: 1;
    margin: 14px 0 20px;
    color: #55635d;
}

.is-hidden {
    display: none !important;
}

.fed-empty {
    padding: 28px;
    text-align: center;
    color: #55635d;
    background: #fff;
    border: 1px dashed #e7e7e7;
    border-radius: 8px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}

.checkbox-row input {
    width: auto;
    min-height: 0;
    margin-top: 3px;
}

@media (max-width: 900px) {
    .fed-card-grid,
    .fed-card-grid.fed-cols-3,
    .fed-card-grid.fed-cols-2,
    .fed-standards-grid,
    .teacher-grid,
    .school-grid,
    .news-grid,
    .event-grid,
    .home-journal-grid,
    .profile-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fed-filters,
    .fed-filters.fed-filters-4,
    .fed-filters.fed-filters-2 {
        grid-template-columns: 1fr 1fr;
    }
    .fed-profile,
    .contact-grid,
    .fed-form-grid {
        grid-template-columns: 1fr;
    }
    .fed-wide,
    .fed-shell {
        width: min(100% - 32px, 1140px);
    }
}

@media (max-width: 767.98px) {
    .home-section,
    .fed-cta-band {
        padding: 52px 0;
    }
    .home-section-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 24px;
    }
    .fed-hero-inner {
        padding: 56px 0 80px;
    }
    .fed-page-hero {
        padding: 36px 0 40px;
    }
    .yoga-modern-panel {
        padding: 20px 16px 18px;
    }
}

@media (max-width: 640px) {
    .fed-card-grid,
    .fed-card-grid.fed-cols-3,
    .fed-card-grid.fed-cols-2,
    .fed-standards-grid,
    .teacher-grid,
    .school-grid,
    .news-grid,
    .event-grid,
    .home-journal-grid,
    .profile-tabs,
    .fed-filters,
    .fed-filters.fed-filters-4,
    .fed-filters.fed-filters-2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .fed-filters,
    .fed-filters.fed-filters-4,
    .fed-filters.fed-filters-2 {
        gap: 12px;
    }
    .fed-shell,
    .fed-wide {
        width: min(100% - 20px, 1140px);
    }
    .fed-hero h1,
    .fed-page-hero h1,
    .home-section-title {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .yh-trailing .yh-auth-links > a.yh-auth-login {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 430px) {
    .navbar.navbar-default > .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    .fed-hero p,
    .home-section-subtitle,
    .fed-page-hero p {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fed-card,
    .home-journal-card,
    .navbar.navbar-default {
        transition: none !important;
        transform: none !important;
    }
}
