:root {
    --primary: #2563eb;
    --dark: #111827;
    --text: #374151;
    --muted: #6b7280;
    --bg: #f0f0f0;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
    line-height: 1.65;
}

.page-artigo {
    padding: 30px 0 70px;
}

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}

.breadcrumb-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--muted);
}

.breadcrumb-custom a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb-custom a:hover {
    color: var(--primary);
}

/* título */
.titulo-artigo {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 30px;
    max-width: 900px;
}

/* layout principal */
.layout-artigo {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 12px;
    align-items: start;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-padding-perfil {
    padding: 6px;
}

.card-padding {
    padding: 18px;
}

.card-profissional ul {
    padding-left: 30px;
}

.banner-artigo img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.banner-especial {
    min-height: 320px;
    border-radius: 14px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
}

.texto-artigo {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.9;
}

.texto-artigo h2,
.texto-artigo h3 {
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--dark);
    font-weight: 700;
}

.texto-artigo p {
    margin-bottom: 18px;
}

.texto-artigo ul {
    padding-left: 12px;
}

aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}

.texto-profissional {
    font-size: 15px;
    line-height: 1.8;
}

.secao-extra {
    margin-top: 14px;
}

.secao-titulo {
    font-size: 30px;
    color: var(--dark);
}

.secao-titulo {
    line-height: 4rem;
}

.relacionados-swiper {
    padding: 10px 4px 40px;
    overflow: hidden;
}

.relacionados-swiper .swiper-slide {
    width: 300px !important;
    height: 500px !important;
    display: flex;
}

.card-relacionado {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: .25s ease;
}

.card-relacionado:hover {
    transform: translateY(-5px);
}

.thumb-relacionado,
.banner-thumb {
    height: 190px;
    flex-shrink: 0;
}

.thumb-relacionado img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

.conteudo-relacionado {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 230px;
}

.categoria-relacionado {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 10px;
}

.conteudo-relacionado h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--dark);
}

.conteudo-relacionado p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    flex: 1;
}

.link-relacionado {
    color: var(--bg);
    background: var(--dark);
    padding: 10px 10px;
    border-radius: 20px;
    width: 180px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #000;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

.swiper-wrapper {
    height: 520px;
}

.selo-profissional {
    display: flex;
    justify-content: center;
}

.meta-artigo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.meta-data {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--muted);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    white-space: nowrap;
}

.titulo-profissional {
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: bold;
}

@media (max-width: 991px) {
    .layout-artigo {
        grid-template-columns: 1fr;
    }

    aside {
        position: static;
    }

    .titulo-artigo {
        font-size: 30px;
    }

    .banner-especial {
        min-height: 220px;
        font-size: 24px;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .relacionados-swiper .swiper-slide {
        width: 260px !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .relacionados-swiper .swiper-slide {
        display: flex;
        height: 550px !important;

    }

    .swiper-wrapper {
        height: 520px;
    }

    .secao-titulo {
        line-height: 2rem;
        font-size: 22px;
    }
}