/* Hallmark · v2.0.0 · redesign: polish · built: the project · genre: editorial · theme: brand (logo VGB: celeste, bordó, gris, rombos bávaros) · signature: la grilla de la Fiesta de la Cerveza */
/* critique: el sitio ya tenía identidad (logo, rombos, Fraunces); lo que lo hacía ver plantilla eran las etiquetas en mayúsculas espaciadas, los emojis como íconos, los puntos medios y el mismo "levantar tarjeta" en todo. Esta capa corrige eso sin tocar la grilla. */
/* waive 54 · "Contenido patrocinado" queda arriba del título: es una aclaración legal al lector, no un antetítulo. */
/* waive 56 · .cs-sidebar es la columna izquierda y .cs-top la barra del contenido: están lado a lado, no apiladas; .cs-mobile solo aparece en celular. */
/* waive 1 · Poppins es la letra de la marca VGB, no un default. */
/* waive 37 · DM Sans y Libre Franklin son de otras marcas del mismo CMS (Punilla, tema base); en VGB no se cargan. */

/* Capa de pulido de Noticias VGB.
   Se carga después de vgb-theme.css. No cambia la grilla ni el contenido:
   corrige etiquetas, estados, movimiento y contraste. Para volver atrás,
   basta con quitar el <link> de app/public_header.php. */

:root{
  --h-ink:#2f3034;
  --h-ink-soft:#595a5e;
  --h-muted:#5f6065;
  --h-paper:#fbfcfc;
  --h-cream:#f4f6f7;
  --h-line:#cbd9df;
  --h-red:#b52f40;
  --h-red-dark:#8f2332;
  --h-blue:#079bd7;
  --h-blue-dark:#05719e;
  --h-gold:#f2b632;
  --h-night:#3a3b40;
  --h-on-dark:#f4f6f7;
  --h-on-dark-soft:#d9dee1;
  --h-focus:#079bd7;
  --h-serif:Fraunces,Georgia,'Times New Roman',serif;
  --h-sans:Poppins,system-ui,sans-serif;
  --h-ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
html,body{overflow-x:clip!important}
html body.brand-noticiasvgb{background:var(--h-cream)!important;color:var(--h-ink-soft)!important}

/* Foco visible e instantáneo en todo lo que se puede tocar */
html body.brand-noticiasvgb :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--h-focus)!important;outline-offset:2px!important;transition:none!important}
html body.brand-noticiasvgb :is(a,button):active{opacity:.82}
html body.brand-noticiasvgb :is(button,input,select,textarea):disabled,html body.brand-noticiasvgb [aria-disabled="true"]{opacity:.5;cursor:not-allowed}

/* Títulos: un peso, un color, sin quiebres feos */
html body.brand-noticiasvgb :is(h1,h2,h3){text-wrap:balance;overflow-wrap:break-word;min-width:0}

/* ---------- Etiquetas: minúscula normal, sin espaciado, un paso más chicas que el texto ---------- */
html body.brand-noticiasvgb :is(.pro-pill,.cs-label,.cs-breaking b,.dp-section-lead span,.dp-section-list span,.dp-latest-grid span,.vgb-most-read-list span,.dp-category-grid span,.dp-category-feature span,.vgb-fest-count small,.vgb-fest-lineup time b,.vgb-fest-lineup em,.vgb-menu-social>p,.dp-latest-sheet header span,.article-head .category,.byline .category,.ad-slider::after,.cs-sidebar.menu-open::after,.cs-top::after){
  text-transform:none!important;letter-spacing:0!important;font-family:var(--h-sans)!important}

html body.brand-noticiasvgb .pro-pill{font-size:12px!important;font-weight:600!important;line-height:1.2!important;padding:4px 10px!important;background:var(--h-red)!important;color:var(--h-on-dark)!important}
html body.brand-noticiasvgb :is(.dp-weather label,.weather-detail span,.dp-forecast span,.weather-source,.dp-weather-head label){text-transform:none!important;letter-spacing:0!important;font-size:13px!important;font-weight:500!important;color:var(--h-muted)!important}
html body.brand-noticiasvgb .weather-main-icon svg{display:block}
html body.brand-noticiasvgb :is(.dp-forecast small,.dp-latest-grid time,.dp-section-list time,.dp-category-grid time,.dp-latest-items time){font-size:12px!important;letter-spacing:0!important;text-transform:none!important;color:var(--h-muted)!important}
html body.brand-noticiasvgb .pro-latest-small article:nth-child(n) h2{color:var(--h-on-dark)!important}
html body.brand-noticiasvgb .cs-label{font-size:13px!important;font-weight:500!important;color:var(--h-muted)!important}
html body.brand-noticiasvgb .cs-breaking b{font-size:12px!important;font-weight:600!important;padding:4px 10px!important;background:var(--h-red)!important;color:var(--h-on-dark)!important}
html body.brand-noticiasvgb :is(.dp-section-lead span,.dp-section-list span,.dp-latest-grid span,.vgb-most-read-list span,.dp-category-grid span,.dp-category-feature span){font-size:12px!important;font-weight:600!important;color:var(--h-red)!important}
html body.brand-noticiasvgb .cs-top::after{content:"Villa General Belgrano, Córdoba"!important;font-size:13px!important;font-weight:500!important;color:var(--h-muted)!important}
html body.brand-noticiasvgb .ad-slider::after{content:"Publicidad"!important;font-size:11px!important;padding:3px 8px!important}
html body.brand-noticiasvgb .cs-sidebar.menu-open::after{content:"Secciones"!important;font-size:12px!important;color:var(--h-muted)!important}

/* Botones de la barra superior */
html body.brand-noticiasvgb button.cs-install{font:600 13px/1 var(--h-sans)!important;letter-spacing:0!important;text-transform:none!important;background:var(--h-red)!important;color:var(--h-on-dark)!important}
html body.brand-noticiasvgb button.cs-install:hover{background:var(--h-red-dark)!important}
html body.brand-noticiasvgb .cs-search{display:inline-flex;align-items:center;gap:6px;font-size:13px!important}
html body.brand-noticiasvgb .cs-search svg{flex:none}
html body.brand-noticiasvgb .cs-breaking-track i{font-style:normal;color:var(--h-line)!important;margin:0 4px}

/* ---------- Superficies: sólidas, sin vidrio ---------- */
html body.brand-noticiasvgb .cs-top{background:var(--h-paper)!important;backdrop-filter:none!important}
html body.brand-noticiasvgb .dp-bottom{background:var(--h-paper)!important;backdrop-filter:none!important}
html body.brand-noticiasvgb .vgb-fest-count{backdrop-filter:none!important;background:var(--h-night)!important}

/* Pie de la barra lateral: contraste legible */
html body.brand-noticiasvgb .cs-side-bottom{background:var(--h-night)!important;color:var(--h-on-dark-soft)!important}
html body.brand-noticiasvgb .cs-side-bottom span{color:var(--h-on-dark-soft)!important;font-size:13px!important;line-height:1.45}
html body.brand-noticiasvgb .cs-side-bottom strong{color:var(--h-on-dark)!important}

/* ---------- Portada ---------- */
html body.brand-noticiasvgb .dp-home-intro h1{letter-spacing:-.02em!important;line-height:1.02!important;color:var(--h-ink)!important;max-width:15ch}
html body.brand-noticiasvgb .dp-home-intro p{font-size:16px!important;line-height:1.5;color:var(--h-muted)!important}
html body.brand-noticiasvgb :is(.dp-section-heading p,.dp-section-lead p,.dp-category-hero p){color:var(--h-muted)!important}
html body.brand-noticiasvgb .dp-section-heading a{font-size:13px}
html body.brand-noticiasvgb .dp-home-signoff{font-size:14px!important;font-weight:500!important;letter-spacing:0!important;color:var(--h-muted)!important}

/* Columnas con imágenes: nunca empujan la página */
.pro-latest-layout{grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr)!important}
.dp-section-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr)}
.dp-section-lead>a{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.dp-section-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.dp-category-feature>a{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.dp-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.pro-latest-layout{grid-template-columns:minmax(0,1fr)!important}.pro-latest-small{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:850px){.dp-section-grid,.dp-section-lead>a,.dp-category-feature>a{grid-template-columns:minmax(0,1fr)}.dp-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.pro-latest-small{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:560px){.dp-category-grid{grid-template-columns:minmax(0,1fr)}}

/* Hover: una sola señal. El título cambia de color; la tarjeta no salta ni la foto se agranda */
html body.brand-noticiasvgb :is(.dp-section-lead,.dp-section-list article,.dp-category-grid article,.news-card,.dp-latest-grid article,.vgb-fest-lineup li):hover{transform:none!important;box-shadow:none!important}
html body.brand-noticiasvgb article:hover img{transform:none!important}
html body.brand-noticiasvgb :is(.dp-section-lead,.dp-section-list article,.dp-category-grid article,.dp-latest-grid article,.vgb-most-read-list li) a:hover :is(h2,h3){color:var(--h-red-dark)!important}
html body.brand-noticiasvgb :is(a,button,article,img){transition:color .18s var(--h-ease),background-color .18s var(--h-ease),border-color .18s var(--h-ease),opacity .18s var(--h-ease)}

/* ---------- Fiesta de la Cerveza ---------- */
html body.brand-noticiasvgb .vgb-fest-sub{display:inline-block;margin:0 0 4px;font:600 14px/1.3 var(--h-sans);color:var(--h-gold)}
html body.brand-noticiasvgb .vgb-fest-intro h2{margin-top:4px!important}
html body.brand-noticiasvgb .vgb-fest-where{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14px!important;color:var(--h-on-dark-soft)!important}
html body.brand-noticiasvgb .vgb-fest-count small{font-size:13px!important;font-weight:600!important;color:var(--h-gold)!important}
html body.brand-noticiasvgb .vgb-fest-lineup time b{font-size:12px!important;font-weight:600!important;color:var(--h-gold)!important}
html body.brand-noticiasvgb .vgb-fest-lineup .is-today time b{color:var(--h-ink)!important}
html body.brand-noticiasvgb .vgb-fest-lineup em{font-size:11px!important;font-weight:600!important;padding:3px 7px!important}

/* ---------- Nota ---------- */
html body.brand-noticiasvgb article.article .article-head .byline{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;font-size:14px;color:var(--h-muted)}
html body.brand-noticiasvgb article.article .article-head .byline .category{font-size:14px!important;font-weight:600!important;color:var(--h-red)!important;text-decoration:none}
html body.brand-noticiasvgb article.article .article-head .byline .category:hover{text-decoration:underline;text-underline-offset:3px}
html body.brand-noticiasvgb article.article .article-head>.category{font-size:13px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;color:var(--h-red)!important}

/* Reacciones: íconos de trazo en lugar de emojis, sin rebote */
html body.brand-noticiasvgb .vgb-reaction-emoji{display:inline-grid;place-items:center;color:var(--h-ink-soft)}
html body.brand-noticiasvgb .vgb-reaction-emoji svg{display:block;width:22px;height:22px}
html body.brand-noticiasvgb .vgb-reactions-list button[aria-pressed="true"] .vgb-reaction-emoji{color:var(--h-on-dark)}
html body.brand-noticiasvgb .vgb-reactions-list button.is-popping .vgb-reaction-emoji{animation:h-react .32s var(--h-ease)}
@keyframes h-react{40%{transform:scale(1.2)}}

/* ---------- Celular: cajón y hoja de "últimas" se mueven con transform ---------- */
@media(max-width:900px){
  html body.brand-noticiasvgb .cs-sidebar{left:0!important}
  html.js body.brand-noticiasvgb .cs-sidebar{transform:translateX(-110%);visibility:hidden;transition:transform .25s var(--h-ease),visibility 0s linear .25s!important}
  html.js body.brand-noticiasvgb .cs-sidebar.menu-open{transform:none;visibility:visible;transition:transform .25s var(--h-ease),visibility 0s!important}
  html body.brand-noticiasvgb .dp-latest-sheet{bottom:76px!important;transform:translateY(calc(100% + 90px));transition:transform .28s var(--h-ease)!important}
  html body.brand-noticiasvgb .dp-latest-sheet.open{transform:none}
  html body.brand-noticiasvgb .dp-latest-sheet header span{font-size:12px!important;font-weight:600}
  html body.brand-noticiasvgb .dp-bottom a,html body.brand-noticiasvgb .dp-bottom button{font-size:11px!important;color:var(--h-muted)!important}
  html body.brand-noticiasvgb .dp-bottom b{display:grid;place-items:center;color:var(--h-ink)!important}
  html body.brand-noticiasvgb .dp-bottom b svg{width:22px;height:22px}
  html body.brand-noticiasvgb .cs-breaking b{font-size:11px!important}
  html body.brand-noticiasvgb .cs-mobile-actions .cs-install{font-size:12px!important}
}

/* ---------- Pie ---------- */
html body.brand-noticiasvgb .cs-footer{font-size:13px!important;color:var(--h-on-dark-soft)!important;padding-right:280px!important}
html body.brand-noticiasvgb .cs-footer-links{display:flex;flex-wrap:wrap;gap:4px 18px}
html body.brand-noticiasvgb .cs-footer a{color:var(--h-on-dark)!important;text-underline-offset:3px}
html body.brand-noticiasvgb .cs-footer a:hover{text-decoration:underline}
@media(max-width:900px){html body.brand-noticiasvgb .cs-footer{padding-right:18px!important}}
html body.brand-noticiasvgb .share strong{text-transform:none!important;letter-spacing:0!important;font-size:13px!important;font-weight:600!important}

/* ---------- Noticia insertada en el cuerpo: tarjeta horizontal ---------- */
html body.brand-noticiasvgb .article-body .internal-news-card{display:block!important;max-width:100%!important;margin:28px 0!important;padding:0!important;border:1px solid var(--h-line)!important;border-radius:12px!important;background:var(--h-paper)!important;overflow:hidden!important;box-shadow:none!important}
html body.brand-noticiasvgb .article-body .internal-news-card a{display:grid!important;grid-template-columns:minmax(0,210px) minmax(0,1fr)!important;align-items:stretch!important;gap:0!important;color:inherit!important;text-decoration:none!important;transition:background-color .2s var(--h-ease)}
html body.brand-noticiasvgb .article-body .internal-news-card a:not(:has(img)){grid-template-columns:minmax(0,1fr)!important}
html body.brand-noticiasvgb .article-body .internal-news-card img{display:block!important;width:100%!important;max-width:none!important;height:100%!important;min-height:140px!important;margin:0!important;border-radius:0!important;object-fit:cover!important;box-shadow:none!important}
html body.brand-noticiasvgb .article-body .internal-news-text{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:6px!important;min-width:0;padding:16px 22px!important}
html body.brand-noticiasvgb .article-body .internal-news-text strong{display:block;font-family:var(--h-serif)!important;font-size:19px!important;font-weight:700!important;line-height:1.25!important;color:var(--h-ink)!important;transition:color .2s var(--h-ease)}
html body.brand-noticiasvgb .article-body .internal-news-text small{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-family:var(--h-sans)!important;font-size:14px!important;line-height:1.5!important;color:var(--h-ink-soft)!important}
html body.brand-noticiasvgb .article-body .internal-news-card a:hover{background:var(--h-cream)!important}
html body.brand-noticiasvgb .article-body .internal-news-card a:hover strong{color:var(--h-red-dark)!important}
html body.brand-noticiasvgb .article-body .internal-news-card a:focus-visible{outline:2px solid var(--h-focus)!important;outline-offset:-2px}
@media(max-width:560px){
  html body.brand-noticiasvgb .article-body .internal-news-card a{grid-template-columns:minmax(0,112px) minmax(0,1fr)!important}
  html body.brand-noticiasvgb .article-body .internal-news-card img{min-height:112px!important}
  html body.brand-noticiasvgb .article-body .internal-news-text{padding:12px 14px!important;gap:4px!important}
  html body.brand-noticiasvgb .article-body .internal-news-text strong{font-size:16px!important}
  html body.brand-noticiasvgb .article-body .internal-news-text small{-webkit-line-clamp:2;font-size:13px!important}
}

/* ---------- Video de la nota: ancho completo en 16:9 también en la computadora ---------- */
html body.brand-noticiasvgb article.article .article-video iframe{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;border:0!important}

/* ---------- Íconos del clima ---------- */
html body.brand-noticiasvgb #weather-icon{color:var(--h-blue-dark)!important;line-height:0}
html body.brand-noticiasvgb #weather-icon svg{width:46px;height:46px}
html body.brand-noticiasvgb #weather-forecast b{color:var(--h-blue-dark)!important;line-height:0}
html body.brand-noticiasvgb #weather-forecast b svg{width:24px;height:24px}

/* ---------- Pie en la computadora: datos en una línea, links debajo, libre del botón de WhatsApp ---------- */
@media(min-width:901px){
  html body.brand-noticiasvgb .cs-footer{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:baseline!important;gap:6px 22px!important;padding-right:340px!important}
  html body.brand-noticiasvgb .cs-footer>span{flex:0 1 auto!important;width:auto!important;min-width:0!important;white-space:nowrap}
  html body.brand-noticiasvgb .cs-footer>span:first-child{flex-basis:100%!important;white-space:normal}
  html body.brand-noticiasvgb .cs-footer-links{flex-basis:100%!important;margin-top:4px}
}

/* ---------- Publicidad fija de la barra lateral: no tapa las redes ---------- */
@media(min-width:901px){
  html body.brand-noticiasvgb:has(.cs-side-ad) .cs-side-bottom{display:none!important}
  html body.brand-noticiasvgb:has(.cs-side-ad) .cs-sidebar{padding-bottom:184px!important;scrollbar-width:none}
  html body.brand-noticiasvgb:has(.cs-side-ad) .cs-sidebar::-webkit-scrollbar{display:none}
}

/* ---------- Fotos dentro del texto: grande, mediana o chica (el texto la rodea) ---------- */
html body.brand-noticiasvgb .article-body{display:flow-root}
html body.brand-noticiasvgb .article-body .article-inline-photo{margin:30px 0!important}
html body.brand-noticiasvgb .article-body .article-inline-photo img{display:block;width:100%;height:auto;border-radius:10px}
html body.brand-noticiasvgb .article-body .article-inline-photo figcaption{padding:8px 2px 0;font-family:var(--h-sans);font-size:13px;line-height:1.45;color:var(--h-muted)}
html body.brand-noticiasvgb .article-body .article-inline-photo.photo-m{width:66%!important;margin-left:auto!important;margin-right:auto!important}
html body.brand-noticiasvgb .article-body .article-inline-photo.photo-s{float:right;width:42%!important;margin:6px 0 18px 28px!important}
@media(max-width:640px){
  html body.brand-noticiasvgb .article-body .article-inline-photo.photo-m,
  html body.brand-noticiasvgb .article-body .article-inline-photo.photo-s{float:none;width:100%!important;margin:24px 0!important}
}

/* ---------- Etiquetas al final de la nota ---------- */
html body.brand-noticiasvgb .article-body .article-tags-end{display:flex!important;flex-wrap:wrap!important;gap:8px!important;clear:both;margin:34px 0 6px!important;padding:18px 0 0!important;border-top:1px solid var(--h-line)!important;background:none!important}
html body.brand-noticiasvgb .article-body .article-tags-end a{display:inline-block;padding:6px 13px!important;border:1px solid var(--h-line)!important;border-radius:999px!important;background:var(--h-cream)!important;font-family:var(--h-sans)!important;font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--h-blue-dark)!important;text-decoration:none!important;transition:background-color .2s var(--h-ease),color .2s var(--h-ease),border-color .2s var(--h-ease)}
html body.brand-noticiasvgb .article-body .article-tags-end a:hover{background:var(--h-blue-dark)!important;border-color:var(--h-blue-dark)!important;color:var(--h-paper)!important}
html body.brand-noticiasvgb .article-body .article-tags-end a:focus-visible{outline:2px solid var(--h-focus)!important;outline-offset:2px}

/* ---------- Movimiento reducido ---------- */
@media(prefers-reduced-motion:reduce){
  html body.brand-noticiasvgb *,html body.brand-noticiasvgb *::before,html body.brand-noticiasvgb *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
