/* CSS Variables for Light / Dark Mode */
:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #5a5a5a;
    --border-color: #e2e8f0;
    --border-dark: #cbd5e1;
    --accent-color: #0c2340; /* Navy Blue from Logo */
    --accent-color-rgb: 12, 35, 64;
    --yellow-accent: #ffcb05; /* El Comercio-like Yellow */
    --card-bg: #ffffff;
    --ad-bg: #f8fafc;
    --ad-border: #e2e8f0;
    
    /* Category Colors */
    --color-conservation: #15803d; /* Green */
    --color-pets: #b45309; /* Amber/Orange */
    --color-science: #0369a1; /* Light Blue */
    --color-legislation: #7c3aed; /* Purple */
    
    /* Font Families */
    --font-serif: "Lora", "Playfair Display", Georgia, serif;
    --font-sans: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --header-height: 140px;
    --transition-speed: 0.3s;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --border-dark: #475569;
    --accent-color: #38bdf8; /* Brighter Blue for Contrast */
    --accent-color-rgb: 56, 189, 248;
    --yellow-accent: #facc15;
    --card-bg: #1e293b;
    --ad-bg: #1e293b;
    --ad-border: #334155;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- TOP UTILITY BAR --- */
.top-bar {
    background-color: #0c2340;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 8px 0;
    font-weight: 500;
}

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

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left i {
    margin-right: 5px;
    color: var(--yellow-accent);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.social-link:hover {
    color: var(--yellow-accent);
}

.divider {
    color: #475569;
}

.theme-btn {
    background: none;
    border: 1px solid #475569;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all var(--transition-speed);
}

.theme-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #cbd5e1;
}

/* --- MAIN BRAND HEADER --- */
.main-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

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

.header-placeholder-left, .header-placeholder-right {
    width: 200px;
    display: flex;
}

.header-placeholder-right {
    justify-content: flex-end;
}

.subscribe-btn-top {
    background-color: var(--yellow-accent);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 8px 18px;
    border-radius: 2px;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, background-color var(--transition-speed);
}

.subscribe-btn-top:hover {
    transform: translateY(-1px);
    background-color: #e5b600;
    color: #1a1a1a;
}

.login-btn-top {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-btn-top:hover {
    color: var(--text-color);
}

.logo-wrapper {
    text-align: center;
}

.brand-logo {
    max-height: 85px;
    width: auto;
    object-fit: contain;
    transition: filter var(--transition-speed);
}

/* Make logo visible on dark theme (since it has white background) */
[data-theme="dark"] .brand-logo {
    filter: invert(0.9) hue-rotate(180deg);
}

/* --- SPONSOR LEADERBOARD BANNER --- */
.ad-container {
    margin-top: 15px;
    margin-bottom: 15px;
}

.ad-banner {
    background-color: var(--ad-bg);
    border: 1px dashed var(--ad-border);
    padding: 12px 20px;
    border-radius: 6px;
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 970px;
}

.ad-label {
    position: absolute;
    top: -9px;
    left: 20px;
    background-color: var(--bg-color);
    padding: 0 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 2px;
    border: 1px solid var(--border-color);
}

.ad-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ad-logo-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.ad-logo-img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.ad-text-info {
    text-align: left;
    flex-grow: 1;
}

.ad-text-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.ad-text-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ad-cta-btn {
    background-color: #d97706; /* Darker amber/orange for EvocaMail accent */
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 8px 14px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background-color var(--transition-speed);
}

.ad-cta-btn:hover {
    background-color: #b45309;
    color: #ffffff;
}

/* --- STICKY NAVBAR --- */
.main-nav {
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 2px solid var(--text-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow var(--transition-speed), background-color var(--transition-speed);
}

.main-nav.sticky-active {
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    background-color: rgba(var(--accent-color-rgb), 0.95);
    border-bottom: 2px solid var(--yellow-accent);
}

.main-nav.sticky-active a {
    color: #ffffff;
}

.main-nav.sticky-active .menu-toggle-btn {
    color: #ffffff;
}

.main-nav.sticky-active a.active {
    border-bottom-color: var(--yellow-accent);
    color: var(--yellow-accent);
}

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

.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-color);
    padding: 12px 0;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links a {
    display: block;
    padding: 14px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    border-bottom: 3px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    border-bottom: 3px solid var(--accent-color);
    color: var(--accent-color);
}

.search-bar {
    display: flex;
    align-items: center;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 6px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-color);
    outline: none;
    width: 150px;
    transition: width 0.3s;
}

.search-bar input:focus {
    width: 200px;
}

.search-bar button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
}

.search-bar button:hover {
    color: var(--text-color);
}

/* --- MAIN EDITORIAL GRID --- */
.main-content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.news-editorial-grid {
    border-right: 1px solid var(--border-color);
    padding-right: 30px;
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.section-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 8px;
    color: #ffffff;
    border-radius: 2px;
}

.badge-conservation {
    background-color: var(--color-conservation);
}

.section-trend {
    font-size: 0.75rem;
    font-weight: 700;
    color: #dc2626;
}

/* HERO ARTICLE styling */
.hero-article {
    margin-bottom: 30px;
}

.hero-img-container {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-speed) ease-in-out;
}

.hero-article:hover .article-img, .news-card:hover .article-img {
    transform: scale(1.03);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-title a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.hero-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.article-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.article-meta .author strong {
    color: var(--text-color);
}

/* SECONDARY NEWS GRID (Two Columns) */
.secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.card-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 12px;
}

.card-img-container .article-img {
    height: 200px;
}

.card-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffffff;
    padding: 3px 6px;
    border-radius: 2px;
}

.category-pets {
    background-color: var(--color-pets);
}

.category-science {
    background-color: var(--color-science);
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}

.card-title a:hover {
    text-decoration: underline;
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
    flex-grow: 1;
}

/* --- SIDEBAR LAYOUT --- */
.sidebar-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-ad-box {
    background-color: var(--ad-bg);
    border: 1px solid var(--ad-border);
    padding: 20px 15px;
    border-radius: 4px;
    position: relative;
}

.sidebar-ad-label {
    position: absolute;
    top: -8px;
    left: 15px;
    background-color: var(--bg-color);
    padding: 0 5px;
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
}

.evocamail-sidebar-ad {
    text-align: center;
}

.ad-header-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.ad-sidebar-logo-img {
    max-height: 35px;
    width: auto;
    object-fit: contain;
}

.evocamail-sidebar-ad .ad-slogan {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--text-color);
}

.evocamail-sidebar-ad .ad-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.evocamail-sidebar-ad .ad-features {
    list-style: none;
    text-align: left;
    font-size: 0.75rem;
    margin-bottom: 15px;
    padding-left: 5px;
}

.evocamail-sidebar-ad .ad-features li {
    margin-bottom: 5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.evocamail-sidebar-ad .ad-features i {
    color: #d97706; /* EvocaMail Theme Gold */
    font-size: 0.8rem;
}

.ad-sidebar-cta {
    display: block;
    background-color: #d97706;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 10px 0;
    border-radius: 4px;
    transition: background-color var(--transition-speed);
}

.ad-sidebar-cta:hover {
    background-color: #b45309;
    color: #ffffff;
}

/* WIDGETS */
.sidebar-widget {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
}

.sidebar-widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

/* LO ÚLTIMO styling */
.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.latest-news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.latest-news-item .time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    background-color: rgba(var(--accent-color-rgb), 0.08);
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

.latest-news-item .title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
}

.latest-news-item .title a:hover {
    text-decoration: underline;
}

/* LO MÁS LEÍDO styling */
.most-read-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.most-read-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.most-read-item .rank {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-serif);
    color: var(--border-dark);
    line-height: 1;
}

.most-read-item .title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
}

.most-read-item .title a:hover {
    text-decoration: underline;
}

/* --- MID PAGE AD BANNER --- */
.mid-ad-section {
    margin-bottom: 40px;
}

.ad-banner-horizontal {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    padding: 20px 25px;
    border-radius: 8px;
    position: relative;
    color: #ffffff;
}

.ad-banner-horizontal .ad-label {
    top: -9px;
    left: 20px;
    background-color: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

.mid-ad-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.mid-ad-brand-img-container {
    background-color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.ad-mid-logo-img {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

.mid-ad-text {
    font-size: 0.85rem;
    color: #cbd5e1;
    max-width: 600px;
}

.ad-btn-link {
    background-color: var(--yellow-accent);
    color: #0f172a;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color var(--transition-speed);
}

.ad-btn-link:hover {
    background-color: #facc15;
    color: #0f172a;
}

/* --- CATEGORY BLOCKS --- */
.category-section-block {
    margin-bottom: 50px;
    border-top: 3px double var(--border-color);
    padding-top: 30px;
}

.section-heading-editorial {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.section-heading-editorial h2 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    position: relative;
}

.section-heading-editorial h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.view-all-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.view-all-link i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.view-all-link:hover i {
    transform: translateX(4px);
}

.category-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.editorial-card-small {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.editorial-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.06);
}

.card-small-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.card-small-content {
    padding: 15px;
}

.card-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: inline-block;
}

.editorial-card-small h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.editorial-card-small h3 a:hover {
    text-decoration: underline;
}

/* --- NEWSLETTER SIGNUP --- */
.newsletter-subscription-box {
    background-color: #0c2340;
    color: #ffffff;
    border-radius: 8px;
    padding: 35px;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-text-side {
    max-width: 550px;
}

.newsletter-text-side h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-text-side p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.newsletter-form-side {
    flex-grow: 1;
    max-width: 450px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form input:focus {
    border-color: var(--yellow-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.submit-newsletter-btn {
    background-color: var(--yellow-accent);
    color: #0c2340;
    border: none;
    border-radius: 4px;
    padding: 0 24px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.submit-newsletter-btn:hover {
    background-color: #facc15;
}

.form-feedback {
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: 500;
}

.form-feedback.success {
    color: #34d399;
}

/* --- FOOTER --- */
.main-footer-section {
    background-color: #081628;
    color: #cbd5e1;
    border-top: 3px solid var(--yellow-accent);
    padding: 50px 0 20px 0;
    font-size: 0.85rem;
}

.footer-content-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    max-height: 55px;
    width: auto;
    align-self: flex-start;
    filter: invert(0.9) hue-rotate(180deg);
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #94a3b8;
    font-size: 1.2rem;
}

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

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #94a3b8;
}

.footer-col a:hover {
    color: var(--yellow-accent);
    padding-left: 3px;
}

.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    margin-top: 20px;
    color: #94a3b8;
    font-size: 0.8rem;
}

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

.evocamail-link {
    color: var(--yellow-accent);
    font-weight: 700;
}

.evocamail-link:hover {
    text-decoration: underline;
}

/* --- RESPONSIVE DESIGN (Adaptive breakpoints) --- */
@media (max-width: 1024px) {
    .main-content-layout {
        grid-template-columns: 1fr;
    }
    
    .news-editorial-grid {
        border-right: none;
        padding-right: 0;
    }
    
    .sidebar-layout {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-layout > * {
        flex: 1 1 300px;
    }
    
    .footer-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-placeholder-left, .header-placeholder-right {
        justify-content: center;
        width: 100%;
    }
    
    .menu-toggle-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        border-top: 1px solid var(--border-color);
        background-color: var(--bg-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 10px 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a:hover, .nav-links a.active {
        border-bottom: 1px solid var(--border-color);
        background-color: var(--ad-bg);
    }
    
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-bar {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 10px 0;
    }
    
    .search-bar input {
        width: 100%;
    }
    
    .secondary-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
    }
    
    .ad-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .ad-logo-img-container {
        min-width: 130px;
    }
    
    .ad-text-info {
        text-align: center;
    }
    
    .mid-ad-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
