/* COLUNA ESQUERDA - CATEGORIA OPINIÃO */
.home-coluna-esquerda {
    max-width: 287px;
}

.widget-header-home {
    margin-bottom: 0!important;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

@media (max-width:768px) {
	#primary-content {
		margin:0 10px;
	}
}

.widget-header a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
}

.widget-header a:hover {
    color: #000;
    text-decoration: underline;
}

.opiniao-posts-list {
    display: flex;
    flex-direction: column;

}


.opiniao-post-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px;

}


.opiniao-posts-list {

    border-right: 1px solid #20212426;
    border-left: 1px solid #20212426;
    border-bottom: 1px solid #20212426;
}

.opiniao-post-image {
width: 80px;
    height: 83px;
    overflow: hidden;
}

.opiniao-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.opiniao-post-image a:hover img {
    transform: scale(1.05);
}

.opiniao-post-text {
    flex: 1;
    min-width: 0; /* Importante para text-overflow funcionar */
}

.opiniao-post-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limita a 2 linhas */
    -webkit-box-orient: vertical;
}

.opiniao-post-title a {
    color: #000;
    text-decoration: none;
}

.opiniao-post-title a:hover {
    color: #333;
    text-decoration: underline;
}

.opiniao-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;

}

.opiniao-post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.opiniao-post-meta i {
    font-size: 10px;
}

.meta-author {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 12px;
}

.meta-date {

    padding: 3px 8px;
    border-radius: 12px;
}

.meta-comments {

    padding: 3px 8px;
    border-radius: 12px;
}

.post-separator {
    border: none;
    border-top: 1px dashed #ddd;
    margin: 0;
    padding: 0;
}

.no-posts {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* Se não tiver imagem, o título ocupa toda a largura */
.opiniao-post-content:not(:has(.opiniao-post-image)) .opiniao-post-text {
    width: 100%;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .home-coluna-esquerda {
        max-width: none;
        width: 100%;
    }
    
    .opiniao-post-image {
        width: 70px;
        height: 50px;
    }
    
    .opiniao-post-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .opiniao-post-meta {
        font-size: 10px;
        gap: 8px;
    }
}


.classy-home-icon a {
    color: #fff!important;
}


/* =========================================
   FORWARD SECTION - LAYOUT PRINCIPAL
========================================= */
.forward-section {
    max-width: 1200px;
    margin-top:-32px;
    display: grid;
       grid-template-columns: 1fr minmax(280px, 285px);
    margin:auto;
    gap: 20px;
}

.forward-section > * {
    min-width: 0;
}

@media (max-width:768px){
	.forward-main {
		margin-top:30px;
	}
}


/* RESPONSIVO - LAYOUT */
@media (max-width: 900px) {
    .forward-section {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   COLUNAS
========================================= */
.forward-main {
    width: 100%;
}

.forward-sidebar {
    width: 100%;
    min-height: 200px; /* sidebar vazia por enquanto */
}

/* =========================================
   RESET LOCAL (SEM CONFLITO)
========================================= */
.rsv-destaques,
.rsv-destaques * {
    box-sizing: border-box;
}

/* =========================================
   GRID DOS POSTS
========================================= */
.rsv-destaques {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}



/* MOBILE - POSTS */
@media (max-width: 900px) {
    .rsv-destaques {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CARD
========================================= */
.rsv-card {
    background: #ffffff;
    border: 1px solid #ddd;
    overflow: hidden;
    transition: transform 0.2s ease;
	padding:10px;
}

.rsv-card:hover {
    transform: translateY(-3px);
}

/* =========================================
   IMAGEM
========================================= */
.rsv-card-img {
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.rsv-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   CONTEÚDO
========================================= */
.rsv-card-content {
    padding: 18px;
}

/* META TOPO */
.rsv-meta-top {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 6px;
}

.rsv-meta-top span {
    font-weight: 400;
    color: #ffffff;
    background: #000;
    padding: 1px 10px;
	margin-right: 4px;
}

/* TÍTULO */
.rsv-card-title {
    font-size: 20px;
    line-height: 1.35;
    color: #000;
    margin: 12px 0;
}

.rsv-card-title a {
    color: inherit;
    text-decoration: none;
}

.rsv-card-title a:hover {
    text-decoration: underline;
}

/* =========================================
   META INFERIOR
========================================= */
.rsv-meta-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #555;
}

.rsv-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* garante que nada "vaze" do card */
.rsv-card-img {
    overflow: hidden;
}

/* imagem normal */
.rsv-card-img img {
    transition: transform 0.4s ease;
}

/* zoom ao passar o mouse no card */
.rsv-card:hover .rsv-card-img img {
    transform: scale(1.08);
}

/* mais vistos*/
    .sidebar-news-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 15px;
    /*border-bottom: 1px solid #eeeeee66;*/
    }

    .sidebar-news-item:last-child {
      border-bottom: none;
    }
    
     .sidebar-news-item a {
	     display: contents;
     }
    .sidebar-news-img {
      width: 120px;
      height: 100px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .sidebar-news-content {
      flex: 1;
      min-width: 0;
    }

    .sidebar-news-title {
    font-size: 15px;
    font-weight: 600;
    color: #262626;
    line-height: 1.3;
    margin: 0 0 8px 0;
    }

    .sidebar-news-date {
    font-size: 11px;
    color: #a0a0a0;
    display: flex;
    gap: 6px;
    align-items: center;
    }

    .sidebar-clock-icon {
      width: 16px;
      height: 16px;
      color: #007eff;
      flex-shrink: 0;
    }

    /* --- RESPONSIVO: MANTÉM ESTRUTURA MESMO EM MOBILE --- */
    @media (max-width: 768px) {
      .sidebar-news-container {
        max-width: 100%;
      }
      .sidebar-news-item {
        gap: 10px;
        padding: 10px 0;
      }
      .sidebar-news-img {
        width: 100px;
        height: 75px;
      }
      .sidebar-news-title {
        font-size: 15px;
      }
      .sidebar-news-date {
        font-size: 11px;
      }
    }

    @media (max-width: 480px) {
      .sidebar-news-item {
        gap: 8px;
      }
      .sidebar-news-img {
        width: 80px;
        height: 60px;
      }
      .sidebar-news-title {
        font-size: 14px;
      }
      .sidebar-clock-icon {
        width: 14px;
        height: 14px;
      }
    }



    .most-accessed {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
    margin: 0 auto 20px;
    padding: 0;
    position: relative;
    display: inline-block;
    width: 100%;
}

.most-accessed::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary) 40px, #eee 20px);
}


.most-accessed-posts {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
}

.most-post-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.most-post-item:last-child {
    border-bottom: none;
}

.most-post-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    margin-right: 15px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* HOVER: número fica vermelho */
.most-post-number:hover {
    background-color: var(--color-primary);
    color: white;
}

.most-accessed-posts a {
	color: #111;
}

.most-post-content {
    flex: 1;
}

.most-post-content h3 {
    font-size: 14px;
    font-weight: normal;
    margin: 0 0 8px 0;
    line-height: 1.4;
    color: #212121;
}

.most-post-actions {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.most-post-actions::before {
    content: '←';
    margin-right: 5px;
    font-size: 10px;
}

/* ESTILO ESPECIAL PARA O PRIMEIRO ITEM (COM IMAGEM) */
.most-post-item-first .most-post-content {
    display: flex;
    flex-direction: column;
}

.most-post-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

        .most-post-number-int {
        display: grid;
        grid-template-columns: 80% 20%;
        align-items: stretch;
        }


.number1 {
padding-left: 10px;
    margin-left: 10px;
    border-left: 1px solid #eee;
    height: 50px;
}

.title-number h2 {
   font-size: 18px;
}
