.site-header {
  border-bottom: 1px solid #e6e6e6;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;
}

.main-nav a {
  margin-left: 18px;
  text-decoration: none;
  font-weight: 600;
  color: #111;
  font-size: 14px;
}

main.content {
  min-height: 60vh;
}
.main-nav a:hover {
  color: #0a58ca;
}
.site-footer {
  background: #111;
  color: #ddd;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  color: #bbb;
  font-size: 14px;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding: 14px;
  font-size: 13px;
  color: #aaa;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Section Bar (News Categories)
   ========================= */

.section-bar {
  background: #f8f8f8;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #ddd;
  padding: 10px 16px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
}

.section-bar a {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.section-bar a:hover {
  color: #0a58ca;
}

/* Mobile improvement */
@media (max-width: 768px) {
  .section-bar {
    gap: 14px;
  }
}
/* =========================
   Featured Top Story
   ========================= */

.featured-story {
  background: #f4f6f8;
  padding: 30px;
  border-left: 6px solid #0a58ca;
  margin: 30px 0;
}

.featured-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #0a58ca;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.featured-story h1 {
  font-size: 28px;
  margin: 12px 0;
  line-height: 1.3;
}

.featured-story h1 a {
  color: #111;
  text-decoration: none;
}

.featured-story h1 a:hover {
  color: #0a58ca;
}

.featured-story p {
  font-size: 16px;
  color: #444;
  max-width: 800px;
}
/* =========================
   HOMEPAGE – NEWS LAYOUT
   ========================= */

.home-hero {
  background: #f6f7f8;
  padding: 40px;
  border-left: 5px solid #0a58ca;
  margin-bottom: 40px;
}

.hero-label {
  display: inline-block;
  background: #0a58ca;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  margin-bottom: 12px;
}

.home-hero h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 10px 0;
}

.home-hero h1 a {
  text-decoration: none;
  color: #111;
}

.home-hero p {
  font-size: 16px;
  color: #444;
  max-width: 700px;
}

/* GRID */

.home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* LEFT */

.home-left h2 {
  border-bottom: 2px solid #111;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.news-item {
  margin-bottom: 24px;
}

.news-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.news-item h3 a {
  text-decoration: none;
  color: #111;
}

.news-item p {
  font-size: 14px;
  color: #555;
}

.news-meta {
  font-size: 12px;
  color: #888;
}

/* RIGHT */

.home-right h2 {
  border-bottom: 2px solid #111;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.section-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.section-list li {
  margin-bottom: 10px;
}

.section-list a {
  text-decoration: none;
  font-weight: 600;
  color: #0a58ca;
}

/* WRITE BOX */

.write-box {
  background: #111;
  color: #fff;
  padding: 20px;
}

.write-box h3 {
  margin-top: 0;
}

.write-box p {
  font-size: 14px;
}

.write-box .btn {
  display: inline-block;
  margin-top: 10px;
  background: #0a58ca;
  color: #fff;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
}

/* MOBILE */

@media (max-width: 768px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-hero h1 {
    font-size: 24px;
  }
}
/* =========================
   CATEGORY PAGE – NEWS CARDS
   ========================= */

.category-header {
  margin-bottom: 30px;
}

.category-header h1 {
  font-size: 32px;
  border-bottom: 3px solid #111;
  padding-bottom: 10px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.category-card {
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 20px;
}

.category-card h2 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.category-card h2 a {
  text-decoration: none;
  color: #111;
}

.category-card h2 a:hover {
  color: #0a58ca;
}

.category-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.category-meta {
  font-size: 12px;
  color: #888;
}

/* Mobile */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== HOMEPAGE ===== */

.homepage {
  max-width: 1200px;
  margin: auto;
}

/* Top Story */
.top-story {
  background: #f5f6f7;
  padding: 30px;
  margin-bottom: 40px;
  border-left: 5px solid #0a58ca;
}

.top-label {
  display: inline-block;
  background: #0a58ca;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  margin-bottom: 12px;
}

.top-story h1 {
  font-size: 32px;
  margin: 10px 0;
}

.top-story h1 a {
  text-decoration: none;
  color: #111;
}

.top-story p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* Latest News */
.latest-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 16px;
}

.news-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.news-card h3 a {
  text-decoration: none;
  color: #111;
}

.news-card p {
  font-size: 14px;
  color: #555;
}

.news-meta {
  font-size: 12px;
  color: #888;
}

/* ===== HOMEPAGE NEWS LAYOUT ===== */

.home-hero-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.hero-main {
  background: #f6f7f8;
  padding: 30px;
  border-left: 5px solid #0a58ca;
}

.hero-main h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 14px 0;
}

.hero-main p {
  font-size: 16px;
  color: #444;
}

.hero-label {
  background: #0a58ca;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  font-weight: bold;
}

.hero-side .side-story {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.hero-side h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.news-card {
  border-top: 3px solid #000;
  padding-top: 12px;
}

.news-card h3 {
  font-size: 18px;
  line-height: 1.3;
}

.news-meta {
  font-size: 13px;
  color: #777;
}

/* MOBILE */
@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .latest-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   HOMEPAGE – AL JAZEERA STYLE
   ========================= */

/* HERO / TOP STORY */
.home-hero {
  background: #f5f6f7;
  border-left: 5px solid #0a58ca;
  padding: 32px;
  margin-bottom: 40px;
}

.hero-label {
  display: inline-block;
  background: #0a58ca;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.home-hero h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 14px 0;
}

.home-hero h1 a {
  text-decoration: none;
  color: #111;
}

.home-hero p {
  font-size: 16px;
  color: #444;
  max-width: 700px;
}

/* GRID LAYOUT */
.home-grid {
  display: grid;
  grid-template-columns: 3fr 1.3fr;
  gap: 40px;
}

/* LEFT COLUMN – NEWS */
.home-left h2 {
  font-size: 22px;
  border-bottom: 2px solid #111;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.news-item {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
}

.news-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.news-item h3 a {
  text-decoration: none;
  color: #111;
}

.news-item h3 a:hover {
  color: #0a58ca;
}

.news-item p {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.news-meta {
  font-size: 12px;
  color: #888;
}

/* RIGHT COLUMN – SECTIONS */
.home-right h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.section-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.section-list li {
  margin-bottom: 10px;
}

.section-list a {
  text-decoration: none;
  font-weight: 600;
  color: #111;
}

.section-list a:hover {
  color: #0a58ca;
}

/* WRITE FOR US BOX */
.write-box {
  background: #111;
  color: #fff;
  padding: 20px;
}

.write-box h3 {
  margin-bottom: 8px;
}

.write-box p {
  font-size: 14px;
  margin-bottom: 12px;
}

.write-box .btn {
  display: inline-block;
  background: #0a58ca;
  color: #fff;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
}

/* MOBILE */
@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-hero h1 {
    font-size: 24px;
  }
}
/* HOME HERO */
.home-hero {
  background: #f6f7f8;
  padding: 30px;
  margin-bottom: 40px;
  border-left: 4px solid #0a58ca;
}

.hero-label {
  display: inline-block;
  background: #0a58ca;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  margin-bottom: 10px;
}

.hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 16px 0;
}

/* GRID */
.home-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
}

/* NEWS CARDS */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

/* RIGHT SIDEBAR */
.section-list {
  list-style: none;
  padding: 0;
}

.section-list li {
  margin-bottom: 8px;
}

.write-box {
  margin-top: 30px;
  padding: 16px;
  background: #f6f7f8;
  border-left: 3px solid #0a58ca;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  background: #0a58ca;
  color: #fff;
  padding: 8px 14px;
  text-decoration: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .news-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-height: 260px;
  }
}
/* =========================
   TRENDING BAR
   ========================= */

.trending-bar {
  background: #111;
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
}

.trending-bar strong {
  color: #ffcc00;
}

.trending-bar a {
  color: #fff;
  text-decoration: none;
}

.trending-bar a:hover {
  text-decoration: underline;
}

/* LIVE BADGE */

.live-link {
  color: #fff !important;
  background: #d0021b;
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
}
/* =========================
   CATEGORY BADGES
   ========================= */

.card-meta {
  margin-bottom: 6px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  margin-right: 6px;
  color: #fff;
  border-radius: 2px;
}

/* Category colors */
.category-ai-trends { background: #0a58ca; }
.category-cybersecurity { background: #6f42c1; }
.category-cloud-saas { background: #198754; }
.category-payment-solutions { background: #0d6efd; }
.category-crypto-updates { background: #f59e0b; color:#111; }
.category-gaming-industry { background: #dc3545; }
.category-live-streaming { background: #d0021b; }

/* LIVE badge */
.badge-live {
  background: #d0021b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 6px;
  margin-right: 6px;
  border-radius: 2px;
}

/* BREAKING STYLE (Top story emphasis) */
.home-hero {
  position: relative;
}

.home-hero::before {
  content: "BREAKING";
  position: absolute;
  top: 12px;
  right: 12px;
  background: #d0021b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
}
