@charset "utf-8";
/*
Theme Name: 24Hr News
Description: موقع إخباري احترافي متجاوب - نسخة محسّنة
Author: 24hrnews.net
Theme URI: https://24hrnews.net
Author URI: https://24hrnews.net
Version: 2.0.0
Requires PHP: 7.4
License: News Split Licence
Text Domain: 24hrnews
*/

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Cairo', sans-serif; direction: rtl; background: #f5f5f5; color: #1a1a1a; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: #e9172b; }
ul { list-style: none; margin: 0; padding: 0; }

/* ═══════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════ */
:root {
  --red:     #e9172b;
  --dark:    #082d48;
  --dark2:   #0c2461;
  --white:   #ffffff;
  --light:   #f5f5f5;
  --border:  #e0e0e0;
  --text:    #1a1a1a;
  --muted:   #666666;
  --shadow:  0 2px 8px rgba(0,0,0,.08);
  --radius:  6px;
}

/* ═══════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════ */
.t_topbar {
  background: var(--dark);
  padding: 0 15px;
  height: 38px;
  display: flex;
  align-items: center;
}
.t_topbar .container-fluid { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.today_date {
  color: #fff;
  font-size: 12px;
  background: #e9172b;
  padding: 4px 12px;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  margin-top: -1px;
}
.today_time { color: #ccc; font-size: 13px; padding: 0 12px; }
.topbar-right { display: flex; align-items: center; gap: 4px; }
.social-top { display: flex; gap: 2px; }
.social-top li { display: inline-flex; }
.social-top a { color: #aaa; font-size: 17px; padding: 5px 7px; border-radius: 3px; transition: all .2s; }
.social-top a:hover { color: #fff; background: var(--red); }

/* ═══════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════ */
.top-menu { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 1000; }
.header { width: 100%; background: #fff; }
.navbar { padding: 0 15px; min-height: 60px; }
.logo-header { flex-shrink: 0; }
.logo-header img { max-height: 46px; width: auto; }

/* Nav links */
.navbar-nav { gap: 2px; }
.navbar-nav .nav-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--dark) !important;
  padding: 6px 12px !important;
  border-radius: 4px;
  white-space: nowrap;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--red) !important; }

/* Active category highlight */
.navbar-nav .nav-item:first-child .nav-link {
  background: var(--red);
  color: #fff !important;
  border-radius: 4px;
}
.navbar-nav .nav-item:first-child .nav-link:hover { background: #c0111e; color: #fff !important; }

/* Dropdown */
.dropdown-menu { left: auto !important; right: 0; min-width: 160px; border: none; box-shadow: 0 4px 15px rgba(0,0,0,.12); border-radius: 6px; padding: 6px 0; }
.dropdown-item { font-family: 'Cairo', sans-serif; font-size: 13px; padding: 8px 16px; text-align: right; color: var(--dark); }
.dropdown-item:hover { background: var(--red); color: #fff; }

/* Search */
.search-form { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-right: 10px; }
.search-form input { border: none; outline: none; padding: 6px 12px; font-family: 'Cairo', sans-serif; font-size: 13px; width: 180px; }
.search-form button { background: var(--red); color: #fff; border: none; padding: 6px 14px; cursor: pointer; font-family: 'Cairo', sans-serif; font-size: 13px; font-weight: 600; transition: background .2s; }
.search-form button:hover { background: #c0111e; }

/* Mobile toggle */
.navbar-toggler { border: 1px solid var(--border); padding: 6px 10px; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(8,45,72,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ═══════════════════════════════════════════
   BREAKING NEWS TICKER
═══════════════════════════════════════════ */
.bn-slider {
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
}
.bn-slider .container-fluid { display: flex; align-items: center; }
.breaking-news {
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  white-space: nowrap;
}
.breaking-news i { font-size: 14px; }
.carousel-breaking-news { flex: 1; overflow: hidden; }
.carousel-item a { font-size: 13px; color: var(--dark); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; padding: 0 12px; }
.carousel-item a:hover { color: var(--red); }
.slider-caption-class { margin: 0; }
.next-breaking-news, .prev-breaking-news {
  background: #f0f0f0;
  color: var(--dark);
  width: 30px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 1;
  transition: background .2s;
  position: relative;
}
.next-breaking-news:hover, .prev-breaking-news:hover { background: var(--red); color: #fff; }
.next-breaking-news { left: auto !important; right: auto; }

/* ═══════════════════════════════════════════
   FEATURED SECTION
═══════════════════════════════════════════ */
.featured {
  padding: 20px 0;
  background: #fff;
  margin-bottom: 0;
  min-height: auto;
}
.featured-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 460px;
}
.featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.featured-main:hover img { transform: scale(1.03); }
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.featured-info {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 20px;
  color: #fff;
}
.featured-cat {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 3px;
  margin-bottom: 8px;
  text-decoration: none;
}
.featured-cat:hover { background: #c0111e; color: #fff; }
.featured-info h2 { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: #fff; }
.featured-info h2 a { color: #fff; }
.featured-info h2 a:hover { color: #ffd; }
.featured-meta { font-size: 12px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 6px; }

/* Featured small cards */
.featured-small { position: relative; overflow: hidden; border-radius: var(--radius); height: 220px; }
.featured-small img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.featured-small:hover img { transform: scale(1.04); }
.featured-small-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%); }
.featured-small-info { position: absolute; bottom: 0; right: 0; left: 0; padding: 12px; }
.featured-small-info .cat-label { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; margin-bottom: 6px; display: inline-block; }
.featured-small-info h4 { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.4; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.featured-small-info h4 a { color: #fff; }
.featured-small-meta { font-size: 11px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ═══════════════════════════════════════════
   SECTION TITLES
═══════════════════════════════════════════ */
.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  border-right: 4px solid var(--red);
  padding-right: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title a { font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--border); padding: 3px 10px; border-radius: 4px; }
.section-title a:hover { color: var(--red); border-color: var(--red); }

.head-gnews {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  border-right: 4px solid var(--red);
  padding-right: 12px;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════
   NEWS CARD (STANDARD)
═══════════════════════════════════════════ */
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.news-card-img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-cat {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  z-index: 2;
}
.news-card-cat a { color: #fff; }
.news-card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.news-card-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 8px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; flex: 1; }
.news-card-title a { color: var(--text); }
.news-card-title a:hover { color: var(--red); }
.news-card-meta { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.news-card-meta i { color: var(--red); margin-left: 3px; }

/* List card (horizontal) */
.news-list-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; align-items: flex-start; }
.news-list-item:last-child { border-bottom: none; }
.news-list-thumb { flex-shrink: 0; width: 90px; height: 65px; border-radius: 4px; overflow: hidden; }
.news-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list-body { flex: 1; }
.news-list-cat { font-size: 11px; font-weight: 700; color: var(--red); margin-bottom: 4px; }
.news-list-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 4px; }
.news-list-title a { color: var(--text); }
.news-list-title a:hover { color: var(--red); }
.news-list-meta { font-size: 11px; color: var(--muted); }

/* ═══════════════════════════════════════════
   LATEST NEWS SECTION
═══════════════════════════════════════════ */
.latest-news-section { background: #fff; padding: 20px 0; margin-bottom: 20px; }

/* Breaking news list with big card + sidebar */
.latest-main-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.latest-main-img { position: relative; overflow: hidden; height: 280px; }
.latest-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.latest-main-card:hover .latest-main-img img { transform: scale(1.03); }
.latest-main-body { padding: 16px; }
.latest-main-body h3 { font-size: 18px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.latest-main-body h3 a { color: var(--text); }
.latest-main-body h3 a:hover { color: var(--red); }
.latest-main-body p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* Latest list items */
.latest-list { display: flex; flex-direction: column; gap: 0; }
.latest-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}
.latest-item:last-child { border-bottom: none; }
.latest-item-img { flex-shrink: 0; width: 80px; height: 58px; border-radius: 4px; overflow: hidden; }
.latest-item-img img { width: 100%; height: 100%; object-fit: cover; }
.latest-item-body { flex: 1; }
.latest-item-cat { font-size: 11px; font-weight: 700; color: var(--red); }
.latest-item-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.latest-item-title a:hover { color: var(--red); }
.latest-item-time { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ═══════════════════════════════════════════
   SPORT SECTION
═══════════════════════════════════════════ */
.sport-section { padding: 20px 0; background: #fff; margin-bottom: 20px; }
.head-sport {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  border-right: 4px solid var(--red);
  padding-right: 12px;
  margin-bottom: 15px;
}
.head-sport a { color: var(--dark); }
.head-sport a:hover { color: var(--red); }

/* Sport tabs */
.sport-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.sport-tab-btn {
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  transition: all .2s;
}
.sport-tab-btn.active, .sport-tab-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ═══════════════════════════════════════════
   VIDEO SECTION
═══════════════════════════════════════════ */
.video-section { padding: 20px 0; background: #f5f5f5; margin-bottom: 20px; }
.t-video {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  border-right: 4px solid var(--red);
  padding-right: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-video a { color: var(--dark); }
.t-video a:hover { color: var(--red); }

.video-main-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-main-card img { width: 100%; height: 280px; object-fit: cover; opacity: .85; transition: opacity .3s; }
.video-main-card:hover img { opacity: 1; }
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(233,23,43,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  transition: transform .2s, background .2s;
}
.video-main-card:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); background: var(--red); }
.video-main-title { padding: 10px 0; font-size: 15px; font-weight: 700; color: var(--text); }
.video-main-title a { color: var(--text); }
.video-main-title a:hover { color: var(--red); }

.video-list-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #e8e8e8; align-items: center; }
.video-list-item:last-child { border-bottom: none; }
.video-list-thumb { position: relative; flex-shrink: 0; width: 110px; height: 68px; border-radius: 4px; overflow: hidden; }
.video-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play-sm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  color: #fff;
  font-size: 20px;
  transition: background .2s;
}
.video-list-item:hover .video-play-sm { background: rgba(233,23,43,.7); }
.video-list-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.video-list-title a { color: var(--text); }
.video-list-title a:hover { color: var(--red); }
.video-list-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ═══════════════════════════════════════════
   COLLECTION / TABS SECTION
═══════════════════════════════════════════ */
.collection-section { padding: 20px 0; background: #fff; margin-bottom: 20px; }
.head-collection {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  border-right: 4px solid var(--red);
  padding-right: 12px;
  margin-bottom: 16px;
}
.nav-pills .nav-link {
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  border-radius: 4px;
  padding: 5px 16px;
  border: 1px solid var(--border);
  margin-left: 4px;
  transition: all .2s;
}
.nav-pills .nav-link.active { background: var(--red); color: #fff; border-color: var(--red); }
.nav-pills .nav-link:hover { background: var(--red); color: #fff; border-color: var(--red); }

.collec-news { margin-bottom: 16px; }
.collec-news .thumb { border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
.collec-news .thumb img { width: 100%; height: 180px; object-fit: cover; }
.collec-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 6px; }
.collec-title a:hover { color: var(--red); }

.title-collec { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 4px; }
.title-collec a:hover { color: var(--red); }

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.sidebar { padding: 0; }
.sidebar .widget-content { margin-bottom: 20px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sidebar .head-gnews { font-size: 16px; padding: 14px 16px 10px; border-bottom: 2px solid var(--red); margin-bottom: 0; border-right: none; background: var(--dark); color: #fff; }

/* Popular posts widget */
.popular-posts-widget { padding: 10px 14px; }
.popular-post-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f5f5f5; align-items: flex-start; }
.popular-post-item:last-child { border-bottom: none; }
.popular-post-num { flex-shrink: 0; width: 28px; height: 28px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-top: 2px; }
.popular-post-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.popular-post-title a { color: var(--text); }
.popular-post-title a:hover { color: var(--red); }

/* ═══════════════════════════════════════════
   CATEGORY PAGE
═══════════════════════════════════════════ */
.cat-page-header { background: var(--dark); color: #fff; padding: 20px 0; margin-bottom: 24px; }
.cat-page-header h1 { font-size: 24px; font-weight: 800; border-right: 4px solid var(--red); padding-right: 14px; }
.cat-page-header .number-cat { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; display: block; }

.cat-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px; transition: transform .2s; }
.cat-card:hover { transform: translateY(-3px); }
.cat-card-img { position: relative; overflow: hidden; }
.cat-card-img img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-label { position: absolute; top: 8px; right: 8px; }
.cat-card-label a { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; }
.cat-card-body { padding: 14px; }
.cat-card-body h4 { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 8px; }
.cat-card-body h4 a { color: var(--text); }
.cat-card-body h4 a:hover { color: var(--red); }
.cat-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 10px; }

/* Pagination */
.news-pagination { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.btn-page {
  background: var(--red);
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
}
.btn-page:hover { background: #c0111e; color: #fff; }
.btn-page-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}
.btn-page-outline:hover { border-color: var(--red); color: var(--red); }

/* ═══════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════ */
.breadcrumb-single-post { background: #f5f5f5; border-bottom: 1px solid var(--border); padding: 10px 0; font-size: 12px; color: var(--muted); }
.breadcrumb-single-post a { color: var(--muted); }
.breadcrumb-single-post a:hover { color: var(--red); }
.breadcrumb-sep { margin: 0 6px; }

.single-wrapper { padding: 24px 0; }
.single-main { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding: 24px; }

.single-cat-label {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.single-cat-label a { color: #fff; }

.single-title { font-size: 24px; font-weight: 800; color: var(--dark); line-height: 1.4; margin-bottom: 14px; }

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
  align-items: center;
}
.single-meta i { color: var(--red); margin-left: 4px; }
.single-source-credit { font-weight: 600; color: var(--dark); }

/* Featured image */
.single-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.single-featured-img img { width: 100%; max-height: 460px; object-fit: cover; }
.single-featured-img figcaption { font-size: 12px; color: var(--muted); text-align: center; padding: 6px; background: #f9f9f9; }

/* Post content */
.content-post { font-size: 15px; line-height: 1.9; color: #222; }
.content-post p { margin-bottom: 16px; }
.content-post h2 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 24px 0 12px; border-right: 3px solid var(--red); padding-right: 10px; }
.content-post h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 20px 0 10px; }
.content-post img { border-radius: 6px; margin: 12px auto; max-width: 100%; height: auto; }
.content-post blockquote { background: #f9f9f9; border-right: 4px solid var(--red); padding: 14px 18px; margin: 16px 0; border-radius: 0 6px 6px 0; font-style: italic; color: #444; }
.content-post a { color: var(--red); text-decoration: underline; }
.content-post ul, .content-post ol { padding-right: 24px; margin-bottom: 16px; }
.content-post li { margin-bottom: 6px; }

/* Video embed responsive */
.content-post iframe,
.single-main iframe {
  max-width: 100%;
  border-radius: 6px;
  margin: 12px 0;
}
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 6px; margin: 16px 0; }
.video-responsive iframe { position: absolute; top: 0; right: 0; width: 100%; height: 100%; border: none; }

/* Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.tag-item { background: #f5f5f5; border: 1px solid var(--border); color: var(--dark); font-size: 12px; padding: 4px 12px; border-radius: 3px; transition: all .2s; }
.tag-item:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Share */
.share-bar { display: flex; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid #f0f0f0; flex-wrap: wrap; }
.share-label { font-size: 13px; font-weight: 700; color: var(--dark); }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; transition: opacity .2s; }
.share-btn:hover { opacity: .85; color: #fff; }
.share-fb  { background: #1877f2; color: #fff; }
.share-tw  { background: #1da1f2; color: #fff; }
.share-wa  { background: #25d366; color: #fff; }
.share-cp  { background: #666; color: #fff; }

/* Related */
.related-section { margin-top: 24px; }
.related-section .section-title { font-size: 16px; }
.related-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.related-card-img { overflow: hidden; }
.related-card-img img { width: 100%; height: 140px; object-fit: cover; transition: transform .3s; }
.related-card:hover .related-card-img img { transform: scale(1.04); }
.related-card-body { padding: 10px 12px; }
.related-card-cat { font-size: 11px; font-weight: 700; color: var(--red); margin-bottom: 4px; }
.related-card-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.related-card-title a { color: var(--text); }
.related-card-title a:hover { color: var(--red); }
.related-card-date { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* ═══════════════════════════════════════════
   TAG PAGE
═══════════════════════════════════════════ */
.tag-page-header { padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tag-page-header h1 { font-size: 22px; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 10px; }
.tag-page-header h1 i { color: var(--red); font-size: 18px; }
.tag-card { display: flex; gap: 12px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 14px; padding: 10px; align-items: center; transition: transform .2s; }
.tag-card:hover { transform: translateY(-2px); }
.tag-card-img { flex-shrink: 0; width: 100px; height: 72px; border-radius: 4px; overflow: hidden; }
.tag-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag-card-body { flex: 1; }
.tag-card-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tag-card-title a { color: var(--text); }
.tag-card-title a:hover { color: var(--red); }
.tag-card-meta { font-size: 11px; color: var(--muted); margin-top: 4px; display: flex; gap: 10px; }

/* ═══════════════════════════════════════════
   SEARCH
═══════════════════════════════════════════ */
.search-header { padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.search-header h1 { font-size: 20px; font-weight: 700; color: var(--dark); }
.search-header span { color: var(--red); }
.not-found-text { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 16px; }

/* ═══════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════ */
.newsletter-section {
  background: var(--dark);
  padding: 40px 0;
  margin: 20px 0 0;
}
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.newsletter-text h4 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.newsletter-text p { font-size: 14px; color: rgba(255,255,255,.7); }
.newsletter-form { display: flex; gap: 0; border-radius: 6px; overflow: hidden; flex: 0 1 420px; }
.newsletter-form input { flex: 1; border: none; padding: 12px 16px; font-family: 'Cairo', sans-serif; font-size: 14px; outline: none; }
.newsletter-form button { background: var(--red); color: #fff; border: none; padding: 12px 24px; font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; white-space: nowrap; }
.newsletter-form button:hover { background: #c0111e; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer-top { background: #0a1628; padding: 40px 0 20px; }
.footer-logo img { max-height: 50px; margin-bottom: 12px; }
.footer-about { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 15px; transition: all .2s; }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }

.footer-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; border-bottom: 2px solid var(--red); padding-bottom: 8px; }
.footer-menu { display: flex; flex-direction: column; gap: 8px; }
.footer-menu li a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .2s; display: flex; align-items: center; gap: 6px; }
.footer-menu li a:before { content: '◂'; color: var(--red); font-size: 10px; }
.footer-menu li a:hover { color: #fff; }

.footer-bottom { background: #060e1c; padding: 14px 0; }
.footer-bottom .copy { font-size: 12px; color: rgba(255,255,255,.4); text-align: center; }
.footer-bottom .copy span { color: var(--red); }

/* ═══════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════ */
#scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(233,23,43,.4);
  transition: background .2s, transform .2s;
}
#scroll-top:hover { background: #c0111e; transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   WHITE SCREEN FIX — preloader
═══════════════════════════════════════════ */
#page-preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease;
}
#page-preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-spinner {
  width: 40px; height: 40px;
  border: 3px solid #f0f0f0;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.text-red { color: var(--red); }
.bg-white { background: #fff; }
.section-wrap { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 991px) {
  .featured-main { height: 340px; }
  .featured-info h2 { font-size: 16px; }
  .section-title { font-size: 17px; }
  .single-title { font-size: 20px; }
}

@media (max-width: 767px) {
  .t_topbar { height: auto; padding: 6px 12px; }
  .today_date { font-size: 11px; padding: 3px 8px; }
  .today_time { font-size: 11px; }
  .social-top a { font-size: 15px; padding: 4px 5px; }
  .featured-main { height: 260px; }
  .featured-info h2 { font-size: 14px; }
  .featured-small { height: 170px; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex: 0 1 100%; width: 100%; }
  .news-list-thumb { width: 70px; height: 52px; }
  .video-main-card img { height: 200px; }
  .single-title { font-size: 18px; }
  .content-post { font-size: 14px; }
  .search-form input { width: 120px; }
}

@media (max-width: 575px) {
  .featured-main { height: 220px; }
  .featured-info h2 { font-size: 13px; }
  .single-meta { gap: 10px; }
  .share-btn span { display: none; }
  .col-xs-12 { width: 100%; flex: 0 0 100%; max-width: 100%; }
}

/* ═══════════════════════════════════════════
   STICKY HEADER JS class
═══════════════════════════════════════════ */
.top-menu.is-sticky { box-shadow: 0 2px 12px rgba(0,0,0,.15); }
