/* Global resets */
/* Standard layout container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;   /* small sides padding for phones */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
}
p {
    font-size: 20px;
}
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}
li {
    font-size: 20px;
}
/* ================= TOP MENU ================= */
.top-menu {
    background: #000;
    padding: 14px 0;
    width: 100%;
}

.top-menu a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
} 


/* ===== TOP MENU ===== */

.top-menu ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    background: #000;
    padding: 15px 0;
}

.top-menu ul li {
    position: relative;
}

.top-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 6px 10px;
}

/* ▼ arrow */
.top-menu .arrow {
    font-size: 12px;
    margin-left: 5px;
}
/* Hide submenu by default */
.top-menu .submenu {
    display: none;
    position: absolute;
    background: #000;
    width: 220px;
    top: 100%;
    left: 0;
    padding: 20px;
    margin: 0;
    z-index: 1000;
}

/* Show menu on hover */
.top-menu li.dropdown:hover .submenu {
    display: block;
}

/* Submenu links */
.top-menu .submenu li a {
    color: #fff;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
}

/* Hover color */
.top-menu .submenu li a:hover {
    background: #111;
}

/* Position dropdown container */
.top-menu li.dropdown {
    position: relative;
}

/* Arrow styling */
.top-menu .arrow {
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Rotate arrow when submenu is open */
.top-menu li.dropdown:hover .arrow {
    transform: rotate(180deg);
}


/* ================= LOGO SECTION ================= */
.logo-section {
    text-align: center;
    padding: 40px 20px 0px 20px;
}

.site-logo {
    width: auto;
    height: 90px;
    margin-bottom: 20px;
}

.title {
    font-size: 64px;
    margin: 0;
    font-weight: 900;
}

.title .black {
    color: #000;
}

.title .red {
    color: #c62800;
}

/* ================= SEARCH BOX ================= */
/* Search box wrapper */
.search-box {
    margin: 30px auto;
    width: 90%;
    max-width: 600px;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    height: 60px;
}

/* Input text */
.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 26px;
    text-align: center;
    background: none;
}

/* Icon wrapper */
.icon-wrapper {
    width: 38px;
    height: 38px;
    position: relative;
    margin-left: 10px;
}

/* The circle of magnifying glass */
.search-icon {
    width: 26px;
    height: 26px;
    border: 3px solid #000;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 6px;
}

/* The angled handle */
.search-icon::after {
content: "";
    width: 17px;
    height: 4px;
    background: #000;
    position: absolute;
    bottom: -8px;
    right: -10px;
    transform: rotate(45deg);
}
.no-results {
    grid-column: 1 / -1;       /* span entire grid */
    text-align: center;
    padding: 40px 0;
    font-size: 18px;
    color: #777;
    font-weight: 500;
    width: 100%;
}


/* ICON EXACT LOOK */
.icon-wrapper img {
    width: 28px;
    height: auto;
}
/* -------------------------
   RESPONSIVE DESIGN
-------------------------- */

/* Tablet */
@media (max-width: 768px) {
    .search-box {
        max-width: 350px;
        padding: 8px 14px;
    }

    .search-box input {
        font-size: 15px;
    }

    .icon-wrapper {
        width: 34px;
        height: 34px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .search-box {
        max-width: 90%;
        padding: 8px 12px;
    }

    .search-box input {
        font-size: 14px;
    }

    .icon-wrapper {
        width: 32px;
        height: 32px;
    }

    .search-icon {
        width: 16px;
        height: 16px;
    }
}
/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
    .title {
        font-size: 48px;
    }

    .site-logo {
        height: 70px;
    }

    .search-box {
        max-width: 90%;
    }

    .top-menu ul {
        gap: 20px;
    }
}
/* ================= CLEAN RED FOOTER ================= */
.latest-footer {
    background: #c62800; /* red bar */
    padding: 25px 20px 18px;  /* reduced spacing */
    text-align: center;
    color: #fff; /* white text */
}

/* Footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 10px; /* small gap above copyright */
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links li a {
    text-decoration: none;
    color: #fff; /* white links */
    font-size: 17px;
}

.footer-links li a:hover {
    text-decoration: underline;
}

/* Copyright text */
.copyright {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}
/* Banner styles */
.site-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0; /* spacing above/below the banner */
  background: transparent;
}

.site-banner img {
  display: block;
  width: 100%;
  max-width: 1320px; /* constrain to a reasonable max width */
  height: auto;
  object-fit: contain;
}
/* ---------------- TOP NEWS ---------------- */
.top-news-container {
    width: 90%;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: #000;
    margin-bottom: 25px;
}

/* ---------------- CATEGORY SLIDER ---------------- */
/* ---------------- CATEGORY SLIDER ---------------- */
#newsDesc {
    display: -webkit-box;
    -webkit-line-clamp: 6;   /* limit to 6 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
    width: 100%;
    position: relative;
}

.category-slider {
    display: flex;
    gap: 18px;
    flex: 1;
    overflow-x: auto;
    padding: 8px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.category-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Category Pills */
.cat-item {
    padding: 12px 28px;
    border-radius: 30px;
    border: 2px solid #c62800;
    background: transparent;
    color: #c62800;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.25s ease;
}

.cat-item:hover,
.cat-item.active {
    background: #c62800;
    color: #fff;
}

/* Slider arrows */
.cat-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 42px;
    height: 42px;

    background: #c62800;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s ease;
}

.cat-arrow:hover {
    background: #a92100;
    transform: scale(1.08);
}

/* Slider arrows */
.cat-arrow {
    background: #c62800;
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}
.category-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.category-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    position: relative;
}

.category-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: none;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.cat-item {
    padding: 12px 25px;
    border-radius: 32px;
    border: 2px solid #ba1717;
    background: transparent;
    color: #ba1717;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
}

.cat-item.active {
    background: #ba1717;
    color: white;
}

.cat-arrow {
    background: #ba1717;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

/* Category pills */
.cat-item {
    background: transparent;
    border: 2px solid #b90400;
    color: #b90400;
    padding: 10px 22px;
    margin-right: 12px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
}

.cat-item.active,
.cat-item:hover {
    background: #b90400;
    color: #fff;
}

/* ---------------- NEWS CARD ---------------- */
.news-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 25px;
    border: 2px solid #f0f0f0;
}

.news-img {
    width: 240px;
    border-radius: 10px;
    object-fit: cover;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 32px;
    font-weight: 800;
    margin-top: 0;
}

.news-desc {
    color: #444;
    line-height: 1.6;
    margin: 10px 0;
}

.news-meta {
    display: block;
    font-size: 14px;
    color: gray;
    margin-bottom: 12px;
}

.news-link {
    color: #720000;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}
/* -----------------------------------
   RESPONSIVE STYLES
----------------------------------- */

/* Tablet */
@media (max-width: 900px) {
    .news-card {
        max-width: 95%;
    }

    .news-img {
        width: 220px;
    }

    .news-title {
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .news-card {
        flex-direction: column;
        padding: 14px;
    }

    .news-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .news-content {
        padding-right: 0;
    }

    .news-title {
        font-size: 19px;
    }

    .news-desc {
        font-size: 14px;
    }

    .news-meta {
        font-size: 13px;
    }
}
/* SECTION TITLE STYLE (matches screenshot) */
.section-header {
    position: relative;
    margin: 40px 0 20px;
}

.section-header h2 {
    display: inline-block;
    background: #d32600; /* TheLatest red */
    color: white;
    padding: 10px 20px;
    font-size: 28px;
    font-weight: 700;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

/* horizontal line */
.section-header::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(100% - 180px);
    height: 2px;
    background: #d32600;
}
/* ---------------- PODCAST SECTION ---------------- */
.podcast-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.podcast-section .section-title {
    font-size: 32px;
    font-weight: 900;
    color: #ba1717;
    text-align: center;
    margin-bottom: 25px;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 25px;
}

.podcast-card {
    background: #fff;
    border: 2px solid #ba1717;
    padding: 10px;
    border-radius: 8px;
}

.podcast-card iframe {
    width: 100%;
    height: 200px;
    border-radius: 6px;
}

.podcast-card h3 {
    font-size: 18px;
    margin-top: 12px;
    color: #333;
    font-weight: bold;
}

/* Footer button */
.podcast-footer {
    text-align: center;
    margin-top: 30px;
}

.view-all-btn {
    background: #ba1717;
    color: #fff;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.view-all-btn:hover {
    background: #a50f0f;
}
/* ===== FOOTER SLOGAN BANNER (GRADIENT + OUTER SPACE) ===== */

.site-footer-banner {
    width: 100%;

    /* space OUTSIDE the banner */
    margin-top: 40px;        /* gap from content above */
    margin-bottom: 40px;     /* gap before red footer */

    /* space INSIDE the banner */
    padding: 50px 0;

    /* not pure black: dark gradient with deep red */
    background: #000;

    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-banner-inner {
    /* use your existing layout container */
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
}
 
.footer-banner-title {
    color: #ffffff;
    font-size: 40px;
    font-weight: 600;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* mobile tweaks */
@media (max-width: 600px) {
    .site-footer-banner {
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 35px 0;
    }

    .footer-banner-title {
        font-size: 26px;
    }
}
/* ================= INNER PAGE STYLES ================= */

/* Big page banner */
.page-banner {
    width: 100%;
    padding: 25px 0;
    background:#d32600;
    text-align: center;
    margin-bottom: 40px;
}

.page-banner-title {
    color: #fff;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0;
}

/* Better spacing on inner content blocks */
.inner-container {
    padding-bottom: 50px;
}

.inner-section {
    margin-bottom: 50px;
}

/* Larger section header for inner pages */

@media(max-width: 600px){
    .page-banner {
           padding: 25px 0;
    }
    .page-banner-title {
        font-size: 32px;
    }
    .section-header.big h2 {
        font-size: 24px;
    }
}
/* container */
/* === Namespaced news layout (won't affect other sections) === */
.news-results-wrapper { 
  width: 100%;
  box-sizing: border-box;
  padding: 0 12px; /* optional outer padding */
  clear: both;     /* prevents overlap with previous floats/sections */
}

/* grid container */
.news-results-wrapper .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 12px;   /* granularity for the JS span calc */
  gap: 24px;
  align-items: start;
  box-sizing: border-box;
  margin: 12px 0 40px;
}

/* each card — keep simple and consistent */
.news-results-wrapper .news-card {
  display: block;
  box-sizing: border-box;   /* IMPORTANT: avoid sizing conflicts */
  width: 100%;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid #dedede;
  background: #fff;
  text-decoration: none;
  color: #000;
  grid-row-end: span 1;     /* default, will be updated by JS */
  transition: box-shadow .18s ease, transform .18s ease;
  overflow: hidden;
}

.news-results-wrapper .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.news-results-wrapper .news-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.news-results-wrapper .news-thumb {
  width: 100%;
  display: block;
  border-radius: 6px;
  height: auto;
  margin-bottom: 12px;
  object-fit: cover;
}

/* meta line */
.news-results-wrapper .news-meta {
  font-size: 14px;
  color: #777;
  margin-top: 8px;
}
.news-results-wrapper .news-card img {
    width: 100%;
    aspect-ratio: 1 / 1;     /* perfect square */
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 12px;
}

/* small responsive tweak (optional) */
@media (max-width: 900px) {
  .news-results-wrapper .news-grid { gap: 18px; }
  .news-results-wrapper .news-title { font-size: 18px; }
}

