:root {
    --brand-red: #c41e1e;
    --brand-red-dark: #a01818;
    --bs-link-color: #e32929;
}

.bg-brand {
    background: linear-gradient(135deg, var(--brand-red) 0%, #e32929 100%);
}
.bg-brand-footer {
    background: linear-gradient(180deg, var(--brand-red) 0%, #000000 100%);
}


.text-brand {
    color: var(--brand-red);
}

.btn-brand {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
}

.btn-brand:hover {
    background-color: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    color: white;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: none;
    z-index: 1000;
}

.back-to-top.show {
    display: flex;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.sponsor-logo {
    background: white;
    border-radius: 8px;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--brand-red);
    font-size: 0.85rem;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 20px;
}

.hero-city {
    background: linear-gradient(135deg, var(--brand-red) 0%, #2c1515 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--brand-red);
    margin-bottom: 10px;
}

.stat-box h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--brand-red);
    margin: 10px 0;
    height: 80px;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--brand-red);
}

.social-link {
    display: inline-block;
    padding: 12px 24px;
    margin: 5px;
    background: white;
    border: 2px solid var(--brand-red);
    color: var(--brand-red);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--brand-red);
    color: white;
}

.contact-item {
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid var(--brand-red);
    margin-bottom: 10px;
    border-radius: 4px;
}

.contact-item i {
    color: var(--brand-red);
    width: 25px;
}

.photo-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.05);
}

.article-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: opacity 0.3s;
}

.article-image:hover {
    opacity: 0.9;
}

.article-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

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

.comment-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--brand-red);
    padding: 15px;
    margin-bottom: 15px;
}

.comment-reply {
    margin-left: 40px;
    border-left: 3px solid #dee2e6;
}


.ad-space {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.ad-space-sidebar {
    min-height: 600px;
    position: sticky;
    top: 170px;
}

.related-news-card {
    transition: transform 0.3s;
}

.related-news-card:hover {
    transform: translateY(-5px);
}

.related-news-card img {
    height: 150px;
    object-fit: cover;
}


.tag-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    cursor: pointer;
}

.image-modal img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95%;
    max-height: 95%;
}

.image-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: var(--bs-link-color);
    --bs-pagination-bg: var(--bs-body-bg);
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: var(--bs-link-hover-color);
    --bs-pagination-hover-bg: var(--bs-tertiary-bg);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: var(--bs-link-hover-color);
    --bs-pagination-focus-bg: var(--bs-secondary-bg);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #e32929;
    --bs-pagination-active-border-color: #e32929;
    --bs-pagination-disabled-color: var(--bs-secondary-color);
    --bs-pagination-disabled-bg: var(--bs-secondary-bg);
    --bs-pagination-disabled-border-color: var(--bs-border-color);
    display: flex
;
    padding-left: 0;
    list-style: none;
}


.share-menu {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    min-width: 320px;
}

.share-menu.active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    top: 190px;
    z-index: 99999;
}

.share-menu h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.share-option:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
}

.share-option svg {
    width: 32px;
    height: 32px;
}

.copy-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.copy-link input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #666;
    outline: none;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #5568d3;
}

.copy-btn.copied {
    background: #10b981;
}

.overlayshare {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 0;

}

.overlayshare.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99998;
}

@media (max-width: 480px) {
    .share-menu {
        min-width: 280px;
    }

    .share-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.legal-section h1, .sitemap-section h1 {
    color: var(--brand-red);
    font-size: calc(1.325rem + .9vw)!important;
    font-weight: 700 !important;
    padding-bottom: .5rem !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 3px solid #dc3545 !important;
    display: inline-block !important;
}

.btn-no-wrap {
    white-space: nowrap;
}
.navbar .nav-item {
    font-size: 0.9em;
}


.parceiro-container {
    max-width: 856px;
    width: inherit;
    margin: 20px auto;
    text-align: center;

}

.parceiro-container-iframe {
    width: 856px;
    height: 250px;
    border: none;
    display: block;
    margin: 0 auto;
}
.parceiro-description {
    font-size: 0.6em;
    color: #9E9E9E;
    top: 35px;
    left: 100px;
    position: relative;
    background: white;
    border: 1px solid #cecece;
}

/* Zoom 0.7 em mobile */
@media (max-width: 768px) {
    .parceiro-container-iframe {
        zoom: 0.7;
        -moz-transform: scale(0.7);
        -moz-transform-origin: 0 0;
        width: 100%;
        max-width: 856px;
    }

    .parceiro-container-container {
        overflow: hidden;
        height: 175px; /* 250px * 0.7 */
    }
}

@media (max-width: 991px) {
    .hero-overlay h1.display-4 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    .hero-overlay p.lead {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
    }

    .hero-overlay {
        padding: 2rem 1.5rem !important;
    }

    .hero-overlay .badge {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 768px) {
    .hero-overlay h1.display-4 {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        word-wrap: break-word !important;
    }

    .hero-overlay p.lead {
        font-size: 1rem !important;
    }

    .hero-overlay {
        padding: 1.5rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-overlay h1.display-4 {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
    }

    .hero-overlay p.lead {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-overlay .btn {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
    }
}

/* Ajuste da imagem do carousel em mobile */
@media (max-width: 768px) {
    .carousel-item img {
        min-height: 400px !important;
        object-fit: cover !important;
    }
}

.author-image {
    width: 100px;
}
