/* V26 isolated components; does not alter existing boxed layout */
.av26-announcement{box-sizing:border-box;max-width:1320px;width:calc(100% - 36px);margin:12px auto 16px;padding:0 12px;border-radius:16px;background:linear-gradient(105deg,#09233e,#123f62);box-shadow:0 12px 28px rgba(9,35,62,.13);color:#fff;font-family:Manrope,Arial,sans-serif}
.av26-announcement *{box-sizing:border-box}
.av26-announcement-inner{min-height:62px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:10px 6px}
.av26-live{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#f3bf62;box-shadow:0 0 0 4px rgba(243,191,98,.17);animation:av26pulse 2.1s ease-in-out infinite}
.av26-tag{color:#f4ca7e;font-size:11px;font-weight:800;letter-spacing:.13em}
.av26-copy{font-size:14px;font-weight:650;line-height:1.55}
.av26-wa{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;background:#168b5c;color:white!important;border-radius:999px;font-size:13px;font-weight:800;text-decoration:none!important;transition:background .2s,transform .2s}
.av26-wa:hover{background:#0f754b;transform:translateY(-2px)}
@keyframes av26pulse{0%,100%{opacity:1;box-shadow:0 0 0 4px rgba(243,191,98,.15)}50%{opacity:.35;box-shadow:0 0 0 9px rgba(243,191,98,0)}}
.av26-backtop{position:fixed;right:22px;bottom:92px;z-index:1005;width:46px;height:46px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.24);border-radius:15px;background:#102f4e;color:#fff;box-shadow:0 8px 24px rgba(9,35,62,.24);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,visibility .2s,transform .2s}
.av26-backtop.av26-visible{opacity:1;visibility:visible;transform:translateY(0)}
.av26-backtop:hover{background:#c49336}
@media(max-width:700px){.av26-announcement{width:calc(100% - 20px);margin:10px auto 14px;padding:0 10px}.av26-announcement-inner{justify-content:flex-start;gap:8px;padding:13px 4px}.av26-copy{flex:1 1 75%;font-size:12px}.av26-wa{margin-left:17px;font-size:12px}.av26-backtop{right:14px;bottom:100px;width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){.av26-live{animation:none}.av26-backtop,.av26-wa{transition:none}}

/* V27: one-line announcement; WhatsApp follows the announcement text */
.av26-announcement-inner{justify-content:center;flex-wrap:nowrap;gap:9px;min-height:50px;padding:9px 12px}
.av26-copy{flex:0 1 auto}
.av26-wa{padding:0;background:transparent;border-radius:0;gap:5px;white-space:nowrap;color:#f4ca7e!important;font-size:14px}
.av26-wa:hover{background:transparent;color:#fff!important;transform:none;text-decoration:underline!important}
.av26-wa svg:last-child{display:none}
@media(max-width:700px){.av26-announcement-inner{flex-wrap:wrap;justify-content:center;gap:6px 8px}.av26-copy{flex:0 1 auto;text-align:center}.av26-wa{margin-left:0;font-size:12px}}

/* V28 — white, slim, edge-aligned announcement bar */
body:not(.admin-body) .av26-announcement{
  width:calc(100% - 36px)!important;max-width:1320px!important;
  margin:10px auto 14px!important;padding:0 14px!important;
  background:rgba(255,255,255,.97)!important;color:#17334d!important;
  border:1px solid #e6eaf0!important;border-radius:11px!important;
  box-shadow:0 5px 17px rgba(16,42,66,.055)!important;
}
body:not(.admin-body) .av26-announcement-inner{
  min-height:38px!important;padding:6px 8px!important;gap:9px!important;
  display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;
}
body:not(.admin-body) .av26-tag{color:#b58735!important;letter-spacing:.035em;font-size:12px!important;white-space:nowrap}
body:not(.admin-body) .av26-copy{color:#17334d!important;font-size:13px!important;font-weight:600;line-height:1.4}
body:not(.admin-body) .av26-wa{color:#ad7a27!important;font-size:13px!important;font-weight:800;text-decoration:none!important;white-space:nowrap}
body:not(.admin-body) .av26-wa:hover{color:#153a5b!important;text-decoration:underline!important}
body:not(.admin-body) .av26-live{background:#d4a24e!important;flex-shrink:0}
@media(max-width:700px){
  body:not(.admin-body) .av26-announcement{width:calc(100% - 16px)!important;padding:0 9px!important;margin:8px auto 12px!important}
  body:not(.admin-body) .av26-announcement-inner{flex-wrap:wrap!important;gap:4px 7px!important;padding:8px 2px!important;min-height:38px!important}
  body:not(.admin-body) .av26-copy{font-size:12px!important;text-align:center}
  body:not(.admin-body) .av26-wa{font-size:12px!important}
}
