/* ivanernestobaezmartinez.org: identidad del WordPress original (Blocksy + Stackable).
   Franja superior verde oscuro, cabecera menta, portada con imagen oscura, bandas verde salvia. */
:root { --ie-mint: #cde4d1; --ie-sage: #b9cfc5; --ie-green: #1f4037; --ie-ink: #1f2e27; --ie-cloud: #eef1f5; }

/* ---------- cabecera */
.utility { background: var(--ie-green); }
.utility__inner { justify-content: flex-end; min-height: 2.6rem; }
.utility .social a { color: #6fc58a; }
.utility .social a:hover { color: #fff; }
.site-header { background: var(--ie-mint); border-bottom: 0; }
.site-header__inner { min-height: 5.5rem; border-bottom: 1px dotted var(--ie-green); }
.brand__name { font: 400 clamp(1.15rem, 2.4vw, 1.55rem)/1.2 Arial, "Helvetica Neue", Helvetica, sans-serif; letter-spacing: 0; }
.brand__name a { color: var(--ie-green); }
.site-nav { justify-self: end; }
.site-header .navlist a { font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--ie-ink); }
.site-header .navlist a:hover, .site-header .navlist a[aria-current] { border-bottom-color: var(--ie-green); }
.site-header .search-link { border-color: rgba(31, 64, 55, .35); color: var(--ie-green); }

/* ---------- portada: cabecera de imagen */
.ie-cover { position: relative; isolation: isolate; color: #fff; background: #2b2f2d var(--bg) center / cover no-repeat; padding-block: clamp(2rem, 5vw, 3.25rem) clamp(2.5rem, 6vw, 4rem); }
.ie-cover::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); z-index: -1; }
@media (max-width: 48em) { .ie-cover { background-image: var(--bg-sm); } }
.ie-cover__inner { display: grid; justify-items: center; text-align: center; gap: clamp(1.25rem, 3vw, 2rem); }
.ie-cover__name { color: #fffefe; font-size: clamp(2rem, 5.4vw, 3.45rem); font-weight: 900; letter-spacing: -.01em; line-height: 1.1; margin: 0; }
.ie-cover__box { width: min(100%, 60rem); background: rgba(38, 38, 38, .88); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 3rem); }
.ie-cover__photo { display: block; width: 8.5rem; height: 8.5rem; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; box-shadow: 0 0 0 4px rgba(255, 255, 255, .9); }
.ie-cover__sub { font: 400 clamp(1.6rem, 3.6vw, 2.35rem)/1.2 Georgia, "Times New Roman", serif; color: #fff; margin: 0 0 1.25rem; }
.ie-cover__box p { font-size: .98rem; line-height: 1.75; margin: 0 auto 1rem; max-width: 52rem; color: #f1f1f1; }
.ie-cover__box p:last-child { margin-bottom: 0; }
.ie-cover__box a { color: #8ec9ff; font-weight: 700; }

/* ---------- portada: banda verde salvia */
.ie-band { background: var(--ie-sage); padding-block: clamp(2rem, 5vw, 3rem) clamp(2.5rem, 6vw, 3.5rem); }
.ie-band__title { color: var(--ie-green); text-align: center; font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.3; max-width: 56rem; margin: 0 auto 1.5rem; }
.ie-band__title--pill { margin-top: clamp(2rem, 5vw, 2.75rem); }
.ie-panel { background: var(--ie-green) var(--bg) center / cover no-repeat; border-radius: 6px; padding: clamp(1rem, 5vw, 2.5rem) clamp(.75rem, 5vw, 3.5rem); }
@media (max-width: 48em) { .ie-panel { background-image: var(--bg-sm); } }
.ie-panel__box { background: rgba(255, 255, 255, .9); border-radius: 10px; padding: clamp(1.25rem, 4vw, 2.25rem); max-width: 54rem; margin-inline: auto; }
.ie-panel__title { font-size: clamp(1.3rem, 2.8vw, 1.75rem); color: var(--ie-ink); margin: 0 0 1rem; }
.ie-panel__sub { font-size: 1.12rem; color: var(--ie-green); margin: 1.5rem 0 .5rem; }
.ie-panel__box p { color: #2a332f; font-size: .98rem; line-height: 1.7; margin: 0 0 .9rem; }
.ie-panel__box p:last-child { margin-bottom: 0; }
.ie-card { background: #fff; border-radius: 10px; max-width: 40rem; margin: 0 auto; padding: clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2.25rem); }
.ie-card p { margin: 0 0 .9rem; font-size: .98rem; }
.ie-card__links { margin-top: 1.25rem; }
.ie-card__links a { border-color: var(--ie-green); color: var(--ie-green); font-weight: 700; }
.ie-card__links a:hover { background: var(--ie-green); color: #fff; }

/* ---------- portada: últimas publicaciones y tendencias */
.home-personal #articulos { padding-block: clamp(2rem, 5vw, 3rem); }
#articulos .section__head { border-top: 0; justify-content: center; padding-top: 0; margin-bottom: 1.5rem; }
#articulos .section__title { color: var(--ie-green); text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); }
#articulos .grid { background: var(--ie-cloud); border-radius: 8px; padding: clamp(1rem, 3vw, 1.75rem); }
#articulos .card { text-align: center; background: #fff; border-radius: 8px; padding: 0 0 1rem; overflow: hidden; }
#articulos .card__media { border-radius: 0; }
#articulos .card__body { padding-inline: 1rem; }
#articulos .card__title { font-size: 1.2rem; }
.section--highlights.section--alt { background: var(--ie-mint); }
.section--highlights .section__head { border-top-color: var(--ie-green); }
/* "Tendencias" del original: tira de notas con miniatura redonda. El tema pinta `row` como lista (ignora columns). */
.home-personal .section--highlights { padding-block: 1.75rem 2rem !important; }
.home-personal .section--highlights .section__head { border-top: 0; padding-top: 0; margin-bottom: 1rem; }
.home-personal .section--highlights .section__title { font-size: 1.05rem; color: var(--ie-ink); }
.home-personal .section--highlights .stack-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem 2rem; }
.home-personal .section--highlights .stack-list > .teaser { grid-template-columns: 4.5rem minmax(0, 1fr); gap: .9rem; align-items: center; padding: 0; border: 0; }
.home-personal .section--highlights .teaser__thumb { border-radius: 50%; aspect-ratio: 1; }
.home-personal .section--highlights .teaser__title { font-size: .98rem; font-weight: 600; }
.home-personal .section--highlights .teaser__excerpt, .home-personal .section--highlights .kicker { display: none; }

/* ---------- notas, páginas y pie */
.kind-post .entry__title, .kind-page .entry__title, .archive__title { color: var(--ie-ink); }
.person-box { background: #e8f1ea; border-left-color: var(--ie-green); }
.related { background: var(--ie-cloud); }
.site-footer { background: var(--ie-green); }
.site-footer .social a { color: #6fc58a; }
.footer__bottom { border-top-color: rgba(255, 255, 255, .15); }
@media (max-width: 40em) { .site-header .navlist a { letter-spacing: 0; font-size: .74rem; } }
