@font-face {
    font-family: 'Widock Trial';
    src: url('fonts/Widock TRIAL Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 110px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #f0eeff;
    background: #0d0d14;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body.light {
    background: #f5f4ff;
    color: #0d0d20;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: #131320;
}

body.light .section-alt {
    background: #eeecff;
}

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    height: 76px;
    z-index: 1000;
}

.header-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    background: rgba(13, 13, 20, 0.72);
    backdrop-filter: blur(24px) saturate(160%);
    
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    transition: background 0.3s;
}

body.light .header-inner {
    background: rgba(245, 244, 255, 0.88);
    border-color: rgba(0, 0, 0, 0.14);
}

.logo {
    width: 120px;
    height: 50px;
    background-image: url('photos/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    flex-shrink: 0;
    cursor: pointer;
}

body.light .logo {
    background-image: url('photos/logotem.svg');
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    display: block;
    padding: 8px 9px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(240, 238, 255, 0.6);
    border-radius: 100px;
    transition: all 0.2s;
}

body.light .nav-link {
    color: rgba(13, 13, 32, 0.62);
}

.nav-link:hover,
.nav-link.active {
    color: #f0eeff;
    background: rgba(129, 110, 186, 0.15);
}

body.light .nav-link:hover,
body.light .nav-link.active {
    color: #0d0d20;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tem_b {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

body.light .tem_b {
    border-color: rgba(0, 0, 0, 0.14);
}

.tem_b:hover {
    border-color: rgba(129, 110, 186, 0.3);
    background: rgba(129, 110, 186, 0.15);
}

.tem {
    width: 65px;
    height: 65px;
    background-image: url('photos/sun(1).svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

body.light .tem {
    background-image: url('photos/tem.svg');
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

body.light .burger-menu {
    border-color: rgba(0, 0, 0, 0.14);
}

.burger-menu:hover {
    border-color: rgba(129, 110, 186, 0.3);
    background: rgba(129, 110, 186, 0.15);
}

.burger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #f0eeff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

body.light .burger-line {
    background: #0d0d20;
}

body.light .no-data {
    color: #000000;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 104px;
    left: 20px;
    right: 20px;
    background: #1e1e30;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 16px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

body.light .mobile-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.14);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    display: block;
    padding: 13px 18px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(240, 238, 255, 0.6);
    border-radius: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
}

body.light .mobile-menu a {
    color: rgba(13, 13, 32, 0.62);
}

.mobile-menu a:hover {
    color: #f0eeff;
    background: rgba(129, 110, 186, 0.15);
}

body.light .mobile-menu a:hover {
    color: #0d0d20;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('photos/hero.webp') center / cover no-repeat;
    filter: brightness(0.3) saturate(1.1);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(129, 110, 186, 0.18) 0%, transparent 70%),
                linear-gradient(to bottom, transparent 50%, rgba(13, 13, 20, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0 20px;
    padding-top: 76px;
    max-width: 1380px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 110px;
    font-weight: bold;
    line-height: 1.0;
    letter-spacing: 1px;
    color: #fff;
    hyphens: none;
    word-break: keep-all;
}

.hero-accent {
    color: #B2DF00;
}

.hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    max-width: 580px;
}

.hero-stats {
    display: flex;
    align-items: center;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:first-child {
    border-radius: 20px 0 0 20px;
}

.hero-stat:last-child {
    border-radius: 0 20px 20px 0;
}

.hero-stat-sep {
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-num {
    font-family: 'Widock Trial', sans-serif;
    font-size: 42px;
    font-weight: bold;
    color: #f0eeff;
    line-height: 1;
}

.stat-lbl {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-socials {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-soc {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55px;
    transition: all 0.2s;
}

.hero-soc:hover {
    border-color: rgba(129, 110, 186, 0.3);
    transform: scale(1.1);
}

.tg-icon {
    background-image: url('photos/тг.svg');
}

.vk-icon {
    background-image: url('photos/вк.svg');
}

.btn-lime {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: #B2DF00;
    color: #0d0d14;
    font-family: 'Widock Trial', sans-serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 100px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-lime:hover {
    background: #99C200;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(178, 223, 0, 0.25);
}

.btn-ghost-white {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    font-family: 'Widock Trial', sans-serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost-white:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.07);
}

.sec-head {
    margin-bottom: 56px;
}

.sec-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #937BDD;
    margin-bottom: 16px;
}

.tag-bar {
    display: block;
    width: 32px;
    height: 3px;
    background: #816EBA;
    border-radius: 2px;
    flex-shrink: 0;
}

.tag-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.8;
}

.sec-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 72px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: 2px;
    color: #f0eeff;
    hyphens: none;
    word-break: keep-all;
}

body.light .sec-title {
    color: #0d0d20;
}

.sec-title em {
    font-style: normal;
    color: #937BDD;
}

.sec-title-blue {
    color: #ffffff;
}

body.light .sec-title-blue {
    color: #000000;
}

.history-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 72px;
    align-items: start;
}

.portrait-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #1e1e30;
    aspect-ratio: 3/4;
}

body.light .portrait-wrap {
    border-color: rgba(0, 0, 0, 0.14);
    background: #ffffff;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portrait-wrap:hover .portrait-img {
    transform: scale(1.04);
}

.portrait-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(13, 13, 20, 0.95) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.portrait-year {
    font-family: 'Widock Trial', sans-serif;
    font-size: 60px;
    font-weight: bold;
    color: #B2DF00;
    line-height: 1;
}

.portrait-lbl {
    font-size: 13px;
    color: rgba(240, 238, 255, 0.65);
    line-height: 1.4;
    padding-bottom: 8px;
}

.history-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding-bottom: 36px;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 56px;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
}

body.light .timeline-item::after {
    background: rgba(0, 0, 0, 0.14);
}

.timeline-item:last-child::after {
    display: none;
}

.tl-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(129, 110, 186, 0.3);
    background: rgba(129, 110, 186, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Widock Trial', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #937BDD;
    flex-shrink: 0;
    transition: all 0.2s;
}

.timeline-item:hover .tl-num {
    border-color: #816EBA;
    background: rgba(129, 110, 186, 0.22);
}

.tl-body {
    padding-top: 12px;
}

.tl-title {
    font-family: 'Rubik', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #f0eeff;
    margin-bottom: 8px;
    transition: color 0.2s;
}

body.light .tl-title {
    color: #0d0d20;
}

.timeline-item:hover .tl-title {
    color: #937BDD;
}

.tl-text {
    font-size: 14px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.7;
    max-width: 460px;
}

body.light .tl-text {
    color: rgba(13, 13, 32, 0.62);
}

.sec-head-with-tabs {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
    flex-wrap: wrap;
    gap: 20px;
}

.sec-head-with-tabs .sec-head {
    margin-bottom: 0;
}

.places-tabs {
    display: flex;
    gap: 8px;
}

.place-tab {
    padding: 12px 28px;
    background: transparent;
    color: rgba(240, 238, 255, 0.5);
    font-family: 'Widock Trial', sans-serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    transition: all 0.2s ease;
    cursor: pointer;
}

body.light .place-tab {
    color: rgba(13, 13, 32, 0.5);
    border-color: rgba(0, 0, 0, 0.14);
}

.place-tab:hover {
    border-color: rgba(129, 110, 186, 0.3);
    color: rgba(240, 238, 255, 0.8);
    background: rgba(129, 110, 186, 0.1);
}

body.light .place-tab:hover {
    color: rgba(13, 13, 32, 0.8);
}

.place-tab.active {
    background: #816EBA;
    color: #fff;
    border-color: #816EBA;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.place-card {
    background: #1e1e30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s, border-color 0.35s;
}

body.light .place-card {
    background: #ffffff;
    border: 2px solid #816EBA;
}

.place-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    border-color: rgba(129, 110, 186, 0.3);
}

.place-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.place-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.place-card:hover .place-img {
    transform: scale(1.07);
}

.place-tag-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: rgba(13, 13, 20, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(129, 110, 186, 0.3);
    border-radius: 100px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #937BDD;
}

.place-stars {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 3px;
}

.place-stars img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.place-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.place-title {
    font-family: 'Rubik', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #f0eeff;
    line-height: 1.25;
    transition: color 0.2s;
}

body.light .place-title {
    color: #0d0d20;
}

.place-card:hover .place-title {
    color: #937BDD;
}

.place-desc {
    font-size: 13px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.7;
    flex: 1;
}

body.light .place-desc {
    color: rgba(13, 13, 32, 0.65);
}

.place-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.place-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(240, 238, 255, 0.32);
}

body.light .place-meta-item {
    color: rgba(13, 13, 32, 0.5);
}

.meta-ico {
    width: 15px;
    height: 15px;
    object-fit: contain;
    opacity: 0.55;
    flex-shrink: 0;
}

.place-btns {
    display: flex;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

body.light .place-btns {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.btn-blue-sm {
    flex: 1;
    padding: 11px 16px;
    background: #1E3F7F;
    color: #fff;
    font-family: 'Widock Trial', sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1;
}

.btn-blue-sm:hover {
    background: #2A56C6;
    transform: translateY(-1px);
}

.btn-white-sm {
    flex: 1;
    padding: 11px 16px;
    background: transparent;
    color: rgba(240, 238, 255, 0.6);
    font-family: 'Widock Trial', sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1;
}

body.light .btn-white-sm {
    color: rgba(13, 13, 32, 0.62);
    border-color: rgba(0, 0, 0, 0.14);
}

.btn-white-sm:hover {
    border-color: rgba(129, 110, 186, 0.3);
    color: #f0eeff;
    background: rgba(129, 110, 186, 0.15);
}

body.light .btn-white-sm:hover {
    color: #0d0d20;
}

.btn-ico {
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 0.55;
}

.map-shell {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    height: 560px;
    background: #1e1e30;
}

body.light .map-shell {
    border-color: rgba(0, 0, 0, 0.14);
    background: #ffffff;
}

.map-shell iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.fact-card {
    width: 100%;
    border: 3px solid #937BDD;
    border-radius: 15px;
    font-family: 'Widock Trial', sans-serif;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s;
}

.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.fact-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 96px;
    border-radius: 12px;
    margin: 16px 16px 0;
    text-align: center;
}

.fact-top-purple {
    background: #816EBA;
}

.fact-top-white {
    border: 3px solid #937BDD;
}

.fact-title {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.fact-title-white {
    color: #fff;
}

.fact-title-purple {
    color: #816EBA;
}

.fact-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
    margin: 12px 16px 16px;
    min-height: 90px;
    text-align: center;
}

.fact-bottom-purple {
    background: rgba(130, 110, 186, 0.65);
}

.fact-bottom-white {
    border: 3px solid rgba(130, 110, 186, 0.6);
}

.fact-desc {
    font-size: 17px;
    line-height: 1.45;
}

.fact-desc-white {
    color: #fff;
}

.fact-desc-purple {
    color: #937BDD;
}

body.light .fact-title-purple {
    color: #6A59A0;
}

body.light .fact-desc-purple {
    color: #6A59A0;
}

body.light .fact-bottom-white {
    border-color: #816EBA;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #1e1e30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s, border-color 0.3s;
}

body.light .news-card {
    background: #ffffff;
    border: 2px solid #816EBA;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
    border-color: rgba(129, 110, 186, 0.3);
}

.news-img-wrap {
    overflow: hidden;
}

.news-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.06);
}

.news-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-date {
    font-family: 'Widock Trial', sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #937BDD;
}

.news-title {
    font-family: 'Rubik', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #f0eeff;
    line-height: 1.35;
    transition: color 0.2s;
}

body.light .news-title {
    color: #0d0d20;
}

.news-card:hover .news-title {
    color: #937BDD;
}

.news-desc {
    font-size: 13px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.light .news-desc {
    color: #000000;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    gap: 10px;
}

body.light .news-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.news-location {
    font-size: 12px;
    color: rgba(240, 238, 255, 0.32);
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.light .news-location {
    color: #000000;
}

.news-location-ico {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.news-read-btn {
    flex-shrink: 0;
    padding: 7px 16px;
    background: #816EBA;
    color: #fff;
    font-family: 'Widock Trial', sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.news-read-btn:hover {
    background: #937BDD;
    transform: translateY(-1px);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card {
    background: #1e1e30;
    border: 3px solid #937BDD;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s;
}

body.light .event-card {
    background: #ffffff;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
}

.event-img-wrap {
    position: relative;
    overflow: hidden;
}

.event-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.event-card:hover .event-img {
    transform: scale(1.06);
}

.event-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    z-index: 2;
}

.event-price-badge {
    padding: 5px 14px;
    background: rgba(13, 13, 20, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(178, 223, 0, 0.3);
    border-radius: 100px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #B2DF00;
}

.event-age-badge {
    width: 50px;
    height: 45px;
    background: #B2DF00;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Widock Trial', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #0d0d14;
}

.event-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.event-title-bar {
    background: #816EBA;
    border-radius: 12px;
    padding: 11px 16px;
    text-align: center;
}

.event-name {
    font-family: 'Widock Trial', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.event-info-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    background: #131320;
    border: 1.5px solid rgba(130, 110, 186, 0.55);
    border-radius: 12px;
}

body.light .event-info-row {
    background: #eeecff;
}

.event-ico {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.6;
    flex-shrink: 0;
}

.event-date-txt {
    font-family: 'Widock Trial', sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #f0eeff;
    letter-spacing: 0.5px;
    display: block;
}

body.light .event-date-txt {
    color: #0d0d20;
}

.event-time-txt {
    font-family: 'Widock Trial', sans-serif;
    font-size: 11px;
    color: rgba(240, 238, 255, 0.32);
    display: block;
    margin-top: 2px;
}

body.light .event-time-txt {
    color: rgba(13, 13, 32, 0.36);
}

.event-addr-txt {
    font-family: 'Widock Trial', sans-serif;
    font-size: 12px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.35;
}

body.light .event-addr-txt {
    color: rgba(13, 13, 32, 0.65);
}

.event-buy-btn {
    width: 100%;
    padding: 14px;
    background: #B2DF00;
    color: #0d0d14;
    font-family: 'Widock Trial', sans-serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.event-buy-btn:hover {
    background: #99C200;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(178, 223, 0, 0.25);
}

.event-buy-ico {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.sport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sport-card {
    background: #1e1e30;
    border: 3px solid #937BDD;
    border-radius: 23px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}

body.light .sport-card {
    background: #ffffff;
}

.sport-card:hover {
    border-color: #816EBA;
}

.sport-card-img {
    width: 100%;
    aspect-ratio: 16/11;
    object-fit: cover;
    display: block;
}

.sport-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.sport-arena-name {
    font-family: 'Widock Trial', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #937BDD;
    letter-spacing: 1px;
}

.sport-arena-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.6;
}

body.light .sport-arena-desc {
    color: rgba(13, 13, 32, 0.65);
}

.sport-arena-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sport-stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #f0eeff;
}

body.light .sport-stat-row {
    color: #0d0d20;
}

.dot-blue {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1E3F7F;
    flex-shrink: 0;
}

.sport-header-purple {
    background: #816EBA;
    padding: 20px 24px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.sport-header-lilac {
    background: #A799CF;
    padding: 20px 24px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.sport-complex-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sport-complex-item {
    padding: 14px;
    background: #131320;
    border: 1.5px solid rgba(192, 182, 220, 0.5);
    border-radius: 14px;
}

body.light .sport-complex-item {
    background: #eeecff;
}

.sport-complex-name {
    font-family: 'Widock Trial', sans-serif;
    font-size: 17px;
    font-weight: bold;
    color: #937BDD;
    text-align: center;
    margin-bottom: 6px;
}

.sport-complex-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
}

body.light .sport-complex-desc {
    color: rgba(13, 13, 32, 0.6);
}

.sport-rest-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.55;
}

body.light .sport-rest-intro {
    color: rgba(13, 13, 32, 0.65);
}

.sport-rest-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 4px;
}

.sport-rest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 17px;
    font-weight: bold;
    color: #f0eeff;
}

body.light .sport-rest-item {
    color: #0d0d20;
}

.dot-lime {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #B2DF00;
    flex-shrink: 0;
}

.text-red {
    color: #BE1616;
}

.text-blue {
    color: #2A56C6;
}

.btn-red-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    margin-top: auto;
    background: rgba(211, 27, 27, 0.75);
    color: #fff;
    font-family: 'Widock Trial', sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s;
}

.btn-red-block:hover {
    background: #d91a1a;
    transform: translateY(-2px);
}

.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.edu-main-card {
    background: #1e1e30;
    border: 3px solid #5281FF;
    border-radius: 27px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.light .edu-main-card {
    background: #ffffff;
}

.edu-main-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.edu-main-card:hover .edu-main-img {
    transform: scale(1.03);
}

.edu-main-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
    

body.light .edu-main-title{
    color: #1E3F7F;
}

.edu-main-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}

.edu-stars {
    display: flex;
    gap: 8px;
}

.edu-star {
    width: 22px;
    height: 20px;
    object-fit: contain;
}

.edu-main-desc {
    font-size: 15px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.65;
}

body.light .edu-main-desc {
    color: rgba(13, 13, 32, 0.65);
}

.edu-counters {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light .edu-counters {
    border-top-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.edu-counter {
    display: flex;
    flex-direction: column;
}

.edu-n {
    font-family: 'Widock Trial', sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #f0eeff;
    line-height: 1;
    letter-spacing: 1px;
}

body.light .edu-n {
    color: #0d0d20;
}

.edu-l {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: rgba(240, 238, 255, 0.32);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

body.light .edu-l {
    color: rgba(13, 13, 32, 0.45);
}

.edu-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.unis-card {
    background: #1e1e30;
    border: 3px solid #937BDD;
    border-radius: 27px;
    padding: 28px;
}

body.light .unis-card {
    background: #ffffff;
}

.unis-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #937BDD;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.uni-list {
    display: flex;
    flex-direction: column;
}

.uni-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
}

.uni-sep {
    height: 2px;
    background: #D2C7F0;
}

body.light .uni-sep {
    background: rgba(129, 110, 186, 0.25);
}

.uni-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #816EBA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Widock Trial', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.uni-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uni-name {
    font-family: 'Widock Trial', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #f0eeff;
}

body.light .uni-name {
    color: #0d0d20;
}

.uni-full {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(240, 238, 255, 0.32);
    line-height: 1.3;
}

body.light .uni-full {
    color: #000000;
}

.science-card {
    background: #816EBA;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.science-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.science-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.science-nums {
    display: flex;
    gap: 12px;
}

.sci-item {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.sci-n {
    display: block;
    font-family: 'Widock Trial', sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #A3D000;
    letter-spacing: 1px;
    line-height: 1;
}

.sci-l {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

.btn-blue-solid {
    display: inline-flex;
    align-items: center;
    padding: 13px 30px;
    background: #1E3F7F;
    color: #fff;
    font-family: 'Widock Trial', sans-serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 100px;
    transition: background 0.2s, transform 0.2s;
}

.btn-blue-solid:hover {
    background: #2A56C6;
    transform: translateY(-2px);
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.transport-card {
    background: #1e1e30;
    border: 3px solid #937BDD;
    border-radius: 23px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.light .transport-card {
    background: #ffffff;
}

.transport-img {
    width: 100%;
    aspect-ratio: 16/11;
    object-fit: cover;
    display: block;
}

.transport-routes {
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.tr-sep {
    height: 2px;
    background: #D2C7F0;
}

body.light .tr-sep {
    background: rgba(129, 110, 186, 0.2);
}

.tr-name {
    font-family: 'Widock Trial', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #f0eeff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.light .tr-name {
    color: #0d0d20;
}

.tr-count {
    font-family: 'Widock Trial', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #937BDD;
    letter-spacing: 0.5px;
    text-align: right;
}

.transport-dev-card {
    background: #1e1e30;
    border: 3px solid #937BDD;
    border-radius: 23px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.light .transport-dev-card {
    background: #ffffff;
}

.transport-dev-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #937BDD;
    letter-spacing: 1px;
}

.transport-dev-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transport-dev-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.dev-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.dev-lime {
    background: #B2DF00;
}

.dev-purple {
    background: #816EBA;
}

.dev-blue {
    background: #2A56C6;
}

.dev-red {
    background: #BE1616;
}

.dev-name {
    font-family: 'Widock Trial', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #f0eeff;
    margin-bottom: 4px;
}

body.light .dev-name {
    color: #0d0d20;
}

.dev-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.5;
}

body.light .dev-desc {
    color: rgba(13, 13, 32, 0.6);
}

.taxi-card {
    background: #1e1e30;
    border: 3px solid #937BDD;
    border-radius: 23px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.light .taxi-card {
    background: #ffffff;
}

.taxi-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #937BDD;
    letter-spacing: 1px;
}

.taxi-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.taxi-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    background: #131320;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: border-color 0.2s;
}

body.light .taxi-item {
    background: #eeecff;
    border-color: rgba(0, 0, 0, 0.08);
}

.taxi-item:hover {
    border-color: rgba(129, 110, 186, 0.3);
}

.taxi-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.taxi-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.taxi-name {
    font-family: 'Widock Trial', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #f0eeff;
    letter-spacing: 0.5px;
}

body.light .taxi-name {
    color: #0d0d20;
}

.taxi-type {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: rgba(240, 238, 255, 0.32);
    margin-top: 2px;
}

body.light .taxi-type {
    color: rgba(13, 13, 32, 0.45);
}

.taxi-avg-price {
    font-family: 'Widock Trial', sans-serif;
    font-size: 12px;
    color: #937BDD;
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.light .taxi-avg-price {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.shopping-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.mall-card {
    background: #1e1e30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s, border-color 0.35s;
}

body.light .mall-card {
    background: #ffffff;
    border: 2px solid #816EBA;
}

.mall-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    border-color: rgba(129, 110, 186, 0.35);
}

.mall-card.featured {
    border-color: rgba(178, 223, 0, 0.25);
}

body.light .mall-card.featured {
    border-color: #B2DF00;
}

.mall-card.featured:hover {
    border-color: rgba(178, 223, 0, 0.5);
    box-shadow: 0 28px 60px rgba(178, 223, 0, 0.1);
}

.mall-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #131320;
}

.mall-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.mall-card:hover .mall-img {
    transform: scale(1.07);
}

.mall-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: rgba(13, 13, 20, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(129, 110, 186, 0.3);
    border-radius: 100px;
    font-family: 'Widock Trial', sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #937BDD;
}

.mall-tag.lime {
    border-color: rgba(178, 223, 0, 0.4);
    color: #B2DF00;
}

.mall-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.mall-type {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot.lime    { background: #B2DF00; }
.dot.purple  { background: #816EBA; }
.dot.blue    { background: #2A56C6; }

.mall-type-text {
    font-family: 'Widock Trial', sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(240, 238, 255, 0.4);
}

body.light .mall-type-text {
    color: rgba(13, 13, 32, 0.45);
}

.mall-name {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #f0eeff;
    line-height: 1.2;
    transition: color 0.2s;
}

body.light .mall-name {
    color: #0d0d20;
}

.mall-card:hover .mall-name {
    color: #937BDD;
}

.mall-card.featured:hover .mall-name {
    color: #B2DF00;
}

.mall-desc {
    font-size: 13px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.7;
    flex: 1;
}

body.light .mall-desc {
    color: rgba(13, 13, 32, 0.65);
}

.mall-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: auto;
}

body.light .mall-meta {
    background: #f0eeff;
    border-color: rgba(129, 110, 186, 0.15);
}

.mall-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-key {
    font-size: 10px;
    color: rgba(240, 238, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.light .meta-key {
    color: rgba(13, 13, 32, 0.4);
}

.meta-val {
    font-family: 'Widock Trial', sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #f0eeff;
    letter-spacing: 0.5px;
}

body.light .meta-val {
    color: #0d0d20;
}

.hotels-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
    align-items: start;
}

.hotel-main {
    background: #1e1e30;
    border: 2px solid rgba(129, 110, 186, 0.3);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
}

body.light .hotel-main {
    background: #ffffff;
    border-color: #816EBA;
}

.hotel-main:hover {
    border-color: #816EBA;
    transform: translateY(-4px);
}

.hotel-main-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #131320;
}

.hotel-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.hotel-main:hover .hotel-main-img {
    transform: scale(1.05);
}

.hotel-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 22px 20px;
    background: linear-gradient(to top, rgba(13, 13, 20, 0.95) 0%, transparent 100%);
}

.stars-row {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.stars-row img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.hotel-main-name {
    font-family: 'Widock Trial', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.1;
}

.hotel-main-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

.hotel-main-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hotel-main-desc {
    font-size: 14px;
    color: rgba(240, 238, 255, 0.6);
    line-height: 1.7;
}

body.light .hotel-main-desc {
    color: rgba(13, 13, 32, 0.65);
}

.hotel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 5px 12px;
    background: rgba(129, 110, 186, 0.12);
    border: 1px solid rgba(129, 110, 186, 0.25);
    border-radius: 100px;
    font-size: 12px;
    color: rgba(240, 238, 255, 0.65);
}

body.light .tag {
    background: #f0eeff;
    border-color: rgba(129, 110, 186, 0.3);
    color: rgba(13, 13, 32, 0.7);
}

.hotel-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
}

body.light .hotel-price-row {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.price-from {
    font-size: 12px;
    color: rgba(240, 238, 255, 0.35);
    margin-right: 4px;
}

body.light .price-from {
    color: rgba(13, 13, 32, 0.45);
}

.price-num {
    font-family: 'Widock Trial', sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: #B2DF00;
    letter-spacing: 0.5px;
}

.price-night {
    font-size: 12px;
    color: rgba(240, 238, 255, 0.35);
    margin-left: 4px;
}

body.light .price-night {
    color: rgba(13, 13, 32, 0.45);
}

.hotel-price-row .btn-lime {
    padding: 10px 20px;
    font-size: 14px;
}

.hotels-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hotel-card {
    background: #1e1e30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: border-color 0.25s, transform 0.25s;
}

body.light .hotel-card {
    background: #ffffff;
    border: 2px solid rgba(129, 110, 186, 0.25);
}

.hotel-card:hover {
    border-color: rgba(129, 110, 186, 0.3);
    transform: translateX(4px);
}

.hotel-card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stars-sm {
    display: flex;
    gap: 3px;
}

.stars-sm img {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.hotel-card-name {
    font-family: 'Rubik', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #f0eeff;
    transition: color 0.2s;
}

body.light .hotel-card-name {
    color: #0d0d20;
}

.hotel-card:hover .hotel-card-name {
    color: #937BDD;
}

.hotel-card-desc {
    font-size: 12px;
    color: rgba(240, 238, 255, 0.55);
    line-height: 1.6;
}

body.light .hotel-card-desc {
    color: rgba(13, 13, 32, 0.6);
}

.hotel-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.tag-sm {
    padding: 3px 10px;
    background: rgba(129, 110, 186, 0.10);
    border: 1px solid rgba(129, 110, 186, 0.2);
    border-radius: 100px;
    font-size: 11px;
    color: rgba(240, 238, 255, 0.55);
}

body.light .tag-sm {
    background: #f0eeff;
    border-color: rgba(129, 110, 186, 0.25);
    color: rgba(13, 13, 32, 0.65);
}

.hotel-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.hotel-price {
    font-family: 'Widock Trial', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #B2DF00;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.footer {
    background: linear-gradient(180deg, #826EBA 0%, #141414 100%);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 0 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 72px;
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-text {
    font-family: 'Widock Trial', sans-serif;
    font-size: 64px;
    font-weight: bold;
    letter-spacing: 5px;
    color: #fff;
    line-height: 1;
    margin-bottom: 16px;
}

.footer-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-soc {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 0.3s;
}

.footer-soc:hover {
    transform: translateY(-3px);
}

.footer-tg {
    background-image: url('photos/тг.svg');
}

.footer-vk {
    background-image: url('photos/вк.svg');
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
}

.footer-nav-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s, padding-left 0.2s;
}

.footer-nav a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-bar span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-credit {
    margin: 0;
    font-size: 12px;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.footer-credit a:hover {
    color: #fff;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #1e1e30;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

body.light .modal-box {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.14);
}

.modal.open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-box-wide {
    max-width: 660px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: rgba(240, 238, 255, 0.6);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

body.light .modal-close {
    border-color: rgba(0, 0, 0, 0.14);
    color: rgba(13, 13, 32, 0.62);
}

.modal-close:hover {
    color: #f0eeff;
    border-color: rgba(129, 110, 186, 0.3);
    background: rgba(129, 110, 186, 0.15);
    transform: rotate(90deg);
}

body.light .modal-close:hover {
    color: #0d0d20;
}

.modal-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 24px;
}

body.light .modal-title {
    color: #1E3F7F;
}

.schedule {
    display: flex;
    flex-direction: column;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: rgba(240, 238, 255, 0.6);
    transition: background 0.2s;
}

body.light .schedule-row {
    color: #000000;
}

.schedule-row:hover {
    background: rgba(129, 110, 186, 0.15);
}

.schedule-row.today {
    background: rgba(129, 110, 186, 0.15);
    border: 1px solid rgba(129, 110, 186, 0.3);
    color: #937BDD;
    font-weight: 700;
}

.closed {
    color: #BE1616 !important;
}

.modal-note {
    margin-top: 18px;
    font-size: 12px;
    color: rgba(240, 238, 255, 0.32);
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.6;
}

body.light .modal-note {
    color: #000000;
    border-top-color: rgba(0, 0, 0, 0.08);
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-img {
    width: 100%;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.02);
}

.modal-map {
    width: 100%;
}

.modal-map iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 12px;
    display: block;
}

.loading-state {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 80px 40px;
    color: rgba(240, 238, 255, 0.32);
    font-size: 14px;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-top-color: #816EBA;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: rgba(240, 238, 255, 0.32);
    font-size: 14px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.mall-card.reveal,
.hotel-main.reveal,
.hotel-card.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mall-card.reveal.visible,
.hotel-main.reveal.visible,
.hotel-card.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .container {
        padding: 0 28px;
    }

    .section {
        padding: 80px 0;
    }

    .history-grid {
        grid-template-columns: 300px 1fr;
        gap: 44px;
    }

    .places-grid {
        grid-template-columns: 1fr 1fr;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sport-grid {
        grid-template-columns: 1fr 1fr;
    }

    .edu-grid {
        grid-template-columns: 1fr;
    }

    .transport-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .sec-title {
        font-size: 56px;
    }

    .hero-title {
        font-size: 80px;
    }

    .shopping-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hotels-layout {
        grid-template-columns: 1fr;
    }

    .hotel-main {
        display: grid;
        grid-template-columns: 240px 1fr;
    }

    .hotel-main-img-wrap {
        aspect-ratio: auto;
        min-height: 240px;
    }
}

@media (max-width: 900px) {
    .history-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sport-grid {
        grid-template-columns: 1fr;
    }

    .transport-grid {
        grid-template-columns: 1fr;
    }

    .hero-socials {
        display: none;
    }

    .sec-title {
        font-size: 48px;
    }

    .hero-title {
        font-size: 64px;
    }

    .tem_b {
        width: 44px;
        height: 44px;
    }

    .tem {
        width: 40px;
        height: 40px;
    }

    .shopping-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hotels-layout {
        grid-template-columns: 1fr;
    }

    .hotel-main {
        display: grid;
        grid-template-columns: 240px 1fr;
    }

    .hotel-main-img-wrap {
        aspect-ratio: auto;
        min-height: 240px;
    }
}

@media (max-width: 680px) {
    .container {
        padding: 0 18px;
    }

    .section {
        padding: 64px 0;
    }

    .sec-head {
        margin-bottom: 36px;
    }

    .places-grid {
        grid-template-columns: 1fr;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .hero-stat {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 14px 24px;
        gap: 12px;
    }

    .hero-stat:first-child {
        border-radius: 20px 20px 0 0;
    }

    .hero-stat:last-child {
        border-radius: 0 0 20px 20px;
    }

    .hero-stat-sep {
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.12);
    }

    .stat-num {
        font-size: 34px;
        text-align: left;
    }

    .stat-lbl {
        font-size: 10px;
        text-align: right;
        max-width: 140px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 0 32px;
    }

    .footer-bottom-bar {
        padding: 20px 0 0;
    }

    .footer-logo-text {
        font-size: 48px;
    }

    .map-shell {
        height: 400px;
    }

    .sec-title {
        font-size: 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .stat-num {
        font-size: 32px;
    }

    .sec-head-with-tabs {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 36px;
    }

    .places-tabs {
        width: 100%;
        justify-content: flex-start;
    }

    .place-tab {
        padding: 8px 18px;
        font-size: 14px;
        flex: 1;
        text-align: center;
        max-width: 120px;
    }

    .transport-routes {
        padding: 12px 16px;
    }

    .tr-row {
        padding: 10px 0;
    }

    .tr-name {
        font-size: 14px;
    }

    .tr-count {
        font-size: 16px;
    }

    .edu-main-body {
        padding: 20px;
    }

    .edu-main-title {
        font-size: 26px;
    }

    .edu-counters {
        flex-wrap: wrap;
        gap: 16px;
    }

    .edu-counter {
        min-width: 100px;
    }

    .unis-card {
        padding: 20px;
    }

    .unis-title {
        font-size: 28px;
    }

    .uni-item {
        padding: 10px 0;
    }

    .uni-num {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .uni-name {
        font-size: 18px;
    }

    .uni-full {
        font-size: 11px;
    }

    .science-card {
        padding: 20px;
    }

    .science-title {
        font-size: 24px;
    }

    .science-nums {
        flex-direction: column;
        gap: 10px;
    }

    .sci-item {
        padding: 12px 8px;
    }

    .sci-n {
        font-size: 32px;
    }

    #спорт .sec-title,
    #транспорт .sec-title,
    #мероприятия .sec-title,
    #образование .sec-title,
    #шоппинг .sec-title,
    #отели .sec-title {
        font-size: 30px;
        line-height: 1.2;
        white-space: normal;
    }

    .shopping-grid {
        grid-template-columns: 1fr;
    }

    .hotel-main {
        display: flex;
        flex-direction: column;
    }

    .hotel-main-img-wrap {
        aspect-ratio: 16/9;
    }

    .hotel-card {
        flex-direction: column;
        gap: 12px;
    }

    .hotel-card-right {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .hotel-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hotel-price-row .btn-lime {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .header {
        top: 10px;
        width: calc(100% - 24px);
    }

    .logo {
        width: 80px;
        height: 38px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-lime,
    .btn-ghost-white {
        justify-content: center;
    }

    .map-shell {
        height: 300px;
    }

    .footer-logo-text {
        font-size: 40px;
    }

    .sec-title {
        font-size: 34px;
    }

    .hero-stats {
        max-width: 280px;
    }

    .hero-stat {
        padding: 12px 18px;
    }

    .stat-num {
        font-size: 28px;
    }

    .stat-lbl {
        font-size: 9px;
        max-width: 120px;
    }

    .tem_b {
        width: 38px;
        height: 38px;
    }

    .tem {
        width: 34px;
        height: 34px;
    }

    .places-tabs {
        gap: 6px;
    }

    .place-tab {
        padding: 8px 12px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .transport-routes {
        padding: 10px 12px;
    }

    .tr-row {
        padding: 8px 0;
    }

    .tr-name {
        font-size: 12px;
    }

    .tr-count {
        font-size: 14px;
    }

    .edu-main-body {
        padding: 16px;
    }

    .edu-main-title {
        font-size: 22px;
    }

    .edu-stars {
        gap: 5px;
    }

    .edu-star {
        width: 18px;
        height: 16px;
    }

    .edu-main-desc {
        font-size: 13px;
    }

    .edu-n {
        font-size: 28px;
    }

    .edu-l {
        font-size: 9px;
    }

    .btn-blue-solid {
        width: 100%;
        justify-content: center;
    }

    .unis-card {
        padding: 16px;
    }

    .unis-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .uni-item {
        padding: 8px 0;
        gap: 12px;
    }

    .uni-num {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .uni-name {
        font-size: 16px;
    }

    .uni-full {
        font-size: 10px;
    }

    .science-card {
        padding: 16px;
    }

    .science-title {
        font-size: 20px;
    }

    .science-desc {
        font-size: 12px;
    }

    .sci-n {
        font-size: 28px;
    }

    .sci-l {
        font-size: 9px;
    }

    #спорт .sec-title,
    #транспорт .sec-title,
    #мероприятия .sec-title,
    #образование .sec-title,
    #шоппинг .sec-title,
    #отели .sec-title,
    #набережная .sec-title {
        font-size: 26px;
        letter-spacing: 1px;
    }
}

.section-river {
    background:
        radial-gradient(ellipse at top, rgba(147, 123, 221, 0.22), transparent 58%),
        #101018;
}

body.light .section-river {
    background:
        radial-gradient(ellipse at top, rgba(147, 123, 221, 0.28), transparent 58%),
        #f5f4ff;
}

.river-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.river-card {
    background: #1e1e30;
    border: 3px solid #937BDD;
    border-radius: 23px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.light .river-card {
    background: #ffffff;
}

.river-media {
    position: relative;
    display: block;
    width: 100%;
    height: 230px;
    padding: 0;
    border: 0;
    background: #111;
    overflow: hidden;
    cursor: pointer;
}

.river-media img,
.river-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.river-media video {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.river-media.is-preview video {
    opacity: 1;
}

.river-play {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(13, 13, 20, 0.72);
    color: #fff;
    font-family: 'Widock Trial', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.river-media:hover .river-play,
.river-media:focus-visible .river-play,
.river-media.is-preview .river-play {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none) {
    .river-play {
        opacity: 1;
        transform: none;
    }
}

.river-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.river-card-title {
    font-family: 'Widock Trial', sans-serif;
    font-size: 26px;
    color: #937BDD;
    letter-spacing: 1px;
}

.river-card-text {
    color: rgba(240, 238, 255, 0.68);
    line-height: 1.55;
}

body.light .river-card-text {
    color: rgba(13, 13, 32, 0.72);
}

.river-video-box {
    max-width: 920px;
    padding: 28px 22px 22px;
}

.river-video-box .modal-title {
    padding: 0 36px;
    line-height: 1.15;
}

.river-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 16px;
    background: #000;
}

@media (max-width: 1100px) {
    .river-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .river-media {
        height: 240px;
    }
}

@media (max-width: 680px) {
    .river-grid {
        grid-template-columns: 1fr;
    }

    .river-media {
        height: 220px;
    }

    .river-card-title {
        font-size: 22px;
    }

    .river-play {
        opacity: 1;
        transform: none;
    }

    .river-video-box {
        padding: 46px 14px 14px;
    }

    .river-video-box .modal-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .river-player {
        max-height: 58vh;
    }
}