/* 
 * Theme: Demo 01 (Modern/Standard)
 * Style: Clean, Professional, Balanced
 */
@import url("../../assets/css/style.css");

:root {
    /* Theme Specific Overrides */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Demo 01 Specific Colors (Fallback) */
    /* These can be overridden by Settings.php variables */
}

/* Header Tweaks */
.header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    font-weight: 500;
    border-radius: 50px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.nav-link.active {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* Card Styling - Modern Card */
.card,
.news-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    aspect-ratio: 16/9;
}

.card-body {
    padding: 24px;
}

/* Buttons */
.btn {
    border-radius: var(--radius-xl);
    text-transform: inherit;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

/* ============================================
   Banner Container — Estilo Editorial (UOL)
   ============================================ */
.banner-container {
    width          : 100%;
    background     : transparent;
    border         : none;
    padding        : 0;
    margin         : 20px 0;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
}

.banner-label {
    font-size     : 9px;
    font-weight   : 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color         : var(--text-muted, #bbb);
    margin-bottom : 6px;
    display       : block;
    text-align    : center;
    font-family   : var(--font-family, sans-serif);
}

.banner-content {
    display        : flex;
    align-items    : center;
    justify-content: center;
    max-width      : 100%;
}

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

/* Device targeting via data-device */
@media (max-width: 767px) {
    .banner-container[data-device="desktop"] { display: none; }
    .banner-container { margin: 12px 0; }
}

@media (min-width: 768px) {
    .banner-container[data-device="mobile"] { display: none; }
}