/* FONT SETUP */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: local('Neue Haas Grotesk Display Pro'), local('Inter-Bold');
    font-weight: 700;
}

.listing-page-body {
    background-color: #fff !important;
    margin: 0;
    padding: 0;

    color: #111;
}

:root {
    --red: #e31e24;
    --black: #1a1a1a;
    --gray-text: #555;
    --light-border: #efefef;
    --bg-gray: #f9f9f9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Neue Haas Grotesk Display Pro", "Inter", -apple-system, sans-serif;
    background-color: #fff;
    color: var(--black);
    line-height: 1.4;
}

.page-container {
    width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    /* Aligns with Left: 20px from your specs */
}

/* HEADER */
.top-nav {
    background: var(--black);
    color: white;
    padding: 12px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
}

.stats-box {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat .count {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
}

.stat .count.red {
    color: #E9615C;
}

.stat .label {
    font-size: 14px;
    color: #7F919B;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* LAYOUT WRAPPER */
.main-wrapper {
    display: flex;
    gap: 21px;
    margin-top: 30px;
}

.left-col {
    width: 927px;
}

.right-col {
    width: 452px;
}

/* HERO SECTION - SPECIFIC DIMENSIONS */
.hero-flex {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.hero-primary {
    width: 453px;
}

.hero-secondary {
    background-color: #F6F6F6;
    width: 429px;
}

/* Remainder of left col */

.main-img-box {
    position: relative;
    width: 453px;
    height: 255px;
    border-radius: 5px;
    overflow: hidden;
}

.dim-main {
    width: 453px;
    height: 255px;
    object-fit: cover;
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px;
}

.img-overlay h2 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}

.hero-meta {
    margin-top: 15px;
}



.tag-red {
    color: var(--red);
    font-weight: 800;
    font-size: 14px;
    display: block;
}

.hero-meta h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 8px 0;
}

.hero-meta p {
    font-size: 14px;
    font-weight: 500;
    color: #373737;
}

/* SIDE HERO ITEMS (204x105) */
.side-news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-border);
}

a.side-news-item {
    text-decoration: none;
    color: inherit;
}

.hero-meta h3 a {
    color: inherit;
    text-decoration: none;
}

.dim-side {
    width: 204px;
    height: 105px;
    border-radius: 5px;
    object-fit: cover;
}

.side-text h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
}

.time {
    font-size: 11px;
    color: #999;
}

/* LATEST FEED SECTION (237x130) */
.section-heading {
    font-size: 16px;
    font-weight: 700;
    /* border-bottom: 2px solid var(--black); */
    padding-bottom: 5px;
    margin-bottom: 5px;
    background-color: #F6F6F6;
    padding-top: 5px;
}

.feed-card {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-border);
}

.feed-loading,
.feed-empty {
    padding: 24px 0;
    color: #707070;
    font-size: 14px;
}

.feed-content h3 a {
    color: inherit;
    text-decoration: none;
}

.feed-content h3 a:hover {
    color: var(--primary-red);
}

.feed-img-box {
    position: relative;
    width: 237px;
    flex-shrink: 0;
}

.dim-feed {
    width: 237px;
    height: 130px;
    border-radius: 5px;
    object-fit: cover;
}

.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    font-weight: bold;
}

.tag-red-sm {
    color: #DD221B;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.feed-content h3 {
    font-size: 18px;
    margin: 6px 0;
    color: #020202;
}

.feed-content p {
    font-size: 14px;
    color: #373737;
    font-weight: 500;
    margin-bottom: 12px;
}

.feed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author {
    font-size: 14px;
    font-weight: 500;
    color: #7F919B;
}

.share-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 11px;
    cursor: pointer;
    font-weight: bold;
}

/* SIDEBAR WIDGETS */
.sidebar-widget {
    background: var(--bg-gray);
    padding: 20px;
    border: 1px solid #efefef;
    margin-bottom: 25px;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.widget-title-black {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #242424;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.view-all {
    color: #DD221B;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding-bottom: 5px;
}

.most-read-list {
    list-style: none;
}

.most-read-list li {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    font-weight: 500;
}

.rank {
    color: #242424;
    font-size: 14px;
    font-weight: 500;
    width: 20px;
}

.rank-active {
    color: #DD221B;
    font-size: 14px;
    font-weight: 700;
    width: 20px;
}

.most-read-list li {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    font-weight: 500;
}

.most-read-list li a {
    color: inherit;
    text-decoration: none;
}

.most-read-list li a:hover {
    text-decoration: underline;
}

.most-read-list li.active {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    font-weight: 700;
    color: #373737;
}

/* VIDEO WIDGET */
.video-widget {
    background-color: #242424;
}

.vid-card {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

a.vid-card {
    text-decoration: none;
    color: inherit;
}

a.vid-card:hover .vid-info h4 {
    color: #DD221B;
}

.vid-thumb {
    position: relative;
    width: 204px;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.v-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #000;
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
}

.vid-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 5px;
}

/* OPINION */
.blog-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.blog-author {
    color: #DD221B;
    font-weight: 700;
    font-size: 14px;
}

.blog-item h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 4px 0;
    color: #1a1a1a;
}

.blog-item h5 a,
.blog-item h5 a:link,
.blog-item h5 a:visited,
.blog-item h5 a:active {
    color: #1a1a1a;
    text-decoration: none;
}

.blog-item h5 a:hover {
    color: #DD221B;
    text-decoration: none;
}

.blog-date {
    font-size: 12px;
    font-weight: 500;
    color: #7F919B;
}

.load-more-center {
    text-align: center;
    margin: 30px 0;
}

.load-more {
    background: transparent;
    border: 1px solid #ccc;
    padding: 10px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1400px) {
    .page-container {
        width: 100%;
        padding: 0 15px;
    }

    .left-col {
        width: 68%;
    }

    .right-col {
        width: 30%;
    }
}

@media (max-width: 1024px) {
    .main-wrapper {
        flex-direction: column;
    }

    .left-col,
    .right-col {
        width: 100%;
    }

    .hero-flex {
        flex-direction: column;
    }

    .hero-primary,
    .hero-secondary,
    .main-img-box,
    .dim-main {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    .feed-card {
        flex-direction: column;
    }

    .feed-img-box,
    .dim-feed {
        width: 100%;
        height: auto;
    }

    .vid-card {
        flex-direction: column;
    }

    .vid-thumb,
    .dim-side {
        width: 100%;
        height: auto;
    }

    .side-news-item {
        flex-direction: column;
    }

    .dim-side {
        width: 100%;
    }
}


/* Hidden by default on Desktop */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px;
    background-color: #000000;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    display: none;
    /* Changed via media query */
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    padding: 0 10px;
}

/* Visibility Logic */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add padding to the bottom of the body so the nav doesn't hide content */
    body {
        padding-bottom: 75px;
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-family: "Neue Haas Grotesk Display Pro", sans-serif;
    transition: all 0.2s ease;
    flex: 1;
}

.nav-icon {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    /* Default icon color */
    margin-bottom: 5px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 700;
    /* Bold as per image */
    text-align: center;
}

/* Active State Styles */
.nav-item.active {
    color: #E11B22;
    /* Prudent Red */
}

.nav-item.active .nav-icon {
    fill: #E11B22;
    /* Active Icon Color */
}

/* Optional: Slight feedback when clicking */
.nav-item:active {
    transform: scale(0.92);
}