/* man2_promos v1.2.3 — banners tratosynegocios.es encima del pie */
.mp-wrap{margin-top:26px;margin-bottom:34px;font-family:Inter,system-ui,sans-serif}
.mp-row{display:grid;grid-template-columns:1fr;gap:22px;margin:0 0 22px}
@media (min-width:768px){.mp-row{grid-template-columns:1fr 1fr}}
.mp-box{display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow:hidden;border-radius:16px;padding:32px 34px 30px;min-height:320px;text-decoration:none!important;line-height:1.35;background:#fdfcf6;border:2px solid #05686a;color:#0b3d3c;box-shadow:0 6px 18px rgba(0,0,0,.10);transition:transform .15s,box-shadow .15s}
.mp-box:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.16);color:#0b3d3c}
.mp-tn2{border-color:#e59a12}
/* etiqueta PUBLICIDAD: estándar discreto (fondo blanco, texto gris, borde fino), igual en cajas, franja del pie y tarjeta lateral */
.mp-ad{position:absolute;top:12px;right:12px;z-index:2;background:#fff;color:#4b5563;font-size:12px;font-weight:600;letter-spacing:.6px;padding:4px 10px;border-radius:4px;text-transform:uppercase;border:1px solid #9ca3af;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.mp-photo{position:absolute;top:0;right:0;bottom:0;width:48%;overflow:hidden;pointer-events:none;border-radius:0 14px 14px 0}
.mp-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.mp-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fdfcf6 0%,rgba(253,252,246,.85) 22%,rgba(253,252,246,0) 60%)}
.mp-logo{position:relative;z-index:1;display:block;height:40px;margin-bottom:16px;max-width:52%}
.mp-logo img{height:40px;width:auto;max-width:100%;display:block;object-fit:contain;object-position:left}
.mp-box strong{position:relative;z-index:1;display:block;font-size:26px;line-height:1.25;margin-bottom:10px;max-width:52%;color:#0b3d3c}
.mp-box p{position:relative;z-index:1;margin:0 0 16px;font-size:17px;line-height:1.5;max-width:52%;color:#0b3d3c}
.mp-chips{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;max-width:52%}
.mp-chips span{display:inline-block;font-size:14px;font-weight:600;padding:5px 12px;border-radius:999px;background:#eef6f5;border:1px solid #05686a;color:#05686a}
.mp-tn2 .mp-chips span{background:#fff6e5;border-color:#e59a12;color:#8a5a00}
.mp-btn{position:relative;z-index:1;margin-top:auto;display:inline-block;color:#fff!important;background:#05686a;padding:14px 26px;border-radius:999px;font-weight:700;font-size:18px;box-shadow:0 3px 8px rgba(0,0,0,.18)}
.mp-tn2 .mp-btn{background:#e59a12}
/* franja ancha */
.mp-wrap-home{max-width:none;width:auto;padding:0;margin:24px 0 8px}
/* fila compacta de la portada (antes de Soportes) */
.mp-wrap-home .mp-row{gap:18px;margin:0}
.mp-wrap-home .mp-box{min-height:0;padding:18px 22px 16px;border-radius:14px}
.mp-wrap-home .mp-photo{width:44%}
.mp-wrap-home .mp-logo{height:26px;margin-bottom:8px}.mp-wrap-home .mp-logo img{height:26px}
.mp-wrap-home .mp-box strong{font-size:19px;margin-bottom:4px;max-width:54%}
.mp-wrap-home .mp-box p{font-size:14px;line-height:1.4;margin-bottom:10px;max-width:54%}
.mp-wrap-home .mp-chips{display:none}
.mp-wrap-home .mp-btn{font-size:14px;padding:9px 18px}
.mp-wrap-home .mp-ad{font-size:11px;padding:3px 9px}
.mp-wrap-foot{margin-top:22px;margin-bottom:22px}
.mp-wide{min-height:0;padding:22px 34px 22px}
.mp-wide .mp-photo{width:42%}
.mp-wide .mp-logo{height:32px;margin-bottom:10px;max-width:56%}.mp-wide .mp-logo img{height:32px}
.mp-wide strong{font-size:24px;margin-bottom:4px;max-width:56%}
.mp-wide p{font-size:16px;margin-bottom:14px;max-width:56%}
.mp-wide .mp-btn{margin-top:0;font-size:16px;padding:11px 22px}
/* móvil: foto abajo, texto a todo el ancho */
@media (max-width:767px){
  .mp-box,.mp-wide{padding:24px 22px 190px;min-height:0}
  .mp-wrap-home .mp-box{padding:18px 20px 150px}.mp-wrap-home .mp-photo{height:160px}
  .mp-photo,.mp-wide .mp-photo{top:auto;left:0;right:0;bottom:0;width:100%;height:200px;border-radius:0 0 14px 14px}
  .mp-photo::after{background:linear-gradient(180deg,#fdfcf6 0%,rgba(253,252,246,.7) 25%,rgba(253,252,246,0) 60%)}
  .mp-box strong,.mp-box p,.mp-chips,.mp-logo,.mp-wide strong,.mp-wide p,.mp-wide .mp-chips,.mp-wide .mp-logo{max-width:100%}
  .mp-box strong{font-size:22px}.mp-wide strong{font-size:22px}.mp-box p,.mp-wide p{font-size:16px}
}

/* ===== Lateral derecho de la portada: tarjeta publicitaria de tratos (custom.js v3.1, tratos:true) ===== */
.man2-rail__card--tn{flex:1.6 1 0;background:#fdfcf6;border:2px solid #05686a;padding:0 10px 10px;color:#0b3d3c}
.man2-rail__card--tn:hover{color:#0b3d3c}
.man2-rail__card--tn .man2-rail__badge.man2-rail__badge--ad{left:auto;right:9px;background:#fff;color:#4b5563;border:1px solid #9ca3af;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.12);font-size:10px;font-weight:600;padding:3px 8px;letter-spacing:.5px}
.man2-rail__card--tn .man2-rail__img{position:relative;margin:0 -10px 8px;border-radius:12px 12px 0 0;min-height:90px}
.man2-rail__card--tn .man2-rail__img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(253,252,246,0) 45%,#fdfcf6 100%)}
.man2-rail__tnlogo{display:block;position:relative;z-index:1;margin:-30px auto 6px;height:22px;width:auto}
.man2-rail__card--tn .man2-rail__t{color:#0b3d3c;font-size:14px}
.man2-rail__card--tn .man2-rail__d{color:#0b3d3c;opacity:.85;margin-bottom:8px}
.man2-rail__card--tn .man2-rail__btn{background:#05686a}

/* v1.2.3: dentro del <footer> el custom.css del tema fuerza los textos a azul marino (!important);
   estas reglas, más específicas, devuelven el blanco al botón y el gris a la etiqueta */
.footer .mp-box span.mp-btn,.page-footer .mp-box span.mp-btn,#footer .mp-box span.mp-btn,.footer .mp-box:hover span.mp-btn,#footer .mp-box:hover span.mp-btn{color:#fff!important}
.footer .mp-box span.mp-ad,#footer .mp-box span.mp-ad{color:#4b5563!important}
.footer .mp-box p,#footer .mp-box p,.footer .mp-box strong,#footer .mp-box strong{color:#0b3d3c!important}
