.kes-mg{--kes-mg-bg:#f4f7fb;--kes-mg-text:#102e54;--kes-mg-muted:#64748b;--kes-mg-accent:#16a085;--kes-mg-overlay-text:#fff;--kes-mg-gap:16px;--kes-mg-radius:18px;--kes-mg-height:460px;box-sizing:border-box;width:100%;min-width:0;container:kes-magazine / inline-size}
.kes-mg *, .kes-mg *::before,.kes-mg *::after{box-sizing:border-box}
.kes-mg__header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;flex-wrap:wrap}
.kes-mg__header-copy{min-width:0;flex:1 1 320px}.kes-mg__section-title{color:var(--kes-mg-text);font-size:clamp(21px,2.1vw,30px);line-height:1.45;margin:0 0 7px;font-weight:800}
.kes-mg__intro{margin:0;color:var(--kes-mg-muted);line-height:1.8;font-size:14px}
.kes-mg__all{color:var(--kes-mg-accent);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}.kes-mg__all:hover{text-decoration:underline}
.kes-mg__layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:var(--kes-mg-gap);align-items:stretch;min-width:0}
.kes-mg__featured,.kes-mg__small{min-width:0;position:relative;border-radius:var(--kes-mg-radius);overflow:hidden;isolation:isolate;background:var(--kes-mg-bg)}
.kes-mg__featured{min-height:var(--kes-mg-height)}
.kes-mg__card-link{position:relative;display:block;width:100%;height:100%;color:inherit;text-decoration:none;min-width:0}
.kes-mg__card-link:hover{color:inherit}
.kes-mg__media{position:absolute;inset:0;overflow:hidden;background:linear-gradient(135deg,#446785,#172e4a);z-index:0}
.kes-mg__image,.kes-mg__image-fallback{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.kes-mg__card-link:hover .kes-mg__image{transform:scale(1.035)}
.kes-mg__featured .kes-mg__media::after,.kes-mg__small--grid .kes-mg__media::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,17,35,.91),rgba(5,17,35,.25) 56%,rgba(5,17,35,.05))}
.kes-mg__card-copy{position:relative;z-index:1;min-width:0}
.kes-mg__featured .kes-mg__card-link,.kes-mg__small--grid .kes-mg__card-link{display:flex;align-items:flex-end}
.kes-mg__featured .kes-mg__card-copy{padding:26px;color:var(--kes-mg-overlay-text);width:100%}
.kes-mg__category{font-size:11px;font-weight:700;display:inline-block;padding:5px 9px;border-radius:5px;background:var(--kes-mg-accent);color:#fff;margin-bottom:10px}
.kes-mg__featured-title{font-size:clamp(21px,2.1vw,31px);font-weight:800;line-height:1.5;color:var(--kes-mg-overlay-text);margin:0 0 12px;overflow-wrap:anywhere}
.kes-mg__date{display:block;font-size:12px;color:inherit;opacity:.83}
.kes-mg__secondary{display:grid;grid-template-columns:1fr;gap:var(--kes-mg-gap);min-width:0;min-height:var(--kes-mg-height)}
.kes-mg__small--list .kes-mg__card-link{display:grid;grid-template-columns:minmax(110px,34%) minmax(0,1fr);align-items:stretch;direction:inherit}
.kes-mg__small--list .kes-mg__media{position:relative;inset:auto;min-height:114px;background:#dae3eb}
.kes-mg__small--list .kes-mg__card-copy{padding:13px 16px;align-self:center;min-width:0}
.kes-mg__small--list .kes-mg__small-title{margin:0 0 7px;font-size:clamp(13px,1.2vw,17px);line-height:1.55;color:var(--kes-mg-text);font-weight:750;overflow-wrap:anywhere}
.kes-mg__small--list .kes-mg__excerpt{font-size:12px;line-height:1.55;margin:0 0 8px;color:var(--kes-mg-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kes-mg__small--list .kes-mg__date{color:var(--kes-mg-muted)}
.kes-mg--grid .kes-mg__secondary{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}
.kes-mg__small--grid .kes-mg__card-copy{padding:15px;color:var(--kes-mg-overlay-text);width:100%}
.kes-mg__small--grid .kes-mg__small-title{font-size:clamp(13px,1.15vw,17px);line-height:1.5;color:var(--kes-mg-overlay-text);margin:0 0 8px;font-weight:750;overflow-wrap:anywhere}
.kes-mg__empty{color:#6a778a;font-size:13px;padding:20px;border:1px dashed #ccc;border-radius:10px}
@container kes-magazine (max-width:850px){.kes-mg__layout{grid-template-columns:1fr}.kes-mg__featured{min-height:min(var(--kes-mg-height),390px)}.kes-mg__secondary{min-height:0}.kes-mg__small--list .kes-mg__card-link{grid-template-columns:minmax(110px,35%) minmax(0,1fr)}.kes-mg--grid .kes-mg__small--grid{min-height:180px}}
@container kes-magazine (max-width:510px){.kes-mg__header{margin-bottom:15px}.kes-mg__featured{min-height:300px}.kes-mg__featured .kes-mg__card-copy{padding:18px}.kes-mg--grid .kes-mg__secondary{grid-template-columns:1fr}.kes-mg--grid .kes-mg__small--grid{min-height:195px}.kes-mg__small--list .kes-mg__media{min-height:120px}.kes-mg__small--list .kes-mg__card-copy{padding:10px 12px}.kes-mg__small--list .kes-mg__excerpt{display:none}}
@media (prefers-reduced-motion:reduce){.kes-mg__image{transition:none}}
