/* TUevento — Public UI System v5 | 2026-10-07
   Normaliza escala, header y lectura sin alterar lógica. */
@media (min-width:1051px){
  .site-header,.client-public-header{min-height:82px!important;padding:0 22px!important;display:flex!important;align-items:center!important}
  .site-header .header-inner,.client-public-header .inner{width:100%!important;max-width:1480px!important;margin:0 auto!important;padding:0 24px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;min-height:82px!important}
  .site-header .brand,.client-public-header .client-logo{font-size:27px!important;line-height:1!important;font-weight:950!important;letter-spacing:-1.2px!important;padding:0!important}
  .site-header .public-nav,.client-public-nav{display:flex!important;align-items:center!important;gap:6px!important;margin:0 auto!important}
  .site-header .public-nav a,.client-public-nav a{font-size:15px!important;line-height:1!important;font-weight:900!important;padding:11px 15px!important;border-radius:999px!important}
  .site-header .header-actions,.client-public-actions{display:flex!important;align-items:center!important;gap:9px!important}
  .site-header .header-actions .btn,.site-header .theme-toggle,.client-public-actions .theme-toggle,.client-public-actions a{min-height:44px!important;padding:0 17px!important;font-size:13px!important;font-weight:900!important;border-radius:999px!important}
  .site-header .theme-toggle::after{font-size:12px!important}

  body.home-page .section-head p,
  body.providers-page .page p,
  body.how-page .page p{font-size:15px;line-height:1.55}

  body.home-page .providers-grid{scroll-padding-left:0!important}
  body.home-page .provider-card-compact{flex-basis:310px!important}
  body.home-page .provider-card-compact .provider-body{min-height:238px!important}
  body.home-page .provider-card-compact .provider-desc{font-size:15px!important;line-height:1.52!important;min-height:69px!important;-webkit-line-clamp:3!important}
  body.home-page .provider-card-compact .provider-title-line h3{font-size:23px!important}

  body.provider-page .breadcrumbs,body.provider-page .hero,body.provider-page .main{max-width:1480px!important}
  body.provider-page .main{margin-top:30px!important}
  body.provider-page .card{padding:34px!important}
  body.provider-page .section-head h2{font-size:36px!important}
  body.provider-page .section-head p{font-size:15px!important}
  body.provider-page .text{font-size:17px!important;line-height:1.72!important}
  body.provider-page .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
  body.provider-page .service-grid:has(.service-card:only-child){grid-template-columns:minmax(0,1fr)!important}
  body.provider-page .service-grid .service-card:only-child{max-width:none!important}
  body.provider-page .service-card{padding:24px!important;gap:11px!important}
  body.provider-page .service-card h3{font-size:23px!important}
  body.provider-page .service-card p{font-size:15px!important;line-height:1.62!important}
  body.provider-page .price{font-size:13px!important;min-height:34px!important}
  body.provider-page details{padding:19px 20px!important}
  body.provider-page summary{font-size:15px!important}
  body.provider-page details p{font-size:15px!important}
  body.provider-page .zone{font-size:14px!important;min-height:40px!important}
  body.provider-page .side #consulta .form input,
  body.provider-page .side #consulta .form textarea{font-size:15px!important;min-height:52px!important;padding:15px 16px!important}
  body.provider-page .similar-track{gap:18px!important}
  body.provider-page .similar-card{flex-basis:310px!important}
  body.provider-page .similar-cover{height:190px!important}
}

@media (max-width:1050px) and (min-width:761px){
  .site-header .brand,.client-public-header .client-logo{font-size:26px!important}
}

@media (max-width:760px){
  .site-header,.client-public-header{min-height:68px!important}
  body.home-page .provider-card-compact .provider-desc{font-size:14px!important;line-height:1.5!important;-webkit-line-clamp:3!important;min-height:63px!important}
  body.provider-page .text{font-size:15px!important;line-height:1.65!important}
  body.provider-page .service-card p,body.provider-page details p{font-size:14px!important;line-height:1.6!important}
  body.provider-page .side #consulta .form input,body.provider-page .side #consulta .form textarea{font-size:16px!important}
}

/* TUevento V5.1 — refinamiento final de lectura y carruseles | 2026-10-07 */
@media (min-width:1051px){
  /* Destacados: cards parejas, 3 líneas reales y CTA alineado */
  body.home-page .providers-carousel-wrap{overflow:hidden!important}
  body.home-page .providers-grid{gap:18px!important;padding-left:0!important;padding-right:0!important;scroll-padding-left:0!important}
  body.home-page .provider-card-compact{flex:0 0 310px!important;height:auto!important;align-self:stretch!important}
  body.home-page .provider-card-compact .provider-body{display:flex!important;flex-direction:column!important;min-height:252px!important;height:252px!important}
  body.home-page .provider-card-compact .provider-title-line{min-height:50px!important;align-items:flex-start!important}
  body.home-page .provider-card-compact .provider-title-line h3{font-size:23px!important;line-height:1.08!important;-webkit-line-clamp:2!important}
  body.home-page .provider-card-compact .provider-desc{font-size:15px!important;line-height:1.52!important;height:68.4px!important;min-height:68.4px!important;max-height:68.4px!important;-webkit-line-clamp:3!important;margin:0!important}
  body.home-page .provider-card-compact .card-footer{margin-top:auto!important}

  /* Perfil: lectura cómoda sin sobredimensionar la interfaz */
  body.provider-page .section-head p{font-size:15px!important;line-height:1.6!important}
  body.provider-page .text{font-size:16px!important;line-height:1.68!important}
  body.provider-page .service-card p{font-size:15px!important;line-height:1.62!important}
  body.provider-page details p{font-size:15px!important;line-height:1.62!important}
}
