/* Generacionmente · portada nueva (2026-10-21) · prefijo gx- para no chocar con el tema */
.gx{--gx-wine:#7a1f2b;--gx-wine-d:#4a1019;--gx-ink:#2b1d1d;--gx-gold:#c9a24b;--gx-gold-l:#f3d99a;--gx-cream:#fbf6ee;--gx-line:#e6d9c0;--gx-muted:#5f4f48;--gx-or1:#ff8a00;--gx-or2:#ffb000;
  color:var(--gx-ink);font-size:1.0625rem;line-height:1.55}
main.wp-block-group>.gx{max-width:1120px;margin-left:auto;margin-right:auto}
.gx *,.gx *::before,.gx *::after{box-sizing:border-box}
.gx img,.gx video{max-width:100%;height:auto;display:block}
.gx a{color:var(--gx-wine);text-underline-offset:3px}
.gx h1,.gx h2,.gx h3{font-family:Trirong,Georgia,serif;line-height:1.2;margin:0}
.gx p{margin:0}
.gx-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gx section{margin-top:56px;scroll-margin-top:84px}
.gx section:first-child{margin-top:0}
.gx-h2{font-size:clamp(1.55rem,3.6vw,2.2rem);color:var(--gx-wine-d);margin-bottom:8px!important}
.gx-sub{color:var(--gx-muted);max-width:62ch;margin-bottom:22px!important}

/* botones */
.gx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;border-radius:999px;font-weight:800;font-size:1.02rem;text-decoration:none!important;cursor:pointer;border:2px solid transparent;transition:transform .15s,box-shadow .15s,background .15s;font-family:inherit;line-height:1.2;text-align:center}
.gx-btn:focus-visible,.gx a:focus-visible,.gx button:focus-visible,.gx input:focus-visible{outline:3px solid #1a5fb4;outline-offset:3px}
.gx-btn-main{background:linear-gradient(90deg,var(--gx-or1),var(--gx-or2));color:var(--gx-ink)!important;box-shadow:0 5px 0 #b86500}
.gx-btn-main:hover{transform:translateY(-2px);box-shadow:0 7px 0 #b86500}
.gx-btn-ghost{background:transparent;color:var(--gx-wine)!important;border-color:var(--gx-wine)}
.gx-btn-ghost:hover{background:var(--gx-wine);color:#fff!important}
.gx-btn-sm{min-height:44px;padding:9px 18px;font-size:.95rem}
.gx-hero .gx-btn-ghost{color:#fff!important;border-color:#fff}
.gx-hero .gx-btn-ghost:hover{background:#fff;color:var(--gx-wine-d)!important}

/* HERO con el vídeo de Ada */
.gx-hero{background:linear-gradient(135deg,var(--gx-wine) 0%,var(--gx-wine-d) 100%);color:#fff;border-radius:22px;padding:34px 24px 30px;text-align:center}
.gx-hero .gx-kicker{display:inline-block;background:var(--gx-gold);color:var(--gx-ink);border-radius:999px;padding:4px 16px;font-size:.88rem;font-weight:800;margin-bottom:12px}
.gx-hero h1{font-size:clamp(1.9rem,5.2vw,3.2rem);color:#fff;margin-bottom:8px}
.gx .gx-hero .gx-lead{font-size:1.15rem;color:#f7ead0;max-width:48ch;margin:0 auto 20px}
.gx-video{position:relative;max-width:960px;margin:0 auto;border-radius:18px;overflow:hidden;border:3px solid var(--gx-gold);background:#000;box-shadow:0 14px 40px rgba(0,0,0,.4)}
.gx-video video{width:100%;aspect-ratio:16/9;background:#000}
.gx-ai-badge{position:absolute;top:12px;left:12px;background:rgba(20,10,10,.82);color:#fff;border:1px solid var(--gx-gold-l);border-radius:999px;padding:5px 12px;font-size:.82rem;font-weight:700;pointer-events:none}
.gx-sound{position:absolute;right:12px;top:12px;min-height:46px;padding:9px 18px;border-radius:999px;border:2px solid #fff;background:linear-gradient(90deg,var(--gx-or1),var(--gx-or2));color:var(--gx-ink);font-weight:800;font-size:1rem;cursor:pointer;font-family:inherit}
.gx-sound:hover{filter:brightness(1.06)}
.gx .gx-note{font-size:.92rem;color:#f2e3c6;max-width:78ch;margin:14px auto 0}
.gx-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:20px}

/* buscador con lupa grande */
.gx-search{background:#fff;border:2px solid var(--gx-gold);border-radius:22px;padding:20px 18px;box-shadow:0 6px 22px rgba(60,30,20,.08)}
.gx-search form{display:flex;gap:10px;align-items:stretch}
.gx-search input[type=search]{flex:1;min-width:0;height:64px;border:2px solid var(--gx-line);border-radius:999px;padding:0 24px;font-size:1.12rem;font-family:inherit;color:var(--gx-ink);background:#fff;-webkit-appearance:none;appearance:none}
.gx-search input[type=search]:focus{border-color:var(--gx-wine)}
.gx-search input::placeholder{color:#7a6a62}
.gx-lupa{flex:0 0 64px;width:64px;height:64px;border-radius:50%;border:0;background:linear-gradient(135deg,var(--gx-or1),var(--gx-or2));color:var(--gx-ink);display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 0 #b86500}
.gx-lupa svg{width:30px;height:30px}
.gx-count{margin-top:12px;min-height:1.4em;color:var(--gx-muted);font-weight:600}
.gx-nores{display:none;margin-top:14px;padding:16px;border-radius:14px;background:#fff7e6;border:1px solid var(--gx-gold)}
.gx-nores.on{display:block}
.gx-nores .gx-btn{margin-top:10px}
.gx-atajos{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.gx-atajos a{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border-radius:999px;background:var(--gx-cream);border:1px solid var(--gx-line);color:var(--gx-wine-d);font-weight:700;text-decoration:none}
.gx-atajos a:hover{background:var(--gx-wine);color:#fff;border-color:var(--gx-wine)}

/* tarjetas */
.gx-grid{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.gx-card{background:#fff;border:1px solid var(--gx-line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(60,30,20,.06)}
.gx-card[hidden]{display:none}
.gx-card-img{aspect-ratio:16/10;background:#eee;overflow:hidden}
.gx-card-img img{width:100%;height:100%;object-fit:cover}
.gx-card-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.gx-chips{display:flex;flex-wrap:wrap;gap:6px}
.gx-chip{background:var(--gx-cream);border:1px solid var(--gx-line);border-radius:999px;padding:2px 10px;font-size:.8rem;font-weight:700;color:var(--gx-muted)}
.gx-card h3{font-size:1.25rem;color:var(--gx-wine-d)}
.gx-card h3 a{color:inherit;text-decoration:none}
.gx-card h3 a:hover{text-decoration:underline}
.gx-card p{color:var(--gx-muted);font-size:.98rem}
.gx-card-actions{margin-top:auto;padding-top:10px;display:flex;flex-direction:column;gap:8px}
.gx-card-actions .gx-row{display:flex;flex-wrap:wrap;gap:8px}
.gx-card-actions .gx-btn{flex:1 1 auto}
.gx-yt{font-size:.92rem;font-weight:700;display:inline-flex;align-items:center;gap:6px;min-height:36px}
.gx-small{font-size:.86rem;color:var(--gx-muted);margin-top:14px!important}

.gx-card-cta{background:linear-gradient(135deg,#fff7e6,#ffe9b8);border:2px dashed var(--gx-gold);justify-content:center;text-align:center}
.gx-card-cta .gx-card-body{align-items:center;justify-content:center;text-align:center;gap:12px;padding:28px 20px}
.gx-card-cta .gx-card-actions{align-items:stretch;width:100%;margin-top:0}

/* guías */
.gx-guias{grid-template-columns:repeat(6,minmax(0,1fr))}
.gx-guias .gx-card{grid-column:span 2}
.gx-guias .gx-card:nth-child(n+4){grid-column:span 3}

/* galería de Ada */
.gx-ada{display:grid;gap:22px;grid-template-columns:minmax(0,1fr)}
.gx-ada-txt{max-width:70ch}
.gx-gal{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}
.gx-gal figure{margin:0;position:relative;border-radius:16px;overflow:hidden;background:#222}
.gx-gal img{width:100%;aspect-ratio:16/10;object-fit:cover}
.gx-gal figcaption{position:absolute;left:0;right:0;bottom:0;padding:22px 12px 9px;background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,0));color:#fff;font-size:.88rem;font-weight:600}
.gx-gal .gx-tag{position:absolute;top:8px;left:8px;background:rgba(20,10,10,.82);color:#fff;border-radius:999px;padding:2px 10px;font-size:.74rem;font-weight:700}

/* blog y opiniones */
.gx-blog .gx-card-img{aspect-ratio:16/8}
.gx-date{font-size:.84rem;color:var(--gx-muted);font-weight:600}
.gx-ops{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.gx-op{background:#fff;border:1px solid var(--gx-line);border-left:6px solid var(--gx-gold);border-radius:16px;padding:18px 20px}
.gx-op h3{font-size:1.15rem;color:var(--gx-wine-d);margin-bottom:6px!important}
.gx-op .gx-lbl{display:inline-block;font-size:.78rem;font-weight:800;color:var(--gx-wine);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.gx-op p{color:var(--gx-muted);font-size:.97rem}
.gx-lectores{margin-top:22px;background:#fff7e6;border:1px dashed var(--gx-gold);border-radius:18px;padding:22px;display:grid;gap:12px}
.gx-lectores ul{margin:0;padding-left:1.2em;color:var(--gx-muted)}

/* cómo elegimos */
.gx-como{background:#fff;border:1px solid var(--gx-line);border-radius:18px;padding:22px 24px}
.gx-como ul{margin:10px 0 12px;padding-left:1.2em}
.gx-como li{margin:4px 0}

/* próximamente */
.gx-prox{background:linear-gradient(135deg,#2b1d1d 0%,var(--gx-wine-d) 100%);color:#f7ead0;border-radius:22px;padding:34px 24px;text-align:center}
.gx-prox h2{color:#fff;font-size:clamp(1.55rem,3.8vw,2.3rem)}
.gx-prox .gx-kicker{display:inline-block;background:var(--gx-gold);color:var(--gx-ink);border-radius:999px;padding:4px 16px;font-size:.88rem;font-weight:800;margin-bottom:12px}
.gx .gx-prox p{max-width:60ch;margin:10px auto 0}
.gx-prox-grid{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr));margin:22px auto 6px;max-width:760px}
.gx-prox-item{border:2px dashed rgba(243,217,154,.6);border-radius:16px;padding:22px 12px;display:grid;gap:8px;place-items:center;font-weight:800;color:var(--gx-gold-l)}
.gx-prox-item svg{width:34px;height:34px}
.gx-prox .gx-btn-ghost{color:#fff!important;border-color:#fff;margin-top:16px}
.gx-prox .gx-btn-ghost:hover{background:#fff;color:var(--gx-wine-d)!important}

/* contacto */
.gx-contacto{background:#fff;border:1px solid var(--gx-line);border-radius:22px;padding:26px 24px;display:grid;gap:14px}
.gx-contacto .gx-mail{font-size:clamp(1rem,4.6vw,1.25rem);font-weight:800;overflow-wrap:anywhere}
.gx-contacto .gx-row{display:flex;flex-wrap:wrap;gap:10px}

/* lupa flotante (móvil) */
.gx-fab{display:none;position:fixed;right:14px;bottom:16px;z-index:50;width:60px;height:60px;border-radius:50%;border:2px solid #fff;background:linear-gradient(135deg,var(--gx-or1),var(--gx-or2));color:var(--gx-ink);place-items:center;box-shadow:0 6px 18px rgba(0,0,0,.35);cursor:pointer}
.gx-fab svg{width:28px;height:28px}

@media (max-width:900px){
  .gx-grid,.gx-guias,.gx-ops{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gx-guias .gx-card,.gx-guias .gx-card:nth-child(n+4){grid-column:span 1}
  .gx-guias .gx-card:last-child{grid-column:span 2}
  .gx-gal{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .gx{font-size:1rem}
  .gx section{margin-top:44px}
  .gx-hero{padding:24px 14px 24px;border-radius:18px}
  .gx-grid,.gx-guias,.gx-ops{grid-template-columns:1fr}
  .gx-guias .gx-card:last-child{grid-column:span 1}
  .gx-gal{grid-template-columns:1fr 1fr;gap:10px}
  .gx-gal figcaption{font-size:.78rem;padding:16px 8px 6px}
  .gx-sound{top:8px;right:8px;min-height:44px;padding:8px 14px;font-size:.9rem}
  .gx-ai-badge{font-size:.74rem;top:8px;left:8px}
  .gx-search{padding:14px 12px}
  .gx-search input[type=search]{height:58px;font-size:1.02rem;padding:0 18px}
  .gx-lupa{flex-basis:58px;width:58px;height:58px}
  .gx-prox-grid{grid-template-columns:1fr}
  .gx-fab.on{display:grid}
  .gx-cta .gx-btn{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){.gx *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
