/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;/*'Montserrat', Arial, sans-serif*/
    font-weight: normal;
    color: #fff; /* Default text color for readability on white */
}

body {
    line-height: 1.6;
    padding-top: 110px;
    background: #FFFFFF; /* Maintained white background */
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
    font-weight: normal;
}

h2 {
    font-family: "Oswald", sans-serif;
    color: #04305a; /* Brand blue */
    margin-left: 6.5%;
    margin-bottom: 20px;
    font-size: 45px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: #FFDA14;
    border-radius: 2px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

/* Top Navigation Bar (Unchanged) */
.top-nav {
    background: linear-gradient(to bottom, #04305a 50%, #FF4C14 100%);
    color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #FFDA14;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.top-nav .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav .logo img {
    height: 40px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.watch-live a {
    background-color: #FF0000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.watch-live a:hover {
    background-color: #FFDA14;
    color: #04305a;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.watch-live i {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Mobile Menu Button (Unchanged) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

/* Header right section (Unchanged) */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Navigation Section (Restored to Original #04305a) */
.navigation-section {
    width: 100%;
    max-width: 1200px;
    margin: 22px auto;
    padding: 0 20px;
    background: #04305a; /* Reverted to original brand dark blue */
    border-radius: 10px;
    position: relative;
    z-index: 1100;
}

/* Desktop Menu (Unchanged) */
.desktop-menu {
    display: flex;
    justify-content: center;
    list-style: none;
}

.menu-item {
    font-family: 'Montserrat', Arial, sans-serif;
    position: relative;
    padding: 15px 25px;
    font-size: 16.5px;
    color: #fff;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.menu-item:hover {
    color: #FFF;
    background: #FFA629;
    transform: scale(1.05);
}

/* Specific hover for "County Briefs" and "Multimedia" (Unchanged) */
.menu-item.has-dropdown:hover {
    background: #FFA629;
    color: #FFF;
}

/* Dropdown Arrows (Unchanged) */
.has-dropdown::after {
    content: "▼";
    font-size: 0.6em;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.menu-item:hover .has-dropdown::after {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #04305a;
    border: 2px solid #FF4C14;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    min-width: 200px;
    z-index: 1101;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Updated hover behavior to include the dropdown (Unchanged) */
.menu-item.has-dropdown:hover .dropdown,
.menu-item.has-dropdown .dropdown:hover {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    text-align: left;
    transition: all 0.3s ease;
    font-weight: bold;
}

.dropdown-item:hover {
    background-color: #FFA629;
    color: #FFF;
    border-left: 4px solid #FFDA14;
    transform: translateX(5px);
}

/* Mobile Menu (Unchanged) */
.mobile-menu {
    display: none;
    flex-direction: column;
    margin-top: 10px;
    border: 2px solid #FFDA14;
    border-radius: 10px;
    overflow: hidden;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #04305a;
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.mobile-dropdown {
    display: none;
    flex-direction: column;
    background-color: #FFA629;
    padding-left: 20px;
}

.mobile-dropdown.active {
    display: flex;
}

.mobile-menu .menu-item {
    border-bottom: 1px solid #FFDA14;
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.mobile-menu .menu-item:hover {
    background: #FFA629;
    color: #FFDA14;
    transform: scale(1.02);
}

.mobile-dropdown .dropdown-item {
    padding: 12px 20px;
    color: #fff;
    transition: all 0.3s ease;
    font-weight: bold;
}

.mobile-dropdown .dropdown-item:hover {
    background-color: #FFDA14;
    color: #04305a;
    transform: translateX(5px);
}

/* Close Button (Unchanged) */
.close-btn {
    display: none;
    padding: 15px;
    background: none;
    color: #FFDA14;
    border: none;
    cursor: pointer;
    font-size: 16px;
    align-self: flex-end;
    font-weight: bold;
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu .menu-item {
        border-bottom: 1px solid #FFDA14;
        color: #fff;
        padding: 15px 20px;
        background-color: #04305a;
    }

    #countyBriefsDropdown,
    #multimediaDropdown {
        background-color: #FFA629;
    }

    .close-btn {
        display: block;
    }

    /* Removed navigation-section override to keep #04305a */
}

/* Hero Section (Top Stories) */
.hero {
    padding: 30px 0;
    margin-top: 30px;
    position: relative;
    background: #FFFFFF; /* White background */
    border-radius: 10px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: ; /* Brand orange accent border */
    z-index: 0;
}

.hero .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    gap: 5%; /* 25% gap between hero-main and hero-sidebar */
}

.hero-main {
    flex: 0 0 50%; /* 50% width (~585px) */
    margin-right: calc(25% - 30px); /* 25% gap (~292px, adjusted for 15px padding per side) */
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.hero-main::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 30px;
    height: 30px;
    background: #FFDA14;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;/*was initially 4*/
}

.hero-caption-area {
    width: 100%;
    height: 100%;
    padding: 15px;
    background: #04305a; /* Brand dark blue */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero-caption-area h1 {
    font-size: 29px;
    margin: 10px 0;
    color: #FFA629; /* Brand orange */
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    transition: color 0.3s ease;
}

.hero-caption-area h1:hover {
    color: #FFDA14;
}

.hero-caption-area .meta .time {
    color: #FFDA14;
    font-weight: bold;
}

.hero-caption-area p {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #e0e0e0;
    font-weight: bold;
}

.hero-sidebar {
    flex: 0 0 23%; /* 25% width (~292px) */
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}


.hero-sidebar .sidebar-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    background: #04305a;
    border: 2px solid #FFA629;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    padding: 3px;
}

.hero-sidebar .sidebar-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 2px;
}


.hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    transition: transform 0.3s ease;
    background: #04305a; /* Brand dark blue */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFA629; /* Brand orange border */
}

.sidebar-item:hover {
    transform: translateY(-5px);
}

/* Caption Styles */
.sidebar-caption {
    padding: 10px;
    background: transparent; /* No additional background */
    border-radius: 10px;
}

.sidebar-caption h3 {
    font-size: 18px;
    margin: 5px 0;
    color: #FFA629; /* Brand orange */
    transition: color 0.3s ease;
    font-weight: bold;
}

.sidebar-caption h3:hover {
    color: #FF4C14;
}

.meta {
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.meta .time {
    margin-right: 15px;
    color: #FFDA14;
    font-weight: bold;
}

/* News Grid (Latest News, County Briefs, Culture and Arts) */
.news-grid {
    padding: 30px 0;
    position: relative;
    background: #FFFFFF; /* White background */
    border-radius: 10px;
}

.news-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #fff; /* Brand orange accent border */
    z-index: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    background: #04305a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFA629;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.grid-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid #FFDA14;
}

.grid-caption {
    padding: 15px;
}

.grid-caption h3 {
    font-size: 14.9px;
    margin: 8px 0;
    color: #FFFFFF; /* Brand White */
    transition: color 0.3s ease;
    font-weight: bold;
}

.grid-caption h3:hover {
    color: #fff;
    text-decoration: underline;
}

.grid-caption .meta {
    color: #ccc; /* Light for readability */
    font-size: 13px;
    font-weight: bold;
}

.grid-line-break {
    border: none;
    height: 3.5px;
    background-color: #FFDA14;
    margin: 10px 15px;
    width: calc(100% - 30px);
}

/* Editors Pick Section */
.editors-pick {
    background: #FFFFFF; /* White background */
    padding: 40px 0;
    margin: 20px 0;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.editors-pick::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: ; /* Brand orange accent border */
    z-index: 0;
}

.editors-pick .container {
    position: relative;
    z-index: 1;
}

.editors-pick h2 {
    color: #04305a; /* Brand dark blue */
    font-size: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: bolder;
}

.editors-pick .hero-main {
    width: 60%;
    border-radius: 15px;
    animation: fadeIn 1s ease;
}

.editors-pick .hero-image {
    height: 450px;
}

.editors-pick .hero-caption-area {
    width: 100%;
    background: #04305a; /* Brand dark blue */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.editors-pick .hero-sidebar {
    width: 15%;
}

.editors-pick .sidebar-item {
    background: #04305a; /* Brand dark blue */
    border-radius: 10px;
    padding: 3px;
    border: 2px solid #FFA629; /* Brand orange border */
}


/* Video Section (Unchanged) */
.video-section {
    padding: 30px 0;
    background: #FFA629; /* Brand orange background */
    position: relative;
}

.video-section h2 {
    color: #04305a; /* Brand dark blue */
    font-weight: bold;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-item {
    background-color: #04305a; /* Brand dark blue */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-embed {
    position: relative;
    width: 100%;
    height: 180px; /* Matches original thumbnail height */
    cursor: pointer; /* Indicates clickability */
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px 10px 0 0; /* Matches .video-item border-radius */
}

.video-embed .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #04305a; /* Brand dark blue (#04305a) with transparency */
    width: 70px; /* Wider for YouTube-like rounded rectangle */
    height: 48px; /* Taller for YouTube proportions */
    border-radius: 8px; /* Rounded corners like YouTube */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255, 166, 41, 0.4); /* Subtle #FFA629 shadow */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.video-embed .play-icon:hover {
    background-color: #FF4C14; /* Brand red-orange on hover */
    transform: translate(-50%, -50%) scale(1.1); /* Slight scale for interactivity */
}

.video-embed .play-icon i {
    color: #FFDA14; /* Brand yellow for triangle */
    font-size: 24px; /* Larger for visibility */
    margin-left: 4px; /* Slight offset for centering triangle */
}

.video-item h3 {
    padding: 15px;
    font-size: 16px;
    color: #fff; /* White text */
    font-weight: bold;
}

.video-item .meta {
    padding: 0 15px 15px;
    display: flex;
    color: #ccc; /* Light gray for meta text */
    font-size: 13px;
    font-weight: bold;
}

.video-item .duration {
    margin-right: 15px;
}

/* Video Modal */
.video-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent overlay */
    z-index: 2000; /* Above all other content */
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex; /* Show when active */
}

.video-modal-content {
    position: relative;
    background-color: #04305a; /* Brand dark blue */
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #FFA629; /* Brand orange border */
}

.video-modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #FF4C14; /* Brand red-orange */
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.video-modal-close:hover {
    background-color: #FFDA14; /* Brand yellow */
    color: #04305a;
}

.video-modal-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-modal-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
.video-section .video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-section .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px 10px 0 0;
    display: block; /* Remove any inline spacing */
}

/* About Link Styling (Unchanged) */
.about-link {
    background-color: #FF4C14;
    color: #fff;
    padding: 5px 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.about-link:hover {
    background-color: #FFDA14;
    color: #04305a;
    transform: scale(1.05);
}

/* Footer (Unchanged) */
.main-footer {
    background: linear-gradient(to top, #04305a, #1a4a7a);
    color: #fff;
    padding: 40px 0 20px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #FFDA14;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 100%;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
}

.links-column {
    flex: 1;
    min-width: 150px;
    margin-bottom: 20px;
}

.links-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #FFDA14;
    font-weight: bold;
}

.links-column a {
    color: #ffffff; /*#FFA629*/
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: normal;
}

.links-column a:hover {
    color: #FFDA14;
}

.footer-social {
    flex: 1;
    min-width: 100%;
    margin-top: 20px;
}

.footer-social h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #FFDA14;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #FF4C14;
    font-size: 20px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.social-icons a:hover {
    color: #FFDA14;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #FFDA14;
    font-size: 13px;
    color: #ccc;
    font-weight: bold;
}

.legal-links a {
    margin: 0 8px;
    color: #FFA629;
    transition: color 0.3s ease;
    font-weight: bold;
}

.legal-links a:hover {
    color: #FFDA14;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .grid-container,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .video-modal-content {
        width: 95%;
        max-width: 600px;
    }

    .hero .container {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .hero-main {
        width: 100%;
    }

    .hero-caption-area {
        width: 100%;
        padding: 15px;
    }

    .hero-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 250px;
    }

    .editors-pick .hero-main {
        width: 100%;
    }

    .editors-pick .hero-caption-area {
        width: 100%;
    }

    .editors-pick .hero-sidebar {
        width: 100%;
    }

    .grid-line-break {
        margin: 8px 10px;
        width: calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: 350px;
    }

    .sidebar-item {
        height: 160px;
    }

    .grid-container,
    .video-grid {
        grid-template-columns: 1fr;
    }
    .video-modal-content {
        width: 90%;
        max-width: 500px;
        padding: 15px;
    }

    .video-modal-close {
        top: -8px;
        right: -8px;
        width: 25px;
        height: 25px;
        font-size: 18px;
    }
    .video-embed .play-icon {
        width: 60px; /* Slightly smaller for smaller screens */
        height: 42px;
    }
    .video-embed .play-icon i {
        font-size: 20px;
    }

    .hero-caption-area {
        padding: 15px;
    }

    .hero-caption-area h1 {
        font-size: 28px;
    }

    .hero-caption-area p {
        font-size: 16px;
    }

    .editors-pick .hero-image {
        height: 400px;
    }

    .grid-line-break {
        margin: 6px 10px;
        height: 1.5px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 90px;
        background: #FFFFFF; /* White background */
    }

    .main-header {
        height: auto;
        padding: 10px 0;
    }

    .hero-image {
        height: 250px;
    }

    .hero-caption-area {
        background: #04305a;
        color: #fff;
        padding: 15px;
        border-radius: 0 0 10px 10px;
    }

    .hero-caption-area h1 {
        font-size: 24px;
    }

    .hero-caption-area p {
        font-size: 16px;
    }

    .grid-item {
        flex-direction: column;
        background: #04305a; /* Brand dark blue */
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        border: 2px solid #FFA629; /* Brand orange border */
    }

    .grid-content {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .grid-item img {
        width: 30%;
        height: 80%;
        border-radius: 10px;
    }

    .grid-caption {
        width: 100%;
        padding: 0;
        position: static;
        background: none;
        color: #FFA629; /* Brand orange */
    }

    .grid-caption h3 {
        font-size: 16px;
        margin: 5px 0;
        color: #FFFFFF;
    }

    .grid-caption .meta {
        font-size: 12px;
        color: #ccc;
    }

    .grid-line-break {
        margin: 6px 10px;
        height: 3.5px;
        width: calc(100% - 20px);
        align-self: stretch;
    }

    .sidebar-item {
        flex-direction: row-reverse;
        align-items: center;
        gap: 15px;
        background: #04305a; /* Brand dark blue */
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        border: 2px solid #FFA629; /* Brand orange border */
    }


    .sidebar-item img {
        width: 30%;
        height: 80px;
        border-radius: 10px;
    }

    .sidebar-caption {
        width: 70%;
        padding: 0;
        position: static;
        background: none;
        color: #FFA629; /* Brand orange */
    }

    .sidebar-caption h3 {
        font-size: 16px;
        margin: 5px 0;
        color: #FFA629;
    }

    .sidebar-caption .meta {
        font-size: 12px;
        color: #ccc;
    }

    .sidebar-item {
        flex: 1 1 100%;
        height: auto;
    }

    .footer-links {
        flex-direction: column;
    }

    #livewatch {
        margin-top: 5%;
    }

    .video-section {
        background: #FFA629;
    }

    .video-section h2 {
        color: #04305a;
        font-size: 36px;
    }
    .video-modal-content {
        width: 85%;
        max-width: 400px;
        padding: 10px;
    }

    .video-embed .play-icon {
        width: 70px; /* Smaller for mobile */
        height: 48px;
        border-radius: 6px;
    }

    .video-embed .play-icon i {
        font-size: 18px;
        margin-left: 3px;
    }

    .editors-pick {
        background: #FFFFFF; /* White background */
    }

    .editors-pick h2 {
        color: #04305a;
        font-size: 45px;
    }

    .editors-pick .hero-image {
        height: 300px;
    }
}

@media (min-width: 768px) {
    .hero .container {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .hero-caption-area {
        flex: 0 0 25%;
    }

    .footer-logo {
        min-width: 200px;
    }

    .footer-social {
        min-width: 200px;
        margin-top: 0;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.divider {
    height: 3px;
    background: linear-gradient(red);
    margin: 30px 0;
    padding: 0 30px;
    width: auto;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #FFDA14;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 218, 20, 0.5);
}

.divider-container {
    padding: 0 30px;
}

.divider-line {
    height: 3px;
    background: linear-gradient(to right, #FFDA14, #FF4C14);
    width: 100%;
    border: none;
    margin: 30px 0;
}

/* Article Page Specific Styles */
.article-section {
    padding: 40px 0;
    background: #FFFFFF;
    position: relative;
    z-index: 1;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.article-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    color: #04305a !important; /* Ensure brand color overrides global */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

.article-meta {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #FFDA14 !important; /* Ensure meta color is visible */
    background: #04305a;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: bold;
}

.article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFA629;
}

.article-share {
    display: flex;
    gap: 2px;
    margin-bottom: 30px;
}

.share-button {
    background-color: ; /*#FF4C14*/
    color: #fff !important; /* Ensure icon color is visible */
    width: 40px;
    height: 40px;
    border-radius: ;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 25px;
    position: relative; /* For potential CSS tooltip styling */
}

.share-button:hover {
    background-color: ;/*#FFDA14*/
    color: #04305a !important;
    transform: scale(1.1);
}

.article-content {
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #000 !important; /* Dark color for visibility */
    font-weight: normal;
    background: #FFFFFF; /* Explicitly set white background */
}

.article-content a {
    color: #04305a;
    text-decoration: underline;
    font-family: 'Oswald', sans-serif;
}

.article-content a:hover {
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
}

.article-content h1 h2 h3 h4 {
    color: #04305a !important; 
    font-family: 'Oswald', sans-serif;
}

.article-content h1{
    color: #04305a !important; 
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

.article-content h1 strong{
    color: #04305a !important; 
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

.article-content h2{
    color: #04305a !important; 
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

.article-content h2 strong{
    color: #04305a !important; 
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

.article-content h3{
    color: #04305a !important; 
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

.article-content h3 strong{
    color: #04305a !important; 
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

.article-content h4{
    color: #04305a !important; 
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

.article-content h4 strong{
    color: #04305a !important; 
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}


.article-content p {
    color: #000 !important; /* Ensure paragraph text is visible */
    margin-bottom: 17px;
    font-family: 'Oswald', sans-serif;
}

.article-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #04305a !important; /* Ensure subheading color is visible */
    margin: 20px 0 10px;
    font-weight: bold;
}
.article-content em {
    color: #04305a !important; /* Ensure paragraph text is visible */
    margin-bottom: 17px;
    font-family: 'Oswald', sans-serif;
}
.article-content i {
    color: #04305a !important; /* Ensure paragraph text is visible */
    margin-bottom: 17px;
    font-family: 'Oswald', sans-serif;
}
.article-content p strong {
    color: #000 !important; /* Ensure paragraph text is visible */
    margin-bottom: 17px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
}

.publisher {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #04305a !important; /* Ensure publisher color is visible */
    margin-top: 30px;
    padding-top: 15px;
    border-top: 2px solid #FFDA14;
    font-weight: bold;
    text-align: right;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-heading {
        font-size: 28px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-image {
        max-height: 300px;
    }

    .article-meta {
        font-size: 13px;
    }

    .publisher {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .article-heading {
        font-size: 24px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-image {
        max-height: 250px;
    }

    .article-share {
        gap: 10px;
    }

    .share-button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .publisher {
        font-size: 12px;
    }
}

/* About Section */
.about-section {
    padding: 40px 0;
    background: #FFFFFF; /* Matches homepage background */
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-intro {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #333; /* Dark text for readability */
    margin-bottom: 30px;
    font-weight: normal;
    border-left: 4px solid #FFA629; /* Brand orange */
    padding-left: 15px;
}

.about-image {
    width: 100%;
    max-height: 400px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFDA14; /* Brand yellow */
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #04305a; /* Brand dark blue */
    margin: 20px 0 10px;
    font-weight: bold;
}

.about-content p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #000; /* Dark text for readability */
    margin-bottom: 20px;
    font-weight: normal;
}

.about-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 20px;
}

.about-list li {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    color: #000;
    margin-bottom: 15px;
    position: relative;
    font-weight: normal;
}

.about-list li strong{
    font-family: 'Montserrat', Arial, sans-serif;
    color: #000;
}

.about-list li::before {
    content: '•';
    color: #FF4C14; /* Brand red-orange */
    font-size: 20px;
    position: absolute;
    left: -20px;
    top: 2px;
}

.about-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.about-link {
    background-color: #FF4C14; /* Brand red-orange */
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
    text-align: center;
}

.about-link:hover {
    background-color: #FFDA14; /* Brand yellow */
    color: #04305a; /* Brand dark blue */
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-intro {
        font-size: 18px;
    }

    .about-content h3 {
        font-size: 22px;
    }

    .about-content p,
    .about-list li {
        font-size: 15px;
    }

    .about-image {
        max-height: 300px;
    }

    .about-image img {
        height: 300px;
    }

    .about-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .about-link {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .about-intro {
        font-size: 16px;
        padding-left: 10px;
        border-left-width: 3px;
    }

    .about-content h3 {
        font-size: 20px;
    }

    .about-content p,
    .about-list li {
        font-size: 14px;
    }

    .about-image {
        max-height: 250px;
    }

    .about-image img {
        height: 250px;
    }

    .about-list {
        padding-left: 15px;
    }

    .about-list li::before {
        left: -15px;
        font-size: 18px;
    }
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 40px;
    padding: 20px;
    background: #04305a; /* Brand dark blue */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFDA14; /* Brand yellow */
}

.newsletter-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #FFA629; /* Brand orange */
    margin-bottom: 15px;
    font-weight: bold;
}

.newsletter-section p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #fff; /* White for contrast on dark background */
    margin-bottom: 20px;
    font-weight: normal;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.newsletter-form-group {
    flex: 1;
    min-width: 200px;
}

.newsletter-form-group label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #FFDA14; /* Brand yellow */
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.newsletter-form-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid #FFA629; /* Brand orange */
    border-radius: 5px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #FFFFFF;
    transition: border-color 0.3s ease;
}

.newsletter-form-group input:focus {
    border-color: #FF4C14; /* Brand red-orange */
    outline: none;
}

.newsletter-submit {
    background-color: #FF4C14; /* Brand red-orange */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background-color: #FFDA14; /* Brand yellow */
    color: #04305a; /* Brand dark blue */
    transform: scale(1.05);
}

/* Responsive Adjustments for Newsletter */
@media (max-width: 768px) {
    .newsletter-section h3 {
        font-size: 20px;
    }

    .newsletter-section p {
        font-size: 15px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form-group {
        min-width: 100%;
    }

    .newsletter-submit {
        font-size: 14px;
        padding: 10px 18px;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .newsletter-section {
        padding: 15px;
    }

    .newsletter-section h3 {
        font-size: 18px;
    }

    .newsletter-section p {
        font-size: 14px;
    }

    .newsletter-form-group label,
    .newsletter-form-group input {
        font-size: 13px;
    }

    .newsletter-submit {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* Legal Section (Terms, Privacy, Accessibility) */
.legal-section {
    padding: 40px 0;
    background: #FFFFFF; /* Matches homepage background */
    position: relative;
    z-index: 1;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.legal-intro {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333; /* Dark text for readability */
    margin-bottom: 30px;
    font-weight: normal;
    border-left: 4px solid #FFA629; /* Brand orange */
    padding-left: 15px;
}

.legal-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #04305a; /* Brand dark blue */
    margin: 20px 0 10px;
    font-weight: bold;
}

.legal-content p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #000; /* Dark text for readability */
    margin-bottom: 20px;
    font-weight: normal;
}

.legal-list {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-list li {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
    position: relative;
    font-weight: normal;
}

.legal-list li strong{
    font-family: 'Montserrat', Arial, sans-serif;
    color: #000;
}

.legal-list li::before {
    content: '•';
    color: #FF4C14; /* Brand red-orange */
    font-size: 20px;
    position: absolute;
    left: -20px;
    top: 2px;
}

.legal-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.legal-link {
    background-color: #FF4C14; /* Brand red-orange */
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    text-align: center;
}

.legal-link:hover {
    background-color: #FFDA14; /* Brand yellow */
    color: #04305a; /* Brand dark blue */
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .legal-intro {
        font-size: 16px;
    }

    .legal-content h3 {
        font-size: 20px;
    }

    .legal-content p,
    .legal-list li {
        font-size: 15px;
    }

    .legal-cta {
        flex-direction: column;
        align-items: center;
    }

    .legal-link {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .legal-intro {
        font-size: 15px;
        padding-left: 10px;
        border-left-width: 3px;
    }

    .legal-content h3 {
        font-size: 18px;
    }

    .legal-content p,
    .legal-list li {
        font-size: 14px;
    }

    .legal-list {
        padding-left: 15px;
    }

    .legal-list li::before {
        left: -15px;
        font-size: 18px;
    }
}


/* Contact Section */
.contact-section {
    padding: 40px 0;
    background: #FFFFFF; /* Matches homepage background */
    position: relative;
    z-index: 1;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-intro {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #000; /* Dark text for readability */
    margin-bottom: 30px;
    font-weight: normal;
    border-left: 4px solid #FFA629; /* Brand orange */
    padding-left: 15px;
}

.contact-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-form,
.contact-info {
    flex: 1;
    background: #04305a; /* Brand dark blue */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFDA14; /* Brand yellow */
}

.contact-form h3,
.contact-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #FFA629; /* Brand orange */
    margin-bottom: 15px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #FFDA14; /* Brand yellow */
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #FFA629; /* Brand orange */
    border-radius: 5px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #FFFFFF;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FF4C14; /* Brand red-orange */
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-submit {
    background-color: #FF4C14; /* Brand red-orange */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-submit:hover {
    background-color: #FFDA14; /* Brand yellow */
    color: #04305a; /* Brand dark blue */
    transform: scale(1.05);
}

.contact-list {
    list-style: none;
    margin-bottom: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: normal;
}

.contact-list i {
    color: #FFDA14; /* Brand yellow */
    font-size: 18px;
}

.contact-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #FF4C14; /* Brand red-orange */
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #FFDA14; /* Brand yellow */
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .contact-grid {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-intro {
        font-size: 16px;
    }

    .contact-form h3,
    .contact-info h3 {
        font-size: 20px;
    }

    .form-group label,
    .form-group input,
    .form-group textarea,
    .contact-list li {
        font-size: 13px;
    }

    .contact-submit {
        font-size: 14px;
        padding: 10px 18px;
    }

    .contact-social .social-link {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .contact-intro {
        font-size: 15px;
        padding-left: 10px;
        border-left-width: 3px;
    }

    .contact-form h3,
    .contact-info h3 {
        font-size: 18px;
    }

    .form-group label,
    .form-group input,
    .form-group textarea,
    .contact-list li {
        font-size: 12px;
    }

    .contact-submit {
        font-size: 13px;
        padding: 8px 16px;
    }

    .contact-list i {
        font-size: 16px;
    }

    .contact-social .social-link {
        font-size: 16px;
    }
}


/* Page-specific styles for podcasts.html */
        .podcast-section {
            padding: 30px 0;
            background: transparent;
        }

        .podcast-section h2 {
            font-family: 'Oswald', sans-serif;
            font-size: 2.5rem;
            color: #04305a;
            text-align: center;
            margin-bottom: 30px;
            text-transform: uppercase;
        }

        .podcast-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .podcast-item {
            background-color: #04305a;
            border-radius: 10px;
            overflow: hidden;
            border: 2px solid #FFA629;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .podcast-item:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(255, 166, 41, 0.5);
        }

        .podcast-embed {
            position: relative;
            width: 100%;
            height: auto; /* Allow dynamic height for Apple Podcasts */
            min-height: 150px; /* Minimum for SoundCloud */
            max-height: 450px; /* Maximum for Apple Podcasts */
            overflow: hidden;
        }

        .podcast-embed iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 10px 10px 0 0;
            display: block;
            image-rendering: crisp-edges; /* Prevent blurriness */
        }

        .podcast-embed.apple-podcast iframe {
            height: 450px; /* Fixed height for Apple Podcasts */
            max-width: 660px; /* Match Apple embed */
            margin: 0 auto;
        }

        .podcast-embed .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(4, 48, 90, 0.8);
            width: 70px;
            height: 48px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px rgba(255, 166, 41, 0.4);
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .podcast-embed .play-icon:hover {
            background-color: #FF4C14;
            transform: translate(-50%, -50%) scale(1.1);
        }

        .podcast-embed .play-icon i {
            color: #FFDA14;
            font-size: 24px;
            margin-left: 4px;
        }

        .podcast-item h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.2rem;
            color: #fff;
            margin: 10px 15px;
            font-weight: 700;
        }

        .podcast-item .meta {
            margin: 0 15px 15px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.9rem;
            color: #FFDA14;
        }

        .podcast-item .meta span {
            margin-right: 10px;
        }

        /* Waveform overlay for techno vibe */
        .podcast-embed::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                180deg,
                rgba(4, 48, 90, 0.3),
                rgba(255, 166, 41, 0.2) 50%,
                rgba(4, 48, 90, 0.3)
            );
            opacity: 0.5;
            border-radius: 10px 10px 0 0;
            pointer-events: none;
        }

        /* Podcast Modal */
        .podcast-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .podcast-modal.active {
            display: flex;
        }

        .podcast-modal-content {
            background-color: #04305a;
            border: 3px solid #FFA629;
            border-radius: 10px;
            width: 90%;
            max-width: 700px; /* Wider for Apple Podcasts */
            position: relative;
            padding: 20px;
        }

        .podcast-modal-close {
            position: absolute;
            top: -15px;
            right: -15px;
            background-color: #FF4C14;
            color: #fff;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .podcast-modal-close:hover {
            background-color: #FFDA14;
            color: #04305a;
        }

        .podcast-modal-embed {
            position: relative;
            width: 100%;
            height: auto;
            min-height: 150px; /* SoundCloud */
            max-height: 450px; /* Apple Podcasts */
        }

        .podcast-modal-embed iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 8px;
        }

        .podcast-modal-embed.apple-podcast iframe {
            height: 450px; /* Fixed height for Apple Podcasts */
            max-width: 660px;
            margin: 0 auto;
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .podcast-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .podcast-grid {
                grid-template-columns: 1fr;
            }

            .podcast-embed.apple-podcast iframe {
                height: 400px; /* Slightly smaller for mobile */
            }

            .podcast-modal-embed.apple-podcast iframe {
                height: 400px;
            }

            .podcast-embed .play-icon {
                width: 60px;
                height: 42px;
            }

            .podcast-embed .play-icon i {
                font-size: 20px;
            }
        }

        @media (max-width: 576px) {
            .podcast-embed.apple-podcast iframe {
                height: 350px; /* Compact for small screens */
            }

            .podcast-modal-embed.apple-podcast iframe {
                height: 350px;
            }

            .podcast-embed .play-icon {
                width: 50px;
                height: 36px;
                border-radius: 6px;
            }

            .podcast-embed .play-icon i {
                font-size: 18px;
                margin-left: 3px;
            }
        }

/* The X Social Icon */
.social-icons .x-icon {
    display: inline-block;
    width: 1em;
    height: 1.5em;
    fill: #fff;
    transition: fill 0.3s ease;
}
.social-icons a:hover .x-icon {
    fill: #FFDA14;
}





/* Styles for the main article to replicate .hero-image and .hero-caption-area */
.hero-main .sidebar-item.main-article {
    width: 100%;
    background: none; /* Remove .sidebar-item background */
    border: none; /* Remove .sidebar-item border */
    box-shadow: none; /* Remove .sidebar-item shadow */
    padding: 0;
}

.hero-main .sidebar-content-wrapper {
    background: none;
    border: none;
    box-shadow: none;
}

.hero-main .grid-content {
    display: flex;
    flex-direction: row; /* Horizontal layout for image and caption */
    flex-wrap: nowrap;
    gap: 5px;
    width: 100%;
    align-items: stretch;
}

.main-article-image {
    flex: 0 0 50%; /* 50% of .hero-main (~292px) */
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.main-article-caption {
    flex: 0 0 50%; /* 50% of .hero-main (~292px) */
    padding: 15px;
    background: #04305a;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.main-article-caption h1 {
    font-size: 29px;
    margin: 10px 0;
    color: #FFA629; /* Brand orange */
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-article-caption h1:hover {
    color: #FFDA14;
}

.main-article-caption .meta .time {
    color: #FFDA14;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-main .grid-content {
        flex-direction: column; /* Stack image and caption vertically */
        gap: 10px;
    }
    .main-article-image,
    .main-article-caption {
        flex: 0 0 100%;
    }
    .main-article-caption h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column; /* Stack main and sidebar vertically */
        flex-wrap: wrap;
    }
    .hero-main {
        flex: 0 0 100%; /* Full width */
    }
    .hero-sidebar {
        flex: 0 0 100%; /* Full width */
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 250px;
    }
    .main-article-image {
        height: 350px;
    }
    .main-article-caption {
        padding: 15px;
    }
    .main-article-caption h1 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .main-article-image {
        flex: 0 0 100%;
        width: 100%; /* Explicitly set to override .sidebar-item img */
        height: 250px;
        border-radius: 10px;
        object-fit: cover;
    }
    .hero-main .sidebar-item.main-article img.main-article-image {
        width: 100%; /* Higher specificity to ensure override */
        height: 250px;
    }
    .hero-sidebar .sidebar-item img {
        width: 30%;
        height: 80px;
        border-radius: 10px;
    }
    .main-article-caption h1 {
        font-size: 24px;
    }
    .main-article-caption{
        flex: 0 0 100%; /* Full width */
    }
    .sidebar-item {
        flex: 1 1 100%;
        height: auto;
    }
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin: 20px 0; /* Consistent spacing */
    gap: 10px; /* Space between page links */
    flex-wrap: wrap; /* Ensure pagination wraps on small screens */
}

.pagination a {
    display: inline-flex; /* Ensure proper alignment */
    justify-content: center; /* Center text within each link */
    align-items: center;
    padding: 8px 12px; /* Comfortable clickable area */
    border: 2px solid #333; /* Subtle border, matching your original intent */
    border-radius: 4px; /* Slightly rounded corners for modern look */
    text-decoration: none; /* Remove default underline */
    color: #333; /* Dark text for readability */
    font-family: 'Montserrat', sans-serif; /* Match website typography */
    font-size: 16px; /* Slightly larger for clarity */
    font-weight: 400; /* Regular weight */
    transition: all 0.3s ease; /* Smooth hover and active transitions */
}

.pagination a:hover {
    background-color: #007bff; /* Primary blue, matching your original hover */
    color: #fff; /* White text on hover */
    border-color: #007bff; /* Match border to background */
}

.pagination a.active {
    background-color: #007bff; /* Active page highlighted */
    color: #fff; /* White text for contrast */
    border-color: #007bff; /* Match border */
    font-weight: 700; /* Bold active page for emphasis */
}

.pagination a.disabled {
    color: #999; /* Grayed out for disabled links */
    border-color: #999;
    cursor: not-allowed; /* Indicate non-clickable */
    pointer-events: none; /* Prevent interaction */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .pagination a {
        padding: 6px 10px; /* Smaller padding on mobile */
        font-size: 14px; /* Smaller text on mobile */
    }
}

/*Join the Sector Page*/
/* Jobs Section (for jobs.html) */
.jobs-section {
    padding: 40px 0;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    color: rgb(4, 48, 90);
}

.jobs-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    color: rgb(4, 48, 90);
    margin-bottom: 20px;
    text-align: center;
    font-weight: normal;
}

.jobs-disclaimer {
    background-color: rgba(4, 48, 90, 0.1); /* Lightened primary color for background */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid rgb(255, 218, 20); /* Yellow accent for emphasis */
}

.jobs-disclaimer p {
    margin: 0;
    font-size: 17px;
    color: rgb(4, 48, 90);
}

.jobs-search {
    margin-bottom: 40px;
    text-align: center;
}

.jobs-search h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: rgb(4, 48, 90);
    margin-bottom: 15px;
}

.job-title {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.job-title:hover {
    text-decoration: underline;
    color: var(--accent);
}

.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-form-group {
    display: flex;
    width: 100%;
    max-width: 600px;
}

.search-form-group input {
    flex: 1;
    padding: 12px;
    border: 2px solid rgb(4, 48, 90); /* Primary color for border */
    border-radius: 5px 0 0 5px;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    color: rgb(4, 48, 90);
    background-color: #fff;
}

.search-form-group input::placeholder {
    color: rgba(4, 48, 90, 0.6);
}

.search-submit {
    padding: 12px 20px;
    background-color: rgb(255, 76, 20); /* Orange accent for button */
    color: rgb(4, 48, 90); /* Primary color for text */
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-submit:hover {
    background-color: rgb(255, 218, 20); /* Yellow accent for hover */
    color: #fff;
}

.jobs-list {
    margin-top: 20px;
}

.jobs-list h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: rgb(4, 48, 90);
    margin-bottom: 15px;
}

.job-item {
    border-bottom: 1px solid rgba(4, 48, 90, 0.2); /* Lightened primary color for border */
    padding: 15px 0;
}

.job-title-row {
    display: flex;
    align-items: center;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: rgb(4, 48, 90);
    margin-bottom: 5px;
}

.job-county {
    color: #000; /* Black accent for county */
    margin-right: 10px;
}

.job-title {
    color: rgb(4, 48, 90); /* Primary color for job title */
    font-weight: bold;
    text-decoration: underline;
}

.job-details-row {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    color: rgba(4, 48, 90, 0.8); /* Slightly lighter primary color for details */
    display: flex;
    align-items: center;
}

.job-organization {
    margin-right: 20px;
    color: #000;
    position: relative;
}

.job-organization::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: #000; /* Black separator as specified */
    font-size: 20px; /* Taller line */
    line-height: 1.2;
    top: 50%;
    transform: translateY(-50%);
}

.job-posted {
    margin-right: 20px;
    color: #000; /* Black for posted date as specified */
    position: relative;
}

.job-posted::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: #000; /* Black separator as specified */
    font-size: 20px; /* Taller line */
    line-height: 1.2;
    top: 50%;
    transform: translateY(-50%);
}

.job-closing {
    color: #000; /* Black for closing date as specified */
}

/* Job Description Section (for job-description.html) */
.job-description-section {
    padding: 40px 0;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    color: rgb(4, 48, 90);
}

.job-description-section .job-item {
    border-bottom: none; /* Remove border for single job */
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.job-description {
    margin-bottom: 30px;
}

.job-description h3 {
    font-size: 22px;
    color: rgb(4, 48, 90);
    margin-bottom: 15px;
    border-bottom: 2px solid rgb(255, 218, 20); /* Yellow accent for section headers */
}

.job-description p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #000;
}

.job-description ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.job-description ul li {
    margin-bottom: 10px;
    color: #000;
}

.how-to-apply {
    margin-bottom: 30px;
}

.how-to-apply h3 {
    font-size: 22px;
    color: rgb(4, 48, 90);
    margin-bottom: 15px;
    border-bottom: 2px solid rgb(255, 218, 20); /* Yellow accent for section headers */
}

.how-to-apply p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #000;
}

.apply-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: rgb(255, 76, 20); /* Orange accent for button */
    color: rgb(4, 48, 90); /* Primary color for text */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    transition: background-color 0.3s, color 0.3s;
}

.apply-button:hover {
    background-color: rgb(255, 218, 20); /* Yellow accent for hover */
    color: #fff;
}

.updated-info {
    font-size: 0.8em;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

.content-table small {
    display: block;
    color: #888;
    font-size: 0.8em;
}
.no-social{
    color: #000;
}

