/*
Theme Name: Russian Reporter (Российский Репортер)
Theme URI: https://russiannevs24.ru/
Description: Современная новостная тема для информационного агентства "Российский Репортер". Поддержка темной/светлой темы, адаптивной сетки новостей и микроанимаций.
Author: Antigravity
Author URI: https://russiannevs24.ru/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: russian-reporter
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Color & Theme Variables */
:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #e11d48;
    --accent-hover: #f43f5e;
    --accent-blue: #3b82f6;
    --border-color: #334155;
    --header-bg: rgba(15, 23, 42, 0.85);
    --shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
    --header-height: 140px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent: #e11d48;
    --accent-hover: #be123c;
    --accent-blue: #2563eb;
    --border-color: #e2e8f0;
    --header-bg: rgba(248, 250, 252, 0.85);
    --shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

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

input, button, textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid helper utilities */
.grid {
    display: grid;
    gap: 24px;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
}

/* Header & Ticker */
.top-ticker {
    background: #000000;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid #222;
}

.top-ticker-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-grow: 1;
    margin: 0 20px;
}

.ticker-label {
    background: var(--accent);
    color: #ffffff;
    padding: 2px 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-radius: 2px;
    white-space: nowrap;
    margin-right: 15px;
}

.ticker-content {
    white-space: nowrap;
    animation: ticker 25s linear infinite;
    display: flex;
    gap: 30px;
}

.ticker-item {
    display: inline-block;
    color: #e2e8f0;
}

.ticker-item span {
    color: var(--accent);
    font-weight: bold;
    margin-right: 5px;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.top-meta {
    display: flex;
    gap: 15px;
    color: #94a3b8;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Main Header */
header.site-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* Custom Logo styled from image */
.site-logo {
    display: inline-block;
}

.site-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000000;
    padding: 10px 24px;
    border-radius: 4px;
    border: 1px solid #333;
}

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: center;
}

.site-logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-top: 4px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 4px;
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search bar styling */
.header-search form {
    position: relative;
}

.header-search input[type="search"] {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    padding-right: 40px;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    width: 200px;
    transition: var(--transition);
}

.header-search input[type="search"]:focus {
    width: 260px;
    border-color: var(--accent);
}

.header-search button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.header-search button:hover {
    color: var(--accent);
}

/* Theme Switcher Toggle */
.theme-toggle-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.theme-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

/* Navigation Menu */
.nav-container {
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.main-navigation a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.main-navigation a:hover {
    color: var(--accent);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

.main-navigation .current-menu-item > a {
    color: var(--accent);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-news {
    padding: 40px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.hero-main-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow);
}

.hero-main-card .hero-img-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-main-card:hover img {
    transform: scale(1.03);
}

.hero-main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.85) 90%);
    z-index: 2;
    pointer-events: none;
}

.hero-main-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    pointer-events: none;
}

.hero-main-content a {
    pointer-events: auto;
}

.post-badge {
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.hero-main-title {
    font-size: 2.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-main-title a:hover {
    color: #cbd5e1;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta i {
    font-size: 0.9em;
}

/* Latest / Feed Column */
.latest-feed-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 520px;
    box-shadow: var(--shadow);
}

.feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.feed-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feed-title-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.feed-list {
    overflow-y: auto;
    flex-grow: 1;
    list-style: none;
    padding-right: 5px;
}

/* Custom Scrollbar for latest feed */
.feed-list::-webkit-scrollbar {
    width: 4px;
}
.feed-list::-webkit-scrollbar-track {
    background: transparent;
}
.feed-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
.feed-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.feed-item {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--border-color);
}

.feed-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.feed-item-time {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 4px;
}

.feed-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.feed-item-title:hover {
    color: var(--accent);
}

/* Category Sections (Homepage Modules) */
.home-section {
    padding: 30px 0;
}

.section-heading-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 24px;
    padding-bottom: 10px;
}

.section-heading {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: 0.05em;
    position: relative;
    margin-bottom: 0;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.section-heading-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.section-heading-link:hover {
    color: var(--accent);
}

/* News Cards Grid */
.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-img-wrap img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.news-card-title a:hover {
    color: var(--accent);
}

.news-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.read-more-btn {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-btn:hover {
    color: var(--accent-hover);
    transform: translateX(3px);
}

/* Layout variation: Two Column (Left Featured Card, Right List) */
.split-category-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.horizontal-card-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.horizontal-card {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--shadow);
    align-items: center;
}

.horizontal-card-img {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.horizontal-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.horizontal-card:hover .horizontal-card-img img {
    transform: scale(1.05);
}

.horizontal-card-content {
    flex-grow: 1;
}

.horizontal-card-title {
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.horizontal-card-title a:hover {
    color: var(--accent);
}

.horizontal-card-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Widget Sidebar Layout */
.main-content-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 30px;
    padding: 40px 0;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Custom Widgets - Subscribe */
.subscribe-form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    margin-bottom: 12px;
    outline: none;
    transition: var(--transition);
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--accent);
}

.subscribe-form button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background: var(--accent-hover);
}

/* Single Post Page Details */
.single-post-wrapper {
    padding: 40px 0;
}

.single-post-header {
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.single-post-title {
    font-size: 2.75rem;
    font-family: var(--font-heading);
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.single-post-featured-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    max-height: 550px;
}

.single-post-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post-content-container {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

.single-post-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.single-post-body p {
    margin-bottom: 1.5em;
}

.single-post-body h2,
.single-post-body h3 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.single-post-body blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent-blue);
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    margin: 30px 0;
    line-height: 1.5;
}

/* Post reading progress bar */
.progress-container {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 101;
}

.progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Share block */
.share-block {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 40px 0;
}

.share-title {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.share-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* Footer styling */
.site-footer {
    background-color: #0b0c10;
    color: #94a3b8;
    border-top: 2px solid var(--accent);
    padding: 60px 0 20px;
    font-size: 0.9rem;
    margin-top: 60px;
}

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

.footer-widget-title {
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-about-text {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
}

.footer-copyright {
    color: #64748b;
}

.footer-disclaimer {
    max-width: 700px;
    line-height: 1.5;
    color: #475569;
    font-size: 0.75rem;
}

/* Comments section styling */
.comments-area {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.comment-list {
    list-style: none;
    margin-bottom: 30px;
}

.comment-body {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.comment-author-name {
    font-weight: 700;
    color: var(--text-primary);
}

.comment-content {
    font-size: 0.95rem;
    line-height: 1.5;
}

.comment-respond {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    outline: none;
    margin-bottom: 15px;
}

.comment-form-author, .comment-form-email {
    display: inline-block;
    width: calc(50% - 10px);
    margin-bottom: 15px;
}

.comment-form-author {
    margin-right: 20px;
}

.comment-form-author input, .comment-form-email input {
    width: 100%;
    padding: 10px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    outline: none;
}

.form-submit input[type="submit"] {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit input[type="submit"]:hover {
    background: var(--accent-hover);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    font-weight: 700;
}

.pagination .page-numbers.current {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.pagination .page-numbers:hover:not(.current) {
    border-color: var(--accent);
    color: var(--accent);
}

/* Currency & Top Rates */
.top-rates {
    display: flex;
    gap: 15px;
    margin-right: 20px;
    border-right: 1px solid #333;
    padding-right: 20px;
}

.rate-item {
    font-size: 0.8rem;
    color: #94a3b8;
}

.rate-item b {
    color: #ffffff;
    margin-left: 3px;
}

/* 3-Column Layout */
.three-column-layout {
    display: grid;
    grid-template-columns: 270px 1fr 280px;
    gap: 30px;
    align-items: start;
}

.column-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Left Column: Live News Feed */
.column-feed {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.feed-scroll-box {
    max-height: 750px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar for live feed */
.feed-scroll-box::-webkit-scrollbar {
    width: 4px;
}
.feed-scroll-box::-webkit-scrollbar-track {
    background: transparent;
}
.feed-scroll-box::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
.feed-scroll-box::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.feed-card-item {
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.feed-card-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.feed-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.feed-card-time {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
}

.feed-card-category {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
}

.feed-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    display: block;
}

.feed-card-title:hover {
    color: var(--accent);
}

.feed-card-footer {
    display: flex;
    justify-content: flex-end;
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* Center Column: Main Story */
.main-featured-post {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    transition: var(--transition);
}

.main-featured-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.main-featured-img-link {
    display: block;
    height: 320px;
    overflow: hidden;
}

.main-featured-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-featured-post:hover .main-featured-img-link img {
    transform: scale(1.02);
}

.main-featured-content {
    padding: 24px;
}

.main-featured-title {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    margin-top: 10px;
    margin-bottom: 12px;
    line-height: 1.25;
}

.main-featured-title a:hover {
    color: var(--accent);
}

.main-featured-excerpt {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Right Column: Opinion Columns */
.column-opinion {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.opinion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.opinion-card {
    display: flex;
    gap: 15px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 15px;
}

.opinion-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.opinion-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}

.opinion-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opinion-card-content {
    flex-grow: 1;
}

.opinion-card-title {
    font-size: 0.88rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

.opinion-card-title a:hover {
    color: var(--accent);
}

.opinion-card-excerpt {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    :root {
        --header-height: auto;
    }
    
    .three-column-layout {
        grid-template-columns: 1fr;
    }
    
    .feed-scroll-box {
        max-height: 400px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-main-card, .latest-feed-box {
        height: 450px;
    }
    
    .main-content-layout, .single-post-content-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .header-main {
        flex-direction: column;
        gap: 15px;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .split-category-layout {
        grid-template-columns: 1fr;
    }
    
    .horizontal-card {
        flex-direction: column;
        align-items: stretch;
    }
    
    .horizontal-card-img {
        width: 100%;
        height: 180px;
    }
    
    .hero-main-title {
        font-size: 1.75rem;
    }
    
    .hero-main-content {
        padding: 20px;
    }
    
    .single-post-title {
        font-size: 2rem;
    }
    
    .comment-form-author, .comment-form-email {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .site-logo-text {
        font-size: 1.4rem;
    }
}
