/* ========================================
   HIERARQUIA TIPOGRÁFICA - Página de Notícia
   ======================================== */

/* Base Typography */
.u-section-1 {
    padding: 30px 0 40px 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Container com largura otimizada para leitura (60-80 caracteres por linha) */
.u-section-1 .u-sheet-1 {
    min-height: 500px;
    max-width: 1100px !important;
    padding: 0 40px;
    margin: 0 auto;
}

/* Imagem Principal */
.u-section-1 .u-image-1 {
    width: calc(100% - 90px);
    height: auto;
    border-radius: 8px;
    max-width: calc(100% - 90px);
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* H1 - Título Principal da Notícia */
.u-section-1 h1,
.u-section-1 .u-text-2 {
    font-size: 1.875rem;      /* 30px */
    font-weight: 700;
    line-height: 1.3;
    margin: 15px 45px 10px 45px;
    color: #00264e !important;
}

/* H2 - Subtítulo (subTitle) */
.u-section-1 h2.u-text-subtitle,
.u-section-1 .u-text-subtitle {
    font-size: 1.125rem;      /* 18px - um pouco menor que o conteúdo */
    font-weight: 400 !important;
    line-height: 1.6;
    margin: 0 45px 15px 45px;
    color: #777 !important;
}

/* Container da data e botão (meta) */
.u-section-1 .post-meta,
.u-section-1 .d-flex {
    margin: 0 45px 20px 45px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

/* Linha com Notícias e Data */
.u-section-1 .post-meta-line {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.u-section-1 .post-date {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

/* Estilo para o texto de atualização */
.u-section-1 .post-update-time {
    font-size: 14px;
    color: #666 !important;
    font-style: italic;
    margin: 0;
    font-weight: 500;
}

/* ========================================
   TÍTULOS - Hierarquia Progressiva
   ======================================== */

/* H2 - Subtítulo dentro do conteúdo */
.u-section-1 .u-text-3 h2 {
    font-size: 1.5rem;        /* 24px */
    font-weight: 700;
    line-height: 1.4;
    margin: 20px 0 12px 0; 
    color: #00264e !important;
}

/* H3 - Seções */
.u-section-1 h3 {
    font-size: 1.25rem;       /* 20px */
    font-weight: 700;
    line-height: 1.4;
    margin: 18px 0 10px 0;
    color: #00264e !important;
}

/* H4 - Subtítulos de Seção */
.u-section-1 h4 {
    font-size: 1.125rem;      /* 18px */
    font-weight: 600;
    line-height: 1.4;
    margin: 16px 0 10px 0;
    color: #00264e !important;
}

/* H5 e H6 */
.u-section-1 h5 {
    font-size: 1rem;          /* 16px */
    font-weight: 600;
    line-height: 1.5;
    margin: 14px 0 8px 0;
    color: #00264e !important;
}

.u-section-1 h6 {
    font-size: 0.875rem;      /* 14px */
    font-weight: 600;
    line-height: 1.5;
    margin: 12px 0 8px 0;
    color: #00264e !important;
}

/* Tags de ênfase */
.u-section-1 b,
.u-section-1 strong,
.u-section-1 .u-text-3 b,
.u-section-1 .u-text-3 strong {
    color: #00264e !important;
    font-weight: 700;
}

/* ========================================
   TEXTOS - Tamanho Consistente
   ======================================== */

/* Parágrafos */
.u-section-1 p,
.u-section-1 .u-text-3 p {
    font-size: 1.021rem;           /* 16px */
    line-height: 1.8;
    margin: 0 0 16px 0;
    color: #333;
    font-weight: 400;
    letter-spacing: normal;
}

/* Links */
.u-section-1 a {
    font-size: 1.021rem;           /* 16px */
    line-height: 1.6;
    color: #00264e !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.u-section-1 a:hover {
    color: #1a0e47;
    text-decoration: underline;
}

/* Listas */
.u-section-1 ul,
.u-section-1 ol {
    font-size: 1.021rem;           /* 16px */
    line-height: 1.8;
    margin: 16px 0;
    padding-left: 24px;
}

.u-section-1 li {
    font-size: 1.021rem;           /* 16px */
    line-height: 1.8;
    margin-bottom: 8px;
    color: #333;
    letter-spacing: normal;
}

/* ========================================
   ELEMENTOS ESPECÍFICOS
   ======================================== */

/* Botão "Notícias" */
.u-section-1 .u-btn-1 {
    border-style: solid;
    font-weight: 500;
    font-size: 0.875rem;      /* 14px */
    padding: 8px 20px;
    margin: 0;
}

/* Metadata (data de publicação) */
.u-section-1 .u-text-1 {
    font-size: 0.875rem;      /* 14px */
    margin: 0;
    font-weight: 400;
}

/* Container de Conteúdo */
.u-section-1 .u-text-3 {
    line-height: 1.8;
    font-size: 1rem;          /* 16px */
    margin: 10px 45px 0 45px;
}

/* Força a fonte Futura-medium em todo o conteúdo */
.u-section-1 .u-text-3,
.u-section-1 .u-text-3 p,
.u-section-1 .u-text-3 span,
.u-section-1 .u-text-3 div,
.u-section-1 .u-text-3 h1,
.u-section-1 .u-text-3 h2,
.u-section-1 .u-text-3 h3,
.u-section-1 .u-text-3 h4 {
    font-family: 'Futura-medium', sans-serif !important;
}

/* ========================================
   ÚLTIMAS NOTÍCIAS - Seção
   ======================================== */

#sec-latest-news {
    max-width: 1200px;
    margin: 10px auto;
    padding: 20px 20px;
    background-color: #ffffff !important;
    background-image: none !important;
}

#sec-latest-news.u-section-3 {
    background-color: #ffffff !important;
    background-image: none !important;
}

#sec-latest-news .u-sheet-1 {
    background-color: transparent !important;
}

#sec-latest-news h3 {
    font-size: 1.875rem;      /* 30px */
    font-weight: 700;
    color: #00264e !important;
    margin-bottom: 30px;
}

#sec-latest-news .news-card-title {
    font-size: 1.25rem;       /* 20px */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
}

#sec-latest-news .news-card-date {
    font-size: 11px;          /* Menor */
    margin-bottom: 4px;       /* Mais próximo do título */
}

#sec-latest-news .news-card-image img {
    object-fit: cover;        /* Preenche 100% do card sem espaços */
    object-position: center;
}

/* Botão "Ver todas as notícias" */
.btn-ver-todas-noticias {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #00264e;
    border: 2px solid #00264e;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Futura-medium', sans-serif;
}

.btn-ver-todas-noticias:hover {
    background-color: transparent;
    color: #00264e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 38, 78, 0.15);
}

.btn-ver-todas-noticias svg {
    transition: transform 0.3s ease;
}

.btn-ver-todas-noticias:hover svg {
    transform: translateX(4px);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 1199px) {
    .u-section-1 .u-sheet-1 {
        min-height: 400px;
        max-width: 940px !important;
        padding: 0 35px;
    }
    
    .u-section-1 .u-image-1 {
        width: calc(100% - 60px);
        max-width: calc(100% - 60px);
    }
    
    .u-section-1 h1,
    .u-section-1 .u-text-2 {
        margin-left: 30px;
        margin-right: 30px;
    }
    
    .u-section-1 h2,
    .u-section-1 .u-text-subtitle {
        margin-left: 30px;
        margin-right: 30px;
    }
    
    .u-section-1 .post-meta,
    .u-section-1 .d-flex {
        margin-left: 30px;
        margin-right: 30px;
    }
    
    .u-section-1 .u-text-3 {
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media (max-width: 991px) {
    .u-section-1 .u-sheet-1 {
        min-height: 350px;
        max-width: 100% !important;
        padding: 0 30px;
    }

    #sec-latest-news {
        padding: 0 25px;
    }
    
    .u-section-1 .u-image-1 {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
    
    .u-section-1 h1,
    .u-section-1 .u-text-2 { 
        font-size: 1.75rem;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .u-section-1 h2.u-text-subtitle,
    .u-section-1 .u-text-subtitle {
        font-size: 1.05rem;
        font-weight: 400 !important;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .u-section-1 .post-meta,
    .u-section-1 .d-flex {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .u-section-1 .post-update-time {
        font-size: 14px;
    }
    
    .u-section-1 .u-text-3 {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .u-section-1 .u-text-3 h2 { font-size: 1.375rem; }   /* 22px */
    .u-section-1 h3 { font-size: 1.125rem; }   /* 18px */
    .u-section-1 h4 { font-size: 1rem; }       /* 16px */
    
    /* Botão responsivo em tablet grande */
    .btn-ver-todas-noticias {
        padding: 13px 28px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .u-section-1 {
        padding: 20px 0 30px 0;
    }

    .u-section-1 .u-sheet-1 {
        min-height: 300px;
        max-width: 100% !important;
        padding: 0 20px;
    }

    #sec-latest-news {
        padding: 0 15px;
        margin: 30px auto;
    }
    
    .u-section-1 .u-image-1 {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
    
    .u-section-1 h1,
    .u-section-1 .u-text-2 { 
        font-size: 1.625rem;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .u-section-1 h2.u-text-subtitle,
    .u-section-1 .u-text-subtitle {
        font-size: 0.95rem;
        font-weight: 400 !important;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .u-section-1 .post-meta,
    .u-section-1 .d-flex {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .u-section-1 .post-update-time {
        font-size: 14px;
    }
    
    .u-section-1 .u-text-3 {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .u-section-1 .u-text-3 h2 { font-size: 1.25rem; }    /* 20px */
    .u-section-1 h3 { font-size: 1.125rem; }   /* 18px */
    .u-section-1 h4 { font-size: 1rem; }       /* 16px */
    
    /* Botão responsivo em tablet */
    .btn-ver-todas-noticias {
        padding: 13px 28px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .u-section-1 {
        padding: 15px 0 25px 0;
    }

    .u-section-1 .u-sheet-1 {
        min-height: 250px;
        max-width: 100% !important;
        padding: 0 15px;
    }

    #sec-latest-news {
        padding: 0 10px;
        margin: 25px auto;
    }
    
    .u-section-1 .u-image-1 {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .u-section-1 h1,
    .u-section-1 .u-text-2 { 
        font-size: 1.5rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .u-section-1 h2.u-text-subtitle,
    .u-section-1 .u-text-subtitle {
        font-size: 0.9rem;
        font-weight: 400 !important;
        margin-left: 0;
        margin-right: 0;
    }
    
    .u-section-1 .post-meta,
    .u-section-1 .d-flex {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 18px;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 2px !important;
    }
    
    .u-section-1 .post-meta-line {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin: 0;
    }
    
    .u-section-1 .post-date {
        margin: 0 !important;
    }
    
    .u-section-1 .post-update-time {
        font-size: 15px;
        width: 100%;
        margin: 0 !important;
        text-align: left;
        line-height: 1.4;
    }
    
    .u-section-1 .u-text-3 {
        margin-left: 0;
        margin-right: 0;
    }
    
    .u-section-1 .u-text-3 h2 { font-size: 1.25rem; }    /* 20px */
    .u-section-1 h3 { font-size: 1.125rem; }   /* 18px */
    .u-section-1 h4 { font-size: 1rem; }       /* 16px */
    
    /* Botão responsivo em mobile */
    .btn-ver-todas-noticias {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Mantém textos legíveis em mobile */
    .u-section-1 p,
    .u-section-1 li,
    .u-section-1 a { font-size: 1rem; }        /* 16px */
}
