.legal-blog {
    overflow-x: clip;
    background: var(--progreso-white);
    color: var(--progreso-ink);
}

.legal-blog :where(p, li) {
    font-family: var(--progreso-body-font);
    font-size: var(--progreso-body-size);
    font-weight: var(--progreso-body-weight);
    line-height: var(--progreso-body-leading);
}

.blog-container { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.blog-kicker { display: block; color: var(--progreso-gold-bright); font-size: 13px; font-weight: 700; line-height: 1.1; letter-spacing: .22em; text-transform: uppercase; }
.blog-kicker--dark { color: var(--progreso-bronze); }

.blog-hero {
    position: relative;
    min-height: 700px;
    margin-bottom: calc(0px - var(--progreso-v-depth));
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    clip-path: polygon(0 0,100% 0,100% calc(100% - var(--progreso-v-depth)),50% 100%,0 calc(100% - var(--progreso-v-depth)));
    background: var(--progreso-ink) url('/assets/images/hero/biblioteca-juridica-progreso-v2.jpg') center / cover no-repeat;
}
.blog-hero::after { content: ''; position: absolute; inset: auto 0 0; z-index: 4; height: var(--progreso-v-depth); background: var(--progreso-gold); clip-path: polygon(0 0,50% 100%,100% 0,50% calc(100% - var(--progreso-v-line))); pointer-events: none; }
.blog-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(8,13,23,.98) 0%,rgba(8,13,23,.92) 48%,rgba(8,13,23,.38) 75%,rgba(8,13,23,.18) 100%); }
.blog-hero__content { padding-block: 130px 150px; }
.blog-hero__content > * { max-width: 780px; }
.blog-hero h1,.blog-heading h2,.blog-featured h2,.blog-callout h2 { font-family: Georgia,"Times New Roman",serif; font-weight: 700; letter-spacing: -.035em; }
.blog-hero h1 { margin: 24px 0; color: var(--progreso-white); font-size: clamp(58px,7vw,108px); line-height: .94; }
.blog-hero p { margin: 0 0 34px; color: rgba(255,255,255,.86); font-size: 18px; }
.blog-rule { width: 112px; height: 5px; margin: 28px 0; border-radius: 99px; background: var(--progreso-gold); }
.blog-button { min-height: 52px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.blog-button--gold { background: var(--progreso-gold); color: var(--progreso-ink); }
.blog-button--gold:hover,.blog-button--gold:focus-visible { background: var(--progreso-gold-bright); }

.blog-section { --blog-divider: var(--progreso-white); position: relative; padding: 108px 0; }
.blog-section > .blog-container { position: relative; z-index: 3; }
.blog-section:not(.blog-section--last)::after,.blog-section:not(.blog-section--last)::before { content: ''; position: absolute; left: 0; width: 100%; clip-path: polygon(0 0,50% 100%,100% 0); pointer-events: none; }
.blog-section:not(.blog-section--last)::after { z-index: 4; bottom: calc(0px - var(--progreso-v-depth)); height: var(--progreso-v-depth); background: var(--progreso-gold); }
.blog-section:not(.blog-section--last)::before { z-index: 5; bottom: calc(var(--progreso-v-line) - var(--progreso-v-depth)); height: calc(var(--progreso-v-depth) - var(--progreso-v-line) + 2px); background: var(--blog-divider); }
.blog-section + .blog-section { padding-top: calc(108px + var(--progreso-v-depth)); }
.blog-section--white { --blog-divider: var(--progreso-white); background: var(--progreso-white); }
.blog-section--navy { --blog-divider: var(--progreso-ink); background: var(--progreso-ink); color: var(--progreso-white); }
.blog-heading { max-width: 880px; margin-bottom: 48px; }
.blog-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); gap: 70px; align-items: end; }
.blog-heading h2,.blog-featured h2,.blog-callout h2 { margin: 16px 0 20px; font-size: clamp(42px,5vw,76px); line-height: 1; }
.blog-heading p { margin: 0; max-width: 760px; }
.blog-heading--light p,.blog-section--navy p { color: rgba(255,255,255,.76); }

.blog-principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.blog-principles article { padding: 32px; border: 1px solid rgba(213,165,91,.52); border-radius: 22px; background: var(--progreso-warm-white); box-shadow: 0 18px 42px rgba(8,13,23,.08); }
.blog-principles span { color: var(--progreso-bronze); font-family: Georgia,"Times New Roman",serif; font-size: 34px; font-weight: 700; }
.blog-principles h3 { margin: 24px 0 12px; font-size: 22px; }
.blog-principles p { margin: 0; }

.blog-featured { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 70px; align-items: center; }
.blog-featured__image { overflow: hidden; border: 1px solid rgba(241,201,116,.42); border-radius: 26px; }
.blog-featured__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.blog-featured__content p { max-width: 620px; }
.blog-meta { margin: 26px 0; display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,.64); font-size: 13px; }
.blog-text-link { color: var(--progreso-gold-bright); font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.blog-text-link span { margin-left: 12px; }

.blog-search { max-width: 820px; margin: 0 0 24px; }
.blog-search label { display: block; margin-bottom: 10px; color: var(--progreso-ink); font-size: 14px; font-weight: 700; }
.blog-search__field { min-height: 58px; padding: 0 18px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(8,13,23,.24); border-radius: 12px; background: var(--progreso-white); color: var(--progreso-bronze); box-shadow: 0 12px 30px rgba(8,13,23,.06); }
.blog-search__field:focus-within { border-color: var(--progreso-gold); box-shadow: 0 0 0 3px rgba(213,165,91,.18); }
.blog-search__field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--progreso-ink); font: 400 16px/1.4 var(--progreso-body-font); }
.blog-search__field input::placeholder { color: rgba(8,13,23,.48); }
.blog-filters { margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.blog-filters button { min-height: 44px; padding: 0 20px; border: 1px solid rgba(8,13,23,.2); border-radius: 8px; background: var(--progreso-white); color: var(--progreso-ink); font: 600 14px/1 var(--progreso-body-font); cursor: pointer; }
.blog-filters button:hover,.blog-filters button:focus-visible,.blog-filters button.is-active { border-color: var(--progreso-gold); background: var(--progreso-gold); }
.blog-results { margin: 0 0 30px; color: rgba(8,13,23,.68); font-size: 14px !important; }
.blog-results strong { color: var(--progreso-bronze); }
.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.blog-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(213,165,91,.52); border-radius: 22px; background: var(--progreso-warm-white); box-shadow: 0 20px 46px rgba(8,13,23,.09); }
.blog-card[hidden] { display: none; }
.blog-card__image { overflow: hidden; }
.blog-card__image img { width: 100%; aspect-ratio: 16/10; display: block; object-fit: cover; transition: transform .3s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.035); }
.blog-card__body { min-height: 330px; padding: 28px; display: flex; flex-direction: column; }
.blog-card__topline { display: flex; justify-content: space-between; gap: 16px; color: var(--progreso-bronze); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.blog-card h3 { margin: 24px 0 14px; font-family: Georgia,"Times New Roman",serif; font-size: 30px; line-height: 1.05; }
.blog-card h3 a { color: inherit; }
.blog-card p { margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.blog-card__footer { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; gap: 12px; color: var(--progreso-bronze); font-size: 13px; }
.blog-card__footer a { color: inherit; font-weight: 700; }
.blog-empty { padding: 32px; border: 1px solid rgba(213,165,91,.45); border-radius: 16px; background: var(--progreso-warm-white); text-align: center; }
.blog-load-more { margin-top: 36px; display: flex; justify-content: center; }
.blog-load-more[hidden] { display: none; }
.blog-button--outline { border: 1px solid var(--progreso-ink); background: transparent; color: var(--progreso-ink); cursor: pointer; }
.blog-button--outline:hover,.blog-button--outline:focus-visible { border-color: var(--progreso-gold); background: var(--progreso-gold); }

.blog-sources-layout { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 72px; align-items: start; }
.blog-source-list { display: grid; gap: 14px; }
.blog-source-list a { padding: 24px; display: grid; grid-template-columns: 54px 1fr; gap: 18px; border: 1px solid rgba(241,201,116,.3); border-radius: 16px; background: #111c2d; color: var(--progreso-white); }
.blog-source-list a > span { color: var(--progreso-gold-bright); font-family: Georgia,"Times New Roman",serif; font-size: 26px; font-weight: 700; }
.blog-source-list strong { display: block; margin-bottom: 6px; font-size: 16px; }
.blog-source-list p { margin: 0; }
.blog-review { grid-column: 1/-1; margin: 0; color: rgba(255,255,255,.58) !important; font-size: 13px !important; }

.blog-callout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr); gap: 70px; align-items: center; }
.blog-callout p { max-width: 800px; margin: 0; }
.blog-callout__actions { display: grid; justify-items: center; gap: 18px; }
.blog-callout__phone { color: var(--progreso-bronze); font-size: 28px; font-weight: 700; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .45s ease,transform .45s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .blog-container { width: min(100% - 48px,760px); }
    .blog-heading--split,.blog-featured,.blog-sources-layout,.blog-callout { grid-template-columns: 1fr; gap: 36px; }
    .blog-principles,.blog-grid { grid-template-columns: 1fr; }
    .blog-card__body { min-height: 0; }
}

@media (max-width: 640px) {
    .blog-container { width: min(100% - 28px,560px); }
    .blog-hero { min-height: 620px; }
    .blog-hero__content { padding-block: 110px 130px; }
    .blog-hero h1 { font-size: clamp(48px,15vw,68px); }
    .blog-section { padding: 78px 0; }
    .blog-section + .blog-section { padding-top: calc(78px + var(--progreso-v-depth)); }
    .blog-heading h2,.blog-featured h2,.blog-callout h2 { font-size: 42px; }
    .blog-principles article,.blog-card__body { padding: 24px; }
    .blog-filters { display: grid; grid-template-columns: 1fr 1fr; }
    .blog-callout__actions,.blog-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
