.post-box {
    --legal-navy: rgb(9, 23, 43);
    --legal-text: #3b4350;
    --legal-muted: #6b7280;
    --legal-soft: rgb(242, 242, 242);
    --legal-line: #e3e5e8;
    --legal-indent: 50px;

    max-width: 880px;
    margin: 0 auto;
    padding: 60px 24px 90px;
    box-sizing: border-box;
    color: var(--legal-text);
    font-size: 16px;
    line-height: 1.7;
    counter-reset: legal-section;
}

.post-box * {
    font-family: 'Inter';
}

/* TITLE */

.post-box > h1 {
    position: relative;
    margin: 0 0 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--legal-line);
    color: var(--legal-navy);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.post-box > h1::before {
    content: 'Información legal';
    display: block;
    margin-bottom: 14px;
    color: var(--legal-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.post-box > h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: var(--legal-navy);
}

/* CONTENT INDENT (aligned with section titles) */

.post-box > *:not(h1):not(h2) {
    margin-left: var(--legal-indent);
}

.post-box > h1 + p {
    margin: 0 0 8px;
    color: var(--legal-navy);
    font-size: 1.1rem;
    line-height: 1.65;
}

/* SECTIONS */

.post-box h2 {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 52px 0 16px;
    color: var(--legal-navy);
    font-size: 1.3rem;
    font-weight: 650;
    line-height: 1.35;
    counter-increment: legal-section;
    scroll-margin-top: 20vh;
}

.post-box h2::before {
    content: counter(legal-section, decimal-leading-zero);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--legal-navy);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
}

.post-box h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    color: var(--legal-navy);
    font-size: 1.05rem;
    font-weight: 600;
}

.post-box p {
    margin-top: 0;
    margin-bottom: 16px;
}

/* LISTS */

.post-box ul,
.post-box ol {
    margin-top: 0;
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
}

.post-box li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 24px;
}

.post-box ul > li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.85em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--legal-navy);
    transform: translateY(-50%) rotate(45deg);
}

.post-box ol {
    counter-reset: legal-step;
}

.post-box ol > li {
    padding-left: 42px;
    margin-bottom: 14px;
    counter-increment: legal-step;
}

.post-box ol > li::before {
    content: counter(legal-step);
    position: absolute;
    left: 0;
    top: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    box-sizing: border-box;
    border: 1.5px solid var(--legal-navy);
    border-radius: 50%;
    color: var(--legal-navy);
    font-size: 0.8rem;
    font-weight: 600;
}

/* INLINE */

.post-box strong,
.post-box b {
    color: var(--legal-navy);
    font-weight: 600;
}

.post-box a {
    color: var(--legal-navy);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(9, 23, 43, 0.3);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
    overflow-wrap: anywhere;
}

.post-box a:hover {
    text-decoration-color: var(--legal-navy);
}

/* LAST UPDATED */

.post-box > p:last-child:has(> em:only-child) {
    display: inline-block;
    margin-top: 48px;
    margin-bottom: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--legal-soft);
    color: var(--legal-muted);
    font-size: 0.85rem;
}

.post-box > p:last-child > em:only-child {
    font-style: normal;
}

@media (max-width: 700px) {
    .post-box {
        --legal-indent: 0px;
        padding: 40px 16px 60px;
        font-size: 15px;
    }

    .post-box h2 {
        gap: 12px;
        margin-top: 40px;
        font-size: 1.15rem;
    }

    .post-box h2::before {
        width: 30px;
        height: 30px;
        margin-top: -2px;
        font-size: 0.72rem;
    }
}
