/* ===========================
   HERO DO ARTIGO
   =========================== */
.post-hero {

    padding: 80px 20px 50px;
    background: #f8fafc;
    text-align: center;

}

.post-title {

    max-width: 900px;
    margin: 20px auto;

    font-size: 52px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;

}

.post-meta {

    color: #64748b;
    font-size: 15px;

}

.post-badge {

    display: inline-block;
    background: var(--slt-yellow);
    color: #e0f2fe;

    padding: 38px 48px 18px;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

}

/* ===========================
   IMAGEM DE CAPA
   =========================== */
.post-cover img {
    width: 100%;
    border-radius: 12px;
    margin: 20px 0 20px;
    object-fit: contain;
    align-self: right;
}

/* ===========================
   CONTEÚDO DO ARTIGO
   =========================== */
.post-content {
    padding: 10px 0 10px;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.post-content .container {

    max-width: 1000px;
    margin: auto;

}

/* BLOCO INICIAL — APENAS PARA COMPUTADOR */
.intro-block {
    display: flex;
    align-items: flex-start; /* texto bate no topo da imagem */
    gap: 40px;
    margin: 40px 0;
}

.intro-text {
    flex: 1; /* ocupa o espaço restante */
    font-size: 20px;
    line-height: 1.9;
    color: #374151;
    text-align: justify;
}

.intro-block img {
    flex-shrink: 0;
    width: 480px;        /* tamanho fixo para ecrãs grandes */
    max-width: 480px;
    height: auto;
    object-fit: contain; /* nunca corta */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}


.post-content p {
    margin-bottom: 20px;
}

.post-content h2,
.post-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #111;
}

/* ===========================
   POSTS RECENTES
   =========================== */
.recent-posts {
    padding: 60px 0;
    background: #fafafa;
}

.recent-posts h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #111;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.recent-card {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.recent-card:hover {
    transform: translateY(-4px);
}

.recent-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recent-info {
    padding: 15px;
}

.recent-info span {
    font-size: 14px;
    color: #777;
}

.recent-info h4 {
    font-size: 18px;
    margin: 8px 0 12px;
    color: #111;
}

.btn-read-small {
    display: inline-block;
    padding: 8px 18px;
    background: #111;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-read-small:hover {
    background: #333;
}

/* Restante conteúdo normal */
.post-content .full-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.post-content .full-content p {
    text-align:justify !important;
    margin-bottom: 20px;
    color: #333;
}

/* ===========================
   BLOCO INICIAL (imagem + texto)
   =========================== */

/* ===========================
   RESTO DO CONTEÚDO
   =========================== */
.full-content {

    max-width: 1200px;
    margin: auto;

    font-size: 19px;
    line-height: 2;

    color: #374151;

}

.full-content h2 {

    margin-top: 60px;
    margin-bottom: 25px;

    font-size: 36px;
    color: var(--slt-yellow);
    text-align: center;

}

.full-content h3 {

    margin-top: 40px;
    margin-bottom: 20px;

}

.full-content p {
text-align:justify !important;
    margin-bottom: 25px;

}


.full-content p {
    text-align:justify !important;
    margin-bottom: 20px;
}

/* Outras imagens dentro do conteúdo */
.full-content img {
    width: 100%;
    border-radius: 12px;
    margin: 30px 0;
    object-fit: cover;
}

/* ===========================
   FOOTER DO ARTIGO
   =========================== */
.post-footer {
    display:flex;
    flex-direction:column;

    margin-top: 80px;
    padding-top: 40px;

    border-top: 1px solid #e5e7eb;

    display: flex;
    justify-content: space-between;
    align-items: center;

    flex-wrap: wrap;

}

.share {
    margin-top:-40px;
    display: flex;
    gap: 15px;
    align-items: center;

}

.share a {
    text-decoration: none;
    color: rgb(252,143,48);
    font-weight: 600;

}

.btn-back{
    background-color: rgb(252,143,48);
        margin:0;
        display:inline-block;
    border-radius: 20px;
    padding: 20px 66px;
    margin-right:-640px;
    top:0;
    position: relative;
    }

.back-link {
    font-weight: 600;
    color: #FFF;
    background-color: rgb(252,143,48);
    border-radius: 20px;
    padding: 20px 30px;
    text-align:right;

}

.back-link:hover {
    text-decoration: underline;
}

.extra-images {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.extra-images img {
    width: 100%;
    border-radius: 8px;
}

/* Imagens dentro do conteúdo */
.post-content img,
.full-content img,
.extra-img {
    width: 50%;
    max-width: 100%;
    border-radius: 12px;
    margin: 10px 0;
    object-fit: cover;
    display: block;
    overflow: hidden;
}

.full-content img,
.extra-img {
    width: 100%;
    max-width: 200px;
    gap:10px;
    border-radius: 12px;
    margin: 10px 0;
}

.full-img {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 colunas */
    gap: 20px; /* espaço entre imagens */
    max-width: 1200px; /* permite 3 colunas reais */
    margin-left: auto;
    margin-right: auto;
}


.img2 {

    width: 100%;
    border-radius: 20px;

    margin: 25px 0;

    box-shadow:
    0 10px 35px rgba(0,0,0,.08);

}

.comments-section {

    padding: 10px 0;
    background: #f8fafc;

}

.comments-section .container {

    max-width: 850px;
    margin: auto;

}

.comments-section h2 {

    font-size: 38px;
    margin-bottom: 40px;
    text-align: center;

}

#commentForm {

    background: white;

    padding: 35px;

    border-radius: 20px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.06);

}

#commentForm input,
#commentForm textarea {

    width: 100%;

    padding: 16px;

    border: 1px solid #d1d5db;

    border-radius: 12px;

    margin-bottom: 15px;

}

#commentForm textarea {

    min-height: 180px;

}

#commentForm button {

    background: var(--slt-yellow);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

.comment-item {

    background: white;

    margin-top: 25px;

    padding: 25px;

    border-radius: 18px;

    box-shadow:
    0 6px 20px rgba(0,0,0,.05);

}

.comment-header {

    display: flex;
    justify-content: space-between;

    margin-bottom: 15px;

}

.comment-author {

    font-weight: 700;

}

.comment-date {

    color: #64748b;
    font-size: 14px;

}

@media (max-width: 768px){

    .intro-block {
        display: flex;
        flex-direction: column; /* TEXTO EM CIMA, IMAGEM EMBAIXO */
        gap: 20px;
        margin: 20px 0;
    }

    .intro-text {
        width: 100%;
        font-size: 18px;
        line-height: 1.7;
        text-align: justify;
    }

    .intro-block img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain; /* nunca corta */
        border-radius: 12px;
    }

    .post-title{

        font-size: 34px;

    }

    .post-footer{

        flex-direction: column;
        gap: 20px;

    }
    
    .post-footer .btn-back{
        color: rgb(252,143,48);
        margin-right:10px;
        margin-bottom:50px;
        position:relative;

    }
    
    .btn-back .back-link{
        color:#FFF;

    }

    .full-content img,
.extra-img {
    width: 110px;
}
.recent-posts {
    margin-bottom:-30px;
}

.full-content img {
    margin-bottom: -50px;
}

.share a {

    font-size:15px;
    font-weight: 600;

}

}

@media (max-width: 700px){
    
    .post-footer .btn-back{
        font-size:13px;
        margin-right:0 !important;

    }
    
    .recent-posts{
        margin-bottom:-10px;

    }
    
}

.video-container {
    width: 100%;
    max-width: 800px; /* controla o tamanho final */
    margin: 20px auto;
}

.video-container video {
    width: 100%;
    height: 450px; /* força todos a terem a mesma altura */
    object-fit: cover; /* corta para manter proporção */
    border-radius: 10px;
}

.post-footer .btn-back{
        color: rgb(252,143,48);

    }
    
    .btn-back .back-link{
        color:#FFF;

    }

@media (max-width: 320px){
    
    .post-footer .btn-back{
        font-size:10px;
    }
    
    .recent-posts{
        margin-bottom:-10px;

    }
    
}