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

:root {
    /* New Sophisticated Palette - Cool Slate & Soft Mint */
    --primary-color: #eece5b;
    --primary-dark: #2c4360;
    --primary-light: #5a7fa8;
    --accent-color: #6b9080;
    --accent-hover: #588a75;
    --accent-soft: rgba(107, 144, 128, 0.12);
    --accent-glow: rgba(61, 90, 128, 0.08);
    --secondary-color: #7d8597;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --bg-primary: #fff;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --border-color: #f5f1db;
    --border-light: #e2e8f0;
    --card-bg: #ffffff;
    --success-color: #6b9080;
    --warning-color: #d69e2e;
    --error-color: #e53e3e;
    --on-primary: #ffffff;

    /* Spacing - Keep margins same (DO NOT CHANGE) */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;

    /* Typography - New: Inter + Playfair Display */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-mono: 'Inter', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    --container-width: 1400px;
    --border-radius: 4px;
    --border-radius-sm: 2px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    --shadow-sm: 0 1px 2px rgba(26, 32, 44, 0.04);
    --shadow-md: 0 4px 6px rgba(26, 32, 44, 0.06);
    --shadow-lg: 0 10px 15px rgba(26, 32, 44, 0.08);
    --shadow-xl: 0 20px 25px rgba(26, 32, 44, 0.1);

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    --card-height: 250px;

    /* Typography Scale - Modular */
    --text-xs: 0.6875rem;
    --text-sm: 0.8125rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.75;
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
}

/* Detail page: theme colors only - article body font/size/line-height kept in blade inline */
.article-detail {
    --primary-color: #eece5b;
    --primary-dark: #2c4360;
    --primary-light: #5a7fa8;
    --accent-color: #6b9080;
    --accent-hover: #588a75;
    --accent-soft: rgba(107, 144, 128, 0.12);
    --accent-glow: rgba(61, 90, 128, 0.08);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --bg-primary: #fff;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --border-color: #f5f1db;
    --border-light: #e2e8f0;
    --card-bg: #ffffff;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-mono: 'Inter', ui-monospace, monospace;
    --border-radius: 4px;
    --border-radius-sm: 2px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    --shadow-sm: 0 1px 2px rgba(26, 32, 44, 0.04);
    --shadow-md: 0 4px 6px rgba(26, 32, 44, 0.06);
    --shadow-lg: 0 10px 15px rgba(26, 32, 44, 0.08);
    --shadow-xl: 0 20px 25px rgba(26, 32, 44, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: 0;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    box-sizing: border-box;
}

.container-wide {
    max-width: 1400px;
}

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

.hero-card figure,
.trending-card figure,
.latest-article-row figure,
.list-article-card figure {
    margin: 0;
}

.article-content img {
    margin: var(--space-xl) auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

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

ul,
ol {
    list-style: none;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
}

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

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

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

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.mt-xl {
    margin-top: var(--space-xl);
}

main {
    padding-top: 0;
    position: relative;
    z-index: 1;
}

/* Button Styles - Clean Modern */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.01em;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-color);
    color: var(--on-primary);
    font-family: var(--font-heading);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--on-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--accent-soft);
    color: var(--primary-dark);
    box-shadow: none;
    transform: none;
}

/* Navbar - Clean minimal */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    box-shadow: 0 1px 0 var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar.scrolled .container {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-family: var(--font-display);
    text-decoration: none;
}

.logo::after {
    display: none;
}

.nav-menu {
    display: flex;
    gap: var(--space-xs);
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    letter-spacing: 0.01em;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--primary-color);
    /* background: var(--bg-secondary); */
}

.nav-actions {
    display: none;
    align-items: center;
    gap: var(--space-md);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.navbar .hamburger span {
    background-color: var(--text-primary);
}

/* Section Header - New Underline Style */
.section-header-centered-block {
    text-align: left;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.section-header-centered-block::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.section-overline {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    line-height: var(--leading-tight);
}

.section-title-block {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    margin: 0;
}

/* Section Eyebrow & Heading - New Numbered Style */
.section-eyebrow {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    line-height: var(--leading-tight);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--primary-color);
}

.section-heading {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--text-primary);
    line-height: var(--leading-snug);
    margin: 0;
    letter-spacing: var(--tracking-tight);
}

.section-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
    margin: var(--space-sm) auto 0;
}

/* Legacy section headers - Premium Redesign */
.section-header {
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: var(--space-md);
    padding-left: 0;
    border-bottom: none;
    border-left: none;
}

.section-header::before {
    content: attr(data-overline);
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: var(--space-xs);
    font-family: var(--font-heading);
    width: fit-content;
}

.section-header::after {
    display: none;
}

.section-header:not([data-overline])::before {
    display: none;
}

.section-header:not([data-overline])::after {
    display: none;
}

.section-header-centered {
    text-align: center;
    align-items: center;
    padding-left: 0;
    border-left: none;
    border-bottom: none;
    position: relative;
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
}

.section-header-centered .section-eyebrow {
    margin-bottom: var(--space-sm);
}

.section-header-centered .section-eyebrow::before {
    display: none;
}

.section-header-centered .section-heading {
    font-size: var(--text-2xl);
    font-weight: 500;
}

.section-header-centered::before {
    content: attr(data-overline);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: var(--space-xs);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-header-centered::after {
    display: none;
}

.section-header-centered:not([data-overline])::after {
    display: block;
}

.section-header-centered .section-title {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
    color: var(--text-primary);
    position: relative;
    display: block;
    line-height: 1.3;
    text-transform: none;
    padding-bottom: 0;
    text-align: center;
}

.section-header-centered .section-title::after {
    display: none;
}

.section-header-right {
    text-align: right;
    align-items: flex-end;
}

/* Left-aligned variant - Premium */
.section-header-left {
    text-align: left;
    align-items: flex-start;
    padding-left: 0;
    border-left: none;
}

.section-header-left::before {
    margin-left: 0;
}

.section-header-left::after {
    display: none;
}

.section-header-left .section-title {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-align: left;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.3;
    font-family: var(--font-heading);
    margin: 0;
    position: relative;
    display: inline-block;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: var(--space-sm) 0 0 0;
    font-weight: 400;
    font-style: normal;
}

/* Trending Section - Premium Cards */
.trending-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xxl);
    background: var(--bg-primary);
}

.trending-section .section-header {
    border-bottom: none;
}

.trending-section .section-header::before {
    color: var(--accent-color);
}

/* Latest Section */
.latest-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xxl);
    background: var(--bg-primary);
}

.latest-section .section-header {
    border-bottom: none;
}

.latest-section .section-header::before {
    color: var(--accent-color);
}

/* Article item styles */
.article-item-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    align-items: stretch;
}

.article-item-image {
    width: 100%;
    height: 180px;
    min-height: 180px;
    overflow: hidden;
    background: var(--bg-tertiary);
    position: relative;
    margin-bottom: 0;
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.article-item-image::after {
    display: none;
}

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

.article-item-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.article-item-category {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    align-self: flex-start;
    font-family: var(--font-primary);
    margin-bottom: 0;
    background: var(--accent-soft);
    border-radius: var(--border-radius-sm);
}

.article-item-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-item-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    margin-top: auto;
}

.article-item-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-bottom: 0;
    border-bottom: none;
}

/* Footer - Clean Style */
.footer {
    /* background: var(--bg-tertiary); */
    color: var(--text-secondary);
    padding: 20px 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer::before {
    display: none;
}

.footer-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-column h3 {
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
    color: var(--text-primary);
    letter-spacing: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-link {
    color: var(--text-secondary);
    transition: var(--transition-fast);
    padding: 0.4rem 1rem;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Responsive Design - margins/padding preserved */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        line-height: 1.65;
    }

    .container {
        padding: 0 var(--space-md) !important;
    }

    .nav-menu,
    .search-box {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .navbar {
        max-height: 100px;
        padding: var(--space-sm) 0;
        min-height: auto;
    }

    .navbar .container {
        min-height: auto;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .featured-section,
    .category-section,
    .trending-section,
    .latest-section {
        padding-top: var(--space-md);
        padding-bottom: var(--space-xl);
    }

    .section-title-block {
        font-size: 1.5rem;
    }

    .section-header-centered .section-title {
        font-size: 1.5rem;
    }

    .pagination-wrapper {
        margin-top: var(--space-xl);
    }

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

    .footer-links {
        gap: var(--space-md);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Pagination - Clean Bar Style */
.pagination-wrapper {
    margin-top: var(--space-xxl);
    padding: var(--space-xl) 0;
    display: flex;
    justify-content: center;
}

.pagination-container {
    display: inline-flex;
    align-items: stretch;
}

.post-pagination {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 400;
}

.post-pagination li {
    display: flex;
    align-items: center;
    margin: 0;
}

/* Prev button - Text link style */
.post-pagination li.perivous-page a {
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
    border-radius: var(--border-radius-sm);
    font-weight: 500;
}

.post-pagination li.perivous-page a:hover {
    color: var(--on-primary);
    background: var(--primary-color);
}

/* Page Numbers */
.post-pagination a,
.post-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--space-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 400;
}

.post-pagination a:hover {
    color: var(--primary-color);
    /* background: var(--accent-soft); */
}

/* Current Page */
.post-pagination .current,
.post-pagination a.current {
    color: var(--on-primary);
    font-weight: 500;
    background: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* Ellipsis */
.post-pagination .ellipsis,
.post-pagination span.ellipsis {
    color: var(--text-muted);
    min-width: 28px;
    height: 36px;
    cursor: default;
    background: transparent;
    font-weight: 400;
    padding: 0 var(--space-xs);
}

/* Disabled State */
.post-pagination .disabled,
.post-pagination a:not([href]) {
    /* opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none; */
}

/* Responsive - Simplified on mobile */
@media (max-width: 640px) {
    .pagination-container {
        padding: var(--space-sm);
    }

    .post-pagination a,
    .post-pagination span {
        min-width: 32px;
        height: 32px;
        font-size: var(--text-xs);
    }

    .post-pagination li.perivous-page a {
        height: 32px;
        padding: 0 var(--space-sm);
        font-size: var(--text-xs);
    }
}

/* Sidebar - Panel Style */
.sidebar.list-sidebar,
.article-sidebar {
    position: relative;
}

.sidebar-widget {
    background: var(--card-bg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.widget-header {
    margin-bottom: var(--space-lg);
}

.widget-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-primary);
    padding: 0;
    margin: 0 0 var(--space-md) 0;
    border: none;
    letter-spacing: var(--tracking-tight);
}

/* Tags - Chip style */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
}

.tag-item {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.tag-item:hover {
    color: var(--on-primary);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Popular list - Numbered cards */
.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: popular-counter;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.popular-item {
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: var(--transition-fast);
}

.popular-item:hover {
    border-color: var(--primary-color);
    background: var(--card-bg);
}

.popular-item::before {
    counter-increment: popular-counter;
    content: counter(popular-counter, decimal-leading-zero);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.6;
}

.popular-title {
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: var(--leading-snug);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Categories - Stacked pills */
.categories-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.category-item {
    border: none;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    text-decoration: none;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
}

.category-arrow {
    font-size: var(--text-xs);
    color: var(--primary-color);
    opacity: 0;
    transition: var(--transition-fast);
}

.category-link:hover {
    color: var(--primary-color);
    background: var(--accent-soft);
    border-color: var(--border-color);
}

.category-link:hover .category-arrow {
    opacity: 1;
}

.category-item.active .category-link {
    color: var(--on-primary);
    font-weight: 500;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.category-item.active .category-arrow {
    opacity: 1;
    color: var(--on-primary);
}

/* Author profile in sidebar */
.author-profile {
    text-align: center;
}

.author-avatar-wrap {
    display: block;
    margin-bottom: var(--space-md);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: var(--transition-fast);
    margin: 0 auto;
}

.author-avatar-wrap:hover .author-avatar {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.author-name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    margin: 0 0 var(--space-xs) 0;
}

.author-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.author-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ================================
   NEW LAYOUT STYLES - Clean Editorial
   ================================ */

/* Section Header - Clean with underline */
.section-header-row {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    margin-bottom: var(--space-lg);
}

.section-header-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
    text-align: left;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    position: relative;
}

.section-header-left::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--primary-color);
}

.section-title-row {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 1.75rem);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
    position: relative;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0;
}

.section-header-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.section-header-link:hover {
    color: var(--accent-color);
    gap: calc(var(--space-xs) + 2px);
}

.section-header-link svg {
    transition: transform 0.2s ease;
}

.section-header-link:hover svg {
    transform: translateX(2px);
}

/* Trending Section */
.trending-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Latest Bento Grid - Uniform 3-Column */
.latest-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.latest-bento-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.latest-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.2s ease;
    z-index: 2;
}

.latest-bento-card:hover::before {
    height: 100%;
}

.latest-bento-card::after {
    display: none;
}

.latest-bento-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.latest-bento-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.latest-bento-image {
    width: 100%;
    margin: 0;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.latest-bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-bento-card:hover .latest-bento-image img {
    transform: scale(1.03);
}

.latest-bento-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    position: relative;
}

.latest-bento-cat {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
    background: var(--accent-soft);
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius-sm);
    align-self: flex-start;
}

.latest-bento-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: var(--tracking-tight);
}

.latest-bento-excerpt {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin: 0 0 var(--space-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-bento-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-family: var(--font-heading);
    margin-top: auto;
    letter-spacing: var(--tracking-wide);
}

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

    .trending-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .trending-bento {
        grid-template-columns: 1fr;
    }
}

/* Category Strip - Horizontal Pills */
.category-strip-section {
    padding: var(--space-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.category-strip-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.category-strip-centered {
    align-items: stretch;
    text-align: left;
}

.category-strip-centered .category-strip-header {
    max-width: none;
    text-align: center;
}

.category-strip-centered .category-strip-header .section-heading {
    margin-left: auto;
    margin-right: auto;
}

.category-strip-block {
    justify-content: flex-start;
}

.category-strip-header {
    margin-bottom: 0;
}

.category-strip-kicker {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.category-strip-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.category-strip-subtitle {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.category-strip-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    background: var(--card-bg);
    border-radius: 999px;
    border: 1px solid var(--border-color);
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

.category-strip-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--accent-soft);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* List Page Styles - Premium */
.list-page {
    padding-top: 0;
    background-color: var(--bg-primary);
}

.list-page-hero {
    padding: var(--space-xl) 0 var(--space-lg);
    /* background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); */
}

.breadcrumb {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    padding-bottom: 10px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.breadcrumb [aria-current="page"] {
    color: var(--text-primary);
    font-weight: 500;
}

.list-page-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
}

.list-page-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.list-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xxl);
}

.list-main {
    order: 0;
    min-width: 0;
}

/* List page: use trending-cards (same as index), 3 cols when sidebar visible */
.list-main .trending-cards {
    grid-template-columns: repeat(3, 1fr);
}

.list-sidebar {
    order: 1;
}

.list-sidebar .sidebar-widget:last-child,
.article-sidebar .sidebar-widget:last-child {
    margin-bottom: 0;
}

/* List Bento Grid */
.list-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.list-bento-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.list-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.2s ease;
    z-index: 2;
}

.list-bento-card:hover::before {
    height: 100%;
}

.list-bento-card::after {
    display: none;
}

.list-bento-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.list-bento-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.list-bento-image {
    width: 100%;
    margin: 0;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.list-bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.list-bento-card:hover .list-bento-image img {
    transform: scale(1.03);
}

.list-bento-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.list-bento-cat {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
    background: var(--accent-soft);
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius-sm);
    align-self: flex-start;
}

.list-bento-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: var(--tracking-tight);
}

.list-bento-excerpt {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin: 0 0 var(--space-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-bento-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-family: var(--font-heading);
    margin-top: auto;
    letter-spacing: var(--tracking-wide);
}

.list-ad-wrapper {
    grid-column: 1 / -1;
    padding: var(--space-lg) 0;
}

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

    .list-main .trending-cards {
        grid-template-columns: repeat(5, 1fr);
    }

    .list-sidebar {
        order: 1;
        position: static;
    }
}

@media (max-width: 640px) {
    .list-main .trending-cards {
        grid-template-columns: 1fr;
    }

    .list-page-title {
        padding: 10px 0;
        font-size: 2rem;
    }

    .breadcrumb {
        display: none;
    }

    .list-page-hero {
        padding: 0;
    }
}

/* Detail Page - Premium Article Layout */
.article-detail {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xxl);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-xxl);
}

.article-main {
    min-width: 0;
}

.article-sidebar {
    top: 100px;
    height: fit-content;
    align-self: start;
}

.article-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.article-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0 0 var(--space-md) 0;
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.meta-details {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.publish-date,
.update-date {
    font-family: var(--font-heading);
}

.article-author-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.article-author-link:hover {
    color: var(--primary-color);
}

.article-author-link img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

/* Author Section */
.author-section {
    margin-top: var(--space-xxl);
    /* padding: var(--space-xl); */
    /* background: var(--bg-secondary); */
    border-radius: var(--border-radius-md);
    /* border: 1px solid var(--border-color); */
}

.author-card {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.author-avatar-wrapper {
    flex-shrink: 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 var(--space-xs) 0;
}

.author-name a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.author-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 var(--space-sm) 0;
    line-height: 1.6;
}

.author-bio {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Article Footer */
.article-footer {
    margin-top: var(--space-xl);
    /* padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color); */
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.share-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-right: var(--space-xs);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.share-btn:hover {
    background: var(--primary-color);
    color: var(--on-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.share-icon {
    width: 18px;
    height: 18px;
}

/* Comments Section */
.comments-section {
    /* margin-top: var(--space-xxl); */
    padding-top: var(--space-xxl);
    /* border-top: 1px solid var(--border-color); */
}

.comments-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    border-bottom: none;
    padding-bottom: 0;
}

.comments-count {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    /* background: var(--bg-tertiary); */
    padding: 0.3rem 0.75rem;
    border-radius: var(--border-radius-sm);
}

.comment-form {
    /* background: var(--bg-secondary);
    padding: var(--space-lg); */
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-xl);
}

.comment-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    resize: vertical;
    min-height: 100px;
    background: var(--card-bg);
    transition: var(--transition-fast);
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.1);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.form-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

.comment {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1rem;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.comment-author {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.comment-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.comment-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.comment-text p {
    margin: 0;
}

.comment-actions {
    display: flex;
    gap: var(--space-md);
}

.comment-like,
.comment-reply {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.comment-like:hover,
.comment-reply:hover {
    color: var(--primary-color);
}

/* Related Articles */
.related-articles-section {
    /* margin-top: var(--space-xxl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color); */
}

.related-articles-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

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

.related-articles-grid .article-card {
    /* box-shadow: var(--shadow-sm); */
    transition: var(--transition-fast);
}

.related-articles-grid .article-card .article-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.related-articles-grid .article-card .article-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.related-articles-grid .article-card .article-title a:hover {
    color: var(--primary-color);
}

.related-articles-grid .article-card .article-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: var(--space-sm) 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--on-primary);
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: var(--transition);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61, 90, 128, 0.2);
}

/* Hamburger Menu */
.navbar-container {
    position: relative;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 10001;
    position: relative;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

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

    .article-sidebar {
        position: static;
    }

    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        max-height: 100px;
        padding: var(--space-sm) 0;
        min-height: auto;
    }

    .navbar .container {
        min-height: auto;
    }

    .breadcrumb {
        display: none;
    }

    .article-detail {
        padding-top: var(--space-md);
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-xl);
        z-index: 10000;
        gap: 0;
        border: 1px solid var(--border-color);
        border-top: none;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        display: none;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-link {
        padding: var(--space-md);
        border-bottom: 1px solid var(--border-light);
        width: 100%;
        display: block;
        color: var(--text-primary);
        border-radius: 0;
    }

    .nav-link.active {
        color: var(--primary-color);
        background: var(--accent-soft);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
        z-index: 10001;
    }

    .nav-actions {
        display: flex;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar-wrapper {
        margin: 0 auto;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .comment {
        flex-direction: column;
    }

    .comment-avatar {
        margin: 0 auto;
    }

    .comment-header {
        justify-content: center;
    }

    .comment-text {
        text-align: center;
    }

    .comment-actions {
        justify-content: center;
    }

    .form-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-xxl);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.empty-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.empty-text {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* ================================
   INDEX PAGE STYLES - Clean Editorial
   ================================ */

.post-pagination li.perivous-page {
    display: none;
}

/* Hero Section - Clean Split Layout */
.hero-section {
    position: relative;
    padding: var(--space-xl) 0 var(--space-xxl);
    /* background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); */
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-xxl);
    align-items: start;
}

.hero-main {
    position: relative;
}

.hero-featured-card {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.hero-featured-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.hero-featured-card:hover .hero-featured-image img {
    transform: scale(1.02);
}

.hero-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 32, 44, 0.7) 0%, rgba(26, 32, 44, 0.3) 50%, transparent 100%);
    pointer-events: none;
}

.hero-featured-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--accent-color);
    color: var(--on-primary);
    padding: 0.35rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    z-index: 2;
}

.hero-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    color: white;
    z-index: 2;
}

.hero-featured-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-sm);
    padding: 0.3rem 0.625rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
}

.hero-featured-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 var(--space-sm) 0;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-featured-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 var(--space-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-featured-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-featured-meta time {
    font-weight: 400;
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-color);
}

.hero-sidebar-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.hero-sidebar-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-sidebar-link:hover {
    color: var(--accent-color);
}

.hero-mini-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.hero-mini-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.hero-mini-image {
    width: 100px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.hero-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.hero-mini-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero-mini-cat {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.hero-mini-title {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.hero-mini-date {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: auto;
    font-weight: 400;
}

/* Featured Grid - Magazine Style */
.featured-grid-section {
    padding: var(--space-xxl) 0;
    background: var(--bg-primary);
}

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

.featured-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.featured-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.featured-card:first-child .featured-image {
    aspect-ratio: 4/3;
}

.featured-card:first-child .featured-title {
    font-size: 1.5rem;
}

.featured-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.04);
}

.featured-content {
    padding: var(--space-lg);
}

.featured-cat {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    padding: 0.25rem 0.625rem;
    background: var(--accent-soft);
    border-radius: var(--border-radius-sm);
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.featured-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 var(--space-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Trending Section - Horizontal Cards */
/* Trending - Vertical Card Grid - New Clean Style */
.trending-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}

.trending-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.trending-card:hover {
    transform: translateY(-2px);
    /* box-shadow: var(--shadow-md); */
}

.trending-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.trending-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.trending-card:hover .trending-card-image img {
    transform: scale(1.03);
}

.trending-card-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    background: var(--card-bg);
    border-top: 1px solid var(--border-light);
}

.trending-card-rank {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--space-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent-soft);
    border-radius: 50%;
    font-size: var(--text-sm);
}

.trending-card-cat {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
    /* padding: 0.2rem 0.5rem; */
    /* background: var(--accent-soft); */
    border-radius: var(--border-radius-sm);
    align-self: flex-start;
}

.trending-card-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
    letter-spacing: var(--tracking-tight);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-card-excerpt {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: auto;
    padding-top: var(--space-md);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Category Hub - Premium */
.category-hub {
    padding: var(--space-xxl) 0;
    background: var(--bg-primary);
    position: relative;
}

.category-hub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.category-hub-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.category-hub-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
}

.category-hub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-align: center;
}

.category-hub-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-hub-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.category-hub-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.category-hub-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Latest Grid - Compact */
.latest-grid-section {
    padding: var(--space-xxl) 0;
    background: var(--bg-primary);
}

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

.latest-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.latest-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.latest-card:nth-child(1),
.latest-card:nth-child(6) {
    grid-column: span 2;
}

.latest-card:nth-child(1) .latest-image,
.latest-card:nth-child(6) .latest-image {
    aspect-ratio: 21/9;
}

.latest-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-card:hover .latest-image img {
    transform: scale(1.03);
}

.latest-content {
    padding: var(--space-md);
}

.latest-cat {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.latest-title {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.latest-card:nth-child(1) .latest-title,
.latest-card:nth-child(6) .latest-title {
    font-size: 1.125rem;
}

.latest-excerpt {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-date {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Index Page Responsive */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-sidebar-header {
        grid-column: span 2;
    }

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

    .featured-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .featured-card:first-child .featured-image {
        aspect-ratio: 16/10;
    }

    .trending-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .trending-card-title {
        font-size: var(--text-base);
    }

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

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

    .latest-card:nth-child(1),
    .latest-card:nth-child(6) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-featured-title {
        font-size: 1.25rem;
    }

    .hero-sidebar {
        grid-template-columns: 1fr;
    }

    .hero-sidebar-header {
        grid-column: span 1;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-card:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }

    .featured-card:first-child .featured-image {
        aspect-ratio: 16/10;
    }

    .trending-cards {
        grid-template-columns: 1fr;
    }

    .trending-card-image {
        aspect-ratio: 16/10;
    }

    .trending-card-rank {
        font-size: var(--text-xl);
    }

    .category-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .latest-grid {
        grid-template-columns: 1fr;
    }

    .latest-card:nth-child(1),
    .latest-card:nth-child(6) {
        grid-column: span 1;
    }

    .latest-card:nth-child(1) .latest-image,
    .latest-card:nth-child(6) .latest-image {
        aspect-ratio: 16/10;
    }
}

/* ================================
   AUTHOR PAGE STYLES
   ================================ */

.author-profile-page {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xxl);
    background: var(--bg-primary);
}

/* Author Hero Section */
.author-hero-section {
    margin-bottom: var(--space-xxl);
}

.author-hero-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.author-avatar-wrapper {
    display: flex;
    justify-content: center;
}

.author-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.author-info-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.author-name-large {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.author-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}

/* Author Content Section */
.author-content-section {
    margin-bottom: var(--space-xxl);
}

.author-content-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 var(--space-lg) 0;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    letter-spacing: -0.01em;
}

.author-content-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.author-content-body p {
    margin-bottom: var(--space-md);
}

.author-content-body h2,
.author-content-body h3 {
    color: var(--text-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

/* Author Articles Section */
.author-articles-section {
    margin-top: var(--space-xxl);
}

.author-articles-section .section-header {
    /* margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color); */
}

.author-articles-section .section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.author-articles-section .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.author-articles-section .article-card {
    /* background: var(--card-bg);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg); */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.author-articles-section .article-top-row {
    flex: 1;
}

.author-articles-section .article-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.author-articles-section .article-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    align-self: flex-start;
}

.author-articles-section .article-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.author-articles-section .article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-articles-section .article-title a:hover {
    color: var(--primary-color);
}

.author-articles-section .article-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-articles-section .article-content {
    /* margin-top: var(--space-md); */
    padding-top: var(--space-md);
    /* border-top: 1px solid var(--border-color); */
}

.author-articles-section .article-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Responsive */
@media (max-width: 768px) {
    .author-hero-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-xl);
    }

    .author-avatar-large {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .author-name-large {
        font-size: 2rem;
    }

    .author-description {
        font-size: 1rem;
    }

    .author-content-section {
        padding: var(--space-lg);
    }

    .author-content-title {
        font-size: 1.5rem;
    }

    .author-articles-section .articles-grid {
        grid-template-columns: 1fr;
    }

    .author-articles-section .article-title {
        font-size: 1.125rem;
    }
}

/* ================================
   ALONE/SINGLE PAGE STYLES
   ================================ */

.main-content {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xxl);
    background: var(--bg-primary);
}

.main-content .blog {
    background: var(--bg-primary);
}

.main-content .section-padding {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xxl);
}

/* Layout with sidebar */
.main-content .rightsidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-xxl);
    align-items: start;
}

.main-content .ccontent-area {
    min-width: 0;
}

/* Article Styles */
.main-content .article-wrap {
    background: var(--card-bg);
    padding: var(--space-xl);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.main-content .entry-header.article_part_header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.main-content .detail-title.article_part_h1 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.02em;
}

.main-content .entry-content.article_part_div {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.main-content .entry-content.article_part_div p {
    margin-bottom: var(--space-md);
}

.main-content .entry-content.article_part_div h2,
.main-content .entry-content.article_part_div h3,
.main-content .entry-content.article_part_div h4 {
    color: var(--text-primary);
    font-weight: 500;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
}

.main-content .entry-content.article_part_div h2 {
    font-size: 1.5rem;
}

.main-content .entry-content.article_part_div h3 {
    font-size: 1.25rem;
}

.main-content .entry-content.article_part_div img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    margin: var(--space-lg) 0;
    box-shadow: var(--shadow-md);
}

.main-content .entry-content.article_part_div a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.2s ease;
}

.main-content .entry-content.article_part_div a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.main-content .entry-content.article_part_div ul,
.main-content .entry-content.article_part_div ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.main-content .entry-content.article_part_div li {
    margin-bottom: var(--space-xs);
}

.main-content .entry-content.article_part_div blockquote {
    border-left: 3px solid var(--accent-color);
    padding-left: var(--space-lg);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Comments Area */
.main-content .comments-area {
    margin-top: var(--space-xxl);
}

.main-content .comment-respond {
    background: var(--card-bg);
    padding: var(--space-xl);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.main-content .comment-reply-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 var(--space-lg) 0;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    letter-spacing: -0.01em;
}

.main-content .comment-reply-title small {
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: var(--space-sm);
}

.main-content .comment-reply-title small a {
    color: var(--text-muted);
    text-decoration: none;
}

.main-content .comment-reply-title small a:hover {
    color: var(--accent-color);
}

.main-content .comment-notes {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.main-content .comment-notes .required {
    color: var(--accent-color);
}

.main-content .comment-form p {
    margin-bottom: var(--space-md);
}

.main-content .comment-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.main-content .comment-form label .required {
    color: var(--accent-color);
}

.main-content .comment-form input[type="text"],
.main-content .comment-form input[type="email"],
.main-content .comment-form input[type="url"],
.main-content .comment-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    /* background: var(--bg-secondary); */
    transition: all 0.2s ease;
    outline: none;
}

.main-content .comment-form input[type="text"]:focus,
.main-content .comment-form input[type="email"]:focus,
.main-content .comment-form input[type="url"]:focus,
.main-content .comment-form textarea:focus {
    border-color: var(--primary-color);
    background: var(--card-bg);
    box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.1);
}

.main-content .comment-form textarea {
    resize: vertical;
    min-height: 150px;
}

.main-content .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.main-content .comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.main-content .comment-form-cookies-consent label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

.main-content .form-submit {
    margin-top: var(--space-lg);
    margin-bottom: 0;
}

.main-content .form-submit .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: var(--border-radius-sm);
    background: var(--primary-color);
    color: var(--on-primary);
    border: none;
    box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 1024px) {
    .main-content .rightsidebar {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .main-content .detail-title.article_part_h1 {
        font-size: 1.75rem;
    }

    .main-content .article-wrap {
        padding: var(--space-lg);
    }

    .main-content .comment-respond {
        padding: var(--space-lg);
    }
}

@media (max-width: 640px) {
    .main-content .section-padding {
        padding-top: var(--space-md);
    }

    .main-content .detail-title.article_part_h1 {
        font-size: 1.5rem;
    }

    .main-content .article-wrap {
        padding: var(--space-md);
        margin-bottom: var(--space-lg);
    }

    .main-content .entry-content.article_part_div {
        font-size: 0.9375rem;
    }

    .main-content .comment-respond {
        padding: var(--space-md);
    }

    .main-content .comment-reply-title {
        font-size: 1.25rem;
    }

    .main-content .form-submit .button {
        width: 100%;
    }
}

/* ================================
   ALL ARTICLES PAGE STYLES
   ================================ */

.all-article-page {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xxl);
    background: var(--bg-primary);
}

.all-article-page .blog {
    background: var(--bg-primary);
}

.all-article-page .section-padding {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xxl);
}

.all-article-page .blog-archive-left {
    max-width: 900px;
    margin: 0 auto;
}

/* Page Header */
.all-article-page .page-header {
    text-align: center;
    /* margin-bottom: var(--space-xxl); */
    padding-bottom: var(--space-xl);
    /* border-bottom: 1px solid var(--border-color); */
    border-left: none;
    padding-left: 0;
}

.all-article-page .page-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Articles List */
.all-article-page .articles-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.all-article-page .article-wrap {
    background: var(--card-bg);
    padding: var(--space-xl);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.all-article-page .article-wrap:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.all-article-page .entry-header {
    /* margin-bottom: var(--space-lg); */
}

.all-article-page .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

.all-article-page .entry-date-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.all-article-page .entry-date {
    color: var(--text-muted);
    margin-right: var(--space-md);
}

.all-article-page .entry-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.all-article-page .entry-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.all-article-page .entry-title a:hover {
    color: var(--primary-color);
}

.all-article-page .entry-content {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.all-article-page .expert-content {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .all-article-page .page-title {
        font-size: 2rem;
    }

    .all-article-page .article-wrap {
        padding: var(--space-lg);
    }

    .all-article-page .entry-title {
        font-size: 1.25rem;
    }

    .all-article-page .entry-meta {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .all-article-page .page-title {
        font-size: 1.75rem;
    }

    .all-article-page .article-wrap {
        padding: var(--space-md);
    }

    .all-article-page .entry-title {
        font-size: 1.125rem;
    }

    .all-article-page .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .all-article-page .entry-date {
        margin-right: 0;
    }
}

/* ================================
   TRENDING SECTION - New Design
   ================================ */

.trending-section-new {
    /* padding: var(--space-xl) 0; */
    background: var(--bg-primary);
}

.trending-section-new:nth-child(even) {
    /* background: var(--bg-secondary); */
}

/* Ad div styling */
.ad-div {
    margin: var(--space-xl) 0;
}

/* ================================
   NEW INDEX LAYOUT STYLES
   ================================ */

/* Hero Section - New Split Layout */
.hero-layout-new {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-xl);
    align-items: start;
}

.hero-main-new {
    position: relative;
}

.hero-card-new {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card-new:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.hero-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hero-card-image-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin: 0;
}

.hero-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card-new:hover .hero-card-image-wrap img {
    transform: scale(1.03);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 32, 44, 0.8) 0%, rgba(26, 32, 44, 0.4) 40%, transparent 80%);
}

.hero-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    color: white;
}

.hero-card-meta-top {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.hero-card-cat {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.625rem;
    background: #eece5b;
    border-radius: var(--border-radius-sm);
}

.hero-card-meta-top time {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.hero-card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 var(--space-sm) 0;
    letter-spacing: -0.02em;
    color: white;
}

.hero-card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hero Side Grid */
.hero-side-new {
    display: flex;
    flex-direction: column;
}

.side-grid-new {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.side-card-new {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.side-card-link {
    display: flex;
    gap: var(--space-md);
    /* padding: var(--space-md); */
    text-decoration: none;
    color: inherit;
}

.side-card-image-wrap {
    width: 100px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
}

.side-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.side-card-new:hover .side-card-image-wrap img {
    transform: scale(1.05);
}

.side-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.side-card-cat {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.side-card-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.side-card-date {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: auto;
    font-weight: 400;
}

/* New Section Headers */
.section-header-new {
    /* margin-bottom: var(--space-xl); */
    padding-bottom: var(--space-md);
    /* border-bottom: 1px solid var(--border-color); */
    position: relative;
}

.section-header-row-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header-content {
    flex: 1;
}

.section-eyebrow-new {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.section-heading-new {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.02em;
}

.section-header-link-new {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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

/* Category Pills Section */
.category-pills-section {
    padding: var(--space-xl) 0;
    /* background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.category-pills-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-pills-wrap::-webkit-scrollbar {
    display: none;
}

.category-pills {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: nowrap;
    padding-bottom: var(--space-xs);
}

.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid #eece5b;
    border-radius: var(--border-radius-sm);
    font-size: var(--text-sm);
    font-weight: 400;
    color: #eece5b;
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

/* Featured Masonry Grid */
.featured-section-new {
    padding: var(--space-xxl) 0;
    background: var(--bg-primary);
}

.featured-masonry-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: var(--space-lg);
}

.masonry-card-new {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.masonry-card-new:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.masonry-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.25s ease;
    z-index: 2;
}

.masonry-card-new:hover::before {
    width: 100%;
}

.masonry-card-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.masonry-card-2 {
    grid-column: span 1;
    grid-row: span 1;
}

.masonry-card-3 {
    grid-column: span 1;
    grid-row: span 1;
}

.masonry-card-4 {
    grid-column: span 1;
    grid-row: span 1;
}

.masonry-card-5 {
    grid-column: span 1;
    grid-row: span 1;
}

.masonry-card-6 {
    grid-column: span 2;
    grid-row: span 1;
}

.masonry-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.masonry-card-image-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin: 0;
}

.masonry-card-1 .masonry-card-image-wrap {
    aspect-ratio: 4/3;
}

.masonry-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.masonry-card-new:hover .masonry-card-image-wrap img {
    transform: scale(1.03);
}

.masonry-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 32, 44, 0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-card-new:hover .masonry-image-overlay {
    opacity: 1;
}

.masonry-card-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--card-bg);
}

.masonry-card-meta {
    margin-bottom: var(--space-xs);
}

.masonry-card-cat {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    background: var(--accent-soft);
    border-radius: var(--border-radius-sm);
}

.masonry-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.masonry-card-1 .masonry-card-title {
    font-size: 1.375rem;
}

.masonry-card-excerpt {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 var(--space-xs) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.masonry-card-date {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: auto;
    font-weight: 400;
}

/* Trending List - Horizontal Cards */
.trending-list-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.trending-item-new {
    background: var(--card-bg);
    /* border-radius: var(--border-radius-sm); */
    /* border: 1px solid var(--border-color); */
    /* box-shadow: var(--shadow-sm); */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.trending-item-link {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    /* padding: var(--space-lg); */
    text-decoration: none;
    color: inherit;
}

.trending-item-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.3;
    min-width: 40px;
    text-align: center;
}

.trending-item-content {
    flex: 1;
    min-width: 0;
}

.trending-item-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.trending-item-cat {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.trending-item-meta time {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.trending-item-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.trending-item-excerpt {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    /* -webkit-line-clamp: 1; */
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-item-image-wrap {
    width: 160px;
    height: 100px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
}

.trending-item-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-item-new:hover .trending-item-image-wrap img {
    transform: scale(1.05);
}

/* Magazine Grid */
.latest-section-new {
    padding: var(--space-xxl) 0;
    /* background: var(--bg-secondary); */
}

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

.magazine-card-new {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    /* border: 1px solid var(--border-color); */
    /* box-shadow: var(--shadow-sm); */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.magazine-card-large {
    grid-column: span 2;
    grid-row: span 1;
}

.magazine-card-large .magazine-card-image-wrap {
    aspect-ratio: 21/9;
}

.magazine-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.magazine-card-image-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin: 0;
}

.magazine-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.magazine-card-new:hover .magazine-card-image-wrap img {
    transform: scale(1.03);
}

.magazine-card-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.magazine-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.magazine-card-cat {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    /* padding: 0.2rem 0.5rem;
  background: var(--accent-soft); */
    border-radius: var(--border-radius-sm);
}

.magazine-card-meta time {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.magazine-card-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.magazine-card-large .magazine-card-title {
    font-size: 1.375rem;
}

.magazine-card-excerpt {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 var(--space-xs) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination New */
.pagination-wrapper-new {
    margin-top: var(--space-xxl);
    display: flex;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout-new {
        grid-template-columns: 1fr;
    }

    .hero-side-new {
        order: -1;
    }

    .side-grid-new {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-masonry-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .masonry-card-1 {
        grid-column: span 2;
        grid-row: span 1;
    }

    .masonry-card-6 {
        grid-column: span 2;
    }

    .magazine-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .magazine-card-large {
        grid-column: span 2;
    }
}

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

    .side-grid-new {
        grid-template-columns: 1fr;
    }

    .hero-card-title {
        font-size: 1.5rem;
    }

    .hero-card-excerpt {
        display: none;
    }

    .featured-masonry-new {
        grid-template-columns: 1fr;
    }

    .masonry-card-1,
    .masonry-card-6 {
        grid-column: span 1;
    }

    .masonry-card-image-wrap,
    .masonry-card-1 .masonry-card-image-wrap {
        aspect-ratio: 16/10;
    }

    .masonry-card-title,
    .masonry-card-1 .masonry-card-title {
        font-size: 1rem;
    }

    .trending-item-link {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .trending-item-number {
        font-size: 1.5rem;
        min-width: auto;
    }

    .trending-item-image-wrap {
        width: 100%;
        height: 160px;
        order: -1;
    }

    .magazine-grid-new {
        grid-template-columns: 1fr;
    }

    .magazine-card-large {
        grid-column: span 1;
    }

    .magazine-card-large .magazine-card-image-wrap {
        aspect-ratio: 16/10;
    }

    .section-header-row-new {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
}

/* ================================
   SIDEBAR NEW STYLES
   ================================ */

.sidebar-new {
    position: relative;
}

/* Widget Base - New Minimal Style */
.sidebar-widget-new {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-widget-new:hover {
    box-shadow: var(--shadow-md);
}

/* Widget Header - New Style */
.widget-header-new {
    padding: var(--space-md) var(--space-lg);
    /* background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--card-bg) 100%); */
    border-bottom: 1px solid var(--border-color);
}

.widget-eyebrow-new {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.widget-title-new {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Widget Body */
.widget-body-new {
    padding: var(--space-lg);
}

/* Author Widget - New Card Style */
.sidebar-author-new {
    text-align: center;
}

.sidebar-author-new .widget-body-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar-wrap-new {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-avatar-wrap-new:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

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

.author-desc-new {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

.author-link-new {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    background: var(--bg-secondary);
}

.author-link-new:hover {
    background: var(--primary-color);
    color: var(--on-primary);
    border-color: var(--primary-color);
}

/* Popular Articles - New Numbered List */
.popular-widget-new .widget-body-new {
    padding: 0;
}

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

.popular-item-new {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s ease;
}

.popular-item-new:last-child {
    border-bottom: none;
}

.popular-number-new {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.4;
    min-width: 24px;
    flex-shrink: 0;
}

.popular-item-new:hover .popular-number-new {
    opacity: 0.7;
}

.popular-link-new {
    flex: 1;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.popular-title-new {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.popular-link-new:hover .popular-title-new {
    color: var(--primary-color);
}

/* Categories - New Compact List */
.categories-widget-new .widget-body-new {
    padding: 0;
}

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

.category-item-new {
    border-bottom: 1px solid var(--border-color);
}

.category-item-new:last-child {
    border-bottom: none;
}

.category-link-new {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem var(--space-lg);
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-size: 0.9375rem;
    font-weight: 400;
}

.category-link-new:hover {
    color: var(--primary-color);
    /* background: var(--bg-secondary); */
    padding-left: calc(var(--space-lg) + 4px);
}

.category-dot-new {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-color);
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.category-item-new.active .category-dot-new,
.category-link-new:hover .category-dot-new {
    background: var(--primary-color);
}

.category-name-new {
    flex: 1;
    min-width: 0;
}

.category-icon-new {
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-link-new:hover .category-icon-new {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary-color);
}

.category-item-new.active .category-link-new {
    color: var(--primary-color);
    /* background: var(--accent-soft); */
    font-weight: 500;
}

.category-item-new.active .category-icon-new {
    opacity: 1;
    color: var(--primary-color);
}

/* Tags - New Pill Style */
.tags-widget-new .widget-body-new {
    padding: var(--space-md);
}

.tag-list-new {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tag-pill-new {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.tag-pill-new:hover {
    background: var(--primary-color);
    color: var(--on-primary);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Responsive Sidebar */
@media (max-width: 1024px) {
    .sidebar-new {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .sidebar-widget-new {
        margin-bottom: 0;
    }

    .sidebar-author-new {
        grid-column: span 2;
    }
}

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

    .sidebar-widget-new {
        margin-bottom: var(--space-md);
    }

    .sidebar-author-new {
        grid-column: span 1;
    }

    .popular-item-new {
        padding: var(--space-sm) var(--space-md);
    }

    .category-link-new {
        padding: 0.625rem var(--space-md);
    }
}
