/* Guías y blog de la plataforma: reutilizan el hero y la tarjeta de las
   páginas legales y suman tipografía de lectura. */

.lh-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
}

.lh-breadcrumbs a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.lh-breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.lh-breadcrumbs i {
    font-size: 0.7rem;
}

.lh-breadcrumbs span[aria-current] {
    overflow: hidden;
    max-width: 46ch;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-platform-content .lh-legal-updated {
    gap: 6px;
}

.page-platform-content .lh-legal-hero .lh-hero-actions {
    margin-top: 8px;
}

.lh-article {
    gap: 0;
    color: #334155;
    font-size: 1.04rem;
    line-height: 1.8;
}

.lh-article > :first-child,
.lh-article__section:first-child > h2 {
    margin-top: 0;
}

.lh-article__section + .lh-article__section {
    margin-top: 12px;
}

.lh-article h2 {
    margin: 38px 0 12px;
    color: var(--lh-heading);
    font-size: clamp(1.32rem, 2.6vw, 1.62rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.lh-article h3 {
    margin: 26px 0 8px;
    color: var(--lh-heading);
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.3;
}

.lh-article p {
    margin: 0 0 16px;
}

.lh-article ul,
.lh-article ol {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding-left: 22px;
}

.lh-article li::marker {
    color: var(--lh-heading);
    font-weight: 700;
}

.lh-article a {
    color: var(--lh-ink);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--lh-blue);
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}

.lh-article strong {
    color: var(--lh-heading);
}

.lh-article code {
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.06);
    font-size: 0.9em;
}

.lh-article blockquote,
.lh-article .lh-tip {
    margin: 4px 0 20px;
    padding: 16px 20px;
    border-left: 4px solid var(--lh-blue);
    border-radius: 0 14px 14px 0;
    background: #fffbe0;
    color: #3f3a14;
}

.lh-article blockquote p:last-child,
.lh-article .lh-tip p:last-child {
    margin-bottom: 0;
}

.lh-article table {
    width: 100%;
    margin: 0 0 20px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.lh-article th,
.lh-article td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(209, 216, 229, 0.8);
    text-align: left;
    vertical-align: top;
}

.lh-article th {
    color: var(--lh-heading);
    font-weight: 700;
}

.lh-article__faq .lh-faq__list {
    margin-top: 8px;
}

.lh-article__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding: 22px 24px;
    border-radius: 20px;
    background: #0f0f0f;
    color: #fff;
}

.lh-article__cta strong {
    display: block;
    color: #fff;
    font-size: 1.08rem;
}

.lh-article__cta p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.5;
}

.lh-content-related {
    max-width: 920px;
    margin-top: 48px;
}

.lh-content-related h2 {
    margin: 0 0 16px;
    color: var(--lh-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lh-content-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.lh-content-link {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid rgba(209, 216, 229, 0.8);
    border-radius: 18px;
    background: #fff;
    color: var(--lh-heading);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.lh-content-link:hover {
    border-color: var(--lh-heading);
    transform: translateY(-2px);
}

.lh-content-link__kicker {
    color: var(--lh-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lh-content-link strong {
    font-size: 1rem;
    line-height: 1.35;
}

.lh-blog-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 920px;
    margin-top: -64px;
}

.lh-blog-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 26px;
    border: 1px solid rgba(209, 216, 229, 0.72);
    border-radius: var(--lh-radius);
    background: #fff;
    box-shadow: var(--lh-card-shadow);
}

.lh-blog-card--featured {
    grid-column: 1 / -1;
    padding: clamp(26px, 4vw, 40px);
}

.lh-blog-card--featured h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.lh-blog-card__meta {
    color: var(--lh-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lh-blog-card h2 {
    margin: 0;
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.025em;
}

.lh-blog-card h2 a {
    color: var(--lh-heading);
    text-decoration: none;
}

.lh-blog-card h2 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.lh-blog-card {
    position: relative;
    transition: transform 0.2s ease;
}

.lh-blog-card:hover {
    transform: translateY(-2px);
}

.lh-blog-card p {
    margin: 0;
    color: var(--lh-text);
    line-height: 1.6;
}

.lh-blog-card time {
    color: var(--lh-muted);
    font-size: 0.86rem;
}

.lh-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    color: var(--lh-muted);
}

.lh-download__grid--single {
    grid-template-columns: 1fr;
    text-align: center;
}

.lh-download__grid--single > div:first-child {
    justify-self: center;
    max-width: 640px;
}

@media (max-width: 767px) {
    .lh-blog-list {
        grid-template-columns: 1fr;
        margin-top: -56px;
    }

    .lh-article {
        font-size: 1rem;
    }

    .lh-article h2 {
        margin-top: 30px;
    }

    .lh-article__cta {
        padding: 20px;
    }

    .lh-article__cta .lh-button {
        width: 100%;
        justify-content: center;
    }

    .lh-breadcrumbs span[aria-current] {
        max-width: 24ch;
    }

    .lh-content-related {
        margin-top: 36px;
    }
}
