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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: transparent;
    /* Mobile viewport height variable */
    --vh: 1vh;
}

body {
    background: 
        /* Pure black space gradient */
        radial-gradient(ellipse at top, #000000 0%, #050505 30%, #000000 60%, #000 100%),
        linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #000000 50%, #050505 100%);
    
    color: #fff;
    font-family: "Roboto Condensed", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 200;
    letter-spacing: 1px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Large nebula formations */
        radial-gradient(ellipse 800px 400px at 20% 30%, rgba(0,0,0,0.30) 0%, rgba(5,5,5,0.20) 40%, transparent 70%),
        radial-gradient(ellipse 600px 800px at 80% 70%, rgba(255,20,147,0.12) 0%, rgba(199,21,133,0.06) 50%, transparent 80%),
        radial-gradient(ellipse 1000px 300px at 50% 10%, rgba(0,0,0,0.35) 0%, rgba(3,3,3,0.25) 60%, transparent 90%),
        radial-gradient(ellipse 400px 600px at 10% 80%, rgba(255,69,0,0.08) 0%, rgba(255,140,0,0.04) 50%, transparent 70%),
        radial-gradient(ellipse 700px 500px at 90% 20%, rgba(50,205,50,0.06) 0%, rgba(0,255,127,0.03) 40%, transparent 60%),
        
        /* Distant galaxy clusters */
        radial-gradient(circle 200px at 15% 60%, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.15) 50%, transparent 80%),
        radial-gradient(circle 150px at 85% 40%, rgba(255,192,203,0.03) 0%, rgba(255,20,147,0.015) 50%, transparent 70%),
        radial-gradient(circle 300px at 40% 85%, rgba(0,0,0,0.20) 0%, rgba(8,8,8,0.12) 60%, transparent 90%),
        radial-gradient(circle 180px at 70% 15%, rgba(255,215,0,0.03) 0%, rgba(255,140,0,0.015) 40%, transparent 70%),
        
        /* Cosmic dust clouds */
        radial-gradient(ellipse 1200px 200px at 30% 50%, rgba(0,0,0,0.25) 0%, rgba(5,5,5,0.18) 50%, transparent 80%),
        radial-gradient(ellipse 800px 600px at 70% 30%, rgba(0,0,0,0.20) 0%, rgba(8,8,8,0.15) 60%, transparent 90%),
        radial-gradient(ellipse 400px 1000px at 5% 70%, rgba(0,100,0,0.05) 0%, rgba(34,139,34,0.025) 50%, transparent 75%),
        
        /* Dense star field with colors */
        radial-gradient(4px 4px at 2% 8%, #fff, rgba(0,0,0,0.8) 50%, transparent),
        radial-gradient(3px 3px at 7% 12%, rgba(255,192,203,0.9), rgba(255,192,203,0.2) 50%, transparent),
        radial-gradient(3px 3px at 12% 6%, #fff, rgba(255,255,255,0.3) 50%, transparent),
        radial-gradient(5px 5px at 17% 15%, rgba(255,215,0,0.9), rgba(255,215,0,0.3) 50%, transparent),
        radial-gradient(3px 3px at 22% 4%, #fff, rgba(0,0,0,0.8) 50%, transparent),
        radial-gradient(3px 3px at 27% 18%, rgba(255,140,255,0.7), rgba(255,140,255,0.2) 50%, transparent),
        radial-gradient(4px 4px at 32% 9%, #fff, rgba(255,255,255,0.3) 50%, transparent),
        radial-gradient(3px 3px at 37% 14%, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 50%, transparent),
        radial-gradient(3px 3px at 42% 7%, #fff, rgba(255,192,203,0.3) 50%, transparent),
        radial-gradient(3px 3px at 47% 16%, rgba(255,215,0,0.6), rgba(255,215,0,0.2) 50%, transparent),
        radial-gradient(5px 5px at 52% 11%, #fff, rgba(255,255,255,0.4) 50%, transparent),
        radial-gradient(3px 3px at 57% 5%, rgba(255,140,255,0.9), rgba(255,140,255,0.3) 50%, transparent),
        radial-gradient(3px 3px at 62% 13%, #fff, rgba(0,0,0,0.8) 50%, transparent),
        radial-gradient(4px 4px at 67% 8%, rgba(255,192,203,0.7), rgba(255,192,203,0.2) 50%, transparent),
        radial-gradient(3px 3px at 72% 17%, #fff, rgba(255,215,0,0.3) 50%, transparent),
        radial-gradient(3px 3px at 77% 10%, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 50%, transparent),
        radial-gradient(5px 5px at 82% 14%, #fff, rgba(255,255,255,0.4) 50%, transparent),
        radial-gradient(3px 3px at 87% 6%, rgba(255,140,255,0.6), rgba(255,140,255,0.2) 50%, transparent),
        radial-gradient(3px 3px at 92% 12%, #fff, rgba(255,192,203,0.3) 50%, transparent),
        radial-gradient(3px 3px at 97% 9%, rgba(255,215,0,0.8), rgba(255,215,0,0.2) 50%, transparent),
        
        /* More stars with cosmic colors */
        radial-gradient(3px 3px at 4% 28%, rgba(255,140,255,0.7), rgba(255,140,255,0.2) 50%, transparent),
        radial-gradient(4px 4px at 9% 32%, #fff, rgba(0,0,0,0.8) 50%, transparent),
        radial-gradient(3px 3px at 14% 25%, rgba(255,192,203,0.8), rgba(255,192,203,0.2) 50%, transparent),
        radial-gradient(3px 3px at 19% 35%, #fff, rgba(255,215,0,0.3) 50%, transparent),
        radial-gradient(5px 5px at 24% 29%, rgba(0,0,0,0.9), rgba(0,0,0,0.5) 50%, transparent),
        radial-gradient(3px 3px at 29% 33%, #fff, rgba(255,140,255,0.3) 50%, transparent),
        radial-gradient(3px 3px at 34% 26%, rgba(255,215,0,0.9), rgba(255,215,0,0.2) 50%, transparent),
        radial-gradient(4px 4px at 39% 31%, #fff, rgba(255,192,203,0.3) 50%, transparent),
        radial-gradient(3px 3px at 44% 27%, rgba(255,140,255,0.7), rgba(255,140,255,0.2) 50%, transparent),
        radial-gradient(3px 3px at 49% 34%, #fff, rgba(0,0,0,0.8) 50%, transparent),
        
        /* Shooting star trails */
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.8) 45%, rgba(0,0,0,0.9) 50%, rgba(255,255,255,0.4) 55%, transparent 60%),
        linear-gradient(135deg, transparent 65%, rgba(255,215,0,0.7) 70%, rgba(255,140,0,0.5) 75%, rgba(255,215,0,0.3) 80%, transparent 85%),
        
        /* Pulsar effects */
        radial-gradient(circle 1px at 25% 60%, rgba(255,255,255,1) 0%, rgba(0,0,0,0.9) 30%, rgba(255,255,255,0.4) 60%, transparent 100%),
        radial-gradient(circle 1px at 75% 25%, rgba(255,215,0,1) 0%, rgba(255,140,0,0.8) 30%, rgba(255,215,0,0.4) 60%, transparent 100%),
        radial-gradient(circle 1px at 60% 80%, rgba(255,140,255,1) 0%, rgba(138,43,226,0.8) 30%, rgba(255,140,255,0.4) 60%, transparent 100%);
    
    z-index: -1;
    filter: blur(2px);
    animation: cosmicFlow 30s ease-in-out infinite;
    pointer-events: none;
    will-change: opacity;
    transform: translateZ(0); /* Force GPU acceleration and isolate to own layer */
}

@keyframes cosmicFlow {
    0%, 100% { 
        opacity: 0.8;
    }
    50% { 
        opacity: 0.95;
    }
}

/* Header Styles */
.blog-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 165, 0, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-bottom-color 0.3s ease;
}

.blog-header:has(.mobile-menu-overlay.active) {
    backdrop-filter: none !important;
}

.blog-header.scrolled {
    background: transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    border-bottom-color: rgba(255, 165, 0, 0.5);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    gap: 20px;
    flex-wrap: nowrap;
}

/* Logo Section */
.header-logo {
    flex: 1.2;
    display: flex;
    justify-content: flex-start;
}

.header-logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    transition: all 0.3s ease;
}

.logo-image {
    width: 45px !important;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(255, 165, 0, 0.3));
    transition: all 0.3s ease;
}

.logo-text {
    font-family: 'Diplomata SC', serif;
    font-size: 1.5rem !important;
    color: #ffa500;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.header-logo .logo-link:hover .logo-image {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 165, 0, 0.6));
}

.header-logo .logo-link:hover .logo-text {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 165, 0, 0.8);
}

/* Navigation */
.header-nav {
    display: flex;
    gap: clamp(10px, 2vw, 25px);
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 10px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffa500, #ff8c00);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffa500;
    text-shadow: 0 0 8px rgba(255, 165, 0, 0.4);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Social Icons */
.header-social {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 26px);
    gap: 10px 12px;
    align-items: center;
    justify-content: flex-end;
}

.social-icon {
    display: block;
    width: 26px;
    height: 26px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.2);
}

.social-icon:hover img {
    filter: drop-shadow(0 0 6px rgba(255, 165, 0, 0.6));
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    padding-top: 100px; 
    margin-bottom: 0;
}

/* Expanded content state - adds exact spacing before footer */
.main-content.content-expanded {
    padding-bottom: 50px; /* Exactly 50px space before footer */
    margin-bottom: 0;
}

/* Remove the additional margin when expanded */
.main-content.content-expanded + .footer {
    margin-top: 0;
}

/* Enhanced styling for expanded featured content */
.main-content.content-expanded .featured-article {
    margin-bottom: 0; /* Remove article margin since we're using padding on main-content */
}

.main-content.content-expanded .featured-excerpt {
    margin-bottom: 25px;
    max-width: none;
    line-height: 1.7;
}

.featured-full-content iframe,
.featured-full-content video,
.featured-full-content .wp-block-embed,
.featured-full-content .wp-block-video video {
    max-width: 100%;
}

.featured-full-content iframe,
.featured-full-content video {
    width: 100%;
    height: auto;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .blog-header {
        min-height: 80px;
    }

    .header-content {
        padding: 15px 20px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        min-height: 80px;
    }

    .header-logo {
        flex-shrink: 0;
    }

    .logo-image {
        width: 35px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .header-nav {
        display: none !important;
    }

    .header-nav.active {
        display: none !important;
    }

    .hamburger {
        flex-shrink: 0;
        padding: 8px;
        margin-left: auto;
    }

    .hamburger span {
        width: 28px;
        height: 3px;
        margin: 6px 0;
    }

    .header-social {
        display: none;
    }

    .main-content {
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    .blog-label {
        font-size: 3.5rem;
        letter-spacing: 3px;
        margin: 0 0 15px 0;
    }
    
    .blog-header {
        min-height: 70px;
    }
    
    .header-content {
        padding: 12px 15px;
        min-height: 70px;
    }

    .header-logo {
        flex: 1;
    }

    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }

    .logo-image {
        width: 35px;
        height: 35px;
    }

    .hamburger {
        padding: 6px;
        margin-left: 10px;
    }

    .hamburger span {
        width: 25px;
        height: 2px;
        margin: 5px 0;
    }

    .social-icon {
        width: 22px;
        height: 22px;
    }

    .nav-link {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .main-content {
        padding-top: 85px;
    }
    
    .blog-wrapper {
        padding: 0 10px;
    }
    
    .blog-label {
        font-size: clamp(2.8rem, 10vw, 3.5rem);
        margin: 0 0 20px 0;
    }
    
    .latest-news-section {
        padding: 25px 0 15px 0;
    }
    
    .featured-image {
        height: clamp(180px, 35vw, 240px);
    }
    
    .featured-title {
        font-size: clamp(1.2rem, 5vw, 1.4rem);
        line-height: 1.3;
    }
    
    .featured-excerpt {
        font-size: 0.8rem;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .news-sidebar-container {
        max-height: 300px;
    }
    
    .news-sidebar {
        padding: 10px 0;
        gap: 8px;
    }
    
    .news-item {
        padding: 12px;
        min-height: 85px;
        gap: 10px;
        margin: 0 2px;
    }
    
    .news-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .news-item-title {
        font-size: 0.8rem;
    }
    
    .news-text p {
        font-size: 0.7rem;
    }
    
    .news-date {
        font-size: 0.65rem;
    }
}

/* Blog Wrapper Styles */
.blog-wrapper {
    display: flex;
    align-items: flex-start;
    min-height: 100vh;
    gap: clamp(20px, 3vw, 40px);
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(15px, 2vw, 30px);
}

.blog-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: clamp(20px, 3vw, 40px);
}

.blog-label {
    color: #fff;
    font-size: clamp(3rem, 5.5vw, 7rem);
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: clamp(2px, 0.5vw, 6px);
    font-family: 'Diplomata SC', serif;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    flex-shrink: 0;
    opacity: 0.8;
    margin-left: clamp(10px, 3vw, 100px);
    margin-top: clamp(40px, 6vh, 80px);
    text-shadow: 2px 2px 4px rgba(255, 191, 0, 0.6);
}

/* Latest News Section */
.latest-news-section {
    background: transparent;
    padding: clamp(25px, 4vh, 40px) 0 0 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* When content is expanded, just ensure proper spacing */
.main-content.content-expanded .latest-news-section {
    padding-bottom: 0;
    margin-bottom: 0;
}

.news-container {
    max-width: 1400px;
    margin: 0;
    padding: 0 clamp(20px, 3vw, 40px) 0 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-header {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 2vh, 20px);
    margin-bottom: clamp(25px, 3vh, 40px);
    margin-top: clamp(10px, 1.5vh, 15px);
    flex-shrink: 0;
    width: 100%;
}

.news-title {
    font-family: "Diplomata SC", serif;
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    margin: 0;
    max-width: 1400px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-intro {
    flex: 1;
    margin-top: 0;
}

.news-intro p {
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    line-height: 1.5;
    color: #e0e0e0;
    margin: 0;
}

.news-content {
    display: grid;
    grid-template-columns: 1fr clamp(350px, 35vw, 480px);
    gap: clamp(20px, 2.5vw, 25px);
    align-items: start;
    flex: 1;
    overflow: visible;
}

.featured-article {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.5);
    padding: clamp(15px, 2vw, 20px);
    border-left: 3px solid #FF8C00;
    will-change: contents;
}

.featured-image {
    width: 100%;
    height: clamp(250px, 30vh, 310px);
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.featured-content {
    margin-top: clamp(12px, 1.5vh, 15px);
    flex: 1;
}

.featured-date {
    font-size: clamp(0.7rem, 0.8vw, 0.8rem);
    color: #FF8C00;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    margin: 0 0 clamp(8px, 1vh, 10px) 0;
    opacity: 0.9;
}

.featured-title {
    font-size: clamp(1.6rem, 2vw, 2.1rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 clamp(12px, 1.5vh, 15px) 0;
    letter-spacing: 0.5px;
    max-width: 1400px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.featured-excerpt {
    font-size: clamp(0.85rem, 0.9vw, 0.9rem);
    line-height: 1.5;
    color: #d0d0d0;
    margin: 0 0 clamp(8px, 1vh, 10px) 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.read-more-link {
    color: #FF8C00;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.15s ease;
    cursor: pointer;
    user-select: none;
}

.read-more-link:hover {
    color: #FFA500;
}

.featured-excerpt,
.featured-full-content {
    transition: opacity 0.2s ease;
}

.news-sidebar-container {
    display: flex;
    flex-direction: column;
    height: clamp(500px, 60vh, 620px);
    position: relative;
    align-self: start;
    margin-top: 0;
}

/* Hide mobile scroll arrows on desktop */
.mobile-scroll-arrow {
    display: none;
}

/* Hide scroll hint on desktop */
.scroll-hint {
    display: none;
}

/* Ensure sidebar scroll arrows are visible on desktop */
@media (min-width: 769px) {
    .sidebar-scroll-arrow {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .mobile-scroll-arrow {
        display: none !important;
    }
}

.sidebar-scroll-arrow {
    background: transparent;
    border: none;
    padding: 6px 6px 12px 6px;
    cursor: pointer;
    transition: all 0.1s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        height: clamp(20px, 2.5vh, 25px);
    width: 100%;
    flex-shrink: 0;
}

.sidebar-scroll-arrow:hover {
    background: transparent;
    transform: scale(1.2);
}

.sidebar-scroll-arrow:active {
    transform: scale(0.9);
}

.sidebar-scroll-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: clamp(20px, 2.5vw, 26px) solid transparent;
    border-right: clamp(20px, 2.5vw, 26px) solid transparent;
    border-bottom: clamp(16px, 2vh, 20px) solid #FF8C00;
    transition: all 0.1s ease;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: clamp(20px, 2.5vw, 26px) solid transparent;
    border-right: clamp(20px, 2.5vw, 26px) solid transparent;
    border-top: clamp(16px, 2vh, 20px) solid #FF8C00;
    transition: all 0.1s ease;
}

.sidebar-scroll-arrow:hover .arrow-up,
.sidebar-scroll-arrow:hover .arrow-down {
    border-bottom-color: #FFA500;
    border-top-color: #FFA500;
}

.sidebar-scroll-arrow.scroll-down {
    margin-top: 15px;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar completely */
.news-sidebar::-webkit-scrollbar {
    display: none;
}

.news-sidebar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.news-item {
    display: flex;
    gap: clamp(12px, 1.5vw, 15px);
    align-items: center;
    padding: clamp(12px, 1.5vw, 15px);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0;
    border-left: 3px solid #FF8C00;
    transition: background 0.15s ease, border-left-color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
    min-height: clamp(110px, 13vh, 130px);
    max-height: clamp(110px, 13vh, 130px);
    will-change: transform;
    transform: translateZ(0); /* Force GPU acceleration */
}

.news-item:hover {
    background: rgba(0, 0, 0, 0.6);
    border-left-color: #FFA500;
    border-left-width: 3px; /* Keep consistent width */
    transform: translateX(2px) translateZ(0);
}

.news-item.active {
    background: rgba(0, 0, 0, 0.7);
    border-left: 3px solid #FFA500;
    transform: translateX(5px) translateZ(0);
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.2);
}

.news-item.active .news-text p {
    color: #fff;
}

.news-item.active .news-date {
    color: #FFA500;
    opacity: 1;
}

.news-item:hover .news-date {
    opacity: 1;
}

.news-thumbnail {
    width: clamp(50px, 6vw, 60px);
    height: clamp(50px, 6vw, 60px);
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
}

.news-date {
    font-size: clamp(0.65rem, 0.7vw, 0.7rem);
    color: #FF8C00;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 300;
    margin: 0 0 4px 0;
    opacity: 0.8;
}

.news-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
}

.news-item-title {
    font-size: clamp(0.85rem, 0.9vw, 0.95rem);
    font-weight: 600;
    color: #FF8C00;
    margin: 0 0 6px 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: block;
    flex-shrink: 0;
}

.news-item:hover .news-item-title {
    color: #FF8C00;
}

.news-item.active .news-item-title {
    color: #FFA500;
}

.news-text p {
    font-size: clamp(0.75rem, 0.85vw, 0.85rem);
    line-height: 1.4;
    color: #e0e0e0;
    margin: 0 0 6px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Design for Latest News */
/* Large laptop/small desktop screens (1024px - 1400px) */
@media (max-width: 1400px) {
    .news-content {
        grid-template-columns: 1fr clamp(320px, 32vw, 400px);
        gap: clamp(20px, 2.5vw, 30px);
    }
    
    .blog-label {
        margin-left: clamp(10px, 2vw, 40px);
    }
}

/* Standard laptop screens (768px - 1024px) */
@media (max-width: 1024px) {
    .blog-wrapper {
        padding: 0 clamp(15px, 2vw, 20px);
    }
    
    .blog-label {
        font-size: clamp(2.5rem, 4.5vw, 4rem);
        margin-left: clamp(5px, 1.5vw, 20px);
        margin-top: clamp(60px, 8vh, 80px);
    }
    
    .news-content {
        grid-template-columns: 1fr 300px;
        gap: 20px;
    }
    
    .news-title {
        font-size: clamp(0.9rem, 1.2vw, 1.3rem);
        width: auto;
        min-width: clamp(200px, 25vw, 400px);
        max-width: 1400px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .featured-image {
        height: clamp(220px, 28vh, 280px);
    }
    
    .featured-title {
        font-size: clamp(1.4rem, 1.8vw, 1.8rem);
        max-width: 1400px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .news-sidebar-container {
        height: clamp(450px, 55vh, 550px);
    }
    
    .news-item {
        min-height: clamp(100px, 12vh, 120px);
        max-height: clamp(100px, 12vh, 120px);
    }
}

/* Small Laptop Blog Adjustments - 1024px to 1366px */
@media (max-width: 1366px) and (min-width: 1025px) {
    .latest-news-section {
        padding-bottom: 50px;
    }
    
    .news-content {
        grid-template-columns: 1fr 320px;
        gap: 18px;
    }
    
    .featured-article {
        max-width: 650px;
        padding: 15px;
    }
    
    .featured-image {
        height: 240px;
    }
    
    .featured-title {
        font-size: 1.6rem;
    }
    
    .featured-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .news-sidebar-container {
        height: 480px;
    }
    
    .news-item {
        min-height: 95px;
        max-height: 95px;
    }
    
    .news-item-image {
        width: 100px;
        height: 95px;
    }
    
    .news-item-content {
        padding: 8px 10px;
    }
    
    .news-item-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .news-item-date {
        font-size: 0.7rem;
    }
}

@media (max-width: 1200px) {
    .news-content {
        grid-template-columns: 1fr 350px;
        gap: 30px;
    }
    
    .news-title {
        font-size: 1.8rem;
        width: auto;
        min-width: 300px;
        max-width: 1400px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .featured-image {
        height: 310px;
    }
}

@media (max-width: 768px) {
    .blog-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .blog-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .blog-label {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: clamp(3.5rem, 8vw, 4.5rem);
        margin: 0 auto 2px auto;
        text-align: center;
        letter-spacing: clamp(2px, 1vw, 4px);
        line-height: 0.9;
        color: #fff;
        display: block;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    
    .latest-news-section {
        padding: 30px 0 20px 0;
        min-height: calc(100vh - 120px);
        /* Use custom property for better mobile support */
        min-height: calc(var(--vh, 1vh) * 100 - 120px);
    }
    
    .news-container {
        padding: 0;
        margin: 0;
    }
    
    .news-header {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 8px;
    }
    
    .news-title {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
        min-width: auto;
        text-align: center;
        line-height: 0.9;
        letter-spacing: 1.5px;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .news-intro {
        margin-top: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .news-intro p {
        font-size: 0.9rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .news-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    .featured-article {
        max-height: none;
        order: 1;
    }
    
    .featured-image {
        height: clamp(200px, 40vw, 280px);
    }
    
    .featured-content {
        margin-top: 15px;
    }
    
    .featured-title {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        margin-bottom: 12px;
        line-height: 1.2;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .featured-date {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .featured-excerpt {
        font-size: 0.85rem;
        line-height: 1.5;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        margin-bottom: 15px;
    }
    
    .read-more-link {
        font-size: 0.95rem;
        padding: 8px 0;
        display: inline-block;
        margin-top: 10px;
        font-weight: 500;
        letter-spacing: 0.8px;
    }
    
    .news-sidebar-container {
        order: 2;
        height: auto;
        max-height: 400px;
        position: relative;
    }
    
    /* Mobile scroll arrows */
    .mobile-scroll-arrow {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        background: transparent;
        border: none;
        margin: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
        touch-action: manipulation;
        position: relative;
    }
    
    .mobile-scroll-arrow::before {
        content: '';
        position: absolute;
        left: -100vw;
        width: calc(100vw + 50% + 10px);
        height: 2px;
        background: rgba(255, 165, 0, 0.3);
        z-index: -1;
    }
    
    .mobile-scroll-arrow.up::before {
        bottom: 8px;
    }
    
    .mobile-scroll-arrow.down::before {
        top: 8px;
    }
    
    .mobile-scroll-arrow:hover,
    .mobile-scroll-arrow:active {
        background: transparent;
        transform: scale(1.1);
    }
    
    .mobile-scroll-arrow:hover::before {
        background: rgba(255, 165, 0, 0.6);
    }
    
    .mobile-scroll-arrow .arrow {
        width: 0;
        height: 0;
        transition: all 0.2s ease;
    }
    
    .mobile-scroll-arrow.up .arrow {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 12px solid #ffa500;
    }
    
    .mobile-scroll-arrow.down .arrow {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 12px solid #ffa500;
    }
    
    .mobile-scroll-arrow:hover .arrow {
        border-bottom-color: #fff;
        border-top-color: #fff;
    }
    
    .sidebar-scroll-arrow {
        height: 0 !important;
        padding: 0 !important;
        background: transparent;
        border: none;
        display: none !important; /* Hide scroll arrows in media query */
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Show mobile scroll arrows only on mobile */
    .mobile-scroll-arrow {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .arrow-up {
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 12px solid #FF8C00;
    }
    
    .arrow-down {
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 12px solid #FF8C00;
    }
    
    .news-sidebar {
        padding: 15px 0;
        gap: 12px;
        max-height: 300px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar completely */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .news-sidebar::-webkit-scrollbar {
        display: none;
    }
    
    .news-item {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        padding: 15px;
        min-height: 100px;
        max-height: none;
        flex-shrink: 0;
        margin: 0 5px;
        touch-action: manipulation;
        cursor: pointer;
        position: relative;
    }
    
    .news-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .news-thumbnail {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .news-text {
        flex: 1;
        min-width: 0;
    }
    
    .news-item-title {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .news-text p {
        font-size: 0.75rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 5px;
        color: #ccc;
    }
    
    .news-date {
        font-size: 0.7rem;
        margin: 0;
    }
    
    .arrow-icon {
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 15px solid #FF8C00;
    }
}

/* Footer Styles */
.footer {
    position: relative;
    z-index: 2;
    height: clamp(20vh, 25vh, 30vh);
    background: #000;
    display: flex;
    align-items: center;
    padding: 0 clamp(20px, 3vw, 40px);
    margin-top: 0;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left,
.footer-right {
    flex: 1;
}

.footer-center {
    flex: 2;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 1.5vw, 15px);
    margin-bottom: 15px;
}

.footer-social a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-social img {
    width: clamp(24px, 2.5vw, 28px);
    height: clamp(24px, 2.5vw, 28px);
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.1);
}

.footer-social a:hover img {
    filter: brightness(1.5) drop-shadow(0 0 4px rgba(255, 165, 0, 0.6));
}

.footer-links {
    color: #ccc;
    font-size: clamp(12px, 1.2vw, 14px);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffa500;
}

.footer-copyright {
    color: #888;
    font-size: clamp(11px, 1vw, 12px);
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.footer-contact a {
    color: #ffa500;
    text-decoration: none;
    font-size: clamp(11px, 1.1vw, 13px);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ff8c00;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .header-social {
        gap: 8px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    /* Hamburger Menu */
    .hamburger {
        display: block;
        cursor: pointer;
        padding: 8px;
        z-index: 10001;
    }

    .hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        background: #ffa500;
        margin: 6px 0;
        transition: all 0.3s ease;
    }

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

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

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

    .header-nav.active {
        display: none !important;
    }

    /* Hide header social icons on mobile */
    .header-social {
        display: none;
    }

    .footer {
        padding: 20px 15px;
        height: auto;
        min-height: 120px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        flex: none;
        width: 100%;
    }
    
    .footer-social {
        justify-content: center;
        gap: 15px;
    }
    
    .footer-social img {
        width: 24px;
        height: 24px;
    }

    .footer-links {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .footer-copyright {
        font-size: 10px;
        color: #999;
    }
    
    .footer-contact {
        align-items: center;
    }

    .footer-contact a {
        font-size: 11px;
        padding: 5px 0;
    }
}