/* CSS Reset and Variables */
:root {
    --primary: #111111;
    --accent: #8fc033;
    --accent-hover: #7cb024;
    --bg-white: #ffffff;
    --text-main: #111111;
    --text-muted: #666666;
    --bg-light: #f9f9f9;
    --border-color: #e5e5e5;
    --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    border-bottom: 1px solid var(--primary);
    padding-top: 1.5rem;
    background-color: var(--bg-white);
}

.header-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-self: start;
}

.logo img {
    width: 170px;
    height: 75px;
    display: block;
}

.search-form {
    display: flex;
    align-items: center;
    border: 1px solid var(--primary);
    padding: 0.25rem 0.5rem;
    background-color: var(--bg-white);
    justify-self: center;
    width: 100%;
    max-width: 380px;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-self: end;
    flex-wrap: nowrap;
}

.header-socials a {
    display: inline-flex;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-socials a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.header-socials img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

.search-form input {
    border: none;
    outline: none;
    padding: 0.25rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-main);
    width: 100%;
}

.search-form button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
}

.search-form button svg {
    width: 18px;
    height: 18px;
}

/* Nav Menu */
nav.menu-bar {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-white);
    position: relative;
}

.menu-list {
    display: flex;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: block;
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
}

.menu-link:hover, .menu-item.active .menu-link {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Dropdown styling */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    min-width: 220px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    border: none;
    display: block;
    width: 100%;
}

.dropdown-menu .dropdown-link {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 0.02em;
    border-bottom: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu .dropdown-link:hover {
    background-color: var(--bg-light);
    color: var(--accent);
}

@media(min-width: 992px) {
    .menu-list {
        overflow-x: visible !important;
        overflow-y: visible !important;
        overflow: visible !important;
        flex-wrap: wrap;
    }
    .menu-item.has-dropdown:hover .dropdown-menu,
    .menu-item.has-dropdown.active-desktop-click .dropdown-menu {
        display: block !important;
    }
}


/* Main Content Layout */
main {
    padding: 2.5rem 0;
}

/* Grid & Layout Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-home {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.news-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media(min-width: 992px) {
    .grid-2 {
        grid-template-columns: 2.2fr 1fr;
    }
    .grid-home {
        grid-template-columns: 1fr 2.5fr; /* Sidebar Left (Column 1), News Right (Column 2) */
    }
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .news-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media(min-width: 768px) and (max-width: 991px) {
    .grid-2 {
        grid-template-columns: 2fr 1fr;
    }
    .grid-home {
        grid-template-columns: 1.2fr 2fr;
    }
    .news-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Post Cards & Featured Post */
.featured-post {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .featured-grid {
        grid-template-columns: 1.3fr 1fr;
    }
}

.featured-image {
    background-color: var(--bg-light);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-image img:hover {
    transform: scale(1.03);
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.post-category {
    font-weight: 700;
    color: #5c8216; /* WCAG AA accessible green */
}

.featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

.featured-title:hover {
    color: var(--accent);
}

.featured-excerpt {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.btn-read {
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    align-self: flex-start;
    padding-bottom: 0.2rem;
}

.btn-read:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Post Cards */
.post-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-card-image {
    aspect-ratio: 16/10;
    background-color: var(--bg-light);
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card-image img:hover {
    transform: scale(1.02);
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

.post-card-title:hover {
    color: var(--accent);
}

.post-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar Ads and Banners */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    background-color: var(--bg-light);
}

.widget-title {
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Custom Ads (Products, Services, Vacancies) */
.ad-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.ad-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.ad-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--accent);
    color: #ffffff;
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
}

.ad-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.ad-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.ad-image {
    max-height: 150px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.ad-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

.btn-ad-site {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.1rem;
}

.btn-ad-site:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.btn-ad-whatsapp, .btn-ad-email {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.1rem !important;
    border-radius: 4px !important;
    border: 1px solid currentColor !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    transition: background-color 0.2s, opacity 0.2s !important;
    text-decoration: none !important;
    min-height: 44px !important; /* Larger tap target area for mobile */
}
.btn-ad-whatsapp {
    color: #25d366 !important;
}
.btn-ad-whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.05) !important;
}
.btn-ad-email {
    color: var(--primary) !important;
}
.btn-ad-email:hover {
    background-color: rgba(17, 17, 17, 0.05) !important;
}
.btn-ad-whatsapp img {
    width: 16px;
    height: 16px;
}

/* YouTube & Instagram Sections */
.youtube-section, .instagram-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.youtube-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .youtube-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.youtube-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.video-thumb-container {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #000;
    overflow: hidden;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.video-thumb-container:hover .video-thumb {
    opacity: 1;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-thumb-container:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #ff0000;
}

.play-btn svg {
    width: 20px;
    height: 20px;
    fill: #000;
    margin-left: 2px;
    transition: fill 0.2s ease;
}

.video-thumb-container:hover .play-btn svg {
    fill: #fff;
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.video-title:hover {
    color: var(--accent);
}

/* Instagram Grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media(min-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.instagram-card {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--bg-light);
}

.instagram-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-card:hover img {
    transform: scale(1.05);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.instagram-card:hover .instagram-overlay {
    opacity: 1;
}

/* Banner placements */
.banner-ad {
    margin: 2rem 0;
    text-align: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
}

.banner-ad img {
    margin: 0 auto;
    max-height: 90px;
    width: auto;
}

/* Static Page Formats (Quem Somos, Privacy) */
.page-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1rem;
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem 0;
    font-weight: 900;
    text-transform: uppercase;
}

.page-content ul, .page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Team Grid (Quem Somos) */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

@media(min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 4px;
}

.team-portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.team-role {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.team-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Single Post Page Details */
.post-header {
    margin-bottom: 2rem;
}

.post-full-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 1rem;
}

.post-featured-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--bg-light);
    overflow: hidden;
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2b2b2b;
}

.post-body p {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: #ffffff;
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
    border-top: 5px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-link {
    display: inline-block;
    background-color: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: background-color 0.2s, color 0.2s;
}

.social-link:hover {
    background-color: var(--accent);
    color: #ffffff;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.subscribe-form input[type="email"] {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.75rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 4px;
    outline: none;
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--accent);
}

.subscribe-form button {
    background-color: var(--accent);
    color: #111111;
    border: none;
    padding: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.subscribe-form button:hover {
    background-color: var(--accent-hover);
}

.footer-copy-text {
    line-height: 1.6;
    color: #cccccc;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #cccccc;
}

.footer-nav a:hover {
    color: var(--accent);
}

.copyright {
    color: #888888;
    font-size: 0.8rem;
}

/* --- NEW STYLES: LOGO, MEGAMENU, RESPONSIVE CAROUSEL, PODCAST & FOOTER ICONS --- */

.logo {
    flex-shrink: 0 !important;
}
.logo img {
    width: 170px !important;
    height: 75px !important;
    display: block;
}

/* Megamenu Styles */
.menu-item.has-megamenu {
    position: static !important; /* Required so megamenu spans full navbar width */
}
.megamenu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--primary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 2rem 0;
}
.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.megamenu-col h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.megamenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.megamenu-link {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.2s, padding-left 0.2s;
}
.megamenu-link:hover {
    color: var(--accent);
    padding-left: 5px;
}
@media(min-width: 992px) {
    .menu-item.has-megamenu:hover .megamenu-panel,
    .menu-item.has-megamenu.active-desktop-click .megamenu-panel {
        display: block !important;
    }
}

/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2000;
}
.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hamburger active animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media(max-width: 991px) {
    .header-top {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 0.75rem 1rem !important;
        padding-bottom: 0.75rem !important;
    }
    .logo {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
    }
    .menu-toggle {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        display: block !important;
    }
    .search-form {
        grid-column: 1 / span 2 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: flex !important;
    }
    .header-socials {
        grid-column: 1 / span 2 !important;
        grid-row: 3 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0.85rem !important;
        margin: 0.25rem 0 0 0 !important;
        flex-wrap: nowrap !important;
        justify-self: center !important;
    }
    .logo img {
        width: 120px !important;
        height: 53px !important;
    }
    .menu-bar {
        border-top: none;
    }
    .menu-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        border-top: 1px solid var(--border-color);
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1500;
        overflow-x: visible;
        white-space: normal;
    }
    .menu-list.active {
        display: flex;
    }
    .menu-link {
        padding: 0.85rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    .menu-item.active .menu-link {
        border-bottom-color: var(--accent);
    }
    .dropdown-menu, .megamenu-panel {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        background-color: var(--bg-light);
        padding: 0.5rem 1.5rem;
        width: 100%;
    }
    .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    .megamenu-col {
        margin-bottom: 1rem;
    }
    .menu-item.active-mobile-submenu .dropdown-menu,
    .menu-item.active-mobile-submenu .megamenu-panel {
        display: block !important;
    }
}

/* Ad Carousel Widget */
.ad-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9; /* Premium wide banner aspect ratio */
    border: 1px solid var(--border-color);
    background-color: #000;
}
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    padding: 1.5rem 1rem 1rem 1rem;
    text-align: left;
}
.carousel-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.carousel-type-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    background-color: var(--accent);
    color: #111111;
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.25);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s;
}
.carousel-btn:hover {
    background-color: var(--accent);
}
.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }
.carousel-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Podcast Feed Section */
.podcast-section {
    margin-top: 4rem;
    padding: 3rem 0 1rem 0;
    border-top: 1px solid var(--border-color);
}
.podcast-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}
@media(min-width: 768px) {
    .podcast-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.podcast-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 4px;
}
.podcast-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}
.podcast-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: #0b4d1b; /* Dark forest green for maximum contrast */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.podcast-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.podcast-title a:hover {
    color: var(--accent);
}
.podcast-player {
    width: 100%;
    margin-top: auto;
}
.podcast-player audio {
    width: 100%;
    height: 32px;
    outline: none;
}

/* Footer Social WebP Icons */
.social-links-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.social-links-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s, border-color 0.2s;
}
.social-links-grid a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
}
.social-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.social-links-grid a:hover .social-icon {
    opacity: 1;
}

/* Homepage Hero Grid (70% Banner Left / 30% Ads Right) */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.hero-left {
    width: 100%;
}
.hero-right {
    width: 100%;
}
.ad-item-mini {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.ad-item-mini:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

@media(min-width: 992px) {
    .hero-grid {
        grid-template-columns: 7fr 3fr; /* 70% / 30% */
        align-items: stretch;
    }
    .ad-carousel {
        height: 100%;
        margin-bottom: 0;
    }
}

/* WordPress Caption Formatting */
.wp-caption {
    text-align: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    margin: 1.5rem auto;
    max-width: 100%;
    border-radius: 4px;
}
.wp-caption img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 0.5rem auto;
    display: block;
}
.wp-caption-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
    display: block;
}