/* Marketing stream: phone and tablet layouts for Home, About, Services, Chauffeur and Airports (pages carrying .cc-mk).
   Desktop (1280+) is untouched; 1024-1279 only gets fixes for orphaned grid cells. */

/* ---------- Touch sizes up to 1279 (phones, tablets, iPad Pro) ---------- */
@media(max-width:1279px){
.cc-mk :is(h1,h2,h3,h4){overflow-wrap:normal;hyphens:manual;word-break:normal}
/* Lone CTA links and chips: 44px tap height without changing their look. */
.cc-mk #concierge p>a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box}
.cc-mk .cc-link-wrap>a{min-height:44px;box-sizing:border-box}
.cc-mk .cc-link-wrap>a.cc-06c8b5e,.cc-mk a.cc-f984c52.cc-06c8b5e{min-height:44px;box-sizing:border-box;justify-content:flex-end}
/* Whole-card title links: the visible title keeps its size, the hit area reaches 44px. */
.cc-mk .cc-card-link{display:inline-block;min-width:44px;padding-block:max(4px,calc((44px - 1lh) / 2));margin-block:min(-4px,calc((1lh - 44px) / 2))}
}
/* ---------- Phones ---------- */
@media(max-width:767px){
/* Promise rows: number and its icon on one line above the full-width text (icons are never stacked above a label). */
.cc-mk #promise .cc-aef1120,.cc-mk #promise-b .cc-f300b97{grid-template-columns:minmax(0,1fr);row-gap:12px}
.cc-mk #promise .cc-aef1120>p:first-child,.cc-mk #promise-b .cc-f300b97>p:first-child{display:flex;align-items:center}
/* Fleet thumbnails: two per row on every phone; chat clock never breaks. */
.cc-mk #fleet-editorial-feature .cc-68d79cd{grid-template-columns:repeat(2,minmax(0,1fr))}
.cc-mk #concierge p.cc-df3391f{white-space:nowrap;flex:none}
/* The hero line must hold "EXTRAORDINARY." at 320. */
.cc-mk #hero-split h1{font-size:min(32px,9vw)}
}
@media(max-width:359px){
/* Service cards: one per row on the smallest phones so the titles fit. */
.cc-mk #services .cc-7e153de{grid-template-columns:minmax(0,1fr)}
}

/* ---------- Tablet portrait (768-1023): a real two/three-column layout, no squeezed desktop ---------- */
@media(min-width:768px) and (max-width:1023px){
/* Concierge + Discretion: stats as a list (number beside its label) instead of three 84px columns. */
.cc-mk :is(#concierge,#discretion) .cc-155a493{grid-template-columns:minmax(0,1fr);gap:16px}
.cc-mk :is(#concierge,#discretion) .cc-155a493>.wp-block-group{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:baseline;column-gap:16px}
.cc-mk :is(#concierge,#discretion) .cc-155a493>.wp-block-group>p{margin:0}
/* Cities: three equal headings that fit a third of the width. */
.cc-mk #cities h3{font-size:28px;line-height:1.1}
.cc-mk #addresses h3{font-size:20px;line-height:1.2}
/* Fleet feature: the photo fills its half; six thumbnails as two rows of three. */
.cc-mk #fleet-editorial-feature .cc-2d1e35f{aspect-ratio:auto;height:auto;align-self:stretch;min-height:100%}
.cc-mk #fleet-editorial-feature .cc-2d1e35f :is(figure,img){height:100%}
.cc-mk #fleet-editorial-feature .cc-68d79cd{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Three steps / three cards / three cities: three columns, not two plus an orphan. */
.cc-mk #how-it-works .cc-8bffae7,.cc-mk .cc-1d31bc3:has(>:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
/* Services index: intro on top, the four lists in two columns underneath. */
.cc-mk #services-index .cc-c3c59b8{grid-template-columns:minmax(0,1fr);gap:40px}
/* Two-column text + list sections whose list gets too narrow: stack them. */
.cc-mk :is(#faq,#services-b,#corporate,#pricing) .cc-3115482{grid-template-columns:minmax(0,1fr);gap:40px}
.cc-mk #services-b .cc-3115482>:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
/* Proof strip: the hairline separators only make sense on one line. */
.cc-mk #proof-strip .cc-aa77e27{display:none}
.cc-mk #proof-strip>.wp-block-group>.wp-block-group{flex-wrap:wrap;justify-content:center;gap:12px 32px}
/* Airports hero: the text column gets half the width and the rail stays. */
.cc-mk #hero-split-rail .cc-837bec4{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.cc-mk #hero-split-rail a{white-space:normal}
/* Drivers: two by two. */
.cc-mk #drivers .cc-8bffae7{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Membership card: room for the member name on one line. */
.cc-mk #membership .cc-3115482{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
}

/* ---------- 1024-1279: the desktop composition, without orphaned cells ---------- */
@media(min-width:1024px) and (max-width:1279px){
.cc-mk #fleet-editorial-feature .cc-68d79cd{grid-template-columns:repeat(6,minmax(0,1fr))}
.cc-mk #drivers .cc-8bffae7{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- Phones in landscape (short viewports): every hero fits under the 57px header, CTA visible ---------- */
@media(max-height:500px) and (orientation:landscape){
.cc-mk #hero-split .cc-556a375,.cc-mk #hero-monumental .cc-fccdf9e,.cc-mk #hero-numeral .cc-b2b882b,.cc-mk #hero-split-rail .cc-b2b882b{height:calc(100svh - 57px);min-height:0}
.cc-mk #hero-split .cc-556a375{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.cc-mk #hero-split .cc-316318e{padding:20px 32px;justify-content:center;gap:0}
.cc-mk #hero-split .cc-316318e>p:first-child,.cc-mk #hero-split .cc-316318e>p:last-child{display:none}
.cc-mk #hero-split .cc-316318e>.wp-block-group{gap:12px}
.cc-mk #hero-split h1{font-size:28px}
.cc-mk #hero-split h1+p{font-size:17px;line-height:1.35}
.cc-mk #hero-split h1+p+p{flex-wrap:nowrap;gap:12px}
.cc-mk #hero-split h1+p+p a{padding-inline:18px;white-space:nowrap}
.cc-mk #hero-split figure{height:100%}
.cc-mk #hero-monumental .cc-ddcc802>p:first-child,.cc-mk #hero-split-rail .cc-5bb2e3f>p:first-child{display:none}
.cc-mk #hero-monumental h1{font-size:40px}
.cc-mk #hero-monumental .cc-ddcc802{gap:20px}
.cc-mk #hero-numeral p:first-child{font-size:120px;line-height:1}
.cc-mk #hero-split-rail .cc-5bb2e3f{justify-content:center;gap:16px;padding-block:20px}
.cc-mk #hero-split-rail h1{font-size:28px}
}

/* ---------- Labels never below 11px below 1024 (generated from marketing-design.css font sizes < 11px) ---------- */
@media(max-width:1023px){
.cc-mk .cc-0d5be05,.cc-mk .cc-3494e7e,.cc-mk .cc-fb2957a{font-size:11px}
}

/* ---------- Design QC fix round (19 Nov 2026) ---------- */
/* Home #8: the three city headings share one size (the source's Hamptons clamp shrank it below 1430px). */
@media(max-width:767px),(min-width:1024px){.cc-mk #cities h3.cc-28f4862{font-size:30px}}
@media(max-width:1279px){.cc-mk #cities h3.cc-86abdab{white-space:normal}}
@media(max-width:767px){
 /* Home #12: "Profiled on" on its own line, the three names in one row. */
 .cc-mk #proof-strip .cc-cd289ae{flex-wrap:wrap;justify-content:space-between;gap:10px 8px}
 .cc-mk #proof-strip .cc-cd289ae>:first-child{flex:0 0 100%}
 /* Home #13: plates in two equal columns. */
 .cc-mk #plate-wall p:has(>a.cc-mkw-plate){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .cc-mk #plate-wall a.cc-mkw-plate{justify-content:center;padding-inline:18px;min-width:0}
}
@media(max-width:379px){.cc-mk #proof-strip .cc-cd289ae>.cc-6c078ba{font-size:14px;letter-spacing:.3px}}
@media(max-width:767px){
 /* About A4: the press-row arrow sits on the masthead line, not alone on its own row. */
 .cc-mk #press-list .cc-card{grid-template-columns:minmax(0,1fr) auto;column-gap:16px}
 .cc-mk #press-list .cc-card>p:first-child{grid-column:1;grid-row:1}
 .cc-mk #press-list .cc-card>p:last-child{grid-column:2;grid-row:1;align-self:start;padding-top:8px}
 .cc-mk #press-list .cc-card>p:nth-child(2){grid-column:1/-1}
}
@media(max-width:767px){
 /* Services S2: in the 2-up card rows the "Set it up" lines align at the card bottom. */
 .cc-mk #services .cc-card>.wp-block-group:last-child{flex:1 1 auto}
 .cc-mk #services .cc-card>.wp-block-group:last-child>:last-child{margin-top:auto}
}
/* Wedding route (Chauffeur C1): below 1024px the 900-unit SVG would shrink its 7px labels to 4-6px, so the vertical list
   twin (marketing-assets.php) shows instead: time in Bodoni, 11px caps label, the same 8px squares on a hairline. */
@media(max-width:1023px){
 .cc-mk #route .cc-4541c31{overflow:visible;padding:28px 24px}
 .cc-mk #route .cc-4541c31>svg{display:none}
 .cc-mk #route .cc-route-list{display:block}
}

