/* ═══════════════════════════════════════════
   1. IMPORTS & RESET
   ═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

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

.container a {
    color: #45a3ce !important;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

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

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
p{
    margin-bottom: .7rem;
}
/* ═══════════════════════════════════════════
   2. GLOBAL / UTILITY
   ═══════════════════════════════════════════ */
.container {
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 32px;
}

.subtitle {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: center;
    color: #254AA5;
    margin: 0;
}

.subtitle-line {
    flex: 1;
    height: 1px;
    background-color: #d1d5db;
}

.subtitle-text {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 400;
}

/* ═══════════════════════════════════════════
   3. HEADER
   ═══════════════════════════════════════════ */

/* ── Top Bar ── */
.site-header {
    width: 100%;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 64px 32px;
    max-width: 96rem;
    margin: 0 auto;
}

.herzena-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-herzena-sign {
    height: 120px;
    width: auto;
}

.logo-herzena-word {
    height: 80px;
    width: auto;
}

.top-bar-center {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-portal-sign {
    height: 136px;
    width: auto;
}

.logo-portal-word {
    height: 96px;
    width: auto;
}

.logo-portal-sign-pl {
    height: 100px;
    width: auto;
}

.logo-portal-word-pl {
    height: 80px;
    width: auto;
}

.partners-section {
    max-width: 450px;
}

.partners-heading {
    text-transform: uppercase;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #254AA5;
}

.partner-name {
    font-size: 11px;
    font-weight: 400;
    color: #254AA5;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 12px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-logo {
    height: 50px;
    width: auto;
}

/* ── Navigation ── */
.header-nav {
    background-color: #243892;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}

.nav-row {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links {
    display: flex;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon {
    height: 24px;
    width: 24px;
}

.nav-login {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-search-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Menu Items ── */
.menu-item {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    position: relative;
    cursor: pointer;
    padding: 16px 20px;
    transition: background-color 0.2s;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ── Submenu ── */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #243892;
    min-width: 220px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 50;
}

.menu-item:hover .submenu {
    display: block;
}

.submenu-arrow {
    display: none;
    margin-left: 6px;
    transition: transform 0.2s;
}

.submenu-item {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    padding: 14px 18px;
    transition: background-color 0.2s;
    cursor: pointer;
    position: relative;
}

.submenu-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.submenu-item a {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* ── Third-level submenu ── */
.submenu-item.has-submenu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.submenu-item.has-submenu .submenu-label {
    cursor: pointer;
}

.submenu-item.has-submenu .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #243892;
    min-width: 280px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 50;
}

.submenu-item.has-submenu:hover > .submenu {
    display: block;
}

.submenu-item.has-submenu > .submenu-arrow {
    display: inline-block;
    float: right;
    transition: transform 0.2s;
}

.submenu-item.has-submenu > .submenu .submenu-item {
    font-size: 16px;
    padding: 12px 18px;
}

/* ── Search ── */
.search-field {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 50;
    background-color: #243892;
    padding: 8px;
    width: 320px;
}

.search-field.active {
    display: block;
}

.search-input-wrap {
    display: flex;
    align-items: center;
}

.search-input {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px 12px;
    font-size: 16px;
    outline: none;
    width: 100%;
    background: #fff;
    color: #000;
}

.search-input::placeholder {
    color: #6b7280;
}

.search-btn {
    background-color: #243892;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-btn img,
.search-btn-icon {
    height: 20px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-search {
    display: none;
    padding: 14px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search input {
    width: 100%;
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ═══════════════════════════════════════════
   4. HERO
   ═══════════════════════════════════════════ */
.hero {
    background: linear-gradient(270deg, #A6D09E 0%, #EAEDCD 52%, #fff 100%);
    overflow: hidden;
    position: relative;
    border-bottom: #d1e7cd 1px solid;
    transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease, border 0.4s ease;
    max-height: 600px;
    margin-bottom: 0;
}

.hero.hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    pointer-events: none;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: 100%;
    max-height: 481px;
    min-height: 481px;
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 32px;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.hero-text {
    flex-shrink: 0;
    width: 50%;
    z-index: 10;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #254AA5;
    margin: 0;
    line-height: 1;
}

.hero-subtitle {
    font-size: 46px;
    font-weight: 400;
    color: #254AA5;
    line-height: 1;
    margin-top: 12px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.hero-image img {
    display: block;
}

/* ═══════════════════════════════════════════
   5. INDEX CONTENT (Two-Column Layout)
   ═══════════════════════════════════════════ */
.index-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 32px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.left-column {
    width: 33.3333%;
    flex-shrink: 0;
}

.right-column {
    width: 66.6667%;
    flex: 1;
}

/* ── Content Slider ── */
.content-slider {
    width: 100%;
}

.slider-wrapper {
    border-radius: 16px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 100%;
}

.slider-text {
    background-color: #254AA5;
    padding: 24px 28px;
}

.slider-subtitle {
    font-size: 20px;
    font-style: italic;
    color: #BBE394;
    margin: 0 0 12px 0;
}

.slider-title-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.slider-title {
    font-size: 23px;
    font-weight: 400;
    color: #fff;
    margin: 0;

    display: -webkit-inline-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-link {
    font-size: 23px;
    font-weight: 400;
    color: #C5FF8B;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.slider-link:hover {
    opacity: 0.8;
}

.slider-arrow {
    width: 27px;
    height: 27px;
    stroke: #C5FF8B;
}

.slider-photo {
    background-size: cover;
    background-position: center;
    min-height: 405px;
    border-radius: 0 0 16px 16px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background-color: #DBE1FF;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #BBE394;
}

/* ═══════════════════════════════════════════
   6. INTERVIEW
   ═══════════════════════════════════════════ */

.interview-section {
    margin-bottom: 30px;
}

.interview-card {
    background: #EEEEEE;
    border: 1px solid #D3DAE1;
    border-radius: 16px;
    display: flex;
    gap: 22px;
    padding: 22px;
    align-items: flex-start;
}

.interview-photo-wrap {
    width: 35%;
    position: relative;
    flex-shrink: 1;
    cursor: pointer;
}

.interview-photo {
    display: block;
    width: 100%;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.interview-photo-wrap:hover .play-button {
    opacity: 1;
}

.interview-text {
    width: 65%;
    flex: 1;
}

.interview-name {
    font-size: 18px;
    font-weight: 700;
    color: #4C9B5F;
    margin: 0 0 8px 0;
    cursor: pointer;
}

.interview-role {
    font-size: 16px;
    font-style: italic;
    color: #254AA5;
    margin: 0 0 16px 0;
}

.interview-desc {
    font-size: 20px;
    color: #254AA5;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.interview-video-link {
    font-size: 16px;
    color: #4C9B5F;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.interview-video-link:hover {
    opacity: 0.8;
}

.interview-video-link svg {
    stroke: #4C9B5F;
}

/* ═══════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.login-logo {
    width: 80px;
    height: auto;
    margin-bottom: 16px;
}

.login-title {
    width: 280px;
    height: auto;
}

.login-form {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.login-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.login-field input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.login-field input:focus {
    outline: none;
    border-color: #4C9B5F;
}

.login-button {
    width: 100%;
    padding: 16px;
    background: #4C9B5F;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 10px;
}

.login-button:hover {
    background: #3d8a4f;
}

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.login-links a {
    font-size: 14px;
    color: #4C9B5F;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════
   NEWS PAGE
   ═══════════════════════════════════════════ */
.news-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 60px;
}

.crumbs {
    padding: 40px 0 20px;
    font-size: 14px;
    color: #666;
}

.crumbs a {
    color: #4C9B5F;
    text-decoration: none;
}

.crumbs a:hover {
    text-decoration: underline;
}

.crumbs-separator {
    margin: 0 8px;
}

.crumbs-current {
    color: #333;
}

.news-title {
    font-size: 32px;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    gap: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.news-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.news-item-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item-title {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px;
}

.news-item-title a {
    color: #333;
    text-decoration: none;
}

.news-item-title a:hover {
    color: #4C9B5F;
}

.news-item-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
}

.news-item-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-item {
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pagination-item:hover {
    border-color: #4C9B5F;
    color: #4C9B5F;
}

.pagination-item.active {
    background: #4C9B5F;
    border-color: #4C9B5F;
    color: #fff;
}

.pagination-prev,
.pagination-next {
    color: #4C9B5F;
}

/* ═══════════════════════════════════════════
   ARTICLE
   ═══════════════════════════════════════════ */
.article {
    max-width: 100%;
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 36px;
    font-weight: 500;
    color: #333;
    margin: 0 0 12px;
}

.article-date {
    font-size: 14px;
    color: #888;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.article-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.article-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.article-text h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 30px 0 16px;
    color: #333;
}

.article-text h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 24px 0 12px;
    color: #333;
}

.article-text p {
    margin: 0 0 16px;
}

.article-text ul,
.article-text ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.article-text li {
    margin-bottom: 8px;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.article-table th,
.article-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.article-table th {
    background: #f5f5f5;
    font-weight: 500;
}

.article-table tr:hover td {
    background: #fafafa;
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.article-nav-link {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.article-nav-link:hover {
    background: #f0f0f0;
}

.article-nav-prev {
    grid-column: 1;
}

.article-nav-next {
    grid-column: 2;
    text-align: right;
}

.article-nav-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.article-nav-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.article-single .article-text {
    max-width: 100%;
}

.article-featured-image {
    margin: 40px 0;
}

.article-featured-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.article-featured-image figcaption {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-top: 12px;
}

/* ═══════════════════════════════════════════
   7. PLATFORMS
   ═══════════════════════════════════════════ */
.platforms-section {
    margin-top: 0;
}

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

.platform-title[data-accordeon] {
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.programs-submenu {
    display: none;
    margin-top: -10px;
    padding-bottom: 20px;
}

.programs-submenu.open {
    display: block;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.programs-submenu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.programs-submenu-grid.one {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

.programs-submenu-item {
    background: #E8ECFF;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    color: #254AA5;
    text-decoration: none;
    transition: background 0.2s ease;
}

.programs-submenu-item:hover {
    background: #CDD4FF;
}

.programs-submenu-item.old-psi {
    background: #FFE7B8;
}

.programs-submenu-item.old-psi:hover {
    background: #ffdf9e;
}

.programs-submenu-item.edu-psi {
    background: #DEF6C6;
}

.programs-submenu-item.edu-psi:hover {
    background: #d6f8b3;
}

.platform-card {
    border-radius: 16px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.platform.platform-card {
    min-height: 180px;
}

.platform-card--elderly {
    background: #FFE7B8;
}

.platform-card--education {
    background: #DEF6C6;
}

.platform-card--specialists {
    background: #DBE1FF;
}

.platform-icon {
    display: block;
    margin-bottom: 16px;
    max-width: 80px;
    height: auto;
}

.platform-title {
    font-size: 20px;
    font-weight: 400;
    color: #254AA5;
    margin: 0;
    line-height: 1.3;
    padding-right: 40px;
}

.platform-key-icon {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
}

/* ═══════════════════════════════════════════
   8. FACES
   ═══════════════════════════════════════════ */
.faces-info {
    display: none;
}

.faces-section {
    max-width: 96rem;
    margin: 0 auto 0 auto;
    padding: 0 32px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.faces-section.active {
    opacity: 1;
    max-height: 5000px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.faces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 30px;
}

.faces-card {
    display: flex;
    align-items: stretch;
}

/* ═══════════════════════════════════════════
   9. SPONSORS
   ═══════════════════════════════════════════ */
.sponsors-section {
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 32px;
    margin-top: 70px;
}

.sponsors-slider {
    border: 2px solid #D3DAE1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 16px 8px;
    position: relative;
}

.sponsors-viewport {
    overflow: hidden;
    flex: 1;
}

.sponsors-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.sponsors-slide {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    min-width: 200px;
}

.sponsor-name {
    font-size: 12px;
    font-weight: 600;
    color: #254AA5;
    text-align: center;
    margin-bottom: 12px;
    max-width: 200px;
    line-height: 1.3;
}

.sponsors-slide img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.sponsors-arrow {
    background: none;
    border: none;
    color: #D3DAE1;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.sponsors-arrow svg {
    height: 45px;
    width: auto;
}

.sponsors-arrow:hover {
    color: #4C9B5F;
}

/* ═══════════════════════════════════════════
   10. VIDEO MODAL
   ═══════════════════════════════════════════ */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-modal.open {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.video-modal-content {
    position: relative;
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
}

/* ═══════════════════════════════════════════
   10.5. INFO MODAL
   ═══════════════════════════════════════════ */
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.info-modal.open {
    display: flex;
}

.info-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.info-modal-content {
    position: relative;
    z-index: 1;
    background: #fff;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.info-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #333;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.info-modal-close:hover {
    color: #243892;
}

.info-modal-article h2 {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #243892;
    margin-bottom: 20px;
}

.info-modal-article p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
}

.info-modal-article p strong {
    color: #333;
}

/* ═══════════════════════════════════════════
   11. FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    background: #243892;
    color: #fff;
    margin-top: 60px;
    padding: 48px 0 0;
}

.footer-container {
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}
.footer-grid.col5 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-logo-text small {
    display: block;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: normal;
    margin-top: 5px;
}


.footer-about {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: color 0.2s;
    margin: 0;
}

.footer-contact-item:hover {
    color: #fff;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ═══════════════════════════════════════════
   12. RESPONSIVE — Tablet (≤ 1024px)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {

    /* ── Header / Navigation ── */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #243892;
        z-index: 40;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-item {
        font-size: 20px;
        padding: 14px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-actions .menu-item {
        border: none;
    }

    .nav-actions .menu-item img {
        display: none;
    }

    .submenu-arrow {
        display: inline-block;
    }

    .submenu {
        position: static;
        box-shadow: none;
        min-width: unset;
        background-color: rgba(0, 0, 0, 0.15);
        margin-top: 15px;
    }

    .submenu.open {
        display: block;
    }

    .menu-item:hover .submenu {
        display: none;
    }

    .menu-item:hover .submenu.open {
        display: block;
    }

    .submenu-item.has-submenu:hover > .submenu {
        display: none;
    }

    .submenu-item {
        font-size: 16px;
        padding: 16px 24px 16px 24px;
    }

    /* Third-level submenu on mobile */
    .submenu-item.has-submenu {
        position: relative;
        display: list-item;
    }

    .submenu-item.has-submenu .submenu {
        display: none;
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
        margin-top: 20px;
        min-width: unset;
        padding-left: 16px;
    }

    .submenu-item.has-submenu .submenu.open {
        display: block;
    }

    .submenu-item.has-submenu > .submenu-arrow {
        display: inline-block;
        float: right;
        transition: transform 0.2s;
    }

    .submenu-item.has-submenu > .submenu .submenu-item {
        font-size: 14px;
        padding: 12px 16px;
    }

    .mobile-search {
        display: block;
    }

    #search-toggle {
        display: none;
    }

    .search-field.active {
        display: block;
    }

    .search-field input {
        width: 100%;
    }

    .mobile-search .search-btn {
        background-color: #243892;
        border: none;
        cursor: pointer;
    }

    .mobile-search .search-btn img {
        filter: brightness(0) invert(1);
    }

    /* ── Top Bar ── */
    .partners-section,
    .herzena-section {
        display: none;
    }

    .top-bar {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .top-bar-center {
        order: -1;
    }

    /* ── Container Overrides ── */
    .nav-container,
    .hero-content,
    .index-content,
    .faces-section,
    .sponsors-section {
        padding: 0 16px;
    }

    /* ── Hero ── */
    .hero-image {
        display: none;
    }

    .hero-text {
        width: 100%;
    }

    /* ── Index Content ── */
    .index-content {
        flex-direction: column;
        gap: 32px;
    }

    .left-column,
    .right-column {
        width: 100%;
        margin-top: 40px;
    }

    /* ── Interview ── */
    .interview-card {
        flex-direction: column;
        width: 100%;
    }

    .interview-photo-wrap,
    .interview-photo {
        width: 100%;
    }

    /* ── Platforms ── */
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .platform-card {
        min-height: auto;
    }

    /* ── Faces ── */
    .faces-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ── Footer ── */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ═══════════════════════════════════════════
   13. RESPONSIVE — Mobile (≤ 768px)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .sponsors-slide {
        padding: 0 10px;
    }

    .sponsors-slide img {
        height: 80px;
        width: auto;
    }

    .sponsors-slider {
        padding: 12px 4px;
    }
}

/* ═══════════════════════════════════════════
   14. RESPONSIVE — Small Mobile (≤ 640px)
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {
    .site-footer {
        padding: 32px 0 0;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        margin-top: 28px;
    }

    /* Info modal mobile styles */
    .info-modal-content {
        padding: 30px 20px;
        margin: 10px;
        max-height: 95vh;
    }

    .info-modal-article h2 {
        font-size: 22px;
    }

    .info-modal-article p {
        font-size: 14px;
    }

    .info-modal-close {
        font-size: 30px;
        top: 8px;
        right: 10px;
    }
}

.container h1 {
    margin: 40px 0 50px 0;
}

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

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

.cell {
    background: #fff;

    display: flex;
    flex-direction: column;
}

.cell video {
    width: 100%;
    display: block;
    flex-shrink: 0;
}

.cell p {
    padding: 10px 12px;
    margin: 0;
    flex-shrink: 0;
}

.cell iframe {
    width: 100%;
    display: block;
    border: none;
}





/* Sber tile added 2026-07-27 */
.programs-submenu-item--sber {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    text-decoration: none;
}
.programs-submenu-item--sber .sber-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}
.programs-submenu-item--sber .sber-text {
    display: inline-block;
    line-height: 1.3;
}
