/* COLORS WordPress glue (build.py). Loaded after all prototype CSS. */
/* language switches are links now (were buttons): keep the button box model */
:where(.langsw,.mg-lang,.mm-lang) a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:inherit}
form.bk-form{display:contents}
/* mobile and tablet: readable eyebrow labels, comfortable footer tap targets (≥32px) */
@media (max-width:1024px){
  #mega .mg-eb,#mega .mg-st,#mega .mg-k,#mega .mc-tag{font-size:12px}
  #efoot li a{display:inline-block;padding:4px 0}
}
/* iOS zooms into form fields under 16px: keep fields at 16px on phones */
@media (max-width:600px){
  input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:max(16px,1em)}
}

/* careers form + FAQ (custom pages, custom_pages.py) */
.cform{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:820px;margin-top:8px}
.cform label{display:grid;gap:6px;font-weight:600;font-size:14px}
.cform .full{grid-column:1/-1}
.cform input:not([type=checkbox]),.cform select,.cform textarea{width:100%;padding:12px 14px;border:1px solid rgba(0,0,0,.18);border-radius:12px;background:var(--paper,#fff);font:inherit;color:inherit}
.cform .chk{display:flex;gap:10px;align-items:flex-start;font-weight:400}
.cform .chk input{margin-top:4px}
.cform .row{display:flex;gap:14px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.cform .err{color:#c0392b;font-size:14px;margin-right:auto}
.cform .ok{font-size:18px;font-weight:600}
@media (max-width:640px){.cform{grid-template-columns:1fr}}
.cfaq-list{display:grid;gap:10px;max-width:860px}
.cfaq{border:1px solid rgba(0,0,0,.12);border-radius:14px;padding:14px 18px;background:var(--paper,#fff)}
.cfaq summary{cursor:pointer;font-weight:700}
.cfaq p{margin:10px 0 0}
/* width/height attributes (added for CLS) must not fix the rendered height: keep the photo's ratio unless a rule sets a height */
:where(img[width][height]){height:auto}
/* KID's Corner card (mega menu): tag and art share the top row, the title gets the full width below,
   so nothing can overlap at any width (the art used to be absolutely positioned over the title) */
#mega .mg-card.mg-mc{background:#0C1330 radial-gradient(circle at 30% 40%,rgba(255,255,255,.55) 0 1px,transparent 1.6px) 0 0/27px 23px;color:#fff;
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"tag art" "name name" "sub sub";align-content:start;align-items:start;gap:14px 12px;padding-right:18px;min-height:0}
#mega .mg-mc .mc-tag{grid-area:tag;align-self:start;justify-self:start}
#mega .mg-mc .mc-art,#mega[dir=rtl] .mg-mc .mc-art{grid-area:art;position:relative;top:auto;right:auto;bottom:auto;left:auto;width:74px;height:74px;padding:5px;margin:0;border-radius:16px;box-shadow:0 0 0 3px #fff,0 8px 16px rgba(0,0,0,.35)}
#mega .mg-mc strong{grid-area:name;max-width:none;margin:0;font-size:clamp(22px,2.1vw,28px);line-height:1.25;overflow-wrap:anywhere}
#mega .mg-mc em{grid-area:sub;margin:6px 0 0!important;display:block;line-height:1.35;color:rgba(255,255,255,.78)}
/* the display face draws below its line box at tight line-heights (Safari): keep 1.25 and real space below */
#mega .mg-mc strong{display:block;margin:0!important;padding:0 0 .12em;line-height:1.25!important}
#mega .mg-mc strong span{line-height:inherit}
/* phones: two cards per row, so the art sits left of a smaller tag */
@media (max-width:480px){
#mega .mg-mc.mc-f{grid-template-areas:"art tag" "name name" "sub sub";grid-template-columns:auto minmax(0,1fr);gap:12px 8px}
#mega .mg-mc.mc-f .mc-art{width:48px;height:48px;padding:3px;border-radius:11px;box-shadow:0 0 0 2px #fff,0 4px 8px rgba(0,0,0,.3)}
#mega .mg-mc.mc-f .mc-tag{align-self:center;font-size:10px;letter-spacing:.06em;padding:5px 8px}
#mega .mg-mc.mc-f strong{font-size:19px}
}
#mega .mg-mc.mc-a .mc-art{width:56px;height:56px;padding:4px;border-radius:13px;box-shadow:0 0 0 2px #fff,0 6px 12px rgba(0,0,0,.3)}
#mega .mg-mc.mc-a strong{font-size:21px}
#mega .mg-mc.mc-a em{margin-top:4px!important}
/* KID in the COLORS colours (logo squares: green, pink, cyan) */
.kid{white-space:nowrap;letter-spacing:.02em}
.kid i{font-style:normal}
.kid i:nth-child(1){color:#7EC142}.kid i:nth-child(2){color:#F07AAB}.kid i:nth-child(3){color:#25C2EF}
.mc-main .mc-hero h1 .kid i{-webkit-text-fill-color:currentColor}
/* KID's Corner page: no web decorations */
.mc-webbg,.mc-dangle{display:none!important}
/* ---- layout audit 13/11/2026 (tools/layout_audit.js on every page at 320/375/768/1440) ---- */
/* Home reviews: the fanned deck is wider than tablets and overlaps up to ~1100px; the phone swipe row (<=560px) up to 1100px */
@media (min-width:561px) and (max-width:1100px){
 #bounce{display:flex!important;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;height:auto!important;min-height:0!important;padding:12px 24px 26px!important;margin:0 -24px!important;scrollbar-width:none;perspective:none!important}
 #bounce::-webkit-scrollbar{display:none}
 #bounce .bc{position:relative!important;inset:auto!important;left:auto!important;top:auto!important;transform:none!important;flex:0 0 46%;scroll-snap-align:center;margin:0!important;opacity:1!important}
}
/* The Garden Bar "day": the time pill is wider than its 70px gutter on phones and tablets, so it sits above the title */
@media (max-width:1100px){
 #gb-day .tl > li > .t{position:static;display:inline-block;margin:0 0 8px}
}
/* Perks, Garden Bar day line: the times are in the row labels; inside short bars they only got cut */
@media (max-width:1100px){
 #garden .trk .seg{font-size:0!important}
}
/* No running text under 12px, at any width */
#carousel h3 small{font-size:12px!important}
.pk .wh,#request label,.wd-tags span,#calc .ctl label,.spc p.note,#brief .lbl,.coupons small,#garden .ax b,#garden .nowline span,.evt p.note,#garden .tm,#apply a small,section.sec a > small{font-size:12px!important}
@media (min-width:1101px){#garden .trk .seg{font-size:12px!important}}
/* Touch targets (>=32px, comfortable 40px+) without moving the layout: padding plus equal negative margin */
@media (max-width:767px){
 #efoot p a,#efoot .ef-app,.ea-back,a.xgo,#p1-contact dd a,#apply span a,a.bx-go,a.wd-gd{display:inline-block;padding-block:12px;margin-block:-12px}
 #efoot .ef-ok a{padding-block:12px}
 a.xgo{padding-block:12px!important;margin-block:-12px!important}
 /* checkboxes sit inside their labels, so the whole line is the target */
 #efoot nav li{margin:0 0 4px}
 #efoot nav li a{display:inline-block;padding:7px 0;min-width:44px}
 #efoot .ef-ok input,#apply .chk input{width:22px;height:22px;flex:0 0 22px}
 nav.crumb a{display:inline-block;padding:8px 6px;margin:-8px -6px}
 #calc input[type=range]{height:32px}
 #dots button{position:relative}
 #dots button::after{content:"";position:absolute;inset:-14px -8px}
 .mc-coin .mc-slot,.mc-coin .mc-mute{min-height:36px}
}
