/* ---------------------------
   RESET / BASE
   --------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: small;
}

:root {
  --bg: #f6f6f7;
  --card: #ffffff;
  --text: #111;
  --muted: #6b7280;
  --red: #ff0000;
  --accent: #ff5b4d;
}

/* Keep legacy support for body.dark-mode (explicit) */
body {
  background: #f4f4f4;
  color: #000;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

/* Manual dark mode class (preserve exact values) */
body.dark-mode,
body.dark-mode * {
  background: #000000 !important;
  color: #ffffff !important;
}









body.dark-mode {
  background: #000000 !important;
  color: #ffffff !important;
}

/* LIGHT MODE (default) */
body {
  background: #ffffff;
  color: #000000;
}

/* DARK MODE */
body.dark-mode {
  background: #000000;
  color: #ffffff;
}

body.dark-mode a {
  color: #ffffff; /* links zibaye zoroheje */
}

body.dark-mode header,
body.dark-mode .top-header,
body.dark-mode .top-bar,
body.dark-mode .nav-menu,
body.dark-mode footer {
  background: #000000;
  color: #ffffff;
}

/* Cards â€” hero, news, category, article */
body.dark-mode .card,
body.dark-mode .news-card,
body.dark-mode .hero-main-card,
body.dark-mode .side-card,
body.dark-mode .article-page,
body.dark-mode .footer-grid,
body.dark-mode .catGrid {
  background: #000000 !important;
  color: #ffffff !important;
}

body.dark-mode img {
  filter: brightness(85%);
}










/* TOP INFO BAR */
.top-info-bar {
    width: 100%;
    background: #f1f1f1;
    padding: 6px 20px;
    font-size: 14px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    z-index: 99999;
}

.left-group {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.divider {
    opacity: 0.6;
}

#forexHolder {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* MOBILE */
@media (max-width: 768px){
    .top-info-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    #forexHolder {
        justify-content: center;
        gap: 12px;
    }
}












/* Ads Banner */
.ads-slot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.ad-banner {
    width: 100%;
    max-width: 728px;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
    display: block;
}

/* Mobile version */
@media (max-width: 768px) {
    .ad-banner {
        max-width: 320px;
    }
}










/* Left side — Date + Weather */
.left-group {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

/* small vertical separator */
.divider {
    opacity: 0.5;
}

/* Right side — Forex */
#forexHolder {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right;
}

/* MOBILE MODE */
@media (max-width: 768px) {
    .top-info-bar {
        flex-direction: column;
        text-align: center;
        font-size: 14px;
        padding: 10px;
        gap: 8px;
    }
    #forexHolder {
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
}












#weather {
  background: #f1f1f1;
  padding: 10px;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Arial", sans-serif;
  width: fit-content;
}

#weather p {
  margin: 0;
}

.weather-hot { background: #ffb3b3; }   /* Hashyushye 🌞 */
.weather-cold { background: #b3d9ff; } /* Hakonje ❄️ */
.weather-normal { background: #d9ffd9; } /* Hasanzwe 🌤️ */











#forexHolder {
    display: flex;
    gap: 25px;
    font-weight: 600;
    font-size: 14px;
    flex-wrap: wrap;
}

#forexHolder span {
    opacity: 0.6;
}















body {
    background: #f4f4f4;
}

.top-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    background: white;
    border-bottom: 3px solid #ff0000;
    position: sticky;
    top: 0;
    z-index: 90;
}

.site-logo {
    height: 55px;
    object-fit: contain;
}

.live-buttons {
    display: flex;
    gap: 5px;
}

.live-buttons .radio,
.live-buttons .tv {
    background: #ffffff;
    color: #000;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ff0000;
}

/* SOCIAL ICONS */
.top-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-social img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.top-social img:hover {
    opacity: 0.5;
}


















/* LIVE BUTTONS */
.live-buttons button {
    border: none;
    padding: 12px 12px;
    border-radius: 2px;
    margin-left: 6px;
    font-weight: bold;
    font-style:unset;
    cursor: pointer;
}

.live-buttons .radio {
    background: #ffffff;
    color: rgba(0, 0, 0, 0.751);
    box-shadow: -3px 2px 1px #ff0000;
}

.live-buttons .tv {
    background: #ffffff;
    color: rgba(0, 0, 0, 0.751);
    box-shadow: 3px -2px 1px #ff0000;
}













.top-extra {
    display: flex;
    gap: 15px;
    align-items: center;
}

.translator {
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 14px;
}

.forex-box {
    font-size: 14px;
    font-weight: bold;
    color: #ff0000;
}

















/* ===== TOP BAR (LOGO + RADIO/TV CLEAN VERSION) ===== */

.top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Logo left – buttons right */
    align-items: center;
    padding: 15px 45px;
    
    background: transparent !important;   /* ——— BOX EFFECT REMOVED ——— */
    box-shadow: none !important;          /* nta box / nta card look */
    border: none;                          /* nta border itagaragara */

    position: sticky;
    top: 0;
    z-index: 999;

    margin-bottom: 15px;
    border-bottom: 4px solid #ff0000;     /* iguma ku mwimerere */
}

.site-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ===== LIVE BUTTONS ===== */
.live-buttons {
    display: flex;
    gap: 15px;
}

.live-buttons button {
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: white;
    transition: 0.3s ease;
}

/* RADIO & TV stay same colors */
.live-buttons .radio {
    background: #ffffff;
}
.live-buttons .radio:hover {
    background: #efefef;
}

.live-buttons .tv {
    background: #ffffff;
}
.live-buttons .tv:hover {
    background: #efefef;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        background: transparent !important;  /* mobile box removed */
        border: none;
        border-bottom: 3px solid #ff0000;
    }

    .site-logo {
        height: 50px;
    }

    .live-buttons {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .live-buttons button {
        width: 100%;
        max-width: 260px;
    }
}



















.nav-bar {
    background: #ffffff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #ff0000;
    border-top: 5px solid #ff0000;
    background-attachment:fixed;
    display: fixed ;
}


















/* styles.css - cleaned & fixed (modern RFI-ish) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');


html.dark{
  --bg:#0b0d10;
  --card:#0f1113;
  --text:#e6e9ee;
  --muted:#9aa3b2;
}

*{box-sizing:border-box}
body{font-family:"Roboto", Arial, sans-serif;background:var(--bg);color:var(--text);margin:0;line-height:1.5}
.container{max-width:1180px;margin:0 auto;padding:0 18px}

/* TOP HEADER */
.top-header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:var(--card);box-shadow:0 6px 18px rgba(0,0,0,0.04);position:sticky;top:0;z-index:60}
.top-header.small{padding:8px 18px}
.top-left{display:flex;align-items:center;gap:12px}
.date-time{font-size:13px;color:var(--muted)}

/* TOP BAR: logo + live buttons */
.top-bar{display:flex;align-items:center;gap:20px}
.site-logo{height:64px;width:auto;object-fit:contain;border-radius:6px;box-shadow:0 6px 18px rgba(0,0,0,0.06)}
.live-buttons{display:flex;gap:10px;margin-left:auto}
.live-buttons button{background:linear-gradient(90deg,#ff0000,#ff0000);border:none;color:white;padding:10px 14px;border-radius:8px;font-weight:700;cursor:pointer;transition:transform .12s}
.live-buttons button:hover{transform:translateY(-3px)}

/* social icons */
.top-social{display:flex;align-items:center;gap:10px;margin-left:18px}
.top-social img{width:22px;height:22px;object-fit:contain;transition:opacity .12s}
.top-social img:hover{opacity:.7}

/* social icons */
.top-social{display:flex;align-items:center;gap:10px;margin-left:18px}
.top-social img{width:22px;height:22px;object-fit:contain;transition:opacity .12s}
.top-social img:hover{opacity:.7}

/* search */
.search-wrap{display:flex;gap:8px;align-items:center}
.search-wrap input{padding:8px 10px;border-radius:8px;border:1px solid rgba(0,0,0,0.08);min-width:180px}
.search-wrap button{padding:8px 10px;border-radius:8px;box-shadow: 2px -1px 20 #ffffff;border:1px solid rgba(121, 118, 118, 0.174);background: red;color: white; cursor:pointer}

/* nav */
.nav-menu{background:transparent;padding:12px 0;border-bottom:5px solid var(--red)}
.nav-menu ul{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;list-style:none;margin:0;padding:0}
.nav-menu li a{display:inline-block;padding:6px 8px;border-radius:6px;text-decoration:none;color:var(--red);font-weight:700;background:rgba(211,27,27,0.06);border:1px solid rgba(211,27,27,0.06)}
.nav-menu li a:hover{background:var(--red);color:#fff;transform:translateY(-2px)}

.nav-menu li a{
    display:inline-block;
    padding:10px 8px;
    border-radius:6px;
    text-decoration:none;
    color:#000; /* TEXT Y’UMUKARA */
    font-weight:700;
    background:#ffffff; /* background yera */
    border:1px solid #ddd; /* umurongo woroshye */
    transition:0.2s ease;
}

.nav-menu li a:hover{
    background:var(--red);
    color:#ffffff;
    transform:translateY(-2px);
}







/* 🔤 2) Category tags → capitalize first letter ONLY */
.news-card .cat,
.hero-main-card .cat,
.side-card .cat,
.single-cat,
.card .cat {
    text-transform: capitalize !important;
}







/* ---------------------------
   BREAKING NEWS / MARQUEE
   --------------------------- */
.breaking {
  display:flex; align-items:center; gap:12px; padding:10px 18px; background:var(--red); color:white;
}
.breaking .badge { background:#fff; color:var(--red); padding:4px 8px; border-radius:3px; font-weight:800; }
.marquee { overflow:hidden; flex:1; }
.marquee-inner { display:inline-block; white-space:nowrap; padding-left:12px; animation:scroll-left 55s linear infinite; font-style:italic; }
@keyframes scroll-left { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }

/* ---------------------------
   HERO (main + side)
   --------------------------- */
.hero { padding:28px 0; background-position:center; background-size:cover; background-repeat:no-repeat; }
.hero-inner { display:grid; grid-template-columns:2fr 1fr; gap:16px; align-items:start; }
.hero-main-card {
  display:block; height:420px; border-radius:10px; overflow:hidden; position:relative; background:none;
  background-image: url("images/your-hero-image.jpg"); background-size:cover; background-position:center;
}
.hero-main-card .hero-overlay {
  position:absolute; left:0; right:0; bottom:0; padding:22px; color:#000000af;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 60%);
}
.hero-main-card .cat { background: rgb(255, 0, 0); padding:6px 10px; border-radius:4px; font-weight:700; color:#fff; text-decoration: capitalization;}
.hero-main-card h2 { margin:10px 0 6px; font-size:28px; color:#0000009d !important; }

/* side cards */
.hero-side { display:grid; gap:12px; }
.side-card {
  display:flex; gap:12px; align-items:center; background:var(--card); border-radius:8px; padding:8px;
  text-decoration:none; color:inherit; box-shadow:0 6px 18px rgba(0,0,0,0.04);
}
.side-card img { width:120px; height:80px; object-fit:cover; border-radius:6px; }
.side-card h4 { margin:0; font-size:14px; color:#111 !important; }
.side-card .cat { display:inline-block; margin-bottom:6px; color:var(--red); font-weight:700; }

/* ---------------------------
   GRID / CARDS
   --------------------------- */
.latest { padding:24px 0; }
.section-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px;}
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px; }
.card, .news-card {
  background:var(--card); border-radius:8px; overflow:hidden; box-shadow:0 8px 20px rgba(0,0,0,0.04);
  transition: transform .18s ease, box-shadow .18s; text-decoration:none;
}
.card:hover, .news-card:hover { transform:translateY(-6px); box-shadow:0 16px 30px rgba(0,0,0,0.08); }
.card img, .news-card img { width:100%; height:160px; object-fit:cover; display:block; }
.card .cat, .news-card .cat { display:inline-block; padding:6px 10px; border-radius:6px; margin:10px; }
.card h4, .news-card h4 { margin:6px 12px; font-size:16px; color:#111 !important; }
.card p, .news-card p { margin:0 12px 12px; color:var(--muted); }

/* news-card RFI-like styles */
.news-card { display:block; background:#fff; border:1px solid #eee; padding:12px; border-radius:4px; transition:0.2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 3px 8px rgba(0,0,0,0.15); }

/* Category tag style (Intambwe) - keep red/white as original */
.cat {
  background: var(--red);
  color: white;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  text-transform: uppercase;
  border: 1px solid var(--red);
}

/* Ensure .cat across components looks consistent */
.news-card .cat, .hero-main-card .cat, .side-card .cat, .card .cat { color: #fff !important; }

/* Titles */
.news-card h4, .side-card h4, .hero-main-card h2 { color: #000; font-weight: 800; line-height: 1.32; }

/* ---------------------------
   ARTICLE PAGE
   --------------------------- */
.article-page { display:grid; grid-template-columns:2fr 360px; gap:22px; padding:28px 0; }
.article-box { background:var(--card); padding:22px; border-radius:8px; }
.single-cat { display:inline-block; background:var(--red); color:#fff; padding:6px 10px; border-radius:6px; font-weight:700; }
.single-title { font-size:28px; margin:14px 0; color:#111 !important; }
.single-date { color:var(--muted); font-size:13px; margin-bottom:14px; }
.single-img { width:100%; height:420px; object-fit:cover; border-radius:8px; margin-bottom:18px; }
.single-body { font-size:18px; color:var(--text); line-height:1.7; }

/* ---------------------------
   FOOTER
   --------------------------- */
.site-footer {
  background: rgba(113,111,111,0.286); /* approx #716f6f49 */
  padding:24px 0; margin-top:28px; border-top:6px solid var(--red); color:#222;
}
.footer-grid { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; }
.footer-logo { width:35px; height:auto; object-fit:contain; border-radius:6px; }
.footer-copy h3{ margin:0 0 6px; }
.footer-copy p{ margin:4px 0; color:var(--muted); }
.footer-right{ display:flex; flex-direction:column; align-items:flex-end; }
.footer-social img { width:23px; height:23px; object-fit:contain; margin-left:4px; }
.site-footer.mono-icons .footer-social img { filter: brightness(0) invert(1) saturate(0); }

/* ---------------------------
   UTILITIES
   --------------------------- */
.section-block { margin-top:40px; border-top:3px solid #d90000; padding-top:20px; }
.section-block h2 { font-size:22px; font-weight:800; margin-bottom:15px; }
.section-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }

/* small utility */
.small-muted { color: var(--muted); font-size:13px; }

/* ---------------------------
   RESPONSIVE (mobile-first adjustments preserved)
   --------------------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-main-card { height: 320px; }
  .article-page { grid-template-columns: 1fr; }
  .nav-menu ul { overflow:auto; padding:10px; gap:10px; }
}

@media (max-width: 768px) {
  body { font-size: 14px; background: var(--bg); }

  .top-header { flex-direction: column; align-items: stretch; gap:10px; padding:10px 12px; }
  .top-bar { width:100%; justify-content: space-between; padding:0; margin-bottom:4px; border-bottom:3px solid var(--red); }
  .site-logo { height:52px; }
  .live-buttons { gap:8px; }
  .live-buttons button { padding:8px 10px; font-size:12px; }

  .top-social { margin-left:0; margin-top:4px; flex-wrap:wrap; justify-content:flex-start; }
  .top-extra { width:100%; margin-top:6px; justify-content:flex-start; gap:10px; }
  .top-actions { width:100%; margin-top:6px; }
  .search-wrap { width:100%; display:flex; align-items:center; gap:6px; }
  .search-wrap input { flex:1; min-width:0; }

  .ads-slot { justify-content:center; flex-wrap:wrap; padding:8px 0; }
  .ad-banner { max-width:100%; }

  .nav-menu ul { justify-content:flex-start; overflow-x:auto; padding:8px 10px; gap:8px; }
  .nav-menu li a { padding:6px 10px; font-size:13px; white-space:nowrap; }

  .breaking { padding:8px 12px; font-size:13px; }
  .hero { padding:18px 0; }
  .hero-main-card { height:260px; }
  .hero-main-card .hero-overlay { padding:14px; }
  .hero-main-card h2 { font-size:20px; }
  .hero-main-card .lead { max-width:100%; font-size:14px; }

  .hero-side { grid-template-columns: 1fr; }
  .side-card img { width:110px; height:72px; }

  .grid { grid-template-columns: 1fr; gap:14px; }
  .card img, .news-card img { height:190px; }

  .article-page { grid-template-columns: 1fr; padding:18px 0; }
  .single-img { height:260px; }
  .single-title { font-size:22px; }
  .single-body { font-size:16px; }

  .footer-grid { flex-direction:column; gap:18px; align-items:flex-start; }
  .footer-right { align-items:flex-end; justify-content:flex-end; }
}

/* small final tweaks */
.section-head h2 { color: #000 !important; }