/* ==========================================================================
   BUSINESS BENCHMARK NEWS - HIGH DENSITY OPTIMIZED THEME
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
:root {
    --primary-color: #000000;
    --accent-red: #e11d24;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-body: #ffffff;
    --bg-light: #f9f9f9;
    --border-color: #e5e7eb;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;  
    --font-heading: 'Oswald', sans-serif; 
}

body { 
    font-family: var(--font-body);  
    color: var(--text-main); 
    background-color: var(--bg-body); 
    line-height: 1.5;
    -webkit-font-smoothing: antialiased; 
    text-rendering: optimizeLegibility;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; transition: all 0.2s; }
a:hover { color: var(--accent-red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1280px; width: 96%; margin: 0 auto; }

.mt-4 { margin-top: 15px; } .mt-5 { margin-top: 25px; } 
.mb-4 { margin-bottom: 15px; } .mb-5 { margin-bottom: 25px; }
.pt-4 { padding-top: 15px; } .pb-4 { padding-bottom: 15px; }
.border-bottom { border-bottom: 1px solid var(--border-color); }

.ad-wrapper { display: flex; justify-content: center; margin: 15px auto; max-width: 970px; overflow: hidden; }
.ad-wrapper:empty { display: none; margin: 0; }
.ad-wrapper.leaderboard { min-height: 90px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--primary-color); }

h1, h2, h3, h4, h5, h6, 
.brand, .sub-brand, .title-underline, .article-title-huge, .category-header-wrap h1,
.subscription-bar .text h3, .footer-main-grid h4, .faded-list-item .num, .striped-text,
.red-header, .search-input-wrap input, .card-small h3 {
    font-family: var(--font-heading) !important;
}

a, .main-nav-ul > li > a, .nav-more-dropdown li a, .top-links a, .footer-top-nav a,
.btn, button, .load-more-btn, .meta-wrap, .footer-post-list h5 {
    font-family: var(--font-body) !important;
}

.meta-wrap { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 800; margin: 8px 0 6px; }
.meta-wrap .cat { color: var(--accent-red); }
.meta-wrap .author, .meta-wrap .date { color: var(--text-muted); font-weight: 700; }
.meta-wrap .sep { color: #cccccc; margin: 0 6px; }

.top-bar { border-bottom: 1px solid var(--border-color); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); padding: 6px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-links { display: flex; gap: 15px; align-items: center; }
.top-links .my-account { color: var(--accent-red); }

.pwa-install-btn { background-color: #e63946; color: #ffffff !important; border: none; padding: 4px 12px; font-size: 0.75rem; font-family: var(--font-heading), sans-serif; font-weight: 700; border-radius: 4px; cursor: pointer; margin-right: 15px; display: inline-flex; align-items: center; gap: 6px; transition: background-color 0.3s ease, transform 0.2s ease; }
.pwa-install-btn:hover { background-color: #d62828; transform: scale(1.05); }
.pwa-install-btn i { font-size: 0.85rem; }

.site-header { padding: 10px 0; }
.header-grid { display: flex; justify-content: space-between; align-items: center; }
.header-left { width: 50%; max-width: 50%; display: flex; align-items: center; justify-content: flex-start; }
.header-right { width: 50%; max-width: 50%; display: flex; justify-content: flex-end; align-items: center; padding-left: 20px; }

.logo-block { display: flex; flex-direction: column; align-items: flex-start; }
.logo-block .brand { font-size: clamp(1.8rem, 6vw, 3.2rem); font-weight: 900; letter-spacing: -1.5px; color: var(--primary-color); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.logo-block .sub-brand { font-size: clamp(0.7rem, 2vw, 0.8rem); color: var(--accent-red); font-style: italic; letter-spacing: 1px; margin-top: 4px; }
.logo-block img { max-height: 90px; width: auto; object-fit: contain; }

.header-right .ad-header, .header-right .trackable-ad { display: flex; justify-content: flex-end; align-items: center; max-height: 90px; width: 100%; overflow: hidden; margin: 0 !important; }
.header-right .ad-header img, .header-right .trackable-ad img { max-height: 90px !important; width: auto !important; max-width: 100%; object-fit: contain; }
.header-right .ad-header iframe, .header-right .ad-header ins { max-height: 90px !important; overflow: hidden; width: 100%; }

.nav-wrapper { border-top: 2px solid var(--primary-color); border-bottom: 3px solid var(--primary-color); position: relative; z-index: 99; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.main-nav-ul { display: flex; flex-grow: 1; align-items: center; position: relative; }
.main-nav-ul > li > a { display: block; padding: 12px 16px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.main-nav-ul > li > a:hover { color: var(--accent-red); }
.main-nav-ul > li.active > a { background: var(--primary-color); color: #fff; }

.nav-more { position: relative; display: none; }
.nav-more-link { cursor: pointer; padding: 12px 16px; font-weight: 800; }
.nav-more-dropdown { position: absolute; top: 100%; right: 0; background: #fff; border: 1px solid var(--border-color); box-shadow: 0 4px 10px rgba(0,0,0,0.1); display: none; min-width: 200px; z-index: 100; }
.nav-more:hover .nav-more-dropdown { display: block; }
.nav-more-dropdown li a { padding: 10px 16px; font-size: 0.8rem; font-weight: 800; border-bottom: 1px solid #f1f1f1; }

.search-toggle { padding: 12px 16px; cursor: pointer; font-size: 1rem; }
.burger-menu { display: none; font-size: 1.4rem; cursor: pointer; padding: 10px 0; font-weight: 900; }

.grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.grid-4-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.overlap-card { position: relative; padding-bottom: 15px; }
.overlap-card .img-wrap { width: 100%; height: 220px; overflow: hidden; }
.overlap-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.overlap-card:hover .img-wrap img { transform: scale(1.05); }
.overlap-card .content-wrap { position: relative; background: #fff; margin: -40px 10px 0; padding: 15px; text-align: left; box-shadow: 0 4px 10px rgba(0,0,0,0.05); z-index: 2; border: 1px solid var(--border-color); }
.title-underline { display: inline; font-weight: 900; padding-bottom: 2px;}
.overlap-card .title-underline { font-size: 1.15rem; }
.overlap-card .excerpt-text { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }

.card-small .img-wrap { overflow: hidden; margin-bottom: 10px; }
.card-small .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card-small:hover .img-wrap img { transform: scale(1.05); }
.card-small h3 { font-size: 1rem; line-height: 1.3; }

.subscription-bar { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border-color); padding: 20px; margin: 25px 0; }
.subscription-bar .text h3 { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: #9ca3af; line-height: 1; }
.subscription-bar .text p { font-size: 0.9rem; margin-top: 5px; }
.subscription-bar .btn { background: var(--accent-red); color: white; padding: 12px 25px; font-weight: 900; text-transform: uppercase; border: none; cursor: pointer; }

.grid-1-3-1 { display: grid; grid-template-columns: 240px 1fr 240px; gap: 20px; }
.red-header { background: var(--accent-red); color: white; font-size: 0.85rem; font-weight: 900; padding: 6px 12px; text-transform: uppercase; display: inline-block; font-style: italic; margin-bottom: 15px; width: 100%; text-align: center; }

.faded-list-item { display: grid; grid-template-columns: 1fr 40px; gap: 10px; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 12px; margin-bottom: 12px; }
.faded-list-item h4 { font-size: 0.95rem; line-height: 1.3; }
.faded-list-item .num { font-size: 3.5rem; color: #f3f4f6; line-height: 0.7; text-align: right; letter-spacing: -2px; }

.hero-overlap { position: relative; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.hero-overlap img { width: 100%; height: 400px; object-fit: cover; }
.hero-overlap .content-wrap { position: absolute; bottom: 20px; left: 0; background: #fff; padding: 15px 20px 15px 15px; max-width: 90%; box-shadow: 2px 2px 10px rgba(0,0,0,0.05); }
.hero-overlap .title-underline { font-size: 1.8rem; }

.layout-content-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.category-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat-list-item { display: grid; grid-template-columns: 130px 1fr; gap: 15px; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.cat-list-item .img-wrap { width: 100%; overflow: hidden; }
.cat-list-item .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cat-list-item:hover .img-wrap img { transform: scale(1.05); }
.cat-list-item h4 { font-size: 1.05rem; line-height: 1.3; }

.load-more-btn { display: block; width: max-content; margin: 25px auto; padding: 12px 35px; border: 2px solid var(--primary-color); background: transparent; font-weight: 900; font-size: 0.85rem; text-transform: uppercase; cursor: pointer; transition: 0.2s; }
.load-more-btn:hover { background: var(--primary-color); color: white; }

.post-row { display: grid; grid-template-columns: 240px 1fr; gap: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.post-row .img-wrap { height: 160px; overflow: hidden; }
.post-row .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.post-row:hover .img-wrap img { transform: scale(1.05); }

.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: 35px; margin-top: 15px; }
.article-title-huge { font-size: 2.6rem !important; line-height: 1.1; margin-bottom: 10px; letter-spacing: -0.5px; }
.share-bar { display: flex; gap: 2px; margin: 10px 0; }
.share-btn { padding: 8px 12px; color: #fff; font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; flex: 1; }
.bg-fb { background: #3b5998; } .bg-tw { background: #000000; } .bg-pt { background: #cb2027; } .bg-em { background: #777777; }
.article-featured { width: 100%; max-height: 500px; object-fit: cover; margin-bottom: 20px; }
.article-content { font-size: 1.1rem; line-height: 1.7; color: var(--text-main); }
.article-content p { margin-bottom: 18px; }

.site-footer-light { background: #ffffff; margin-top: 40px; }
.footer-top-strip { background: #f9fafb; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.footer-top-strip .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-top-logo { font-size: 2rem; font-weight: 900; color: var(--primary-color); letter-spacing: -1px; text-transform: uppercase; line-height: 1; }
.footer-top-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-top-nav a { font-size: 0.75rem; font-weight: 900; text-transform: uppercase; color: var(--primary-color); }

.footer-main-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.footer-main-grid h4 { font-size: 1rem; font-weight: 900; text-transform: uppercase; margin-bottom: 15px; }
.footer-about p { font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px; }
.footer-socials { display: flex; gap: 6px; }
.footer-socials a { width: 30px; height: 30px; background: var(--accent-red); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; border-radius: 2px; }

.footer-post-list article { margin-bottom: 15px; border-bottom: 1px solid #f3f4f6; padding-bottom: 10px; }
.footer-post-list h5 { font-size: 0.9rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.footer-post-list .meta { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; font-weight: 900; }

.footer-subscribe input[type="email"] { width: 100%; padding: 12px; border: 1px solid var(--border-color); margin-bottom: 10px; font-size: 0.85rem; outline: none; }
.footer-subscribe button { width: 100%; background: var(--accent-red); color: white; border: none; padding: 12px; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: 0.2s; }
.footer-subscribe button:hover { background: var(--primary-color); }
.footer-copyright { text-align: center; padding: 20px 0; border-top: 1px solid var(--border-color); font-size: 0.75rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }

/* ==========================================================================
   REALTIME SEARCH OVERLAY (PREMIUM UI UPGRADE)
   ========================================================================== */
.search-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(248, 250, 252, 0.95); z-index: 99999; 
    display: flex; flex-direction: column; align-items: center; 
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; 
    padding-top: 12vh; backdrop-filter: blur(10px); 
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-close { 
    position: absolute; top: 30px; right: 40px; font-size: 2rem; cursor: pointer; color: #64748b; 
    line-height: 1; transition: 0.3s; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; background: #ffffff; box-shadow: 0 4px 10px rgba(0,0,0,0.06); 
}
.search-close:hover { color: var(--accent-red); transform: rotate(90deg); box-shadow: 0 4px 15px rgba(225, 29, 36, 0.2); }
.search-input-wrap { width: 90%; max-width: 750px; position: relative; margin-bottom: 40px; }
.search-input-wrap input { width: 100%; font-size: clamp(1.8rem, 4vw, 3rem); font-family: var(--font-heading); font-weight: 700; border: none; border-bottom: 4px solid #cbd5e1; background: transparent; outline: none; padding: 15px 0; color: #0f172a; transition: 0.3s; }
.search-input-wrap input:focus { border-bottom-color: var(--accent-red); }
.search-input-wrap input::placeholder { color: #94a3b8; opacity: 0.7; }
.search-results { width: 90%; max-width: 750px; max-height: 60vh; overflow-y: auto; padding-right: 15px; padding-bottom: 20px; scroll-behavior: smooth; }
.search-results::-webkit-scrollbar { width: 6px; }
.search-results::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
.search-results::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.search-results::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.search-item { display: flex; gap: 20px; align-items: center; background: #ffffff; padding: 15px; border-radius: 12px; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.04); border: 1px solid #f1f5f9; transition: all 0.3s ease; text-decoration: none; }
.search-item:hover { transform: translateY(-4px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); border-color: #e2e8f0; }
.search-item img { width: 120px; height: 85px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: #f8fafc; }
.search-item-content { display: flex; flex-direction: column; justify-content: center; flex-grow: 1; overflow: hidden; }
.search-item .cat { background: rgba(225, 29, 36, 0.08); color: var(--accent-red); padding: 4px 12px; border-radius: 20px; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; display: inline-block; margin-bottom: 8px; width: max-content; }
.search-item h4 { font-size: 1.15rem; margin: 0 0 6px 0; color: #0f172a; line-height: 1.35; font-family: var(--font-heading); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-item .date { font-size: 0.75rem; color: #64748b; font-weight: 600; display: flex; align-items: center; gap: 5px; }

/* ==========================================================================
   PWA MOBILE BOTTOM NAV & SIDE PANEL
   ========================================================================== */
.mobile-bottom-nav {
    display: none; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: #ffffff;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08); 
    z-index: 9990; 
    justify-content: space-around;
    align-items: flex-end; /* Force perfect baseline alignment */
    padding: 12px 0 10px 0; 
    padding-bottom: calc(10px + env(safe-area-inset-bottom)); 
}

.mobile-bottom-nav .nav-item { 
    /* Completely reset browser default button styles */
    background: transparent; 
    border: none; 
    outline: none; 
    padding: 0; 
    margin: 0;
    
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-end;  
    
    color: #64748b; 
    font-family: var(--font-body);  
    font-size: 0.7rem; 
    font-weight: 700; 
    line-height: 1; 
    text-transform: uppercase; 
    cursor: pointer; 
    text-decoration: none; 
    flex: 1; 
    height: 44px; 
    transition: 0.2s; 
}

.mobile-bottom-nav .nav-item i { 
    font-size: 1.35rem; 
    margin-bottom: 5px; 
    line-height: 1; 
    display: block; 
}

.mobile-bottom-nav .nav-item span { 
    display: block; 
    line-height: 1; 
}

.mobile-bottom-nav .nav-item.active, 
.mobile-bottom-nav .nav-item:hover { 
    color: var(--accent-red); 
}
.news-side-panel { position: fixed; top: 0; left: -320px; width: 280px; height: 100%; background: #ffffff; z-index: 9995; box-shadow: 4px 0 20px rgba(0,0,0,0.15); transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.news-side-panel.open { left: 0; }
.news-side-panel-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.7); z-index: 9994; opacity: 0; visibility: hidden; transition: 0.3s ease; backdrop-filter: blur(2px); }
.news-side-panel-overlay.active { opacity: 1; visibility: visible; }
.news-side-panel .panel-header { padding: 15px 20px; background: #ffffff; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.news-side-panel .panel-header img { max-height: 35px; width: auto; object-fit: contain; }
#close-news-panel { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: 0.2s; }
#close-news-panel:hover { color: var(--accent-red); }
.news-side-panel .panel-content { flex: 1; overflow-y: auto; padding: 10px 0; }
.side-category-list li { border-bottom: 1px solid #f1f5f9; }
.side-category-list li a { display: block; padding: 16px 20px; font-weight: 700; color: #334155; text-transform: uppercase; font-size: 0.95rem; transition: 0.2s; }
.side-category-list li a:hover { background: #f8fafc; color: var(--accent-red); padding-left: 25px; }

/* ==========================================================================
   WATCH LIST PIN ICON & GUEST BANNER UI (OVERLAP PROTECTION)
   ========================================================================== */
.btn-watchlist {
    position: absolute; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(4px); border: 1px solid rgba(0,0,0,0.05); width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.08); z-index: 10; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); color: #64748b;
}
.btn-watchlist:hover { transform: scale(1.05) translateY(-2px); color: var(--accent-red); border-color: var(--accent-red); }
.btn-watchlist.active { background: var(--accent-red); color: #fff; border-color: var(--accent-red); }
.btn-watchlist.active i { animation: popPin 0.3s ease-out; }
@keyframes popPin { 0% { transform: scale(1); } 50% { transform: scale(1.3) rotate(5deg); } 100% { transform: scale(1); } }
.btn-watchlist.img-overlay { top: 10px; right: 10px; }
.btn-watchlist.txt-overlay { top: 10px; right: 0; }
.no-img-card .content-wrap { padding-right: 40px !important; }
.small-text-list { padding-right: 40px !important; }
.btn-watchlist.list-mode { top: 10px; right: 0; }

.guest-banner {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 25px 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    border-left: 4px solid #64748b; /* Professional slate accent */
}

.guest-banner .icon {
    font-size: 2.2rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-banner h3 {
    margin: 0 0 6px 0;
    color: #0f172a;
    font-family: var(--font-heading) !important; 
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guest-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.guest-banner .action { 
    margin-left: auto; 
    flex-shrink: 0;
}

.btn-register {
    background: #0f172a;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    white-space: nowrap;
    border: 2px solid #0f172a;
    transition: all 0.2s ease;
}

.btn-register:hover {
    background: transparent;
    color: #0f172a !important;
}

@media (max-width: 768px) {
    .guest-banner {
        flex-direction: column;
        align-items: flex-start; /* Strict left-alignment for professionalism */
        padding: 25px 20px;
        gap: 15px;
    }
    
    .guest-banner .icon { 
        font-size: 1.8rem; 
        margin-bottom: 5px; 
    }
    
    .guest-banner .action { 
        margin-left: 0; 
        width: 100%; 
        margin-top: 10px;
    }
    
    .btn-register { 
        width: 100%; 
        text-align: center; 
    }
}

/* ==========================================================================
   PROFESSIONAL COOKIE CONSENT BANNER (NEW)
   ========================================================================== */
.cookie-consent-banner {
    position: fixed; bottom: 0; left: 0; right: 0; background: #ffffff; border-top: 1px solid #e2e8f0; box-shadow: 0 -10px 40px rgba(0,0,0,0.08); z-index: 999999; padding: 20px 0; font-family: var(--font-body); color: #334155; transform: translateY(100%); animation: slideUpCookie 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideUpCookie { to { transform: translateY(0); } }
.cookie-consent-container { display: flex; justify-content: space-between; align-items: center; gap: 30px; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.cookie-text-content { flex: 1; }
.cookie-text-content h4 { margin: 0 0 8px 0; font-size: 1.1rem; color: #0f172a; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.5px; }
.cookie-text-content p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: #475569; }
.cookie-text-content a { color: var(--accent-red); text-decoration: underline; font-weight: 600; }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn { padding: 10px 24px; font-size: 0.85rem; font-weight: 700; border-radius: 6px; cursor: pointer; text-transform: uppercase; transition: all 0.2s ease; font-family: var(--font-body); }
.cookie-btn-accept { background: var(--accent-red); color: #ffffff; border: 2px solid var(--accent-red); }
.cookie-btn-accept:hover { background: #99101c; border-color: #99101c; }
.cookie-btn-reject { background: transparent; color: #64748b; border: 2px solid #cbd5e1; }
.cookie-btn-reject:hover { border-color: #94a3b8; color: #334155; }

/* ==========================================================================
   MOBILE RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-3-col, .grid-4-col { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .grid-1-3-1 { grid-template-columns: 1fr; }
    .hero-overlap .content-wrap { position: relative; bottom: 0; max-width: 100%; box-shadow: none; border: 1px solid var(--border-color); border-top: none; padding: 12px; }
    .layout-content-sidebar { grid-template-columns: 1fr; gap: 20px; }
    .category-grid-2 { grid-template-columns: 1fr; gap: 15px; }
    .article-layout { grid-template-columns: 1fr; gap: 20px; }
    .footer-main-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) { .hide-desktop { display: none !important; } }

@media (max-width: 768px) {
    body { padding-bottom: 70px !important; }
    .mobile-bottom-nav { display: flex; }
    .top-bar .container { flex-direction: column; gap: 6px; justify-content: center; text-align: center; }
    .hide-mobile { display: none !important; }
    .site-header { padding: 10px 0; }
    .header-grid { justify-content: center; }
    .header-left { justify-content: center; width: 100%; max-width: 100%; }
    .logo-block { align-items: center; }
    .logo-block .brand { font-size: 7.5vw; }
    .nav-wrapper { display: none !important; }
    
    .grid-3-col, .grid-4-col { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .overlap-card .img-wrap { height: 120px; }
    .overlap-card .content-wrap { margin: -20px 5px 0; padding: 10px; }
    .overlap-card .title-underline { font-size: 0.9rem; }
    .overlap-card .excerpt-text { display: none; }
    .card-small h3 { font-size: 0.85rem; }
    
    .cat-list-item { grid-template-columns: 1fr; gap: 8px; text-align: center; }
    .post-row { grid-template-columns: 1fr; text-align: center; gap: 10px; }
    .post-row .img-wrap { height: 180px; }
    
    .subscription-bar { flex-direction: column; text-align: center; gap: 12px; padding: 15px; }
    .article-title-huge { font-size: 1.8rem !important; }
    .footer-main-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .footer-top-strip .container { justify-content: center; }
    .footer-socials { justify-content: center; }

    .search-close { top: 15px; right: 20px; width: 40px; height: 40px; font-size: 1.6rem; }
    .search-item { padding: 12px; gap: 15px; }
    .search-item img { width: 90px; height: 70px; }
    .search-item h4 { font-size: 0.95rem; }
    .search-overlay { padding-top: 15vh; }

    .guest-banner { flex-direction: column; text-align: center; padding: 20px; gap: 15px; }
    .guest-banner .action { margin: 0 auto; }

    /* Mobile Cookie adjustments */
    .cookie-consent-container { flex-direction: column; text-align: left; gap: 20px; }
    .cookie-buttons { width: 100%; flex-direction: column; }
    .cookie-btn { width: 100%; text-align: center; }
}

.pwa-install-btn { background: linear-gradient(135deg, #e63946, #d62828); color: #ffffff !important; border: none; padding: 6px 16px; font-size: 0.7rem; font-family: var(--font-heading), sans-serif; font-weight: 700; border-radius: 6px; cursor: pointer; display: none; align-items: center; gap: 6px; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(230, 57, 70, 0.3); text-transform: uppercase; letter-spacing: 0.5px; }
.pwa-install-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4); }
.pwa-install-btn:active { transform: scale(0.95); }
.pwa-install-btn i { font-size: 0.8rem; }
.ios-pwa-popup { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 420px; background: #ffffff; color: #1a1a2e; box-shadow: 0 -5px 30px rgba(0,0,0,0.15); border-radius: 14px; padding: 16px 20px; z-index: 999999; display: none; justify-content: space-between; align-items: center; border-left: 4px solid #e63946; animation: slideUpPWA 0.5s ease-out forwards; }
.ios-pwa-content { flex: 1; }
.ios-pwa-content p { margin: 0 0 3px 0; font-size: 0.85rem; line-height: 1.4; color: #334155; }
.ios-pwa-content p:last-child { margin-bottom: 0; }
.ios-pwa-content p strong { color: #e63946; }
.ios-pwa-content .fa-arrow-up-from-bracket { font-size: 0.9rem; color: #3b82f6; }
.ios-pwa-close { background: none; border: none; font-size: 1.5rem; color: #94a3b8; cursor: pointer; padding: 0 5px; transition: color 0.2s; margin-left: 10px; line-height: 1; }
.ios-pwa-close:hover { color: #e63946; }

@keyframes slideUpPWA { from { bottom: -100px; opacity: 0; transform: translateX(-50%) translateY(20px); } to { bottom: 20px; opacity: 1; transform: translateX(-50%) translateY(0); } }

@media (display-mode: standalone) {
    .top-bar .date { display: none; }
    .top-links .my-account { display: none; }
    .site-header { padding-top: 5px; }
}
@media (max-width: 768px) {
    .pwa-install-btn { padding: 4px 12px; font-size: 0.6rem; }
    .pwa-install-btn i { font-size: 0.7rem; }
    .ios-pwa-popup { bottom: 10px; padding: 14px 16px; width: 95%; border-left-width: 3px; }
    .ios-pwa-content p { font-size: 0.78rem; }
}
@media (max-width: 480px) {
    .pwa-install-btn { padding: 3px 8px; font-size: 0.55rem; gap: 4px; }
    .pwa-install-btn i { font-size: 0.6rem; }
}
/* ==========================================================================
   UNIVERSAL BRAND RED HOVER HIGHLIGHTS (#e11d24)
   ========================================================================== */

/* 1. General Text Links & Article Titles */
a:hover, 
.title-underline a:hover,
.card-small h3 a:hover,
.small-text-list h4 a:hover,
.post-row h4 a:hover,
.cat-list-item h4 a:hover,
.article-head-title a:hover,
.footer-post-list h5 a:hover,
.footer-main-grid article a:hover {
    color: var(--accent-red) !important;
    transition: color 0.2s ease-in-out;
}

/* 2. Top Bar & Header Links */
.top-links a:hover,
.footer-top-nav a:hover {
    color: var(--accent-red) !important;
}

/* Header Newsletter Button Hover Sync */
.header-left .hide-mobile:hover {
    color: var(--accent-red) !important;
}
.header-left .hide-mobile:hover svg {
    stroke: var(--accent-red) !important;
}

/* 3. Main Desktop Navigation Menu */
.main-nav-ul > li > a:hover,
.nav-more-link:hover {
    color: var(--accent-red) !important;
}

/* 4. Desktop Dropdown Menu (Premium red tint & indent) */
.nav-more-dropdown li a {
    transition: all 0.2s ease;
}
.nav-more-dropdown li a:hover {
    color: var(--accent-red) !important;
    background-color: rgba(225, 29, 36, 0.04) !important; 
    padding-left: 22px !important; 
}

/* 5. Mobile Side Panel Menu (Premium red tint & edge line) */
.side-category-list li a:hover {
    color: var(--accent-red) !important;
    background-color: rgba(225, 29, 36, 0.04) !important;
    border-left: 4px solid var(--accent-red) !important;
    padding-left: 21px !important; 
}

/* 6. Interactive Icons (Search, Menu, Close buttons) */
.search-toggle:hover,
.burger-menu:hover,
#close-news-panel:hover,
.search-close:hover {
    color: var(--accent-red) !important;
    transition: color 0.2s ease;
}

/* 7. Footer Elements */
.footer-socials a:hover {
    background-color: var(--accent-red) !important;
    color: #ffffff !important;
    border-color: var(--accent-red) !important;
}

.dynamic-footer-area .terms a:hover,
.footer-about a:hover,
.footer-copyright a:hover {
    color: var(--accent-red) !important;
}