body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
    color: #222;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
* {
    box-sizing: border-box;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}
.site-header, .site-footer {
    background: #fff;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    padding: 16px 0;
}
.site-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.site-header nav {
    float: right;
}
.site-header nav a {
    color: #222;
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    transition: color 0.2s;
}
.site-header nav a:hover {
    color: #7a7672;
}
.site-footer {
    background: #7a7672;
    color: #fff;
    padding: 0;
    border: none;
    position: relative;
    flex-shrink: 0;
    margin-top: auto;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
    min-height: 0;
}
.footer-logo {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
.footer-logo img {
    width: 220px;
    height: 75px;
    max-width: 220px;
    max-height: 75px;
    object-fit: contain;
    border-radius: 8px;
    padding: 8px;
    margin: 0;
}
.footer-address {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-left: 32px;
    max-width: 420px;
    color: #f3f3f3;
    letter-spacing: 0.01em;
    margin-bottom: 0;
    margin-top: 0;
    text-align: left;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
/* Footer Social Icons */
.footer-social {
    text-align: center; /* Center the icons */
    margin-top: 0; /* Remove space above the icons */
}

.footer-social a {
    display: inline-flex; /* Use inline-flex for alignment */
    justify-content: center; /* Center icon horizontally */
    align-items: center; /* Center icon vertically */
    width: 40px; /* Fixed width */
    height: 40px; /* Fixed height */
    border: 2px solid var(--white-color, #ffffff); /* White border with fallback */
    border-radius: 50%; /* Circular shape */
    margin: 0 8px; /* Spacing between icons */
    color: var(--white-color, #ffffff); /* White icon color with fallback */
    background-color: transparent; /* Explicitly transparent background */
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out; /* Smooth transitions */
    position: relative; /* Needed for potential pseudo-element effects if added later */
}

.footer-social a img {
    width: 20px; /* Adjust icon size as needed */
    height: 20px; /* Adjust icon size as needed */
    filter: brightness(0) invert(1); /* Ensure icon is white */
    transition: filter 0.3s ease-in-out;
}

.footer-social a:hover {
    background-color: rgba(0, 0, 0, 0.2); /* Transparent black background on hover */
    border-color: var(--white-color, #ffffff); /* Keep white border on hover */
    color: var(--white-color, #ffffff); /* Keep icon color white on hover */
}

.footer-social a:hover img {
    filter: brightness(0) invert(1); /* Ensure icon remains white on hover */
}
.footer-menu-bar {
    background: #f5f7f8;
    text-align: center;
    padding: 8px 0;
    margin-top: 0;
}
.footer-menu-bar > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.footer-menu-bar a {
    color: #88807d;
    text-decoration: none;
    margin: 0 18px;
    font-weight: bold;
    font-size: 0.97rem;
    transition: color 0.3s ease;
}
.footer-menu-bar a:hover {
    text-decoration: underline;
    color: #666;
}

.footer-menu-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.admin-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    margin-left: 20px;
}

.admin-login-link:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.admin-login-link i {
    font-size: 14px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.admin-login-link:hover i {
    color: #495057;
}
.site-main {
    flex: 1 0 auto;
    min-height: 60vh;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .site-header nav {
        float: none;
        display: block;
        text-align: center;
        margin-top: 8px;
    }
    .site-header .logo {
        text-align: center;
        display: block;
    }
    .container {
        padding: 0 8px;
    }
    .site-main {
        padding: 0;
    }
}
.slider {
    position: relative;
    width: 100%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: #222;
    box-sizing: border-box;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;
    transition: opacity 0.6s;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1);
    animation: slowZoom 20s ease-in-out infinite;
}

.slide:hover {
    animation-play-state: paused;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}
.slide-bg-link {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    text-indent: -9999px;
    background: transparent;
}
.slide-overlay {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
}
.slide-content {
    position: absolute;
    left: 120px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #fff;
    text-align: left;
    max-width: 40%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}
.slide-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 12px 0;
    color: #fff;
}
.slide-content p {
    font-size: 1.2rem;
    margin: 0 0 18px 0;
    color: #fff;
}
.slide-link {
    display: inline-block;
    background: #fff;
    color: #222;
    font-weight: bold;
    padding: 10px 28px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s;
}
.slide-link:hover {
    background: #7a7672;
    color: #fff;
}
/* Slider Arrows - Modern Chevron Style */
.slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 2px solid var(--border-color, #dee2e6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    position: absolute; /* Kept from original */
    top: 50%; /* Kept from original */
    transform: translateY(-50%); /* Kept from original */
    padding: 0;
    color: var(--border-color, #dee2e6); /* Chevron color */
    z-index: 10; /* Kept from original */
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.2); /* Transparent dark hover */
    border-color: rgba(0, 0, 0, 0.2); /* Matching border on hover */
    color: var(--white-color, #fff); /* Keep icon white for contrast */
}

.slider-arrow::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-width: 0 2px 2px 0; /* Top, Right, Bottom, Left */
    transform-origin: center center;
}

.slider-arrow.left {
    left: 8px; /* Moved closer to content */
}
.slider-arrow.left::before {
    transform: rotate(135deg);
    margin-left: 3px; /* Adjusted for better centering */
}

.slider-arrow.right {
    right: 8px; /* Moved closer to content */
}
.slider-arrow.right::before {
    transform: rotate(-45deg);
    margin-right: 3px; /* Adjusted for better centering */
}

/* Hide existing img/text if HTML is not changed immediately */
.slider-arrow img, .slider-arrow span {
    display: none !important;
}

/* Responsive adjustments for slider arrows */
@media (max-width: 768px) {
    .slider-arrow {
        width: 28px;
        height: 28px;
    }
    .slider-arrow.left {
        left: 6px; /* Moved closer to content */
    }
    .slider-arrow.right {
        right: 6px; /* Moved closer to content */
    }
    .slider-arrow::before {
        width: 6px;
        height: 6px;
    }
}
.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 10;
}
.dot {
    display: inline-block;
    width: 12px; height: 12px;
    margin: 0 4px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s;
}
.dot.active, .dot:hover { opacity: 1; background: #7a7672; }
@media (max-width: 900px) {
    .slide-content { 
        max-width: 75%; 
        left: 25px; 
        padding: 0 20px;
    }
    .slider { height: 350px; }
    .slide-content h2 { font-size: 2rem; }
}
@media (max-width: 600px) {
    .slide-content {
        max-width: 100%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        text-align: center;
        padding: 0 20px;
        box-sizing: border-box;
        position: absolute;
        top: 50%;
    }
    .slider { 
        height: 100vh;
        max-width: 100vw;
        width: 100vw;
        margin: 0;
        padding: 0;
        border-radius: 0;
        position: relative;
    }
    .slide {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .slide-content h2 {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 15px;
        line-height: 1.1;
        font-weight: 600;
    }
    .slide-content p {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.3;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .slide-overlay {
        background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
    }
    .slide-link {
        padding: 12px 32px;
        font-size: 1.1rem;
        border-radius: 30px;
        font-weight: 600;
    }
    
    /* Scroll Arrow for Mobile */
.scroll-arrow {
    display: none; /* Hidden by default on desktop */
}

@media (max-width: 600px) {
    .scroll-arrow {
        display: flex; /* Show only on mobile */
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        width: 40px;
        height: 60px;
        background: transparent;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        animation: bounceArrow 2s ease-in-out infinite;
        flex-direction: column;
        gap: 8px;
    }
    
    .scroll-arrow:hover {
        transform: translateX(-50%) scale(1.1);
    }
    
    .scroll-arrow::after {
        content: '';
        width: 20px;
        height: 20px;
        border-style: solid;
        border-width: 0 3px 3px 0;
        border-color: rgba(255, 255, 255, 0.7);
        transform: rotate(45deg);
    }
}
    
    @keyframes bounceArrow {
        0%, 20%, 50%, 80%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        40% {
            transform: translateX(-50%) translateY(-10px);
        }
        60% {
            transform: translateX(-50%) translateY(-5px);
        }
    }
}

@media (max-width: 480px) {
    .slide-content {
        max-width: 100%;
        padding: 0 16px;
    }
    .slider { 
        height: 100vh;
        min-height: 500px;
    }
    .slide-content h2 {
        font-size: 2.5rem;
        margin-bottom: 18px;
        line-height: 1.1;
    }
    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 25px;
        line-height: 1.3;
        max-width: 95%;
    }
    .slide-link {
        padding: 14px 36px;
        font-size: 1.2rem;
        border-radius: 35px;
    }
    
    .scroll-arrow {
        bottom: 15px;
        width: 45px;
        height: 65px;
    }
    

}

@media (max-width: 360px) {
    .slide-content {
        padding: 0 12px;
    }
    .slider { 
        height: 100vh;
        min-height: 450px;
    }
    .slide-content h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    .slide-content p {
        font-size: 1.1rem;
        margin-bottom: 20px;
        max-width: 100%;
    }
    .slide-link {
        padding: 12px 28px;
        font-size: 1.1rem;
        border-radius: 30px;
    }
    
    .scroll-arrow {
        bottom: 10px;
        width: 50px;
        height: 70px;
    }
    
    .scroll-arrow::before {
        width: 28px;
        height: 28px;
        border-width: 0 5px 5px 0;
    }
    
    .scroll-arrow::after {
        width: 28px;
        height: 28px;
        border-width: 0 5px 5px 0;
    }
}
.latest-articles {
    background: #f5f7f8;
    padding: 40px 0;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.latest-articles h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #888;
    text-align: center;
    font-weight: 300;
}
.articles-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    padding-bottom: 16px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}
.article-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    min-width: 0;
    max-width: 340px;
    flex: 1 1 23.5%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: auto;
    min-height: auto;
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 0 20px rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.article-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.article-card:hover .article-thumb {
    transform: scale(1.05);
}

.article-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 30%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.article-card:hover .article-thumb::after {
    opacity: 1;
}
.article-info {
    padding: 15px;
    flex: 1 1 auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.article-info h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #222;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}
.article-info .date {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}
.article-info p {
    font-size: 0.95rem;
    color: #444;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.page-content img,
.article-content img {
    max-width: 900px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
@media (min-width: 1100px) {
    .articles-list {
        max-width: 1400px;
    }
    .article-card {
        flex-basis: 22%;
        max-width: 340px;
    }
}
@media (max-width: 1100px) {
    .articles-list {
        max-width: 900px;
    }
    .article-card {
        flex-basis: 45%;
        max-width: 48vw;
    }
}
@media (max-width: 700px) {
    .latest-articles {
        padding: 20px 0;
        text-align: center;
        width: 100%;
    }
    
    .articles-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
        margin: 0 auto;
    }
    .article-card {
        min-width: 90vw;
        max-width: 98vw;
        flex-basis: 100%;
        margin: 0 auto;
    }
}
@media (max-width: 900px) {
    .footer-content { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        padding: 20px 16px; 
        gap: 20px;
    }
    .footer-address { 
        margin: 0; 
        text-align: center; 
        max-width: 98vw; 
        height: auto; 
        min-height: auto;
    }
    .footer-social { 
        margin: 0; 
    }
    
    .footer-menu-bar > div {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-menu-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .admin-login-link {
        margin-left: 0;
        margin-top: 8px;
    }
}
.to-top-btn {
    position: fixed;
    right: 32px;
    bottom: 70px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid var(--border-color, #dee2e6);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    display: none; /* Initially hidden */
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--border-color, #dee2e6);
    outline: none;
}

.to-top-btn:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--white-color, #fff);
}

.to-top-btn::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-width: 2.5px 2.5px 0 0;
    border-color: currentColor;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* If .to-top-arrow was a child element (e.g., <span> or <i> for an icon font), hide it. */
.to-top-arrow {
    display: none !important;
}

/* --- Minimal Carousel Arrow Styles for Featured Category Section --- */
.featured-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    padding: 0;
    color: #555;
    z-index: 10;
    box-sizing: border-box;
}

.featured-arrow:hover {
    background-color: var(--color-primary, #7a7672);
    color: white;
}

.featured-arrow::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-style: solid;
    border-width: 0 2px 2px 0;
    border-color: currentColor;
    transform-origin: center center;
}

.featured-arrow.left {
    left: 2px;
}
.featured-arrow.left::before {
    transform: rotate(135deg);
    margin-left: 3px;
}

.featured-arrow.right {
    right: 2px;
}
.featured-arrow.right::before {
    transform: rotate(-45deg);
    margin-right: 3px;
}

/* Hide existing img/text if HTML is not changed immediately */
.featured-arrow img, .featured-arrow span {
    display: none !important;
}

@media (max-width: 1200px) {
    .featured-category-section > .container {
        max-width: 100%;
        padding: 0 50px;
    }
    .featured-arrow.left {
        left: 5px;
    }
    .featured-arrow.right {
        right: 5px;
    }
}

@media (max-width: 900px) {
    .featured-category-section .article-card {
        min-width: 260px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .featured-category-section > .container {
        padding: 0 40px;
    }
    .featured-arrow {
        width: 28px;
        height: 28px;
    }
    .featured-arrow::before {
        width: 6px;
        height: 6px;
    }
    /* Center section headings on mobile */
    .featured-category-section h2 {
        text-align: center;
        font-size: 1.3rem;
    }
    /* Featured section titles on mobile */
    .featured-category-section .featured-title {
        font-size: 1.8rem;
        text-align: center;
        width: 100%;
        display: block;
    }
    /* Center custom banner content on mobile */
    .custom-banner-section .container > div:last-child {
        text-align: center !important;
    }
}

@media (max-width: 600px) {
    .featured-category-section > .container {
        padding: 0 30px;
    }
    .featured-category-section .article-card {
        min-width: 220px;
        max-width: 280px;
    }
    .featured-arrow {
        width: 26px;
        height: 26px;
    }
    .featured-arrow.left {
        left: 3px;
    }
    .featured-arrow.right {
        right: 3px;
    }
    /* Featured section titles on smaller mobile */
    .featured-category-section .featured-title {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
        display: block;
    }
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 32px 0;
}
.pagination {
    text-align: center;
    margin: 24px 0;
}
.pagination a {
    display: inline-block;
    margin: 0 6px;
    padding: 6px 14px;
    border-radius: 4px;
    background: #eee;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.pagination a.active,
.pagination a:hover {
    background: #7a7672;
    color: #fff;
}
@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Style for Add Footer Menu Link heading in admin */
h2:contains('Add Footer Menu Link') {
    color: #88807d !important;
    font-weight: bold !important;
}

/* Featured Section Title Animation */
.featured-category-section .featured-title {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
    color: #88807d;
    font-weight: 400;
    font-family: 'Ashley Southine', 'Brush Script MT', cursive;
    font-size: 2.2rem;
    text-align: center;
}



.featured-category-section > .container {
    max-width: 1400px; /* Increased to better fit cards + arrows with padding */
    width: 100%;
    margin: 0 auto; /* Center the container */
    position: relative; /* For positioning arrows */
    padding: 0 16px;
    box-sizing: border-box;
}

.featured-category-section .featured-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center; /* Center track and arrows */
    width: 100%;
    position: relative;
}

.featured-carousel-track {
    display: flex;
    overflow: hidden;
    width: 100%; /* Allow it to take available space within its flex parent */
    scroll-behavior: smooth; /* Smooth scrolling for better UX */
    -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}

/* Hide scrollbar in Chrome, Safari and Opera */
.featured-carousel-track::-webkit-scrollbar {
    display: none;
}

.featured-category-section .article-card {
    /* PHP inline styles: min-width:340px;max-width:340px;margin:0 16px; */
    /* Adding a transition for smooth movement if JS animates scrollLeft/transform */
    transition: transform 0.5s ease-in-out, box-shadow 0.3s ease;
}

.featured-category-section .article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 25px rgba(255,255,255,0.15);
}

.featured-category-section .article-thumb {
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.featured-category-section .article-card:hover .article-thumb {
    transform: scale(1.08);
}

.featured-category-section .article-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.2) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.featured-category-section .article-card:hover .article-thumb::after {
    opacity: 1;
}

/* Slider Title Typewriter Animation */
@font-face {
    font-family: 'Ashley Southine';
    src: url('../fonts/ashley_southine.woff2') format('woff2'),
         url('../fonts/ashley_southine.woff') format('woff'),
         url('../fonts/Ashley_Southine.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.slider-title-typewriter {
    font-family: 'Ashley Southine', 'Brush Script MT', cursive;
    margin: 0;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: smoothFadeInUp 1.2s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 1px;
    white-space: normal;
    line-height: 1.2;
}

@keyframes smoothFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure slider content is properly positioned for animation */
.slide-content h2 {
    margin: 0;
    padding: 0;
    font-size: 2.8rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.2;
    font-family: 'Ashley Southine', 'Brush Script MT', cursive;
}

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 1.6rem;
    }
}