/* =====================================================================
   Blog / Legal GenExFEM — integrado con el estilo del sitio (style.css)
   Tipografías: Playfair Display (títulos) + Lato (texto)
   Paleta: azul #0C5578 · rosa #E8A2A8 · beige #F3E7DD
   ===================================================================== */
.gx-blog {
    --gx-azul: #0C5578; --gx-azul2: #157ea8; --gx-rosa: #E8A2A8; --gx-rosa2: #BF5B76; --gx-beige: #F3E7DD;
    --gx-beige2: #faf5f0; --gx-tinta: #2b3440; --gx-gris: #6b7480; --gx-linea: #eadfd5;
    --gx-sombra: 0 18px 45px rgba(12, 85, 120, .08);
}
.gx-blog main { position: relative; z-index: 1; }
.gx-crumb .breadcumb-wrapper__title { text-transform: none; }

/* ---------- Tipografía y utilidades ---------- */
.gx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font_Lato); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gx-rosa2); }
.gx-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gx-rosa); border-radius: 2px; }
.gx-section { padding: 70px 0; }

/* ---------- Botones (como los del sitio) ---------- */
.gx-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--gx-azul); color: #fff !important; font-family: var(--font_Playfair); font-weight: 600; font-size: 17px; padding: 10px 10px 10px 26px; border-radius: 999px; text-decoration: none; border: 0; transition: transform .25s, box-shadow .25s; box-shadow: 0 10px 25px rgba(12,85,120,.18); }
.gx-btn i { width: 38px; height: 38px; border-radius: 50%; background: var(--gx-rosa); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: transform .25s; }
.gx-btn:hover { transform: translateY(-2px); }
.gx-btn:hover i { transform: translateX(3px); }
.gx-btn--wa { background: #1faa53; padding: 12px 24px; box-shadow: 0 10px 25px rgba(31,170,83,.25); }
.gx-btn--wa i { width: auto; height: auto; background: none; font-size: 20px; }
.gx-btn--light { background: #fff; color: var(--gx-azul) !important; }

/* ---------- Intro del blog ---------- */
.gx-intro { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.gx-intro h1, .gx-intro h2 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; margin: 14px 0; line-height: 1.12; }
.gx-intro h1 em, .gx-intro h2 em { color: var(--gx-rosa2); font-style: italic; }
.gx-intro p { color: var(--gx-gris); font-size: 18px; }
.gx-search { position: relative; max-width: 560px; margin: 26px auto 18px; }
.gx-search i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--gx-azul); }
.gx-search input { width: 100%; border: 1px solid var(--gx-linea); background: #fff; border-radius: 999px; padding: 17px 22px 17px 52px; font-size: 16px; box-shadow: var(--gx-sombra); outline: none; }
.gx-search input:focus { border-color: var(--gx-rosa); }

/* ---------- Tarjeta destacada ---------- */
.gx-featured { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: var(--gx-sombra); text-decoration: none; color: inherit; margin-bottom: 50px; }
.gx-featured:hover { color: inherit; }
.gx-featured__img { position: relative; min-height: 380px; overflow: hidden; }
.gx-featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gx-featured:hover .gx-featured__img img { transform: scale(1.05); }
.gx-featured__body { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.gx-featured__body h2 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; margin: 0; }
.gx-featured__body p { color: var(--gx-gris); font-size: 16.5px; margin: 0; }
.gx-badge { position: absolute; top: 18px; left: 18px; background: rgba(255,255,255,.95); color: var(--gx-azul); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; z-index: 2; }
.gx-badge--pink { background: var(--gx-rosa2); color: #fff; }
@media (max-width: 991px) { .gx-featured { grid-template-columns: 1fr; } .gx-featured__img { min-height: 260px; } .gx-featured__body { padding: 30px 26px; } }

/* ---------- Temas ---------- */
.gx-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 26px; }
.gx-topic { background: rgba(255,255,255,.92); border: 1px solid var(--gx-linea); border-radius: 22px; padding: 18px 16px; text-align: left; cursor: pointer; transition: all .25s; }
.gx-topic:hover, .gx-topic.on { border-color: var(--gx-rosa); transform: translateY(-3px); box-shadow: var(--gx-sombra); }
.gx-topic.on { background: var(--gx-azul); }
.gx-topic.on b, .gx-topic.on span { color: #fff; }
.gx-topic i { width: 44px; height: 44px; border-radius: 14px; background: var(--gx-beige); color: var(--gx-rosa2); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 10px; }
.gx-topic b { display: block; font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 16.5px; line-height: 1.25; }
.gx-topic span { color: var(--gx-gris); font-size: 13px; }
.gx-list-head { display: flex; justify-content: space-between; align-items: end; gap: 14px; flex-wrap: wrap; margin: 40px 0 22px; }
.gx-list-head h2 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: clamp(28px, 3vw, 40px); margin: 6px 0 0; }
.gx-count { color: var(--gx-gris); font-size: 15px; }

/* ---------- Tarjetas de artículo ---------- */
.gx-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 26px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 10px 30px rgba(12,85,120,.06); transition: transform .3s, box-shadow .3s; }
.gx-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(12,85,120,.12); color: inherit; }
.gx-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gx-beige); }
.gx-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gx-card:hover .gx-card__img img { transform: scale(1.07); }
.gx-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gx-card__body h3 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 21px; line-height: 1.3; margin: 0; }
.gx-card__body p { color: var(--gx-gris); font-size: 15px; margin: 0; flex: 1; }
.gx-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--gx-linea); color: var(--gx-gris); font-size: 13px; }
.gx-arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--gx-beige); color: var(--gx-azul); display: inline-flex; align-items: center; justify-content: center; transition: all .25s; }
.gx-card:hover .gx-arrow { background: var(--gx-rosa); color: #fff; transform: rotate(-45deg); }
.gx-empty { text-align: center; padding: 40px 0; color: var(--gx-gris); }

/* ---------- Artículo ---------- */
.gx-art { padding: 60px 0 30px; }
.gx-art__head { max-width: 900px; }
.gx-art__head h1 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.12; margin: 14px 0 18px; }
.gx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--gx-gris); font-size: 14.5px; }
.gx-meta i { color: var(--gx-rosa2); margin-right: 6px; }
.gx-author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--gx-azul); }
.gx-author span { width: 40px; height: 40px; border-radius: 50%; background: var(--gx-azul); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.gx-author span i { color: #fff; margin: 0; }
.gx-cover { margin: 34px 0 40px; border-radius: 32px; overflow: hidden; box-shadow: var(--gx-sombra); aspect-ratio: 21 / 9; background: var(--gx-beige); }
.gx-cover img { width: 100%; height: 100%; object-fit: cover; }
.gx-content { background: #fff; border-radius: 30px; padding: 46px 48px; box-shadow: var(--gx-sombra); font-size: 17.5px; line-height: 1.8; color: var(--gx-tinta); }
@media (max-width: 767px) { .gx-content { padding: 28px 22px; font-size: 16.5px; } .gx-cover { aspect-ratio: 16 / 10; border-radius: 22px; } }
.gx-answer { position: relative; background: linear-gradient(135deg, var(--gx-beige), #fff7f2); border-radius: 22px; padding: 26px 28px 24px; margin-bottom: 34px; border-left: 5px solid var(--gx-rosa2); }
.gx-answer__t { font-family: var(--font_Lato); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 12.5px; color: var(--gx-rosa2); margin-bottom: 8px; }
.gx-answer p { margin: 0; font-size: 18px; color: var(--gx-tinta); }
.gx-content h2 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: clamp(25px, 2.4vw, 32px); font-weight: 700; margin: 38px 0 14px; line-height: 1.25; scroll-margin-top: 120px; }
.gx-content > section:first-of-type h2 { margin-top: 0; }
.gx-content p { margin-bottom: 16px; }
.gx-content ul, .gx-content ol { padding-left: 0; list-style: none; margin-bottom: 18px; }
.gx-content ul li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.gx-content ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gx-beige); color: var(--gx-rosa2); font-size: 10px; display: flex; align-items: center; justify-content: center; }
.gx-content ol { counter-reset: gxol; }
.gx-content ol li { position: relative; padding-left: 40px; margin-bottom: 12px; counter-increment: gxol; }
.gx-content ol li::before { content: counter(gxol); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--gx-azul); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.gx-content a { color: var(--gx-rosa2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gx-content strong { color: var(--gx-azul); }
.ba-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 18px; overflow: hidden; font-size: 15px; margin: 18px 0 24px; display: block; overflow-x: auto; box-shadow: 0 0 0 1px var(--gx-linea); }
.ba-table thead th { background: var(--gx-azul); color: #fff; padding: 14px 16px; text-align: left; font-weight: 700; white-space: nowrap; }
.ba-table td { padding: 13px 16px; border-top: 1px solid var(--gx-linea); vertical-align: top; background: #fff; }
.ba-table tbody tr:nth-child(even) td { background: var(--gx-beige2); }
.ba-table td:first-child { font-weight: 700; color: var(--gx-azul); }
.gx-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(120deg, var(--gx-azul), var(--gx-azul2)); color: #fff; border-radius: 24px; padding: 24px 28px; margin: 30px 0; }
.gx-inline-cta b { font-family: var(--font_Playfair); font-size: 21px; display: block; }
.gx-inline-cta span { opacity: .9; font-size: 15px; }
.gx-content .gx-inline-cta a { color: #fff; text-decoration: none; }
.gx-faq details { border: 1px solid var(--gx-linea); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; background: var(--gx-beige2); transition: background .2s; }
.gx-faq details[open] { background: #fff; box-shadow: var(--gx-sombra); }
.gx-faq summary { font-family: var(--font_Playfair); font-weight: 700; color: var(--gx-azul); font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.gx-faq summary::-webkit-details-marker { display: none; }
.gx-faq summary::after { content: '+'; color: var(--gx-rosa2); font-size: 26px; line-height: 1; }
.gx-faq details[open] summary::after { content: '−'; }
.gx-faq p { margin: 12px 0 0; color: var(--gx-gris); }
.gx-sources ol li { font-size: 14.5px; }
.gx-content .gx-sources a { font-weight: 400; color: var(--gx-azul); }
.gx-disclaimer { font-size: 14px; color: var(--gx-gris); background: var(--gx-beige2); border-radius: 16px; padding: 14px 18px; margin-top: 26px; }
.gx-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--gx-linea); font-weight: 700; color: var(--gx-azul); }
.gx-content .gx-share a, .gx-share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gx-linea); background: #fff; color: var(--gx-azul); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: all .2s; }
.gx-content .gx-share a:hover, .gx-share button:hover { background: var(--gx-azul); color: #fff; }

/* ---------- Barra lateral ---------- */
.gx-side { display: grid; gap: 22px; }
.gx-box { background: #fff; border-radius: 26px; padding: 26px; box-shadow: var(--gx-sombra); }
.gx-box h4 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 20px; margin-bottom: 14px; }
.gx-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.gx-toc li { counter-increment: toc; border-bottom: 1px dashed var(--gx-linea); }
.gx-toc li:last-child { border-bottom: 0; }
.gx-toc a { display: flex; gap: 10px; padding: 10px 0; color: var(--gx-gris); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.gx-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gx-rosa2); font-weight: 800; font-size: 12px; padding-top: 2px; }
.gx-toc a:hover { color: var(--gx-azul); }
.gx-promo { position: relative; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, var(--gx-azul), var(--gx-azul2)); color: #fff; padding: 30px 26px; }
.gx-promo > * { position: relative; z-index: 1; }
.gx-promo h4 { color: #fff; font-family: var(--font_Playfair); font-size: 24px; }
.gx-promo p { opacity: .9; font-size: 15px; }
.gx-promo::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(232,162,168,.45), transparent 70%); right: -80px; top: -80px; }
.gx-shopbox { display: block; text-decoration: none; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--gx-sombra); color: inherit; }
.gx-shopbox img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gx-shopbox div { padding: 18px 22px 22px; }
.gx-shopbox b { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 19px; display: block; }
.gx-shopbox span { color: var(--gx-rosa2); font-weight: 700; font-size: 14px; }
.gx-related h2 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: clamp(28px, 3vw, 38px); }

/* ---------- Banda de llamado a la acción ---------- */
.gx-cta-band { padding: 30px 0 80px; position: relative; z-index: 1; }
.gx-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; background: linear-gradient(120deg, var(--gx-beige), #fff 70%); border: 1px solid var(--gx-linea); border-radius: 34px; padding: 42px 48px; box-shadow: var(--gx-sombra); }
.gx-cta-band__inner h2 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: clamp(28px, 3vw, 40px); margin: 10px 0 8px; }
.gx-cta-band__inner p { color: var(--gx-gris); margin: 0; font-size: 16.5px; }
.gx-cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) { .gx-cta-band__inner { padding: 30px 24px; } }

/* Las imágenes siempre llenan su recuadro (el CSS general del sitio fija alturas a las img) */
.gx-card__img img, .gx-featured__img img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.gx-cover { position: relative; }
.gx-cover img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.gx-shopbox img { height: auto !important; }

/* =====================================================================
   Estilo editorial sin fotografías: color + ícono por tema
   ===================================================================== */
.gx-c-fundamentos { --c1: #0C5578; --c2: #157ea8; }
.gx-c-peso { --c1: #9e4a68; --c2: #d98ba0; }
.gx-c-seguridad { --c1: #1f6f5c; --c2: #2fa38a; }
.gx-c-piel { --c1: #b8665a; --c2: #E8A2A8; }
.gx-c-recuperacion { --c1: #3d4c99; --c2: #7a8ce0; }
.gx-c-estetica { --c1: #8f4c7c; --c2: #d68cb8; }
.gx-c-anticoncepcion { --c1: #5b4296; --c2: #9b7fd6; }
.gx-c-menstrual { --c1: #b23b52; --c2: #ef8a9a; }
.gx-c-intima { --c1: #22707c; --c2: #6bc1cc; }
.gx-c-maternidad { --c1: #b0703a; --c2: #e6b07a; }
.gx-c-genexfem { --c1: #0C5578; --c2: #E8A2A8; }

/* Destacado + más leídos */
.gx-hero-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; margin-bottom: 50px; }
@media (max-width: 991px) { .gx-hero-grid { grid-template-columns: 1fr; } }
.gx-feat { position: relative; overflow: hidden; border-radius: 32px; padding: 50px 48px; color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--c1), var(--c2)); min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; box-shadow: 0 25px 60px rgba(12,85,120,.18); }
.gx-feat:hover { color: #fff; }
.gx-feat::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.12); top: -160px; right: -120px; }
.gx-feat::after { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.08); bottom: -110px; right: 140px; }
.gx-feat > * { position: relative; z-index: 1; }
.gx-feat__icon { position: absolute !important; top: 44px; right: 48px; font-size: 92px; opacity: .3; z-index: 0 !important; transition: transform .6s; }
.gx-feat:hover .gx-feat__icon { transform: rotate(-8deg) scale(1.08); }
.gx-feat .gx-eyebrow { color: #fff; }
.gx-feat .gx-eyebrow::before { background: #fff; }
.gx-feat h2 { font-family: var(--font_Playfair); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; margin: 0; color: #fff; max-width: 680px; }
.gx-feat p { opacity: .92; font-size: 17px; max-width: 620px; margin: 0; color: #fff; }
.gx-feat .gx-btn { align-self: flex-start; }
.gx-top { background: #fff; border-radius: 32px; padding: 30px 28px; box-shadow: var(--gx-sombra); }
.gx-top h3 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 24px; margin: 6px 0 14px; }
.gx-top ol { list-style: none; padding: 0; margin: 0; counter-reset: top; }
.gx-top li { counter-increment: top; border-bottom: 1px solid var(--gx-linea); }
.gx-top li:last-child { border-bottom: 0; }
.gx-top a { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 14px 0; text-decoration: none; }
.gx-top a::before { content: counter(top, decimal-leading-zero); font-family: var(--font_Playfair); font-size: 30px; font-weight: 700; color: var(--c2); line-height: 1; }
.gx-top b { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 16.5px; line-height: 1.3; font-weight: 700; }
.gx-top small { display: block; color: var(--gx-gris); font-size: 12.5px; margin-top: 3px; font-family: var(--font_Lato); font-weight: 400; }
.gx-top a:hover b { color: var(--gx-rosa2); }

/* Temas con color propio */
.gx-topic i { background: color-mix(in srgb, var(--c2) 18%, #fff); color: var(--c1); }
.gx-topic.on { background: linear-gradient(135deg, var(--c1), var(--c2)); border-color: transparent; }
.gx-topic.on i { background: rgba(255,255,255,.22); color: #fff; }

/* Tarjeta tipográfica */
.gx-tcard { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 26px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 10px 30px rgba(12,85,120,.06); transition: transform .3s, box-shadow .3s; }
.gx-tcard:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(12,85,120,.12); color: inherit; }
.gx-tcard__top { position: relative; overflow: hidden; height: 128px; padding: 20px 24px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.gx-tcard__top::after { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.12); right: -50px; top: -70px; }
.gx-tcard__num { font-family: var(--font_Playfair); font-size: 15px; font-weight: 700; opacity: .85; position: relative; z-index: 1; }
.gx-tcard__cat { font-weight: 800; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; position: relative; z-index: 1; }
.gx-tcard__icon { position: absolute; right: 22px; bottom: 14px; font-size: 54px; opacity: .35; z-index: 1; transition: transform .5s; }
.gx-tcard:hover .gx-tcard__icon { transform: rotate(-10deg) scale(1.12); opacity: .5; }
.gx-tcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gx-tcard__body h3 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 21px; line-height: 1.3; margin: 0; }
.gx-tcard__body p { color: var(--gx-gris); font-size: 15px; margin: 0; flex: 1; }
.gx-tcard .gx-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--gx-linea); color: var(--gx-gris); font-size: 13px; }
.gx-tcard:hover .gx-arrow { background: var(--c2); color: #fff; transform: rotate(-45deg); }

/* Cabecera del artículo sin foto */
.gx-arthero { position: relative; overflow: hidden; border-radius: 34px; padding: 56px 54px; margin-bottom: 40px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 25px 60px rgba(12,85,120,.16); }
.gx-arthero::before { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(255,255,255,.11); top: -200px; right: -140px; }
.gx-arthero::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.07); bottom: -130px; right: 220px; }
.gx-arthero > * { position: relative; z-index: 1; }
.gx-arthero__icon { position: absolute !important; right: 56px; top: 50%; transform: translateY(-50%); font-size: 130px; opacity: .22; }
.gx-arthero .gx-eyebrow { color: #fff; }
.gx-arthero .gx-eyebrow::before { background: #fff; }
.gx-arthero h1 { font-family: var(--font_Playfair); color: #fff; font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.12; margin: 14px 0 20px; max-width: 860px; }
.gx-arthero .gx-meta, .gx-arthero .gx-meta i, .gx-arthero .gx-author { color: #fff; }
.gx-arthero .gx-author span { background: rgba(255,255,255,.2); }
@media (max-width: 767px) { .gx-arthero { padding: 36px 26px; border-radius: 24px; } .gx-arthero__icon { display: none; } }
.gx-art .gx-answer { border-left-color: var(--c2); }
.gx-art .gx-answer__t { color: var(--c1); }

/* Caja de tienda sin foto */
.gx-shopcard { display: flex; gap: 16px; align-items: center; text-decoration: none; border-radius: 26px; padding: 22px; background: #fff; box-shadow: var(--gx-sombra); }
.gx-shopcard i { flex: 0 0 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.gx-shopcard b { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 18px; display: block; line-height: 1.25; }
.gx-shopcard span { color: var(--gx-rosa2); font-weight: 700; font-size: 14px; }
.gx-shopcard:hover b { color: var(--gx-rosa2); }

/* =====================================================================
   Páginas legales
   ===================================================================== */
.gx-lg-hero { position: relative; overflow: hidden; margin: 14px 14px 0; border-radius: 34px; padding: 34px 0 0; background: linear-gradient(135deg, #0C5578 0%, #157ea8 55%, #E8A2A8 140%); color: #fff; }
.gx-lg-hero::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.08); right: -160px; top: -220px; }
.gx-lg-hero::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(232,162,168,.25); left: -120px; bottom: -160px; }
.gx-lg-hero .container { position: relative; z-index: 1; }
.gx-lg-crumbs { font-size: 14px; opacity: .85; margin-bottom: 26px; }
.gx-lg-crumbs a { color: #fff; text-decoration: none; }
.gx-lg-crumbs span { margin: 0 8px; }
.gx-lg-hero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: end; }
@media (max-width: 991px) { .gx-lg-hero__grid { grid-template-columns: 1fr; } .gx-lg-hero { margin: 8px 8px 0; border-radius: 24px; } }
.gx-lg-icon { width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; font-size: 27px; margin-bottom: 18px; }
.gx-lg-hero h1 { font-family: var(--font_Playfair); color: #fff; font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; line-height: 1.08; margin: 0 0 12px; }
.gx-lg-hero p { font-size: 18px; opacity: .92; max-width: 560px; margin-bottom: 20px; color: #fff; }
.gx-lg-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.gx-lg-chips span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; }
.gx-lg-company { background: rgba(255,255,255,.95); color: var(--gx-tinta); border-radius: 24px; padding: 24px 26px; box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.gx-lg-company b { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 21px; display: block; margin-bottom: 10px; }
.gx-lg-company ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.gx-lg-company i { width: 22px; color: var(--gx-rosa2); }
.gx-lg-tabs { display: flex; gap: 6px; margin-top: 34px; overflow-x: auto; scrollbar-width: none; }
.gx-lg-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 20px 20px 0 0; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; background: rgba(255,255,255,.1); transition: background .2s; }
.gx-lg-tabs a:hover { background: rgba(255,255,255,.2); color: #fff; }
.gx-lg-tabs a.on { background: var(--gx-beige2); color: var(--gx-azul); }
.gx-lg-body { padding: 0 0 50px; }
.gx-lg-body > .container { background: var(--gx-beige2); border-radius: 0 0 34px 34px; padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 767px) { .gx-lg-body > .container { border-radius: 0 0 24px 24px; } }
.gx-lg-summary { background: #fff; border-radius: 26px; padding: 28px 30px; margin-bottom: 26px; box-shadow: var(--gx-sombra); border: 2px solid #f5dfe2; }
.gx-lg-summary__t { font-family: var(--font_Playfair); font-weight: 700; color: var(--gx-azul); font-size: 22px; margin-bottom: 14px; }
.gx-lg-summary__t i { color: #f0b429; margin-right: 6px; }
.gx-lg-summary ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.gx-lg-summary li { position: relative; padding-left: 32px; font-size: 16px; color: var(--gx-tinta); }
.gx-lg-summary li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #e9f7ef; color: #1f9d55; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.gx-lg-summary small { color: var(--gx-gris); }
.gx-lg-sec { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: #fff; border-radius: 24px; padding: 28px 30px; margin-bottom: 16px; box-shadow: 0 8px 26px rgba(12,85,120,.05); scroll-margin-top: 120px; }
@media (max-width: 575px) { .gx-lg-sec { grid-template-columns: 1fr; padding: 22px; } }
.gx-lg-num { width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--gx-azul), var(--gx-azul2)); color: #fff; font-family: var(--font_Playfair); font-weight: 700; font-size: 19px; display: inline-flex; align-items: center; justify-content: center; }
.gx-lg-sec h2 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 24px; margin: 8px 0 12px; }
.gx-lg-text { font-size: 16px; line-height: 1.75; color: var(--gx-tinta); }
.gx-lg-text p { margin-bottom: 12px; }
.gx-lg-text ul { padding-left: 0; list-style: none; margin-bottom: 12px; }
.gx-lg-text li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.gx-lg-text li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--gx-rosa); }
.gx-lg-text a { color: var(--gx-rosa2); font-weight: 700; }
.gx-lg-text strong { color: var(--gx-azul); }
.gx-lg-side { display: grid; gap: 18px; }
.gx-lg-index { background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--gx-sombra); }
.gx-lg-index b { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 20px; }
.gx-lg-index ol { list-style: none; counter-reset: li; padding: 0; margin: 12px 0 0; }
.gx-lg-index li { counter-increment: li; }
.gx-lg-index a { display: flex; gap: 10px; padding: 8px 0; color: var(--gx-gris); text-decoration: none; font-size: 14.5px; border-bottom: 1px dashed var(--gx-linea); }
.gx-lg-index li:last-child a { border-bottom: 0; }
.gx-lg-index a::before { content: counter(li, decimal-leading-zero); color: var(--gx-rosa2); font-weight: 800; font-size: 12px; padding-top: 2px; }
.gx-lg-index a:hover { color: var(--gx-azul); }
.gx-lg-help { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--gx-azul), var(--gx-azul2)); color: #fff; border-radius: 24px; padding: 28px 24px; text-align: center; }
.gx-lg-help > i { font-size: 32px; margin-bottom: 10px; color: var(--gx-rosa); }
.gx-lg-help b { font-family: var(--font_Playfair); font-size: 21px; display: block; }
.gx-lg-help p { opacity: .9; font-size: 14.5px; margin: 6px 0 16px; color: #fff; }
.gx-lg-mail { display: block; margin-top: 12px; color: #fff; opacity: .85; font-size: 13.5px; }
.gx-lg-other { background: #fff; border-radius: 24px; padding: 24px 26px; margin-top: 26px; }
.gx-lg-other b { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 20px; }
.gx-lg-other a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--gx-linea); border-radius: 18px; text-decoration: none; color: var(--gx-azul); font-weight: 700; font-size: 14.5px; height: 100%; transition: all .2s; }
.gx-lg-other a:hover { border-color: var(--gx-rosa); background: var(--gx-beige2); }
.gx-lg-other a i { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: var(--gx-beige); color: var(--gx-rosa2); display: inline-flex; align-items: center; justify-content: center; }

/* =====================================================================
   Experiencia de lectura (artículos)
   ===================================================================== */
.gx-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 9998; background: rgba(12,85,120,.08); }
.gx-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0C5578, #E8A2A8); transition: width .15s linear; border-radius: 0 4px 4px 0; }
.gx-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gx-tools__label { font-size: 13px; opacity: .85; margin-right: 2px; }
.gx-tools button, .gx-tools a { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13.5px; text-decoration: none; transition: background .2s; }
.gx-tools button:hover, .gx-tools a:hover { background: rgba(255,255,255,.28); color: #fff; }
.gx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: -10px 0 34px; }
.gx-stat { border-radius: 20px; padding: 18px 18px 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--c2, #E8A2A8) 12%, #fff), #fff); border: 1px solid color-mix(in srgb, var(--c2, #E8A2A8) 25%, #fff); }
.gx-stat b { display: block; font-family: var(--font_Playfair); font-size: 30px; line-height: 1.05; color: var(--c1, #0C5578); margin-bottom: 6px; }
.gx-stat span { font-size: 13.5px; line-height: 1.45; color: var(--gx-gris); display: block; }
.gx-studies { margin-top: 10px; }
.gx-studies__intro { color: var(--gx-gris); font-size: 15.5px; }
.gx-content a.gx-study { display: grid; grid-template-columns: 42px 1fr 22px; gap: 14px; align-items: start; padding: 18px 20px; margin-bottom: 12px; border-radius: 20px; border: 1px solid var(--gx-linea); background: var(--gx-beige2); text-decoration: none; color: var(--gx-tinta); font-weight: 400; transition: all .2s; }
.gx-content a.gx-study:hover { background: #fff; border-color: var(--c2, #E8A2A8); box-shadow: var(--gx-sombra); transform: translateY(-2px); }
.gx-study__n { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--c1, #0C5578), var(--c2, #157ea8)); color: #fff; font-family: var(--font_Playfair); font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.gx-study__body b { display: block; font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 18px; line-height: 1.3; }
.gx-study__body small { display: block; color: var(--gx-gris); font-size: 13px; margin: 3px 0 6px; }
.gx-study__body small i { margin-right: 4px; color: var(--c2, #E8A2A8); }
.gx-study__body > span { display: block; font-size: 15.5px; line-height: 1.6; }
.gx-study__go { color: var(--gx-gris); margin-top: 6px; }
.gx-content details.gx-sources { border: 1px solid var(--gx-linea); border-radius: 18px; padding: 16px 20px; margin-top: 26px; background: #fff; }
.gx-content details.gx-sources summary { cursor: pointer; font-weight: 700; color: var(--gx-azul); list-style: none; }
.gx-content details.gx-sources summary::-webkit-details-marker { display: none; }
.gx-content details.gx-sources summary i { color: var(--c2, #E8A2A8); margin-right: 6px; }
.gx-content details.gx-sources ol { margin: 14px 0 0; }
.gx-useful { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding: 18px 22px; border-radius: 18px; background: var(--gx-beige2); }
.gx-useful b { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 18px; }
.gx-useful button { border: 1px solid var(--gx-linea); background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--gx-azul); margin-left: 6px; transition: all .2s; }
.gx-useful button:hover { background: var(--gx-azul); color: #fff; }
.gx-useful p { margin: 0; font-size: 15px; }
.gx-toc a.on { color: var(--gx-azul); font-weight: 700; }
.gx-toc a.on::before { color: var(--gx-azul); }
.gx-toc li:has(a.on) { background: linear-gradient(90deg, var(--gx-beige2), transparent); border-radius: 10px; }
.gx-toc__time { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gx-linea); font-size: 13.5px; color: var(--gx-rosa2); font-weight: 700; }
.gx-toc-mobile { background: #fff; border-radius: 20px; padding: 14px 18px; margin-bottom: 16px; box-shadow: var(--gx-sombra); }
.gx-toc-mobile summary { font-weight: 700; color: var(--gx-azul); cursor: pointer; list-style: none; }
.gx-toc-mobile summary i { color: var(--gx-rosa2); margin-right: 6px; }
.gx-toc-mobile ol { margin: 12px 0 4px; padding-left: 20px; }
.gx-toc-mobile a { color: var(--gx-gris); text-decoration: none; display: block; padding: 5px 0; }
.gx-toc-mobile a.on { color: var(--gx-azul); font-weight: 700; }

/* =====================================================================
   Blog: "Ver más"
   ===================================================================== */
.gx-more-wrap { text-align: center; margin-top: 34px; }
.gx-more { border: 0; }
.gx-more-info { display: block; color: var(--gx-gris); font-size: 14px; margin-top: 12px; }
.gx-item.gx-hide { display: none !important; }
.gx-item.gx-in { animation: gxIn .45s ease both; }
@keyframes gxIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   Páginas legales: interactividad
   ===================================================================== */
.gx-lg-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.gx-lg-search { position: relative; flex: 1 1 320px; }
.gx-lg-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gx-azul); }
.gx-lg-search input { width: 100%; border: 1px solid var(--gx-linea); border-radius: 999px; padding: 13px 18px 13px 46px; background: #fff; font-size: 15px; outline: none; box-shadow: 0 6px 18px rgba(12,85,120,.05); }
.gx-lg-search input:focus { border-color: var(--gx-rosa); }
.gx-lg-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gx-lg-actions button { border: 1px solid var(--gx-linea); background: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 14px; color: var(--gx-azul); transition: all .2s; }
.gx-lg-actions button:hover { background: var(--gx-azul); color: #fff; border-color: var(--gx-azul); }
.gx-lg-actions i { margin-right: 4px; }
.gx-lg-noresult { background: #fff; border-radius: 18px; padding: 16px 20px; color: var(--gx-gris); }
.gx-lg-head { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 24px; font-weight: 700; line-height: 1.3; }
.gx-lg-head:focus-visible { outline: 2px solid var(--gx-rosa); outline-offset: 4px; border-radius: 6px; }
.gx-lg-head i { font-size: 15px; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--gx-beige2); color: var(--gx-rosa2); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s; }
.gx-lg-sec.closed .gx-lg-head i { transform: rotate(-90deg); }
.gx-lg-sec.closed .gx-lg-text { display: none; }
.gx-lg-sec.closed { padding-bottom: 20px; }
.gx-lg-sec h2 { margin-bottom: 10px; }
.gx-lg-text mark { background: #ffe58f; color: inherit; padding: 0 2px; border-radius: 3px; }
.gx-lg-index a.on { color: var(--gx-azul); font-weight: 700; }
.gx-lg-index li:has(a.on) { background: linear-gradient(90deg, var(--gx-beige2), transparent); border-radius: 10px; }

/* Versión para imprimir o guardar en PDF */
@media print {
    header, footer, .gx-cta-band, .gx-lg-side, .gx-lg-tabs, .gx-lg-toolbar, .gx-toc-mobile, .floating-whatsapp-btn, .gx-cookies, .progress-wrap, aside.fix, .offcanvas-overlay, .gx-lg-other, .gx-lg-crumbs { display: none !important; }
    body { background: #fff !important; }
    .gx-lg-hero { background: none !important; color: #000 !important; margin: 0 !important; padding: 0 !important; }
    .gx-lg-hero h1, .gx-lg-hero p { color: #000 !important; }
    .gx-lg-hero::before, .gx-lg-hero::after { display: none !important; }
    .gx-lg-company { box-shadow: none !important; border: 1px solid #ccc; }
    .gx-lg-body > .container { background: #fff !important; padding: 0 !important; }
    .col-lg-8 { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
    .gx-lg-sec, .gx-lg-summary { box-shadow: none !important; border: 1px solid #ddd; break-inside: avoid; }
    .gx-lg-sec.closed .gx-lg-text { display: block !important; }
    .gx-lg-head i { display: none !important; }
    #smooth-wrapper, #smooth-content { transform: none !important; position: static !important; height: auto !important; overflow: visible !important; }
}

/* =====================================================================
   Blog: barra de filtros compacta (reemplaza la cuadrícula de temas)
   ===================================================================== */
.gx-filterbar { background: #fff; border-radius: 30px; padding: 30px 32px 22px; margin: 10px 0 30px; box-shadow: var(--gx-sombra); }
.gx-filterbar__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.gx-filterbar__top h2 { font-family: var(--font_Playfair); color: var(--gx-azul); font-size: clamp(28px, 3vw, 40px); margin: 6px 0 2px; line-height: 1.1; }
.gx-filterbar .gx-count { font-size: 14px; }
.gx-fsearch { position: relative; flex: 0 1 420px; width: 100%; }
.gx-fsearch i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--gx-azul); }
.gx-fsearch input { width: 100%; border: 1px solid var(--gx-linea); background: var(--gx-beige2); border-radius: 999px; padding: 15px 20px 15px 50px; font-size: 15.5px; outline: none; transition: all .2s; }
.gx-fsearch input:focus { background: #fff; border-color: var(--gx-rosa); box-shadow: 0 0 0 4px rgba(232,162,168,.18); }
.gx-pillrow { position: relative; display: flex; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px solid var(--gx-linea); }
.gx-pills2 { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px; flex: 1; }
.gx-pills2::-webkit-scrollbar { display: none; }
.gx-pillrow.fade-l .gx-pills2 { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.gx-pillrow.fade-r .gx-pills2 { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.gx-pillrow.fade-l.fade-r .gx-pills2 { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.gx-filterbar .gx-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; padding: 9px 10px 9px 10px; border-radius: 999px; border: 1px solid var(--gx-linea); background: #fff; cursor: pointer; transition: all .2s; transform: none; box-shadow: none; }
.gx-filterbar .gx-pill:hover { border-color: var(--c2); background: color-mix(in srgb, var(--c2) 8%, #fff); transform: none; box-shadow: none; }
.gx-filterbar .gx-pill i { width: 30px; height: 30px; margin: 0; border-radius: 50%; font-size: 13px; background: color-mix(in srgb, var(--c2) 18%, #fff); color: var(--c1); display: inline-flex; align-items: center; justify-content: center; }
.gx-filterbar .gx-pill b { font-family: var(--font_Lato); font-weight: 700; font-size: 14.5px; color: var(--gx-tinta); white-space: nowrap; display: inline; }
.gx-filterbar .gx-pill em { font-style: normal; font-weight: 800; font-size: 12px; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--gx-beige2); color: var(--gx-gris); display: inline-flex; align-items: center; justify-content: center; }
.gx-filterbar .gx-pill.on { background: linear-gradient(135deg, var(--c1), var(--c2)); border-color: transparent; box-shadow: 0 8px 20px color-mix(in srgb, var(--c1) 30%, transparent); }
.gx-filterbar .gx-pill.on b { color: #fff; }
.gx-filterbar .gx-pill.on i { background: rgba(255,255,255,.22); color: #fff; }
.gx-filterbar .gx-pill.on em { background: rgba(255,255,255,.25); color: #fff; }
.gx-pillnav { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gx-linea); background: #fff; color: var(--gx-azul); display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.gx-pillnav:hover { background: var(--gx-azul); color: #fff; }
.gx-pillnav.off { opacity: .3; pointer-events: none; }
@media (max-width: 767px) { .gx-filterbar { padding: 22px 18px 16px; border-radius: 24px; } .gx-pillnav { display: none; } .gx-fsearch { flex-basis: 100%; } }

/* =====================================================================
   Blog: fichas de temas (estilo editorial)
   ===================================================================== */
.gx-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; padding-top: 22px; border-top: 1px solid var(--gx-linea); }
.gx-filterbar .gx-tile { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; column-gap: 10px; row-gap: 12px; align-items: start; min-height: 128px; padding: 16px 16px 14px; margin: 0; text-align: left; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--c2) 22%, var(--gx-linea)); background: linear-gradient(165deg, color-mix(in srgb, var(--c2) 9%, #fff) 0%, #fff 70%); box-shadow: none; transform: none; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; }
.gx-filterbar .gx-tile::after { content: ""; position: absolute; right: -28px; top: -28px; width: 90px; height: 90px; border-radius: 50%; background: color-mix(in srgb, var(--c2) 12%, transparent); transition: transform .35s; }
.gx-filterbar .gx-tile:hover { transform: translateY(-4px); border-color: var(--c2); box-shadow: 0 14px 30px color-mix(in srgb, var(--c1) 16%, transparent); background: linear-gradient(165deg, color-mix(in srgb, var(--c2) 14%, #fff) 0%, #fff 75%); }
.gx-filterbar .gx-tile:hover::after { transform: scale(1.25); }
.gx-tile__ic { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, var(--c1), var(--c2)); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px color-mix(in srgb, var(--c1) 28%, transparent); }
.gx-filterbar .gx-tile .gx-tile__ic i { width: auto; height: auto; margin: 0; background: none; color: #fff; font-size: 16px; border-radius: 0; }
.gx-filterbar .gx-tile em { position: relative; z-index: 1; justify-self: end; font-style: normal; font-family: var(--font_Playfair); font-weight: 700; font-size: 30px; line-height: 1; color: var(--c1); opacity: .9; }
.gx-filterbar .gx-tile b { grid-column: 1 / -1; align-self: end; font-family: var(--font_Playfair); font-weight: 700; font-size: 17px; line-height: 1.22; color: var(--gx-azul); display: block; }
.gx-tile__bar { grid-column: 1 / -1; display: block; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--c2) 18%, #fff); overflow: hidden; }
.gx-tile__bar span { display: block; height: 100%; width: var(--p); border-radius: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.gx-filterbar .gx-tile.on { border-color: transparent; background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 16px 34px color-mix(in srgb, var(--c1) 32%, transparent); transform: translateY(-4px); }
.gx-filterbar .gx-tile.on::after { background: rgba(255,255,255,.14); }
.gx-filterbar .gx-tile.on .gx-tile__ic { background: rgba(255,255,255,.22); box-shadow: none; }
.gx-filterbar .gx-tile.on em, .gx-filterbar .gx-tile.on b { color: #fff; }
.gx-filterbar .gx-tile.on .gx-tile__bar { background: rgba(255,255,255,.25); }
.gx-filterbar .gx-tile.on .gx-tile__bar span { background: #fff; }
.gx-filterbar .gx-tile:focus-visible { outline: 3px solid var(--gx-rosa); outline-offset: 3px; }
@media (max-width: 767px) {
  .gx-tiles { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 158px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin: 0 -18px; padding-left: 18px; padding-right: 18px; scroll-snap-type: x mandatory; }
  .gx-tiles::-webkit-scrollbar { display: none; }
  .gx-filterbar .gx-tile { min-height: 116px; scroll-snap-align: start; }
  .gx-filterbar .gx-tile em { font-size: 26px; }
  .gx-filterbar .gx-tile b { font-size: 15.5px; }
}
/* La plantilla fuerza en móvil todos los <button> a inline-flex con !important: las fichas lo anulan */
@media (max-width: 991px) {
  .gx-filterbar .gx-tile { display: grid !important; align-items: start !important; justify-content: stretch !important; padding: 16px 16px 14px !important; border-radius: 20px !important; font-size: inherit !important; width: auto !important; min-height: 116px !important; }
}

/* Tablas: ancho completo en escritorio (en móvil siguen con desplazamiento horizontal) */
@media (min-width: 768px) { .ba-table { display: table; overflow: hidden; } }

/* Columna lateral del artículo: fija mientras se lee (sticky si no hay ScrollSmoother; con él, ScrollTrigger la fija) */
@media (min-width: 992px) {
  .gx-art aside.col-lg-4 { align-self: stretch; }
  .gx-side.gx-side--sticky { position: sticky; top: 110px; }
}
.gx-faqcard { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--gx-linea); text-decoration: none; transition: all .25s; box-shadow: var(--gx-sombra); }
.gx-faqcard:hover { border-color: var(--gx-rosa); transform: translateY(-2px); }
.gx-faqcard > i { flex: 0 0 46px; height: 46px; border-radius: 15px; background: color-mix(in srgb, var(--gx-rosa) 25%, #fff); color: var(--gx-rosa2); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }
.gx-faqcard b { display: block; font-family: var(--font_Playfair); color: var(--gx-azul); font-size: 16.5px; line-height: 1.25; }
.gx-faqcard span { font-size: 13.5px; color: var(--gx-gris); }
/* overflow:hidden en estos contenedores anula position:sticky; clip recorta igual sin crear contenedor de scroll */
body.gx-blog, body.gx-blog #smooth-wrapper, body.gx-blog #smooth-content, body.gx-blog main { overflow: visible !important; overflow-x: clip !important; }
@media (min-width: 992px) { .gx-lg-side { position: sticky; top: 110px; } }
