html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: flex-start;   /* keep content at top (not middle) */
  background-color: #f0f0f0;
}

.container {
  width: 100%;
  max-width: 75rem;         /* fixed max width */
  margin: 0 auto;           /* keeps container centered */
  background-color: white;
  box-shadow: 0 0 0.8rem rgba(0,0,0,0.1);
  padding: 0.4rem 2rem;
  box-sizing: border-box;
}

.topbarsocial {
  background-color: #F8F9FA;
  height: 2.1rem;
  padding: 0.3rem 0.5rem;   /* ⬅ 0.5rem from container sides */
  display: flex;
  align-items: center;
  margin-bottom: 0.1rem;
  box-sizing: border-box;
}

.sociallogo {
  margin-top: 0.2rem;
  padding-top: 0.8rem;
  align-items: center;
}

.topsocialicons {
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 0.5rem;
}

.socialicons {
  display: flex;
  gap: 0.5rem;
}

/* =====================================================
   🔍 SEARCH BAR STYLING
   ===================================================== */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.5rem;
}

.search-icon {
  font-size: 1.2rem;
  color: #0a58ca;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}

.search-icon:hover {
  color: #084298;
  transform: scale(1.1);
}

.search-input {
  position: absolute;
  right: 40px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 5;
}

.search-input.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.search-input input[type="text"] {
  border: none;
  padding: 8px 12px;
  outline: none;
  width: 180px;
  font-size: 0.95rem;
  border-radius: 25px 0 0 25px;
}

.search-input button {
  background: #0a58ca;
  color: #fff;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 0 25px 25px 0;
  transition: background 0.3s ease;
}

.search-input button:hover {
  background: #084298;
}

@media (max-width: 600px) {
  .search-input input[type="text"] {
    width: 130px;
  }
}

/*important terms pages styling*/

.imp-pages {
  margin-left: auto;
}

.imp-pages ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.imp-pages a {
  text-decoration: none;
  color: black;
}

.urdu-link {
  display: inline-block;
  padding: 4px 10px;
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  font-size: 2.1rem;
  direction: rtl;
  text-align: right;
  margin-left: 2.5rem;
  text-decoration: none;
  align-items: center;
  margin-bottom: 0.1rem;
  margin-top: 0.1rem;
  border-radius: 0.15rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #0A58CA;
  white-space: nowrap;
  unicode-bidi: isolate;
}

.urdu-link:hover {
  background-color: transparent;
  color: #084298;
}

@media (max-width: 768px) {
  .urdu-link {
    font-size: 1.5rem;
    margin-left: 1rem;
  }
}

@media (max-width: 480px) {
  .urdu-link {
    font-size: 1.3rem;
  }
}

/* ===============================
   MAIN MENU (Desktop Navigation)
   =============================== */
.main-menubar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  border-top: 1px solid #0a58ca;
  border-bottom: 1px solid #0a58ca;
  z-index: 100;
}

.main-menubar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

.main-menubar ul li {
  margin: 0;
  padding: 0.4rem 0.6rem;
  font-family: Arial, Helvetica, sans-serif;
}

.main-menubar ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.main-menubar ul li a:hover {
  color: #0a58ca;
}

.main-menubar ul li.active a {
  color: #0a58ca;
  border-bottom: 2px solid #0a58ca;
}

@media (max-width: 768px) {
  .main-menubar {
    flex-direction: column;
  }

  .main-menubar ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }

  .main-menubar ul li {
    width: 100%;
    padding: 0.5rem 0;
  }

  .main-menubar ul li a {
    display: block;
    width: 100%;
    color: #000;
    font-size: 1rem;
  }

  .main-menubar ul li a:hover {
    background-color: #e6f0ff;
    color: #0a58ca;
  }
}

/* ===============================
   SMALL MENU (Secondary Navigation)
   =============================== */
.small-menubar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.2rem 0;
  background-color: #f8f9fa;
  border-top: none;                /* ✅ no top border */
  border-bottom: 1px solid #0a58ca;
}

.small-menubar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

.small-menubar ul li {
  margin: 0 0.2rem;
  padding: 0.2rem 0;
  font-family: Arial, Helvetica, sans-serif;
}

.small-menubar ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
  display: inline-block;
  transition: color 0.3s ease;
}

.small-menubar ul li a:hover {
  color: #0a58ca;
}

@media (max-width: 992px) {
  .main-menubar ul li a,
  .small-menubar ul li a {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 768px) {
  .main-menubar ul,
  .small-menubar ul {
    flex-direction: column;
    align-items: center;
  }

  .main-menubar ul li,
  .small-menubar ul li {
    padding: 0.4rem 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    margin: 0;
  }

  .main-menubar ul li:last-child,
  .small-menubar ul li:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .main-menubar ul li a,
  .small-menubar ul li a {
    font-size: 0.85rem;
  }
}

/* 🎨 Ticker styling */
.ticker-category {
  background-color: #0a58ca;
  color: #ffffff;
  font-weight: bold;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticker-tagline {
  color: #dc3545;
  font-weight: bold;
  font-style: italic;
  margin-right: 1rem;
}

.ticker-item {
  color: #000000;
  font-weight: normal;
}

.separator {
  color: #888;
  font-size: 1.2rem;
  margin: 0 10px;
}

/* 📰 Ticker Section Wrapper */
.news-ticker-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0.7rem 0 5px 0;    /* ✅ clean top margin here */
  padding: 0 0.5rem;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  background-color: white;
  overflow: hidden;
  font-family: Arial, sans-serif;
  height: 3rem;
}

.ticker-label {
  font-weight: bold;
  margin-right: 1.1rem;
  white-space: nowrap;
  font-size: 2.1rem;
  margin-bottom: 0.25rem;
  background-color: #f8f9fa;
  border-bottom: #a30606 2px solid;
}

.news-ticker {
  overflow: hidden;
  position: relative;
  flex: 1;
  border: 1px solid black;
}

.news-ticker ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  width: max-content;
  will-change: transform;
  animation: tickerMove 25s linear infinite;
}

.news-ticker ul:hover {
  animation-play-state: paused;
}

.news-ticker ul li {
  margin-right: 2.1rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.news-ticker ul li.separator {
  margin: 0 20px;
  color: black;
  font-size: 1.7rem;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.news-ticker ul li a {
  color: black;
  text-decoration: none;
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .news-ticker ul {
    animation: none;
    transform: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0.4rem 1rem;
    max-width: 100%;
  }

  .news-ticker-wrapper {
    width: 100%;
    margin: 0.5rem 0 5px 0;  /* keep some top margin on mobile too */
    padding: 0 0.5rem;
  }

  .ticker-label {
    font-size: 1.6rem;
  }

  .news-ticker ul {
    font-size: 0.95rem;
  }
}

/* ============================= */
/* Latest + Popular Section */
/* ============================= */

.news-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 0.5rem;   /* space above section */
  padding: 0;           /* ⬅ no side padding → same width as menus */
}

/* 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;
  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;
  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 #0A58CA;
  margin-bottom: 10px;
  font-size: 2.2rem;
  background: none;
  background-color: #F8F9FA;
  border-radius: 6px;
}

.big-news h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

/* ============================= */
/* Popular Right Side */
/* ============================= */

.popular-news-section {
  flex: 3;
}

.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 reset */
.popular-news a,
.popular-news a:link,
.popular-news a:visited,
.popular-news a:hover,
.popular-news a:active {
  text-decoration: none !important;
  color: #000 !important;
}

.popular-news p,
.popular-news h4 {
  margin: 0;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none !important;  /* Removed underline from post title */
  color: #000 !important;
  font-size: 0.95rem;
}

.popular-news:hover p,
.popular-news:hover h4 {
  color: #0A58CA !important;
}

.popular-news img {
  height: 3rem;
  width: 4rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.popular-section-title {
  border-bottom: 0.2rem solid #0A58CA;
  margin-bottom: 5px;
  font-size: 2.2rem;
  background: none;
  background-color: #F8F9FA;
  border-radius: 6px;
}

.popular-news:last-of-type {
  border-bottom: none;
}


/* Responsive */
@media (max-width: 768px) {
  .news-wrapper {
    flex-direction: column;
    padding: 0;  /* still full width like menus */
  }

  .news-content {
    flex-direction: column;
  }

  .small-news-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .small-news {
    width: 48%;
  }
}

/* Sidebar Ad */
.sidebar-ad {
  margin-top: 10px;
}
/* Wrapper for both columns and Pakistan news sections */
.columns-pakistan-news-wrapper {
  display: flex;
  gap: 20px;

  /* ✅ EXACTLY like .news-wrapper (Latest + Popular) */
  margin-top: 0.5rem;
  /*margin-left: 0.4rem;*/
  /*margin-right: 0.4rem;*/

  padding: 0;               /* no inner padding, same as .news-wrapper */
  align-items: flex-start;
  box-sizing: border-box;
}

/* Section titles */
.columns-title,
.pakistan-section-title {
  display: block;
  width: 100%;
  background-color: #F8F9FA;
  border-bottom: #0A58CA 0.2rem solid;
  font-size: 2.2rem;

  /* 🔁 keep vertical spacing, but no side shift */
  margin: 20px 0 10px 0;
  padding: 5px 0;          /* ⬅ remove left/right padding */
  box-sizing: border-box;
  border-radius: 5px;
}

.pakistan-section-title {
  margin-bottom: 20px;
}

/* Columns news section */
.columns-news-section {
  flex: 3;                 /* ✅ same ratio as Latest+Popular right column */
  max-width: none;         /* ⬅ let flex handle width, like .popular-news-section */
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin-top: 10px;
  margin-left: 0;          /* no extra side margin */
  margin-right: 0;
  padding: 0;              /* no inner padding */
  box-sizing: border-box;
}

.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;
  line-height: 1.2;
  flex: 1;
  color: inherit;
}

/* Pakistan news section */
.pakistan-news-section {
  flex: 7;                 /* ✅ same ratio as Latest+Popular left column */
  max-width: none;         /* ⬅ no 70% hard cap */
  margin-top: 10px;
  margin-bottom: 20px;

  margin-left: 0;
  margin-right: 0;
  padding: 0;
  box-sizing: border-box;
}

.pakistan-news-container {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 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;
  flex: 1;
  color: inherit;
}

/* Responsive */
@media (max-width: 800px) {
  .columns-pakistan-news-wrapper {
    flex-direction: column;
    margin: 0.5rem; /* same spacing all around on mobile */
  }

  .columns-news-section,
  .pakistan-news-section {
    max-width: 100%;
  }

  .pakistan-news-container {
    flex-direction: column;
  }
}
/* =======================================================
   🔹 World News Section
   ======================================================= */

/* Section Container */
.world-news-section {
  margin-top: 0.5rem;         /* ✔ same top spacing as others */
  margin-bottom: 2rem;        /* keep bottom spacing */
  
  padding-left: 0;            /* ✔ match Latest/Popular */
  padding-right: 0;           /* ✔ match Latest/Popular */

  box-sizing: border-box;
}

/* Section Title */
.world-section-title {
  background-color: #F8F9FA;
  border-bottom: 3px solid #0A58CA;
  width: 100%;
  border-radius: 5px;
  padding: 0.6rem 0;          /* ✔ remove side padding */
  margin-bottom: 0.8rem;
}

.world-section-title a {
  text-decoration: none;
  color: #000;
  font-size: 2rem;
  font-weight: 600;
  display: inline-block;
}

/* News Content Layout */
.world-news-content {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.8rem;
  
  padding-left: 0;            /* ✔ no side padding */
  padding-right: 0;           /* ✔ */
  
  margin-left: 0;             /* ✔ align perfectly with container */
  margin-right: 0;            /* ✔ */

  box-sizing: border-box;
}

/* Invisible spacer removed (not needed without padding) */
.world-news-content::after {
  content: "";
  flex: 0 0 0;
}

/* Optional Scrollbar Styling */
.world-news-content::-webkit-scrollbar {
  height: 6px;
}
.world-news-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* Each news item */
.world-news {
  flex: 0 0 auto;
  width: 200px;
  transition: transform 0.2s ease;
  background: none;
  box-shadow: none;
}

.world-news:hover {
  transform: translateY(-2px);
}

/* Images */
.world-news img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

/* Titles */
.world-news h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.4rem 0;
  line-height: 1.3;
  color: #222;
}

.world-news a {
  text-decoration: none;
  color: inherit;
}

.world-news a:hover h3 {
  color: #0A58CA;
}

/* Meta info */
.world-icons-comments-views {
  font-size: 0.8rem;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
  padding: 0.3rem 0;
  margin-bottom: 0.5rem;
}

.symbol1,
.symbol2,
.symbol3 {
  color: #aaa;
  margin: 0 0.3rem;
}

/* Paragraph + Read More */
.world-news p {
  font-size: 0.9rem;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.world-news p .read-more {
  text-decoration: none;
  color: #d10000;
  font-weight: 600;
}

.world-news p .read-more:hover {
  text-decoration: underline;
}

/* =========================
   Responsive Layouts
   ========================= */

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .world-news {
    width: 200px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .world-news-content {
    flex-direction: column;
    overflow-x: visible;

    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .world-news {
    width: 100%;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
  }

  .world-news img {
    width: 40%;
    height: 100px;
  }
}

/* Extra Small Screens (≤480px) */
@media (max-width: 480px) {
  .world-news img {
    width: 45%;
    height: 90px;
  }
}

/* =======================================================
   USA, Canada, Europe - News Container (UPDATED)
   ======================================================= */

.usa-canada-europe-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;

  /* ✔ SAME WIDTH as all other sections */
  margin-left: 0;
  margin-right: 0;

  padding-left: 0;     /* removed extra space */
  padding-right: 0;    /* removed extra space */

  margin-top: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Category Blocks */
.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;

  /* ✔ Remove any internal spacing mismatch */
  margin: 0;
  padding: 0;
}

/* ============================= */
/* Country Titles */
/* ============================= */
.usa-category-block h2,
.canada-category-block h2,
.europe-category-block h2 {
  background-color: #f8f9fa;
  border-bottom: 3px solid #0a58ca;
  font-size: 2rem;
  font-weight: 600;

  margin: 0 0 1rem 0;     /* ✔ no side margins */
  padding: 0.6rem 0;      /* ✔ no side padding */

  border-radius: 6px;
  text-align: left;
}

/* Links inside titles */
.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;
  margin-left: 0;      /* ✔ ensure alignment */
  margin-right: 0;
  padding: 0;
}

.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;
}

/* ============================= */
/* Metadata under big news */
/* ============================= */
.usa-category-block .icons-comments-views,
.canada-category-block .icons-comments-views,
.europe-category-block .icons-comments-views {
  width: 350px;
  padding: 0.2rem 0;
  border-top: 1px dashed #666;
  border-bottom: 1px dashed #666;

  margin-left: 0;    /* ✔ same alignment */
  margin-right: 0;
  box-sizing: border-box;

  font-size: 0.75rem;
}

/* ============================= */
/* 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;
  margin-left: 0;     /* ✔ no side spacing */
  margin-right: 0;
  padding: 0;
}

/* ============================= */
/* 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;

  margin-left: 0;       /* ✔ match other sections */
  margin-right: 0;
}

.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;
}

/* Title styling */
.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 effect */
.usa-category-block a:hover h4,
.canada-category-block a:hover h4,
.europe-category-block a:hover h4 {
  text-decoration: underline;
}

/* ============================= */
/* Responsive */
/* ============================= */
@media (max-width: 900px) {
  .usa-canada-europe-container {
    justify-content: center;
  }

  .usa-category-block,
  .canada-category-block,
  .europe-category-block {
    width: 22rem;
    flex: 0 0 22rem;

    margin-left: 0;   /* keep aligned */
    margin-right: 0;
  }
}

@media (max-width: 600px) {
  .usa-canada-europe-container {
    flex-direction: column;
    width: 100%;
    padding-left: 0;   /* ✔ remove side padding */
    padding-right: 0;
  }

  .usa-category-block,
  .canada-category-block,
  .europe-category-block {
    width: 100%;
    max-width: 100%;
  }
}
/* =======================================================
   ✅ Australia, Horoscope, Cities Sections
   Updated to match margins of all other sections
   ======================================================= */

/* -----------------------------
   Section Containers (UPDATED)
------------------------------*/
.australia-news-content,
.horoscope-news-content,
.cities-news-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;

  /* ✅ Same left/right spacing as Latest/Popular, Columns/Pakistan */
  margin-left: 0;
  margin-right: 0;

  padding-left: 0; 
  padding-right: 0;

  margin-top: 0.5rem;
  margin-bottom: 1.5rem;

  box-sizing: border-box;
}

/* -----------------------------
   Each News Item
------------------------------*/
.australia-news,
.horoscope-news,
.cities-news {
  flex: 0 0 auto;
  min-width: 200px;
  max-width: 200px;
  background: transparent;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.australia-news:hover,
.horoscope-news:hover,
.cities-news:hover {
  transform: translateY(-3px);
}

/* -----------------------------
   Links
------------------------------*/
.australia-news a,
.horoscope-news a,
.cities-news a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* -----------------------------
   Images
------------------------------*/
.australia-news img,
.horoscope-news img,
.cities-news img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* -----------------------------
   Titles
------------------------------*/
.australia-news h3,
.horoscope-news h3,
.cities-news h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.3;
  color: #222;
}

/* -----------------------------
   Meta info
------------------------------*/
.icons-comments-views,
.australia-icons-comments-views,
.horoscope-icons-comments-views,
.cities-icons-comments-views {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #666;
  margin: 0.3rem 0;
  border-top: #666 dashed 0.1rem;
  border-bottom: #666 dashed 0.1rem;
  padding: 0.3rem 0;
}

/* -----------------------------
   Paragraphs + Read More
------------------------------*/
.australia-news p,
.horoscope-news p,
.cities-news p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  line-height: 1.4;
  color: #333;
}

.australia-news .read-more,
.horoscope-news .read-more,
.cities-news .read-more {
  color: #d10000;
  font-weight: 600;
  text-decoration: none;
}

.australia-news .read-more:hover,
.horoscope-news .read-more:hover,
.cities-news .read-more:hover {
  text-decoration: underline;
}

/* -----------------------------
   Section Titles
------------------------------*/
.australia-section-title,
.horoscope-section-title,
.cities-section-title {
  background-color: #F8F9FA;
  border-bottom: 0.2rem solid #0A58CA;
  display: block;

  /* ✔ SAME width and margins as all other sections */
  margin-left: 0;
  margin-right: 0;

  padding: 0.5rem 0;   /* remove side padding */
  margin-bottom: 1rem;

  border-radius: 5px;
  }

.australia-section-title a,
.horoscope-section-title a,
.cities-section-title a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  font-weight: 600;
  font-size: 2rem;
}

/* =======================================================
   📱 Responsive Design
   ======================================================= */

@media (max-width: 1024px) {
  .australia-news-content,
  .horoscope-news-content,
  .cities-news-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .australia-news-content,
  .horoscope-news-content,
  .cities-news-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .australia-section-title,
  .horoscope-section-title,
  .cities-section-title {
    font-size: 1.8rem;
  }

  .australia-news img,
  .horoscope-news img,
  .cities-news img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .australia-news-content,
  .horoscope-news-content,
  .cities-news-content {
    grid-template-columns: 1fr;
  }

  .australia-section-title,
  .horoscope-section-title,
  .cities-section-title {
    font-size: 1.5rem;
  }

  .australia-news img,
  .horoscope-news img,
  .cities-news img {
    height: 120px;
  }
}
/* Sports - Cricket - Entertainment Container */
.sports-cricket-entertainment-container {
  display: flex;
  flex-wrap: wrap;                  /* allow wrapping on smaller screens */
  justify-content: space-between;   /* distribute blocks evenly */
  gap: 20px;                        /* same gap as other multi-column sections */
  box-sizing: border-box;
  width: 100%;
  
  /* 🔧 ALIGN WITH OTHER SECTIONS (no extra side padding/margins) */
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;

  margin-top: 1rem;
}

.sports-cricket-entertainment-container .category-sections-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.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 */
/* ============================= */
.sports-category-block h2,
.cricket-category-block h2,
.entertainment-category-block h2 {
  background-color: #f8f9fa;
  border-bottom: 3px solid #0a58ca;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  text-align: left;
}

.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 {
  font-size: 0.75rem;
  color: #666;
  border-top: 1px dashed #bbb;
  border-bottom: 1px dashed #bbb;
  padding: 0.2rem 0;
  margin-bottom: 0.8rem;
}

/* ============================= */
/* 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: 70px;
  height: 70px;
  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 */
/* ============================= */
@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;
  }
}

@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 Section Style — Aligned with all other sections
   ======================================================= */

/* Section Container */
.weird-news-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 4 columns on desktop */
  gap: 1rem;

  /* ✅ Same side margins as all other categories */
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;

  padding-top: 1rem;
  padding-bottom: 1rem;

  box-sizing: border-box;
}

/* Each news item */
.weird-news {
  flex: 0 0 auto;
  min-width: 200px;
  max-width: 200px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transition: transform 0.2s ease;
}

.weird-news:hover {
  transform: translateY(-3px);
}

/* Links */
.weird-news a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Images */
.weird-news img {
  width: 200px;
  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 */
.weird-icons-comments-views {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #666;
  margin: 0.3rem 0;
  border-top: #666 dashed 0.1rem;
  border-bottom: #666 dashed 0.1rem;
  padding: 0.3rem 0;
}

/* Paragraphs */
.weird-news p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  line-height: 1.4;
}

/* Read more links */
.weird-news .read-more {
  color: red;
  font-weight: bold;
  text-decoration: none;
}
.weird-news .read-more:hover {
  text-decoration: underline;
}

/* Section titles */
.weird-section-title {
  background-color: #F8F9FA;
  border-bottom: 0.2rem solid #0A58CA;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.weird-section-title a {
  text-decoration: none;
  color: inherit;
  font-size: 2rem;
  font-weight: 600;
}

/* =======================================================
   📱 Responsive Design
   ======================================================= */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .weird-news-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile landscape (≤768px) */
@media (max-width: 768px) {
  .weird-news-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .weird-section-title {
    font-size: 2rem;
  }
}

/* Mobile portrait (≤480px) */
@media (max-width: 480px) {
  .weird-news-content {
    grid-template-columns: 1fr;
  }

  .weird-section-title {
    font-size: 1.6rem;
  }

  .weird-news img {
    height: 180px;
  }
}
/* =======================================================
   ✅ Technology, Business, Crime — Correct Side Margins
   ======================================================= */

/* Category Container */
.technology-business-crime-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;

  /* ✅ FIX: Remove extra side padding */
  padding-left: 0;
  padding-right: 0;

  margin-top: 1rem;
  margin-left: 0;    /* stays aligned with container */
  margin-right: 0;
}

/* Category Blocks */
.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-category-block h2,
.business-category-block h2,
.crime-category-block h2 {
  background-color: #f8f9fa;
  border-bottom: 3px solid #0a58ca;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  text-align: left;
}

.technology-category-block h2 a,
.business-category-block h2 a,
.crime-category-block h2 a {
  color: #000;
  text-decoration: none;
}

/* ----------------------------- */
/* Big News */
/* ----------------------------- */
.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 */
/* ----------------------------- */
.technology-category-block .icons-comments-views,
.business-category-block .icons-comments-views,
.crime-category-block .icons-comments-views {
  font-size: 0.75rem;
  color: #666;
  border-top: 1px dashed #666;
  border-bottom: 1px dashed #666;
  padding: 0.2rem 0;
  margin-bottom: 0.8rem;
}

/* ----------------------------- */
/* 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.7rem;
}

.technology-category-block .small-news img,
.business-category-block .small-news img,
.crime-category-block .small-news img {
  width: 70px;
  height: 70px;
  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 Breakpoints */
/* ----------------------------- */
@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%;
  }
}
/* =======================================================
   ✅ Health – Cooking – Food — Correct Side Margins
   ======================================================= */

/* Category Container */
.health-cooking-food-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;

  /* ✅ FIX: remove inner side paddings */
  padding-left: 0;
  padding-right: 0;

  margin-top: 1rem;
  margin-left: 0;   /* ⬅ perfectly aligned with container */
  margin-right: 0;
}

/* Category Blocks */
.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-category-block h2,
.cooking-category-block h2,
.food-category-block h2 {
  background-color: #f8f9fa;
  border-bottom: 3px solid #0a58ca;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  text-align: left;
}

.health-category-block h2 a,
.cooking-category-block h2 a,
.food-category-block h2 a {
  color: #000;
  text-decoration: none;
}

/* ============================= */
/* Big News */
/* ============================= */
.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 */
/* ============================= */
.health-category-block .icons-comments-views,
.cooking-category-block .icons-comments-views,
.food-category-block .icons-comments-views {
  font-size: 0.75rem;
  color: #666;
  border-top: 1px dashed #bbb;
  border-bottom: 1px dashed #bbb;
  padding: 0.2rem 0;
  margin-bottom: 0.8rem;
}

/* ============================= */
/* Small News Grid */
/* ============================= */
.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;
  align-items: center;
  gap: 0.7rem;
}

.health-category-block .small-news img,
.cooking-category-block .small-news img,
.food-category-block .small-news img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.health-category-block .small-news h4,
.cooking-category-block .small-news h4,
.food-category-block .small-news h4 {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}

/* ============================= */
/* Hover Styles */
/* ============================= */
.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 */
/* ============================= */
@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%;
  }
}
/* =====================================================
   ✅ FOOTER PANEL STYLING
   ===================================================== */

.footerpanel1 {
    background-color: #F8F9FA;
    border-top: 0.1rem solid #0A58CA;
    border-bottom: 0.1rem solid #0A58CA;
    width: 100%;
    margin: 0;
    padding: 2rem 0;
}

/* ===== Footer Container ===== */
.footer-container {
    max-width: 75rem;             /* ✅ same as .container (75rem) */
    margin: 0 auto;
    
    /* ✅ same side padding feel as header container */
    padding: 0 2rem;
    box-sizing: border-box;

    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem;                    /* breathing room between columns */
}

/* ===== Footer Lists ===== */
.footerpanel1 ul {
    margin: 0 1rem;
    padding: 0;
    list-style: none;
    text-align: left;
}

/* Each List Item (all columns) */
.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 #0A58CA;
    font-size: 1rem;
    font-weight: bold;
    background-color: #0A58CA;
    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: #084298;
    transform: scale(1.05);
}

/* ===== Footer Links ===== */
.footerpanel1 ul a {
    display: flex; /* allows icon and text alignment */
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footerpanel1 ul a:hover {
    color: #0A58CA;
    text-decoration: underline;
}

/* ===== Social Icons (Single Column) ===== */
.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: #084298;
}

/* ===== Second Footer Bar (Copyright) ===== */
.footer-panel2 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F9FA;
    border-bottom: 0.1rem solid #0A58CA;
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem 0;
    text-align: center;
}

.footer-panel2 a {
    text-decoration: none;
    color: #0A58CA;
    margin-left: 5px;
}

.footer-panel2 a:hover {
    text-decoration: underline;
}

/* =====================================================
   ✅ RESPONSIVE FOOTER (Mobile-Friendly)
   ===================================================== */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;

        /* ✅ a bit smaller padding on mobile, like the header */
        padding: 0 1.5rem;
    }

    .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;
    }
}

@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;
    }
}

.ad-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;    /* Center horizontally */
    align-items: center;        /* Vertically align if needed */
    margin: 15px 0;             /* Space above + below ad */
}
#foremediaads-c1 {
    width: 100%; 
    display: flex;
    justify-content: center;   /* centers the ad horizontally */
    align-items: center;
    margin-top: 20px;          /* your top spacing */
}

#foremediaads-c1 iframe,
#foremediaads-c1 img,
#foremediaads-c1 div {
    display: block !important;
    margin: 0 auto !important;
}



