/*
Theme Name: Wishrayak
Theme URI: https://wishrayak.com
Description: Modern pop culture news theme — Sports, Gaming, Films, Music. English & Arabic.
Author: Wishrayak
Version: 4.0
Text Domain: wishrayak
*/

/* =========================================================
   VARIABLES
   ========================================================= */
:root {
  --accent:    #ff3b30;
  --sports:    #ff6d00;
  --gaming:    #7c3aed;
  --films:     #e50914;
  --music:     #1db954;
  --arabic:    #f59e0b;

  /* Dark site */
  --bg:        #0a0a0a;
  --bg2:       #111111;
  --bg3:       #191919;
  --card:      #141414;
  --card-hover:#1c1c1c;
  --text:      #e8e8e8;
  --text-dim:  #aaaaaa;
  --muted:     #666666;
  --border:    #242424;
  --radius:    8px;

  /* White header */
  --header-bg:    #ffffff;
  --header-text:  #111111;
  --header-muted: #555555;
  --header-border:#e5e5e5;
  --header-sub:   #f5f5f5;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================================================
   BREAKING BAR
   ========================================================= */
.breaking-bar {
  background: var(--accent);
  padding: 7px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.breaking-label {
  background: #fff;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin: 0 16px;
  flex-shrink: 0;
}
.ticker-overflow { overflow: hidden; flex: 1; }
.ticker-track { display: flex; animation: ticker 42s linear infinite; white-space: nowrap; }
.ticker-track a { color: #fff; font-size: 0.82rem; font-weight: 600; padding-right: 64px; }
.ticker-track a:hover { text-decoration: underline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   HEADER — WHITE, 2 rows
   ========================================================= */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 0 var(--header-border), 0 4px 20px rgba(0,0,0,0.12);
}

/* Row 1 */
.header-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
}
.site-logo a {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--header-text);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 3px;
}
.logo-accent { color: var(--accent); }
.logo-dot {
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 2px;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.search-wrap { position: relative; }
.search-wrap input {
  background: #f3f3f3;
  border: 1.5px solid #e0e0e0;
  color: var(--header-text);
  padding: 8px 36px 8px 14px;
  border-radius: 22px;
  font-size: 0.82rem;
  width: 200px;
  outline: none;
  transition: all 0.25s;
}
.search-wrap input::placeholder { color: #aaa; }
.search-wrap input:focus { width: 240px; border-color: var(--accent); background: #fff; }
.search-wrap svg { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); opacity: 0.4; pointer-events: none; }

/* Row 2 — category nav */
.header-row2 {
  background: var(--header-sub);
  border-top: 1px solid var(--header-border);
}
.cat-nav {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}
.cat-nav a {
  color: var(--header-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 15px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-nav a:hover                        { color: var(--header-text); }
.cat-nav a.home-link:hover              { border-bottom-color: #ccc; }
.cat-nav a.sports:hover                 { color: var(--sports); border-bottom-color: var(--sports); }
.cat-nav a.gaming:hover                 { color: var(--gaming); border-bottom-color: var(--gaming); }
.cat-nav a.films:hover                  { color: var(--films);  border-bottom-color: var(--films);  }
.cat-nav a.music:hover                  { color: var(--music);  border-bottom-color: var(--music);  }
.cat-nav a.arabic-link {
  margin-left: auto;
  color: var(--arabic);
  border: 1.5px solid var(--arabic);
  border-bottom: 1.5px solid var(--arabic);
  border-radius: 5px;
  padding: 5px 13px;
  margin-top: 7px;
  margin-bottom: 7px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
}
.cat-nav a.arabic-link:hover { background: var(--arabic); color: #000; border-bottom-color: var(--arabic); }

/* =========================================================
   LAYOUT
   ========================================================= */
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* =========================================================
   HERO — IGN style
   ========================================================= */
.hero-section { background: #000; }
.hero-grid { display: grid; grid-template-columns: 1fr 360px; min-height: 540px; }

.hero-main { position: relative; overflow: hidden; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; min-height: 540px; transition: transform 8s ease; }
.hero-main:hover img { transform: scale(1.03); }
.hero-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.45) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px 40px;
}
.hero-main-overlay h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.16;
  margin: 10px 0 14px;
  letter-spacing: -0.025em;
  max-width: 680px;
}
.hero-main-overlay h2 a { color: #fff; }
.hero-main-overlay h2 a:hover { color: #e0e0e0; }
.hero-excerpt { color: #c8c8c8; font-size: 0.95rem; line-height: 1.65; margin-bottom: 16px; max-width: 580px; }
.hero-meta-row { color: #777; font-size: 0.78rem; display: flex; gap: 12px; align-items: center; }

/* Hero stack */
.hero-stack { display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,0.06); background: #0a0a0a; }
.hero-stack-item {
  display: flex; gap: 14px; padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex: 1; transition: background 0.18s;
  align-items: flex-start;
}
.hero-stack-item:hover { background: rgba(255,255,255,0.04); }
.hero-stack-item:last-child { border-bottom: none; }
.stack-img-wrap { width: 96px; height: 65px; border-radius: 5px; overflow: hidden; flex-shrink: 0; background: #222; }
.stack-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.stack-title { font-size: 0.83rem; font-weight: 700; line-height: 1.35; color: #d8d8d8; }
.stack-title a { color: #d8d8d8; }
.stack-title a:hover { color: #fff; }
.stack-meta { font-size: 0.7rem; color: #555; margin-top: 6px; }

/* =========================================================
   CATEGORY TAGS
   ========================================================= */
.cat-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
}
.cat-tag.sports { background: var(--sports); }
.cat-tag.gaming { background: var(--gaming); }
.cat-tag.films  { background: var(--films); }
.cat-tag.music  { background: var(--music); color: #000; }
.cat-tag.arabic { background: var(--arabic); color: #000; }

/* =========================================================
   POST CARDS — dark
   ========================================================= */
.post-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.post-card:hover { transform: translateY(-4px); border-color: #333; box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; background: var(--bg3); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .card-thumb img { transform: scale(1.06); }
.card-thumb .cat-tag { position: absolute; top: 10px; left: 10px; z-index: 1; }
.card-no-img { aspect-ratio: 16/9; background: var(--bg3); display: flex; align-items: center; justify-content: center; color: #333; font-size: 1.8rem; }
.card-body { padding: 15px 17px 17px; flex: 1; display: flex; flex-direction: column; }
.card-title {
  font-size: 0.92rem; font-weight: 800; line-height: 1.38;
  margin-bottom: 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title a { color: var(--text); transition: color 0.18s; }
.card-title a:hover { color: var(--accent); }
.card-meta {
  font-size: 0.72rem; color: var(--muted);
  display: flex; gap: 10px; align-items: center;
  margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.section-title-wrap { display: flex; align-items: center; gap: 12px; }
.section-bar { width: 4px; height: 26px; border-radius: 2px; background: var(--accent); flex-shrink: 0; }
.section-bar.sports { background: var(--sports); }
.section-bar.gaming { background: var(--gaming); }
.section-bar.films  { background: var(--films); }
.section-bar.music  { background: var(--music); }
.section-bar.arabic { background: var(--arabic); }
.section-title { font-size: 1.05rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); }
.view-all { font-size: 0.76rem; font-weight: 700; color: var(--muted); transition: color 0.18s; }
.view-all:hover { color: var(--accent); }
.view-all::after { content: ' →'; }

/* =========================================================
   GRIDS
   ========================================================= */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.page-section { margin-bottom: 52px; }
.divider { height: 1px; background: var(--border); margin: 8px 0 44px; }

/* =========================================================
   SINGLE POST
   ========================================================= */
.single-wrap { max-width: 1260px; margin: 0 auto; padding: 36px 24px 80px; }
.single-layout { display: grid; grid-template-columns: 1fr 290px; gap: 48px; align-items: start; }
.single-hero-img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.post-cat-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.post-h1 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 900; line-height: 1.16; letter-spacing: -0.025em; margin-bottom: 18px; color: var(--text); }
.post-meta-bar { display: flex; gap: 16px; font-size: 0.8rem; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 28px; flex-wrap: wrap; }
.post-meta-bar time { font-weight: 700; color: var(--text-dim); }
.post-body { font-size: 1.06rem; line-height: 1.85; color: #c8c8c8; }
.post-body p { margin-bottom: 1.5em; }
.post-body h2 { font-size: 1.4rem; font-weight: 800; margin: 2em 0 0.7em; color: var(--text); }
.post-body h3 { font-size: 1.15rem; font-weight: 800; margin: 1.6em 0 0.6em; color: var(--text); }
.post-body a { color: var(--accent); }
.post-body a:hover { text-decoration: underline; }

/* RTL */
.post-rtl { direction: rtl; text-align: right; }
.post-rtl .post-body { font-family: 'Cairo', sans-serif; font-size: 1.1rem; line-height: 2; }

/* Sidebar */
.single-sidebar { position: sticky; top: 90px; }
.sidebar-block { background: var(--card); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; border: 1px solid var(--border); }
.sidebar-block-hd { background: var(--bg3); color: var(--text-dim); padding: 9px 14px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.sp-item { display: flex; gap: 11px; padding: 12px 13px; border-bottom: 1px solid var(--border); transition: background 0.18s; }
.sp-item:last-child { border-bottom: none; }
.sp-item:hover { background: var(--bg3); }
.sp-img { width: 68px; height: 50px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sp-title { font-size: 0.78rem; font-weight: 700; line-height: 1.35; color: var(--text); }
.sp-title:hover { color: var(--accent); }
.sp-meta { font-size: 0.68rem; color: var(--muted); margin-top: 4px; }
.cat-pills { padding: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.cat-pills a { padding: 5px 11px; border-radius: 4px; font-size: 0.73rem; font-weight: 700; background: var(--bg3); color: var(--text-dim); border: 1px solid var(--border); transition: all 0.18s; }
.cat-pills a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Related */
.related-section { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }

/* =========================================================
   ARCHIVE
   ========================================================= */
.archive-banner { background: #000; padding: 52px 0 40px; margin-bottom: 40px; }
.archive-banner-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 22px; }
.archive-cat-bar { width: 6px; height: 56px; border-radius: 3px; flex-shrink: 0; }
.archive-banner h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: #fff; }
.archive-count { font-size: 0.82rem; color: #555; margin-top: 6px; }

/* =========================================================
   ARABIC PAGE
   ========================================================= */
.arabic-page { direction: rtl; font-family: 'Cairo', sans-serif; }
.arabic-hero-banner {
  background: linear-gradient(135deg, #1a1000 0%, #0a0a0a 100%);
  border-bottom: 3px solid var(--arabic);
  padding: 44px 0;
  margin-bottom: 40px;
  text-align: right;
}
.arabic-hero-banner h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: #fff; }
.arabic-hero-banner p  { color: #999; margin-top: 8px; font-size: 1rem; }
.arabic-cat-nav { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; justify-content: flex-end; }
.arabic-cat-nav a { padding: 7px 18px; border-radius: 5px; font-size: 0.85rem; font-weight: 700; background: var(--bg3); color: var(--text-dim); border: 1px solid var(--border); transition: all 0.2s; }
.arabic-cat-nav a:hover { background: var(--arabic); color: #000; border-color: var(--arabic); }

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 44px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 0.85rem; font-weight: 700;
  background: var(--card); color: var(--text); border: 1px solid var(--border); transition: all 0.2s;
}
.pagination .current, .pagination a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* =========================================================
   404
   ========================================================= */
.page-404 { text-align: center; padding: 100px 24px; }
.page-404 .big-num { font-size: 9rem; font-weight: 900; color: var(--accent); line-height: 1; }
.page-404 h2 { font-size: 1.8rem; margin: 12px 0 16px; }
.page-404 p { color: var(--muted); margin-bottom: 32px; }
.btn-primary { display: inline-block; padding: 13px 32px; background: var(--accent); color: #fff; border-radius: 6px; font-weight: 800; font-size: 0.88rem; letter-spacing: 0.03em; text-transform: uppercase; transition: opacity 0.2s, transform 0.2s; }
.btn-primary:hover { opacity: 0.87; transform: translateY(-2px); }

/* =========================================================
   FOOTER — dark
   ========================================================= */
.site-footer { background: #000; color: #555; margin-top: 70px; border-top: 1px solid var(--border); }
.footer-top { padding: 50px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 40px; max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.f-logo { font-size: 1.9rem; font-weight: 900; color: #fff; letter-spacing: -0.04em; text-transform: uppercase; margin-bottom: 13px; }
.f-logo span { color: var(--accent); }
.footer-about p { font-size: 0.83rem; line-height: 1.75; max-width: 280px; }
.footer-col h6 { font-size: 0.65rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; color: #888; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.82rem; transition: color 0.18s; }
.footer-col ul li a:hover { color: #e8e8e8; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; max-width: 1300px; margin: 0 auto; font-size: 0.75rem; }
.footer-bottom a { color: var(--accent); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 300px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stack { display: none; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cat-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 0; }
  .cat-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-main-overlay { padding: 22px; }
  .header-row1 { padding: 0 16px; }
  .search-wrap { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* =========================================================
   LOGO
   ========================================================= */
.site-logo a { display:flex; align-items:center; }
.site-logo svg,
.site-logo img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
/* Custom logo wrapper WP adds */
.site-logo .custom-logo-link { display:flex; align-items:center; }
.site-logo .custom-logo { height:52px; width:auto; max-width:180px; }

/* Text fallback */
.text-logo { font-size:1.9rem; font-weight:900; letter-spacing:-0.05em; text-transform:uppercase; color:var(--header-text); }
.text-logo .logo-accent { color:var(--accent); }

/* =========================================================
   READING PROGRESS BAR
   ========================================================= */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 4px 16px rgba(255,59,48,0.4);
}
#back-to-top.btt-visible { opacity:1; transform:translateY(0); }
#back-to-top:hover { background:#e0302a; }

/* =========================================================
   HAMBURGER BUTTON (mobile)
   ========================================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--header-text);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   MOBILE NAV OVERLAY
   ========================================================= */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
  backdrop-filter: blur(4px);
}
.mobile-overlay.open { opacity:1; pointer-events:all; }
.mobile-nav-inner {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 85vw);
  background: #fff;
  padding: 28px 24px 40px;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-overlay.open .mobile-nav-inner { transform: translateX(0); }
.mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #555;
  cursor: pointer;
  padding: 4px 8px;
  margin-bottom: 12px;
}
.mobile-logo { display:block; margin-bottom:28px; }
.mobile-logo svg, .mobile-logo img { height:56px; width:auto; }
.mobile-links { display:flex; flex-direction:column; gap:4px; }
.mobile-links a {
  display: block;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s;
}
.mobile-links a:hover       { background:#f5f5f5; }
.mobile-links a.sports:hover { background:#fff3e0; color:var(--sports); }
.mobile-links a.gaming:hover { background:#f3eeff; color:var(--gaming); }
.mobile-links a.films:hover  { background:#ffeaec; color:var(--films);  }
.mobile-links a.music:hover  { background:#e8faf1; color:var(--music);  }
.mobile-links a.arabic-mobile {
  margin-top:16px;
  color: var(--arabic);
  border: 1.5px solid var(--arabic);
  text-align:center;
  font-family:'Cairo',sans-serif;
}

/* =========================================================
   LIVE SEARCH DROPDOWN
   ========================================================= */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--header-border);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  z-index: 800;
  overflow: hidden;
  animation: dropIn 0.18s ease;
}
@keyframes dropIn { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.sd-item {
  display: block;
  padding: 11px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-item:hover { background: #f8f8f8; }
.sd-all {
  display:block; padding:10px 16px;
  font-size:0.78rem; font-weight:700;
  color: var(--accent); text-align:center;
}
.sd-all:hover { background:#fff5f5; }

/* =========================================================
   SOCIAL SHARE BAR
   ========================================================= */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.share-label { font-size:0.78rem; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:0.06em; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  gap: 6px;
  text-decoration: none;
}
.share-btn:hover { opacity:0.88; transform:translateY(-2px); }
.share-x  { background:#000; }
.share-fb { background:#1877f2; }
.share-wa { background:#25d366; }
.share-copy { background:var(--bg3); color:var(--text-dim); border:1px solid var(--border); }
.share-copy.copied { background:var(--music); color:#000; }

/* =========================================================
   READ TIME BADGE
   ========================================================= */
.read-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg3);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* =========================================================
   "NEW" BADGE on cards
   ========================================================= */
.new-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 6px;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; } 50% { opacity:0.65; }
}

/* =========================================================
   RESPONSIVE — show hamburger on mobile
   ========================================================= */
@media (max-width: 860px) {
  .hamburger { display:flex; }
  .header-row1 { justify-content:space-between; }
}
