/**
 * Estilos para notÃƒÂ­cias
 * 
 * @package Blocksy Child
 */

/* Estilos para campos ACF do post type NotÃ­cia */
/* Container da pÃ¡gina da notÃ­cia */
.type-noticia .entry-content.is-layout-constrained {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background: transparent;
}

/* Link de voltar */
.noticia-back-link {
    margin-bottom: 30px;
}

.noticia-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    background-image: linear-gradient(to right, #000 0%, #000 100%);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-bottom: 2px;
}

.noticia-back-link a:hover {
    color: #333;
    animation: underlineAppearLink 0.8s ease forwards;
}

.noticia-back-link a:not(:hover) {
    animation: underlineDisappearLink 0.6s ease forwards;
}

.noticia-back-link .noticias-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.noticia-back-link .noticias-arrow svg {
    color: currentColor;
}

/* TÃ­tulo */
.noticia-titulo {
    font-size: 56px;
    font-weight: 700;
    color: #333;
    margin: 0 0 50px 0;
    line-height: 1.1;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -1px;
}

/* Imagem destacada na pÃ¡gina da notÃ­cia */
.noticia-imagem-destaque {
    width: 100%;
    margin: 0 0 60px 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

 .noticia-imagem-destaque {
    padding-bottom: 50px;
    margin-bottom: 0;
    border-bottom: 1px solid #e5e5e5;
 }

 .noticia-content-layout {
    padding-top: 20px;
 }

.noticia-imagem-destaque img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Layout de duas colunas */
.noticia-content-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}

/* Sidebar de metadados */
.noticia-meta-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 100px;
}

 .noticia-meta-sidebar > .noticia-meta-item,
 .noticia-meta-sidebar > .noticia-author,
 .noticia-meta-sidebar > .noticia-meta-icons {
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
 }

 .noticia-meta-sidebar > .noticia-meta-icons {
    padding-bottom: 0;
    border-bottom: 0;
 }

/* Autor */
.noticia-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.noticia-author-avatar {
    flex-shrink: 0;
}

.noticia-author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.noticia-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.noticia-author-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.noticia-author-role {
    font-size: 14px;
    color: #999;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Meta items */
.noticia-meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.noticia-reading-time {
    font-size: 14px;
    color: #999;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.noticia-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e5e5e5;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    margin-left: 4px;
    font-weight: 500;
}

.noticia-date {
    font-size: 14px;
    color: #999;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Ícones */
.noticia-meta-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
 }

.noticia-meta-icons .nectar-social-inner {
    display: flex;
    gap: 12px;
    align-items: center;
 }

 .noticia-meta-icons .nectar-social-inner .nectar-sharing {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: #fff;
    color: #111;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
 }

 .noticia-meta-icons .nectar-social-inner .nectar-sharing:hover {
    border-color: #49B9C4;
    background: rgba(73, 185, 196, 0.08);
 }

 .noticia-meta-icons .nectar-social-inner .nectar-sharing i {
    font-size: 16px;
    line-height: 1;
 }

 .noticia-meta-icons .nectar-social-inner .social-text {
    display: none;
 }

.noticia-icon-link {
    font-size: 18px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.noticia-icon-link:hover {
    color: #333;
}

.noticia-ficheiro-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.noticia-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #333;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

 .noticia-ficheiro-links {
    display: flex;
    gap: 10px;
    align-items: center;
 }

 .noticia-ficheiro-meta .noticia-download-btn {
    width: fit-content;
    padding: 10px;
    justify-content: center;
    min-width: 40px;
 }

 .noticia-ficheiro-meta .noticia-download-btn i {
    font-size: 18px;
    line-height: 1;
 }

.noticia-download-btn:hover {
    border-color: #999;
    background: rgba(153, 153, 153, 0.1);
    color: #333;
}

/* ConteÃºdo principal */
.noticia-content-main {
    color: #333;
}

.noticia-subtitulo {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 30px 0;
    line-height: 1.4;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.noticia-descricao {
    font-size: 18px;
    color: #333;
    margin: 0 0 40px 0;
    line-height: 1.8;
    padding: 0;
    background: transparent;
    border: none;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    opacity: 0.9;
}

/* Estilos para o conteÃºdo do WordPress */
.noticia-content-main > * {
    margin-bottom: 25px;
}

.noticia-content-main p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-weight: 300;
    margin-bottom: 25px;
    opacity: 0.9;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.noticia-content-main h2,
.noticia-content-main h3,
.noticia-content-main h4 {
    color: #333;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.noticia-content-main h2 {
    font-size: 32px;
}

.noticia-content-main h3 {
    font-size: 26px;
}

.noticia-content-main h4 {
    font-size: 22px;
}

.noticia-content-main ul,
.noticia-content-main ol {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    padding-left: 30px;
    opacity: 0.9;
}

.noticia-content-main li {
    margin-bottom: 12px;
}

.noticia-content-main a {
    color: #49B9C4;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.noticia-content-main a:hover {
    color: #49B9C4;
    border-bottom-color: #49B9C4;
}

.noticia-content-main img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 0;
}

.noticia-content-main blockquote {
    border-left: 4px solid #49B9C4;
    padding: 20px 30px;
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.05);
    font-style: italic;
    color: #333;
    font-size: 20px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Estilos para o shortcode de banner com notÃƒÂ­cias em destaque */
.ct-container-full:has(.banner-noticias-destaque) {
    padding: 0 !important;
}

.banner-noticias-destaque {
    width: 100%;
    border-radius: 85px;
    margin: 0;
    padding: 0;
    position: relative;
}

.banner-noticias-destaque * {
    box-sizing: border-box;
}

.banner-carousel-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    margin: 0;
    z-index: 0;
}

@media (max-width: 1024px) {
    .banner-carousel-container {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .banner-carousel-container {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .banner-carousel-container {
        height: 400px;
    }
}

.banner-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-carousel-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition-duration: 0ms;
    will-change: transform;
}

.banner-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.banner-noticia-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    z-index: 0;
}

.banner-noticia-link::before {
    z-index: 1;
}

.banner-noticia-link::after {
    z-index: 2;
}

.banner-noticia-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.banner-noticia-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(11, 74, 79, 0.65), rgba(11, 74, 79, 0));
    z-index: 2;
    pointer-events: none;
}

.banner-noticia-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

@media (max-width: 768px) {
    .banner-noticia-image {
        object-position: center;
    }
}

.banner-texto-overlay {
    position: absolute;
    left: 100px;
    bottom: 150px;
    z-index: 100;
    max-width: 1100px;
    color: #fff;
    font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    pointer-events: none;
}

/* Quando o banner-texto-overlay estÃ¡ dentro do banner-slide */
.banner-slide .banner-texto-overlay {
    position: absolute;
    left: 100px;
    bottom: 150px;
    z-index: 100;
    max-width: 1100px;
    color: #fff;
    font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    pointer-events: none;
}

/* Quando banner_texto Ã© usado separadamente, posiciona em relaÃ§Ã£o ao banner-noticias-destaque */
.banner-noticias-destaque > .banner-texto-overlay {
    position: absolute;
    left: 100px;
    bottom: 150px;
    z-index: 100;
    max-width: 1100px;
    pointer-events: none;
}

/* Links dentro do texto devem ser clicÃ¡veis */
.banner-texto-overlay a {
    pointer-events: auto;
}

.banner-titulo-principal {
    font-size: 72px;
    font-weight: 300;
    line-height: 1.3;
    margin: 0 0 0 0 !important;
    color: #fff;
    font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    word-break: keep-all;
    white-space: normal;
}

.banner-agrupamento {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
    margin: 30px 0;
    color: #fff;
    font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.banner-subtitulo {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    color: #fff;
    font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.banner-indicators {
    display: none !important;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.banner-indicator.active {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
}

.banner-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}


/* Responsivo - Tablets */
@media (max-width: 1024px) {
    .banner-texto-overlay,
    .banner-slide .banner-texto-overlay,
    .banner-noticias-destaque > .banner-texto-overlay {
        left: 60px;
        bottom: 120px;
        max-width: calc(100% - 120px);
    }
    
    .banner-titulo-principal {
        font-size: 56px;
    }
    
    .banner-agrupamento {
        font-size: 20px;
        margin: 25px 0;
    }
    
    .banner-subtitulo {
        font-size: 20px;
    }
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    .banner-carousel-container {
        height: 500px;
        width: 100%;
        margin: 0;
    }
    
    .banner-texto-overlay,
    .banner-slide .banner-texto-overlay,
    .banner-noticias-destaque > .banner-texto-overlay {
        left: 30px;
        bottom: 80px;
        max-width: calc(100% - 60px);
    }
    
    .banner-titulo-principal {
        font-size: 36px;
        font-weight: 300;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .banner-agrupamento {
        font-size: 16px;
        margin: 15px 0;
    }
    
    .banner-subtitulo {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .banner-indicators {
        left: 40px;
        bottom: 20px;
    }

}

/* Responsivo - Mobile pequeno */
@media (max-width: 480px) {
    .banner-carousel-container {
        height: 400px;
    }
    
    .banner-texto-overlay,
    .banner-slide .banner-texto-overlay,
    .banner-noticias-destaque > .banner-texto-overlay {
        left: 20px;
        bottom: 60px;
        max-width: calc(100% - 40px);
    }
    
    .banner-titulo-principal {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .banner-agrupamento {
        font-size: 14px;
        margin: 12px 0;
    }
    
    .banner-subtitulo {
        font-size: 13px;
        line-height: 1.4;
    }

}

/* Estilos para o shortcode de Ãºltimas notÃ­cias */
.ultimas-noticias-wrapper {
    margin: 50px 0 0 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0px 5%;
}

 .ultimas-noticias-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center !important;
    gap: 20px;
    margin-bottom: 18px;
 }

/* Telas muito grandes - acima de 2100px */
@media (min-width: 2101px) {
    .ultimas-noticias-wrapper {
        margin: 50px 0 0 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0px 6%;
    }
}

.ultimas-noticias-titulo {
    font-size: 32px;
    font-weight: 500;
    color: #111;
    margin: 0;
    padding: 0;
    position: static;
    display: block;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: transparent;
}

 .ultimas-noticias-ver-todas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    background-image: linear-gradient(to right, #000 0%, #000 100%);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-bottom: 2px;
 }

 .noticias-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    position: relative;
 }

 .noticias-arrow svg {
    display: block;
 }

 .noticias-arrow svg + svg {
    position: absolute;
    inset: 0;
    pointer-events: none;
 }

 .noticias-arrow svg + svg .line,
 .noticias-arrow svg + svg .arrow {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    transition: stroke-dashoffset 260ms ease;
 }

 .ultimas-noticias-ver-todas:hover .noticias-arrow svg + svg .line,
 .ultimas-noticias-ver-todas:hover .noticias-arrow svg + svg .arrow,
 .noticia-card-link:hover .noticias-arrow svg + svg .line,
 .noticia-card-link:hover .noticias-arrow svg + svg .arrow {
    stroke-dashoffset: 0;
 }

 .ultimas-noticias-ver-todas:hover {
    color: #333;
    animation: underlineAppearLink 0.8s ease forwards;
 }

@keyframes underlineAppearLink {
    0% {
        background-size: 0% 2px;
    }
    100% {
        background-size: 100% 2px;
    }
}

.ultimas-noticias-ver-todas:not(:hover) {
    animation: underlineDisappearLink 0.6s ease forwards;
}

@keyframes underlineDisappearLink {
    0% {
        background-size: 100% 2px;
    }
    100% {
        background-size: 0% 2px;
    }
}

.ultimas-noticias-lista {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 0 10px 0;
    margin: 0;
    justify-content: space-between;
}

 .ultimas-noticias-lista::-webkit-scrollbar {
    height: 8px;
 }

 .ultimas-noticias-lista::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
 }

.noticia-item {
    position: relative;
    width: 450px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.25s ease;
}

.noticia-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    color: #111;
}

 .noticia-card-media {
    width: 100%;
    aspect-ratio: 20 / 10;
    border-radius: 24px;
    overflow: hidden;
 }

 .noticia-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
 }

 .noticia-card-link:hover .noticia-card-media img {
    transform: scale(1.05);
 }

 .noticia-card-body {
    padding: 18px 0 0 0;
    flex-direction: column;
    justify-content: space-between;
 }

.noticia-card-data {
    font-size: 14px;
    color: #111;
    font-weight: 400;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin-top: 12px;
}

.noticia-card-titulo {
    font-size: 18px;
    font-weight: 500;
    color: #111;
    margin: 0;
    line-height: 1.4;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    display: inline;
    background-image: linear-gradient(to right, #000 0%, #000 100%);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-bottom: 2px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
 }

.noticia-card-link:hover .noticia-card-titulo {
    animation: underlineAppear 0.8s ease forwards;
}

.noticia-card-link:not(:hover) .noticia-card-titulo {
    animation: underlineDisappear 0.6s ease forwards;
}

@keyframes underlineAppear {
    0% {
        background-size: 0% 2px;
    }
    100% {
        background-size: 100% 2px;
    }
}

@keyframes underlineDisappear {
    0% {
        background-size: 100% 2px;
    }
    100% {
        background-size: 0% 2px;
    }
}

.noticia-card-link-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    transition: color 0.3s ease;
 }

.noticia-card-link:hover .noticia-card-link-text {
    color: #333;
}

@media (max-width: 768px) {
    .noticia-item {
        flex: 0 0 70vw;
        width: 71vw;
    }
 }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsivo - Desktop grande */
@media (min-width: 1201px) {
    .ultimas-noticias-lista {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .ultimas-noticias-wrapper {
        margin: 60px 0 !important;
    }

    .noticia-card-content {
        padding: 30px;
    }

    .noticia-card-titulo {
        font-size: 24px;
    }
}

/* Responsivo - Desktop mÃ©dio */
@media (max-width: 1200px) and (min-width: 769px) {
    .ultimas-noticias-lista {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .noticia-card-content {
        padding: 25px;
    }

    .noticia-card-titulo {
        font-size: 20px;
    }
}

/* Responsivo - Tablet */
@media (max-width: 768px) {
    .ultimas-noticias-titulo {
        font-size: 16px;
        margin-bottom: 0 !important;
        padding: 8px 40px 8px 0px;
    }

    .ultimas-noticias-titulo::after {
        right: -8px;
        width: 4px;
        height: 40px;
    }

    .ultimas-noticias-lista {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ultimas-noticias-wrapper {
        margin: 40px 0;
        padding: 0 2%;
    }

    .noticia-conteudo {
        padding: 20px;
    }

    .noticia-titulo-item {
        font-size: 18px;
    }

    .noticia-excerpt {
        font-size: 14px;
    }
}

/* Responsivo - Mobile */
@media (max-width: 480px) {
    .ultimas-noticias-titulo {
        font-size: 18px;
    }

    .ultimas-noticias-titulo::after {
        right: -6px;
        width: 3px;
        height: 37px;
    }

    .ultimas-noticias-lista {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ultimas-noticias-wrapper {
        margin: 30px 0;
        padding: 0 4%;
    }

    .noticia-conteudo {
        padding: 18px;
    }

    .noticia-titulo-item {
        font-size: 16px;
    }

    .noticia-excerpt {
        font-size: 13px;
    }
}

/* Responsivo - PÃ¡gina da notÃ­cia */
@media (max-width: 1024px) {
    .noticia-content-layout {
        grid-template-columns: 240px 1fr;
        gap: 60px;
    }
    
    .type-noticia .entry-content.is-layout-constrained {
        padding: 50px 30px;
    }
    
    .noticia-titulo {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .type-noticia .entry-content.is-layout-constrained {
        padding: 40px 20px;
    }

    .noticia-titulo {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .noticia-imagem-destaque {
        padding-bottom: 35px;
    }

    .noticia-content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 35px;
    }

    .noticia-meta-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        padding-bottom: 30px;
        border-bottom: 1px solid #e5e5e5;
    }

    .noticia-author {
        flex: 0 0 100%;
    }

    .noticia-author-avatar img {
        width: 50px;
        height: 50px;
    }

    .noticia-author-name {
        font-size: 15px;
    }

    .noticia-author-role {
        font-size: 13px;
    }

    .noticia-meta-item {
        flex: 0 0 auto;
    }

    .noticia-ficheiro-meta {
        flex: 0 0 100%;
        margin-top: 0;
    }

    .noticia-meta-icons {
        flex: 0 0 100%;
        margin-top: 0;
    }

    .noticia-subtitulo {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .noticia-descricao {
        font-size: 17px;
        margin-bottom: 35px;
    }

    .noticia-content-main p {
        font-size: 17px;
    }

    .noticia-content-main h2 {
        font-size: 28px;
    }

    .noticia-content-main h3 {
        font-size: 24px;
    }

    .noticia-content-main h4 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .type-noticia .entry-content.is-layout-constrained {
        padding: 30px 15px;
    }

    .noticia-titulo {
        font-size: 28px;
        margin-bottom: 30px;
        line-height: 1.2;
    }

    .noticia-imagem-destaque {
        margin-bottom: 40px;
    }

    .noticia-meta-sidebar {
        flex-direction: column;
        gap: 20px;
    }

    .noticia-author-avatar img {
        width: 45px;
        height: 45px;
    }

    .noticia-author-name {
        font-size: 14px;
    }

    .noticia-author-role {
        font-size: 12px;
    }

    .noticia-reading-time {
        font-size: 13px;
    }

    .noticia-category-badge {
        font-size: 12px;
        padding: 3px 10px;
    }

    .noticia-date {
        font-size: 13px;
    }

    .noticia-download-btn {
        font-size: 13px;
        padding: 8px 16px;
    }

    .noticia-subtitulo {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .noticia-descricao {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .noticia-content-main p {
        font-size: 16px;
    }

    .noticia-content-main h2 {
        font-size: 24px;
        margin-top: 30px;
    }

    .noticia-content-main h3 {
        font-size: 22px;
    }

    .noticia-content-main h4 {
        font-size: 19px;
    }

    .noticia-content-main ul,
    .noticia-content-main ol {
        font-size: 16px;
        padding-left: 25px;
    }

    .noticia-content-main blockquote {
        padding: 18px 25px;
        font-size: 18px;
    }
}

/* Estilos para listagem de todas as notícias */
.todas-noticias-wrapper {
    margin: 50px 0 0 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0px 5%;
}

.todas-noticias-titulo {
    font-size: 48px;
    font-weight: 600;
    color: #333;
    margin: 0 0 80px 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
}

.todas-noticias-titulo em {
    position: relative;
    display: inline-block;
}

.todas-noticias-titulo .nectar-scribble {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    overflow: visible;
}

.todas-noticias-titulo .nectar-scribble path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: nectarScribbleDraw 1.8s ease-out forwards;
}

@keyframes nectarScribbleDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.todas-noticias-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.todas-noticias-lista .noticia-item {
    flex: 0 0 calc(33.333% - 17.33px);
    min-width: 280px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.todas-noticias-lista .noticia-item:nth-child(1) { animation-delay: 0.1s; }
.todas-noticias-lista .noticia-item:nth-child(2) { animation-delay: 0.2s; }
.todas-noticias-lista .noticia-item:nth-child(3) { animation-delay: 0.3s; }
.todas-noticias-lista .noticia-item:nth-child(4) { animation-delay: 0.1s; }
.todas-noticias-lista .noticia-item:nth-child(5) { animation-delay: 0.2s; }
.todas-noticias-lista .noticia-item:nth-child(6) { animation-delay: 0.3s; }
.todas-noticias-lista .noticia-item:nth-child(7) { animation-delay: 0.1s; }
.todas-noticias-lista .noticia-item:nth-child(8) { animation-delay: 0.2s; }
.todas-noticias-lista .noticia-item:nth-child(9) { animation-delay: 0.3s; }
.todas-noticias-lista .noticia-item:nth-child(10) { animation-delay: 0.1s; }
.todas-noticias-lista .noticia-item:nth-child(11) { animation-delay: 0.2s; }
.todas-noticias-lista .noticia-item:nth-child(12) { animation-delay: 0.3s; }

.todas-noticias-lista .noticia-item.noticia-item-new {
    opacity: 0;
    transform: translateY(20px);
}

.todas-noticias-lista .noticia-item:not(.noticia-item-new) {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .todas-noticias-lista .noticia-item {
        flex: 0 0 calc(50% - 13px);
    }
}

@media (max-width: 768px) {
    .todas-noticias-lista .noticia-item {
        flex: 0 0 100%;
    }
}

.todas-noticias-load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}

.todas-noticias-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 12px 20px;
    color: #333;
    border: 1px solid #707070;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.todas-noticias-load-more-btn:hover:not(:disabled) {
    background: #333;
    border-color: #333;
    color: #fff;
}

.todas-noticias-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .todas-noticias-titulo {
        font-size: 36px;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .todas-noticias-wrapper {
        padding: 0 2%;
    }
    
    .todas-noticias-titulo {
        font-size: 28px;
        margin-bottom: 50px;
    }
    
    .todas-noticias-load-more-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}