/* ===========================
   GLOBAL FIXES
   =========================== */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  color: #DCE6F2;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   POLICE1 HEADER
   =========================== */

.p1-header {
  background: #5398be;
 border-bottom: 1px solid #1b2233;

  padding: 12px 0;
  width: 100%;
}

.p1-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  flex-wrap: wrap;
}

.p1-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

.p1-logo span {
  color: white;
}

.p1-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.p1-nav a {
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  text-decoration: none;
}

.p1-nav a:hover {
  color: #1e90ff;
}

.p1-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.p1-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.p1-link:hover {
  color: #1e90ff;
}

/* Fix search bar layout */
.p1-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 120px;
}

/* Input spacing so icon doesn't overlap text */
.p1-search input {
  width: 100%;
  padding: 12px 45px 12px 16px; /* top, right, bottom, left */
  border-radius: 20px;
  font-size: 15px;
}

/* Remove the tiny box under the search bar */
.p1-search .search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  height: auto;
  width: auto;
}

/* Center the icon perfectly */
.p1-search .search-btn i {
  font-size: 16px;
  color: #111623;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   TRENDING BAR
   =========================== */

.p1-trending {
  background: black;
  border-bottom: 1px solid #1b2233;
  padding: 12px 0;
  font-size: 20px;
}

.p1-trending-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  justify-content: center;
  align-items: center;

  gap: 75px;
  text-align: center;
}

.p1-trending-label {
  color: #1e90ff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.p1-trending-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.p1-trending-inner a {
  color: #ffffff;
  white-space: normal;
  text-decoration: none;
}

.p1-trending a:hover {
  color: #1e90ff;
}

/* ===========================
   NEWS SECTION
   =========================== */

.news-section {
  padding: 40px 0;
  background: black;
  color: #fff;
}

.news-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
}

/* DEFAULT (laptop / desktop size) */
.video-container {
  max-width: 600px;
  max-height: 375;
  margin: 0 auto;
}

.article-media {
  max-width: 1000px; /* matches your featured image width */
  margin: 0 auto;
}

.featured-image {
  width: 600px;
  max-width: 100%;
  margin: 0 auto 12px;
  
}

.featured-image img {
  width: 100%;
  max-height: 365px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* MOBILE FIX */

.news-featured img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 12px;
}

.news-tag {
  color: #6FB4D6;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.news-featured h2 {
  font-size: 1.6rem;
  margin: 10px 0;
  line-height: 1.3;

  word-wrap: break-word;
}

.news-featured p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  
}

.news-item img {
  width: 100%;
  border-radius: 6px;
}

.news-item h3 {
  font-size:1rem;
  line-height: 1.35;
  color: #fff;
  cursor: pointer;

  word-wrap: break-word;
}




.news-item h3:hover {
  color: white;
}

.news-item a {
  color: #5398be;
  text-decoration: none;
}

.news-item a:hover {
  color: #1e90ff;
}

/* ===========================
   MORE NEWS BUTTON
   =========================== */

.news-more {
  text-align: center;
  margin-top: 30px;
}

.btn-more {
  display: inline-block;
  padding: 10px 22px;
  background: #1e90ff;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.btn-more:hover {
  background: #1877cc;
}

.exclusives-section {
  padding: 40px 0;
  background: black;
}

.exclusives-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  display: block;
  margin: 0 auto 20px;
  color: #DCE6F2;
}

.exclusives-grid {
  max-width: 1200px;   /* controls total width */
  margin: 0 auto;      /* centers the grid */
  display: grid;
  grid-template-columns: repeat(3, 1fr) 280px; /* slightly smaller ad column */
  gap: 25px;
}

.exclusive-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.2s ease;
}

.exclusive-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.exclusive-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.exclusive-tag {
  display: inline-block;
  background: #0a3fa8;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  margin: 10px;
  border-radius: 4px;
}

.exclusive-tag-ad {
  display: inline-block;
  background-color: #ff0000;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  margin: 10px;
  border-radius: 4px;
}

.exclusive-card h3 {
  font-size: 17px;
  font-weight: 600;
  padding: 0 12px 15px;
  color: #111623;
}

.exclusive-ad {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding-bottom: 15px;
}

.exclusive-ad img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.exclusive-card a {
  color: #5398be;
  text-decoration: none;
  font-weight: 600;
}

.exclusive-card a:hover {
  color: #1e90ff;
}

.ad-content {
  padding: 12px;
}

.ad-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: black;
}

.ad-content p {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}

.ad-btn {
  display: inline-block;
  background: #0a3fa8;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
}

.load-more-btn {
  display: block;
  margin: 30px auto 0;
  margin-top: 100px;/* centers it horizontally */
  background: #0a3fa8;
  color: #fff;
  padding: 10px 22px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.exclusive-ad {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.2s ease;
}

.exclusive-ad:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.more-stories-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  margin-top: -50px;
  color: #DCE6F2;
  width: 100%;
  display: block;
  background: black;
  padding: 50px;
}

.more-stories-section {
  background: #000;
  color: #fff;
  padding: 50px 0;
}

.story-card {
  background: #fff;
  border-radius: 6px;
  padding: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.2s ease;
  border: 1px solid #e5e5e5;
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.story-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0a3fa8;
  margin-bottom: 10px;
}

.story-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.story-card a {
  color: #5398be;
  text-decoration: none;
  font-weight: 600;
}

.story-card a:hover {
  color: #1e90ff;
}


/*=========Featured Products Section=========================*/

/* FEATURED PRODUCTS SECTION */

.featured-products-section {
  padding: 60px 0;
  background: #000;
  color: #fff;
}

.featured-products-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  margin-top:-40px;
  color: #fff;
  letter-spacing: 0.5px;
}

/* PRODUCT GRID */
.more-stories-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

/* PRODUCT CARDS (MATCH EXCLUSIVES) */

.more-stories-grid {
  max-width: 1200px;        /* same width as exclusives */
  margin: 0 auto;           /* center the grid */
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(3, 1fr); /* same 3-column layout */
  align-items: start;
}

.product-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 22px;
  color: #fff;
  text-align: left;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.55);
  border-color: #333;
}

.product-card img {
  width: 100%;
  aspect-ratio: 5 / 4;      /* PERFECT match to exclusives card height */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.product-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}

.product-card p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.45;
}

.view-btn {
  display: inline-block;
  background: #DCE6F2;
  color: #000;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.25s ease;
}

.view-btn:hover {
  background: #fff;
  color: #000;
}

/* RESPONSIVE GRID */
@media (max-width: 900px) {
  .more-stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .more-stories-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   MODERN FOOTER — CENTERED
   =========================== */

footer,
.modern-footer {
    background: #000 !important;
    color: #fff !important;
    margin-top: 30px;
}



/* Center the entire footer content */
.footer-columns {
    display: flex;
    justify-content: center;   /* columns centered horizontally */
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left; 
}

.footer-col {
    text-align: left;          /* <-- ensures text stays left-aligned */
}

.footer-col h4 {
    font-size: 25px;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    margin: 6px 0;
    font-size: 14px;
    transition: 0.25s ease;
}

.footer-col a:hover {
    color: #1e90ff; /* your blue hover */
}

/* ===========================
   SOCIAL ICONS — CENTERED
   =========================== */

.footer-social {
    max-width: 1300px;
    margin: 35px auto;
    padding: 0 20px;

    display: flex;
    justify-content: center;   /* CENTER icons */
    align-items: center;
    gap: 22px;
}

.footer-social a {
    font-size: 28px;
    color: #ffffff;
    text-decoration: none;
    transition: 0.25s ease;
}

.footer-social a:hover {
    color: #1e90ff;
    transform: scale(1.1);
}

/* ===========================
   LEGAL LINKS — CENTERED
   =========================== */

.footer-legal-links {
    max-width: 1300px;
    margin: 20px auto;
    padding: 0 20px;

    display: flex;
    justify-content: center;   /* CENTER legal links */
    flex-wrap: wrap;
    gap: 25px;
}

.footer-legal-links a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 13px;
    transition: 0.25s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

/* ===========================
   COPYRIGHT — CENTERED
   =========================== */

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;

    text-align: center;
    font-size: 13px;
    opacity: 0.7;
    color: #ffffff;
}

/* Group container for Sections + Company */
.footer-group {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;        /* space between the two columns */
    text-align: center;
}

/* Ensure the rest of the footer stays centered */
.footer-columns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}



/* RESPONSIVE GRID (duplicate, but harmless) */
@media (max-width: 900px) {
  .more-stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .more-stories-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   TABLET
   =========================== */

@media screen and (max-width: 900px) {

  .news-container {
    grid-template-columns: 1fr;
  }

  .p1-header-inner {
    flex-direction: column;
    text-align: center;
  }

  .p1-nav {
    justify-content: center;
  }

  .p1-right {
    justify-content: center;
  }

  .p1-nav a {
    font-size: 18px;
  }

  .p1-trending-label {
    font-size: 22px;
  }
}

/* ===========================
   MOBILE PORTRAIT FIX
   =========================== */

@media screen and (max-width: 480px) {

  .p1-header-inner {
    padding: 0 12px;
    gap: 14px;
  }

  .p1-logo {
    font-size: 1.2rem;
    text-align: center;
  }

  .p1-nav {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .p1-nav a {
    font-size: 14px;
  }

  .p1-right {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .p1-search {
    width: 100%;
    max-width: 100%;
  }

  .p1-search input {
    width: 100%;
  }

  .p1-trending {
    padding: 10px;
  }

  .p1-trending-label {
    font-size: 18px;
  }

  .p1-trending-links {
    gap: 8px;
  }

  .p1-trending-inner a {
    font-size: 14px;
  }

  .news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 12px;
  }

  .news-featured h2 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .news-featured p {
    font-size: 0.9rem;
  }

  .news-item h3 {
    font-size: 0.9rem;
  }

  .btn-more {
    width: 100%;
    text-align: center;
  }
}
