/* Estilo automático para o tipo de post: post */

/* ==========================================================================
   Leitura de notícia (single.php)
   Topo cinza e breadcrumb: style.css (.page-hero / .breadcrumb)
   "Você também pode gostar": style.css (.sec-posts / .post-card)
   ========================================================================== */

.post-article{
    padding-bottom: 0;

    *,
    *::before,
    *::after{
        box-sizing: border-box;
    }

    .container-narrow{
        padding-bottom: 32px;
        border-bottom: 1px solid #D4DEE8;
    }

    /* Categoria, data e compartilhamento */
    .post-meta{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 16px 24px;
        margin: 24px 0 36px;
    }

    .post-meta-info{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 24px;
    }

    .post-meta-category{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 200px;
        height: 40px;
        padding: 0 24px;
        border-radius: 30px;
        background-color: #EEF2CF;
        color: var(--Primary-Blue);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: background-color .3s ease;

        &:hover,
        &:focus-visible{
            background-color: var(--Primary-Green);
        }
    }

    .post-meta-date{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #565656;
        font-size: 14px;

        svg{
            width: 20px;
            height: 20px;
            color: var(--Primary-Blue);
        }
    }

    .post-share{
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .post-share-label{
        color: #333;
        font-size: 14px;
    }

    .post-share-list{
        display: flex;
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;

        a{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border: 1.5px solid var(--Primary-Blue);
            border-radius: 50%;
            color: var(--Primary-Blue);
            transition: background-color .3s ease, border-color .3s ease, color .3s ease;

            svg{
                width: 22px;
                height: 22px;
            }

            &:hover,
            &:focus-visible{
                border-color: var(--Primary-Green);
                background-color: var(--Primary-Green);
                color: #fff;
            }
        }
    }

    /* ---------- Mobile ---------- */
    @media (max-width: 767px){

        .post-meta{
            flex-direction: column;
            align-items: flex-start;
        }

        .post-meta-category{
            min-width: 0;
        }

        .post-share{
            flex-wrap: wrap;
            gap: 12px;
        }

    }
}
