.rtmhp-header-wrap{background:#2f3b4a;color:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 6px 18px rgba(15,23,42,.08)}
.rtmhp-utility-bar{background:#243243;color:#fff;font-size:.92rem}
.rtmhp-utility-inner{max-width:1280px;margin:0 auto;padding:8px 20px;display:flex;gap:18px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.rtmhp-utility-inner a{color:#fff;text-decoration:none;opacity:.94}
.rtmhp-utility-inner a:hover{opacity:1}
.rtmhp-utility-donate{font-weight:800}
.rtmhp-header-bar{max-width:1280px;margin:0 auto;display:flex;align-items:center;gap:20px;padding:18px 20px;position:relative}
.rtmhp-brand{display:flex;flex-direction:column;min-width:270px;text-decoration:none;color:#fff}
.rtmhp-logo{font-size:2rem;font-weight:800;line-height:1.1}
.rtmhp-tagline{font-size:.95rem;opacity:.92;line-height:1.25}
.rtmhp-search-form{flex:1;display:flex;align-items:center;gap:0;min-width:280px}
.rtmhp-search-input{flex:1;height:48px;border:0;border-radius:12px 0 0 12px;padding:0 16px;font-size:1rem}
.rtmhp-search-btn{height:48px;border:0;background:#f59d2a;color:#fff;padding:0 20px;border-radius:0 12px 12px 0;font-weight:800;cursor:pointer}
.rtmhp-search-btn:hover{background:#e18d22}
.rtmhp-actions{display:flex;align-items:center}
.rtmhp-donate{background:#f59d2a;color:#fff;text-decoration:none;font-weight:800;padding:12px 16px;border-radius:10px;white-space:nowrap}
.rtmhp-donate:hover{background:#e18d22}
.rtmhp-nav-row{border-top:1px solid rgba(255,255,255,.08)}
.rtmhp-nav{max-width:1280px;margin:0 auto}
.rtmhp-top-level{display:flex;gap:8px;list-style:none;margin:0;padding:12px 20px;align-items:center;justify-content:center;flex-wrap:wrap}
.rtmhp-item{position:relative}
.rtmhp-link{display:block;color:#fff;text-decoration:none;font-weight:620;padding:12px 14px;border-radius:10px}
.rtmhp-link:hover,.rtmhp-item:hover>.rtmhp-link{background:rgba(255,255,255,.08)}
.rtmhp-mega{display:none;position:absolute;left:50%;transform:translateX(-50%);top:100%;width:min(1200px,96vw);z-index:999}
.rtmhp-item:hover .rtmhp-mega,.rtmhp-item:focus-within .rtmhp-mega{display:block}
.rtmhp-mega-inner{background:#fff;color:#0f172a;border-radius:18px;box-shadow:0 20px 48px rgba(15,23,42,.14);padding:22px;max-height:min(70vh,760px);overflow:auto;overscroll-behavior:contain}
.rtmhp-mega-head{font-size:1.35rem;font-weight:800;margin-bottom:16px}
.rtmhp-mega-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.rtmhp-mega-col{min-width:0}
.rtmhp-mega-col-title{display:block;font-weight:800;font-size:1rem;color:#0f172a;text-decoration:none;margin-bottom:10px}
.rtmhp-mega-col-title:hover{color:#f59d2a}
.rtmhp-mega-sublist{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rtmhp-mega-sublist a{color:#334155;text-decoration:none}
.rtmhp-mega-sublist a:hover{color:#f59d2a}
.rtmhp-mega-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rtmhp-mega-card{display:flex;align-items:center;min-height:72px;padding:16px 18px 31px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;text-decoration:none;color:#0f172a;font-weight:620;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.rtmhp-mega-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.08);border-color:#cbd5e1;color:#f59d2a}
.rtmhp-mobile-toggle{display:none;background:transparent;color:#fff;border:0;font-size:1.7rem}
.rtmhp-mobile-panel{display:none;background:#243243;padding:16px 20px}
.rtmhp-mobile-panel.is-open{display:block}
.rtmhp-mobile-list,.rtmhp-mobile-list ul{list-style:none;margin:0;padding:0}
.rtmhp-mobile-list li{padding:8px 0}
.rtmhp-mobile-list a{color:#fff;text-decoration:none}
.rtmhp-mega-inner::-webkit-scrollbar{width:10px}
.rtmhp-mega-inner::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}
.rtmhp-mega-inner::-webkit-scrollbar-track{background:#f8fafc}
@media (max-width: 1024px){
  .rtmhp-header-wrap{position:relative}
  .rtmhp-header-bar{flex-wrap:wrap}
  .rtmhp-actions{display:none}
  .rtmhp-search-form{order:3;width:100%}
  .rtmhp-mega{width:min(94vw,1000px)}
  .rtmhp-mega-columns,.rtmhp-mega-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 768px){
  .rtmhp-utility-bar,.rtmhp-nav-row{display:none}
  .rtmhp-mobile-toggle{display:block;margin-left:auto}
  .rtmhp-mobile-panel .rtmhp-search-form{display:flex}
  .rtmhp-logo{font-size:1.6rem}
  .rtmhp-tagline{font-size:.88rem}
  .rtmhp-search-form{min-width:100%}
}


.rtmhp-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rtmhp-cart{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;background:rgba(255,255,255,.12);color:#fff;text-decoration:none;font-weight:620;white-space:nowrap}
.rtmhp-cart:hover{background:rgba(255,255,255,.18)}
.rtmhp-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#f59d2a;color:#fff;font-size:.82rem;font-weight:800}
.rtmhp-mobile-actions{display:flex;gap:12px;align-items:center;margin:0 0 14px}
@media (max-width: 1024px){
  .rtmhp-cart-text{display:none}
}
@media (max-width: 768px){
  .rtmhp-mobile-actions .rtmhp-cart-text{display:inline}
}


/* v1.4.1 cart polish */
.rtmhp-actions{gap:9px;flex-wrap:nowrap}
.rtmhp-cart{gap:7px;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.08);font-weight:620;line-height:1}
.rtmhp-cart-icon{font-size:.95rem;opacity:.9}
.rtmhp-cart-text{font-size:.98rem}
.rtmhp-cart-count{min-width:20px;height:20px;padding:0 5px;font-size:.78rem}
.rtmhp-donate{padding:11px 15px;border-radius:12px}
@media (max-width: 1200px){
  .rtmhp-cart-text{display:none}
  .rtmhp-cart{padding:9px 10px}
}


/* v1.5.0 scope selector */
.rtmhp-search-form{display:flex;align-items:center;min-width:280px}
.rtmhp-search-scope{height:48px;border:0;border-right:1px solid #dbe3ea;border-radius:12px 0 0 12px;padding:0 14px;background:#f8fafc;color:#334155;font-weight:620;max-width:175px}
.rtmhp-search-form .rtmhp-search-scope + .rtmhp-search-input{border-radius:0}
.rtmhp-search-input{min-width:0}
.rtmhp-cart{padding:8px 11px}
.rtmhp-cart-text{font-size:.95rem}
.rtmhp-actions{gap:10px}
@media (max-width: 1200px){
  .rtmhp-search-scope{max-width:150px;font-size:.92rem}
}
@media (max-width: 1024px){
  .rtmhp-search-scope{max-width:100%;border-radius:12px 12px 0 0;border-right:0;border-bottom:1px solid #dbe3ea;height:44px}
  .rtmhp-search-form{flex-wrap:wrap}
  .rtmhp-search-form .rtmhp-search-scope + .rtmhp-search-input{border-radius:0 0 0 12px}
}


/* v1.5.1 header polish */
.rtmhp-header-bar{gap:16px}
.rtmhp-brand{flex:0 1 clamp(270px,24vw,430px);min-width:0;max-width:430px}
.rtmhp-search-form{flex:1 1 620px;min-width:320px}
.rtmhp-search-scope{max-width:142px;padding:0 12px;font-size:.94rem}
.rtmhp-search-input{padding:0 14px;font-size:.98rem}
.rtmhp-search-btn{padding:0 18px;min-width:110px}
.rtmhp-actions{gap:8px;flex:0 0 auto}
.rtmhp-cart{padding:8px 10px;border-radius:11px;background:rgba(255,255,255,.09)}
.rtmhp-cart-text{font-size:.92rem}
.rtmhp-cart-count{min-width:18px;height:18px;padding:0 4px;font-size:.74rem}
.rtmhp-donate{padding:10px 14px;font-size:.97rem;border-radius:11px}
@media (max-width: 1360px){.rtmhp-cart-text{display:none}.rtmhp-cart{padding:8px 9px}.rtmhp-brand{flex-basis:300px}.rtmhp-search-form{flex-basis:520px}}
@media (max-width: 1200px){.rtmhp-search-form{flex-basis:460px}.rtmhp-search-scope{max-width:132px}}
@media (max-width: 1024px){.rtmhp-brand{flex-basis:100%;max-width:none}.rtmhp-search-form{flex-basis:100%;min-width:100%}.rtmhp-actions{display:none}}


/* absorbed from RTM Header v1.5.7 safe - desktop search width */
.rtmhp-utility-inner,
.rtmhp-header-bar,
.rtmhp-nav{
  max-width:1440px;
}
.rtmhp-header-bar{
  gap:14px;
}
.rtmhp-brand{
  flex:0 1 clamp(240px,18vw,340px);
  min-width:0;
  max-width:340px;
}
.rtmhp-search-form{
  flex:1 1 820px;
  min-width:560px;
  max-width:920px;
}
.rtmhp-search-scope{
  flex:0 0 168px;
  max-width:168px;
}
.rtmhp-search-input{
  flex:1 1 auto;
  min-width:0;
  padding:0 14px;
}
.rtmhp-actions{
  flex:0 0 auto;
  margin-left:auto;
  gap:9px;
}
.rtmhp-cart{
  padding:8px 10px;
}
.rtmhp-donate{
  padding:10px 12px;
  font-size:.94rem;
}
@media (max-width: 1500px){
  .rtmhp-utility-inner,
  .rtmhp-header-bar,
  .rtmhp-nav{
    max-width:1360px;
  }
  .rtmhp-brand{
    flex-basis:300px;
    max-width:300px;
  }
  .rtmhp-search-form{
    flex-basis:740px;
    min-width:500px;
    max-width:820px;
  }
}
@media (max-width: 1360px){
  .rtmhp-utility-inner,
  .rtmhp-header-bar,
  .rtmhp-nav{
    max-width:1280px;
  }
  .rtmhp-brand{
    flex-basis:280px;
    max-width:280px;
  }
  .rtmhp-search-form{
    flex-basis:640px;
    min-width:420px;
    max-width:none;
  }
  .rtmhp-search-scope{
    flex-basis:154px;
    max-width:154px;
  }
}
@media (max-width: 1200px){
  .rtmhp-search-form{
    flex-basis:520px;
    min-width:320px;
  }
}

/* v1.2.7.10.83 — Buscar solución: añade Empezar búsqueda y Soluciones y aprendizaje manteniendo estilo Crear y aportar */
.rtmhp-buscar-clean-grid > .rtmhp-mega .rtmhp-buscar-clean-inner{
  width:min(980px,calc(100vw - 36px));
  max-width:calc(100vw - 36px);
}
.rtmhp-buscar-clean-title{
  display:block!important;
  margin:0 0 10px;
  font-size:1.35rem;
  line-height:1.2;
  font-weight:900;
  color:#0f172a;
}
.rtmhp-buscar-learning-intro{
  margin:0 0 13px;
  padding:12px 14px 10px;
  border-top:1px solid #edf2f7;
  border-bottom:1px solid #edf2f7;
}
.rtmhp-buscar-learning-intro strong{
  display:block;
  margin:0 0 4px;
  font-size:1.12rem;
  line-height:1.22;
  font-weight:900;
  color:#0f172a;
}
.rtmhp-buscar-learning-intro span{
  display:block;
  font-size:.9rem;
  line-height:1.35;
  font-weight:650;
  color:#55657b;
}
.rtmhp-buscar-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.rtmhp-buscar-card{
  display:block;
  min-height:82px;
  box-sizing:border-box;
  padding:12px 16px 15px;
  border:1px solid #d9e2ec;
  border-radius:14px;
  background:#fff;
  color:#1f2a44!important;
  text-decoration:none!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.rtmhp-buscar-card-primary{
  background:#fff8eb;
  border-color:#f5a623;
}
.rtmhp-buscar-card-dark{
  background:#34475d;
  border-color:#34475d;
  color:#fff!important;
}
.rtmhp-buscar-card strong{
  display:block;
  margin:0 0 5px;
  font-size:1rem;
  line-height:1.25;
  color:#0f172a;
  font-weight:900;
}
.rtmhp-buscar-card span{
  display:block;
  font-size:.9rem;
  line-height:1.42;
  color:#55657b;
  font-weight:650;
}
.rtmhp-buscar-card-primary strong{
  color:#6d4a00;
}
.rtmhp-buscar-card-dark strong,
.rtmhp-buscar-card-dark span{
  color:#fff;
}
.rtmhp-buscar-card:hover,
.rtmhp-buscar-card:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  outline:none;
}
.rtmhp-buscar-card:not(.rtmhp-buscar-card-primary):not(.rtmhp-buscar-card-dark):hover,
.rtmhp-buscar-card:not(.rtmhp-buscar-card-primary):not(.rtmhp-buscar-card-dark):focus-visible{
  border-color:#f5a623;
  background:#fffaf0;
}
.rtmhp-buscar-route-note{
  margin:12px 0 0;
  padding:10px 12px;
  border:1px solid #f5a623;
  border-radius:12px;
  background:#fff8eb;
  color:#6d4a00;
  font-size:.92rem;
  line-height:1.55;
  font-weight:700;
}
.rtmhp-buscar-route-note strong{
  font-weight:900;
}
.rtmhp-buscar-route-note em{
  font-style:normal;
  opacity:.78;
  margin:0 4px;
}
@media (max-width:900px){
  .rtmhp-buscar-card-grid{grid-template-columns:1fr;}
  .rtmhp-buscar-card{min-height:auto;}
}


/* v1.2.7.10.80 — Academia: missing cards restored + lighter smaller text */
.rtmhp-academia-clean-grid > .rtmhp-mega .rtmhp-academia-clean-inner{
  width:min(980px,calc(100vw - 36px));
  max-width:calc(100vw - 36px);
}
.rtmhp-academia-clean-title{
  display:block!important;
  margin:0 0 8px;
  font-size:1.08rem;
  line-height:1.2;
  font-weight:800;
  color:#0f172a;
}
.rtmhp-academia-clean-subtitle{
  margin:0 0 12px;
  max-width:780px;
  font-size:.78rem;
  line-height:1.45;
  font-weight:560;
  color:#55657b;
}
.rtmhp-academia-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.rtmhp-academia-card{
  display:block;
  min-height:72px;
  box-sizing:border-box;
  padding:10px 13px 14px;
  border:1px solid #d9e2ec;
  border-radius:14px;
  background:#fff;
  color:#1f2a44!important;
  text-decoration:none!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.rtmhp-academia-card-primary{
  background:#fff8eb;
  border-color:#f5a623;
}
.rtmhp-academia-card-dark{
  background:#34475d;
  border-color:#34475d;
  color:#fff!important;
}
.rtmhp-academia-card strong{
  display:block;
  margin:0 0 4px;
  font-size:.82rem;
  line-height:1.24;
  color:#0f172a;
  font-weight:760;
}
.rtmhp-academia-card span{
  display:block;
  font-size:.72rem;
  line-height:1.38;
  color:#55657b;
  font-weight:560;
}
.rtmhp-academia-card-primary strong{
  color:#6d4a00;
}
.rtmhp-academia-card-dark strong,
.rtmhp-academia-card-dark span{
  color:#fff;
}
.rtmhp-academia-card:hover,
.rtmhp-academia-card:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  outline:none;
}
.rtmhp-academia-card:not(.rtmhp-academia-card-primary):not(.rtmhp-academia-card-dark):hover,
.rtmhp-academia-card:not(.rtmhp-academia-card-primary):not(.rtmhp-academia-card-dark):focus-visible{
  border-color:#f5a623;
  background:#fffaf0;
}
.rtmhp-academia-route-note{
  margin:12px 0 0;
  padding:9px 12px;
  border:1px solid #f5a623;
  border-radius:12px;
  background:#fff8eb;
  color:#6d4a00;
  font-size:.76rem;
  line-height:1.42;
  font-weight:620;
}
/* The legacy Academia mega CSS adds a second safety note with ::after.
   The curated Academia panel already has a public route note, so hide the legacy pseudo-note only here. */
.rtmhp-academia-clean-grid .rtmhp-mega-inner::after{
  content:none!important;
  display:none!important;
}
.rtmhp-academia-route-note strong{
  font-weight:760;
}
@media (max-width:900px){
  .rtmhp-academia-card-grid{grid-template-columns:1fr;}
  .rtmhp-academia-card{min-height:auto;}
}


/* v1.2.7.10.84 — Buscar solución: páginas propias + texto alineado con Academia */
.rtmhp-buscar-clean-grid > .rtmhp-mega .rtmhp-buscar-clean-inner{
  width:min(980px,calc(100vw - 36px));
  max-width:calc(100vw - 36px);
}
.rtmhp-buscar-clean-title{
  font-size:1.08rem;
  line-height:1.2;
  font-weight:800;
  margin:0 0 10px;
}
.rtmhp-buscar-learning-intro{
  margin:0 0 12px;
  padding:10px 12px;
}
.rtmhp-buscar-learning-intro strong{
  font-size:.84rem;
  line-height:1.25;
  font-weight:760;
}
.rtmhp-buscar-learning-intro span{
  font-size:.74rem;
  line-height:1.38;
  font-weight:560;
}
.rtmhp-buscar-card-grid{gap:9px;}
.rtmhp-buscar-card{
  min-height:72px;
  padding:10px 13px 14px;
}
.rtmhp-buscar-card strong{
  font-size:.82rem;
  line-height:1.24;
  font-weight:760;
  margin:0 0 4px;
}
.rtmhp-buscar-card span{
  font-size:.72rem;
  line-height:1.38;
  font-weight:560;
}
.rtmhp-buscar-route-note{
  font-size:.76rem;
  line-height:1.42;
  font-weight:620;
  padding:9px 12px;
}

/* v1.2.7.10.86 — Crear y aportar: Mis guías con página propia y estética coherente */
.rtmhp-crear-clean-grid > .rtmhp-mega .rtmhp-crear-clean-inner{
  width:min(980px,calc(100vw - 36px));
  max-width:calc(100vw - 36px);
}
.rtmhp-crear-clean-title{
  display:block!important;
  margin:0 0 8px;
  font-size:1.08rem;
  line-height:1.2;
  font-weight:800;
  color:#0f172a;
}
.rtmhp-crear-clean-subtitle{
  margin:0 0 12px;
  max-width:780px;
  font-size:.78rem;
  line-height:1.45;
  font-weight:560;
  color:#55657b;
}
.rtmhp-crear-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.rtmhp-crear-card{
  display:block;
  min-height:72px;
  box-sizing:border-box;
  padding:10px 13px 14px;
  border:1px solid #d9e2ec;
  border-radius:14px;
  background:#fff;
  color:#1f2a44!important;
  text-decoration:none!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.rtmhp-crear-card-primary{background:#fff8eb;border-color:#f5a623;}
.rtmhp-crear-card-dark{background:#34475d;border-color:#34475d;color:#fff!important;}
.rtmhp-crear-card strong{
  display:block;
  margin:0 0 4px;
  font-size:.82rem;
  line-height:1.24;
  color:#0f172a;
  font-weight:760;
}
.rtmhp-crear-card span{
  display:block;
  font-size:.72rem;
  line-height:1.38;
  color:#55657b;
  font-weight:560;
}
.rtmhp-crear-card-primary strong{color:#6d4a00;}
.rtmhp-crear-card-dark strong,.rtmhp-crear-card-dark span{color:#fff;}
.rtmhp-crear-card:hover,.rtmhp-crear-card:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  outline:none;
}
.rtmhp-crear-card:not(.rtmhp-crear-card-primary):not(.rtmhp-crear-card-dark):hover,
.rtmhp-crear-card:not(.rtmhp-crear-card-primary):not(.rtmhp-crear-card-dark):focus-visible{
  border-color:#f5a623;
  background:#fffaf0;
}
.rtmhp-crear-route-note{
  margin:12px 0 0;
  padding:9px 12px;
  border:1px solid #f5a623;
  border-radius:12px;
  background:#fff8eb;
  color:#6d4a00;
  font-size:.76rem;
  line-height:1.42;
  font-weight:620;
}
@media (max-width:900px){
  .rtmhp-crear-card-grid{grid-template-columns:1fr;}
  .rtmhp-crear-card{min-height:auto;}
}


/* v1.2.7.10.92 — Comunidad RTM: panel limpio, sin bloques repetidos, mismo lenguaje visual aprobado */
.rtmhp-comunidad-clean-grid > .rtmhp-mega .rtmhp-comunidad-clean-inner{
  width:min(980px,calc(100vw - 36px));
  max-width:calc(100vw - 36px);
}
.rtmhp-comunidad-clean-title{
  display:block!important;
  margin:0 0 8px;
  font-size:1.08rem;
  line-height:1.2;
  font-weight:800;
  color:#0f172a;
}
.rtmhp-comunidad-clean-subtitle{
  margin:0 0 12px;
  max-width:780px;
  font-size:.78rem;
  line-height:1.45;
  font-weight:560;
  color:#55657b;
}
.rtmhp-comunidad-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.rtmhp-comunidad-card{
  display:block;
  min-height:72px;
  box-sizing:border-box;
  padding:10px 13px 14px;
  border:1px solid #d9e2ec;
  border-radius:14px;
  background:#fff;
  color:#1f2a44!important;
  text-decoration:none!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.rtmhp-comunidad-card-primary{background:#fff8eb;border-color:#f5a623;}
.rtmhp-comunidad-card-dark{background:#34475d;border-color:#34475d;color:#fff!important;}
.rtmhp-comunidad-card strong{
  display:block;
  margin:0 0 4px;
  font-size:.82rem;
  line-height:1.24;
  color:#0f172a;
  font-weight:760;
}
.rtmhp-comunidad-card span{
  display:block;
  font-size:.72rem;
  line-height:1.38;
  color:#55657b;
  font-weight:560;
}
.rtmhp-comunidad-card-primary strong{color:#6d4a00;}
.rtmhp-comunidad-card-dark strong,.rtmhp-comunidad-card-dark span{color:#fff;}
.rtmhp-comunidad-card:hover,.rtmhp-comunidad-card:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  outline:none;
}
.rtmhp-comunidad-card:not(.rtmhp-comunidad-card-primary):not(.rtmhp-comunidad-card-dark):hover,
.rtmhp-comunidad-card:not(.rtmhp-comunidad-card-primary):not(.rtmhp-comunidad-card-dark):focus-visible{
  border-color:#f5a623;
  background:#fffaf0;
}
.rtmhp-comunidad-route-note{
  margin:12px 0 0;
  padding:9px 12px;
  border:1px solid #f5a623;
  border-radius:12px;
  background:#fff8eb;
  color:#6d4a00;
  font-size:.76rem;
  line-height:1.42;
  font-weight:620;
}
@media (max-width:900px){
  .rtmhp-comunidad-card-grid{grid-template-columns:1fr;}
  .rtmhp-comunidad-card{min-height:auto;}
}


/* v1.2.7.10.95 — Marketplace RTM: panel limpio, sin bloques repetidos, con todos los accesos útiles consolidados */
.rtmhp-marketplace-clean-grid > .rtmhp-mega .rtmhp-marketplace-clean-inner{
  width:min(1020px,calc(100vw - 36px));
  max-width:calc(100vw - 36px);
}
.rtmhp-marketplace-clean-title{
  display:block!important;
  margin:0 0 8px;
  font-size:1.08rem;
  line-height:1.2;
  font-weight:800;
  color:#0f172a;
}
.rtmhp-marketplace-clean-subtitle{
  margin:0 0 12px;
  max-width:820px;
  font-size:.78rem;
  line-height:1.45;
  font-weight:560;
  color:#55657b;
}
.rtmhp-marketplace-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.rtmhp-marketplace-card{
  display:block;
  min-height:70px;
  box-sizing:border-box;
  padding:10px 13px 13px;
  border:1px solid #d9e2ec;
  border-radius:14px;
  background:#fff;
  color:#1f2a44!important;
  text-decoration:none!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.rtmhp-marketplace-card-primary{background:#fff8eb;border-color:#f5a623;}
.rtmhp-marketplace-card-dark{background:#34475d;border-color:#34475d;color:#fff!important;}
.rtmhp-marketplace-card strong{
  display:block;
  margin:0 0 4px;
  font-size:.80rem;
  line-height:1.24;
  color:#0f172a;
  font-weight:760;
}
.rtmhp-marketplace-card span{
  display:block;
  font-size:.70rem;
  line-height:1.36;
  color:#55657b;
  font-weight:560;
}
.rtmhp-marketplace-card-primary strong{color:#6d4a00;}
.rtmhp-marketplace-card-dark strong,.rtmhp-marketplace-card-dark span{color:#fff;}
.rtmhp-marketplace-card:hover,.rtmhp-marketplace-card:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  outline:none;
}
.rtmhp-marketplace-card:not(.rtmhp-marketplace-card-primary):not(.rtmhp-marketplace-card-dark):hover,
.rtmhp-marketplace-card:not(.rtmhp-marketplace-card-primary):not(.rtmhp-marketplace-card-dark):focus-visible{
  border-color:#f5a623;
  background:#fffaf0;
}
.rtmhp-marketplace-route-note{
  margin:12px 0 0;
  padding:9px 12px;
  border:1px solid #f5a623;
  border-radius:12px;
  background:#fff8eb;
  color:#6d4a00;
  font-size:.76rem;
  line-height:1.42;
  font-weight:620;
}
@media (max-width:900px){
  .rtmhp-marketplace-card-grid{grid-template-columns:1fr;}
  .rtmhp-marketplace-card{min-height:auto;}
}


/* v1.2.7.10.98 — Health Guard viewport clamp for K/Header/HBF mega panels.
   Safety-only: keeps the approved visual style, but prevents hidden/hovered panels
   from becoming wider than the viewport or creating horizontal scroll. */
.rtmhp-header-wrap .rtmhp-mega,
.rtmhp-header-wrap .rtmhp-mega-inner,
.rtmhp-header-wrap .rtmhp-mega-inner *{
  box-sizing:border-box;
  min-width:0;
}
.rtmhp-header-wrap .rtmhp-mega{
  max-width:calc(100vw - 32px);
}
.rtmhp-header-wrap .rtmhp-mega-inner{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
}
.rtmhp-header-wrap .rtmhp-buscar-card-grid,
.rtmhp-header-wrap .rtmhp-academia-card-grid,
.rtmhp-header-wrap .rtmhp-crear-card-grid,
.rtmhp-header-wrap .rtmhp-comunidad-card-grid,
.rtmhp-header-wrap .rtmhp-marketplace-card-grid,
.rtmhp-header-wrap .rtmhp-hbf-grid{
  max-width:100%;
}
.rtmhp-header-wrap .rtmhp-buscar-card,
.rtmhp-header-wrap .rtmhp-academia-card,
.rtmhp-header-wrap .rtmhp-crear-card,
.rtmhp-header-wrap .rtmhp-comunidad-card,
.rtmhp-header-wrap .rtmhp-marketplace-card,
.rtmhp-header-wrap .rtmhp-hbf-card{
  min-width:0;
  overflow-wrap:anywhere;
}
