:root {
    --bg-body: #f4f6f8;
    --bg-white: #ffffff;
    --bg-dark: #23365e; /* Deep Blue */
    --accent: #0be8de;  /* Cyan */
    --accent-red: #e17055; /* SVO Accent */
    --text-main: #303838;
    --text-muted: #8492a6;
    --border: #e8eaee;

    --w-container: 100%;
    --max-w: 1600px;

    --font-head: 'Manrope', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow: 0 12px 24px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.15);
}

/* Reset & Basics */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-body); color: var(--text-main); font-family: var(--font-body); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; object-fit: cover; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.2; }

/* Utility */
.container { 
    width: var(--w-container); 
    max-width: var(--max-w); 
    margin: 0 auto; 
    padding: 0 40px;
}
.block-section { padding: 50px 0; }
.bg-grey { background: #eef0f2; }
.block-title { font-size: 32px; margin-bottom: 30px; position: relative; display: inline-block; }
.block-title::after { content: ''; display: block; width: 40%; height: 4px; background: var(--accent); margin-top: 5px; border-radius: 2px; }

/* block head row (title + controls/notes) */
.block-head-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.block-head-row .block-title { margin-bottom: 0; }
.block-head-note { font-size: 12px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }

/* 1. Header */
.site-header { background: var(--bg-white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.05); }
.header-inner { height: 80px; display: flex; justify-content: space-between; align-items: center; }
.header-left { display: flex; align-items: center; gap: 30px; }
.logo img { height: 50px; }
.menu-btn, .search-btn {
    background: none; border: none; font-size: 24px; cursor: pointer;
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 700; color: var(--text-main);
}
.menu-btn:hover, .search-btn:hover { color: var(--bg-dark); }

/* Мобильное меню и поиск */
.mobile-menu {
    display: none;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 20px;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.mobile-menu.active { display: block; }
.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-weight: 700;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

.search-bar-dropdown {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 998;
}
.search-bar-dropdown.active { display: block; }
.search-bar-dropdown form { display: flex; gap: 10px; max-width: 800px; margin: 0 auto; }
.search-bar-dropdown input {
    flex: 1; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 16px;
}
.search-bar-dropdown button {
    padding: 12px 24px; background: var(--bg-dark); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 700;
}

.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: 0.5px; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: -28px; left: 0; width: 0; height: 3px; background: var(--accent); transition: 0.3s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* 2. Dashboard */
.dashboard-section { padding: 20px 0; background: var(--bg-body); border-bottom: 1px solid #dfe3e8; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 20px; }
.dash-item {
    background: var(--bg-white); padding: 20px; border-radius: var(--radius-md);
    box-shadow: var(--shadow); min-height: 178px; display: flex;
    flex-direction: column; justify-content: space-between;
}

.dash-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.dash-main { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.weather-icon { font-size: 42px; color: var(--bg-dark); }
.temp { font-size: 36px; font-weight: 800; font-family: var(--font-head); }
.dash-sub { font-size: 13px; color: var(--text-muted); }
.currency-row { display: flex; gap: 20px; font-size: 13px; }
.currency-row strong { color: var(--bg-dark); }
.trend.up { color: #00b894; }
.trend.down { color: #d63031; }
.chart-wrapper { height: 60px; width: 100%; }
.weather-chart-wrapper { height: 38px; width: 100%; margin-top: 6px; }
.weather-widget .dash-main { margin-top: 4px; }
.weather-widget .dash-sub { min-height: 18px; }

/* --- NEW: SVO Hot Widget (Замена гороскопа) --- */
.svo-hot-widget {
    border-bottom: 3px solid var(--accent-red); /* Акцент снизу */
    position: relative;
    overflow: hidden;
}
.svo-hot-widget::after {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 60px; height: 60px;
    background: radial-gradient(circle at top right, rgba(225, 112, 85, 0.1), transparent 70%);
    pointer-events: none;
}
.svo-hot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}
.svo-hot-badge {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--accent-red);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 2px;
}
.svo-hot-link {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--bg-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.svo-hot-link:hover {
    color: var(--accent-red);
}

/* 3. Hero */
.hero-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; height: 500px; }
.card-hero { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 100%; cursor: pointer; }
.card-hero img { width: 100%; height: 100%; transition: transform 0.6s; }
.card-hero:hover img { transform: scale(1.05); }
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(to top, rgba(35,54,94,0.95), transparent); color: #fff; }
.tag { display: inline-block; padding: 4px 10px; background: var(--accent); color: var(--bg-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; border-radius: 4px; margin-bottom: 10px; }
.tag.tag--light { background: #fff; color: #000; }
.tag.tag--sm { font-size: 10px; padding: 3px 8px; border-radius: 5px; margin-bottom: 0; }
.card-hero h3 { font-size: 24px; margin-bottom: 10px; }
.card-hero p { font-size: 14px; opacity: 0.9; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 4. Ticker */
.ticker-strip { background: var(--bg-dark); color: #fff; display: flex; height: 45px; align-items: center; overflow: hidden; }
.ticker-title { background: #e17055; height: 100%; padding: 0 30px; display: flex; align-items: center; font-weight: 800; font-size: 14px; letter-spacing: 1px; }
.marquee { flex: 1; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: scroll 660s linear infinite; }
.mq-item { display: inline-block; padding-left: 50px; font-size: 14px; font-weight: 500; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* 5. Editors */
.editors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card-horizontal { background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; display: flex; box-shadow: var(--shadow); transition: 0.3s; height: 250px; }
.card-horizontal:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-horizontal img { width: 45%; height: 100%; }
.card-content { padding: 25px; display: flex; flex-direction: column; justify-content: center; width: 55%; }
.meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.card-horizontal h3 { font-size: 20px; margin-bottom: 15px; color: var(--text-main); }
.read-more { font-size: 13px; font-weight: 700; color: var(--bg-dark); margin-top: auto; }

/* 5.1 SVO BLOCK */
.svo-section {
    padding: 70px 0;
    background: radial-gradient(1200px 600px at 20% 0%, rgba(11,232,222,0.12), transparent 60%),
                radial-gradient(900px 450px at 85% 20%, rgba(225,112,85,0.12), transparent 60%),
                linear-gradient(180deg, #1b2a4b 0%, #23365e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.svo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.04) 0px,
            rgba(255,255,255,0.04) 2px,
            transparent 2px,
            transparent 10px
        );
    opacity: 0.25;
    pointer-events: none;
}

.svo-head {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.svo-title { font-size: 32px; color: #fff; display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.2px; }
.svo-title i { color: #e17055; filter: drop-shadow(0 12px 22px rgba(225,112,85,0.35)); font-size: 26px; }
.svo-note { color: rgba(255,255,255,0.8); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; }

.svo-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 0.95fr 1.6fr 1.05fr; gap: 20px; align-items: stretch; }

/* Poster */
.svo-poster {
    border-radius: var(--radius-md); overflow: hidden; position: relative; min-height: 560px;
    background: linear-gradient(180deg, rgba(14,19,34,0.35) 0%, rgba(14,19,34,0.95) 100%), url('svo.jpg') center/cover no-repeat;
    border: 1px solid rgba(11,232,222,0.28); box-shadow: 0 34px 80px -52px rgba(0,0,0,0.75);
}
.svo-poster::after { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 500px at 40% 0%, rgba(11,232,222,0.14), transparent 55%); pointer-events: none; opacity: 0.9; }
.svo-poster-overlay { position: absolute; inset: 0; padding: 22px 22px 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; z-index: 2; }
.svo-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(11,232,222,0.14); border: 1px solid rgba(11,232,222,0.35); color: #fff; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; }
#svo-feature-title { font-family: var(--font-head); font-weight: 900; font-size: 22px; line-height: 1.2; margin-top: 6px; }
#svo-feature-text { color: rgba(255,255,255,0.8); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.svo-cta { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; font-size: 12px; transition: 0.25s; }
.svo-cta:hover { transform: translateY(-2px); background: rgba(11,232,222,0.16); border-color: rgba(11,232,222,0.35); }

/* Map */
.svo-map-card { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 560px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 70px -55px rgba(0,0,0,0.7); }
.svo-map-head { position: absolute; top: 14px; left: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(14,19,34,0.75); border: 1px solid rgba(255,255,255,0.12); color: #fff; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; backdrop-filter: blur(6px); }
.svo-map-card iframe { width: 100%; height: 100%; border: 0; }

/* News list */
.svo-news { border-radius: var(--radius-md); overflow: hidden; min-height: 560px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 70px -55px rgba(0,0,0,0.7); display: flex; flex-direction: column; }
.svo-news-head { padding: 16px 16px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.10); background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent); }
.svo-news-title { font-family: var(--font-head); font-weight: 900; letter-spacing: 0.3px; font-size: 16px; }
.svo-news-sub { color: rgba(255,255,255,0.75); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 8px; }
.svo-news-list { overflow: auto; padding-right: 6px; }

/* item */
.svo-item { display: flex; gap: 14px; padding: 14px 14px; cursor: pointer; transition: 0.25s; border-bottom: 1px solid rgba(255,255,255,0.08); }
.svo-item:last-child { border-bottom: none; }
.svo-item:hover { background: rgba(11,232,222,0.10); }
.svo-item.active { background: rgba(11,232,222,0.18); }
.svo-item-media { width: 84px; height: 110px; border-radius: 14px; overflow: hidden; flex: 0 0 auto; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.svo-item-media img, .svo-item-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.svo-item-body { flex: 1; min-width: 0; }
.tag.tag--svo { background: rgba(11,232,222,0.18); color: #fff; border: 1px solid rgba(11,232,222,0.35); }
.svo-item-title { font-family: var(--font-head); font-weight: 900; font-size: 14px; line-height: 1.25; margin-top: 8px; }
.svo-item-text { font-size: 12px; line-height: 1.45; color: rgba(255,255,255,0.75); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 6. Dark Investigations */
.dark-section { background: var(--bg-dark); padding: 60px 0; color: #fff; }
.section-head-light { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.section-head-light h2 { font-size: 32px; color: #fff; }
.section-head-light a, .section-head-light span { color: var(--accent); font-weight: 600; }
.investigations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-dark { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); overflow: hidden; position: relative; transition: 0.35s; }
.card-dark:hover { transform: translateY(-6px); box-shadow: 0 26px 55px -22px rgba(0,0,0,0.55); border-color: rgba(11,232,222,0.35); }
.card-dark .dark-media { position: relative; height: 180px; overflow: hidden; }
.card-dark .dark-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transform: scale(1.02); transition: 0.6s; }
.card-dark:hover .dark-media img { transform: scale(1.08); opacity: 0.9; }
.card-dark .dark-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.05)); }
.dark-body { padding: 18px 18px 20px; }
.dark-body h3 { font-size: 16px; margin-top: 10px; line-height: 1.45; }
.dark-excerpt { margin-top: 10px; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dark-more { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--accent); opacity: 0.95; }
.dark-more i { font-size: 14px; }

/* 7. Analytics */
.analytics-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.card-tile { position: relative; height: 300px; border-radius: var(--radius-md); overflow: hidden; }
.card-tile img { width: 100%; height: 100%; }
.tile-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(35,54,94,0.9) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; color: #fff; }
.card-tile h3 { font-size: 22px; margin-bottom: 10px; font-family: var(--font-head); }
.tile-overlay .tag { align-self: flex-start; }
.author-block { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: #ccc; }

/* 8. Full Banner */
.full-width-banner { height: 400px; background: url('https://cdn-storage-media.tass.ru/resize/1920x1080/tass_media/2025/11/14/8/1763128490427759_82BArlZu.png') no-repeat center/cover fixed; display: flex; align-items: center; justify-content: center; position: relative; margin: 40px 0; }
.full-width-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.banner-content { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 800px; }
.banner-content .badge { background: var(--accent); color: var(--bg-dark); padding: 5px 15px; font-weight: 800; text-transform: uppercase; border-radius: 20px; margin-bottom: 20px; display: inline-block; }
.banner-content h2 { font-size: 48px; margin-bottom: 30px; }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; padding: 15px 40px; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.btn-outline:hover { background: #fff; color: var(--bg-dark); }

/* 9. Opinions */
.opinions-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card-opinion { background: var(--bg-white); padding: 30px; border-radius: var(--radius-md); position: relative; box-shadow: var(--shadow); border-top: 5px solid var(--bg-dark); }
.quote-icon { font-size: 40px; color: #dfe3e8; position: absolute; top: 20px; right: 20px; }
.opinion-text { font-size: 16px; font-style: italic; line-height: 1.6; margin-bottom: 20px; color: var(--text-main); }
.opinion-author { display: flex; align-items: center; gap: 15px; }
.opinion-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.opinion-author div strong { display: block; font-size: 14px; }
.opinion-author div span { font-size: 12px; color: var(--text-muted); }

/* 10. Feed & Sidebar */
.layout-split { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; }
.card-feed { display: flex; gap: 20px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.card-feed img { width: 260px; height: 180px; border-radius: var(--radius-sm); }
.feed-body { flex: 1; }
.feed-body h3 { font-size: 20px; margin-bottom: 10px; transition: 0.3s; }
.feed-body h3:hover { color: #2980b9; }
.feed-text { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 10px; }
.sidebar-widget { background: var(--bg-white); padding: 25px; border-radius: var(--radius-md); margin-bottom: 30px; }
.sidebar-widget h3 { font-size: 18px; margin-bottom: 20px; }
.sidebar-item { display: flex; gap: 15px; margin-bottom: 15px; align-items: flex-start; }
.sidebar-num { font-size: 24px; font-weight: 800; color: #dfe3e8; line-height: 1; }
.sidebar-item a { font-size: 14px; font-weight: 600; line-height: 1.4; }
.load-more { width: 100%; padding: 15px; background: var(--bg-white); border: 1px solid var(--border); font-weight: 700; cursor: pointer; color: var(--text-muted); }

/* 11. Video */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card-video { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.card-video img { width: 100%; height: 220px; opacity: 0.7; transition: 0.3s; }
.card-video:hover img { opacity: 0.5; }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px; background: var(--accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--bg-dark); font-size: 24px; box-shadow: 0 0 20px rgba(11, 232, 222, 0.5);
}
.video-title { position: absolute; bottom: 0; left: 0; padding: 15px; width: 100%; font-weight: 600; font-size: 15px; }

/* 12. News Map (лист + карта) */
.news-map-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; align-items: stretch; }
.news-map-list { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 18px; height: 520px; display: flex; flex-direction: column; overflow: hidden; }
.news-map-list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.news-map-city { font-family: var(--font-head); font-weight: 900; color: var(--bg-dark); font-size: 18px; line-height: 1.1; }
.news-map-reset { background: transparent; border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; cursor: pointer; font-weight: 900; font-size: 12px; color: var(--text-muted); transition: 0.25s; white-space: nowrap; }
.news-map-reset:hover { background: rgba(11,232,222,0.12); color: var(--bg-dark); border-color: rgba(11,232,222,0.35); }
.news-map-items { overflow: auto; padding-right: 6px; }
.news-item { padding: 14px 12px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: 0.25s; }
.news-item:hover { background: rgba(11,232,222,0.08); border-color: rgba(11,232,222,0.35); }
.news-item.active { background: rgba(11,232,222,0.14); border-color: rgba(11,232,222,0.65); }
.news-item-title { font-family: var(--font-head); font-weight: 900; font-size: 14px; line-height: 1.35; color: var(--text-main); }
.news-item-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 11px; color: var(--text-muted); font-weight: 900; text-transform: uppercase; letter-spacing: 0.3px; }
.news-item-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(132,146,166,0.7); display: inline-block; align-self: center; }
.news-empty { padding: 14px; color: var(--text-muted); font-weight: 700; }
.news-map { position: relative; height: 520px; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-white); box-shadow: var(--shadow); border: 1px solid var(--border); }
.news-map-canvas { position: absolute; inset: 0; }
.news-map .leaflet-control-attribution, .news-map .leaflet-control-zoom { filter: drop-shadow(0 10px 18px rgba(0,0,0,0.08)); }
/* Скрываем служебную подпись Leaflet/OSM по просьбе владельца сайта */
.leaflet-bottom.leaflet-right,
.leaflet-control-attribution { display: none !important; }


/* 13. Stories */
.stories-wrapper { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.card-story { min-width: 220px; height: 350px; border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; border: 2px solid transparent; transition: 0.3s; }
.card-story:hover { border-color: var(--accent); }
.card-story img { width: 100%; height: 100%; }
.story-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, #000, transparent); color: #fff; font-size: 14px; font-weight: 600; }

/* 14. World Grid */
.world-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 20px; grid-template-areas: "feature a b" "feature c d"; }
.world-card { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; background: #0e1322; min-height: 220px; }
.world-card img { width: 100%; height: 100%; transition: transform 0.7s, opacity 0.7s; opacity: 0.92; }
.world-card:hover img { transform: scale(1.06); opacity: 0.82; }
.world-overlay { position: absolute; inset: 0; padding: 18px 18px 16px; background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.78) 100%); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.world-overlay h3 { font-family: var(--font-head); font-weight: 900; margin-top: 10px; line-height: 1.2; }
.world-overlay .meta-row { margin: 8px 0 0; }
.world-overlay .meta-row .meta-item { font-size: 11px; }
.world-overlay .meta-row .meta-dot { opacity: 0.6; }
.world-card--feature { grid-area: feature; }
.world-card--feature .world-overlay { padding: 24px 24px 22px; }
.world-card--feature .world-overlay h3 { font-size: 28px; }
.world-card:not(.world-card--feature) .world-overlay h3 { font-size: 18px; }
.world-card--a { grid-area: a; } .world-card--b { grid-area: b; } .world-card--c { grid-area: c; } .world-card--d { grid-area: d; }

/* 15. Footer */
.site-footer { background: var(--bg-dark); color: #b0b8c3; padding: 80px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.branding img { filter: brightness(0) invert(1); height: 40px; margin-bottom: 20px; }
.branding p { font-size: 14px; margin-bottom: 20px; max-width: 300px; }
.socials a { font-size: 24px; color: #fff; margin-right: 15px; }
.f-col h4 { color: #fff; margin-bottom: 20px; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.f-col a { display: block; margin-bottom: 12px; font-size: 14px; }
.f-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 12px; opacity: 0.5; }

/* META ROW & FEED HELPERS */
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 10px; }
.meta-row.meta-row--tight { margin: 6px 0 10px; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2px; }
.meta-item i { font-size: 14px; opacity: 0.9; }
.meta-item.meta-item--light { color: rgba(255,255,255,0.85); }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(132,146,166,0.7); display: inline-block; }
.meta-dot.meta-dot--light { background: rgba(255,255,255,0.45); }

.feed-view-switch { display: inline-flex; gap: 8px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.switch-btn { width: 42px; height: 34px; border-radius: 999px; border: none; cursor: pointer; background: transparent; color: var(--text-muted); font-size: 18px; display: inline-flex; align-items: center; justify-content: center; transition: 0.25s; }
.switch-btn:hover { background: rgba(11,232,222,0.12); color: var(--bg-dark); }
.switch-btn.active { background: var(--accent); color: var(--bg-dark); font-weight: 800; }

.feed-list.feed-view-classic .card-feed { margin-bottom: 30px; }
.feed-list.feed-view-compact .card-feed-compact { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; }
.feed-list.feed-view-compact .compact-media { width: 120px; height: 78px; border-radius: var(--radius-sm); overflow: hidden; flex: 0 0 auto; }
.feed-list.feed-view-compact .compact-media img, .feed-list.feed-view-compact .compact-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.feed-list.feed-view-compact .compact-body h3 { font-size: 16px; line-height: 1.35; margin-top: 6px; }
.feed-list.feed-view-compact .compact-body h3 a:hover { color: #2980b9; }
.feed-list.feed-view-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feed-list.feed-view-cards .card-feed-tile { background: var(--bg-white); border-radius: var(--radius-md); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: 0.3s; }
.feed-list.feed-view-cards .card-feed-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feed-list.feed-view-cards .tile-media { height: 180px; }
.feed-list.feed-view-cards .tile-media img, .feed-list.feed-view-cards .tile-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.feed-list.feed-view-cards .tile-body { padding: 18px 18px 20px; }
.feed-list.feed-view-cards .tile-body h3 { font-size: 18px; margin-top: 8px; line-height: 1.35; }
.feed-list.feed-view-cards .tile-body .feed-text { margin-top: 10px; margin-bottom: 0; }

.ad-placeholder { background: #e8eaee; border: 1px dashed rgba(35,54,94,0.35); border-radius: var(--radius-md); padding: 18px; position: relative; overflow: hidden; }
.ad-placeholder::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(35,54,94,0.04)); pointer-events: none; }
.ad-badge { position: absolute; top: 12px; left: 12px; background: rgba(35,54,94,0.9); color: #fff; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; }
.ad-body { position: relative; padding-top: 38px; }
.ad-title { font-family: var(--font-head); font-weight: 800; color: var(--bg-dark); font-size: 16px; margin-bottom: 6px; }
.ad-sub { font-size: 13px; color: rgba(48,56,56,0.7); line-height: 1.5; }
.img-placeholder { background: linear-gradient(135deg, rgba(11,232,222,0.25), rgba(35,54,94,0.15)); display: flex; align-items: center; justify-content: center; color: rgba(35,54,94,0.75); }
.img-placeholder i { font-size: 26px; opacity: 0.9; }

/* Weather map styles */
.weather-map { position: relative; height: 520px; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-white); box-shadow: var(--shadow); border: 1px solid var(--border); }
.weather-map-canvas { position: absolute; inset: 0; }
.weather-divicon { background: transparent; border: none; }
.weather-divicon .weather-marker { transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.95); border: 1px solid rgba(232,234,238,0.9); box-shadow: 0 14px 28px -18px rgba(0,0,0,0.35); user-select: none; white-space: nowrap; }
.weather-divicon .weather-marker::after { content: ''; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 9px solid rgba(255,255,255,0.95); filter: drop-shadow(0 8px 10px rgba(0,0,0,0.08)); }
.weather-divicon .wm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(11,232,222,0.18); }
.weather-divicon .wm-city { font-size: 12px; font-weight: 900; font-family: var(--font-head); color: var(--bg-dark); text-transform: uppercase; letter-spacing: 0.4px; }
.weather-divicon .wm-temp { font-size: 12px; font-weight: 800; color: var(--text-main); }
.weather-divicon .wm-desc { font-size: 11px; font-weight: 700; color: rgba(48,56,56,0.65); }
.map-legend { position: absolute; bottom: 16px; right: 16px; z-index: 600; background: rgba(255,255,255,0.92); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 14px; box-shadow: var(--shadow); pointer-events: auto; }
.legend-title { font-size: 12px; font-weight: 900; font-family: var(--font-head); color: var(--bg-dark); display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.legend-sub { font-size: 12px; color: rgba(48,56,56,0.7); margin-top: 4px; }

/* Markets Tabs */
.tabs { background: transparent; }
.tabs-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.tab-btn { border: 1px solid var(--border); background: var(--bg-white); border-radius: 999px; padding: 10px 14px; cursor: pointer; font-weight: 900; font-family: var(--font-head); font-size: 13px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow); transition: 0.25s; }
.tab-btn:hover { background: rgba(11,232,222,0.12); color: var(--bg-dark); border-color: rgba(11,232,222,0.35); }
.tab-btn.active { background: var(--accent); color: var(--bg-dark); border-color: rgba(11,232,222,0.35); }
.tabs-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.markets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.market-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 16px 16px 14px; height: 220px; display: flex; flex-direction: column; }
.market-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.market-title { font-size: 16px; font-weight: 900; font-family: var(--font-head); color: var(--bg-dark); }
.market-sub { font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 3px; }
.market-canvas { flex: 1 1 auto; min-height: 120px; margin-top: 10px; }
.market-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--text-muted); }
.market-value { color: var(--text-main); font-size: 14px; }
.market-muted i { font-size: 14px; margin-right: 6px; }

/* Responsive */
@media (max-width: 1024px) {
    /* Фикс ширины на мобильных */
    .container { padding: 0 20px; width: 100%; } 
    
    .hero-grid { grid-template-columns: 1fr; height: auto; }
    .card-hero { height: 300px; }
    .editors-grid { grid-template-columns: 1fr; }
    .investigations-grid, .analytics-masonry, .video-grid { grid-template-columns: repeat(2, 1fr); }
    .layout-split { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
    .feed-list.feed-view-cards { grid-template-columns: 1fr; }
    .news-map-layout { grid-template-columns: 1fr; }
    .news-map-list, .news-map { height: auto; min-height: 420px; }
    .world-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 220px 220px; grid-template-areas: "feature feature" "a b" "c d"; }
    .svo-layout { grid-template-columns: 1fr; }
    .svo-poster { min-height: 420px; }
    .svo-map-card { min-height: 520px; height: 520px; }
    .svo-news { min-height: 420px; }
}

@media (max-width: 768px) {
    .header-inner { height: 60px; }
    .main-nav { display: none; } /* Скрываем десктопное меню */
    .investigations-grid, .analytics-masonry, .video-grid { grid-template-columns: 1fr; }
    .opinions-slider { grid-template-columns: 1fr; }
    .markets-grid { grid-template-columns: 1fr; }
    .feed-view-switch { width: 100%; justify-content: space-between; }
    .world-grid { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "feature" "a" "b" "c" "d"; }
    .svo-map-card { min-height: 480px; height: 480px; }
}