/* YATBA "Campaigns" menu — shared by the campaign mini-sites (same file in each folder) */
.ycm{position:relative;list-style:none;}
.ycm-btn{background:none;border:0;padding:0;cursor:pointer;font:inherit;font-weight:800;color:var(--ycm-text,#082d70);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
.ycm-btn .ycm-heart{color:#e0475b;font-size:.95em;}
.ycm-chev{width:10px;height:10px;transition:transform .25s;}
.ycm.open .ycm-chev{transform:rotate(180deg);}
.ycm-menu{display:none;position:absolute;top:calc(100% + 22px);right:-20px;width:320px;max-width:calc(100vw - 24px);background:#fff;border-radius:16px;padding:8px;box-shadow:0 24px 50px rgba(8,30,70,.22);border-top:3px solid var(--ycm-accent,#e7b52c);z-index:1000;text-align:left;}
.ycm-menu::before{content:'';position:absolute;left:0;right:0;top:-26px;height:26px;}
.ycm.open .ycm-menu{display:block;}
@media(hover:hover) and (pointer:fine){
  .ycm:hover .ycm-menu{display:block;}
  .ycm:hover .ycm-chev{transform:rotate(180deg);}
}
.ycm .ycm-menu a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;color:#0d1b3d;font-size:14px;font-weight:400;text-decoration:none;white-space:normal;border:0;background:none;margin:0;box-shadow:none;}
.ycm .ycm-menu a:hover{background:#f2f5fb;color:#0d1b3d;}
.ycm-ic{width:38px;height:38px;flex-shrink:0;border-radius:10px;background:var(--ic);display:flex;align-items:center;justify-content:center;font-size:19px;line-height:1;}
.ycm-menu strong{display:block;font-size:13.5px;font-weight:800;color:#0b2a6f;line-height:1.3;}
.ycm-menu small{display:block;font-size:12px;color:#6b7590;line-height:1.35;}
.ycm .ycm-menu a.ycm-current{background:#f2f5fb;}
.ycm-menu a.ycm-current small{color:#8a6400;font-weight:700;}
.ycm .ycm-menu a.ycm-main{margin-top:4px;border-top:1px solid #e4e9f0;border-radius:0 0 10px 10px;justify-content:center;font-size:13px;font-weight:700;color:#6b7590;}

/* per-page colours */
body.ycm-green{--ycm-text:#082d70;--ycm-accent:#e7b52c;}
body.ycm-mh{--ycm-text:#263d5e;--ycm-accent:#f5bd1f;}
body.ycm-flight{--ycm-text:#082b55;--ycm-accent:#f2b134;}

/* match each page's own nav link size */
body.ycm-green .ycm-btn{font-size:13px;}
body.ycm-mh .ycm-btn{font-size:14px;font-weight:700;}
body.ycm-flight .ycm-btn{font-size:13px;font-weight:700;}

/* docked in the header bar on small screens (next to the page's own menu button) */
.ycm-docked{position:static;margin-left:auto;margin-right:14px;}
.ycm-docked .ycm-btn{font-size:14px;}
.ycm-docked .ycm-menu{top:100%;left:12px;right:12px;width:auto;max-width:none;}
.ycm-docked .ycm-menu::before{display:none;}

/* very small screens: icon-only button where the page brand needs the room */
@media(max-width:480px){
  body.ycm-green .ycm-docked .ycm-label{display:none;}
  body.ycm-green .ycm-docked .ycm-btn{font-size:20px;}
}
