:root {
            --brand-red: #e53e3e;
            --brand-dark-red: #b82d2d;
            --brand-slate: #1a202c;
            --brand-black: #11151e;
            --brand-warm-ivory: #fdfbf7;
            --brand-warm-border: #faf6ee;
            --brand-amber-bg: #fdfaf2;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #f8f9fa;
            color: #1a202c;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            min-h: 100vh;
        }

        h1, h2, h3, h4, h5, h6, .font-display {
            font-family: 'Space Grotesk', sans-serif;
        }

        /* Fixed Header Adjustments */
        main {
            margin-top: 72px;
            flex-grow: 1;
        }

        /* Beautiful Navbar */
        .navbar {
            backdrop-filter: blur(10px);
            background-color: rgba(255, 255, 255, 0.95);
            transition: all 0.3s ease;
        }

        .nav-link {
            color: #4a5568;
            font-weight: 700;
            font-size: 0.9rem;
            transition: color 0.2s ease;
            padding: 0.5rem 1rem !important;
        }

        .nav-link:hover, .nav-link.active {
            color: var(--brand-red);
        }

        .active-pill {
            background-color: rgba(229, 62, 62, 0.05);
            border-radius: 6px;
            color: var(--brand-red) !important;
        }

        .btn-enviar-foto {
            background-color: var(--brand-red);
            color: white;
            font-weight: 600;
            font-size: 0.8rem;
            border-radius: 50px;
            padding: 0.5rem 1.25rem;
            border: none;
            transition: all 0.2s ease;
        }

        .btn-enviar-foto:hover {
            background-color: var(--brand-dark-red);
            color: white;
            transform: translateY(-1px);
        }

        /* Hero Carousel & Search Overlay */
        .hero-section {
            position: relative;
            background-color: var(--brand-slate);
            min-height: 380px; /* Reduzido de 480px para tornar o banner mais compacto */
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .hero-bg-wrapper {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .hero-bg-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.65) saturate(1.1);
            object-position: center;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            z-index: 1;
        }

        .hero-bg-img.active {
            opacity: 1;
            z-index: 2;
        }

        .hero-gradient {
            position: absolute;
            inset: 0;
            /* Degradê elegante do mais escuro na esquerda para o mais claro na direita, trabalhando opacidades */
            background: linear-gradient(to right, rgba(17, 21, 30, 0.98) 0%, rgba(17, 21, 30, 0.8) 35%, rgba(17, 21, 30, 0.5) 60%, rgba(17, 21, 30, 0) 100%);
            z-index: 3;
        }

        .hero-content-container {
            position: relative;
            z-index: 4;
        }

        /* Translucent Search Container (As requested: "menos escuro o fundo para ressaltar os textos") */
        .search-glass-card {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 1.25rem;
            padding: 1.75rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .search-glass-card h3 {
            color: white;
            font-weight: 700;
        }

        .search-glass-card p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.85rem;
        }

        .search-glass-card .form-control {
            background-color: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.35);
            color: white;
            font-size: 0.9rem;
        }

        .search-glass-card .form-control::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .search-glass-card .form-control:focus {
            background-color: rgba(255, 255, 255, 0.25);
            border-color: var(--brand-red);
            box-shadow: none;
            color: white;
        }

        /* Custom Cards & Transitions */
        .article-card {
            background-color: white;
            border-radius: 12px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
            transition: all 0.3s ease;
            overflow: hidden;
            cursor: pointer;
            height: 100%;
        }

        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
            border-color: rgba(0, 0, 0, 0.15);
        }

        .article-card-img-wrapper {
            position: relative;
            aspect-ratio: 16/10;
            overflow: hidden;
            background-color: #edf2f7;
        }

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

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

        .spotlight-card {
            height: 100%;
        }

        /* Layout modifications on side vertical feed as requested */
        .side-article-row {
            transition: all 0.25s ease;
            border-radius: 12px;
            border: 1px solid rgba(0, 0, 0, 0.06);
            background-color: white;
            cursor: pointer;
            overflow: hidden;
        }

        .side-article-row:hover {
            border-color: rgba(0,0,0,0.15);
            box-shadow: 0 8px 16px rgba(0,0,0,0.05);
            transform: translateY(-2px);
        }

        /* Enlarged side images as requested: "tentar aumentar as imagens dos 3 posts que ficam nela" */
        .side-article-img-col {
            width: 160px;
            height: 110px;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            background-color: #edf2f7;
        }

        @media (max-width: 576px) {
            .side-article-img-col {
                width: 120px;
                height: 90px;
            }
        }

        /* Section Backgrounds */
        .section-cidade-antiga {
            background-color: var(--brand-amber-bg);
            border: 1px solid #f0e6d2;
            border-radius: 24px;
            padding: 2.5rem 1.75rem;
        }

        .section-esportes-dark {
            background-color: var(--brand-black);
            color: #f7fafc;
            border-radius: 24px;
            padding: 2.5rem 1.75rem;
        }

        .section-esportes-dark .article-card {
            background-color: #1e222b;
            border-color: #2d3748;
            color: white;
        }

        .section-esportes-dark .card-title {
            color: white !important;
        }

        /* Category Badges */
        .cat-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: rgba(255, 255, 255, 0.95);
            color: #2d3748;
            font-size: 0.65rem;
            font-weight: 800;
            text-transform: uppercase;
            padding: 0.35rem 0.65rem;
            border-radius: 4px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            letter-spacing: 0.05em;
        }

        /* Bookmark Drawer */
        .bookmarks-offcanvas {
            width: 400px !important;
            border-left: none;
            box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        }

        /* Detail pages */
        .post-detail-hero {
            position: relative;
            height: 480px;
            background-color: #cbd5e0;
            overflow: hidden;
        }

        @media (max-width: 768px) {
            .post-detail-hero {
                height: 320px;
            }
        }

        /* Back to top button */
        .btn-scroll-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: var(--brand-red);
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
        }

        .btn-scroll-top.show {
            opacity: 1;
            visibility: visible;
        }

        .btn-scroll-top:hover {
            background-color: var(--brand-dark-red);
            transform: translateY(-3px);
        }

        /* Utilities */
        .text-brand {
            color: var(--brand-red) !important;
        }

        .bg-brand {
            background-color: var(--brand-red) !important;
        }

        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;  
            overflow: hidden;
        }

        .line-clamp-3 {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;  
            overflow: hidden;
        }
        
        .fs-8 {
            font-size: 0.72rem;
        }