 
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;        /* no underline normally */
  color: inherit;               /* keep original color */
}

a:hover,
a:focus,
a:active {
  text-decoration: none;        /* no underline on hover/focus/click */
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
.btn-primary, .btn-primary:active, .btn-primary:visited {
    background-color: #bf3b35 !important;   /* ← This overrides the default Bootstrap blue */
    border-left:0px;
    border-right:1px solid #bf3b35;
    border-top:0px;
    border-bottom:0px;
    padding:8px;
}

.btn-primary:hover {
    background-color: #000000 !important;
    color:#FFFFFF;
}

.btn-secondary, .btn-secondary:active, .btn-secondary:visited {
    background-color: #bf3b35 !important;  /* ← Also overrides default secondary button colors */
    border-left:0px;
    border-right:1px solid #bf3b35;
    border-top:0px;
    border-bottom:0px;
    padding:8px;
}

.btn-secondary:hover {
    background-color: #000000 !important;
    color:#FFFFFF;
}

/* 2-per-row grid */
.news-grid.two-per-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.news-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    overflow: hidden;
}

.news-box-header {
   
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 6px 10px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.news-box-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Image */
.news-img {
    flex-shrink: 0;
    width: 260px;  /* increased size */
    height: 150px; /* increased size */
    overflow: hidden;
   
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

/* Text */
.news-text h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 6px;
    line-height: 1.3;
}

.news-text p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
    margin-bottom: 6px;
}

.news-text time {
    font-size: 0.85rem;
    color: #777;
}

 
/* ================= HOVER GRADIENT FOR TITLES, TEXT & LINKS ================= */

/* Smooth transition for all text */
.news-featured h1,
.news-featured p,
.news-featured a,

.news-top h2,
.news-top p,
.news-top a,

.news-grid h3,
.news-grid p,
.news-grid a {
  transition: color 0.25s ease, background 0.25s ease;
}

/* Gradient hover – triggered when card is hovered */
.news-featured a:hover h1,
.news-featured a:hover p,

.news-top a:hover h2,
.news-top a:hover p,

.news-grid a:hover h3,
.news-grid a:hover p {
  background: linear-gradient(90deg, #f9d423, #ff4e00); /* yellow → orange */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Direct <a> hover (fallback & safety) */
.news-featured a:hover,
.news-top a:hover,
.news-grid a:hover {
  color: #f9a602;
}

/* Ensure no underline appears */
.news-featured a,
.news-top a,
.news-grid a {
  text-decoration: none;
}

/* ================= HOME NEWS LAYOUT ================= */
.home-news {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap:10px;
}
/* ================= FEATURED ================= */
.news-featured {
  padding: 26px;
  
}
.news-featured {
  position: relative;
  padding-right: 18px;
  background: #fff;
}
.news-featured::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: #e0e0e0;
}
/* Anchor should NOT be grid */
.news-featured a {
  display: block;
  width: 100%;
}


/* Content layout ONLY */
.featured-body {
  display: grid;
  grid-template-columns: 1fr 2fr; /* IMAGE wider than TEXT */
  gap: 26px;
  align-items: center;
}



/* Image */
.news-featured img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  
}

/* FEATURED CONTENT */
.news-featured .overlay {
  position: static;
  background: none;
  padding: 0;
  color: inherit;
}

/* Headline */
.news-featured h1 {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: #660000;
}

/* Text */
.news-featured p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* Time */
.news-featured time {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #777;
}

/* ================= TOP NEWS ================= */
.news-top {
  
  
  padding: 22px;
}

.news-top img {
  width: 100%;
  height: 180px;
  object-fit: cover;
 
  margin-bottom: 14px;
}

.news-top .badge.subtle {
  display: inline-block;
  border: 2px solid #8b1e1a;
  color: #8b1e1a;
  font-weight: 700;
  padding: 6px 14px;
  margin-bottom: 12px;
}

.news-top h2 {
  font-family: "Arial Black", Arial, sans-serif; /* Arial Black font */
  padding: 18px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: #660000; /* dark maroon */
} 
.news-top p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.news-top time {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}
 /* Top news text aligned exactly like grid news */
  .news-top h2,
  .news-top p,
  .news-top time {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin: 0;
    box-sizing: border-box;
    text-align: left;
  
}
.news-top {
  position: relative;
  padding-left: 18px;
  background: #fff;
}

.news-top::before {
  content: "";
  position: absolute;
  left: -6px;          /* stays in the grid gap */
  top: 22px;           /* SAME as .news-top padding */
  bottom: 22px;        /* SAME as .news-top padding */
  width: 1px;
  background: #e0e0e0;
}
.news-top::after {
  content: "";
  position: absolute;
  left: 22px;          /* align with inner content */
  right: 22px;         /* stop at container edge */
  bottom: 0;
  height: 1px;
  background: #e0e0e0;
}


/* ================= BELOW 4 NEWS ================= */
.news-grid {
  grid-column: 1 / -1;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;

  /* Align grid content with consistent padding */
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
}

.news-grid article {
 
  overflow: hidden;
  padding: 0; /* remove inner padding for true alignment */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.news-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0; /* consistent with edge-to-edge look if needed */
  margin-bottom: 12px; /* space between image and text */
}

/* Align text exactly like featured/top news */
.news-grid h3,
.news-grid p,
.news-grid time {
  padding-left: 8px;
  padding-right: 8px;
  margin: 0;
  box-sizing: border-box;
  text-align: left;
}

.news-grid h3 {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #660000; /* dark maroon */
  margin-top: 8px;
}

.news-grid p {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin-top: 4px;
}

.news-grid time {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
  margin-bottom: 12px;
}

 /* More News */
 
.more-news-btn {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 16px;
}

.btn-maroon {
  background-color: #800000;
  color: #fff;
  width: 200px;
  text-align: center;
  font-weight: 600;
 
}

.btn-maroon:hover {
  background-color: #660000;
  color: #fff;
}


/* ================= TABLET VIEW ================= */
@media (max-width: 980px) {

 
  .home-news {
    grid-template-columns: 1fr;
  }

  /* ===== FEATURED NEWS SIDE-BY-SIDE ON TABLET ===== */
  @media (max-width: 980px) {
  .news-featured a {
    grid-template-columns: 1fr 2fr; /* same proportion on tablet */
    gap: 20px;
  }

  .news-featured img {
    min-height: 350px;  /* bigger than before */
    width: 100%;
    height: auto;
  }
}

  /* ===== TOP NEWS SIDE-BY-SIDE ON TABLET ===== */
  .news-top a {
    display: grid;
    grid-template-columns: 1fr 1fr; /* TEXT LEFT, IMAGE RIGHT */
    gap: 16px;
    align-items: center;
  }

  .news-top img {
    height: 250px;
    width: 50%;
    object-fit: cover;
   
  }

  /* ===== BELOW 4 NEWS — 2 COLUMN GRID ===== */
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
/* ================= TABLET ONLY TOP NEWS ================= */
.news-top-tablet {
  display: none; /* hidden by default */
}

/* Show ONLY on tablet: 601px – 980px */
@media (min-width: 601px) and (max-width: 980px) {


  .news-top-tablet a:hover h2,
  .news-top-tablet a:hover p {
    background: linear-gradient(90deg, #f9d423, #ff4e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .news-top-tablet a:hover {
    color: #f9a602;
  }

  .news-top {
    display: none !important; /* hide original top news */
  }

  .news-top-tablet {
    display: block;            /* visible only on tablet */
   
   
    padding: 22px;
  }

  .news-top-tablet a {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr; /* IMAGE LEFT, TEXT RIGHT */
    gap: 24px;
    align-items: center;
  }

  .news-top-tablet img {
    width: 100%;
    height: 280px;
    object-fit: cover;
   
  }

  .news-top-tablet h2 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #a5302b;
  }

  .news-top-tablet p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
  }

  .news-top-tablet time {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #777;
  }
}

/* Ensure hidden outside tablet */
@media (max-width: 600px), (min-width: 981px) {
  .news-top-tablet {
    display: none !important;
  }
}



/* ================= STRICT MOBILE RULES ================= */
@media (max-width: 600px) {
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* CRITICAL */
    
  }

  .home-news {
    margin: 0;
    padding: 0;
    gap: 0;
  }
  
.more-news-btn {
    margin-top: 20px !important;
    margin-bottom: 32px !important; /* key fix */
  }

  /* ================= CARDS ================= */
  .news-featured,
  .news-top,
  .news-grid article {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible; /* allow full-bleed images */
  }

  /* ================= FEATURED STACK ================= */
  .news-featured a {
    display: block;          /* IMPORTANT */
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
/* ================= SPACE AFTER FEATURED ================= */
.news-featured {
  margin-bottom: 16px !important; /* adjust: 8px / 12px / 16px */
}

  .news-featured img,
  .news-top img,
  .news-grid img {
    display: block;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    height: 40vh;
    min-height: 200px;
    object-fit: cover;
  }

  /* ================= FEATURED TEXT ================= */
  .news-featured .overlay {
    padding: 0 !important;
    background: none !important;
  }


  .news-featured h1,
  .news-featured p,
  .news-featured time {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin: 0;
    box-sizing: border-box;
    text-align: left;
  }

  /* ================= TOP NEWS ================= */
  .news-top a {
    display: block;
    padding: 0;
    margin: 0;
  }

  .news-top h2,
  .news-top p,
  .news-top time {
    padding-left: 8px;
    padding-right: 8px;
    margin: 0;
    box-sizing: border-box;
    text-align: left;
  }

  /* ================= GRID NEWS ================= */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
  }

  .news-grid h3,
  .news-grid p,
  .news-grid time {
    padding-left: 8px;
    padding-right: 8px;
    margin: 0;
    box-sizing: border-box;
    text-align: left;
  }
  /* ================= FEATURED MOBILE STACK FIX ================= */
  .news-featured .featured-body {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Ensure text stays on top */
  .news-featured .overlay {
    order: 1;
    width: 100%;
  }

  /* Ensure image stays below text */
  .news-featured img {
    order: 2;
    margin-top: 12px;
  }

/* More News */

.news-grid.two-per-row {
        grid-template-columns: 1fr; 
        padding: 0 !important;      
        margin: 0 !important;       
        gap: 0;                     
        width: 100vw;              
        box-sizing: border-box;
    }
    .news-box-content, 
    .news-box {
        flex-direction: column; /* stack image above text */
        align-items: stretch;   /* full width */
        padding: 0 !important;  /* remove internal padding */
        margin: 0 !important;   /* remove margin */
        width: 100%;
        box-sizing: border-box;
    }

    /* Image edge-to-edge */
    .news-img {
        width: 100% !important;
        height: 350px;      /* fixed height */
        border-radius: 0;   /* sharp edges */
        margin: 0 !important;
        object-fit: cover;
        display: block;
    }

    /* Text under image with minimal padding */
    .news-text {
        width: 100%;
        padding: 8px;       /* optional, can remove if you want true edge-to-edge text */
        text-align: left;
        margin: 0;
        box-sizing: border-box;
    }
}

  /* ================= VISIBILITY ================= */
  .news-top-tablet {
    display: none !important;
  }

  .news-top {
    display: block !important;
  }
}


/* ================= TABLET / MEDIUM SCREENS ================= */
@media (min-width: 601px) and (max-width: 980px) {

  /* TOP NEWS — MAKE IMAGE TALLER */
  .news-top img {
    height: 300px;
    object-fit: cover;
  }

  /* BELOW 4 — 2 COLUMN MODE, TALLER IMAGES */
  .news-grid img {
    height: 200px;
    object-fit: cover;
  }

  .news-grid article {
    padding-bottom: 6px;
  }
}

/* ================= NEWS TOP TABLET ONLY (2-COLUMN GRID ZONE) ================= */
@media (max-width: 980px) and (min-width: 601px) {

  /* Hide original top news */
  .news-top {
    display: none !important;
  }

  /* Show tablet version */
  .news-top-tablet {
    display: block !important;
    
    padding: 22px;
  }

  .news-top-tablet a {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 24px;
    align-items: center;
  }

  .news-top-tablet img {
    width: 100%;
    height: 280px;
    object-fit: cover;
   
  }

  .news-top-tablet h2 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #a5302b;
  }

  .news-top-tablet p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
  }

  .news-top-tablet time {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #777;
  }
 
  /* 2 columns for 4 boxes */
  .news-grid.two-per-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Stack image above text in each news-box */
  .news-box-content {
    flex-direction: column; /* image top, text below */
    gap: 12px;              /* space between image & text */
  }

  /* Make images full width inside each box */
  .news-img {
    width: 100%;
    height: 200px;          /* adjust as needed */
  }

  .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Optional: smaller text padding on tablet */
  .news-text {
    padding: 8px;
  }
}
/* ================= REMOVE WHITE CARD BACKGROUNDS ================= */

/* Remove Bootstrap styles and apply custom button styles */
.more-news-btn .btn-maroon {
    display: inline-block;
    padding: 10px 20px;           /* Adjust padding for button */
    font-size: 16px;              /* Adjust text size */
    font-weight: 600;             /* Bold text */
    color: #800000;               /* Maroon text color */
    background-color: #fff;       /* White background */
    border: 2px solid #800000;    /* Maroon border */
    border-radius: 0;             /* Sharp edges, no border radius */
    text-align: center;           /* Center text inside button */
    text-decoration: none;        /* Remove underline */
    transition: all 0.3s ease;    /* Smooth transition on hover */
}

.more-news-btn .btn-maroon:hover,
.more-news-btn .btn-maroon:focus {
    background-color: #800000;    /* Maroon background on hover */
    color: #fff;                  /* White text on hover */
    border-color: #800000;        /* Ensure border stays maroon */
}

            
             
.news-img {
  position: relative;
  overflow: hidden;
}

.more-news-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: #b30000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  text-transform: uppercase;
  border-radius: 3px;
  letter-spacing: .5px;
}
