@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Montserrat:wght@400;500;600;700&display=swap');

/* News Article Video Block */
.article__video-block {
    position: relative;
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article__video-block iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    display: block;
    border: none;
}

@font-face {
    font-family: 'JakobTT';
    src: url('../fonts/jakobtt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =============================================
   Design Tokens & Config
   ============================================= */

:root {
    /* Colors - Brand & UI */
    --color-primary: #F26522;
    /* Obrsoyuz Orange */
    --color-primary-hover: #D8561A;
    --color-accent: #F8CC56;
    /* Bright Yellow */
    --color-dark: #232323;
    /* Deep Black/Gray */
    --color-dark-alt: #2D2525;
    /* Warmer Dark (Home Header) */
    --color-text: #333333;
    --color-gray: #666666;
    --color-white: #ffffff;

    /* Backgrounds */
    --bg-main: #FDF8EF;
    /* Global Cream */
    --bg-inner: #F9F0DF;
    /* Inner Header Background */
    --bg-news: #FFFCF2;
    /* Special News Page Background */
    --color-white-alt: #FFFCF2;
    /* Extra light background */
    --bg-card-dark: #23201D;
    /* Dark Section Cards */
    --bg-card-light: #FFF3D3;
    /* Light/Beige Cards */
    --color-border-alt: #DDB483;
    /* Card borders */
    --color-border-soft: rgba(221, 180, 131, 0.2);
    /* Translucent border */
    --color-gray-alt: #7a7a7a;
    /* Alternative gray for lines */
    --color-accent-alt: #FF5A30;
    /* Secondary accent (dates/links) */

    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'JakobTT', sans-serif;
    --font-ui: 'Inter', sans-serif;

    /* Spacing Scale */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 20px;
    --space-24: 24px;
    --space-xl: 30px;
    --space-xxl: 40px;
    --space-xxxl: 50px;
    --space-section: 80px;
    --space-huge: 100px;

    /* Helpers */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --transition: all 0.3s ease;
    --container-width: 1240px;
    --header-height: 90px;
}

/* Page THEMES Logic */
.page-home {
    --header-bg: var(--color-dark-alt);
    --header-text: var(--color-dark);
    --header-inner-bg-final: var(--bg-news);
}

.page-inner {
    --header-bg: var(--bg-main);
    --header-text: var(--color-dark);
    --header-inner-bg-final: var(--bg-news);
}

.page-club {
    --header-bg: var(--color-dark-alt);
    --header-text: var(--color-dark);
    --header-inner-bg-final: var(--bg-news);
}

.page-news-single {
    --header-bg: var(--bg-news);
    --header-text: var(--color-dark);
    --header-inner-bg-final: var(--bg-news);
}

/* =============================================
   Base & Global Styles
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-section) 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 40px;
    margin-bottom: var(--space-xxl);
}

a {
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* =============================================
   Header & Navigation
   ============================================= */

.header {
    width: 100%;
    padding: var(--space-lg) 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: var(--header-bg);
}

.header__bg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-inner);
    color: var(--header-text);
    padding: var(--space-sm) var(--space-lg);
    width: calc(100% - 40px);
    margin: 0 auto;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

/* Scrolled state */
.header.scrolled {
    padding: var(--space-sm) 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled .header__bg {
    /* Maintain the inner bar color or adjust opacity, but don't force theme-bg here if it should be constant */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: var(--space-24);
}

.header__logo img {
    height: 45px;
}

.header__nav-list {
    display: flex;
    gap: var(--space-xl);
}

.header__nav-link {
    font-weight: 500;
    font-size: 15px;
    color: inherit;
    position: relative;
    transition: var(--transition);
}

.header__nav-link:hover,
.header__nav-link.active {
    color: var(--color-primary) !important;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.header__actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header__actions a img {
    width: 36px;
    height: 36px;
}

.header__actions a:hover {
    opacity: 0.7;
}

/* Burger Button */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.header__burger span {
    width: 25px;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
    border-radius: 2px;
}

/* =============================================
   Floating UI Elements
   ============================================= */

/* Floating Socials */
.social-float {
    position: fixed;
    right: 15px;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    z-index: 100;
    border-radius: var(--radius-sm);
    background-color: var(--color-dark-alt);
    padding: var(--space-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.social-float__link {
    width: 36px;
    height: 36px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-float__link:hover {
    transform: scale(1.1);
    background-color: var(--color-white);
}

.social-float__link:hover svg>path {
    fill: var(--color-white);
}

.social-float__link img {
    width: 18px;
    height: 18px;
}

.social-float__link svg {
    width: 28px;
    height: 28px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-5px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    overflow: hidden;
}

.hero__slider {
    width: 100%;
    height: 100%;
}

.hero__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    height: 100%;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    position: relative;
    background-image: url('../images/hero__slide_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    /* background-image removed as per request */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 0.15;
    pointer-events: none;
}

.hero__container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
}

.hero__content {
    flex: 0 0 56%;
    max-width: 56%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--space-section);
    padding-bottom: var(--space-xxxl);
}

.hero__pagination {
    display: flex;
    bottom: var(--space-xxl);
    left: 50%;
    transform: translateX(-50%);
    gap: var(--space-md);
    z-index: 10;
}


.hero__title {
    vertical-align: middle;
    color: var(--color-accent);
    font-size: 60px;
    font-family: 'JakobTT', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 700;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin-bottom: var(--space-xl);
}

.title_jakob {
    color: var(--color-accent) !important;
    font-weight: 900;
}

/* 3. Section Titles */
.section-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 38px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    line-height: 1.2;
}

.section-title_news,
.section-title_expeditions,
.section-title_club-audience,
.section-title_club-experts,
.section-title_club-features,
.section-title_club-work,
.section-title_system-diagnostic-alt {
    padding: var(--space-md) var(--space-xxxl);
    background-image: url('../images/title_news_main_page_bg.svg');
}

.section-title_grants {
    padding: var(--space-md) var(--space-xxxl);
    background-image: url(../images/grants_title_bg.svg);
}

.section-title_forum {
    font-size: 46px;
    padding: var(--space-xs) var(--space-xxxl);
    background-image: url(../images/forum-sot__title.svg);
}

.section-title_products,
.section-title_audience {
    padding: 8px 32px;
    background-image: url(../images/products__title.png);
    width: fit-content;
}

.section-title_globe {
    padding: 10px 73px var(--space-xs) 57px;
    background-image: url("../images/globe__title_bg.svg");
    width: fit-content;
}

.section-title_partners {
    padding: 10px 48px 6px 57px;
    background-image: url("../images/partners__title.svg");
    width: fit-content;
}

.section-title_competency-directions {
    padding: 8px 50px;
    background-image: url('../images/directions__title_bg.png');
}

.section-title_system-diagnostic {
    font-size: 32px;
    padding: 9px 66px 7px 40px;
    background-image: url('../images/system-diagnostic__title_bg.png');
    display: block;
    width: fit-content;
}

.section-title_team {
    padding: 13px 60px 11px;
    background-image: url(../images/team__title_bg.png);
    background-size: contain;
    display: inline-block;
    margin-bottom: 40px;
}

.hero__features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-xxl);
    margin-bottom: var(--space-xxl);
}

.hero__features-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-white);
    font-weight: 500;
}

.hero__feature-icon {
    width: 24px;
    height: 24px;
    background-image: url('../images/slider_gex.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hero__actions {
    display: flex;
    gap: var(--space-lg);
}

.hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 45vw;
    /* Takes up the right side extending to the edge */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align image towards the right */
    z-index: 1;
}

.hero__img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero__title {
    vertical-align: middle;
    color: var(--color-accent);
    font-size: 60px;
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}



/* Hero Nav */
.hero__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.hero__nav-btn:hover {
    background-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.hero__nav-btn_prev {
    left: 49px;
    background-image: url('../images/slider_arrow_left.svg');
}

.hero__nav-btn_next {
    right: 49px;
    background-image: url('../images/slider_arrow_right.svg');
}

.hero__pagination {
    position: absolute;
    bottom: var(--space-xxl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-md);
    z-index: 10;
}

.hero__pagination-dot {
    width: 16px;
    height: 16px;
    background-image: url('../images/slider_gex_dots.svg');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: var(--transition);
}

.hero__pagination-dot.active {
    background-image: url('../images/slider_gex_dots_active.svg');
}

/* =============================================
   Reusable Components
   ============================================= */

/* 1. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) 36px;
    font-weight: 600;
    font-size: 16px;
    font-family: var(--font-main);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
    line-height: 1;
}

.btn_primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px 32px;
}

.btn_primary:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
    transform: translateY(-2px);
}

/* 2. Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.3s;
}

.mobile-menu.active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 35, 35, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background-color: var(--bg-main);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active .mobile-menu__panel {
    right: 0;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-xxxl);
}

.mobile-menu__logo img {
    height: 50px;
}

.mobile-menu__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    padding: 5px;
    transition: var(--transition);
}

.mobile-menu__close:hover {
    transform: rotate(90deg);
}

.mobile-menu__nav {
    flex-grow: 1;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-menu__link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu__link.active {
    color: var(--color-primary);
}

.mobile-menu__footer {
    margin-top: auto;
    padding-top: var(--space-xl);
}

.mobile-menu__socials {
    display: flex;
    gap: var(--space-md);
}

.mobile-menu__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-menu__social-link:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-3px);
}

.mobile-menu__social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* News Section Improvements */
.news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xxxl);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.news__card {
    background: #ffffff00;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: none;
    gap: var(--space-lg)
}

.news__card-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.news__card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__card-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    max-height: 100%;
    overflow: hidden;
}

.news__card-tag {
    line-height: 1;
    font-weight: 500;
    font-family: 'Montserrat';
    background-color: var(--color-accent);
    border-radius: 30px;
    display: inline-block;
    padding: var(--space-xs) var(--space-xs);
    color: var(--color-dark);
    font-size: 10px;
    text-transform: uppercase;
    width: fit-content;
    max-width: 100%;
}

.news__card-info {
    padding: 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news__card-date {
    font-size: 14px;
    color: var(--color-dark-alt);
    margin-bottom: 15px;
}

.news__card-info h3 {
    font-size: 16px;
    line-height: 1.3;
    color: var(--color-dark);
    font-weight: 400;
    font-family: 'Montserrat';
    text-transform: none;
    margin-bottom: 15px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.news__card-info p {
    font-size: 15px;
    color: var(--color-gray);
    margin-bottom: 25px;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

.news__link {
    margin-top: auto;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.news__link:hover {
    text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-gray);
    font-family: 'Montserrat', sans-serif;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span {
    color: var(--color-gray);
}

/* News Page Filters */
.news-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 60px;
}

.news-filter {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background-color: var(--bg-inner);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--color-dark);
}

.news-filter:hover {
    background-color: #f7f1e1;
    transform: translateY(-2px);
}

.news-filter.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.news-filter img,
.news-filter svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.news-filter span {
    line-height: 1.2;
}

.news-page {
    padding-top: 10px;
    padding-bottom: 0px;
    background-color: var(--color-bg-light);
}

.news-page-title {
    margin-bottom: 30px;
    background-image: url(../images/forum-sot__title.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 8px 50px;
}

@media (max-width: 991px) {
    .news__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* Section Header Decor */
.section__header {
    position: relative;
    margin-bottom: 60px;
    z-index: 1;
}

.section__header h2 {
    font-size: 42px;
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* Courses Section */
.courses {
    background-color: var(--color-dark-alt);
    padding: var(--space-section) 0;
    color: var(--color-white);
}

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

.courses__title {
    background-image: url("../images/courses__title_bg.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 8px 50px;
    margin-bottom: 0px;
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.course-card {
    background-color: var(--color-white-alt);
    padding: 0px;
    text-align: left;
    transition: var(--transition);
    border: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* Empty rule removed */

.course-card__number {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.1;
    vertical-align: middle;
    padding: 15px 13px 0px 15px;
    margin-bottom: var(--space-lg);
}

.course-card__text {
    color: var(--color-dark);
    font-weight: 500;
    line-height: 130%;
    font-size: 16px;
    padding: 0px 13px 15px 15px;
    min-height: 145px;
}

.course-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card__text-hover {
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    height: calc(100% - 62px);
    background-color: var(--color-white-alt);
    color: var(--color-dark);
    font-weight: 500;
    line-height: 130%;
    font-size: 14px;
    padding: 15px;
    z-index: 2;
    /* Улучшенная анимация */
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}

.course-card:hover .course-card__text-hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.course-card__action {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
    z-index: 3;
}

.course-card__action a {
    width: 100%;
}

/* Expeditions Section (Map) */
.expeditions {
    background-color: var(--color-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.expeditions__map {
    position: relative;
    width: 100%;
    margin-top: var(--space-xl);
}

@media (max-width: 991px) {
    .expeditions__map {
        height: 400px;
    }
}


/* Grants Section Update */
.grants {
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.grants__title {
    background-image: url(../images/grants_title_bg.svg);
}

.grants__subtitle {
    vertical-align: middle;
    color: var(--color-dark);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin-top: var(--space-xxl);
}

.grants__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.grants__list-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 16px;
    line-height: 130%;
    padding-left: 26px;
    background-image: url(../images/grants_list_icon.svg);
    background-repeat: no-repeat;
    background-position: 0px 5px;
}

.grants__footer {
    margin-top: var(--space-24);
    display: flex;
    gap: var(--space-24) var(--space-xxl);
    flex-wrap: wrap;
}

.grants__tag {
    background-image: url(../images/slider_gex.svg);
    background-repeat: no-repeat;
    background-position: 0px center;
    padding-left: 28px;
    font-weight: 600;
    color: var(--color-dark);
    /* Added for consistency, links should be readable */
    text-decoration: none;
}

.grants__action {
    margin-top: var(--space-xxxl);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.grants__hex-wrapper {
    position: relative;
    width: 100%;
    max-width: 588px;
    min-height: 522px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/grants_gex_bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.grants__hex {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
}

.grants__hex_1 {
    width: 380px;
    height: 440px;
    z-index: 1;
    padding: 0;
    transition: var(--transition);
}

.grants__hex_1:hover {
    transform: translateY(-5px);
}

.grants__hex_2:hover {
    transform: translateY(-5px);
}

.grants__hex_3:hover {
    transform: translateY(-5px);
}

.grants__hex_2 {
    bottom: 0px;
    left: calc(50% - 230px);
    background-color: var(--color-primary);
    z-index: 2;
    width: 268px;
    min-height: 293px;
    color: var(--color-white-alt);
    transition: var(--transition);
}

.grants__hex_3 {
    bottom: 40px;
    left: calc(50% - -20px);
    background-color: var(--color-accent);
    color: var(--color-dark);
    z-index: 3;
    width: 255px;
    min-height: 271px;
    transition: var(--transition);
    gap: var(--space-sm);
}

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

.grants__hex-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    padding: 0 20px;
    margin-bottom: 15px;
}

.grants__hex-number {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
}

/* Removed incorrect img selector */

/* =============================================
   Club Page Hero
   ============================================= */
.club-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    background-color: var(--color-dark-alt);
    background-image: url('../images/hero__slide_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.club-hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.club-hero__content {
    flex: 0 0 50%;
    max-width: 600px;
}

.club-hero__title {
    font-size: 60px;
    font-family: var(--font-heading);
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
    line-height: 1.2;
}

.club-hero__subtitle-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.club-hero__subtitle-icon {
    width: 24px;
    height: 24px;
    background-image: url('../images/slider_gex.svg');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.club-hero__subtitle-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-main);
}

.club-hero__description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    line-height: 1.6;
    max-width: 500px;
}

.club-hero__visual {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

/* Hex Cluster for Club Hero */
.club-hero__hex-group {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 560px;
}

.club-hero__hex {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    background-color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.club-hero__hex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Base positioning for desktop */
.club-hero__hex_main {
    width: 320px;
    height: 370px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.club-hero__hex_top {
    width: 220px;
    height: 255px;
    top: 0;
    right: 0px;
    z-index: 1;
}

.club-hero__hex_bottom {
    width: 240px;
    height: 275px;
    bottom: 0;
    right: 0px;
    z-index: 3;
}

/* =============================================
   Club Audience Section
   ============================================= */
.club-audience {
    padding: var(--space-section) 0;
    background-color: var(--bg-main);
}

.club-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.club-audience__card {
    background-color: var(--bg-card-dark);
    /* Dark theme for cards */
    border-radius: 20px;
    padding: 40px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.club-audience__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.club-audience__card-num {
    display: block;
    font-size: 48px;
    font-family: var(--font-heading);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 20px;
}

.club-audience__card-text {
    font-size: 16px;
    color: var(--color-white);
    line-height: 1.5;
    margin-bottom: 30px;
}

.club-audience__card-image {
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.club-audience__card-image img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

/* =============================================
   Club Experts Section
   ============================================= */
.club-experts {
    padding: var(--space-section) 0;
    background-color: var(--bg-card-dark);
}

.club-experts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.club-experts__card {
    display: flex;
    flex-direction: column;
}

.club-experts__card.hidden {
    display: none;
}

.club-experts__card-img {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.club-experts__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-experts__card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 12px;
    font-family: var(--font-main);
}

.club-experts__card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.club-experts__footer {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* Club Features Footer */
.club-features {
    padding-top: 40px;
    padding-bottom: 100px;
}

.club-features__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    gap: 40px;
}

.club-features__footer-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.4;
    max-width: 600px;
}

/* Club Work Section */
.club-work {
    background-color: var(--color-dark-alt);
    overflow: hidden;
}

.club-work__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    border-bottom: 1px solid var(--color-gray-alt);
    padding: var(--space-section) 0;
}

.club-work__content {
    flex: 0 0 50%;
}

.club-work__list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.club-work__item {
    position: relative;
    color: var(--color-white);
    font-size: 16px;
    line-height: 130%;
    padding-left: 26px;
    background-image: url(../images/grants_list_icon.svg);
    background-repeat: no-repeat;
    background-position: 0px 5px;
}

.club-work__action {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.club-work__visual {
    flex: 0 0 45%;
    position: relative;
}

.club-work__hex-group {
    position: relative;
    width: 100%;
    height: 450px;
}

.club-work__hex {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.club-work__hex_image {
    width: 320px;
    height: 370px;
    top: 0;
    right: 0;
    z-index: 2;
}

.club-work__hex_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-work__hex_info {
    width: 250px;
    height: 290px;
    background-color: var(--color-accent);
    top: 100px;
    right: 210px;
    z-index: 3;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.club-work__hex-check {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232323' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 15px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: #fdf8ef;
    background-size: 20px;
}

.club-work__hex-text {
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.4;
}

/* Decorative hexagons */
.club-work__hex_decor {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: transparent;
    border: 2px solid var(--color-primary);
}

.club-work__hex_decor-1 {
    width: 80px;
    height: 92px;
    top: -20px;
    right: 320px;
    border-color: var(--color-accent);
    background-color: var(--color-accent);
}

.club-work__hex_decor-2 {
    width: 60px;
    height: 69px;
    bottom: 20px;
    right: 180px;
    background: var(--color-primary);
    border: none;
}

.club-work__hex_decor-3 {
    width: 100px;
    height: 115px;
    top: 50px;
    right: -40px;
    background: var(--color-primary);
}

.footer {
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    padding: var(--space-section) 0 var(--space-xxl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

.footer__col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--color-accent);
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

/* Removed empty ruleset */

.footer__nav-link {
    display: flex;
    color: var(--color-white-alt);
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    padding: 4px 0;
}

.footer__nav-link:hover {
    color: var(--white);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__contact p {
    display: flex;
    color: var(--color-white-alt);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    padding: 4px 0;
}


.footer__age-limit {
    display: flex;
    align-items: center;
    background-color: var(--bg-main);
    border-radius: var(--radius-sm);
    margin-top: 25px;
    padding: 4px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer__age-limit-label {
    padding: 0px 0px 0px 0px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-dark);
}

.footer__age-limit-value {
    background-color: var(--color-accent);
    padding: 4px 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    border-radius: 6px;
    line-height: 1;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    position: relative;
}

.footer__bottom p {
    vertical-align: middle;
    color: var(--color-gray-alt);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    text-align: center;
    padding: 0px;
    margin: 0px;
    border: 0px;
    max-width: 752px;
}

.footer__bottom::before {
    content: '12+';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--color-gray-alt);
    border-radius: 3000px;
    background-color: var(--color-gray-alt);
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    position: absolute;
    bottom: 0;
    right: 0;
}

@media (max-width: 991px) {

    .expeditions-grid,
    .podcast-main-card,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

/* VK Section */
.vk-section {
    background-color: var(--color-dark-alt);
    color: var(--color-white);
}

.vk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .vk-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Partners Section */
.partners-section {
    background-color: var(--color-bg-alt);
    padding: 100px 0;
}

.partners-tabs {
    display: flex;
    gap: var(--space-xxl);
    margin-bottom: var(--space-xxxl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0;
}

.partners-tab {
    padding: 15px 0;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    color: var(--gray);
    transition: var(--transition);
}

.partners-tab:hover {
    color: var(--color-primary);
}

.partners-tab.active {
    color: var(--color-primary);
}

.partners-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.partner-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 767px) {
    .partners-tabs {
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* Expeditions Section */
.expeditions {
    background: var(--color-dark-alt);
}

.expeditions__intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xxl);
    margin-bottom: var(--space-xxl);
}

.expeditions__text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    max-width: 800px;
    margin: 0;
}

.expeditions__map {
    width: 100%;
    height: 775px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0px;
}

@media (max-width: 767px) {
    .expeditions__intro {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }

    .expeditions__map {
        height: 350px;
    }
}

.uppercase {
    text-transform: uppercase;
}



/* Forum SOT Section */
.forum-sot {
    padding: var(--space-section) 0;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.forum-sot__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xxxl);
    flex-wrap: wrap;
    gap: var(--space-xl);
}


.forum-sot__nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.forum-sot__year {
    font-size: 16px;
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: color 0.3s ease;
}

.forum-sot__year::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url('../images/slider_gex.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.forum-sot__year:hover {
    color: #F15A24;
}

.forum-sot__button {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-xl);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: var(--radius-xs);
    transition: background-color 0.3s ease;
}

.forum-sot__button:hover {
    background-color: var(--color-primary-hover);
}

.forum-sot__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xxxl);
    align-items: stretch;
}

.forum-sot__left {
    display: flex;
    flex-direction: column;
}

.forum-sot__item {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    padding: 18px 0;
    border-bottom: 6px solid rgba(220, 210, 190, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.forum-sot__item.active {
    border-bottom: 6px solid var(--color-accent);
}

.forum-sot__item-value {
    font-size: 52px;
    color: var(--color-primary);
    font-weight: 400;
    line-height: 1;
    min-width: 90px;
}

.forum-sot__item-text {
    font-size: 15px;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.4;
}

.forum-sot__right {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.forum-sot__image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-white);
}

.forum-sot__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.forum-sot__image-text {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    background-color: #FFFDF8;
    padding: 25px 35px;
    border-radius: var(--radius-sm);
    color: var(--color-dark);
    font-size: 15px;
    line-height: 1.6;
    transition: opacity 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.forum-sot__image.fade,
.forum-sot__image-text.fade {
    opacity: 0;
}

@media (max-width: 991px) {
    .forum-sot__content {
        grid-template-columns: 1fr;
    }

    .forum-sot__header {
        justify-content: center;
    }

    .forum-sot__nav {
        justify-content: center;
    }
}


/* =============================================
   Клуб управленцев Section
   ============================================= */
.club-upravlencev {
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.club-upravlencev__container {
    position: relative;
}

/* Верхняя строка: заголовок слева + CTA справа */
.club-upravlencev__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xxl);
    position: relative;
    z-index: 2;
}

.club-upravlencev__intro {
    flex: 1;
}

.club-upravlencev__title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    background-image: url(../images/club-upravlencev__title.svg);
    background-repeat: no-repeat;
    padding: var(--space-xs) 56px;
    width: fit-content;
}

.club-upravlencev__subtitle {
    font-size: 22px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding-left: 10px;
    line-height: 1.4;
}

/* CTA-блок: прямоугольник с оранжевой рамкой */
.club-upravlencev__cta {
    position: relative;
    width: 100%;
    max-width: 438px;
}

.club-upravlencev__cta_img img {
    width: 100%;
}

.club-upravlencev__cta_info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: calc(100% - 60px);
    padding: 35px 0px;
    text-align: center;
}

.club-upravlencev__cta-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.4;
    margin-bottom: var(--space-xl);
}

.club-upravlencev__cta-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.club-upravlencev__cta-btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Нижняя строка: картинка парня + список */
.club-upravlencev__bottom {
    display: flex;
    align-items: flex-end;
    gap: 0;
    position: relative;
    z-index: 1;
    margin-top: -90px;
}



/* Картинка парня — вырастает снизу */
.club-upravlencev__visual {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: absolute;
    bottom: 0px;
    z-index: 0;
    width: 100%;
}

.club-upravlencev__image {
    width: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* Белая карточка со списком — перекрывает нижний правый блок */
.club-upravlencev__features {
    background-color: #FFFDF8;
    background-image: url('../images/club-upravlencev__features.svg');
    background-repeat: no-repeat;
    background-position-y: 80%;
    background-position-x: calc(100% - 27px);
    background-size: 64px;
    border-radius: var(--radius-md);
    padding: 32px 72px 32px 32px;
    position: relative;
    align-self: flex-end;
    width: 100%;
    max-width: 455px;
    margin: 0px 260px 0px auto;
}

.club-upravlencev__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.club-upravlencev__list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.4;
}

/* Иконка-гексагон через clip-path */
.club-upravlencev__list-icon {
    flex-shrink: 0;
    width: 18px;
    height: 21px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin-top: 1px;
}

/* =============================================
   Адаптив для Клуба управленцев
   ============================================= */


/* =============================================
   Продукты и проекты Section
   ============================================= */
.products {
    padding: var(--space-section) 0;
    background-color: var(--color-bg-light);
}

.products__header {
    margin-bottom: var(--space-xxxl);
}


/* Сетка 3 × 2 */
.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Карточка */
.products__card {
    background-color: var(--bg-card-light);
    border: 1px solid var(--color-border-alt);
    border-radius: var(--radius-md);
    padding: var(--space-xxl) var(--space-xl) 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.products__card:hover .products__card-icon {
    background-color: var(--color-primary-hover);
}

/* Гексагональная иконка */
.products__card-icon {
    width: 76px;
    height: 88px;
    background-color: var(--color-primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.products__card-icon svg {
    width: 36px;
    height: 36px;
}

.products__card-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    color: var(--color-dark-alt);
    font-family: var(--font-main);
}

.products__card-desc {
    color: var(--color-dark-alt);
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    text-align: center;
}


/* =============================================
   Будьте с нами ВКонтакте Section
   ============================================= */
.vk-section {
    padding: var(--space-section) 0;
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Header */
.vk-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xxxl);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.vk-section__title {
    font-family: 'JakobTT', Arial, sans-serif;
    color: var(--color-white);
    font-size: 40px;
    font-weight: 400;
    padding: var(--space-xs) 52px;
    margin: 0;
    line-height: 1;
    background-image: url("../images/vk-section__title_bg.svg");
    background-repeat: no-repeat;
    width: fit-content;
}

.vk-section__button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 9px 24px;
    text-decoration: none;
    border-radius: var(--radius-xs);
    transition: background-color 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    vertical-align: middle;
    min-width: 278px;
    justify-content: center;
}

.vk-section__button:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-dark);
}

.vk-section__button-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Content: две колонки */
.vk-section__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xxxl);
    align-items: stretch;
}

/* Left: хэштег-табы */
.vk-section__left {
    display: flex;
    flex-direction: column;
}

.vk-section__item {
    padding: 18px 0;
    border-bottom: 6px solid var(--color-border-soft);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    transition: color 0.3s ease, border-color 0.3s ease;
    line-height: 1.4;
}

.vk-section__item:hover {
    color: var(--color-white);
}

.vk-section__item.active {
    color: var(--color-white);
    border-bottom-color: var(--color-accent);
    border-bottom-width: 6px;
}

/* Right: изображение */
.vk-section__right {
    border-radius: 12px;
    overflow: hidden;
}

.vk-section__image-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.vk-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
    display: block;
}

.vk-section__image-text {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    background-color: #FFFDF8;
    padding: 18px 28px;
    border-radius: var(--radius-xs);
    color: var(--color-dark);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    transition: opacity 0.4s ease;
}

.vk-section__image.fade,
.vk-section__image-text.fade {
    opacity: 0;
}

/* =============================================
   Глобус образования Section
   ============================================= */
.globe {
    padding: var(--space-section) 0;
    background-color: var(--color-bg-light);
    overflow: hidden;
    background-image: url(../images/globe_bg.svg);
    background-repeat: no-repeat;
    background-position: 83% 40%;
}

.globe__container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
}

/* Left content */
.globe__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.globe__desc {
    color: var(--color-dark);
    padding-left: 4px;
    margin-top: 60px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
}

.globe__btn {
    display: inline-flex;
    background-color: var(--color-accent);
    color: var(--color-dark);
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    margin-top: var(--space-lg);
    transition: var(--transition);
}

.globe__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Right visual */
.globe__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

/* Большой центральный гексагон */
.globe__hex-main {
    width: 400px;
    height: 460px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    background-color: var(--color-accent);
    position: relative;
    z-index: 1;
}

.globe__hex-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Декоративные гексагоны */
.globe__hex-decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

/* Маленький контурный (оранжевый) — слева сверху */
.globe__hex-decor_outline-sm {
    width: 70px;
    height: 82px;
    top: 30px;
    left: -10px;
}

/* Маленький сплошной (оранжевый) — справа снизу */
.globe__hex-decor_solid-sm {
    width: 55px;
    height: 65px;
    bottom: 20px;
    right: 10px;
    z-index: 2;
}

/* Маленький контурный жёлтый — сверху по центру */
.globe__hex-decor_outline-top {
    width: 48px;
    height: 56px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* =============================================
   Наши партнёры Section
   ============================================= */
.partners {
    padding: var(--space-section) 0;
    background-color: var(--color-bg-light);
}

/* Header: title + filters в одну строку */
.partners__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    margin-bottom: var(--space-xxxl);
    flex-wrap: wrap;
}


/* Фильтр-табы */
.partners__filters {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}


.partners__filter {
    background: none;
    border: none;
    padding: var(--space-xs) var(--space-24);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gray);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    font-family: var(--font-main);
}

.partners__filter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.partners__filter.active {
    color: var(--color-dark);
    font-weight: 700;
}

.partners__filter.active::after {
    transform: scaleX(1);
}

.partners__filter:hover {
    color: var(--color-dark);
}

/* Сетка карточек 6 × N */
.partners__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

/* Карточка партнёра */
.partners__card {
    background-color: #ffffff00;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    max-height: 100px;
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.3s ease;
}

.partners__card:hover {
    transform: translateY(-3px);
}

/* Скрытые карточки во время фильтра */
.partners__card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    position: absolute;
    visibility: hidden;
}

.partners__card-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Кнопка внизу */
.partners__footer {
    display: flex;
    justify-content: center;
}

.partners__btn {
    display: inline-flex;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.partners__btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* =============================================
   Competency Main Hero (formerly Club Hero)
   ============================================= */
.competency-main {
    position: relative;
    background-color: var(--color-dark-alt);
    background-image: url('../images/hero__slide_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

.competency-main__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.competency-main__content {
    flex: 0 0 50%;
    max-width: 600px;
}

.competency-main__actions {
    display: flex;
    gap: var(--space-lg);
}

.competency-main__title {
    font-size: 40px;
    font-family: var(--font-heading);
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.competency-main__subtitle-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 90px;
}

.competency-main__subtitle-icon {
    width: 24px;
    height: 24px;
    background-image: url('../images/slider_gex.svg');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.competency-main__subtitle-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-main);
}

.competency-main__visual {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.competency-main__hex-group {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.competency-main__hex-group>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom
}

.competency-main__hex-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.competency-main__hex {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    background-color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.competency-main__hex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.competency-main__hex_main {
    width: 320px;
    height: 370px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.competency-main__hex_top {
    width: 220px;
    height: 255px;
    top: 0;
    right: 40px;
    z-index: 1;
}

.competency-main__hex_bottom {
    width: 240px;
    height: 275px;
    bottom: 0;
    right: 20px;
    z-index: 3;
}

/* =============================================
   Competency Directions Section
   ============================================= */
.competency-directions {
    padding: var(--space-section) 0;
    background-color: #fdfaf3;
}


.competency-directions__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.competency-card {
    background-color: var(--bg-card-light);
    border: 1px solid var(--color-border-alt);
    border-radius: var(--radius-md);
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(221, 180, 131, 0.3);
}

.competency-card__icon-wrap {
    width: 60px;
    height: 68px;
    background-color: #ec652b;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.competency-card__num {
    color: var(--color-white);
    font-size: 24px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.competency-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark-alt);
    margin-bottom: 12px;
    line-height: 1.2;
}

.competency-card__desc {
    font-size: 14px;
    color: var(--color-dark-alt);
    line-height: 1.5;
    margin: 0;
    max-width: 90%;
}

/* Brush Decorator */


/* =============================================
   System Diagnostic Section
   ============================================= */
.system-diagnostic {
    padding: var(--space-section) 0;
    background-color: var(--color-bg);
    overflow: hidden;
}

.system-diagnostic__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.system-diagnostic__content {
    flex: 0 0 55%;
}


.system-diagnostic__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.system-diagnostic__item {
    position: relative;
    padding-left: 28px;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-dark-alt);
}

.system-diagnostic__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 16px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.system-diagnostic__note {
    padding: 24px 40px 23px 43px;
    position: relative;
    max-width: 675px;
    background-image: url(../images/system-diagnostic__note_bg.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
}

.system-diagnostic__note p {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-dark-alt);
    margin: 0;
}

.system-diagnostic__visual {
    flex: 0 0 45%;
}

.system-diagnostic__visual-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.system-diagnostic__bg-shapes {
    width: 100%;
    height: auto;
    display: block;
}

.system-diagnostic__girl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    height: auto;
    z-index: 2;
}

/* Diagnostic 6K */
.diagnostic-6k {
    padding: var(--space-section) 0;
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    overflow: hidden;
    position: relative;
}

.diagnostic-6k__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.diagnostic-6k__content {
    flex: 0 0 50%;
}

.diagnostic-6k__title {
    font-family: var(--font-heading);
    background-image: url('../images/diagnostic-6k__title.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 10px 55px;
    color: var(--color-white);
    font-size: 32px;
    margin-bottom: 25px;
    display: block;
    width: fit-content;
    line-height: 1.2;
}

.diagnostic-6k__subtitle {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.4;
    max-width: 500px;
}

.diagnostic-6k__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.diagnostic-6k__item {
    position: relative;
    padding-left: 28px;
    line-height: 1.5;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.diagnostic-6k__item strong {
    color: var(--color-white);
    font-weight: 700;
}

.diagnostic-6k__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 16px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.diagnostic-6k__visual {
    flex: 0 0 45%;
}

.diagnostic-6k__visual-inner {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagnostic-6k__img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.diagnostic-6k__hex-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background-image: url('../images/globe_bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
}

/* =============================================
   Team Section
   ============================================= */
.team {
    padding: var(--space-section) 0;
    background-color: var(--color-bg);
}


.team__subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-dark-alt);
    margin-bottom: 60px;
    line-height: 1.4;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 30px;
}

.team__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.team__hex-wrap {
    position: relative;
    width: 100%;
    max-width: 320px;
    min-height: 320px;
    margin-bottom: 25px;
}

.team__info-marker {
    position: absolute;
    top: 5px;
    left: 20px;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.team__hex {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.team__card:hover .team__hex {
    transform: scale(1.02);
}

.team__hex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.team__hex_silhouette {
    background: #FF9D33;
}

.silhouette-placeholder {
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32' fill='none'%3E%3Cpath d='M12 16C15.866 16 19 12.866 19 9C19 5.13401 15.866 2 12 2C8.13401 2 5 5.13401 5 9C5 12.866 8.13401 16 12 16Z' fill='%23232323' opacity='0.8'/%3E%3Cpath d='M2 30C2 23.3726 7.37258 18 14 18H10C16.6274 18 22 23.3726 22 30V32H2V30Z' fill='%23232323' opacity='0.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 60% auto;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.team__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark-alt);
    line-height: 1.3;
    max-width: 200px;
    margin: 0 auto;
}

/* =============================================
   Audience Section
   ============================================= */
.audience {
    padding: var(--space-section) 0;
    background-color: var(--color-bg);
}

.audience__title {
    margin-bottom: 50px;
    text-align: left;
}

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

.audience__card {
    background-color: var(--color-white);
    border: 1px solid #FDF2D0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

.audience__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 37, 37, 0.08);
}

.audience__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.6;
    overflow: hidden;
    border-radius: 8px;
}

.audience__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.audience__content {
    padding: 0px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.audience__content p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-dark-alt);
    margin: 0;
}

/* Team Modal */
.modal-team {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-team.active {
    display: flex;
}

.modal-team__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(35, 35, 35, 0.7);
    backdrop-filter: blur(5px); */
}

.modal-team__container {
    position: relative;
    background-color: var(--color-white-alt);
    width: 100%;
    max-width: 1200px;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--color-accent);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 90vh;
}

.modal-team__close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-team__close:hover {
    transform: rotate(90deg);
}

.modal-team__header {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-bottom: 32px;
}

.modal-team__avatar {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 100px;
    flex-shrink: 0;
}

.modal-team__avatar img {
    width: 100%;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.modal-team__name {
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
}

.modal-team__grid {
    column-count: 2;
    column-gap: 29px;
    list-style: none;
    padding: 0;
    display: block;
}

.modal-team__point {
    position: relative;
    padding-left: 36px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--color-dark);
    break-inside: avoid;
    margin-bottom: 24px;
}

.modal-team__point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 18px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

@media (max-width: 991px) {
    .modal-team__container {
        padding: 32px;
    }

    .modal-team__grid {
        column-count: 1;
        gap: 15px;
    }

    .modal-team__header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .modal-team__name {
        font-size: 28px;
    }
}

/* =============================================
   News Single Page Scoped Styles
   ============================================= */

.page-news-single {
    background-color: var(--bg-news);
}

.page-news-single .news-page {
    padding-top: 10px;
    padding-bottom: 0px;
    background-color: var(--bg-news);
}

.news-all-page,
.news-singl-page {
    padding-bottom: 60px;
}

.page-news-single .breadcrumbs {
    justify-content: flex-start;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--color-gray);
}

.page-news-single .article {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    background: transparent;
    padding: 0px;
}

.page-news-single .article__header {
    text-align: left;
    margin-bottom: 40px;
}

.page-news-single .article__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
    text-align: left;
}

.page-news-single .article__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-news-single .article__category {
    display: inline-block;
    line-height: 1;
    font-weight: 600;
    font-family: var(--font-main);
    background-color: var(--color-accent);
    border-radius: 30px;
    padding: 6px 16px;
    color: var(--color-dark);
    font-size: 12px;
}

.page-news-single .article__date {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.page-news-single .article__title {
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1.2;
    color: var(--color-accent-alt);
    /* Keep specific news color or use var if it becomes common */
    margin-bottom: 40px;
    text-align: left;
    max-width: 900px;
}

.page-news-single .article__image {
    margin: 0 0 30px;
    max-width: 100%;
}

.page-news-single .article__image img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.page-news-single .article__caption {
    font-style: italic;
    color: #555;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
}

.page-news-single .article__text {
    max-width: 100%;
    margin: 0;
    font-size: 20px;
    line-height: 1.7;
    color: #333;
    text-align: left;
}

.page-news-single .article__intro {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-news-single .article__text p {
    margin-bottom: 25px;
}

.page-news-single .article__text p:has(+ ul) {
    margin-bottom: 0;
}

.article__author-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.article__author-photo {
    width: 100%;
    max-width: 30px;
    max-height: 30px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.article__author-text {
    font-size: 14px;
    line-height: 1.2;
    color: #333;
    font-weight: 400;
}

.page-news-single .article__text h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-dark);
    margin: 60px 0 30px;
    text-align: left;
}

.page-news-single .article__text blockquote {
    border: 1px solid #FFEBB0;
    background-color: #fafafa;
    padding: 40px;
    border-radius: 15px;
    font-style: italic;
    margin: 50px 0;
    position: relative;
    text-align: left;
    font-size: 20px;
    color: #555;
}

.page-news-single .article__text blockquote::before {
    content: '“';
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 40px;
    color: #FFD25E;
    font-family: serif;
}

.page-news-single .article__text blockquote p {
    font-style: normal;
}

.page-news-single .article__text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.page-news-single .article__text ul li {
    position: relative;
    padding-left: 24px;
    font-size: 20px;
    line-height: 1.7;
}

.page-news-single .article__text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 14px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.page-news-single .related-news {
    margin-top: 100px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 80px;
    max-width: 900px;
    margin-left: 0;
}

.page-news-single .related-news__title {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-accent-alt);
    margin-bottom: 40px;
}

.page-news-single .related-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-news-single .related-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    text-decoration: none;
    transition: var(--transition);
}

.page-news-single .related-item:hover h4 {
    color: var(--color-accent-alt);
}

.page-news-single .related-item__img {
    width: 160px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.page-news-single .related-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-news-single .related-item__info h4 {
    font-size: 18px;
    color: var(--color-accent-alt);
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 600;
    font-family: var(--font-main);
}

.page-news-single .related-item__info p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .page-news-single .article__text h2 {
        font-size: 24px;
    }

    .page-news-single .article__title {
        font-size: 24px;
    }

    .page-news-single .article__intro {
        font-size: 16px;
    }

    .page-news-single .article__text {
        font-size: 16px;
        padding-right: 20px;
    }

    .page-news-single .related-item {
        flex-direction: column;
    }

    .page-news-single .related-item__img {
        width: 100%;
        height: 200px;
    }

    .page-news-single .article__text blockquote {
        font-size: 16px;
    }

    .page-news-single .related-news {
        padding-top: 40px;
        margin-top: 40px;
    }
}

/* =============================================
   About Page Scoped Styles
   ============================================= */

.page-about .about-page {
    padding: 60px 0 100px;
}

.page-about .breadcrumbs {
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.about-sidebar {
    /* position: sticky;
    top: 100px; */
}

.about-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
    /* Extra space at the bottom */
}

.about-nav__link {
    display: block;
    padding: 10px 15px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    line-height: 1.25;
    text-decoration: none;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.about-nav__link:hover {
    background-color: var(--color-primary-hover);
    transform: translateX(5px);
}

.about-nav__link.active {
    background-color: var(--color-dark);
}

.about-content {
    background-color: transparent;
    min-width: 0;
}

.about-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 40px;
    line-height: 1.1;
}

.about-subtitle {
    font-size: 20px;
    color: var(--color-dark);
    margin: 40px 0 20px;
    font-weight: 500;
    line-height: 120%;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-top: 16px;
    margin-bottom: 0px;
}

.about-section p {
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    color: #333;
}

.about-section p a,
.about-section p a:hover,
.about-section p a:visited {
    color: var(--color-primary);
}

.about-table__wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    -webkit-overflow-scrolling: touch;
}

.about-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    font-size: 14px;
}

.about-table th,
.about-table td {
    border: 1px solid var(--color-dark);
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
}

.about-table th {
    font-weight: 600;
    color: var(--color-dark);
}

.about-table td a {
    color: var(--color-primary);
    text-decoration: underline;
}


.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.4;
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 15px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.about-list li a {
    color: var(--color-primary);
    text-decoration: none;
}

.about-list li a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-sidebar {
        position: static;
    }

    .about-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .about-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
        gap: 15px;
        scrollbar-width: thin;
    }

    .about-nav::-webkit-scrollbar {
        height: 4px;
    }

    .about-nav::-webkit-scrollbar-thumb {
        background-color: var(--color-primary);
        border-radius: 4px;
    }

    .about-nav__link {
        flex-shrink: 0;
        white-space: nowrap;
        min-width: auto;
        padding: 8px 20px;
    }
}

/* Team/Management Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 0px;
}

.team-item {
    display: flex;
    flex-direction: column;
}

.team-item__img {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #eee;
}

.team-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-item__name {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.team-item__desc {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.team-item__desc a {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Search Modal Styles
   ============================================= */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-modal.active {
    visibility: visible;
    opacity: 1;
}

.search-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.search-modal__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 100px auto 0;
    padding: 0 20px;
}

.search-modal__top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    transform: translateY(-20px);
    transition: all 0.4s 0.1s;
}

.search-modal.active .search-modal__top {
    transform: translateY(0);
}

.search-modal__field {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.search-modal__icon {
    width: 32px;
    height: 32px;
    margin-right: 20px;
    filter: brightness(0) invert(1);
}

.search-modal__input {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    font-family: var(--font-heading);
    outline: none;
}

.search-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: -10px;
}

.search-modal__results {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding-right: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s 0.2s;
}

.search-modal.active .search-modal__results {
    transform: translateY(0);
    opacity: 1;
}

/* Custom Scrollbar for Results */
.search-modal__results::-webkit-scrollbar {
    width: 4px;
}

.search-modal__results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.search-modal__results::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

.search-modal__placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    text-align: center;
    padding: 40px 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: var(--color-primary);
}

.search-result-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
    background-color: #333;
}

.search-result-content {
    flex-grow: 1;
}

.search-result-category {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.search-result-title {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .search-modal__container {
        margin-top: 60px;
    }

    .search-modal__input {
        font-size: 24px;
    }

    .search-modal__icon {
        width: 24px;
        height: 24px;
    }
}

/* =============================================
   Expeditions List Section
   ============================================= */
.expeditions-list {
    padding-top: 30px;
    padding-bottom: 100px;
    background-color: var(--bg-main);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.breadcrumbs__link {
    font-size: 14px;
    color: var(--color-gray);
    text-decoration: none;
}

.breadcrumbs__link:hover {
    color: var(--color-primary);
}

.breadcrumbs__separator {
    font-size: 14px;
    color: var(--color-gray);
    opacity: 0.5;
}

.breadcrumbs__current {
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 500;
}

.expeditions-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expedition-card {
    background: transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.expedition-card.hidden {
    display: none;
}

.expedition-card:hover {
    transform: translateY(-5px);
}

.expedition-card__header {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: var(--color-dark-alt);
}

.expedition-card__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.expedition-card:hover .expedition-card__bg {
    transform: scale(1.05);
}

.expedition-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    line-height: 1;
    font-weight: 500;
    font-family: 'Montserrat';
    background-color: var(--color-accent);
    border-radius: 30px;
    display: inline-block;
    padding: var(--space-xs) var(--space-xs);
    color: var(--color-dark);
    font-size: 10px;
    text-transform: uppercase;
    width: fit-content;
    max-width: 100%;
}


.expedition-card__body {
    padding: 15px 0;
}

.expedition-card__title {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 4px;
    line-height: 1.2;
}

.expedition-card__subtitle {
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.expedition-card__more {
    font-size: 16px;
    color: var(--color-dark);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.expedition-card__more:hover {
    color: var(--color-primary);
    border-color: transparent;
}

.expeditions-list__footer {
    margin-top: 60px;
    display: flex;
    justify-content: flex-end;
}

#toggleExpeditionsBtn {
    min-width: 200px;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    background-color: #f26522;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#toggleExpeditionsBtn:hover {
    background-color: #d1561d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 101, 34, 0.3);
}

@media (max-width: 991px) {
    .expeditions-list__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .expeditions-list__grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Expeditions CTA Section
   ============================================= */
.expeditions-cta {
    background-color: var(--color-dark-alt);
    background-image: url('../images/expedition/expeditions-cta_bg.svg');
    /* Subtle hexagon pattern from slider */
    background-size: auto;
    background-position: right top;
    background-repeat: no-repeat;
    padding: 100px 0 0;
    overflow: hidden;
}

.expeditions-cta__container {
    display: flex;
    align-items: center;
    gap: 60px;
    border-bottom: 1px solid var(--color-gray-alt);
    padding-bottom: 100px;
}

.expeditions-cta__visual {
    width: 100%;
    max-width: 491px;
}

.expeditions-cta__img {
    width: 100%;
    height: auto;
    display: block;
}

.expeditions-cta__content {
    width: 100%;
    max-width: 565px;
}

.expeditions-cta__text {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.expeditions-cta__actions {
    display: flex;
    justify-content: flex-end;
}

.expeditions-cta__actions .btn {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .expeditions-cta__container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .expeditions-cta__visual,
    .expeditions-cta__content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* =============================================
   Expeditions Page Styles
   ============================================= */
.expeditions-hero {
    background-color: #262121;
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
}


.expeditions-hero__title {
    font-family: var(--font-heading);
    font-size: 64px;
    color: var(--color-accent);
    margin-bottom: 30px;
    line-height: 1.1;
}

.expeditions-hero__description {
    font-size: 16px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.expeditions-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.expeditions-hero__stat-item {
    display: flex;
    flex-direction: column;
}

.expeditions-hero__stat-value {
    font-size: 36px;
    line-height: 120%;
    color: var(--color-accent);
    margin-bottom: 5px;
    font-weight: 500;
}

.expeditions-hero__stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

.expeditions-hero__container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Text to the left */
    position: relative;
    z-index: 5;
    min-height: 600px;
    width: 100%;
}

.expeditions-hero__content {
    flex: 0 1 600px;
    position: relative;
    z-index: 10;
}

.expeditions-hero__visual {
    position: absolute;
    right: -20px;
    top: -150px;
    bottom: -150px;
    width: calc(268px + 268px + 16px);
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.expeditions-hero__marquee-wrapper {
    display: flex;
    gap: 15px;
    height: 100%;
}

.expeditions-hero__column {
    flex: none;
    width: 268px;
}

.expeditions-hero__column_stagger {
    margin-top: 150px;
    /* Adjusted stagger for new height */
    /* Perfect overlap */
}

.expeditions-hero__track {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.expeditions-hero__hex {
    width: 100%;
    max-width: 268px;
    height: 300px;
    /* Adjusted height since clip-path is gone, feel free to change */
    position: relative;
}

.expeditions-hero__hex .hex-inner {
    width: 100%;
    height: 100%;
}

.expeditions-hero__hex img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Unified Animation */
.expeditions-hero__track {
    animation: marquee-up 40s linear infinite;
}

@keyframes marquee-up {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@media (max-width: 1200px) {
    .expeditions-hero__title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .expeditions-hero {
        padding: 60px 0;
    }

    .expeditions-hero__container {
        flex-direction: column;
        text-align: center;
    }

    .expeditions-hero__stats {
        justify-content: center;
    }

    .expeditions-hero__stat-item {
        align-items: center;
    }

    .expeditions-hero__visual {
        width: 100%;
        height: 500px;
    }

    .expeditions-hero__hex {
        width: 150px;
        height: 170px;
    }
}

@media (max-width: 480px) {
    .expeditions-hero__title {
        font-size: 36px;
    }

    .expeditions-hero__stats {
        grid-template-columns: 1fr;
    }
}


.search-result-content {
    flex-grow: 1;
}

.search-result-category {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.search-result-title {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .search-modal__container {
        margin-top: 60px;
    }

    .search-modal__input {
        font-size: 24px;
    }

    .search-modal__icon {
        width: 24px;
        height: 24px;
    }
}

/* =============================================
   ACCESSIBILITY VERSION STYLES
   ============================================= */

.accessibility-bar {
    background-color: #fff;
    border-bottom: 2px solid #000;
    padding: 15px 0;
    font-family: Arial, sans-serif;
    z-index: 9999;
    position: sticky;
    top: 0;
    display: none;
}

.accessibility-bar__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.accessibility-bar__group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accessibility-bar__label {
    font-weight: 700;
    font-size: 13px;
    color: #000;
    text-transform: uppercase;
}

.accessibility-bar__actions {
    display: flex;
    gap: 6px;
}

.accessibility-bar__btn {
    padding: 4px 10px;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.accessibility-bar__btn.active {
    background: #000;
    color: #fff;
}

/* Font Buttons Sizes */
.btn-font-m {
    font-size: 18px;
}

.btn-font-l {
    font-size: 22px;
}

/* Theme Buttons */
.theme-btn {
    border-radius: 50%;
}

.theme-btn_default {
    background: linear-gradient(135deg, #F26522, #F8CC56);
    border: none;
}

.theme-btn_bw {
    background: #fff;
    color: #000;
    font-family: serif;
    border: 2px solid #000;
}

.theme-btn_wb {
    background: #000;
    color: #fff;
    font-family: serif;
    border: 2px solid #fff;
}

.theme-btn_bc {
    background: #9dd1ff;
    color: #063462;
    font-family: serif;
    border: 2px solid #063462;
}

.accessibility-bar__btn-toggle {
    padding: 6px 12px;
    border: 1px solid #000;
    background: #eee;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    border-radius: 4px;
}

.accessibility-bar__btn-toggle.btn-active {
    background: #000;
    color: #fff;
}

.accessibility-bar__reset {
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
}

.accessibility-bar__close {
    background: #000;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* --- THEMES LOGIC --- */

/* Font Sizes */
body.ax-font-medium {
    font-size: 1.25rem !important;
}

body.ax-font-medium h1 {
    font-size: 3.5rem !important;
}

body.ax-font-medium h2 {
    font-size: 2.5rem !important;
}

body.ax-font-large {
    font-size: 1.5rem !important;
}

body.ax-font-large h1 {
    font-size: 4rem !important;
}

body.ax-font-large h2 {
    font-size: 3rem !important;
}

/* Theme: Black on White (BW) */
body.ax-theme-bw {
    background-color: #fff !important;
    color: #000 !important;
    --bg-main: #fff;
    --bg-inner: #fff;
    --bg-news: #fff;
    --color-text: #000;
    --color-dark: #000;
    --color-dark-alt: #000;
    --color-gray: #000;
    --color-primary: #000;
    --color-accent: #000;
    --bg-card-light: #fff;
    --color-border-alt: #000;
    --header-bg: #fff;
}

body.ax-theme-bw *:not(.accessibility-bar, .accessibility-bar *) {
    color: #000 !important;
    background-color: transparent !important;
    border-color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
}

body.ax-theme-bw .header__bg,
body.ax-theme-bw .btn,
body.ax-theme-bw .news-card,
body.ax-theme-bw .footer,
body.ax-theme-bw article,
body.ax-theme-bw .section {
    background-color: #fff !important;
    border: 1px solid #000 !important;
}

/* Theme: White on Black (WB) */
body.ax-theme-wb {
    background-color: #000 !important;
    color: #fff !important;
    --bg-main: #000;
    --bg-inner: #000;
    --bg-news: #000;
    --color-text: #fff;
    --color-dark: #fff;
    --color-dark-alt: #000;
    --color-gray: #ccc;
    --color-primary: #fff;
    --color-accent: #fff;
    --bg-card-light: #000;
    --color-border-alt: #fff;
}

body.ax-theme-wb *:not(.accessibility-bar, .accessibility-bar *) {
    color: #fff !important;
    background-color: transparent !important;
    border-color: #fff !important;
    box-shadow: none !important;
    background-image: none !important;
}

body.ax-theme-wb .header__bg,
body.ax-theme-wb .btn,
body.ax-theme-wb .news-card,
body.ax-theme-wb .footer,
body.ax-theme-wb article,
body.ax-theme-wb .section {
    background-color: #000 !important;
    border: 1px solid #fff !important;
}

/* Theme: Blue on Cyan (BC) */
body.ax-theme-bc {
    background-color: #9dd1ff !important;
    color: #063462 !important;
    --bg-main: #9dd1ff;
    --bg-inner: #9dd1ff;
    --bg-news: #9dd1ff;
    --color-text: #063462;
    --color-dark: #063462;
    --color-dark-alt: #063462;
    --color-gray: #063462;
    --color-primary: #063462;
    --color-accent: #063462;
    --bg-card-light: #9dd1ff;
    --color-border-alt: #063462;
}

body.ax-theme-bc *:not(.accessibility-bar, .accessibility-bar *) {
    color: #063462 !important;
    background-color: transparent !important;
    border-color: #063462 !important;
    box-shadow: none !important;
    background-image: none !important;
}

body.ax-theme-bc .header__bg,
body.ax-theme-bc .btn,
body.ax-theme-bc .news-card,
body.ax-theme-bc .footer,
body.ax-theme-bc article,
body.ax-theme-bc .section {
    background-color: #9dd1ff !important;
    border: 1px solid #063462 !important;
}

/* Images Hide */
body.ax-no-images img:not(.accessibility-bar img, .header__logo img) {
    display: none !important;
}

/* Audio Button in News */
.article__audio-trigger {
    margin: 20px 0;
    display: none;
}

body.is-ax-active .article__audio-trigger {
    display: block;
}

.btn-audio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #FDF8EF;
    border: 1px solid var(--color-border-alt);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
    color: var(--color-dark);
}

.btn-audio h4 {
    margin: 0;
    font-size: 16px;
}

.btn-audio:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-audio svg {
    width: 20px;
    height: 20px;
    fill: currentColor;

}