/* ============================================================
   THE HALAL VILLAGE — Voor bedrijven (card 15)
   Ported verbatim from design/v2/pages.css (COMPANIES HUB, 94-148)
   plus its 1080px/860px breakpoint rules; the brand-gradient url is
   repointed at the theme asset.

   Two rules the static design did not need are marked below: anchor
   offsets under the fixed header, and the media-flip selector scoped
   to the offers wrapper.
   ============================================================ */

.chero{position:relative;overflow:hidden;background:var(--navy);color:#fff;padding:calc(var(--hdr-h) + 44px) 0 48px;}
.chero::before{content:"";position:absolute;inset:0;background-image:url('../img/brand-gradient.webp');background-size:cover;background-position:center;opacity:.5;}
.chero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,29,78,.6),rgba(11,83,144,.7));}
.chero__inner{position:relative;z-index:2;}
.chero h1{font-size:var(--fs-h1);font-weight:600;line-height:1.04;letter-spacing:-.015em;max-width:760px;}
.chero p{margin-top:16px;font-size:18px;line-height:1.55;font-weight:300;opacity:.92;max-width:620px;}
.chero__actions{list-style:none;margin:30px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.chero__action{display:flex;flex-direction:column;gap:6px;height:100%;padding:18px 20px;border:1px solid rgba(255,255,255,.35);border-radius:var(--r-card);color:#fff;transition:background .2s,border-color .2s;}
.chero__action:hover{background:rgba(255,255,255,.12);border-color:#fff;}
.chero__action-t{display:inline-flex;align-items:center;gap:8px;font-size:18px;font-weight:600;line-height:1.2;}
.chero__action-x{font-size:15px;line-height:1.45;font-weight:300;opacity:.92;}

/* one large block for the festival, three compact ones under it */
.offers{padding-block:clamp(40px,5vw,72px);}
.offer{scroll-margin-top:calc(var(--hdr-h) + 20px);}
.offer--lead{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:center;}
.offer__media{border-radius:var(--r-surface);min-height:clamp(260px,32vw,420px);background-size:cover;background-position:center;}
.offer--lead:not(:has(.offer__media)){grid-template-columns:1fr;}
.offer__tag{display:block;margin-bottom:10px;font-size:14px;font-weight:600;letter-spacing:.02em;color:var(--blue);}
.offer h2{font-size:clamp(24px,2.6vw,34px);font-weight:600;line-height:1.1;letter-spacing:-.01em;color:var(--navy);}
.offer--lead h2{font-size:clamp(30px,3.6vw,46px);}
.offer__x{margin-top:12px;font-size:17px;line-height:1.6;color:#33414e;max-width:520px;}
.offer .btn{margin-top:22px;}
/* compact row: each card is a flex column so the CTA sits on the bottom
   edge, whatever the title and text wrap to; single column keeps the flow */
.offers__more .offer{display:flex;flex-direction:column;}
.offers__more .offer__body{display:flex;flex-direction:column;flex:1;align-items:flex-start;}
.offers__more .offer .btn{margin-top:auto;}
.offers__more .offer__x{margin-bottom:22px;}
.offers__more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,44px);margin-top:clamp(40px,5vw,64px);padding-top:clamp(28px,3vw,40px);border-top:1px solid var(--line);}

/* application form — the section band only. The card itself (.apply__card,
   .apply__form, .field, .apply__ok) moved to base.css when card 22 gave the
   contact page the same form, for the reason card 17 moved .thv-consent and
   .thv-hp there: a primitive that two pages render cannot live in the
   stylesheet of one of them. */
.apply{padding:clamp(56px,7vw,92px) 0;background:var(--pale-2);}

/* deep links (/voor-bedrijven/#stand and friends) must clear the fixed header */
.apply{scroll-margin-top:calc(var(--hdr-h) + 20px);}

@media (max-width:1080px){
  .chero__actions{grid-template-columns:repeat(2,minmax(0,1fr));}
  .offers__more{grid-template-columns:1fr;gap:28px;}
}
@media (max-width:860px){
  .offer--lead{grid-template-columns:1fr;}
  .offer__media{min-height:220px;}
}
@media (max-width:560px){
  .chero{padding-top:calc(var(--hdr-h) + 28px);padding-bottom:32px;}
  .chero p{font-size:16.5px;}
  .chero__actions{margin-top:22px;gap:10px;}
  .chero__action{padding:14px;}
  .chero__action-t{font-size:16px;}
  .chero__action-x{display:none;}
}

/* "Inkopen voor je winkel" is a topic of the company form: its three extra fields.
   Without JavaScript they always show, under a note saying who they are for;
   companies.js adds .has-topics to the form and shows them for that topic only. */
.apply__retail{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.apply__retail .apply__group{grid-column:1/-1;}
.apply__note{grid-column:1/-1;margin:-6px 0 0;font-size:14px;line-height:1.5;color:var(--muted);}
.apply__form.has-topics .apply__retail{display:none;}
.apply__form.has-topics[data-topic="retail"] .apply__retail{display:grid;}
.apply__form.has-topics .apply__retail .apply__note{display:none;}
.field label small{font-weight:400;color:var(--muted);}
.apply__anchor{display:block;height:0;scroll-margin-top:calc(var(--hdr-h) + 20px);}
@media (max-width:560px){.apply__retail{grid-template-columns:1fr;}}
