/* Estilos para o container de blogueiros */
.blogueiros-container {
    margin: 30px 0;
    font-family: var(--font-family);
}

/* Grid para os artigos */
.blogueiros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
    display: inline-block;
}

/* Card do artigo */
.artigo-card {
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card) !important;
    border: var(--border-whisper) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.artigo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep) !important;
}

/* Imagem de capa */
.artigo-cover {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
}

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

.artigo-card:hover .artigo-cover-img {
    transform: scale(1.05);
}

/* Categoria do artigo */
.artigo-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-primary) !important;
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Conteúdo do artigo */
.artigo-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Título do artigo */
.artigo-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.artigo-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.artigo-title a:hover {
    color: var(--color-primary) !important;
}

/* Resumo do artigo */
.artigo-excerpt {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Rodapé do artigo */
.artigo-footer {
    display: flex;
    align-items: center;
    border-top: var(--border-whisper);
    padding-top: 15px;
    margin-top: auto;
}

/* Informações do blogueiro */
.blogueiro-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.blogueiro-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.blogueiro-details {
    flex-grow: 1;
}

.blogueiro-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blogueiro-area {
    font-size: 11px;
    color: var(--color-primary) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Metadados do artigo */
.artigo-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.artigo-date {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-left: 10px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-primary) !important;
    background-color: #f5f5f5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 12px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: var(--color-primary) !important;
    color: white;
}

/* Cores das categorias */
.cat-politica,
.cat-economia,
.cat-educacao,
.cat-saude,
.cat-tecnologia,
.cat-esportes,
.cat-entretenimento,
.cat-geral {
    background-color: var(--color-primary) !important;
}

/* Rodapé com botões */
.blogueiros-footer {
    display: flex;
    justify-content: space-between;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary) !important;
    color: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(30, 115, 190, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 115, 190, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 11px 30px;
    background-color: var(--color-bg);
    color: var(--color-primary) !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid var(--color-primary);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.btn-icon {
    margin-left: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
    .blogueiros-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .blogueiros-footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .blogueiros-grid {
        grid-template-columns: 1fr;
    }
}

.frase-widget-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.frase-widget-header:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary) !important;
    margin: 10px auto 0;
}

.frase-widget-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    display: inline-block;
    position: relative;
}

/* Estilos base para todos os widgets de Frase da Semana */
.frase-semana-widget {
    position: relative;
    margin: 30px 0;
    font-family: var(--font-family);
}

.frase-conteudo {
    position: relative;
    padding: 25px 30px;
}

.aspas-inicio,
.aspas-fim {
    position: absolute;
    font-size: 60px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.1);
    height: 30px;
    width: 30px;
}

.aspas-inicio {
    content: '"';
    top: 10px;
    left: 10px;
}

.aspas-inicio::before {
    content: '"';
}

.aspas-fim {
    content: '"';
    bottom: 0;
    right: 10px;
}

.aspas-fim::before {
    content: '"';
}

.frase-texto {
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 15px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.frase-autor {
    font-size: 14px;
    text-align: right;
    margin-top: 15px;
    font-weight: 600;
}

.frase-link {
    text-align: center;
    margin-top: 15px;
}

.ver-noticia {
    display: inline-block;
    padding: 5px 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Estilo: Clássico */
.estilo-default {
    background-color: var(--color-bg-alt);
    border-left: 4px solid #2271b1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.estilo-default .frase-texto {
    color: var(--color-text);
}

.estilo-default .frase-autor {
    color: #555;
}

.estilo-default .ver-noticia {
    background-color: #2271b1;
    color: #fff;
    border-radius: 3px;
}

.estilo-default .ver-noticia:hover {
    background-color: var(--color-primary) !important;
}

/* Estilo: Minimalista */
.estilo-minimal {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 2px;
}

.estilo-minimal .aspas-inicio,
.estilo-minimal .aspas-fim {
    display: none;
}

.estilo-minimal .frase-texto {
    color: var(--color-text-secondary);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.estilo-minimal .frase-autor {
    color: var(--color-text-secondary);
}

.estilo-minimal .ver-noticia {
    border: 1px solid #ddd;
    color: #555;
    border-radius: 2px;
}

.estilo-minimal .ver-noticia:hover {
    background-color: #f5f5f5;
}

/* Estilo: Elegante */
.estilo-elegant {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.estilo-elegant .frase-conteudo {
    padding: 35px 40px;
}

.estilo-elegant .aspas-inicio,
.estilo-elegant .aspas-fim {
    color: rgba(128, 0, 128, 0.1);
}

.estilo-elegant .frase-texto {
    color: #222;
    font-family: Georgia, serif;
    font-size: 20px;
}

.estilo-elegant .frase-autor {
    color: #800080;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: normal;
}

.estilo-elegant .ver-noticia {
    border: 1px solid #800080;
    color: #800080;
    border-radius: var(--radius-pill);
    font-size: 13px;
    padding: 6px 18px;
}

.estilo-elegant .ver-noticia:hover {
    background-color: #800080;
    color: #fff;
}

/* Estilo: Moderno */
.estilo-modern {

    border-radius: var(--radius-lg);

    overflow: hidden;
}

.estilo-modern .frase-conteudo {
    padding: 30px;

}

.estilo-modern .aspas-inicio,
.estilo-modern .aspas-fim {
    color: rgba(0, 120, 215, 0.1);
    font-size: 70px;
}

.estilo-modern .frase-texto {
    color: var(--color-text);
    font-weight: 500;
}

.estilo-modern .frase-autor {
    color: var(--color-primary) !important;
    padding-top: 10px;
    position: relative;
}

.estilo-modern .frase-autor::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary) !important;
}

.estilo-modern .ver-noticia {
    /* background-color: var(--color-primary) !important;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    padding: 7px 20px;
    box-shadow: 0 2px 5px rgba(0, 120, 215, 0.3); */
}

.estilo-modern .ver-noticia:hover {
    background-color: #006cc1;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 576px) {
    .frase-conteudo {
        padding: 20px;
    }

    .frase-texto {
        font-size: 16px;
    }

    .aspas-inicio,
    .aspas-fim {
        font-size: 40px;
    }
}

/* Estilos para o widget Quem Foi Sua Rua */
.quem-foi-sua-rua-container {
    margin: 30px auto;
    position: relative;
    font-family: var(--font-family);
}

/* Cabeçalho do widget */
.rua-widget-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.rua-widget-header:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary) !important;
    margin: 10px auto 0;
}

.rua-widget-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    display: inline-block;
    position: relative;
}

/* Carrossel */
.rua-carousel {
    position: relative;
}

/* Item da rua */
.rua-item {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Imagem da rua */
.rua-imagem {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.rua-imagem:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.rua-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rua-item:hover .rua-imagem img {
    transform: scale(1.08);
}

/* Conteúdo da rua */
.rua-conteudo {
    padding: 20px;
    position: relative;
}

/* Título da rua */
.rua-titulo {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--color-text);
    position: relative;
    padding-bottom: 10px;
}

.rua-titulo:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary) !important;
}

/* Descrição da rua */
.rua-descricao {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

/* Link Ver mais */
.ver-mais {
    display: inline-block;
    color: var(--color-primary) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-left: 5px;
    transition: color 0.2s ease;
}

.ver-mais:hover {
    color: var(--color-primary) !important;
    text-decoration: underline;
}

/* Mapa da rua */
.rua-mapa {
    margin-top: 15px;
}

.mapa-preview {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.static-map {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.static-map:hover {
    opacity: 0.9;
}

/* Rodapé do widget */
.rua-widget-footer {
    text-align: center;
    margin-top: 20px;
}

.rua-ver-todas {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--color-primary) !important;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.rua-ver-todas:hover {
    background-color: var(--color-primary) !important;
    transform: translateY(-2px);
    color: #fff;
}

/* Estilos para o OwlCarousel */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: white !important;
    font-size: 18px !important;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.quem-foi-sua-rua-container:hover .owl-nav button {
    opacity: 1;
}

.owl-nav button:hover {
    background: rgba(30, 115, 190, 1) !important;
    transform: translateY(-50%) scale(1.1);
}

.owl-prev {
    left: -20px;
}

.owl-next {
    right: -20px;
}

.owl-dots {
    text-align: center;
    margin-top: 15px;
}

.owl-dot {
    display: inline-block;
    width: 10px !important;
    height: 10px !important;
    background: #ddd !important;
    margin: 0 5px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.owl-dot:hover {
    background: #bbb !important;
}

.owl-dot.active {
    background: var(--color-primary) !important;
    transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .rua-widget-title {
        font-size: 20px;
    }

    .rua-imagem {
        height: 170px;
    }

    .owl-nav button {
        width: 35px !important;
        height: 35px !important;
    }

    .owl-prev {
        left: -15px;
    }

    .owl-next {
        right: -15px;
    }
}

@media (max-width: 480px) {
    .rua-widget-title {
        font-size: 18px;
    }

    .rua-titulo {
        font-size: 16px;
    }

    .rua-conteudo {
        padding: 15px;
    }

    .rua-imagem {
        height: 150px;
    }

    .owl-nav button {
        width: 30px !important;
        height: 30px !important;
    }

    .owl-stage-outer {
        width: 100% !important;
        overflow: hidden;
    }

    .owl-stage-outer .owl-stage {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }

    .owl-stage-outer .owl-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        display: block !important;
    }

    .quem-foi-sua-rua-container {
        max-width: 100% !important;
        padding: 0 10px;
    }

    .owl-carousel .owl-nav {
        display: none !important;
    }

    .owl-carousel .owl-dots {
        display: none !important;
    }
}

/* Widget YouTube */
.youtube-widget {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 520px;
}

/* Cabeçalho do widget */
.youtube-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.youtube-logo {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.youtube-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    flex-grow: 1;
    margin: 0;
}

/* Container do vídeo responsivo */
.video-container {
    position: relative;
    padding-bottom: 393px;
    /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 393px;
    border: 0;
}

/* Badges para tipos especiais de vídeo */
.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.badge-live {
    background-color: #f44336;
    /* Vermelho para vídeos ao vivo */
    animation: pulse 2s infinite;
}

.badge-interview {
    background-color: #2196F3;
    /* Azul para entrevistas */
}

.badge-podcast {
    background-color: #4CAF50;
    /* Verde para podcasts */
}

.badge-exclusive {
    background-color: #9C27B0;
    /* Roxo para conteúdo exclusivo */
}

.badge-custom {
    background-color: #FF9800;
    /* Laranja para badges personalizadas */
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }

    100% {
        opacity: 1;
    }
}

/* Rodapé com informações */
.youtube-footer {
    padding: 15px;
    background-color: rgb(255, 255, 255);
    border-top: 1px solid #f0f0f0;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--color-text);
    line-height: 1.3;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.channel-name {
    display: inline-block;
    margin-right: 10px;
}

.video-date {
    display: inline-block;
}

.video-actions {
    display: flex;
    margin-top: 10px;
}

.video-action-btn {
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    margin-right: 8px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s;
    text-decoration: none;
}

.video-action-btn:hover {
    background-color: #e5e5e5;
}

.video-action-btn i {
    margin-right: 6px;
    font-size: 14px;
}

/* Estilo para opções de widget */
.youtube-widget.compact .youtube-footer {
    display: none;
}

.youtube-widget.no-header .youtube-header {
    display: none;
}

.youtube-widget.minimal .youtube-header,
.youtube-widget.minimal .youtube-footer {
    display: none;
}

/* Responsividade */
@media (max-width: 576px) {

    .youtube-header,
    .youtube-footer {
        padding: 10px;
    }

    .video-actions {
        flex-wrap: wrap;
    }

    .video-action-btn {
        margin-bottom: 8px;
    }

    .video-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}


/* Configuração padrão para os widgets */
.home-row .widget {
    width: inherit;
}

/* Widget Tipo 7 (Notícia com Links Relacionados) */
.home-row .widget_otaboanense_tipo7_widget {
    flex: 1 1 300px;
    min-width: 300px;
    max-width: 100%;
}

/* Widgets mais compactos - Tipo 2 e 3 */
.home-row .widget_otaboanense_tipo2_widget {
    /* flex: 1 1 250px; */
    /* Flexível com tamanho base menor */
}

.home-row .widget_otaboanense_tipo3_widget {
    flex: 0 0 100%;
}

/* Estilo para banners */
.banner-widget {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Classe para ocultar elementos visualmente, mas manter acessível para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Em telas maiores, limitar o tamanho máximo dos widgets Tipo 7 */
@media (min-width: 1024px) {
    .home-row .widget_otaboanense_tipo7_widget {
        max-width: calc(50% - 0.75rem);
        /* No máximo 2 por linha, com espaçamento */
    }
}

/* Permitir layout compacto em telas ainda maiores */
@media (min-width: 1280px) {
    .home-row .widget_otaboanense_tipo7_widget {
        flex: 1 1 400px;
        /* Tamanho base maior para telas grandes */
    }
}


/* Estilos para banners */
.ad-container {
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;

}

.ad-label {
    top: -10px;
    left: calc(55% - 100px);
    background-color: #eeeeee;
    color: #717171;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 5px;
    display: inline-block;
}

.ad-content {
    text-align: center;
}

.ad-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: opacity 0.2s;
    width: 100%;
}

.ad-content img:hover {
    opacity: 0.95;
}

.ad-content a {
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.ad-adsense {
    min-height: 90px;
}

@media (max-width: 768px) {
    .ad-container {
        padding: inherit;
    }

    .ad-label {
        top: -10px;
        left: 0px;
        z-index: 9999;
    }
}

/* Banner vertical na manchete */
.banner-vertical-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.banner-vertical-wrapper a {
    display: flex;
    width: 100%;
    text-decoration: none;
}

.banner-vertical-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    max-height: 420px;
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .banner-vertical-wrapper {
        margin-top: 1.5rem;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .banner-vertical-wrapper {
        margin-top: 1.5rem;
    }
}

/* Layout da manchete - Grid principal 2 colunas */
.manchete-layout {
    display: grid;
    grid-template-columns: 5fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* Coluna esquerda com sub-grid interno */
.manchete-left {
    display: flex;
}

.manchete-inner-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    width: 100%;
    align-items: start;
}

/* Imagem no sub-grid tem proporção 3:2 */
.manchete-inner-grid>div:first-child {
    aspect-ratio: 3 / 2;
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .manchete-layout {
        grid-template-columns: 1fr;
    }

    .manchete-inner-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .manchete-inner-grid {
        grid-template-columns: 1fr;
    }

    .manchete-inner-grid>div:first-child {
        aspect-ratio: 3 / 2;
    }
}

/* Layout responsivo para widgets */
.home-row {
    margin-bottom: 2rem;
}

.home-column {
    display: flex;
    flex-direction: row;
    gap: 2em;
}

@media (max-width: 767px) {
    .home-column {
        display: block !important;
    }

    .home-column>div,
    .home-column>.col-span-2,
    .home-column>.col-span-1 {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.5em;
    }

    .home-column>div:last-child {
        margin-bottom: 0;
    }

    .home-column .rounded-lg {
        width: 100% !important;
    }

    .home-column .rounded-lg>div.relative {
        height: auto !important;
        aspect-ratio: 3 / 2;
    }
}

/* Widget específico para Tipo 2 (Cards) */
#home-row-1 .widget_otaboanense_tipo2_widget,
#home-row-2 .widget_otaboanense_tipo2_widget,
#home-row-3 .widget_otaboanense_tipo2_widget,
#home-row-4 .widget_otaboanense_tipo2_widget {
    margin-bottom: 1.5rem;
}

/* Estilo base (MOBILE FIRST) */
.home-row .widget-area {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 0;
    gap: 1.25rem;
    width: 100%;
}

/* Tablets e Desktop (768px para cima) */
@media (min-width: 768px) {
    .home-row .widget-area {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 2em;
    }
}

/* Grid responsivo para cada linha */
@media (min-width: 768px) {


    /* Card widgets layout (Tipo 2) */
    .home-row .widget_otaboanense_tipo2_widget {
        width: calc(50% - 1.5rem);
        margin: 0 0.75rem 1.5rem;
    }
}

@media (min-width: 1024px) {

    /* Card widgets layout (Tipo 2) */
    .home-row .widget_otaboanense_tipo2_widget {
        width: calc(33.333% - 1.5rem);
    }

    /* Layout para widgets Tipo 1 e Tipo 5 (sempre ocupar largura total) */
    .home-row .widget_otaboanense_tipo1_widget,
    .home-row .widget_otaboanense_tipo5_widget {
        width: calc(100% - 1.5rem);
    }

    /* Layout para widgets Tipo 3 e Tipo 7 (metade de largura) */
    .home-row .widget_otaboanense_tipo3_widget,
    .home-row .widget_otaboanense_tipo7_widget {
        width: calc(50% - 1.5rem);
    }
}

@media (min-width: 1280px) {

    /* Card widgets layout (Tipo 2) */
    .home-row .widget_otaboanense_tipo2_widget {
        width: calc(25% - 1.5rem);
    }

    /* Layout para widgets Tipo 6 (3 por linha em telas grandes) */
    .home-row .widget_otaboanense_tipo6_widget {
        width: calc(33.333% - 1.5rem);
    }
}


.home-row,
.banner-row {
    /* margin-bottom: 1.5rem;
    padding-bottom: 1.5rem; */
}

@media (min-width: 768px) {

    .home-row,
    .banner-row {
        margin: 1.5rem 0 1.5rem 0;
        padding: 1.5rem 0 1.5rem 0;
    }
}

.widget-title h3,
.widget-title h4 {
    margin: 0;
    padding: 15px;
    font-size: 1em;
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-user-select: none;
    user-select: none;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

.news-compact>img {
    max-width: 80px;
    background: red !important;
}