/* ===== GLOBAL VARIABLES & RESET ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --maroon: #800000;
    --maroon-dark: #5c0000;
    --maroon-light: #a30000;
    --cyan: #00BFFF;
    --cyan-dark: #0099cc;
    --cyan-light: #e0f7fa;

    /* Neutral Colors */
    --dark: #1a1a1a;
    --dark-grey: #333333;
    --medium-grey: #666666;
    --light-grey: #f4f6f8;
    --border-color: #e0e0e0;
    --white: #ffffff;

    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-grey);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.main-content {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
}

/* ===== HEADER & NAVIGATION ===== */
/* ===== HEADER & NAVIGATION ===== */
header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: relative;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 16px;
}

@media (min-width: 992px) {
    .header-inner {
        display: grid;
        grid-template-columns: 280px 1fr 400px;
        gap: 20px;
        height: 80px;
        padding: 0;
        align-items: center;
    }
}

/* Brand Identity */
.brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.4px;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 9px;
    font-weight: 600;
    color: var(--medium-grey);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.7;
    white-space: nowrap;
}

.maroon-text {
    color: var(--maroon);
}

/* UTILITIES */
.desktop-only {
    display: none !important;
}

@media (min-width: 992px) {
    .desktop-only {
        display: flex !important;
    }
}

/* Specific hide for dense headers */
@media (min-width: 992px) and (max-width: 1200px) {
    .header-actions .social-icons.desktop-only {
        display: none !important;
    }
}

.btn-sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
}

@media (min-width: 992px) {
    .brand-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .brand-name {
        font-size: 16px;
        letter-spacing: -0.5px;
    }

    .brand-tagline {
        font-size: 8px;
        letter-spacing: 1.2px;
        padding-left: 0;
        border-left: none;
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
    .brand-name {
        font-size: 19px;
    }

    .brand-tagline {
        font-size: 9px;
        letter-spacing: 1.5px;
        gap: 15px;
    }
}

@media (min-width: 1024px) {
    .logo-img {
        height: 45px;
    }

    .brand-name {
        font-size: 20px;
    }

    .nav-list {
        gap: 24px;
        justify-content: center;
    }

    .nav-link {
        font-size: 14px;
        padding: 24px 0;
        letter-spacing: 0.8px;
    }
}

@media (min-width: 1280px) {
    .logo-img {
        height: 50px;
    }

    .brand-name {
        font-size: 22px;
    }

    .nav-list {
        gap: 30px;
    }

    .nav-link {
        font-size: 15px;
    }
}

.nav-desktop {
    display: none;
    justify-content: center;
}
    /* Mobile first hidden, shown in media query */

@media (min-width: 992px) {
    .nav-desktop {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .nav-link {
        font-weight: 700;
        color: var(--dark);
        text-transform: capitalize;
        letter-spacing: 0.2px;
        position: relative;
        white-space: nowrap;
        transition: color 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--maroon);
    }

}

.dropdown-item {
    position: relative;
}

.nav-link i {
    font-size: 10px;
    margin-left: 4px;
    color: var(--medium-grey);
    transition: transform 0.3s ease;
}

.dropdown-item:hover .nav-link i {
    transform: rotate(180deg);
    color: var(--maroon);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.dropdown-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--dark-grey);
    font-weight: 500;
    transition: background 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--light-grey);
    color: var(--maroon);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
    flex-shrink: 0;
    justify-self: end;
}

.search-bar-desktop,
.search-container {
    display: none;
    align-items: center;
    background: #f1f5f9;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid transparent;
    transition: var(--transition);
    width: 250px;
}

.search-bar-desktop:focus-within {
    background: white;
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
    width: 280px;
}

.search-bar-desktop input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
    color: var(--dark);
}

.search-bar-desktop button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #64748b;
    font-size: 14px;
    padding-left: 8px;
}

.social-icons.desktop-only {
    display: none;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-grey);
    font-size: 16px;
    transition: 0.3s;
    background: transparent;
}

.social-icons a:hover {
    color: var(--maroon);
}

.auth-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9; /* Light blueish/white background matching image */
    color: var(--dark);
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.auth-btn:hover {
    background: var(--maroon);
    color: white;
    border-color: var(--maroon);
    transform: translateY(-2px);
}

.auth-btn i {
    pointer-events: none;
}

/* Mobile specific auth spacing */
@media (max-width: 991px) {
    .header-actions {
        gap: 10px;
    }

    .auth-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

.hamburger-btn {
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

@media (min-width: 992px) {

    .search-bar-desktop,
    .search-container,
    .social-icons.desktop-only {
        display: flex;
    }

    .hamburger-btn {
        display: none;
    }
}

/* Mobile Navigation overrides handled by mobile-nav.css */

.nav-desktop a.active {
    color: var(--maroon);
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--maroon);
    transition: var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 32px;
    }
}

.main-content {
    padding: 20px 0;
    min-height: calc(100vh - 400px);
}

@media (min-width: 768px) {
    .main-content {
        padding: 80px 0;
    }
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0;
}

@media (min-width: 768px) {
    .header-inner {
        height: 80px;
    }
}

.logo-img {
    height: 35px;
    width: auto;
}

@media (min-width: 768px) {
    .logo-img {
        height: 50px;
    }
}

/* Desktop Nav Styles continue... (Lines 116-278) */

/* ===== MOBILE NAVIGATION (Handled in dedicated file) ===== */

/* ===== FOOTER ===== */
/* ─── Card Audio Waves ─── */
.card-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}
.card-wave span {
    width: 2px;
    height: 3px;
    background: #fbbf24;
    border-radius: 1px;
    transition: 0.2s;
}
.card-wave.playing span {
    animation: card-wave-anim 1s infinite ease-in-out;
}
.card-wave.playing span:nth-child(2) { animation-delay: 0.1s; }
.card-wave.playing span:nth-child(3) { animation-delay: 0.2s; }
.card-wave.playing span:nth-child(4) { animation-delay: 0.3s; }

@keyframes card-wave-anim {
    0%, 100% { height: 3px; }
    50% { height: 12px; }
}

/* ─── Reaction Popover ─── */
.reaction-popover {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 30px;
    padding: 8px 12px;
    display: flex;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 100;
}
.reaction-popover.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}
.reaction-popover span {
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s;
}
.reaction-popover span:hover {
    transform: scale(1.4) translateY(-5px);
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-col a {
    color: #a0a0a0;
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* ===== HOME PAGE LAYOUT ===== */
.main-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 0;
}

@media (min-width: 1024px) {
    .main-content-grid {
        grid-template-columns: 2fr 1.1fr;
        gap: 40px;
        padding: 40px 0;
    }
}

/* BREAKING NEWS */
.breaking-news {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

@media (min-width: 768px) {
    .breaking-news {
        font-size: 14px;
        padding: 10px 0;
    }
}

.ticker-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    height: 36px;
}

.ticker-label {
    background: var(--maroon);
    color: white;
    padding: 4px 10px;
    font-weight: 700;
    margin-right: 0;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 2;
    font-size: 11px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .ticker-label {
        font-size: 12px;
        padding: 4px 12px;
    }
}

/* Clipping wrapper that sits next to the label */
.ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    /* fade-out edges */
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.ticker-content {
    white-space: nowrap;
    animation: ticker 35s linear infinite;
    padding-left: 100%;
    display: inline-block;
    font-size: 13px;
    line-height: 36px;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* SECTION HEADERS */
.section-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
        padding-bottom: 12px;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--cyan);
}

@media (min-width: 768px) {
    .section-title::after {
        width: 80px;
    }
}

/* GRIDS */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 640px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Adjust based on content importance */
    }
}

/* Services Grid Styling consolidated in responsive.css */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.executive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 480px) {
    .executive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .executive-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* COMPONENT: SERVICE CARD */
.service-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-grey);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
}

.service-icon {
    font-size: 32px;
    color: var(--cyan);
    margin-bottom: 16px;
    display: block;
}

.service-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 18px;
}

/* COMPONENT: EXECUTIVE CARD */
.executive-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.executive-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.executive-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--light-grey);
}

.executive-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.executive-role {
    font-size: 13px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.executive-bio {
    font-size: 14px;
    color: var(--medium-grey);
    margin-bottom: 25px;
    line-height: 1.5;
}

.executive-contacts {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.executive-contacts a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-grey);
    color: var(--dark-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.executive-contacts a:hover {
    background: var(--maroon);
    color: white;
}

/* COMPONENT: SIDEBAR WIDGET */
.sidebar-widget {
    background: white;
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .sidebar-widget {
        padding: 24px;
        margin-bottom: 30px;
    }
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark);
}

@media (min-width: 768px) {
    .widget-title {
        font-size: 18px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
}

/* MINI NEWS CARD (Replacing inline styles) */
.mini-news-card {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.mini-news-card:hover h4 a {
    color: var(--maroon);
}

.mini-news-card h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.mini-news-card h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.mini-news-card img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.mini-news-card>div {
    flex: 1;
    min-width: 0;
}

@media (min-width: 768px) {
    .mini-news-card {
        gap: 15px;
        margin-bottom: 20px;
    }

    .mini-news-card img {
        width: 100px;
        height: 70px;
    }
}

/* AD PLACEHOLDER RESPONSIVENESS */
.ad-placeholder {
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TOAST RESPONSIVENESS */
@media (max-width: 768px) {
    .notification-toast {
        width: calc(100% - 40px);
        left: 20px;
        bottom: 20px;
        padding: 15px;
    }
}

/* CAT TABS */
.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Status Aliases */
.badge-info {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-published {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-pending {
    background: #fff3e0;
    color: #f57f17;
}

.badge-draft {
    background: #f5f5f5;
    color: #616161;
}

.badge-active {
    background: #e8f5e9;
    color: #2e7d32;
}

/* ADS */
.ad-placeholder {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    margin-bottom: 30px;
    border-radius: 4px;
    border: 1px dashed #ccc;
    padding: 20px;
}

/* ===== UTILITIES & SPECIFIC WIDGETS ===== */
.mt-40 {
    margin-top: 30px;
}

@media (min-width: 768px) {
    .mt-40 {
        margin-top: 40px;
    }
}

.centered {
    text-align: center;
}

.centered-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.accent-bar {
    width: 60px;
    height: 3px;
    background: var(--cyan);
    margin: -10px auto 30px;
}

@media (min-width: 768px) {
    .accent-bar {
        width: 80px;
        margin-bottom: 40px;
    }
}

.section-desc {
    margin-bottom: 30px;
    font-size: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--medium-grey);
}

@media (min-width: 768px) {
    .section-desc {
        font-size: 18px;
        margin-bottom: 40px;
    }
}

.executive-section {
    background: white;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .executive-section {
        padding: 60px 0;
    }
}

.editors-pick-widget {
    background: var(--light-grey) !important;
    border: 1px solid var(--border-color) !important;
}

.mini-news-card .author {
    font-size: 11px;
    color: var(--medium-grey);
    display: block;
    margin-top: 4px;
}

@media (min-width: 768px) {
    .mini-news-card .author {
        font-size: 12px;
    }
}

/* ===== PERFORMANCE & ELEGANCE ENHANCEMENTS ===== */

/* GPU Acceleration for Smoother Animations */
.card,
.news-card,
.stat-card,
.btn,
.sidebar-menu a,
.mobile-nav-panel,
.dropdown-menu {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Smooth Image Loading */
img {
    content-visibility: auto;
}

/* Loading Skeleton Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* Enhanced Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch-Friendly Tap Targets */
@media (pointer: coarse) {

    .btn,
    .nav-link,
    .sidebar-menu a,
    .btn-action {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Elegant Hover Lift Effect */
.card:hover,
.news-card:hover,
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Optimized Font Rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Print Styles */
@media print {

    .sidebar,
    .mobile-nav-panel,
    .hamburger-btn,
    .ad-placeholder,
    .notification-toast {
        display: none !important;
    }

    .main-content {
        margin: 0 !important;
        width: 100% !important;
    }
}

/* Fast Tap Response */
a,
button {
    touch-action: manipulation;
}

/* Prevent Layout Shift */
img,
video {
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}

/* ── MOBILE NAV PANEL & OVERLAY (GLOBAL DEFAULTS) ── */
.mobile-overlay {
    position: fixed !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); z-index: 2000;
    opacity: 0; visibility: hidden; transition: 0.25s;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-nav-panel {
    position: fixed !important;
    top: 0; right: -100% !important;
    width: 85%; max-width: 320px;
    height: 100vh; background: white;
    z-index: 2100; box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav-panel.active { right: 0 !important; }

.mobile-nav-header { padding: 20px; background: var(--maroon); color: white; display: flex; justify-content: space-between; align-items: center; }
.mobile-logo-text { font-size: 1.1rem; color: white; font-weight: 800; }
.close-nav-btn { background: transparent; border: none; font-size: 1.3rem; color: white; cursor: pointer; }

.mobile-search { padding: 16px; display: flex; gap: 8px; border-bottom: 1px solid var(--border-color); }
.mobile-search input { flex: 1; padding: 12px; border: 1px solid var(--border-color); border-radius: 40px; font-size: 0.85rem; }
.mobile-search button { background: var(--maroon); border: none; width: 44px; border-radius: 40px; color: white; cursor: pointer; }

.mobile-nav-list { list-style: none; padding: 8px 0; flex-grow: 1; }
.mobile-nav-list>li>a { display: flex; justify-content: space-between; padding: 14px 20px; text-decoration: none; color: var(--dark); font-weight: 600; border-bottom: 1px solid var(--border-color); }

.mobile-submenu { list-style: none; background: #fbfbfc; display: none; }
.mobile-submenu.active { display: block; }
.mobile-submenu li a { padding: 12px 20px 12px 40px; display: block; text-decoration: none; color: var(--dark); font-size: 0.85rem; }

.mobile-socials { padding: 24px 20px; display: flex; justify-content: center; gap: 24px; margin-top: auto; border-top: 1px solid var(--border-color); }
.mobile-socials a { color: var(--maroon); font-size: 1.3rem; }