﻿/* ===================================
   IMPROVED BLOG CSS - BP FINANS
   Modern, dynamic blog layout
   =================================== */

/* Variables for consistency */
:root {
    --primary-blue: #00A7E1;
    --primary-dark: #041C2C;
    --accent-yellow: #FFC107;
    --accent-green: #00E676;
    --accent-red: #FF5252;
    --accent-purple: #9C27B0;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.8);
    --text-light-gray: rgba(255, 255, 255, 0.6);
    --background-dark: #0f1419;
    --background-secondary: rgba(4, 28, 44, 0.6);
    --border-blue: rgba(0, 167, 225, 0.3);
    --shadow-blue: rgba(0, 167, 225, 0.2);
}

/* ===================================
   ENHANCED BLOG HERO SECTION
   =================================== */

.blog-hero {
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.8), rgba(0, 167, 225, 0.1));
    min-height: calc(100vh - 80px);
    padding: 4rem 0 2rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-blue);
}

/* Character styling */
.hero-character {
    position: absolute;
    bottom: 0;
    left: 2rem;
    width: 320px;
    height: auto;
    z-index: 4;
    animation: characterFloat 6s ease-in-out infinite;
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 167, 225, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

.hero-description .highlight {
    color: var(--accent-yellow);
    font-weight: 600;
}

.hero-focus {
    max-width: 800px;
    margin: 1.5rem auto 0;
    background: rgba(0, 167, 225, 0.1);
    border: var(--accent-yellow) 3px solid;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
}

.philosophy-text {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
    text-align: center;
}

.intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-yellow), #FF8F00);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.intro-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.4);
    text-decoration: none;
    color: #1a1a1a;
}

/* Enhanced Latest Post Preview Box */
.blog-preview-box {
    position: absolute;
    bottom: 220px;
    left: 220px;
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.95), rgba(4, 28, 44, 0.9));
    border: var(--accent-yellow) 3px solid;
    border-radius: 15px;
    padding: 1.5rem;
    max-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 167, 225, 0.3), 0 0 20px rgba(255, 193, 7, 0.3);
    z-index: 5;
    animation: boxPulse 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes boxPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.blog-preview-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.blog-preview-icon {
    background: var(--accent-yellow);
    color: var(--primary-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.blog-preview-label {
    color: var(--accent-yellow);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-preview-title {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-preview-excerpt {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.blog-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-yellow);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-preview-link:hover {
    color: #FFE082;
    text-decoration: none;
    transform: translateX(3px);
}

/* NEW: Featured Spotlight Section */
.featured-spotlight {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    width: calc(100% - 750px);
    max-width: 550px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(0, 167, 225, 0.1));
    border: 3px solid var(--accent-yellow);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 10px 40px rgba(255, 193, 7, 0.3),
        0 0 60px rgba(0, 167, 225, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: spotlightPulse 3s ease-in-out infinite;
}

@keyframes spotlightPulse {
    0%, 100% {
        box-shadow: 
            0 10px 40px rgba(255, 193, 7, 0.3),
            0 0 60px rgba(0, 167, 225, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 15px 50px rgba(255, 193, 7, 0.4),
            0 0 80px rgba(0, 167, 225, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.featured-spotlight:hover {
    transform: translate(-50%, -50%) scale(1.02);
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.2), rgba(255, 193, 7, 0.1));
}

.spotlight-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 25px;
    width: fit-content;
    border: 1px solid var(--accent-yellow);
}

.spotlight-icon {
    font-size: 1.2rem;
    animation: starSpin 4s linear infinite;
}

@keyframes starSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spotlight-label {
    color: var(--accent-yellow);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spotlight-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light-gray);
    font-size: 0.9rem;
}

.spotlight-category {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.spotlight-divider {
    color: var(--text-light-gray);
}

.spotlight-read-time {
    font-size: 0.85rem;
}

.spotlight-title {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, rgba(0, 167, 225, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spotlight-excerpt {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.spotlight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 167, 225, 0.3);
}

.spotlight-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-blue), rgba(0, 167, 225, 0.8));
    border-radius: 25px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.spotlight-cta:hover {
    background: linear-gradient(135deg, var(--accent-yellow), #FFD54F);
    color: var(--primary-dark);
    border-color: var(--accent-yellow);
    transform: translateX(5px);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.spotlight-cta:hover .cta-arrow {
    transform: translateX(5px);
}

.spotlight-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.stat-icon {
    font-size: 1rem;
}

.stat-value {
    font-weight: 600;
    color: var(--text-white);
}

/* NEW: Hero Recent Posts Carousel */
.hero-recent-posts {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 5;
}

.recent-post-card {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.15), rgba(0, 167, 225, 0.05));
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 1.2rem;
    max-width: 280px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 167, 225, 0.2);
}

.recent-post-card:hover {
    transform: translateX(-5px);
    border-color: var(--accent-yellow);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
}

.recent-post-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 5px rgba(0, 167, 225, 0.3));
}

.recent-post-card h4 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.recent-post-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.recent-post-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.recent-post-card:hover a {
    color: var(--accent-yellow);
    transform: translateX(3px);
}

/* ===================================
   IMPROVED EXPLORE SECTION
   =================================== */


.blog-explore {
    background: radial-gradient(circle at top right, rgba(0, 167, 225, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(4, 28, 44, 0.9), rgba(4, 28, 44, 0.35));
    padding: 4rem 0 3.5rem;
    border-top: 1px solid rgba(0, 167, 225, 0.25);
    border-bottom: 1px solid rgba(0, 167, 225, 0.25);
    scroll-margin-top: 96px;
    position: relative;
    overflow: hidden;
}

.blog-explore::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 15% -10%, rgba(0, 167, 225, 0.18), transparent 50%);
}

.explore-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    background: rgba(9, 31, 46, 0.78);
    border: 1px solid rgba(0, 167, 225, 0.25);
    border-radius: 26px;
    padding: 2.4rem 2.7rem;
    box-shadow: 0 45px 90px -60px rgba(0, 167, 225, 0.85);
    position: relative;
    overflow: hidden;
}

.explore-header::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.14), transparent 45%);
}

.explore-heading {
    max-width: 620px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.explore-heading .eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.explore-heading h2 {
    color: var(--text-white);
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    font-weight: 600;
    margin: 0;
}

.explore-heading p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 167, 225, 0.35);
    background: rgba(0, 167, 225, 0.12);
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
}

.filter-toggle:hover,
.filter-toggle:focus {
    background: rgba(0, 167, 225, 0.18);
    border-color: rgba(0, 167, 225, 0.5);
    outline: none;
    transform: translateY(-1px);
}

.filter-toggle.active {
    background: var(--primary-blue);
    color: var(--primary-dark);
    border-color: rgba(0, 167, 225, 0.85);
    box-shadow: 0 18px 30px -22px rgba(0, 167, 225, 0.9);
}

.filter-toggle.has-active-filter {
    border-color: rgba(255, 193, 7, 0.65);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.22);
}

.filter-toggle.has-active-filter::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 16px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-yellow);
    box-shadow: 0 0 0 2px rgba(4, 28, 44, 0.7);
}

.filter-toggle-icon {
    font-size: 1.1rem;
}

.explore-controls {
    margin-top: 1.75rem;
    padding: 2.1rem;
    background: rgba(4, 20, 32, 0.9);
    border: 1px solid rgba(0, 167, 225, 0.25);
    border-radius: 22px;
    box-shadow: 0 40px 110px -80px rgba(0, 167, 225, 0.9);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.explore-controls[hidden] {
    display: none !important;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background: rgba(9, 31, 46, 0.65);
    border: 1px solid rgba(0, 167, 225, 0.2);
    border-radius: 18px;
    padding: 1.75rem;
    position: relative;
}

.control-group::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: inherit;
    border: 1px solid rgba(0, 167, 225, 0.15);
    opacity: 0.6;
    pointer-events: none;
}

.control-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.search-results-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light-gray);
}

.sort-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.explore-tags {
    margin-top: 2.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.tags-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tags-list .tag-chip {
    background: rgba(0, 167, 225, 0.1);
    border: 1px solid rgba(0, 167, 225, 0.3);
    color: var(--text-white);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    background-clip: padding-box;
}

.tags-list .tag-chip:hover,
.tags-list .tag-chip:focus {
    background: rgba(0, 167, 225, 0.2);
    border-color: rgba(0, 167, 225, 0.55);
    outline: none;
    transform: translateY(-1px);
}

.tags-list .tag-chip.active {
    background: var(--primary-blue);
    color: var(--primary-dark);
    border-color: rgba(0, 167, 225, 0.9);
    box-shadow: 0 10px 20px -12px rgba(0, 167, 225, 0.9);
}

.tags-list .tag-chip-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tags-list .tag-chip-count {
    background: rgba(4, 28, 44, 0.25);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

.tags-list .tag-chip.active .tag-chip-count {
    background: rgba(4, 28, 44, 0.08);
    color: var(--primary-dark);
}

.tag-chip--empty {
    border-style: dashed;
    justify-content: center;
    cursor: default;
    opacity: 0.7;
}

.feed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: clamp(1.8rem, 4vw, 3rem);
    align-items: start;
}

.feed-main {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

.feed-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: rgba(7, 24, 37, 0.92);
    border: 1px solid rgba(0, 167, 225, 0.2);
    border-radius: 18px;
    padding: 1.65rem 1.75rem;
    box-shadow: 0 30px 70px -55px rgba(0, 167, 225, 0.95);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-card h4 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-white);
    font-weight: 600;
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sidebar-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-gray);
    background: rgba(4, 28, 44, 0.6);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 167, 225, 0.08);
    transition: all 0.25s ease;
}

.sidebar-list li strong {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 600;
}

.sidebar-list li span {
    font-size: 0.84rem;
    color: var(--text-light-gray);
}

.sidebar-list li:hover {
    border-color: rgba(0, 167, 225, 0.28);
    background: rgba(0, 167, 225, 0.12);
}

.main-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 3vw, 2.75rem);
    align-items: stretch;
}

.featured-article {
    position: relative;
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.9), rgba(0, 167, 225, 0.12));
    border: 1px solid rgba(0, 167, 225, 0.45);
    border-radius: 22px;
    padding: 2.35rem;
    box-shadow: 0 35px 80px -60px rgba(0, 167, 225, 0.95);
    overflow: hidden;
}

.featured-article::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(255, 193, 7, 0.18), transparent 55%);
    opacity: 0.4;
    pointer-events: none;
}

.featured-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.featured-content .article-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin: 0;
    color: var(--text-white);
}

.featured-content .article-excerpt {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}

.featured-content .article-stats {
    justify-content: flex-start;
    gap: 1.5rem;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sidebar-article {
    background: rgba(4, 23, 35, 0.9);
    border: 1px solid rgba(0, 167, 225, 0.22);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 25px 55px -45px rgba(0, 167, 225, 0.9);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.sidebar-article:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 167, 225, 0.4);
}

.articles-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.article-item {
    position: relative;
    background: rgba(6, 22, 34, 0.9);
    border: 1px solid rgba(0, 167, 225, 0.2);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 22px 60px -45px rgba(0, 167, 225, 0.75);
}

.article-item:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 167, 225, 0.38);
}

.article-image {
    position: relative;
    background: rgba(0, 167, 225, 0.08);
    border-bottom: 1px solid rgba(0, 167, 225, 0.12);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-placeholder {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.35);
}

.article-item-read-time {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 167, 225, 0.85);
    color: var(--primary-dark);
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem 1.65rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.article-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.article-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-white);
}

.article-item-excerpt {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.98rem;
    line-height: 1.65;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.article-read-more:hover {
    color: var(--accent-yellow);
    transform: translateX(4px);
}

.article-stats-small {
    gap: 0.75rem;
    color: var(--text-light-gray);
    font-size: 0.88rem;
}

.article-stats-small {
    gap: 0.75rem;
    color: var(--text-light-gray);
    font-size: 0.88rem;
}

/* Ultrawide screens - larger spotlight box */
@media (min-width: 2560px) {
    .featured-spotlight {
        width: calc(100% - 900px);
        max-width: 700px;
        padding: 2rem;
    }

    .spotlight-title {
        font-size: 1.8rem !important;
    }

    .spotlight-excerpt {
        font-size: 1.1rem;
    }

    .spotlight-meta {
        font-size: 1rem;
    }
}

/* Large screens (1920px - 2560px) - slightly larger */
@media (min-width: 1920px) and (max-width: 2559px) {
    .featured-spotlight {
        width: calc(100% - 850px);
        max-width: 650px;
        padding: 1.8rem;
    }

    .spotlight-title {
        font-size: 1.7rem !important;
    }

    .spotlight-excerpt {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    .featured-spotlight {
        width: calc(100% - 600px);
        max-width: 450px;
    }

    .spotlight-title {
        font-size: 1.3rem;
    }

    .explore-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-content-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .featured-sidebar {
        flex-direction: row;
        gap: 1rem;
    }

    .sidebar-article {
        flex: 1;
    }

    .articles-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .featured-spotlight {
        position: static;
        transform: none;
        width: calc(100% - 4rem);
        max-width: 100%;
        margin: 2rem auto;
    }

    .hero-recent-posts {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }

    .recent-post-card {
        max-width: 250px;
    }

    .explore-header {
        padding: 2.1rem;
    }

    .explore-controls {
        grid-template-columns: 1fr;
    }

    .feed-layout {
        grid-template-columns: 1fr;
    }

    .feed-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .feed-sidebar .sidebar-card {
        flex: 1 1 220px;
    }
}

@media (max-width: 768px) {
    .featured-spotlight {
        padding: 1.5rem;
    }

    .spotlight-title {
        font-size: 1.3rem;
    }

    .spotlight-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .spotlight-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-recent-posts {
        flex-direction: column;
        align-items: center;
    }

    .recent-post-card {
        max-width: 100%;
    }

    .explore-heading h2 {
        font-size: 1.9rem;
    }

    .control-group {
        padding: 1.5rem;
    }

    .feed-sidebar {
        flex-direction: column;
    }

    .featured-article {
        padding: 1.85rem;
    }

    .featured-content .article-title {
        font-size: 1.6rem;
    }

    .articles-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 576px) {
    .explore-header {
        padding: 1.75rem;
        gap: 1.4rem;
    }

    .control-group {
        padding: 1.25rem;
    }

    .filter-toggle {
        width: 100%;
        justify-content: center;
    }

    .tags-list {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .feed-sidebar .sidebar-card {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: auto;
        padding: 2rem 0 1.5rem;
    }
    
    .blog-content {
        padding: 3rem 0;
    }
    
    .blog-container {
        padding: 0 1.5rem;
    }
    
    .hero-focus {
        padding: 1.25rem;
        margin: 1rem auto 0;
    }
    
    .featured-article {
        padding: 1.5rem;
    }
    
    .sidebar-article {
        padding: 1.25rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .newsletter-section {
        padding: 2rem;
        margin: 3rem 0;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 400px;
    }
    
    .newsletter-input {
        width: 100%;
    }
    
    .hero-character {
        width: 240px;
        left: 2rem;
    }
    
    .blog-preview-box {
        left: 160px;
        bottom: 140px;
        max-width: 200px;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-focus {
        padding: 1rem;
    }
    
    .philosophy-text {
        font-size: 0.9rem;
    }
    
    .featured-article {
        padding: 1.25rem;
    }
    
    .featured-content .article-title {
        font-size: 1.4rem;
    }
    
    .sidebar-article {
        padding: 1rem;
    }
    
    .article-content {
        padding: 0.875rem;
    }
    
    .article-item-title {
        font-size: 1rem;
    }
    
    .filter-btn-enhanced {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .newsletter-section {
        padding: 1.5rem;
    }
    
    .hero-character {
        width: 200px;
        left: 1.5rem;
    }
    
    .blog-preview-box {
        left: 130px;
        bottom: 100px;
        max-width: 180px;
        padding: 0.8rem;
    }
}

/* Precise layout adjustments for 1920x1024 screens */
@media screen and (min-width: 1900px) and (max-width: 1940px) {
    .blog-hero {
        min-height: 118vh !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    .hero-content {
        padding-top: 5rem !important;
    }

    .featured-spotlight {
        top: 65% !important;
    }

    .hero-recent-posts {
        top: 50% !important;
    }

    .blog-preview-box {
        bottom: 225px !important;
    }

    .hero-character {
        bottom: 0px !important;
    }

    .hero-character {
        bottom: 0 !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus states for accessibility */
.search-input:focus,
.newsletter-input:focus {
    box-shadow: 0 0 0 2px rgba(0, 167, 225, 0.2);
}

.search-btn:focus,
.newsletter-btn:focus,
.load-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 167, 225, 0.4);
}

html {
    scroll-behavior: smooth;
}
