/* Home page fixes from Joseph's feedback (loaded on the home page only, after fz.css + polish.css; added by tools/home.py). */

/* 1. Get quote / Contact us: same size, icon and text together, no empty space */
.home a.zda703b9[data-btn]{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:210px!important;max-width:100%;padding:12px 18px!important;margin:16px auto 0!important;min-height:0!important;font-weight:400!important;background:#004aad!important;color:#fff!important}
.home a.zda703b9[data-btn][href*="whatsapp_parties"]{background:#47a8bd!important}
.home a.zda703b9[data-btn] *{font-weight:400!important;color:#fff}
/* Events / Parties labels: main blue and teal, white text */
.home .zd18cda4{background:#004aad!important;color:#fff!important}
.home .zdfea940{background:#47a8bd!important;color:#fff!important}
.home a.zda703b9[data-btn] .ic{width:18px;height:18px;vertical-align:0}

/* videos: box follows the video shape, so no gaps or grey strips under them (2, 11) */
.home .zd72894f{min-height:0!important;aspect-ratio:1/1;height:auto}
.home .zd429b3d,.home .zd736381{min-height:0!important;aspect-ratio:9/16;height:auto;background:none!important}
.home .zd72894f>video,.home .zd429b3d>video,.home .zd736381>video{display:block;width:100%;height:100%;object-fit:cover}
.home .zd736381 .zde6782e,.home .zd736381 .zdae886a{display:none}
/* 2. influencer names sit right under their video */
.home .zdb25830,.home .zdab31b0,.home [class*="zd"]:has(> p > a.zd311b7c){margin-top:0!important;padding-top:0!important}
.home :has(> .zd429b3d){row-gap:4px!important}

/* 3. client logos: whole logo visible, borders not clipped */
.home .zd691e03{border-radius:0!important;object-fit:contain!important}
.home [data-imgblock]:has(> .zd691e03){overflow:visible}

/* 4. case study tiles: whole tile clickable, label is a same-size button */
.home .cs-tile{text-decoration:none;color:inherit;row-gap:10px!important}
.home .cs-btn{display:flex;align-items:center;justify-content:center;width:100%;height:44px;border-radius:12px;background:#004aad;color:#fff;font-family:Lexendregular,sans-serif;font-size:17px;white-space:nowrap;box-shadow:0 1px 0 rgba(0,0,0,.06),0 4px 12px rgba(19,44,79,.10);transition:transform .18s,filter .18s}
/* party themes: teal */
.home .cs-btn--party{background:#47a8bd}
@media (hover:hover){.home .cs-tile:hover .cs-btn{transform:translateY(-1px);filter:brightness(1.04)}.home .cs-tile:hover img{transform:scale(1.03)}}
.home .cs-tile img{transition:transform .4s}
.home .cs-tile [data-imgblock]{overflow:hidden;border-radius:14px}

/* 5, 15 and other short headings: one line on laptop/desktop */
@media (min-width:750px){
  .home .zd3ba847,.home .zd3a3420,.home .zd2174a2,.home .zd949107,.home .zd0705bc,.home .zd351433,.home .zd1fbd40,.home .zda0b9dd{width:auto!important;max-width:100%;white-space:nowrap}
}

/* product cards */
.home .zd1ed4f2{padding:0 20px}
.home .zdbf5827{min-height:0!important}
.home .zd1ed4f2>div{display:flex}
.home .zd1ed4f2 .zd967b17{display:flex;width:100%}
.home .zd1ed4f2 [data-card]{width:100%}
.home .zd1ed4f2 .zde82c62{height:100%;padding-bottom:10px}
/* 10. all cards the same height: button always at the bottom */
.home .zd1ed4f2 [data-buy]{margin-top:auto}
/* product name and size: use the full card width, wrap to a second line only when needed */
.home [data-card] .zd46377d{min-width:0;width:100%}
.home [data-card] .zd99c8bc{max-width:100%!important}
.home [data-card] .zddb4be0{width:100%!important}
.home [data-card] .zd29a6a0{max-width:100%!important}
/* 9. left/right arrows on the photos */
.home [data-card] .zd52d8a7{mix-blend-mode:normal;pointer-events:none;padding:0 6px}
.home [data-card] [data-slide]{opacity:1!important;pointer-events:auto;width:30px!important;height:30px;min-width:30px!important;min-height:30px!important;padding:0!important;border-radius:50%;background:rgba(255,255,255,.92);color:#132c4f;display:flex!important;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.home [data-card] [data-slide] svg{width:16px!important;height:16px!important}
.home [data-card] [data-slide="-1"] svg{transform:rotate(180deg)}
/* 7. Add to Enquiry */
.add-enq{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;height:38px;border:0;border-radius:10px;background:#f3b904;color:#000;font:400 15px/1 Inter,sans-serif;cursor:pointer}
.add-enq .ic{width:17px;height:17px;vertical-align:0}

/* 12-13. past events: big photos, small gaps (like the current site) */
.home .zdc5d0af{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px!important;min-height:0!important;height:auto}
.home .zdc5d0af>[data-gal]{position:static!important;max-width:none!important;width:auto!important;margin:0!important;inset:auto!important}
.home .zdc5d0af .zd709fc9{min-height:0!important;aspect-ratio:1/1}
.home .zdc5d0af .zd709fc9 img{width:100%;height:100%;object-fit:cover}
@media (max-width:749px){.home .zdc5d0af{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* 14. reviews: 9 cards, 3 at a time, arrows either side */
.rvs__wrap{position:relative;padding:0 52px}
.rvs__nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:#132c4f;box-shadow:0 2px 10px rgba(19,44,79,.18);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.rvs__nav svg{width:20px;height:20px}
.rvs__nav--prev{left:0}
.rvs__nav--next{right:0}
.rvs__nav--next svg{transform:rotate(180deg)}
@media (max-width:749px){.rvs__wrap{padding:0 8px}.rvs__nav{display:none}}

/* boxes sized for one screen width left big empty areas on other widths: let them follow their content */
.home .zd6f27bc,.home .zd58b72a,.home .zd5ce09c,.home .zda30acf,.home .zd16dec1,.home .zd5b14f6,.home .zdc22951,.home .zd67de45,.home .zdf0a924,.home .zd5e4cc4{min-height:0!important}
/* hero photo fills its box (no grey strip under it) */
.home .zd9da4f2{height:100%}
.home .zd26370e{height:100%!important;object-fit:cover}
/* hero button fits its text */
.home a.zdf1077c[data-btn]{width:auto!important;padding-left:24px!important;padding-right:24px!important;white-space:nowrap}
/* influencer names on one line; heading over them on one line */
.home .zd311b7c{white-space:nowrap;font-size:13px}
@media (min-width:750px){.home .zd949107 br{display:none}}
/* See all reviews: button fits its text on every screen */
.home a.zdbea1be[data-btn]{width:auto!important;padding-left:28px!important;padding-right:28px!important;white-space:nowrap}
/* product name and size: fill the card width; only break when the line is really full */
.home [data-card] .zde82c62>div{width:100%!important;max-width:100%!important}
.home [data-card] .zde82c62 p{text-wrap:wrap!important;max-width:100%!important}

/* corporate pages (tools/corporate.py reuses the home banner, USP strip, case studies, reviews, penguins and footer) */
.corp-pg .corp-hero-btns{margin-top:6px}
.corp-pg .corp-hero-btns>a.zdf1077c[data-btn]{min-width:0!important;width:230px!important;max-width:100%;padding-left:12px!important;padding-right:12px!important;justify-content:center;text-align:center}
.corp-pg a.btn-wa[data-btn]{background:#47a8bd!important;color:#fff!important}
.corp-pg a.btn-mail[data-btn]{background:#f3b904!important;color:#000!important}
.corp-pg .zd739fe6{text-wrap:balance}
.corp-pg .zd995ac3{font-size:16px!important;line-height:1.65!important}
.corp-pg .zda0ce1d{background:rgba(0,0,0,.45)!important;opacity:1!important}
.corp-pg .zd7ce421{max-width:680px!important;width:auto!important;margin-left:auto;margin-right:auto}
.corp-pg .zde3fa6b{width:auto!important;max-width:720px}
/* video grid under the banner: 4 x 3 portrait clips */
.corp-vids{padding:28px 20px;background:#fff}
.cv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:1100px;margin:0 auto}
.cv{aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#cedfe5}
.cv video{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:749px){.cv-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.cv{border-radius:10px}}
/* product cards on corporate pages: same look as the home page cards */
.pg-sec{padding:40px 20px 32px;background:#004aad}
.pg-head{text-align:center;margin-bottom:22px}
.pg-head h2,.cat-h{font-family:Lexendbold,sans-serif;font-size:32px;line-height:1.2;margin:0;color:#004aad;font-weight:400}
.pg-sec .pg-head h2{color:#fff}
.pg-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:1240px;margin:0 auto}
.pc{position:relative;display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 2px 14px rgba(19,44,79,.10);overflow:hidden;padding-bottom:12px}
.pc__media{position:relative;display:block;aspect-ratio:1/1}
.pc__slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;height:100%;scrollbar-width:none}
.pc__slides::-webkit-scrollbar{display:none}
.pc__img{flex:0 0 100%;scroll-snap-align:start}
.pc__img img{width:100%;height:100%;object-fit:cover;display:block}
.pc__nav{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:0 8px;pointer-events:none;z-index:2}
.pc__nav button{pointer-events:auto;width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#132c4f;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.18);cursor:pointer;padding:0}
.pc__nav button svg{width:16px;height:16px}
.pc__nav [data-slide="1"] svg{transform:rotate(180deg)}
.pc__name{display:block;padding:12px 14px 2px;font:500 16px/1.3 Inter,sans-serif;color:#132c4f;text-decoration:none}
.pc__size{padding:0 14px;margin:0;font:400 13px/1.4 Inter,sans-serif;color:#555}
.pc__buy{display:block;margin-top:auto;padding:12px 12px 0}
.pc__buy .add-enq{text-decoration:none}
@media (max-width:749px){.pg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pc__name{font-size:14px;padding:10px 10px 2px}.pc__size{padding:0 10px}.pc__buy{padding:10px 8px 0}.pg-head h2,}
/* Browse by category: main blue, tiles use each category's banner */
.cat-sec{background:#fff;padding:40px 20px 36px;text-align:center}
.cat-sec .cat-h{margin:0 0 22px}
.cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:1240px;margin:0 auto}
.home .cat-tile{display:flex;flex-direction:column;gap:10px}
.cat-tile [data-imgblock]{aspect-ratio:1600/767}
.cat-tile img{width:100%;height:100%;object-fit:cover;display:block}
.cat-all{margin-top:24px}
.cat-all__btn{display:inline-flex;width:auto;padding:0 28px;height:44px;text-decoration:none;font-size:16px}
@media (max-width:749px){.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home .cat-tile .cs-btn{font-size:14px;height:38px}}
/* FAQs on corporate pages: teal, so it stands apart from the One-Stop Shop above it */
.corp-pg .zd41e68a .zd28cd7f{background:#47a8bd!important}
.corp-pg .zd41e68a .zdce8230{color:#fff!important}
.corp-pg .zd41e68a .zd995ac3,.corp-pg .zd41e68a .zd995ac3 *{color:#fff!important}
/* One-Stop Shop: the picture with a clickable area on each item (tools/home.py onestop) */
.os__map{position:relative}
.os__map img{display:block;width:100%;height:auto}
.os__a{position:absolute;border-radius:12px;transition:background .15s,box-shadow .15s}
.os__a:hover,.os__a:focus-visible{background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 3px rgba(255,255,255,.85)}
.os__map--m{display:none}
@media (max-width:749px){.os__map--d{display:none}.os__map--m{display:block}}
/* PHONES ONLY (desktop untouched) */
@media (max-width:989px){
  /* product cards: photo box was cut to a strip with white space under it; let it be a full square */
  .home .zd1ed4f2 .zde82c62>div:first-child{flex-shrink:0!important}
  /* card arrows: the arrow icon was hidden on phones (white circles only) */
  .home [data-card] [data-slide] .zd132aac,.home [data-card] [data-slide] .zd424b3f{display:flex!important}
  /* Add to Enquiry lined up at the bottom of every card */
  .home .zd1ed4f2 [data-card]{display:flex;flex-direction:column}
  .home .zd1ed4f2 .zde82c62{flex:1 1 auto}
  .home .zd1ed4f2 [data-buy]{flex:0 0 auto!important;margin-top:auto!important}
}
@media (max-width:749px){
  /* Events / Parties: clear gap so the Parties label doesn't look like a second button under "Get quote" */
  .home .zdfea940{margin-top:44px!important}
  /* Past Events: 6 rows of photos on phones instead of a very long wall */
  .home .zdc5d0af>[data-gal]:nth-child(n+19){display:none!important}
  /* influencer videos: all the same size */
  .home .zd429b3d{width:106px!important;max-width:none!important}
  .home :has(> .zd429b3d)>div:not(.zd429b3d){width:106px!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding:0!important;display:flex!important;justify-content:center!important;text-align:center!important}
  .home :has(> .zd429b3d) .zd311b7c{font-size:11.5px}
}
/* category pages (tools/category.py): product cards on the home page's teal */
.pg-sec--teal{background:#47a8bd}
.pg-sec--teal .pg-head h2{color:#fff}
.home .cat-tile .cs-btn{white-space:normal;height:auto;min-height:44px;padding:6px 10px;line-height:1.2;text-align:center}
/* category pages: Past Event Videos on mint, white-ish line before Past Event Images */
.cat-vids{background:#cedfe5;padding:36px 20px 40px;border-bottom:6px solid rgba(255,255,255,.85)}
.cat-vids__h{font-family:Lexendbold,sans-serif;font-weight:400;font-size:32px;line-height:1.2;color:#004aad;text-align:center;margin:0 0 22px}
@media (max-width:749px){.cat-vids__h{font-size:24px}}
/* category pages: FAQs on teal with white text, so they stand apart from the mint video section under them */
.cat-pg div:has(> .zd28cd7f):has(.zd995ac3)>.zd28cd7f{background:#47a8bd!important}
.cat-pg div:has(> .zd28cd7f):has(.zd995ac3) .zdce8230,.cat-pg div:has(> .zd28cd7f):has(.zd995ac3) .zd995ac3,.cat-pg div:has(> .zd28cd7f):has(.zd995ac3) .zd995ac3 *{color:#fff!important}
/* category pages, phones: Past Event Images in 3 columns like the home page */
@media (max-width:749px){
  .cat-pg div:has(> .zdcbabe1 [data-imgblock]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
  .cat-pg .zdcbabe1:has([data-imgblock]),.cat-pg .zdcbabe1:has([data-imgblock])>div{display:contents!important}
  .cat-pg .zdcbabe1:has([data-imgblock])>div:empty,.cat-pg .zdcbabe1:has([data-imgblock])>div:not(:has([data-imgblock])){display:none!important}
  .cat-pg .zdcbabe1 [data-imgblock]{width:auto!important;max-width:none!important;margin:0!important;min-height:0!important;aspect-ratio:1/1;overflow:hidden;border-radius:6px}
  .cat-pg .zdcbabe1 [data-imgblock] img{width:100%!important;height:100%!important;object-fit:cover}
  .cat-pg div:has(.zdcbabe1 [data-imgblock]){min-height:0!important}
  .cat-pg .zdcbabe1:last-child [data-imgblock]:last-child{display:none!important}
}
/* Browse all (tools/browse.py): filters grouped like the One-Stop Shop */
.flt{max-width:1240px;margin:0 auto 22px;display:flex;flex-direction:column;gap:10px}
.flt__top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.flt__all,.flt__reset{font:600 14px/1 Inter,sans-serif;padding:10px 18px;border-radius:999px;border:2px solid #004aad;background:#fff;color:#004aad;cursor:pointer}
.flt__all.is-on{background:#004aad;color:#fff}
.flt__reset{border-color:#ec368d;color:#ec368d}
.flt__count{margin:0 0 0 auto;font:500 14px/1.3 Inter,sans-serif;color:#132c4f}
.flt__row{--g:#004aad;--gt:#fff;display:flex;flex-direction:column;gap:6px}
.flt__row--act{--g:#47a8bd}
.flt__row--show{--g:#132c4f}
.flt__row--live{--g:#2f9e35}
.flt__row--util{--g:#f3b904;--gt:#000}
.flt__row--party{--g:#0a47a8}
.flt__lab{font:400 15px/1.2 Lexendbold,sans-serif;text-transform:uppercase;letter-spacing:.03em;color:var(--g)}
.flt__row--util .flt__lab{color:#b88a00}
.flt__chips{display:flex;flex-wrap:wrap;gap:8px}
.flt__chip{font:500 14px/1 Inter,sans-serif;padding:9px 14px;border-radius:999px;background:#fff;color:#132c4f;border:2px solid var(--g);cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.flt__chip.is-on{background:var(--g);color:var(--gt)}
@media (hover:hover){.flt__chip:hover{box-shadow:0 2px 8px rgba(19,44,79,.15)}}
.flt__picked{display:contents}
.flt__picked[hidden]{display:none}
.flt__pk-lab{font:600 14px/1 Inter,sans-serif;color:#132c4f}
.flt__pk{display:inline-flex;align-items:center;gap:6px;font:500 14px/1 Inter,sans-serif;padding:9px 8px 9px 14px;border:2px solid var(--g)!important;border-radius:999px;border:0;background:var(--g);color:var(--gt);cursor:pointer}
.flt__x{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:rgba(255,255,255,.3);font-size:16px;line-height:1}
/* product cards on white: clearer shadow */
.browse-grid{list-style:none;padding:0}
.browse-grid>li{display:flex}
.browse-grid .pc{width:100%;box-shadow:0 0 0 1px rgba(19,44,79,.07),0 6px 22px rgba(19,44,79,.18)}
[data-grid] li[hidden]{display:none!important}
@media (max-width:749px){
  .flt{gap:10px;margin-left:0;margin-right:0}
  .browse-grid{padding:0 14px;gap:12px}
  .flt__top{padding:0 16px}
  .flt__count{flex-basis:100%;margin:2px 0 0}
  .flt__row{gap:4px}
  .flt__lab{font-size:13px;padding:0 16px}
  .flt__chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px 28px 2px 16px;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
  .flt__chips::-webkit-scrollbar{display:none}
  .flt__chip{font-size:13px;padding:8px 12px}
}

/* Case Studies - Parties: all 8 themes (tools/party.py) */
.cs-grid8{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;max-width:1290px;margin:0 auto}
.cs-grid8 .cs-tile{width:auto!important;max-width:none!important;margin:0!important}
.cs-grid8 [data-imgblock]{aspect-ratio:1/1;overflow:hidden;border-radius:8px}
.cs-grid8 [data-imgblock] img{width:100%!important;height:100%!important;object-fit:cover}
@media (max-width:749px){.cs-grid8{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
