/* Tema Ágora — portal de noticias (LaPrimicia CMS) */
:root {
  --p: #d71920;
  --pt: color-mix(in srgb, var(--p) 10%, transparent);
  --tx: #16181d;
  --tx2: #3b404a;
  --mu: #6a707c;
  --bd: #e5e7eb;
  --bg: #ffffff;
  --card: #ffffff;
  --soft: #f4f5f7;
  --r: 14px;
  --f: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --w: 1240px;
  color-scheme: light;
}
[data-theme="dark"] {
  --pt: color-mix(in srgb, var(--p) 22%, transparent);
  --tx: #eceef2;
  --tx2: #c9ccd3;
  --mu: #9aa0ab;
  --bd: #2c2f36;
  --bg: #121316;
  --card: #1a1c20;
  --soft: #1f2126;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--f); color: var(--tx); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.18; letter-spacing: -.012em; }
button { font: inherit; }
.i { width: 1em; height: 1em; flex: none; }
.ag-wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 99; background: var(--bg); padding: 8px; }
:focus-visible { outline: 2px solid var(--p); outline-offset: 2px; }

/* ---------- Cabecera ---------- */
.ag-hd { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--bd); }
.ag-hd.stuck { box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.ag-hd-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.ag-logo { display: flex; align-items: center; flex: none; }
.ag-logo img { max-height: 36px; width: auto; }
.ag-logo .ag-logo-d { display: none; }
[data-theme="dark"] .ag-logo .ag-logo-d { display: block; }
[data-theme="dark"] .ag-logo .ag-logo-l:not(:only-child) { display: none; }
.ag-logo-t { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--p); }
.ag-logo-t.sm { font-size: 22px; }
.ag-search { flex: 1; max-width: 600px; margin: 0 auto; display: flex; align-items: center; height: 44px; background: var(--soft); border: 1px solid transparent; border-radius: 999px; padding: 0 6px 0 18px; transition: border-color .15s, background .15s; }
.ag-search:focus-within { border-color: var(--p); background: var(--bg); }
.ag-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 500 15px var(--f); color: var(--tx); }
.ag-search button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--p); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 15px; }
.ag-search.big { height: 54px; max-width: 640px; margin: 18px 0 0; }
.ag-search.big input { font-size: 17px; }
.ag-search.block { margin: 0 0 14px; max-width: none; }
.ag-hd-r { display: flex; align-items: center; gap: 8px; flex: none; }
.ag-ico { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--tx); display: grid; place-items: center; cursor: pointer; font-size: 20px; }
.ag-ico:hover { background: var(--soft); }
#agMenuBtn, .ag-ico-search { display: none; }
.ag-sun { display: none; }
[data-theme="dark"] .ag-sun { display: block; }
[data-theme="dark"] .ag-moon { display: none; }
.ag-live { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--pt); color: var(--p); font-weight: 700; font-size: 14px; }
.ag-live span { width: 8px; height: 8px; border-radius: 50%; background: var(--p); animation: agb 1.2s infinite; }
@keyframes agb { 50% { opacity: .3; } }
.ag-nav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.ag-nav-in::-webkit-scrollbar { display: none; }
.ag-nav a { padding: 10px 12px; font-weight: 600; font-size: 14.5px; color: var(--tx2); white-space: nowrap; border-bottom: 3px solid transparent; }
.ag-nav a:hover { color: var(--tx); }
.ag-nav a.on { color: var(--p); border-bottom-color: var(--p); }
.ag-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); }
.ag-drawer-in { width: min(340px, 88vw); height: 100%; background: var(--bg); padding: 16px; overflow-y: auto; animation: agin .2s ease; }
@keyframes agin { from { transform: translateX(-100%); } }
.ag-dr-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ag-dr-nav { display: flex; flex-direction: column; }
.ag-dr-nav a { padding: 12px 4px; border-bottom: 1px solid var(--bd); font-weight: 700; font-size: 17px; }

/* ---------- Piezas ---------- */
.ag-cat { display: inline-block; color: var(--p); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.ag-cat.sm { font-size: 11.5px; margin: 8px 0 4px; }
.ag-cat.lg { font-size: 14px; margin-bottom: 10px; }
.ag-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--mu); margin-top: 8px; }
.ag-meta i { font-style: normal; opacity: .6; }
.ag-im { display: block; position: relative; overflow: hidden; border-radius: 12px; background: var(--soft); }
.ag-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
article:hover .ag-im img { transform: scale(1.04); }
.r1610 { aspect-ratio: 16/10; }
.sq { aspect-ratio: 1; }
.ag-play { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; font-size: 13px; }
.ag-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 14px; }
.ag-head h2 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.ag-head h2::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--c, var(--p)); }
.ag-head h2 a:hover { color: var(--p); }
.ag-more { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; color: var(--p); }
.ag-btn { border: 1px solid var(--bd); background: var(--card); color: var(--tx); border-radius: 999px; padding: 12px 24px; font-weight: 700; font-size: 15px; cursor: pointer; }
.ag-btn:hover { border-color: var(--p); color: var(--p); }
.ag-btn.loading { opacity: .6; pointer-events: none; }
.ag-ad { text-align: center; overflow: hidden; }
.ag-ad > span { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); margin-bottom: 5px; }
.ag-ad.top { padding-top: 14px; }
.ag-ad.feed, .ag-ad.in { margin: 18px 0; padding: 12px 0; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.ag-ad.side { margin-bottom: 20px; }

/* ---------- Portada: carrusel + tendencias ---------- */
.ag-top-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin: 22px 0 26px; }
.ag-carousel { position: relative; border-radius: 18px; overflow: hidden; background: #0d0e10; aspect-ratio: 16/10; }
.ag-slides { position: absolute; inset: 0; }
.ag-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.ag-slide.on { opacity: 1; visibility: visible; }
.ag-slide-a { display: block; height: 100%; color: #fff; }
.ag-slide img { width: 100%; height: 100%; object-fit: cover; }
.ag-slide-a::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); }
.ag-slide-t { position: absolute; left: 0; right: 0; bottom: 62px; padding: 0 28px; z-index: 1; }
.ag-slide-t h2 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.12; max-width: 820px; text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.ag-slide-t p { margin: 8px 0 0; max-width: 700px; color: rgba(255, 255, 255, .86); font-size: 16px; }
.ag-pill { display: inline-block; background: var(--p); color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.ag-car-btn { position: absolute; top: 40%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #111; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; font-size: 18px; }
.ag-car-btn.prev { left: 14px; }
.ag-car-btn.prev .i { transform: rotate(180deg); }
.ag-car-btn.next { right: 14px; }
.ag-carousel:hover .ag-car-btn, .ag-car-btn:focus-visible { opacity: 1; }
.ag-car-tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 0 28px 16px; }
.ag-car-tabs button { border: 0; background: none; color: rgba(255, 255, 255, .72); text-align: left; padding: 10px 0 0; cursor: pointer; font-size: 12.5px; font-weight: 600; line-height: 1.3; position: relative; }
.ag-car-tabs button span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ag-car-tabs button i { position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ag-car-tabs button i::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; }
.ag-car-tabs button.on { color: #fff; }
.ag-car-tabs button.on i::after { animation: agbar var(--dur, 6s) linear forwards; }
.ag-carousel.paused .ag-car-tabs button.on i::after { animation-play-state: paused; }
@keyframes agbar { to { width: 100%; } }

.ag-box { background: var(--card); border: 1px solid var(--bd); border-radius: var(--r); padding: 16px 18px; margin-bottom: 20px; }
.ag-box-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ag-box-h h2 { font-size: 18px; font-weight: 800; }
.ag-flame { width: 28px; height: 28px; border-radius: 8px; background: var(--pt); color: var(--p); display: grid; place-items: center; font-size: 15px; }
.ag-trend { margin: 0; }
.ag-top-grid .ag-trend { overflow: hidden; }
.ag-trend ol { list-style: none; margin: 0; padding: 0; }
.ag-trend li + li { border-top: 1px solid var(--bd); }
.ag-num { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px 0; }
.ag-num b { font-size: 22px; font-weight: 800; color: var(--p); line-height: 1.05; }
.ag-num h3 { font-size: 15px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ag-num h3 a:hover, .ag-row h3 a:hover, .ag-tile h3 a:hover, .ag-mini h3 a:hover { color: var(--p); }
.ag-num .ag-meta { margin-top: 4px; font-size: 12px; }

.ag-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--bd); }
.ag-tile h3 { font-size: 16.5px; font-weight: 700; line-height: 1.28; }
.ag-tile .ag-im + h3 { margin-top: 10px; }
.ag-tile .ag-meta { font-size: 12.5px; }

/* ---------- Listado + barra lateral ---------- */
.ag-cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; }
.ag-sticky { position: sticky; top: 130px; }
.ag-feed { display: flex; flex-direction: column; }
.ag-row { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--bd); align-items: start; }
.ag-row:first-child { padding-top: 0; }
.ag-row h3 { font-size: 20px; font-weight: 800; line-height: 1.22; }
.ag-row p { margin: 7px 0 0; color: var(--tx2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ag-row.fresh { animation: agfade .5s ease; }
@keyframes agfade { from { opacity: 0; transform: translateY(8px); } }
.ag-feed.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ag-strip { margin: 22px 0 8px; padding: 18px; border-radius: var(--r); background: var(--soft); }
.ag-strip .ag-head { margin-bottom: 12px; }
.ag-strip .ag-head h2 { font-size: 19px; }
.ag-strip-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ag-loadmore { text-align: center; padding: 26px 0 10px; }
.ag-mini { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; align-items: start; }
.ag-mini + .ag-mini { border-top: 1px solid var(--bd); }
.ag-mini h3 { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.ag-mini .ag-im { border-radius: 10px; }
.ag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-chips a { padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 13.5px; font-weight: 600; }
.ag-chips a:hover { background: var(--p); color: #fff; }
.ag-soc { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-soc a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--tx); font-size: 17px; }
.ag-soc a:hover { background: var(--p); color: #fff; }
.ag-empty { text-align: center; padding: 80px 0; }
.ag-empty-t { color: var(--mu); padding: 30px 0; }

/* ---------- Noticia ---------- */
.ag-crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--mu); padding: 18px 0 6px; }
.ag-crumbs a:hover { color: var(--p); }
.ag-art { min-width: 0; max-width: 780px; }
.ag-art-h h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.ag-dek { font-size: 19px; line-height: 1.45; color: var(--tx2); margin: 14px 0 0; }
.ag-by { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 20px 0; padding: 14px 0; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.ag-by-l { display: flex; align-items: center; gap: 12px; }
.ag-by-l b { display: block; font-size: 15px; }
.ag-by-l b a:hover { color: var(--p); }
.ag-by-l span { font-size: 13.5px; color: var(--mu); }
.ag-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--p); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.ag-av.lg { width: 60px; height: 60px; font-size: 24px; }
.ag-share { display: flex; gap: 8px; }
.ag-share a, .ag-share button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bd); background: var(--card); color: var(--tx); display: grid; place-items: center; cursor: pointer; font-size: 16px; }
.ag-share .s-wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.ag-share .s-fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.ag-share .s-x:hover { background: #000; border-color: #000; color: #fff; }
.ag-share .s-cp:hover, .ag-share .s-cp.ok { background: var(--p); border-color: var(--p); color: #fff; }
.ag-art-img { margin: 0 0 24px; }
.ag-art-img img { width: 100%; border-radius: 16px; }
.ag-art-img figcaption { font-size: 13.5px; color: var(--mu); padding-top: 8px; }
.ag-body { font-size: 18.5px; line-height: 1.7; color: var(--tx); }
.ag-body p { margin: 0 0 1.1em; }
.ag-body h2 { font-size: 26px; font-weight: 800; margin: 1.5em 0 .6em; }
.ag-body h3 { font-size: 21px; font-weight: 800; margin: 1.3em 0 .5em; }
.ag-body a { color: var(--p); text-decoration: underline; text-underline-offset: 3px; }
.ag-body img { border-radius: 12px; margin: 1.2em auto; }
.ag-body figure { margin: 1.4em 0; }
.ag-body figure img { margin: 0 auto; }
.ag-body figcaption { font-size: 13.5px; color: var(--mu); padding-top: 6px; }
.ag-body blockquote { margin: 1.5em 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--p); font-size: 21px; line-height: 1.45; font-weight: 600; }
.ag-body ul, .ag-body ol { padding-left: 1.2em; }
.ag-body li { margin-bottom: .4em; }
.ag-body iframe, .ag-body .ql-video { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 12px; margin: 1.2em 0; }
.ag-body .ql-align-center { text-align: center; }
.ag-body .inrel { margin: 28px 0; padding: 16px 18px; border-radius: var(--r); background: var(--soft); font-size: 15px; line-height: 1.35; }
.ag-body .inrel-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--p); margin-bottom: 8px; }
.ag-body .inrel-i { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; color: var(--tx); }
.ag-body .inrel-i + .inrel-i { border-top: 1px solid var(--bd); }
.ag-body .inrel-i img { width: 100px; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; margin: 0; }
.ag-body .inrel-i em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--p); text-transform: uppercase; }
.ag-body .inrel-i b { font-size: 16px; }
.ag-src { color: var(--mu); font-size: 14px; font-style: italic; }
.ag-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.ag-tags a { padding: 6px 13px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 14px; }
.ag-tags a:hover { background: var(--p); color: #fff; }
.ag-gn { display: block; text-align: center; padding: 13px; border: 1px solid var(--bd); border-radius: 12px; font-weight: 700; margin-bottom: 22px; }
.ag-gn:hover { border-color: var(--p); color: var(--p); }
.ag-author { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--soft); border-radius: var(--r); margin: 10px 0 30px; }
.ag-author small { display: block; color: var(--mu); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.ag-author b { font-size: 17px; }
.ag-author p { margin: 3px 0 0; color: var(--tx2); font-size: 14.5px; }
.ag-more-sec { margin: 36px 0 10px; padding-top: 26px; border-top: 1px solid var(--bd); }
.ag-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ag-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ag-preview { background: #fff3cd; color: #7a5b00; padding: 10px 14px; border-radius: 10px; margin-top: 14px; font-weight: 700; }

/* ---------- Archivo ---------- */
.ag-arch { padding: 28px 0 22px; }
.ag-arch h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.025em; display: flex; align-items: center; gap: 12px; }
.ag-arch h1::before { content: ""; width: 8px; height: .9em; border-radius: 4px; background: var(--c, var(--p)); }
.ag-arch p { margin: 8px 0 0; color: var(--mu); font-size: 17px; }
.ag-arch-lead { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; margin-bottom: 30px; }
.ag-arch-lead .ag-slide { position: relative; opacity: 1; visibility: visible; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; }
.ag-arch-lead .ag-slide-t { bottom: 22px; }
.ag-arch-lead > div { display: flex; flex-direction: column; gap: 18px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 26px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; text-align: center; padding: 9px 13px; border: 1px solid var(--bd); border-radius: 999px; font-weight: 600; }
.pagination .current { background: var(--p); border-color: var(--p); color: #fff; }
.ag-404 { text-align: center; padding: 60px 0 20px; display: flex; flex-direction: column; align-items: center; }
.ag-404 b { font-size: 120px; line-height: .9; font-weight: 800; color: var(--p); }
.ag-404 h1 { font-size: 30px; margin: 12px 0 6px; }
.ag-404 p { color: var(--mu); }
.ag-404 .ag-search { width: 100%; }

/* ---------- Pie ---------- */
.ag-ft { margin-top: 56px; background: var(--soft); border-top: 1px solid var(--bd); }
.ag-ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 40px; padding-bottom: 30px; }
.ag-ft-brand p { color: var(--tx2); max-width: 360px; margin: 12px 0 16px; font-size: 15px; }
.ag-ft-brand .ag-soc a { background: var(--card); }
.ag-ft nav { display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.ag-ft nav b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mu); margin-bottom: 4px; }
.ag-ft nav a:hover { color: var(--p); }
.ag-ft-bot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid var(--bd); font-size: 13.5px; color: var(--mu); }
.ag-top { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--p); color: #fff; font-size: 20px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ag-top-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .ag-cols { grid-template-columns: minmax(0, 1fr) 290px; gap: 26px; }
  .ag-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ag-search:not(.big):not(.block) { display: none; }
  .ag-ico-search { display: grid; }
  .ag-hd-r { margin-left: auto; }
  .ag-top-grid, .ag-cols { grid-template-columns: 1fr; }
  .ag-sticky { position: static; }
  .ag-car-tabs { display: flex; justify-content: center; padding-bottom: 14px; }
  .ag-car-tabs button { width: 34px; padding: 0; }
  .ag-car-tabs button span { display: none; }
  .ag-car-tabs button i { position: static; display: block; }
  .ag-slide-t { bottom: 36px; }
  .ag-arch-lead { grid-template-columns: 1fr; }
  .ag-ft-grid { grid-template-columns: 1fr 1fr; }
  .ag-ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ag-wrap { padding: 0 14px; }
  .ag-hd-in { height: 58px; gap: 8px; }
  #agMenuBtn { display: grid; margin-left: -8px; }
  .ag-logo img { max-height: 30px; }
  .ag-live { padding: 6px 10px; font-size: 12.5px; }
  .ag-top-grid { margin-top: 12px; gap: 18px; }
  .ag-carousel { margin: 0 -14px; border-radius: 0; aspect-ratio: 4/4.2; }
  .ag-slide-t { padding: 0 16px; }
  .ag-slide-t p { display: none; }
  .ag-car-btn { display: none; }
  .ag-tiles, .ag-grid3, .ag-grid4, .ag-feed.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ag-tile h3 { font-size: 15px; }
  .ag-row { grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; padding: 14px 0; }
  .ag-row h3 { font-size: 16.5px; }
  .ag-row p { display: none; }
  .ag-row .ag-im { aspect-ratio: 1; border-radius: 10px; }
  .ag-strip { margin: 16px -14px 4px; border-radius: 0; padding: 16px 14px; }
  .ag-strip-g { grid-template-columns: 1fr 1fr; }
  .ag-strip-g .ag-tile:nth-child(3) { display: none; }
  .ag-art-h h1 { font-size: 27px; }
  .ag-dek { font-size: 17px; }
  .ag-body { font-size: 17.5px; }
  .ag-art-img { margin-left: -14px; margin-right: -14px; }
  .ag-art-img img { border-radius: 0; }
  .ag-art-img figcaption { padding: 8px 14px 0; }
  .ag-ft-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
