/* ============================================
   PROFESSIONAL NEWS WEBSITE CSS
   Global News Platform Style
   ============================================ */

:root {
    /* Primary Colors - Professional News Palette */
    --primary: #1a2a6c;
    --primary-dark: #0f1a4a;
    --primary-light: #2a4a8c;
    --secondary: #b21f1f;
    --secondary-dark: #8a1818;
    --accent: #fdbb2d;
    --accent-light: #ffd700;
    
    /* Neutral Colors */
    --dark: #1a1a2e;
    --dark-gray: #2d2d44;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --light: #f4f6f9;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Courier New', monospace;
    
    /* Spacing */
    --header-height: 70px;
    --container-width: 1280px;
    --sidebar-width: 320px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TOP BAR - Breaking News Ticker
   ============================================ */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 6px 0;
    font-size: 0.8rem;
    border-bottom: 2px solid var(--secondary);
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.top-bar .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.top-bar .breaking-news {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    overflow: hidden;
}

.top-bar .breaking-label {
    background: var(--secondary);
    color: var(--white);
    padding: 2px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.top-bar .breaking-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255,255,255,0.8);
}

.top-bar .breaking-text a {
    color: var(--white);
    text-decoration: none;
}

.top-bar .breaking-text a:hover {
    color: var(--accent);
}

.top-bar .top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.top-bar .top-bar-right .date {
    color: rgba(255,255,255,0.5);
}

.top-bar .top-bar-right a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar .top-bar-right a:hover {
    color: var(--accent);
}

/* ============================================
   MAIN HEADER
   ============================================ */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--light-gray);
}

.main-header .header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.main-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.main-header .logo img {
    height: 45px;
    width: auto;
}

.main-header .logo .logo-text {
    display: flex;
    flex-direction: column;
}

.main-header .logo .logo-text .site-name {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.main-header .logo .logo-text .site-name span {
    color: var(--secondary);
}

.main-header .logo .logo-text .site-tagline {
    font-size: 0.6rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav a {
    padding: 8px 16px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

.main-nav a:hover {
    color: var(--primary);
    background: rgba(26, 42, 108, 0.05);
}

.main-nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.main-nav .nav-search {
    margin-left: 10px;
}

.main-nav .nav-search input {
    padding: 6px 14px;
    border: 1px solid var(--light-gray);
    border-radius: 20px;
    font-size: 0.85rem;
    width: 180px;
    transition: all 0.3s;
    background: var(--light);
}

.main-nav .nav-search input:focus {
    outline: none;
    border-color: var(--primary);
    width: 220px;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
    padding: 5px;
    line-height: 1;
}

/* ============================================
   HERO / FEATURED SECTION
   ============================================ */
.featured-section {
    margin: 20px 0 30px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.featured-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark);
    min-height: 400px;
}

.featured-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-main:hover img {
    transform: scale(1.02);
}

.featured-main .featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: var(--white);
}

.featured-main .featured-content .category-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.featured-main .featured-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.featured-main .featured-content h2 a {
    color: var(--white);
    text-decoration: none;
}

.featured-main .featured-content h2 a:hover {
    color: var(--accent);
}

.featured-main .featured-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-main .featured-content .meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.featured-main .featured-content .meta span {
    margin-right: 15px;
}

/* Featured Sidebar */
.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-sidebar .featured-item {
    display: flex;
    gap: 15px;
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    cursor: pointer;
    align-items: center;
}

.featured-sidebar .featured-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.featured-sidebar .featured-item img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.featured-sidebar .featured-item .item-content {
    flex: 1;
}

.featured-sidebar .featured-item .item-content .category-tag {
    font-size: 0.6rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-sidebar .featured-item .item-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 3px 0;
}

.featured-sidebar .featured-item .item-content h3 a {
    color: var(--dark);
    text-decoration: none;
}

.featured-sidebar .featured-item .item-content h3 a:hover {
    color: var(--primary);
}

.featured-sidebar .featured-item .item-content .meta {
    font-size: 0.7rem;
    color: var(--gray);
}

/* ============================================
   CATEGORY FILTER
   ============================================ */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0 20px;
    padding: 0 20px;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.category-filter a {
    padding: 6px 20px;
    background: var(--white);
    border-radius: 20px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s;
    border: 1px solid var(--light-gray);
}

.category-filter a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.category-filter a.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   NEWS GRID
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card .card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .card-image img {
    transform: scale(1.05);
}

.news-card .card-image .category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--white);
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card .card-body {
    padding: 20px;
}

.news-card .card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-card .card-body h3 a {
    color: var(--dark);
    text-decoration: none;
}

.news-card .card-body h3 a:hover {
    color: var(--primary);
}

.news-card .card-body .excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-card .card-body .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray);
    padding-top: 12px;
    border-top: 1px solid var(--light-gray);
}

.news-card .card-body .card-meta .author {
    font-weight: 500;
    color: var(--dark);
}

/* ============================================
   AD SECTIONS - PROFESSIONAL
   ============================================ */
.ad-section {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid var(--light-gray);
    position: relative;
}

.ad-section .ad-label {
    font-size: 0.6rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.ad-section img {
    max-width: 100%;
    border-radius: var(--radius-sm);
}

.ad-section-sidebar {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
}

.ad-section-sidebar .ad-label {
    font-size: 0.6rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

.ad-section-sidebar .ad-container {
    margin: 10px 0;
}

.ad-section-sidebar .ad-container:last-child {
    margin-bottom: 0;
}

.ad-section-sidebar img {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget .widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
    position: relative;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--secondary);
}

/* Popular Posts */
.popular-post {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
}

.popular-post:last-child {
    border-bottom: none;
}

.popular-post .rank {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.2rem;
    min-width: 30px;
}

.popular-post .post-content {
    flex: 1;
}

.popular-post .post-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.popular-post .post-content h4 a {
    color: var(--dark);
    text-decoration: none;
}

.popular-post .post-content h4 a:hover {
    color: var(--primary);
}

.popular-post .post-content .post-meta {
    font-size: 0.7rem;
    color: var(--gray);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.main-footer .footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.main-footer .footer-container h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.main-footer .footer-container p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.main-footer .footer-container ul {
    list-style: none;
}

.main-footer .footer-container ul li {
    margin-bottom: 8px;
}

.main-footer .footer-container ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.main-footer .footer-container ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.main-footer .footer-bottom {
    max-width: var(--container-width);
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.main-footer .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.main-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.main-footer .footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    max-width: var(--container-width);
    margin: 15px auto;
    padding: 0 20px;
    font-size: 0.85rem;
    color: var(--gray);
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--secondary);
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: var(--light-gray);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-main {
        min-height: 300px;
    }
    
    .featured-main img {
        height: 300px;
    }
    
    .featured-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .featured-sidebar .featured-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .featured-sidebar .featured-item img {
        width: 100%;
        height: 150px;
    }
    
    .main-footer .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .main-nav .nav-search input {
        width: 140px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .top-bar .breaking-news {
        font-size: 0.7rem;
    }
    
    .top-bar .top-bar-right {
        display: none;
    }
    
    .main-header .logo img {
        height: 35px;
    }
    
    .main-header .logo .logo-text .site-name {
        font-size: 1.2rem;
    }
    
    .main-header .logo .logo-text .site-tagline {
        font-size: 0.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--light-gray);
    }
    
    .main-nav.open {
        display: flex;
    }
    
    .main-nav a {
        width: 100%;
        padding: 12px 16px;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav .nav-search {
        width: 100%;
        margin: 10px 0 0;
    }
    
    .main-nav .nav-search input {
        width: 100%;
    }
    
    .main-nav .nav-search input:focus {
        width: 100%;
    }
    
    .featured-main {
        min-height: 200px;
    }
    
    .featured-main img {
        height: 200px;
    }
    
    .featured-main .featured-content {
        padding: 20px;
    }
    
    .featured-main .featured-content h2 {
        font-size: 1.3rem;
    }
    
    .featured-main .featured-content p {
        display: none;
    }
    
    .featured-sidebar {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card .card-image {
        height: 180px;
    }
    
    .main-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .main-footer .footer-social {
        justify-content: center;
    }
    
    .category-filter {
        gap: 6px;
        padding: 0 10px;
    }
    
    .category-filter a {
        padding: 4px 14px;
        font-size: 0.75rem;
    }
    
    .ad-section {
        padding: 10px;
        margin: 15px 0;
    }
    
    .sidebar-widget {
        padding: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .top-bar .breaking-news {
        font-size: 0.65rem;
    }
    
    .top-bar .breaking-label {
        font-size: 0.55rem;
        padding: 1px 8px;
    }
    
    .main-header .logo img {
        height: 30px;
    }
    
    .main-header .logo .logo-text .site-name {
        font-size: 1rem;
    }
    
    .main-header .logo .logo-text .site-tagline {
        display: none;
    }
    
    .featured-main .featured-content h2 {
        font-size: 1.1rem;
    }
    
    .featured-main .featured-content .meta {
        font-size: 0.7rem;
    }
    
    .news-card .card-body {
        padding: 15px;
    }
    
    .news-card .card-body h3 {
        font-size: 1rem;
    }
    
    .news-card .card-image {
        height: 160px;
    }
    
    .ad-section-sidebar {
        padding: 10px;
    }
    
    .sidebar-widget .widget-title {
        font-size: 0.9rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-100 { width: 100%; }

.hidden { display: none; }

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .top-bar,
    .main-nav,
    .menu-toggle,
    .ad-section,
    .ad-section-sidebar,
    .sidebar,
    .main-footer {
        display: none !important;
    }
    
    .main-header {
        position: static !important;
        box-shadow: none !important;
    }
    
    .featured-main .featured-content {
        position: static !important;
        background: var(--white) !important;
        color: var(--dark) !important;
        padding: 20px !important;
    }
    
    .featured-main .featured-content h2 a,
    .featured-main .featured-content p {
        color: var(--dark) !important;
    }
    
    .news-card {
        page-break-inside: avoid;
    }
}

/* Professional Ad Styling */
.ad-container {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.ad-container .ad-label {
    font-size: 0.55rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.ad-container .ad-image {
    max-width: 100%;
    border-radius: var(--radius-sm);
    transition: opacity 0.3s;
}

.ad-container .ad-image:hover {
    opacity: 0.95;
}

/* Sidebar Ads */
.ad-container-sidebar {
    margin-bottom: 20px;
}

.ad-container-sidebar img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
}

/* Top/Header Ads */
.ad-container-top,
.ad-container-header {
    padding: 10px;
    background: var(--light);
    border: none;
    border-radius: 0;
    margin: 0;
}

/* Footer Ads */
.ad-container-footer {
    border: none;
    background: transparent;
    padding: 10px;
}

.ad-container-footer img {
    max-height: 90px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .ad-container {
        padding: 10px;
    }
    .ad-container-sidebar img {
        max-height: 180px;
    }
}