/* ============================================================
   Blog Duekal — Single Post Styles
   ============================================================ */

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

/* ── HERO ──────────────────────────────────────────────────── */
.bds-hero {
    position: relative;
    z-index: 0;                  /* não sobrepõe o menu ao rolar */
    min-height: 420px;
    background-color: #1a0a35;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bds-hero__overlay {
    display: none;
}

/* Inner: esquerda vazia / direita com badge + título */
.bds-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 48px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

/* Lado esquerdo: apenas ocupa espaço */
.bds-hero__left {
    flex: 1;
}

/* Lado direito: badge + título empilhados, alinhados à direita */
.bds-hero__right {
    flex-shrink: 0;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    text-align: right;
}

.bds-hero__badge {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.bds-hero__title {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(22px, 3vw, 42px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
    text-align: right;
}

/* ── GOLDEN DIVIDER ────────────────────────────────────────── */
.bds-divider {
    width: 100%;
    line-height: 0;
    background: #fff;
}

.bds-divider img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── INTRO + CONTENT WRAPPER ───────────────────────────────── */
.bds-intro {
    background: #ffffff;
    padding: 48px 0 72px;
}

.bds-intro__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: flex-start;
    gap: 64px;
}

/* ── Left column ─────────────────────────────────────────── */
.bds-intro__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bds-intro__cat {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #4B206D;
}

.bds-intro__excerpt {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #3d3050;
}

.bds-intro__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0e8f8;
}

.bds-intro__date {
    font-size: 13px;
    color: #a09abc;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.bds-intro__cat-link {
    font-size: 12px;
    font-weight: 600;
    color: #4B206D;
    text-decoration: none;
    background: #f3edf9;
    padding: 3px 12px;
    border-radius: 999px;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    transition: background 0.15s, color 0.15s;
}

.bds-intro__cat-link:hover {
    background: #4B206D;
    color: #fff;
}

/* ── Right column: circular featured image ───────────────── */
.bds-intro__img-wrap {
    flex-shrink: 0;
    width: 280px;
    position: sticky;
    top: 100px;
}

.bds-intro__img-circle {
    width: 280px;
    height: 330px;
    border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(75, 32, 109, .20);
}

.bds-intro__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ── Article content (inside .bds-intro__body) ──────────── */
.bds-article__content {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: #2d2040;
}

.bds-article__content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #4B206D;
    margin: 36px 0 14px;
}

.bds-article__content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #4B206D;
    margin: 28px 0 10px;
}

.bds-article__content p {
    margin: 0 0 18px;
}

.bds-article__content ul,
.bds-article__content ol {
    padding-left: 22px;
    margin: 0 0 18px;
}

.bds-article__content li {
    margin-bottom: 8px;
}

.bds-article__content a {
    color: #4B206D;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bds-article__content a:hover {
    color: #7e3fb5;
}

/* Blockquote */
.bds-article__content blockquote {
    position: relative;
    margin: 32px 0;
    padding: 28px 32px 28px 44px;
    background: #f8f4fc;
    border-left: none;
    border-radius: 12px;
    font-style: italic;
    font-size: 16px;
    color: #3d2060;
    line-height: 1.7;
}

.bds-article__content blockquote::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 64px;
    line-height: 1;
    color: #4B206D;
    opacity: .2;
    font-family: Georgia, serif;
    font-style: normal;
}

/* Images */
.bds-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    display: block;
}

.bds-article__content figure {
    margin: 20px 0;
}

.bds-article__content figcaption {
    font-size: 12px;
    color: #9b8ab0;
    text-align: center;
    margin-top: 6px;
}

/* Callout box */
.bds-article__content .bds-callout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #4B206D;
    color: #fff;
    border-radius: 16px;
    padding: 26px 28px;
    margin: 32px 0;
}

.bds-article__content .bds-callout__icon {
    width: 52px;
    height: 52px;
    background: #c9a96e;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.bds-article__content .bds-callout__body h3 {
    color: #c9a96e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.bds-article__content .bds-callout__body p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,.9);
    margin: 0;
}

/* References */
.bds-article__content .bds-references {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid #e8dcf4;
    font-size: 12px;
    color: #9b8ab0;
    line-height: 1.7;
}

.bds-article__content .bds-references strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #5a4e72;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ── Tags ──────────────────────────────────────────────────── */
.bds-article__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid #f0e8f8;
    margin-top: 8px;
}

.bds-article__tags-label {
    font-size: 13px;
    font-weight: 600;
    color: #5a4e72;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.bds-article__tag {
    font-size: 12px;
    font-weight: 600;
    color: #4B206D;
    background: #f3edf9;
    padding: 4px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    transition: background 0.15s, color 0.15s;
}

.bds-article__tag:hover {
    background: #4B206D;
    color: #fff;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
    .bds-hero__inner {
        padding: 36px 24px;
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
    }

    .bds-hero__right {
        align-items: flex-start;
    }

    .bds-intro__inner {
        flex-direction: column;
        padding: 0 24px;
        gap: 32px;
    }

    .bds-intro__img-wrap {
        width: 100%;
        position: static;
        display: flex;
        justify-content: center;
    }

    .bds-intro__img-circle {
        width: 220px;
        height: 260px;
    }
}

@media (max-width: 560px) {
    .bds-hero {
        min-height: 300px;
    }

    .bds-intro {
        padding: 32px 0 48px;
    }

    .bds-article__content {
        font-size: 14px;
    }
}
