/* atlasagency.nl - P2/P3 audit fixes, 2026-09-29 (bundle p2-triage).
   Loaded as WordPress "Additional CSS" of theme atlas-agency-2026 (post_type custom_css) by p2-apply.php.
   Output by wp_head priority 101, i.e. after every theme/shared stylesheet, so plain selectors win.
   NOTE: front-page.php does not call wp_head(), so none of this touches the home page (it is rebuilt in Odoo).
   Finding ids in brackets refer to REPORT.md. Every block is independent: delete a block to roll it back. */

/* ---- [F-62 F-66 F-70 F-71 F-74 F-76] tap targets: header menu button, footer links, inline text CTAs ---- */
.burger{min-width:44px;min-height:44px;box-sizing:border-box;padding:10px}
.site-logo{display:inline-flex;align-items:center;min-height:44px}
details>summary{min-height:44px;box-sizing:border-box;display:flex;align-items:center}
body .atlas-consent a{display:inline-block;padding:14px 4px;margin:-14px -4px}
@media (max-width:780px){main a[href^="mailto:"],main a[href^="tel:"]{display:inline-block;padding:12px 0}}
.deliv .price-note a,.deliv-v3 .price-note a{display:inline-block;padding:14px 0}
@media (max-width:780px){
  .site-footer ul{gap:0}
  .site-footer ul a{display:inline-flex;align-items:center;min-height:44px}
  .site-footer__bottom{font-size:12px;letter-spacing:.04em;gap:4px}
  .site-footer__bottom a{display:inline-block;padding:14px 8px;margin:0 -4px}
  .site-footer__bottom small{display:block;margin-top:10px;font-size:12px;line-height:1.55;letter-spacing:0;text-transform:none;color:var(--ink-60)}
  .site-footer__bottom>span:first-child{line-height:1.6}
}

/* ---- [F-23] contact form: consent checkbox was width:100% (from .field input) and floated away from its label ---- */
.contact-form .field input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:2px 0 0;padding:0;accent-color:var(--blue,#0EA5FF)}
.contact-form .field label:has(input[type=checkbox]){min-height:44px;align-items:flex-start;font-family:var(--font-body,inherit)}
.contact-form .field label a{display:inline-block;padding:12px 0;margin:-12px 0}

/* ---- [F-24] werkwijze closing CTA card: inline 1fr auto grid squeezed the button on phones ---- */
@media (max-width:680px){
  .atlas-section .card[style*="1fr auto"]{grid-template-columns:1fr !important;gap:24px !important}
  .atlas-section .card[style*="1fr auto"] .btn{width:100%;justify-content:center}
}

/* ---- [F-63] faq closing CTA: .cta-block had no base CSS, buttons touched the heading ---- */
.cta-block{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;align-items:center}
.cta-block .cta-side .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.cta-block h2{margin-bottom:0}
@media (max-width:780px){.cta-block{grid-template-columns:1fr;gap:24px}.cta-block .cta-side .actions .btn{width:100%;justify-content:center}}

/* ---- [F-25 F-27 F-28 F-48 F-54 F-59] cookie banner: compact bottom bar on phones (was ~185px = 25% of the viewport) ---- */
@media (max-width:600px){
  body .atlas-consent{left:8px;right:8px;bottom:8px;padding:12px 14px;gap:10px;border-radius:14px;font-size:13px;line-height:1.4}
  body .atlas-consent .atlas-consent__txt{min-width:0;flex:1 1 100%}
  body .atlas-consent .atlas-consent__btns{width:100%;gap:8px}
  body .atlas-consent button{flex:1;min-height:44px;padding:8px 14px}
}

/* ---- [F-22] diensten bundles: price broke over two lines and pushed the caption ---- */
.bundle .card .price{white-space:nowrap}
.bundle .card .price small{display:block;white-space:normal;margin-top:8px}
.bundle{align-items:stretch}

/* ---- [F-38 F-67 F-69] case pages: "Volgende cases" titles inherited the grey mono label style of .next-cases h3 ---- */
.next-cases .work-card h3{color:var(--ink);text-transform:none;letter-spacing:-.025em}
.next-cases .work-card{min-height:0}

/* ---- [F-13 F-40] sportschool013: case tint #0A1628 (dark navy) put dark text on a dark hero and dark quote box ---- */
/* [review 2026-09-29] scoped to the hero only: the quote box (.case-body) stays on HOLD until the operator confirms
   the unattributed quote is genuine (see ../images/DEPLOY.md Deploy B / Option B, P2 F-47). */
.case-hero[style*="--case-tint:#0A1628"]{--case-tint:#E8F5EE !important}

/* ---- [F-41 F-44] case galleries: cards stretched to the tallest neighbour (empty bands under captions) ---- */
.gallery-grid{align-items:start}
.gallery-grid figure img{display:block;width:100%;height:auto}

/* ---- [F-53 F-55] journal: separators between tag / read time / date (they were three fused spans) ---- */
.journal-list .j-item .tags span+span::before,.article-hero .meta-tags span+span::before{content:"\00b7";margin-right:12px;opacity:.6}
.journal-list .j-item .tags{flex-wrap:wrap;row-gap:4px}
.article-hero .byline:empty{display:none}

/* ---- [F-56] password-protected page: use site typography instead of the browser default form ---- */
.post-password-form{max-width:520px}
.post-password-form label{display:block;font-family:var(--font-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-60);margin-top:8px}
.post-password-form input[type=password]{display:block;width:100%;margin-top:8px;padding:13px 16px;min-height:44px;border:1px solid var(--line-strong,#cbd5e1);border-radius:10px;font:inherit;font-size:15px;color:var(--ink);background:var(--bg,#fff);box-sizing:border-box}
.post-password-form input[type=submit]{margin-top:16px;min-height:48px;padding:0 28px;border:0;border-radius:999px;background:var(--blue,#0EA5FF);color:#fff;font:inherit;font-weight:600;cursor:pointer}

/* ---- [F-75] 404 page: the pale-cyan numeral was 40% opacity (contrast ~1.3:1) ---- */
main p[style*="font-size:80px"]{opacity:1 !important;color:#0086A8 !important}

/* ---- [F-21] hosting + seo: wide pricing grid instead of a narrow left column (privacy stays a readable 820px) ---- */
.page-id-591 .container[style*="max-width:820px"],.page-id-592 .container[style*="max-width:820px"]{max-width:1080px !important}

/* ---- [F-61] werkwijze: decorative step numbers were 15% opacity (contrast ~1.3:1); 50% reaches ~3:1 ---- */
.ts__num{opacity:.5}
