/*
Theme Name: Folha do Município
Theme URI: https://folhamunicipio.com.br
Description: Tema para o portal de notícias Folha do Município
Author: Joceilton Gomes
Author URI: https://joceilton.com.br
Version: 1.0
Text Domain: folha
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', Roboto, sans-serif;
    padding-top: 70px;
}

/* ESTILOS DO INDEX.HTML */

/* Altura do carrossel principal para coincidir com as duas notícias laterais */
.main-news-image {
    height: 623px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.main-news-image:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* Altura dos cards laterais */
.news-card {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.news-card:last-child {
    margin-bottom: 0;
}

.carousel-inner {
    padding-bottom: 0;
}

.carousel-indicators {
    bottom: 10px;
}

.row.mb-5>div {
    height: 100%;
}

.main-news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.section-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.news-title {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.news-subtitle {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    color: white;
    width: 40px;
    height: 40px;
    top: calc(50% - 20px);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: #dc3545;
    width: 10px;
    height: 10px;
}

.carousel-inner {
    padding-bottom: 3rem;
}

.news-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.news-card-title {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.3;
}

.news-card-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Estilos para seção de artigos principais */
.news-section {
    padding: 2rem 0;
}

.news-article {
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    gap: 1rem;
    padding: 0rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
}

.news-article:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.news-image {
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
}

.news-content {
    flex: 1;
    padding: 1rem 0;
}

.news-category {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.article-title {
    color: #dc3545;
    font-size: 1.rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.article-subtitle {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.news-meta {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Refinamento dos cards na barra lateral */
.sidebar-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 1.8rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.09);
}

.sidebar-card h3 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #222;
    position: relative;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #dc3545, #0066cc);
    border-radius: 2px;
}

.trending-item {
    display: flex;
    margin-bottom: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.trending-item:hover {
    transform: translateX(5px);
}

.trending-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trending-thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.trending-title {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    transition: color 0.2s ease;
}

.trending-item:hover .trending-title {
    color: #dc3545;
}

.trending-meta {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.trending-meta i {
    font-size: 0.75rem;
    margin-right: 0.3rem;
}

.weather-card {
    background: linear-gradient(to bottom right, #ffffff, #f7f9fc);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.weather-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.09);
}

.weather-location {
    font-family: 'Cal Sans', sans-serif;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.weather-badge {
    display: inline-block;
    background-color: #f2f5fa;
    color: #0066cc;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.weather-condition {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.weather-temp-main {
    font-size: 5.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 1rem;
}

.weather-days {
    display: flex;
    justify-content: space-around;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1rem 0.5rem;
    margin-top: 1rem;
}

.weather-day {
    text-align: center;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.weather-day:hover {
    transform: translateY(-3px);
}

.weather-icon {
    font-size: 1.8rem;
    margin: 0.5rem 0;
    display: block;
}

.temperature {
    font-weight: bold;
    color: #333;
}

.weather-day-name {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.btn-more {
    background-color: transparent;
    border: none;
    color: #0066cc;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 1rem;
    cursor: pointer;
}

.btn-more i {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.btn-more:hover {
    color: #dc3545;
}

.btn-more:hover i {
    transform: translateX(3px);
}

/* Header flutuante */
.header-floating {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.header-floating.scrolled {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.logo {
    font-size: 1.5rem;
    font-family: 'Cal Sans', sans-serif;
    font-weight: 700;
    color: #dc3545;
    text-decoration: none;
}

.logo .azul {
    color: #0066cc;
}

.nav-main {
    display: flex;
    gap: 1.5rem;
}

.nav-main .nav-link {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.nav-main .nav-link:hover {
    color: #dc3545;
}

.nav-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #dc3545;
    transition: width 0.2s ease;
}

.nav-main .nav-link:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 1rem;
}

.nav-icon {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.nav-icon:hover {
    color: #dc3545;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* Botão de busca no header */
.search-container {
    position: relative;
}

.search-input {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    width: 150px;
    border-color: #dc3545;
}

.search-button {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.play-button:hover {
    background: rgba(220, 53, 69, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Estilos para galeria de vídeos */
.video-gallery-section {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.video-gallery-title {
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.video-gallery-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, #dc3545, #0066cc);
    border-radius: 3px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.2rem;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-info {
    padding: 1rem;
}

.video-category {
    color: #0066cc;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.video-title {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.video-card:hover .video-title {
    color: #dc3545;
}

.video-meta {
    color: #666;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.video-meta i {
    margin-right: 0.3rem;
}

/* Estilos para o modal de vídeo */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-container {
    width: 90%;
    max-width: 960px;
    position: relative;
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-modal-content {
    background-color: transparent;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
}

.video-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-content .plyr {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-content .plyr__video-wrapper {
    height: 100%;
}

.plyr--video {
    border-radius: 5px;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.video-modal-close:hover {
    transform: rotate(90deg);
    color: #dc3545;
}

.video-modal-title {
    color: white;
    margin-bottom: 15px;
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.5rem;
}

.video-source-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2001;
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-source-badge i {
    font-size: 1rem;
}

.video-meta-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

/* Estilos para o footer */
.footer {
    background-color: #222;
    color: #f8f9fa;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-logo {
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo .azul {
    color: #0099ff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background-color: #dc3545;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #dc3545, #0066cc);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-app-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-app-badge {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-app-badge:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-app-badge i {
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.footer-app-badge-content {
    line-height: 1.2;
}

.footer-app-badge-small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-app-badge-large {
    font-size: 0.9rem;
    color: #fff;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 0.7rem;
    margin-top: 0.2rem;
    color: #dc3545;
}

/* Estilos para paginação */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

.pagination {
    gap: 0.3rem;
}

.page-item .page-link {
    color: #555;
    border-radius: 5px;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: #f0f0f0;
}

.page-item .page-link:hover {
    background-color: #e0e0e0;
    color: #222;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background-color: #dc3545;
    color: white;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}

.page-item.disabled .page-link {
    color: #aaa;
    background-color: #f8f8f8;
    cursor: not-allowed;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    padding: 0.5rem 0.8rem;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* ESTILOS DO POST.HTML */

/* Styles para o artigo principal */
.article-container {
    background: white;
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    background: none;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #dc3545;
}

.breadcrumb-item.active {
    color: #333;
}

.article-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #222;
}

.article-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 0.5rem;
    color: #dc3545;
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-details {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: #222;
    margin-bottom: 0.3rem;
}

.author-title {
    color: #666;
    font-size: 0.9rem;
}

.social-share {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.share-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-button.facebook {
    background: #1877f2;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.whatsapp {
    background: #25d366;
}

.share-button.email {
    background: #555;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/*
.article-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}
*/



.article-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
    display: block;
}

@media (max-width: 767.98px) {
    .article-image {
        object-fit: contain;
    }
}


.image-caption {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #222;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: #222;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content blockquote {
    border-left: 4px solid #dc3545;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    font-size: 1.15rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.tags-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #e0e0e0;
    color: #333;
}

/* Related posts na sidebar */
.related-item {
    display: flex;
    margin-bottom: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    color: inherit;
    text-decoration: none;
}

.related-item:hover {
    transform: translateX(5px);
}

.related-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.related-title {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    transition: color 0.2s ease;
}

.related-item:hover .related-title {
    color: #dc3545;
}

.related-meta {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.related-meta i {
    font-size: 0.75rem;
    margin-right: 0.3rem;
}

/* Estilos para links */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #dc3545;
}

.text-decoration-none {
    text-decoration: none !important;
}

.text-decoration-none:hover {
    text-decoration: none !important;
}

/* Estilos gerais para cores de texto */
.text-dark {
    color: #212529 !important;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .nav-main {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    }

    .search-container {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-main.show {
        display: flex;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-title-large {
        font-size: 1.75rem;
    }

    .article-subtitle {
        font-size: 1.1rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .author-info {
        flex-direction: column;
        text-align: center;
    }

    .social-share {
        margin-left: 0;
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .main-news-image {
        height: 400px;
    }

    .row.mb-5 {
        flex-direction: column;
    }

    .col-lg-6 {
        width: 100%;
        margin-bottom: 1rem;
    }

    .news-article {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    .trending-item {
        flex-direction: column;
    }

    .trending-thumbnail {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .footer [class^="col-"] {
        margin-bottom: 2rem;
    }

    .footer-bottom .text-end {
        text-align: left !important;
        margin-top: 1rem;
    }

    .related-item {
        flex-direction: column;
    }

    .related-thumbnail {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        gap: 0.1rem;
    }
    
    .page-item .page-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .d-none-xs {
        display: none;
    }
}


/****************************************************************/

/* Estilos para paginação */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

.pagination {
    gap: 0.3rem;
}

.page-item .page-link {
    color: #555;
    border-radius: 5px;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: #f0f0f0;
}

.page-item .page-link:hover {
    background-color: #e0e0e0;
    color: #222;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background-color: #dc3545;
    color: white;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}

.page-item.disabled .page-link {
    color: #aaa;
    background-color: #f8f8f8;
    cursor: not-allowed;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    padding: 0.5rem 0.8rem;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

@media (max-width: 576px) {
    .pagination {
        gap: 0.1rem;
    }
    
    .page-item .page-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .d-none-xs {
        display: none;
    }
}