/* =====================================================
   ARTESIA NEWSPAPER — style.css  (Full Redesign v3)
   Creative Editorial Theme | US News
   ===================================================== */

/* --- RESET & BASE --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:'IBM Plex Sans',system-ui,sans-serif;background:#F7F5F2;color:#1A1A1A;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;height:auto;display:block}

:root{
  --red:#C41E3A;  --red-d:#8B0000;  --red-bg:#FFF0F2;
  --navy:#0D1B2A; --navy-mid:#1A3A5C; --navy-light:#E8EDF4;
  --gold:#B8860B; --gold-bg:#FFFBEB;
  --ink:#1A1A1A;  --ink-mid:#444;    --ink-light:#777;
  --line:#E2E2E2; --line-light:#F0EFEC;
  --bg:#F7F5F2;   --bg-white:#FFFFFF; --bg-warm:#FAF8F5;
  --shadow-sm:0 1px 4px rgba(0,0,0,.07);
  --shadow:0 2px 16px rgba(0,0,0,.09);
  --shadow-lg:0 8px 40px rgba(0,0,0,.13);
  --radius:5px; --radius-lg:10px;
  --ff-head:'Playfair Display',Georgia,serif;
  --ff-body:'Source Serif 4',Georgia,serif;
  --ff-ui:'IBM Plex Sans',system-ui,sans-serif;
}

/* --- CONTAINER --- */
.container{max-width:1220px;margin:0 auto;padding:0 1.5rem}

/* ═══════════════════════════════════════════════════
   BREAKING TICKER
═══════════════════════════════════════════════════ */
.breaking-bar{background:var(--red);color:#fff;display:flex;align-items:center;height:38px;overflow:hidden;font-family:var(--ff-ui);font-size:.8rem}
.breaking-label{background:rgba(0,0,0,.25);padding:0 1.1rem;height:100%;display:flex;align-items:center;font-weight:800;letter-spacing:.06em;white-space:nowrap;flex-shrink:0;gap:.4rem}
.ticker-wrap{flex:1;overflow:hidden;height:100%}
.ticker{display:flex;align-items:center;height:100%;white-space:nowrap;animation:scroll-ticker 40s linear infinite}
.ticker:hover{animation-play-state:paused}
.ticker-item a{color:#fff;margin-right:.4rem}
.ticker-item a:hover{text-decoration:underline}
.ticker-item .sep{opacity:.35;margin:0 .9rem}
@keyframes scroll-ticker{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}

/* ═══════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════ */
.topbar{background:var(--navy);color:#94A3B8;font-family:var(--ff-ui);font-size:.76rem;border-bottom:1px solid rgba(255,255,255,.05)}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;padding:.42rem 0}
.topbar-left{display:flex;gap:.8rem;align-items:center}
.topbar-left .sep{opacity:.25}
.topbar-right{display:flex;gap:.85rem;align-items:center}
.topbar-right a{color:#94A3B8;font-weight:600;transition:color .2s;font-size:.8rem;letter-spacing:.03em}
.topbar-right a:hover{color:#fff}

/* ═══════════════════════════════════════════════════
   MASTHEAD
═══════════════════════════════════════════════════ */
.masthead{background:#fff;border-bottom:4px solid var(--red);padding:1.1rem 0;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.masthead-inner{display:flex;justify-content:space-between;align-items:center;gap:1.5rem}
.logo-link{text-decoration:none;display:flex;align-items:center;gap:.75rem}
.logo-icon{width:48px;height:48px;background:var(--red);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}
.logo-text{display:flex;flex-direction:column}
.logo-main{font-family:var(--ff-head);font-size:2rem;font-weight:800;color:var(--navy);line-height:1;letter-spacing:-.02em}
.logo-tagline{font-family:var(--ff-ui);font-size:.68rem;color:var(--ink-light);text-transform:uppercase;letter-spacing:.14em;margin-top:.18rem}
.masthead-search-wrap{flex-shrink:0}
.header-search{display:flex;border:2px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:border-color .2s}
.header-search:focus-within{border-color:var(--red)}
.header-search input{padding:.58rem 1rem;border:none;outline:none;font-family:var(--ff-ui);font-size:.88rem;width:250px;background:var(--bg)}
.header-search button{background:var(--navy);color:#fff;border:none;padding:.58rem 1rem;cursor:pointer;font-size:.9rem;transition:background .2s}
.header-search button:hover{background:var(--red)}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.main-nav{background:var(--navy);position:sticky;top:0;z-index:500;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.nav-inner{display:flex;align-items:center}
.nav-list{display:flex;align-items:stretch;overflow-x:auto;-ms-overflow-style:none;scrollbar-width:none}
.nav-list::-webkit-scrollbar{display:none}
.nav-list li a{display:flex;align-items:center;padding:.82rem 1rem;color:#94A3B8;font-family:var(--ff-ui);font-size:.8rem;font-weight:500;white-space:nowrap;transition:all .2s;border-bottom:3px solid transparent;position:relative}
.nav-list li a:hover,.nav-list li a.active{color:#fff;border-bottom-color:var(--red);background:rgba(255,255,255,.04)}
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:.82rem .9rem}
.hamburger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:all .3s}

/* ═══════════════════════════════════════════════════
   HERO LAYOUT
═══════════════════════════════════════════════════ */
.hero{padding:1.75rem 0}
.hero-grid{display:grid;grid-template-columns:1fr 320px;gap:2rem;align-items:start}
.hero-sidebar{border-left:1px solid var(--line);padding-left:1.75rem}
.hero-sidebar .widget-title{margin-bottom:1rem}

/* ═══════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════ */
.card{background:var(--bg-white)}
.card-img{display:block;overflow:hidden}
.card-img img{transition:transform .4s ease}
.card-img:hover img{transform:scale(1.04)}
.card-cat{display:inline-flex;align-items:center;gap:.35rem;font-family:var(--ff-ui);font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--cat-color,var(--red));border-left:3px solid var(--cat-color,var(--red));padding-left:.5rem;line-height:1}
.card-cat:hover{opacity:.8}
.card-title{font-family:var(--ff-head);font-size:1.05rem;font-weight:700;line-height:1.32;color:var(--navy);margin:.32rem 0}
.card-title a{color:inherit;transition:color .2s}
.card-title a:hover{color:var(--red)}
.card-summary{font-family:var(--ff-ui);font-size:.87rem;color:var(--ink-mid);line-height:1.65;margin-top:.4rem}
.card-meta{display:flex;align-items:center;gap:.45rem;font-family:var(--ff-ui);font-size:.76rem;color:var(--ink-light);margin-top:.6rem;flex-wrap:wrap}
.dot{width:3px;height:3px;border-radius:50%;background:currentColor;flex-shrink:0}

/* Small horizontal card */
.card-sm{display:flex;gap:.9rem;align-items:flex-start;padding-bottom:1rem;border-bottom:1px solid var(--line-light)}
.card-sm:last-child{border-bottom:none;padding-bottom:0}
.card-sm .card-body{flex:1;min-width:0}
.card-sm .card-title{font-size:.88rem;line-height:1.35}

/* Featured card accent */
.card-hero{position:relative}
.card-hero .card-title{font-size:clamp(1.4rem,2.5vw,2.1rem) !important;line-height:1.2 !important}

/* ═══════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════ */
.section{margin-bottom:2.75rem}
.section-head{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid var(--navy);padding-bottom:.6rem;margin-bottom:1.35rem;gap:.5rem}
.section-title{font-family:var(--ff-head);font-size:1.25rem;font-weight:800;color:var(--navy);white-space:nowrap}
.section-title span{color:var(--red)}
.section-link{font-family:var(--ff-ui);font-size:.76rem;font-weight:700;color:var(--red);text-transform:uppercase;letter-spacing:.07em;white-space:nowrap}
.section-link:hover{text-decoration:underline}

/* ═══════════════════════════════════════════════════
   GRIDS
═══════════════════════════════════════════════════ */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}

/* ═══════════════════════════════════════════════════
   CONTENT + SIDEBAR LAYOUT
═══════════════════════════════════════════════════ */
.content-sidebar{display:grid;grid-template-columns:1fr 300px;gap:2.25rem;margin-top:2rem}
.main-content{min-width:0}

/* ═══════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════ */
.sidebar{min-width:0}
.sidebar-widget{background:var(--bg-white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:1.25rem}
.widget-title{font-family:var(--ff-ui);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.11em;color:#fff;background:var(--navy);padding:.6rem 1rem}
.widget-body{padding:1rem}

/* Most Read */
.most-read-list{counter-reset:mr;list-style:none}
.most-read-item{counter-increment:mr;display:flex;gap:.7rem;align-items:flex-start;padding:.65rem 1rem;border-bottom:1px solid var(--line-light)}
.most-read-item:last-child{border-bottom:none}
.most-read-item::before{content:counter(mr);font-family:var(--ff-head);font-size:1.5rem;font-weight:800;color:var(--red);opacity:.45;line-height:1;min-width:22px;flex-shrink:0}
.most-read-item a{font-family:var(--ff-ui);font-size:.84rem;font-weight:600;color:var(--navy);line-height:1.4}
.most-read-item a:hover{color:var(--red)}

/* ═══════════════════════════════════════════════════
   ADVERTISEMENT BOXES  ← NEW PROPER STYLING
═══════════════════════════════════════════════════ */
.ad-slot{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,#f8f6f3 0%,#f0ede8 100%);
  border:1px dashed #C8BFB3;border-radius:var(--radius);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-family:var(--ff-ui);color:var(--ink-light);text-align:center;gap:.35rem
}
.ad-slot::before{
  content:'';position:absolute;inset:0;
  background:repeating-linear-gradient(45deg,transparent,transparent 8px,rgba(0,0,0,.015) 8px,rgba(0,0,0,.015) 16px)
}
.ad-slot-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:.3rem}
.ad-slot-label{font-size:.64rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#B0A898;border:1px solid #D5CCBF;border-radius:2px;padding:.15rem .45rem}
.ad-slot-size{font-size:.72rem;color:#C0B8AE}

/* Leaderboard 728×90 */
.ad-leaderboard{height:100px;margin:1rem 0;padding:.75rem}
/* Sidebar 300×250 */
.ad-sidebar{height:260px;padding:1rem}
/* Sidebar tall 300×600 */
.ad-sidebar-tall{height:610px;padding:1rem}
/* Inline banner */
.ad-inline{height:90px;margin:1.75rem 0;padding:.75rem}

/* When you paste real AdSense code, it fills the box */
.ad-slot ins{width:100% !important;height:100% !important}

/* Ad Label above box */
.ad-wrapper{display:flex;flex-direction:column;gap:.3rem}
.ad-wrapper-label{font-family:var(--ff-ui);font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#B0A898;text-align:center}

/* ═══════════════════════════════════════════════════
   CATEGORY HERO
═══════════════════════════════════════════════════ */
.cat-hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 100%);color:#fff;padding:2.25rem 0;margin-bottom:0;border-bottom:4px solid var(--red)}

/* ═══════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════ */
.breadcrumb{display:flex;gap:.4rem;align-items:center;font-family:var(--ff-ui);font-size:.78rem;color:var(--ink-light);flex-wrap:wrap;margin-bottom:1.5rem}
.breadcrumb a{color:var(--navy-mid);font-weight:500}
.breadcrumb a:hover{color:var(--red);text-decoration:underline}
.breadcrumb span{opacity:.45}

/* ═══════════════════════════════════════════════════
   ARTICLE PAGE
═══════════════════════════════════════════════════ */
.article-wrap{min-width:0;max-width:760px}
.article-header{margin-bottom:1.5rem;padding-bottom:1.25rem;border-bottom:1px solid var(--line)}
.article-headline{font-family:var(--ff-head);font-size:clamp(1.7rem,3.5vw,2.6rem);font-weight:800;line-height:1.18;color:var(--navy);margin:.7rem 0 .65rem;letter-spacing:-.02em}
.article-sub{font-family:var(--ff-body);font-size:1.12rem;color:var(--ink-mid);line-height:1.7;font-style:italic;border-left:4px solid var(--red);padding:.2rem 1rem;background:var(--red-bg);border-radius:0 var(--radius) var(--radius) 0}
.article-byline{display:flex;gap:.6rem;align-items:center;font-family:var(--ff-ui);font-size:.8rem;color:var(--ink-light);flex-wrap:wrap;margin-top:1rem;padding:.75rem 0;border-top:1px solid var(--line)}
.byline-author{color:var(--navy);font-weight:700}
.article-hero-img{width:100%;max-height:520px;object-fit:cover;border-radius:var(--radius-lg);margin:1.25rem 0 .4rem;box-shadow:var(--shadow)}
.article-caption{font-family:var(--ff-ui);font-size:.76rem;color:var(--ink-light);margin-top:.4rem;font-style:italic}

/* Article body */
.article-content{font-family:var(--ff-body);font-size:1.06rem;line-height:1.88;color:var(--ink);margin-top:1.5rem}
.article-content p{margin-bottom:1.3rem}
.article-content h2{font-family:var(--ff-head);font-size:1.4rem;font-weight:700;color:var(--navy);margin:2rem 0 .75rem;padding-bottom:.4rem;border-bottom:2px solid var(--line)}
.article-content h3{font-family:var(--ff-head);font-size:1.15rem;font-weight:700;color:var(--navy);margin:1.5rem 0 .6rem}
.article-content ul,.article-content ol{margin:.75rem 0 1.25rem 1.5rem}
.article-content li{margin-bottom:.5rem}
.article-content blockquote{border-left:4px solid var(--red);padding:.9rem 1.25rem;background:var(--bg-warm);margin:1.75rem 0;border-radius:0 var(--radius-lg) var(--radius-lg) 0;font-style:italic;font-size:1.08rem;color:var(--ink-mid)}
.article-content a{color:var(--navy-mid);text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:3px}
.article-content a:hover{color:var(--red)}
.article-content img{border-radius:var(--radius-lg);margin:1rem 0;box-shadow:var(--shadow-sm)}
.article-content strong{color:var(--navy)}

/* Tags */
.article-tags{display:flex;align-items:center;gap:.75rem;margin-top:2rem;flex-wrap:wrap;padding-top:1.5rem;border-top:1px solid var(--line)}
.tag-list{display:flex;gap:.4rem;flex-wrap:wrap}
.tag{display:inline-block;padding:.28rem .8rem;border:1.5px solid var(--line);border-radius:100px;font-family:var(--ff-ui);font-size:.76rem;color:var(--ink-mid);transition:all .2s}
.tag:hover{background:var(--navy);color:#fff;border-color:var(--navy)}

/* Share bar */
.share-bar{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin-top:1rem}
.share-btn{padding:.38rem .95rem;border-radius:4px;font-family:var(--ff-ui);font-size:.76rem;font-weight:600;border:1.5px solid var(--line);cursor:pointer;background:var(--bg-white);color:var(--ink-mid);transition:all .2s}
.share-btn:hover{border-color:var(--navy);background:var(--navy);color:#fff}
.share-fb:hover{border-color:#1877f2;background:#1877f2}
.share-tw:hover{border-color:#000;background:#000}

/* ═══════════════════════════════════════════════════
   SEARCH PAGE
═══════════════════════════════════════════════════ */
.search-hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 100%);color:#fff;padding:3rem 0 2.75rem;position:relative;overflow:hidden}
.search-hero::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.search-hero-title{font-family:var(--ff-head);font-size:2.2rem;font-weight:800;margin-bottom:.4rem;position:relative}
.search-hero-title span{color:#FFD700}
.search-hero-sub{font-family:var(--ff-ui);font-size:.92rem;opacity:.7;margin-bottom:1.5rem;position:relative}
.search-big{display:flex;max-width:620px;position:relative;box-shadow:var(--shadow-lg);border-radius:var(--radius-lg)}
.search-big input{flex:1;padding:.95rem 1.35rem;border:none;border-radius:var(--radius-lg) 0 0 var(--radius-lg);font-size:.98rem;font-family:var(--ff-ui);outline:none;background:#fff;color:var(--ink)}
.search-big button{padding:.95rem 1.75rem;background:var(--red);color:#fff;border:none;border-radius:0 var(--radius-lg) var(--radius-lg) 0;font-weight:700;cursor:pointer;font-family:var(--ff-ui);font-size:.92rem;transition:background .2s;white-space:nowrap}
.search-big button:hover{background:var(--red-d)}
.search-body{padding:2rem 0 3.5rem}
.search-meta{font-family:var(--ff-ui);font-size:.9rem;color:var(--ink-light);margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--line)}
.search-results{display:flex;flex-direction:column;gap:0}
.search-result-item{display:flex;gap:1.5rem;padding:1.5rem 0;border-bottom:1px solid var(--line);align-items:flex-start}
.search-result-item:first-child{padding-top:0}
.sr-thumb{flex-shrink:0;width:160px;height:108px;overflow:hidden;border-radius:var(--radius-lg);display:block}
.sr-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.sr-thumb:hover img{transform:scale(1.04)}
.sr-thumb-placeholder{flex-shrink:0;width:160px;height:108px;border-radius:var(--radius-lg);background:var(--bg-warm);display:flex;align-items:center;justify-content:center;font-size:2rem;border:1px solid var(--line)}
.sr-body{flex:1;min-width:0}
.sr-title{font-family:var(--ff-head);font-size:1.2rem;font-weight:700;line-height:1.3;margin:.4rem 0 .5rem}
.sr-title a{color:var(--navy)}
.sr-title a:hover{color:var(--red)}
.sr-summary{font-family:var(--ff-ui);font-size:.88rem;color:var(--ink-mid);line-height:1.6}
.search-empty{text-align:center;padding:3.5rem 1rem}
.search-empty-icon{font-size:3.5rem;margin-bottom:1rem}
.search-empty h2{font-family:var(--ff-head);font-size:1.5rem;color:var(--navy);margin-bottom:.5rem}
.search-empty p{font-family:var(--ff-ui);color:var(--ink-light);margin-bottom:1.5rem}
.search-landing h2{font-family:var(--ff-head);font-size:1.25rem;color:var(--navy);margin-bottom:.75rem}
.search-cats{display:flex;flex-wrap:wrap;gap:.5rem}
.search-cat-pill{display:inline-flex;align-items:center;padding:.38rem 1rem;background:var(--cat-color,var(--red));color:#fff;border-radius:100px;font-family:var(--ff-ui);font-size:.8rem;font-weight:700;transition:opacity .2s,transform .2s}
.search-cat-pill:hover{opacity:.85;transform:translateY(-1px)}

/* ═══════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════ */
.pagination{margin-top:2.25rem}
.page-list{display:flex;gap:.35rem;flex-wrap:wrap;align-items:center}
.page-link{display:flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 .75rem;border-radius:var(--radius);font-family:var(--ff-ui);font-size:.82rem;font-weight:600;border:1.5px solid var(--line);color:var(--ink);transition:all .18s;text-decoration:none}
.page-link:hover{border-color:var(--navy);background:var(--navy);color:#fff}
.page-link.active{background:var(--red);border-color:var(--red);color:#fff}

/* ═══════════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════════ */
.newsletter-section{background:linear-gradient(135deg,var(--navy) 0%,#1e3a5f 100%);padding:2.75rem 0;position:relative;overflow:hidden}
.newsletter-section::after{content:'📰';position:absolute;right:-1rem;top:50%;transform:translateY(-50%);font-size:10rem;opacity:.04;line-height:1}
.newsletter-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;position:relative}
.newsletter-text h3{font-family:var(--ff-head);font-size:1.6rem;color:#fff;line-height:1.2}
.newsletter-text p{color:#94A3B8;font-size:.9rem;margin-top:.35rem;font-family:var(--ff-ui)}
.newsletter-form{display:flex;flex-shrink:0;box-shadow:var(--shadow-lg);border-radius:var(--radius-lg)}
.newsletter-form input{padding:.8rem 1.3rem;width:290px;border:none;border-radius:var(--radius-lg) 0 0 var(--radius-lg);font-size:.92rem;font-family:var(--ff-ui);outline:none;color:var(--ink)}
.newsletter-form button{background:var(--red);color:#fff;border:none;padding:.8rem 1.5rem;font-weight:700;border-radius:0 var(--radius-lg) var(--radius-lg) 0;cursor:pointer;font-family:var(--ff-ui);white-space:nowrap;transition:background .2s;font-size:.9rem}
.newsletter-form button:hover{background:var(--red-d)}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer{background:#0d1117;color:#8b949e;padding:3.5rem 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid #1e2430}
.footer-logo{font-family:var(--ff-head);font-size:1.6rem;color:#fff;margin-bottom:.5rem}
.footer-about{font-size:.84rem;line-height:1.75;margin-top:.5rem;font-family:var(--ff-ui)}
.footer-social{display:flex;gap:1rem;margin-top:1rem;flex-wrap:wrap}
.footer-social a{color:#8b949e;font-family:var(--ff-ui);font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;padding:.3rem .7rem;border:1px solid #2d3748;border-radius:3px;transition:all .2s}
.footer-social a:hover{color:#fff;border-color:#fff;background:rgba(255,255,255,.06)}
.footer-col h5{font-family:var(--ff-ui);font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#fff;margin-bottom:1.1rem;padding-bottom:.5rem;border-bottom:1px solid #1e2430}
.footer-col ul li{margin-bottom:.65rem}
.footer-col ul li a{font-size:.84rem;color:#8b949e;font-family:var(--ff-ui);transition:color .2s}
.footer-col ul li a:hover{color:#fff}
.footer-bottom{background:#070a0f;padding:1.1rem 0;margin-top:0}
.footer-bottom-inner{display:flex;justify-content:space-between;font-size:.76rem;font-family:var(--ff-ui);flex-wrap:wrap;gap:.5rem}
.footer-bottom a{color:#8b949e}
.footer-bottom a:hover{color:#fff}

/* ═══════════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════════ */
.cookie-banner{position:fixed;bottom:1.25rem;left:1.25rem;right:auto;max-width:440px;background:var(--navy);color:#fff;padding:1.1rem 1.35rem;border-radius:var(--radius-lg);z-index:9999;box-shadow:var(--shadow-lg);display:none;border:1px solid rgba(255,255,255,.1)}
.cookie-banner.show{display:flex}
.cookie-inner{display:flex;flex-direction:column;gap:.75rem;width:100%}
.cookie-inner p{font-size:.83rem;font-family:var(--ff-ui);line-height:1.5;color:#CBD5E1}
.cookie-inner a{color:#90CAF9}
.cookie-btns{display:flex;gap:.5rem}
.btn-accept{background:var(--red);color:#fff;border:none;padding:.45rem 1.25rem;border-radius:var(--radius);cursor:pointer;font-family:var(--ff-ui);font-size:.82rem;font-weight:700;transition:background .2s}
.btn-accept:hover{background:var(--red-d)}
.btn-decline{background:transparent;color:#94A3B8;border:1px solid #334155;padding:.45rem 1rem;border-radius:var(--radius);cursor:pointer;font-family:var(--ff-ui);font-size:.82rem;transition:all .2s}
.btn-decline:hover{color:#fff;border-color:#fff}

/* ═══════════════════════════════════════════════════
   ALERTS
═══════════════════════════════════════════════════ */
.alert{padding:1rem 1.25rem;border-radius:var(--radius);font-family:var(--ff-ui);font-size:.9rem;margin-bottom:1.25rem}
.alert-success{background:#e8f5e9;color:#2e7d32;border-left:4px solid #2e7d32}
.alert-error{background:#ffebee;color:#c62828;border-left:4px solid #c62828}
.alert-info{background:var(--navy-light);color:var(--navy-mid);border-left:4px solid var(--navy-mid)}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media(max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .hero-grid{grid-template-columns:1fr 275px}
  .content-sidebar{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .sidebar{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
}
@media(max-width:768px){
  .logo-main{font-size:1.7rem}
  .logo-icon{width:38px;height:38px;font-size:1.1rem}
  .grid-3,.grid-2{grid-template-columns:1fr}
  .hero-grid{grid-template-columns:1fr}
  .hero-sidebar{display:none}
  .nav-inner{position:relative}
  .nav-list{display:none;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:var(--navy);z-index:999;border-top:1px solid rgba(255,255,255,.1);padding:.5rem 0}
  .nav-list.open{display:flex}
  .nav-list li a{padding:.88rem 1.5rem;border-bottom:none;border-left:3px solid transparent}
  .nav-list li a.active,.nav-list li a:hover{border-left-color:var(--red);background:rgba(255,255,255,.06)}
  .hamburger{display:flex}
  .masthead-search-wrap{display:none}
  .newsletter-inner{flex-direction:column;align-items:flex-start}
  .newsletter-form{width:100%;border-radius:var(--radius)}
  .newsletter-form input{flex:1;width:auto;border-radius:var(--radius) 0 0 var(--radius)}
  .footer-grid{grid-template-columns:1fr;gap:1.5rem}
  .content-sidebar{grid-template-columns:1fr}
  .sidebar{grid-template-columns:1fr}
  .article-wrap{max-width:100%}
  .search-result-item{flex-direction:column;gap:1rem}
  .sr-thumb,.sr-thumb-placeholder{width:100%;height:200px}
}
@media(max-width:480px){
  .grid-4{grid-template-columns:1fr}
  .topbar{display:none}
  .breaking-bar{font-size:.74rem}
  .logo-main{font-size:1.4rem}
  .footer-grid{grid-template-columns:1fr}
  .cookie-banner{left:.75rem;right:.75rem;max-width:none}
  .search-big{border-radius:var(--radius)}
  .search-big input{border-radius:var(--radius) 0 0 var(--radius)}
  .search-big button{border-radius:0 var(--radius) var(--radius) 0}
}

/* --- PRINT --- */
@media print{.main-nav,.breaking-bar,.topbar,.newsletter-section,.site-footer,.cookie-banner,.ad-slot,.share-bar{display:none!important}}

/* --- FOCUS ACCESSIBILITY --- */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
