/* AE Informes */
.ae-inf { padding:6rem 0; background:#fff; }
.ae-inf__container { max-width:80rem; margin:0 auto; padding:0 7%; }
@media(min-width:768px){ .ae-inf__container{ padding:0 2rem; } }

.ae-inf__header { display:flex; flex-direction:column; gap:1rem; margin-bottom:3rem; }
@media(min-width:768px){ .ae-inf__header{ flex-direction:row; align-items:flex-end; justify-content:space-between; } }
.ae-inf__title { font-size:2.25rem; font-weight:900; color:var(--analdex-navy); line-height:1.1; margin-bottom:0.75rem; }
@media(min-width:768px){ .ae-inf__title{ font-size:3rem; } }
.ae-inf__desc { color:#6b7280; font-size:0.875rem; max-width:28rem; line-height:1.6; }
.ae-inf__link { display:flex; align-items:center; gap:0.5rem; color:var(--analdex-navy); font-weight:700; font-size:0.875rem; border-bottom:2px solid var(--analdex-yellow); padding-bottom:2px; white-space:nowrap; align-self:flex-start; transition:opacity 0.2s; }
.ae-inf__link:hover { opacity:0.7; }

/* Main grid — 12-col approach matching React lg:grid-cols-12 */
.ae-inf__grid { display:grid; grid-template-columns:1fr; gap:1.5rem; align-items:stretch; }
@media(min-width:1024px){ .ae-inf__grid{ grid-template-columns:7fr 5fr; } }

/* Featured card — MUST fill entire column height */
.ae-inf__featured { display:flex; min-height:540px; }

.inf-featured { position:relative; border-radius:1rem; overflow:hidden; cursor:pointer; box-shadow:0 10px 30px rgba(0,0,0,0.1); width:100%; display:flex; flex-direction:column; }
.inf-featured:hover { box-shadow:0 20px 50px rgba(0,0,0,0.15); }
.inf-featured img { width:100%; height:100%; object-fit:cover; object-position:top; position:absolute; inset:0; transition:transform 0.7s; }
.inf-featured:hover img { transform:scale(1.05); }
.inf-featured__overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(17,42,82,0.95),rgba(17,42,82,0.4) 50%,rgba(17,42,82,0.05)); }
.inf-featured__top { position:absolute; top:1.25rem; left:1.25rem; right:1.25rem; display:flex; align-items:center; justify-content:space-between; z-index:2; }
.inf-featured__badge { font-size:0.6875rem; font-weight:900; padding:0.375rem 0.75rem; border-radius:9999px; letter-spacing:0.03em; }
.inf-featured__badge.yellow { background:var(--analdex-yellow); color:var(--analdex-navy); }
.inf-featured__badge.glass { background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.2); color:#fff; backdrop-filter:blur(8px); display:inline-flex; align-items:center; gap:6px; font-weight:600; }
.inf-featured__badge .dot { width:6px; height:6px; border-radius:50%; background:var(--analdex-yellow); animation:pulse 2s infinite; display:inline-block; }
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:0.4; } }
.inf-featured__bottom { position:absolute; bottom:0; left:0; right:0; padding:1.75rem; z-index:2; }
.inf-featured__meta { display:flex; align-items:center; gap:0.75rem; color:rgba(255,255,255,0.6); font-size:0.6875rem; font-weight:500; margin-bottom:0.75rem; }
.inf-featured__meta .sep { width:4px; height:4px; border-radius:50%; background:rgba(255,255,255,0.4); display:inline-block; }
.inf-featured h3 { color:#fff; font-weight:900; font-size:1.5rem; line-height:1.25; margin-bottom:0.75rem; }
@media(min-width:768px){ .inf-featured h3{ font-size:1.875rem; } }
.inf-featured__bar { width:3rem; height:2px; background:var(--analdex-yellow); border-radius:9999px; margin-bottom:1rem; }
.inf-featured__bottom-desc { color:rgba(255,255,255,0.75); font-size:0.875rem; line-height:1.6; margin-bottom:1.75rem; max-width:32rem; }
.inf-featured__btns { display:flex; align-items:center; gap:0.75rem; flex-wrap:wrap; }

/* Secondary list — distribute evenly to fill height */
.ae-inf__secondary { display:flex; flex-direction:column; gap:1rem; }
@media(min-width:1024px){
  .ae-inf__secondary { justify-content:stretch; }
}

.inf-sec { display:flex; gap:0; background:#fff; border:1px solid #f3f4f6; border-radius:0.75rem; overflow:hidden; transition:all 0.3s; text-decoration:none; }
.inf-sec:hover { border-color:rgba(17,42,82,0.15); box-shadow:0 4px 15px rgba(0,0,0,0.06); }

/* Image — match reference (~120px wide) */
.inf-sec__img { position:relative; width:8rem; flex-shrink:0; overflow:hidden; }
.inf-sec__img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s; }
.inf-sec:hover .inf-sec__img img { transform:scale(1.1); }

.inf-sec__body { flex:1; min-width:0; padding:1rem; display:flex; flex-direction:column; justify-content:space-between; }
.inf-sec__tags { display:flex; align-items:center; gap:0.5rem; margin-bottom:0.5rem; }
.inf-sec__tag { font-size:0.625rem; font-weight:900; padding:0.125rem 0.625rem; border-radius:9999px; background:rgba(17,42,82,0.08); border:1px solid rgba(17,42,82,0.12); color:var(--analdex-navy); }
.inf-sec__date { color:#9ca3af; font-size:0.625rem; }
.inf-sec h4 { color:var(--analdex-navy); font-weight:900; font-size:0.875rem; line-height:1.4; margin-bottom:0.375rem; transition:color 0.3s; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.inf-sec:hover h4 { color:rgba(17,42,82,0.7); }
.inf-sec__desc { color:#6b7280; font-size:0.75rem; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:0.25rem; }
.inf-sec__footer { display:flex; align-items:center; justify-content:space-between; margin-top:0.75rem; padding-top:0.625rem; border-top:1px solid #f3f4f6; }
.inf-sec__time { color:#9ca3af; font-size:0.6875rem; display:flex; align-items:center; gap:4px; }
.inf-sec__read { color:var(--analdex-navy); font-size:0.6875rem; font-weight:700; display:flex; align-items:center; gap:4px; opacity:0; transition:opacity 0.3s; }
.inf-sec:hover .inf-sec__read { opacity:1; }