@media (max-width: 768px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
  }
}

/* ================================
   Urdu Font – Jameel Noori Nastaleeq
   ================================ */
@font-face {
  font-family: 'Jameel Noori Nastaleeq';
  src: url('/fonts/jameel-noori/jameel-noori-nastaleeq-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  position: relative;
}

body {
  background-color: #f0f0f0;
  font-family: 'Jameel Noori Nastaleeq', serif;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 0 0.8rem rgba(0,0,0,0.1);
  padding: 0.4rem 2rem;
  box-sizing: border-box;
}

/* ================== TOPBAR ================== */
.topbarsocial {
  background-color: #F8F9FA;
  display: flex;
  flex-direction: column; /* desktop default: stacked rows */
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

/* ================== ROW 1 ================== */
.row1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap; /* wrap if needed */
}

/* LOGO */
.row1 .logo-link img {
  max-height: 35px;
  display: block;
}

/* SOCIAL ICONS */
.socialicons {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.socialicons a i {
  color: #1800ad;
  transition: transform 0.2s ease, color 0.3s ease;
}

.socialicons a:hover i {
  transform: scale(1.1);
  color: #084298;
}

/* SEARCH */
.search-container {
  position: relative;
  flex-shrink: 0;
}

.search-input {
  position: absolute;
  top: 35px;
  left: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 25px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 5;
  width: 150px;
  direction: rtl;
}

.search-input.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-input input {
  border: none;
  padding: 6px 10px;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  border-radius: 25px 0 0 25px;
  text-align: right;
}

.search-input button {
  background: #1800ad;
  color: #084298;
  border: none;
  padding: 6px 8px;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
}

/* ENG LINK */
.engnews {
  flex-shrink: 0;
  margin-left: auto; /* push to the far right */
}

.engnews .urdu-link {
  font-family: 'Arial', sans-serif;
  font-size: 1.3rem;
  text-decoration: none;
  color: #1800ad;
  white-space: nowrap;
}

.engnews .urdu-link:hover {
  color: #084298;
}

/* ================== ROW 2 ================== */
.row2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  padding: 0;
  justify-content: flex-start; /* left-align pages */
}

/* PAGES MENU */
.imp-pages ul {
  display: flex;
  flex-direction: row; /* RTL */
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.imp-pages a {
  text-decoration: none;
  color: black;
  font-family: 'Arial', serif;
  font-size: 3rem;
}

.imp-pages a:hover {
  color: #084298;
}
/* ================== DESKTOP TOPBAR ================== */
@media (min-width: 769px) {

  /* Topbar wrapper: space between left and right groups */
  .topbarsocial {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 1rem;
  }

  /* Left group: logo + social icons */
  .row1 {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
  }

  .logo-link img {
    max-height: 35px;
    display: block;
  }

  .socialicons {
    display: flex;
    gap: 0.6rem;
    align-items: center;
  }

  /* Center group: search box */
  .search-container {
    flex: 1;           /* take remaining space */
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 400px;  /* optional max width */
  }

  .search-input {
    top: 35px;
    left: 0;
    width: 100%;
  }

  /* Right group: English link */
  .engnews {
    flex-shrink: 0;
    margin-left: 1rem;  /* spacing from search box */
  }

  .engnews .urdu-link {
    font-family: 'Arial', sans-serif;
    font-size: 1.3rem;
    text-decoration: none;
    color: #1800ad;
    white-space: nowrap;
  }

  .engnews .urdu-link:hover {
    color: #1800ad;
  }

  /* Row2: Pages menu */
  .row2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    justify-content: flex-start; /* aligns items to left */
    padding-left: 0;            /* remove extra padding if any */
    padding-right: 0;
  }

  .imp-pages ul {
    display: flex;
    flex-direction: row-reverse; /* RTL */
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .imp-pages a {
    text-decoration: none;
    color: black;
    font-family: 'Arial', serif;
    font-size: 3rem;
  }

  .imp-pages a:hover {
    color: #1800ad;
  }
}

/* ================== MOBILE TOPBAR (FIXED & SHRINKED) ================== */
@media (max-width: 768px) {
  
  /* Force Row 1 to fit everything in one tight line */
  .header .topbarsocial .row1 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 7px 0 !important;
    gap: 8px important;
    width: 100% !important;
  }

  /* Shrink Logo */
  .row1 .logo-link img {
    height: 18px !important; 
    width: auto !important;
    display: block;
  }

  /* Shrink Social Icons and their spacing */
  .socialicons {
    display: flex !important;
    gap: 8px !important; 
    align-items: center;
  }

  .socialicons a i {
    font-size: 1rem !important; 
    padding: 0 !important;
    color: #1800ad;
  }

  /* Shrink Search Icon */
  .search-container .search-icon {
    font-size: 1rem !important;
    display: block;
    color: #1800ad;
  }

  /* Shrink English Link */
  .engnews .urdu-link {
    font-size: 0.9rem !important;
    font-family: Arial, sans-serif !important;
    text-decoration: none;
    color: #1800ad;
    white-space: nowrap;
    font-size: 1.1rem !important;
  }

  /* ROW 2: Static Pages Menu (About, Disclaimer, etc.) */
  
    .imp-pages {
    display: none !important;
  }
}

  .row2 {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 8px !important;
    border-top: 1px solid #f8f9fa;
    padding-top: 5px;
    
  }

  .imp-pages ul {
    display: flex !important;
    flex-direction: row-reverse !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 9px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .imp-pages a {
    text-decoration: none;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 1.1rem !important;
    white-space: nowrap;
  }

/* ===============================
   HEADER / MENU STYLES
================================ */

/* Desktop Menu */
.main-menubar {
  width: 100%;
  background-color: #f8f9fa;
  border-top: 1px solid #1800ad;
  direction: rtl;
  z-index: 100;
}

.main-menubar ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 6px 10px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-menubar ul::-webkit-scrollbar { display: none; }

.main-menubar ul li {
  margin: 0 6px;
  padding: 4px 6px;
  font-family: "Jameel Noori Nastaleeq", Arial, sans-serif;
  white-space: nowrap;
}

.main-menubar ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.main-menubar ul li a:hover,
.main-menubar ul li.active a {
  color: #1800ad;
  border-bottom: 2px solid #1800ad;
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  #mobile-nav,
  #menu-overlay,
  #bottom-panel {
    display: none !important;
  }
}

/* ===============================
   MOBILE MENU
================================ */
@media (max-width: 768px) {

  /* Hide desktop menu */
  .main-menubar { display: none !important; }

  /* Mobile nav bar */
  #mobile-nav {
    direction: rtl;
    background: #f8f9fa;
    border-bottom: 1px solid #1800ad;
    border-top: 1px solid #1800ad;
    position: relative; /* relative for mobile */
    top: 0;
    z-index: 9999;
    pointer-events: auto;
    overflow: hidden;
  }

  #mobile-nav * { pointer-events: auto; }

  /* Horizontal scrolling menu */
  #mobile-nav ul.main-menu {
    display: flex;
    gap: 6px;
    padding: 6px;
    margin: 0;
    list-style: none;
    align-items: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  #mobile-nav ul::-webkit-scrollbar { display: none; }

  #mobile-nav li { scroll-snap-align: start; flex-shrink: 0; }

  #mobile-nav a, #mobile-nav button {
    padding: 4px 8px;
    font-size: 1.1rem;
    color: #111;
    background: none;
    border: none;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
    font-family: 'Jameel Noori Nastaleeq', Arial, sans-serif;
  }

  .mobile-more button {
    background: #f0f0f0;
    font-weight: bold;
    position: sticky;
    z-index: 20;
  }

  /* Overlay */
  #menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(100, 100, 100, 0.50);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 10000;
    pointer-events: auto;
  }

  #menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Bottom panel */
  #bottom-panel {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
  }

  #bottom-panel.active {
    transform: translateY(0);
  }

  /* Panel header */
  .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    font-weight: bold;
    font-size: 1rem;
    color: #000;
    border-bottom: 1px solid #1800ad;
    background: transparent;
  }

  .panel-header button {
    background: none;
    border: none;
    font-size: 26px;
    color: #000;
    cursor: pointer;
  }

  /* Panel menu items */
  .panel-menu {
    list-style: none;
    margin: 0;
    padding: 0 16px;
    overflow-y: auto;
    flex: 1;
  }

  .panel-menu li { border-bottom: 1px solid #1800ad; }

  .panel-menu a {
    display: block;
    padding: 14px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    font-family: "Jameel Noori Nastaleeq", Arial, sans-serif;
  }

  body.no-scroll { overflow: hidden; }
}

/* REMOVE MOBILE MENU UNDERLINES / BORDERS */
@media (max-width: 768px) {

  #mobile-nav,
  #mobile-nav ul,
  #mobile-nav li,
  #mobile-nav a {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    
  }

  /* If coming from desktop menus leaking into mobile */
  .main-menubar
   {
    border: none !important;
  }
}

@media (max-width: 768px) {

  /* MAIN MOBILE MENU ROW */
  #mobile-nav > ul.main-menu {
    gap: 2px;              /* reduce space between items */
    padding: 6px 8px;      /* reduce outer padding */
  }

  /* MENU ITEMS */
  #mobile-nav > ul.main-menu > li > a,
  #mobile-nav > ul.main-menu > li > button {
    padding: 4px 6px;      /* tighter click area */
    font-size: 1rem;    /* slightly smaller text */
    line-height: 1.4;
  }

  /* MORE BUTTON (مزید) */
  .mobile-more > button {
    padding: 3px 6px;
    font-size: 0.75rem;
    font-weight: bold;
  }
}

/* ===============================
   SMALL MENU (Secondary Navigation) RTL
   =============================== */
.small-menubar {
  display: flex;
  justify-content: flex-start;   /* in RTL, flex-start = RIGHT */
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.2rem 0;
  background-color: #f8f9fa;
  border-top: 1px solid #1800ad;
  border-bottom: 1px solid #1800ad;
  direction: rtl;                 /* RTL text flow */
  
}

.small-menubar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;    /* items start from RIGHT */
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  flex-direction: row;            /* DO NOT REVERSE ORDER */
}

.small-menubar ul li {
  margin: 0 0.2rem;
  padding: 0.2rem 0;
  font-family: "Jameel Noori Nastaleeq", Arial, sans-serif;
  direction: rtl;
}

.small-menubar ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 0.3rem 0.6rem;
  display: inline-block;
  transition: color 0.3s ease;
  text-align: right;              /* align Urdu text properly */
}

.small-menubar ul li a:hover {
  color: #1800ad;
}

/* ===============================
   Mobile Small Menu Bar - RTL
   =============================== */
@media (max-width: 768px) {
  .small-menubar {
    display: flex;
    direction: rtl;            /* Sets the flow from Right-to-Left */
    overflow-x: auto;          /* Allows horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    width: 100%;
    scrollbar-width: none;     /* Optional: Hides scrollbar on Firefox */
    border-bottom: 1px solid #1800ad;
    
  }

  .small-menubar::-webkit-scrollbar {
    display: none;             /* Optional: Hides scrollbar on Chrome/Safari */
  }

  .small-menubar ul {
    display: flex;
    margin: 0;
    padding: 0 0.3rem;   /* reduce the ends */
    list-style: none;
    gap: 0.4rem;         /* smaller gap between items */
}

  .small-menubar ul li {
    flex-shrink: 0;            /* Prevents items from squishing */
  }

  .small-menubar ul li a {
    display: block;
    padding: 0.25rem 0.1rem;  /* reduce padding inside each item */
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}
}


/* =======================================================
   COMPACT NEWS TICKER (RTL – URDU)
======================================================= */

/* =============== OUTER WRAPPER =============== */
.ticker-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #ffffff;
  margin-bottom: 5px;
}

/* =============== INNER AREA (LABEL + TICKER) =============== */
.news-ticker-wrapper {
  display: flex;
  align-items: center;
  width: 100%; /* full width for desktop */
  padding: 0 0.3rem;
  background: #ffffff;
  overflow: hidden;
  min-height: 1.8rem;
  line-height: 1.8rem;
  direction: rtl;
}

/* =============== LABEL (اہم خبریں) =============== */
.ticker-label {
  font-weight: bold;
  font-size: 1.4rem;
  white-space: nowrap;
  background: #fff;
  border-bottom: 2px solid #a30606;
  padding-bottom: 0.05rem;
  margin-left: 0.8rem;
  flex-shrink: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

/* =============== TICKER BOX =============== */
.news-ticker {
  flex: 1;
  overflow: hidden;
  position: relative;
  border: 1px solid #000;
  padding: 0.15rem 0.5rem;
  box-sizing: border-box;
}

/* =============== SCROLLING TRACK =============== */
.news-ticker ul {
  display: flex; /* safer than inline-flex */
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  align-items: center;
  font-size: 0.92rem;
  direction: rtl;
  will-change: transform;
}

/* =============== RTL ANIMATION (URDU) =============== */
.news-ticker.rtl ul {
  animation: tickerRTL 40s linear infinite;
}



/* =============== EACH ITEM =============== */
.news-ticker ul li {
  display: inline-block;
  white-space: nowrap;
  margin-left: 1.5rem;
  vertical-align: middle;
}

/* =============== SEPARATOR =============== */
.separator {
  font-size: 1.2rem;
  margin: 0 8px;
  color: #1800ad;
}

/* =============== TAGLINE (NASTALEEQ) =============== */
.ticker-tagline {
  color: #dc3545;
  font-weight: bold;
  margin-left: 0.8rem;
  font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif;
}

/* =============== CATEGORY BADGE =============== */
.ticker-category {
  background-color: #1800ad;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.6rem;
}


/* =======================================================
   MOBILE ADJUSTMENTS
======================================================= */
@media (max-width: 768px) {
    
  .news-ticker.rtl ul {
      animation: tickerRTL 40s linear infinite;
      
  }
  .ticker-label {
    font-size: 1.2rem;
  }

  .news-ticker-wrapper {
    width: 100%;
  }

  .news-ticker ul {
    font-size: 0.8rem;
  }
}

/* =======================================================
   DESKTOP ADJUSTMENTS
======================================================= */
@media (min-width: 769px) {
  .ticker-label {
    font-size: 1.6rem;
    border-bottom: 3px solid #a30606;
    margin-right: 1.5rem;
    margin-left: 1rem;
  }

  .news-ticker ul {
    font-size: 0.95rem;
  }

  /* Pause ticker on hover (desktop only) */
  .news-ticker:hover ul {
    animation-play-state: paused;
  }
}

/* =======================================================
   RTL ANIMATION KEYFRAMES
======================================================= */
@keyframes tickerRTL {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}







/* category latest and popular section start here */
.news-wrapper {
  display: flex;
  gap: 20px;

  /* only top margin, no left/right so it aligns with topbars */
  margin: 0.5rem 0 0 0;

  /* make sure it fills the container width cleanly */
  width: 100%;
  box-sizing: border-box;
}

/* Left side (big + small news) */
.main-news-section {
  flex: 7;
}

.news-content {
  display: flex;
  gap: 20px;
}

.big-news {
  flex: 2;
  padding: 0.5rem;
}

.big-news a {
  text-decoration: none;
  color: black;
}

.big-news img {
  width: 100%;
  height: 400px;
  object-fit: cover; /* ensures image fills area neatly */
  border-radius: 0.5rem;  
}

.latest-icons-comments-views {
  font-size: 0.9rem;
  color: #666;
  margin: 0.4rem;
  border-bottom: #666 dashed 0.1rem;
  border-top: #666 dashed 0.1rem;
  padding: 0.3rem;
}

.latest-icons-comments-views span {
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
}

.big-news p .read-more {
  text-decoration: none;
  color: red;
  font-weight: bold;
}
.big-news p .read-more:hover {
  text-decoration: underline;
}

.small-news-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.small-news-list a {
  text-decoration: none;
  color: black;
}

.small-news {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 1px dashed grey;
  padding: 0.3rem 0; /* reduced padding */
  background: none;
  border-radius: 0.5rem;
  box-shadow: none;
}

.small-news p {
  font-size: 0.9rem;
  margin: 0;
}

.small-news-list img {
  height: 3rem;
  width: 4rem;
  border-radius: 0.5rem;
}

.latest-section-title {
  border-bottom: 0.2rem solid #1800ad;
  margin-bottom: 10px;
  font-size: 1.6rem;
  background: none;
  border-radius: 5px;
  padding-right: 10px;
  background-color: #F8F9FA
}

.big-news h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .news-wrapper {
    flex-direction: column;
    margin: 0.5rem 0 0 0; /* keep consistent on mobile */
  }

  .news-content {
    flex-direction: column;
  }

  .small-news-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .small-news {
    width: 48%;
  }
}

/* ============================= */
/* Right Side (Popular News) */
/* ============================= */
.popular-news {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px dashed grey;
  padding: 0.3rem 0;
  background: none;
  border-radius: 0.5rem;
  box-shadow: none;
  transition: none;
  text-decoration: none !important;
}

.popular-news:hover {
  transform: none;
}

/* ============================= */
/* Link & Text Styling - FIXED */
/* ============================= */

.popular-news a,
.popular-news a:link,
.popular-news a:visited,
.popular-news a:hover,
.popular-news a:active {
  color: #000 !important;
  background: none !important;
}

.popular-news p,
.popular-news h4 {
  margin: 0;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none !important;
  color: #000 !important;
  font-size: 0.95rem;
}

.popular-news:hover p,
.popular-news:hover h4,
.popular-news a:hover p,
.popular-news a:hover h4 {
  color: #1800ad !important;
}

/* ============================= */
/* Image Styling */
/* ============================= */
.popular-news img {
  height: 3rem;
  width: 4rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

/* ============================= */
/* Section Title Styling */
/* ============================= */
.popular-section-title {
  border-bottom: 0.2rem solid #1800ad;
  margin-bottom: 5px;
  font-size: 1.6rem;
  background: none;
  border-radius: 6px;
  padding-right:5px;
  background-color: #F8F9FA
}

/* ============================= */
/* Layout Adjustments */
/* ============================= */
.popular-news:last-of-type {
  border-bottom: none;
}

.popular-news-section {
  flex: 3;
}

/*side bar ad*/
.sidebar-ad {
  margin-top: 10px;
}
/* Wrapper for both columns and Pakistan news sections */
.columns-pakistan-news-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 0.5rem;   /* same top spacing as latest/popular */
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start; /* keep top aligned */
  /* ⛔ removed extra padding that was shifting it */
}

/* Section titles (same style for both) */
.columns-title,
.pakistan-section-title {
  display: block;
  width: 100%;
  background-color: #F8F9FA;            /* ✅ as you requested */
  border-bottom: #1800ad 0.2rem solid;
  font-size: 1.6rem;
  margin: 20px 0 10px 0;
  padding: 5px 10px;
  box-sizing: border-box;
  border-radius: 5px;
}

.pakistan-section-title {
  margin-bottom: 20px; /* extra space under Pakistan title */
}

/* Columns news section */
.columns-news-section {
  flex: 3;         /* 30% of space */
  max-width: 30%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.columns-news-section a.columns-news {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: black;
  transition: transform 0.2s ease, background 0.3s ease;
}

.columns-news-section a.columns-news:hover {
  transform: translateY(-3px);
}

.columns-news-section img {
  height: 3.75rem;
  width: 5rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.columns-news-section p {
  margin: 0;
  font-size: 1.1rem;
  color: inherit;
  text-decoration: none !important;
  line-height: 1.2;
  flex: 1;
}

/* Pakistan news section */
.pakistan-news-section {
  flex: 7;         /* 70% of space */
  max-width: 70%;
  margin-top: 10px;
  margin-bottom: 20px;
}

.pakistan-news-container {
  display: flex;
  gap: 20px;
  margin-top: 0;
}

.pakistan-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pakistan-news {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: black;
  transition: transform 0.2s ease, background 0.3s ease;
}

.pakistan-news:hover {
  transform: translateY(-3px);
}

.pakistan-news img {
  width: 5rem;
  height: 3.75rem;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.pakistan-news p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  text-decoration: none !important;
  color: inherit;
  flex: 1;
}

/* Mobile: stack like latest/popular section */
@media (max-width: 768px) {
  .columns-pakistan-news-wrapper {
    flex-direction: column;
  }

  .columns-news-section,
  .pakistan-news-section {
    max-width: 100%;
  }
}
/* =======================================================
   🌍 World News Section — EXACT margins like other categories
   ======================================================= */

/* Section Container */
.world-news-section {
  margin-top: 0.5rem;
  margin-bottom: 2rem;

  /* ❌ REMOVE left/right padding so container controls spacing */
  padding: 0;

  /* inherits left/right padding from .container */
  width: 100%;
  box-sizing: border-box;
}

/* Section Title */
.world-section-title {
  background-color: #F8F9FA; 
  border-bottom: 0.2rem solid #1800ad;
  width: 100%;
  border-radius: 5px;

  padding: 0.4rem 0.6rem;
  margin-bottom: 1rem;

  font-size: 1.6rem;    /* ✔ your requested size */
  font-weight: 700;
  box-sizing: border-box;
}

.world-section-title a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Grid Layout */
.world-news-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;

  /* ❌ no extra margin or padding */
  width: 100%;
  box-sizing: border-box;
}

/* News item */
.world-news {
  transition: transform 0.2s ease;
  background: transparent;
}

.world-news:hover {
  transform: translateY(-3px);
}

.world-news a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Image */
.world-news img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

/* Title */
.world-news h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}

/* Meta row */
.world-icons-comments-views {
  font-size: 0.6rem;
  color: #666;
  margin: 0.3rem 0;

  border-top: #666 dashed 0.1rem;
  border-bottom: #666 dashed 0.1rem;
  padding: 0.3rem 0;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.world-icons-comments-views .symbol1,
.world-icons-comments-views .symbol2,
.world-icons-comments-views .symbol3 {
  color: #aaa;
}

/* Text */
.world-news p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  color: #333;
  line-height: 1.4;
}

.world-news .read-more {
  color: red;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
  .world-news-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .world-news-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .world-news-content {
    grid-template-columns: 1fr;
  }
}
/* ============================= */
/* USA, Canada, Europe - News Container */
/* ============================= */
.usa-canada-europe-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;

  width: 100%;
  box-sizing: border-box;

  /* same vertical spacing, NO custom left/right margins */
  margin-top: 1rem;
  margin-bottom: 2rem;

  padding: 0;   /* ✅ let .container handle left/right padding */
}

/* Each country block */
.usa-category-block,
.canada-category-block,
.europe-category-block {
  flex: 1 1 22rem;
  max-width: 23rem;
  min-width: 20rem;
  display: flex;
  flex-direction: column;
  background: transparent;
  box-sizing: border-box;
}

/* ============================= */
/* Country Titles (USA, Canada, Europe) */
/* ============================= */
.usa-category-block h2,
.canada-category-block h2,
.europe-category-block h2 {
  background-color: #F8F9FA;          /* ✔ your background color */
  border-bottom: 0.2rem solid #1800ad;
  font-size: 1.6rem;                  /* ✔ requested size */
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  text-align: right;
  box-sizing: border-box;
}

.usa-category-block h2 a,
.canada-category-block h2 a,
.europe-category-block h2 a {
  color: #000;
  text-decoration: none;
}

/* ============================= */
/* Big News Section */
/* ============================= */
.usa-category-block .big-news,
.canada-category-block .big-news,
.europe-category-block .big-news {
  max-width: 350px;
  margin-bottom: 1rem;
}

.usa-category-block .big-news img,
.canada-category-block .big-news img,
.europe-category-block .big-news img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.6rem;
}

.usa-category-block .big-news h3,
.canada-category-block .big-news h3,
.europe-category-block .big-news h3 {
  font-size: 1rem;
  margin: 0.3rem 0;
  line-height: 1.4;
  font-weight: 600;
}

/* ============================= */
/* Metadata (time/comments/views) */
/* ============================= */
.usa-category-block .icons-comments-views,
.canada-category-block .icons-comments-views,
.europe-category-block .icons-comments-views {
  display: flex;
  align-items: center;
  border-top: 1px dashed #666;
  border-bottom: 1px dashed #666;
  padding: 0.2rem 0;
  font-size: 0.75rem;
  width: 350px;
  box-sizing: border-box;
  gap: 0.6rem; /* <-- Adds space between items */
}

.usa-category-block .icons-comments-views i,
.canada-category-block .icons-comments-views i,
.europe-category-block .icons-comments-views i {
  vertical-align: middle;
}

/* ============================= */
/* Small News Grid */
/* ============================= */
.usa-category-block .small-news-grid,
.canada-category-block .small-news-grid,
.europe-category-block .small-news-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Small News Items */
.usa-category-block .small-news,
.canada-category-block .small-news,
.europe-category-block .small-news {
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  border-bottom: 1px dashed grey !important;
  padding: 0.3rem 0 !important;
  background: none !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
}

.usa-category-block .small-news img,
.canada-category-block .small-news img,
.europe-category-block .small-news img {
  width: 4rem !important;
  height: 3rem !important;
  border-radius: 0.5rem !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.usa-category-block .small-news h4,
.canada-category-block .small-news h4,
.europe-category-block .small-news h4 {
  font-size: 0.9rem !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}

/* Hover Styles */
.usa-category-block a,
.canada-category-block a,
.europe-category-block a {
  text-decoration: none;
  color: #000;
}

.usa-category-block a:hover h4,
.canada-category-block a:hover h4,
.europe-category-block a:hover h4 {
  text-decoration: underline;
}

/* ============================= */
/* Responsive Styles */
/* ============================= */
@media (max-width: 900px) {
  .usa-canada-europe-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .usa-category-block,
  .canada-category-block,
  .europe-category-block {
    width: 22rem;
    flex: 0 0 22rem;
  }
}

@media (max-width: 600px) {
  .usa-canada-europe-container {
    flex-direction: column;
    width: 100%;
  }

  .usa-category-block,
  .canada-category-block,
  .europe-category-block {
    width: 100%;
    max-width: 100%;
  }
}
/* =======================================================
   🇦🇺 Australia News Section — SAME AS WORLD
   ======================================================= */

/* Section Container */
.australia-news-section {
  margin-top: 0.5rem;
  margin-bottom: 2rem;

  /* container controls left/right padding */
  padding: 0;

  width: 100%;
  box-sizing: border-box;
}

/* Section Title */
.australia-section-title {
  background-color: #F8F9FA;
  border-bottom: 0.2rem solid #1800ad;
  width: 100%;
  border-radius: 5px;

  padding: 0.4rem 0.6rem;
  margin-bottom: 1rem;

  font-size: 1.6rem;
  font-weight: 700;
  box-sizing: border-box;
}

.australia-section-title a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Grid Layout */
.australia-news-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;

  width: 100%;
  box-sizing: border-box;
}

/* News item */
.australia-news {
  transition: transform 0.2s ease;
  background: transparent;
}

.australia-news:hover {
  transform: translateY(-3px);
}

.australia-news a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Image */
.australia-news img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

/* Title */
.australia-news h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}

/* Meta row (use your existing .icons-comments-views class) */
.australia-news .icons-comments-views {
  font-size: 0.6rem;
  color: #666;
  margin: 0.3rem 0;
  border-top: #666 dashed 0.1rem;
  border-bottom: #666 dashed 0.1rem;
  padding: 0.3rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.australia-news .icons-comments-views .symbol {
  color: #aaa;
}

/* Text */
.australia-news p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  color: #333;
  line-height: 1.4;
}

.australia-news .read-more {
  color: red;
  font-weight: bold;
  text-decoration: none;
}

.australia-news .read-more:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .australia-news-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .australia-news-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .australia-news-content {
    grid-template-columns: 1fr;
  }
}
/* ============================= */
/* Sports - Cricket - Entertainment Container */
/* ============================= */
.sports-cricket-entertainment-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 2rem;

  /* let .container control left/right padding */
  padding: 0;
}

/* inner wrapper for the three blocks */
.sports-cricket-entertainment-container .category-sections-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

/* ============================= */
/* Category Blocks */
/* ============================= */
.sports-category-block,
.cricket-category-block,
.entertainment-category-block {
  flex: 1 1 22rem;
  max-width: 23rem;
  min-width: 20rem;
  display: flex;
  flex-direction: column;
  background: transparent;
  box-sizing: border-box;
}

/* ============================= */
/* Category Titles  (same as USA/Canada/Europe) */
/* ============================= */
.sports-category-block h2,
.cricket-category-block h2,
.entertainment-category-block h2 {
  background-color: #F8F9FA;
  border-bottom: 0.2rem solid #1800ad;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  text-align: right;
}

.sports-category-block h2 a,
.cricket-category-block h2 a,
.entertainment-category-block h2 a {
  color: #000;
  text-decoration: none;
}

/* ============================= */
/* Big News Section */
/* ============================= */
.sports-category-block .big-news,
.cricket-category-block .big-news,
.entertainment-category-block .big-news {
  max-width: 350px;
  margin-bottom: 1rem;
}

.sports-category-block .big-news img,
.cricket-category-block .big-news img,
.entertainment-category-block .big-news img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.6rem;
}

.sports-category-block .big-news h3,
.cricket-category-block .big-news h3,
.entertainment-category-block .big-news h3 {
  font-size: 1rem;
  margin: 0.3rem 0;
  line-height: 1.4;
  font-weight: 600;
}

/* ============================= */
/* Metadata (time/comments/views) */
/* ============================= */
.sports-category-block .icons-comments-views,
.cricket-category-block .icons-comments-views,
.entertainment-category-block .icons-comments-views {
  display: flex;
  align-items: center;
  border-top: 1px dashed #666;
  border-bottom: 1px dashed #666;
  padding: 0.2rem 0;
  font-size: 0.75rem;
  width: 350px;
  box-sizing: border-box;
  gap: 0.6rem; /* <-- Adds space between items */
}

/* ============================= */
/* Small News Grid */
/* ============================= */
.sports-category-block .small-news-grid,
.cricket-category-block .small-news-grid,
.entertainment-category-block .small-news-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ============================= */
/* Small News Items */
/* ============================= */
.sports-category-block .small-news,
.cricket-category-block .small-news,
.entertainment-category-block .small-news {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px dashed grey;
  padding: 0.3rem 0;
  background: none;
  border-radius: 0.5rem;
  box-shadow: none;
}

.sports-category-block .small-news img,
.cricket-category-block .small-news img,
.entertainment-category-block .small-news img {
  width: 4rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sports-category-block .small-news h4,
.cricket-category-block .small-news h4,
.entertainment-category-block .small-news h4 {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}

/* ============================= */
/* Hover Styles */
/* ============================= */
.sports-category-block a,
.cricket-category-block a,
.entertainment-category-block a {
  text-decoration: none;
  color: #000;
}

.sports-category-block a:hover h4,
.cricket-category-block a:hover h4,
.entertainment-category-block a:hover h4 {
  text-decoration: underline;
}

/* ============================= */
/* Responsive Adjustments */
/* ============================= */

/* Tablet - 2 columns or centered */
@media (max-width: 900px) {
  .sports-cricket-entertainment-container .category-sections-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sports-category-block,
  .cricket-category-block,
  .entertainment-category-block {
    flex: 0 0 22rem;
    width: 22rem;
  }
}

/* Mobile - stack vertically */
@media (max-width: 600px) {
  .sports-cricket-entertainment-container .category-sections-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .sports-category-block,
  .cricket-category-block,
  .entertainment-category-block {
    width: 100%;
    max-width: 100%;
  }
}
/* =======================================================
   😜 Weird News Section — same as Australia/World
   ======================================================= */

/* Section Container */
.weird-news-section {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  padding: 0;                 /* container controls side padding */
  width: 100%;
  box-sizing: border-box;
}

/* Section Title */
.weird-section-title {
  background-color: #F8F9FA;
  border-bottom: 0.2rem solid #1800ad;
  width: 100%;
  border-radius: 5px;

  padding: 0.4rem 0.6rem;
  margin-bottom: 1rem;

  font-size: 1.6rem;
  font-weight: 700;
  box-sizing: border-box;
}

.weird-section-title a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Grid Layout */
.weird-news-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;

  width: 100%;
  box-sizing: border-box;
}

/* Each news item */
.weird-news {
  transition: transform 0.2s ease;
  background: transparent;
}

.weird-news:hover {
  transform: translateY(-3px);
}

/* Links */
.weird-news a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Images */
.weird-news img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Titles */
.weird-news h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}

/* Meta info (icons/comments/views) */
.weird-icons-comments-views {
  font-size: 0.6rem;
  color: #666;
  margin: 0.3rem 0;
  border-top: #666 dashed 0.1rem;
  border-bottom: #666 dashed 0.1rem;
  padding: 0.3rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

/* Paragraphs */
.weird-news p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  line-height: 1.4;
  color: #333;
}

/* Read more links */
.weird-news .read-more {
  color: red;
  font-weight: bold;
  text-decoration: none;
}

.weird-news .read-more:hover {
  text-decoration: underline;
}

/* =======================================================
   📱 Responsive Design
   ======================================================= */
@media (max-width: 1024px) {
  .weird-news-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .weird-news-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .weird-news-content {
    grid-template-columns: 1fr;
  }

  .weird-news img {
    height: 180px;
  }
}
/* ============================= */
/* Technology, Business, Crime - News Container */
/* ============================= */
.technology-business-crime-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 2rem;

  /* let outer .container control left/right padding */
  padding: 0;
}

.technology-category-block,
.business-category-block,
.crime-category-block {
  flex: 1 1 22rem;
  max-width: 23rem;
  min-width: 20rem;
  display: flex;
  flex-direction: column;
  background: transparent;
  box-sizing: border-box;
}

/* ============================= */
/* Category Titles (Technology, Business, Crime) */
/* same style as USA/Canada/Europe */
/* ============================= */
.technology-category-block h2,
.business-category-block h2,
.crime-category-block h2 {
  background-color: #F8F9FA;
  border-bottom: 0.2rem solid #1800ad;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  text-align: right;
  box-sizing: border-box;
}

.technology-category-block h2 a,
.business-category-block h2 a,
.crime-category-block h2 a {
  color: #000;
  text-decoration: none;
}

/* ============================= */
/* Big News Section */
/* ============================= */
.technology-category-block .big-news,
.business-category-block .big-news,
.crime-category-block .big-news {
  max-width: 350px;
  margin-bottom: 1rem;
}

.technology-category-block .big-news img,
.business-category-block .big-news img,
.crime-category-block .big-news img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.6rem;
}

.technology-category-block .big-news h3,
.business-category-block .big-news h3,
.crime-category-block .big-news h3 {
  font-size: 1rem;
  margin: 0.3rem 0;
  line-height: 1.4;
  font-weight: 600;
}

/* ============================= */
/* Metadata (time/comments/views) */
/* ============================= */
.technology-category-block .icons-comments-views,
.business-category-block .icons-comments-views,
.crime-category-block .icons-comments-views {
  display: flex;
  align-items: center;
  border-top: 1px dashed #666;
  border-bottom: 1px dashed #666;
  padding: 0.2rem 0;
  font-size: 0.75rem;
  width: 350px;
  box-sizing: border-box;
  gap: 0.6rem; /* <-- Adds space between items */
}

/* ============================= */
/* Small News Grid */
/* ============================= */
.technology-category-block .small-news-grid,
.business-category-block .small-news-grid,
.crime-category-block .small-news-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ============================= */
/* Small News Items */
/* ============================= */
.technology-category-block .small-news,
.business-category-block .small-news,
.crime-category-block .small-news {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px dashed grey;
  padding: 0.3rem 0;
  background: none;
  border-radius: 0.5rem;
  box-shadow: none;
}

.technology-category-block .small-news img,
.business-category-block .small-news img,
.crime-category-block .small-news img {
  width: 4rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.technology-category-block .small-news h4,
.business-category-block .small-news h4,
.crime-category-block .small-news h4 {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}

/* ============================= */
/* Hover Styles */
/* ============================= */
.technology-category-block a,
.business-category-block a,
.crime-category-block a {
  text-decoration: none;
  color: #000;
}

.technology-category-block a:hover h4,
.business-category-block a:hover h4,
.crime-category-block a:hover h4 {
  text-decoration: underline;
}

/* ============================= */
/* Responsive Styles */
/* ============================= */
@media (max-width: 900px) {
  .technology-business-crime-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .technology-category-block,
  .business-category-block,
  .crime-category-block {
    width: 22rem;
    flex: 0 0 22rem;
  }
}

@media (max-width: 600px) {
  .technology-business-crime-container {
    flex-direction: column;
    width: 100%;
  }

  .technology-category-block,
  .business-category-block,
  .crime-category-block {
    width: 100%;
    max-width: 100%;
  }
}
/* =======================================================
   ♈ Horoscope Section — aligned with World section
   ======================================================= */

/* Section Container */
.horoscope-news-section {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  /* no left/right padding so .container controls spacing */
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Section Title */
.horoscope-section-title {
  background-color: #F8F9FA;
  border-bottom: 0.2rem solid #1800ad;
  width: 100%;
  border-radius: 5px;
  padding: 0.4rem 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  box-sizing: border-box;
}

.horoscope-section-title a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Grid Layout */
.horoscope-news-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 1rem;
  margin-top: 0.5rem;

  /* no extra margin or padding, matches world section */
  width: 100%;
  box-sizing: border-box;
}

/* Each news item */
.horoscope-news {
  transition: transform 0.2s ease;
  background: transparent;
}

.horoscope-news:hover {
  transform: translateY(-3px);
}

/* Links */
.horoscope-news a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Images */
.horoscope-news img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Titles */
.horoscope-news h3 {
  font-size: 1rem;     /* aligned with .world-news h3 */
  margin: 0.5rem 0;
  line-height: 1.3;
}

/* Meta info (icons/comments/views) */
.horoscope-icons-comments-views {
  font-size: 0.6rem;
  color: #666;
  margin: 0.3rem 0;
  border-top: #666 dashed 0.1rem;
  border-bottom: #666 dashed 0.1rem;
  padding: 0.3rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

/* Paragraphs */
.horoscope-news p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  line-height: 1.4;
  color: #333;
}

/* Read more links */
.horoscope-news .read-more {
  color: red;
  font-weight: bold;
  text-decoration: none;
}

.horoscope-news .read-more:hover {
  text-decoration: underline;
}

/* =======================================================
   📱 Responsive Design (same breakpoints as World)
   ======================================================= */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .horoscope-news-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile landscape (≤768px) */
@media (max-width: 768px) {
  .horoscope-news-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile portrait (≤480px) */
@media (max-width: 480px) {
  .horoscope-news-content {
    grid-template-columns: 1fr;
  }

  .horoscope-news img {
    height: 180px;
  }
}

/* ============================= */
/* Health, Cooking, Food - News Container */
/* ============================= */
.health-cooking-food-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;

  width: 100%;
  box-sizing: border-box;

  /* same vertical spacing, NO custom left/right margins */
  margin-top: 1rem;
  margin-bottom: 2rem;

  padding: 0;   /* let .container handle left/right padding */
}

/* Each category block */
.health-category-block,
.cooking-category-block,
.food-category-block {
  flex: 1 1 22rem;
  max-width: 23rem;
  min-width: 20rem;
  display: flex;
  flex-direction: column;
  background: transparent;
  box-sizing: border-box;
}

/* ============================= */
/* Category Titles (Health, Cooking, Food) */
/* ============================= */
.health-category-block h2,
.cooking-category-block h2,
.food-category-block h2 {
  background-color: #F8F9FA;
  border-bottom: 0.2rem solid #1800ad;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  text-align: right;
  box-sizing: border-box;
}

.health-category-block h2 a,
.cooking-category-block h2 a,
.food-category-block h2 a {
  color: #000;
  text-decoration: none;
}

/* ============================= */
/* Big News Section (Health, Cooking, Food) */
/* ============================= */
.health-category-block .big-news,
.cooking-category-block .big-news,
.food-category-block .big-news {
  max-width: 350px;
  margin-bottom: 1rem;
}

.health-category-block .big-news img,
.cooking-category-block .big-news img,
.food-category-block .big-news img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.6rem;
}

.health-category-block .big-news h3,
.cooking-category-block .big-news h3,
.food-category-block .big-news h3 {
  font-size: 1rem;
  margin: 0.3rem 0;
  line-height: 1.4;
  font-weight: 600;
}

/* ============================= */
/* Metadata (time/comments/views) for Big News */
/* ============================= */
.health-category-block .icons-comments-views,
.cooking-category-block .icons-comments-views,
.food-category-block .icons-comments-views {
  display: flex;
  align-items: center;
  border-top: 1px dashed #666;
  border-bottom: 1px dashed #666;
  padding: 0.2rem 0;
  font-size: 0.75rem;
  width: 350px;
  box-sizing: border-box;
  gap: 0.6rem; /* <-- Adds space between items */
}

.health-category-block .icons-comments-views i,
.cooking-category-block .icons-comments-views i,
.food-category-block .icons-comments-views i {
  vertical-align: middle;
}

/* ============================= */
/* Small News Grid (Health, Cooking, Food) */
/* ============================= */
.health-category-block .small-news-grid,
.cooking-category-block .small-news-grid,
.food-category-block .small-news-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Small News Items */
.health-category-block .small-news,
.cooking-category-block .small-news,
.food-category-block .small-news {
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  border-bottom: 1px dashed grey !important;
  padding: 0.3rem 0 !important;
  background: none !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
}

.health-category-block .small-news img,
.cooking-category-block .small-news img,
.food-category-block .small-news img {
  width: 4rem !important;
  height: 3rem !important;
  border-radius: 0.5rem !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.health-category-block .small-news h4,
.cooking-category-block .small-news h4,
.food-category-block .small-news h4 {
  font-size: 0.9rem !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}

/* Hover Styles (Health, Cooking, Food) */
.health-category-block a,
.cooking-category-block a,
.food-category-block a {
  text-decoration: none;
  color: #000;
}

.health-category-block a:hover h4,
.cooking-category-block a:hover h4,
.food-category-block a:hover h4 {
  text-decoration: underline;
}

/* ============================= */
/* Responsive Styles for Health, Cooking, Food */
/* ============================= */
@media (max-width: 900px) {
  .health-cooking-food-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .health-category-block,
  .cooking-category-block,
  .food-category-block {
    width: 22rem;
    flex: 0 0 22rem;
  }
}

@media (max-width: 600px) {
  .health-cooking-food-container {
    flex-direction: column;
    width: 100%;
  }

  .health-category-block,
  .cooking-category-block,
  .food-category-block {
    width: 100%;
    max-width: 100%;
  }
}
/* =======================================================
   🏙️ Cities Section — aligned with World/Horoscope
   ======================================================= */

/* Section Container */
.cities-news-section {
  margin-top: 0.5rem;
  margin-bottom: 2rem;

  /* let .container control side padding */
  padding: 0;

  width: 100%;
  box-sizing: border-box;
}

/* Section Title */
.cities-section-title {
  background-color: #F8F9FA;
  border-bottom: 0.2rem solid #1800ad;
  width: 100%;
  border-radius: 5px;

  padding: 0.4rem 0.6rem;
  margin-bottom: 1rem;

  font-size: 1.6rem;
  font-weight: 700;
  box-sizing: border-box;
}

.cities-section-title a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Grid Layout */
.cities-news-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns desktop */
  gap: 1rem;
  margin-top: 0.5rem;

  width: 100%;
  box-sizing: border-box;
}

/* Each news item */
.cities-news {
  transition: transform 0.2s ease;
  background: transparent;
}

.cities-news:hover {
  transform: translateY(-3px);
}

/* Links */
.cities-news a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Images */
.cities-news img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Titles */
.cities-news h3 {
  font-size: 1rem;     /* aligned with world/horoscope items */
  margin: 0.5rem 0;
  line-height: 1.3;
}

/* Meta info (icons/comments/views) */
.cities-icons-comments-views {
  font-size: 0.65rem;
  color: #666;
  margin: 0.3rem 0;
  border-top: #666 dashed 0.1rem;
  border-bottom: #666 dashed 0.1rem;
  padding: 0.3rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.cities-icons-comments-views .symbol1,
.cities-icons-comments-views .symbol2,
.cities-icons-comments-views .symbol3 {
  color: #aaa;
  /*margin: 0 0.3rem;*/
}

/* Paragraphs */
.cities-news p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  line-height: 1.4;
  color: #333;
}

/* Read more links */
.cities-news .read-more {
  color: red;
  font-weight: bold;
  text-decoration: none;
}

.cities-news .read-more:hover {
  text-decoration: underline;
}

/* =======================================================
   📱 Responsive Design (same breakpoints)
   ======================================================= */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .cities-news-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile landscape (≤768px) */
@media (max-width: 768px) {
  .cities-news-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile portrait (≤480px) */
@media (max-width: 480px) {
  .cities-news-content {
    grid-template-columns: 1fr;
  }

  .cities-news img {
    height: 180px;
  }
}
/* =====================================================
   ✅ FOOTER PANEL STYLING (Aligned with Cities Section)
   ===================================================== */

/* ===== Main Footer Area ===== */
.footerpanel1 {
    background-color: #F8F9FA;
    border-top: 0.1rem solid #1800ad;
    border-bottom: 0.1rem solid #1800ad;

    width: 100%;
    margin: 0;

    /* ❌ Remove left-right padding, rely on .container like Cities */
    padding: 2rem 0;

    box-sizing: border-box;
}

/* ===== Footer Container (Centered, No Side Padding) ===== */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem;

    /* ❌ No left/right padding to match Cities/World/Horoscope */
    padding: 0;
}

/* ===== Footer Lists ===== */
.footerpanel1 ul {
    margin: 0 1rem;
    padding: 0;
    list-style: none;
    text-align: left;
}

.footerpanel1 ul li {
    display: block;
    margin: 0.4rem 0;
    text-align: left;
}

/* ===== Section Titles (Buttons) ===== */
.footerpanel1 ul p {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.6rem;
}

.footerpanel1 ul p button {
    border: 0.1rem solid #1800ad;
    font-size: 1rem;
    font-weight: bold;
    background-color: #1800ad;
    color: white;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footerpanel1 ul p button:hover {
    background-color: #1800ad;
    transform: scale(1.05);
}

/* ===== Footer Links ===== */
.footerpanel1 ul a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footerpanel1 ul a:hover {
    color: #1800ad;
    text-decoration: underline;
}

/* ===== Social Icons ===== */
.footerpanel1 ul li {
    margin: 0.6rem 0;
}

.footerpanel1 ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.footerpanel1 ul li a i {
    font-size: 1.3rem;
    line-height: 1.2;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footerpanel1 ul li a:hover i {
    transform: scale(1.2);
    color: #1800ad;
}

/* ===== Second Footer Bar ===== */
.footer-panel2 {
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #F8F9FA;
    border-bottom: 0.1rem solid #1800ad;

    font-size: 1rem;
    font-weight: bold;

    /* ❌ No LR padding; relies on .container */
    padding: 1rem 0;

    text-align: center;
    width: 100%;
}

.footer-panel2 a {
    text-decoration: none;
    color: #1800ad;
    margin-left: 5px;
}

.footer-panel2 a:hover {
    text-decoration: underline;
}

/* =====================================================
   ✅ RESPONSIVE FOOTER 
   ===================================================== */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;

        /* Still no LR padding (aligned with Cities) */
        padding: 0;
    }

    .footerpanel1 ul {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .footerpanel1 ul p button {
        width: 100%;
        text-align: left;
    }

    .footerpanel1 ul li a {
        font-size: 0.95rem;
    }

    .footer-panel2 {
        flex-direction: column;
        font-size: 0.9rem;
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .footerpanel1 ul li a i {
        font-size: 1.2rem;
    }

    .footerpanel1 ul p button {
        font-size: 0.9rem;
    }

    .footer-panel2 {
        font-size: 0.85rem;
    }
}



