/* Campaña Friends: fotografía integrada y encuadres específicos por dispositivo. */
#bfRebrandAnnouncement[hidden]{display:none!important}
#bfRebrandAnnouncement{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:clamp(14px,3vw,34px);font-family:inherit;color:#16191f;isolation:isolate}
#bfRebrandAnnouncement *{box-sizing:border-box}
#bfRebrandAnnouncement .bf-rebrand-backdrop{position:absolute;inset:0;background:rgba(16,24,37,.58);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
#bfRebrandAnnouncement .bf-rebrand-panel{position:relative;display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);grid-template-areas:"photo details";width:min(820px,100%);height:auto;min-height:500px;max-height:calc(100dvh - 38px);overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.7);border-radius:27px;box-shadow:0 26px 100px rgba(10,32,63,.35);animation:bfRebrandIn .35s cubic-bezier(.16,1,.3,1) both}
/* La imagen llena la mitad visual del modal: sin marcos de fondo ni bandas laterales. */
#bfRebrandAnnouncement .bf-rebrand-media{grid-area:photo;position:relative;min-width:0;min-height:500px;align-self:stretch;overflow:hidden;background:#258cd7}
#bfRebrandAnnouncement .bf-rebrand-media picture{position:absolute;inset:0;display:block;width:100%;height:100%}
#bfRebrandAnnouncement .bf-rebrand-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;border:0}
#bfRebrandAnnouncement .bf-rebrand-content{grid-area:details;min-width:0;min-height:0;padding:clamp(29px,4vw,51px) clamp(26px,3vw,39px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;overflow-y:auto;overscroll-behavior:contain}
#bfRebrandAnnouncement .bf-rebrand-eyebrow{font-size:10px;font-weight:800;letter-spacing:.115em;text-transform:uppercase;color:#2177cf;margin-bottom:13px}
#bfRebrandAnnouncement h2{margin:0;color:#101b2d;font-size:clamp(27px,3vw,38px);line-height:1.1;letter-spacing:-.045em;font-weight:820}
#bfRebrandAnnouncement h2 span{color:#147bdb}
#bfRebrandAnnouncement p{margin:17px 0 0;color:#454c5a;font-size:14px;line-height:1.62}
#bfRebrandAnnouncement .bf-rebrand-details{margin-top:14px;color:#68707d;font-size:12.5px}
#bfRebrandAnnouncement .bf-rebrand-details strong{font-weight:800;color:#1e5da6}
#bfRebrandAnnouncement .bf-rebrand-ack{margin-top:26px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;min-width:170px;padding:0 20px;background:#137bda;color:#fff;border:0;border-radius:13px;font:inherit;font-size:13px;font-weight:760;cursor:pointer;transition:background .2s ease,transform .2s ease}
#bfRebrandAnnouncement .bf-rebrand-ack:hover{background:#075ba8;transform:translateY(-1px)}
#bfRebrandAnnouncement .bf-rebrand-ack svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#bfRebrandAnnouncement small{display:block;margin-top:14px;color:#86909d;font-size:11px;line-height:1.45}
#bfRebrandAnnouncement .bf-rebrand-close{position:absolute;top:16px;right:16px;z-index:3;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #e8eaef;background:#fff;color:#222;border-radius:50%;box-shadow:0 4px 20px rgba(20,29,45,.12);cursor:pointer;transition:background .2s ease}
#bfRebrandAnnouncement .bf-rebrand-close:hover{background:#f2f5fa}
#bfRebrandAnnouncement .bf-rebrand-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
#bfRebrandAnnouncement button:focus-visible{outline:3px solid rgba(33,131,234,.45);outline-offset:3px}
body.bf-rebrand-is-open{overflow:hidden!important}
@keyframes bfRebrandIn{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:640px){
 #bfRebrandAnnouncement{padding:12px 12px max(12px,env(safe-area-inset-bottom,12px));align-items:center}
 #bfRebrandAnnouncement .bf-rebrand-panel{display:flex;flex-direction:column;width:min(410px,100%);min-height:0;max-height:min(92dvh,760px);border-radius:24px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;grid-template-areas:none}
 #bfRebrandAnnouncement .bf-rebrand-media{position:relative;width:100%;height:clamp(225px,35dvh,310px);min-height:0;flex:0 0 auto;background:#2593dd}
 #bfRebrandAnnouncement .bf-rebrand-media picture{position:absolute;inset:0;width:100%;height:100%}
 #bfRebrandAnnouncement .bf-rebrand-media img{width:100%;height:100%;object-fit:cover;object-position:center 24%;background:none}
 #bfRebrandAnnouncement .bf-rebrand-content{width:100%;min-height:0;overflow:visible;padding:21px 25px 25px;display:block}
 #bfRebrandAnnouncement .bf-rebrand-eyebrow{display:block;font-size:10px;margin-bottom:9px}
 #bfRebrandAnnouncement h2{font-size:clamp(24px,6vw,29px);line-height:1.13;padding-right:6px}
 #bfRebrandAnnouncement p{margin-top:11px;font-size:12.5px;line-height:1.5}
 #bfRebrandAnnouncement .bf-rebrand-details{margin-top:8px;font-size:11.5px}
 #bfRebrandAnnouncement .bf-rebrand-ack{width:100%;min-height:46px;margin-top:15px}
 #bfRebrandAnnouncement small{margin-top:11px;font-size:10px}
 #bfRebrandAnnouncement .bf-rebrand-close{width:38px;height:38px;top:12px;right:12px;background:#fff;box-shadow:0 7px 22px rgba(20,29,45,.16)}
}
@media(max-width:360px){#bfRebrandAnnouncement .bf-rebrand-media{height:clamp(195px,33dvh,240px)}#bfRebrandAnnouncement .bf-rebrand-content{padding:18px 19px 22px}#bfRebrandAnnouncement h2{font-size:23px}}
@media(max-height:590px) and (min-width:641px){#bfRebrandAnnouncement .bf-rebrand-panel{min-height:0;max-height:calc(100dvh - 20px)}#bfRebrandAnnouncement .bf-rebrand-media{min-height:0}#bfRebrandAnnouncement .bf-rebrand-content{padding:24px}#bfRebrandAnnouncement h2{font-size:26px}#bfRebrandAnnouncement p{margin-top:9px}}
@media(prefers-reduced-motion:reduce){#bfRebrandAnnouncement .bf-rebrand-panel,#bfRebrandAnnouncement .bf-rebrand-ack{animation:none!important;transition:none!important}}
