/* v7 responsive correction: affects ChipJourney layout, never Google ad iframes or ad delivery. */
@media (max-width:900px) {
 body.cj-2026 .site-header {z-index:1100!important;}
 body.cj-2026 .site-header .header-inner {position:relative!important;gap:10px!important;min-height:68px!important;}
 body.cj-2026 .site-header .nav-wrap {position:static!important;min-width:0!important;}
 body.cj-2026 .site-header .menu-toggle {position:relative!important;z-index:2!important;width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:13px!important;}
 body.cj-2026 .site-header .top-nav {position:absolute!important;top:calc(100% - 3px)!important;right:0!important;left:auto!important;width:min(325px,calc(100vw - 28px))!important;max-height:min(68dvh,440px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:10px!important;border:1px solid #e1e3f2!important;border-radius:17px!important;background:#fff!important;box-shadow:0 19px 47px rgba(21,24,54,.18)!important;backdrop-filter:none!important;}
 body.cj-2026 .site-header .top-nav.is-open {display:flex!important;flex-direction:column!important;gap:3px!important;align-items:stretch!important;}
 body.cj-2026 .site-header .top-nav a {display:block!important;margin:0!important;min-width:0!important;width:100%!important;padding:12px 14px!important;border-radius:11px!important;text-align:left!important;font-size:14px!important;line-height:1.3!important;white-space:normal!important;}
 body.cj-2026 .site-header .top-nav .nav-cta {text-align:center!important;margin-top:6px!important;padding:13px!important;}
}
@media (max-width:700px) {
 body.cj-2026,body.dir-body {width:100%!important;max-width:100%!important;min-width:0!important;}
 body.cj-2026 .site-header .header-inner {width:calc(100% - 30px)!important;}
 body.cj-2026 .site-header .brand{min-width:0!important;max-width:calc(100% - 65px)!important;}
 body.cj-2026 .site-header .brand-name{font-size:17px!important;}
 body.cj-2026 .dir-container,body.cj-2026 .cj-home-shell {width:calc(100% - 30px)!important;max-width:100%!important;}
 body.cj-2026 .dir-hero,body.cj-2026 .dir-page-hero {overflow-wrap:anywhere;}
 body.cj-2026 :is(.dir-hero-grid,.dir-submit-layout,.dir-category-grid,.dir-card-grid,.cj-stats-grid,.cj-steps-grid,.cj-assurance-grid,.cj-links-grid) > *{min-width:0!important;}
 body.cj-directory-home .dir-hero h1{font-size:clamp(34px,10vw,48px)!important;line-height:1.1!important;}
 body.cj-directory-home .dir-hero{padding:34px 0 42px!important;}
 body.cj-2026 .dir-search {display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important;}
 body.cj-2026 .dir-search input{min-width:0!important;flex:1 1 160px!important;width:1px!important;}
 body.cj-2026 .dir-search button{max-width:100%!important;}
 body.cj-2026 .cj-home-panel{min-height:auto!important;}
 body.cj-2026 .cj-stats-section{padding:30px 0 36px!important;}
 body.cj-2026 .cj-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
 body.cj-2026 .cj-stat:last-child{grid-column:1/-1;}
 body.cj-2026 .cj-stat{min-height:128px!important;padding:16px!important;}
 body.cj-2026 .cj-stat strong{font-size:clamp(30px,9vw,42px)!important;}
 body.cj-2026 .cj-stat>span:last-child{font-size:12px!important;}
 body.cj-2026 .cj-stats-heading{gap:9px!important;}
 body.cj-2026 .cj-stats-heading h2{font-size:clamp(25px,7vw,34px)!important;}
 body.cj-2026 .dir-form-card,body.cj-2026 .dir-tip-card{min-width:0!important;padding:clamp(16px,4vw,27px)!important;}
 body.cj-2026 .dir-submit-layout{padding-top:20px!important;gap:20px!important;}
 body.cj-2026 .dir-field input,body.cj-2026 .dir-field select,body.cj-2026 .dir-field textarea{width:100%!important;min-width:0!important;}
 body.cj-2026 .dir-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
 body.cj-2026 .dir-category{min-height:125px!important;padding:16px!important;}
 body.cj-2026 .dir-category>span:first-child{font-size:15px!important;}
 body.cj-2026 .dir-footer-cols{grid-template-columns:1fr 1fr!important;gap:25px 14px!important;}
 body.cj-2026 .dir-footer-cols>div:first-child{grid-column:1/-1!important;}
 /* First-party ad containers stay inside mobile columns; AdSense itself stays enabled. */
 body.cj-2026 :is(.ad-wrap,.cj-home-ad-wrap,.ad-inline,.ad-bottom,.ad-sidebar){min-width:0!important;max-width:100%!important;margin-inline:auto!important;}
}
@media (max-width:430px) {
 body.cj-2026 .dir-category-grid{grid-template-columns:1fr!important;}
 body.cj-2026 .dir-category{min-height:96px!important;}
 body.cj-2026 .dir-footer-cols{grid-template-columns:1fr!important;}
 body.cj-2026 .dir-footer-cols>div:first-child{grid-column:auto!important;}
 body.cj-2026 .dir-hero-grid{gap:20px!important;}
 body.cj-2026 .cj-stats-grid{grid-template-columns:1fr!important;}
 body.cj-2026 .cj-stat:last-child{grid-column:auto!important;}
}
/* A confirmation alert is a single readable block, not a cramped horizontal flex row. */
body.dir-body .dir-success{display:block!important;width:100%!important;max-width:none!important;margin:0 0 20px!important;padding:20px 22px!important;color:#153e30!important;background:#eafbf3!important;border:1px solid #abe0c7!important;}
body.dir-body .dir-success strong{display:block!important;margin-bottom:7px!important;font-size:19px!important;}
body.dir-body .dir-success p{color:#315348!important;line-height:1.65!important;font-size:14px!important;}
/* Native top-layer dialog: accessible close, Escape and backdrop. */
.cj-thanks-dialog{box-sizing:border-box;width:min(690px,calc(100vw - 24px));max-width:100%;max-height:min(90dvh,850px);overflow-y:auto;padding:0;border:1px solid #e1e2ef;border-radius:24px;color:#242642;background:#fff;box-shadow:0 30px 90px rgba(20,22,49,.27);position:fixed;}
.cj-thanks-dialog::backdrop{background:rgba(15,20,44,.62);backdrop-filter:blur(3px);}
.cj-thanks-top{display:flex;align-items:center;justify-content:space-between;padding:23px 27px 0;}
.cj-thanks-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:#e6faee;color:#176647;font-size:26px;font-weight:800;}
.cj-thanks-close{display:grid;place-items:center;width:38px;height:38px;border:1px solid #e4e6f1;border-radius:11px;background:#f8f9ff;color:#27314d;font-size:27px;cursor:pointer;}
.cj-thanks-content{padding:8px 29px 25px;}
.cj-thanks-eyebrow{font-size:11px;letter-spacing:.15em;color:#6354e8;font-weight:800;}
.cj-thanks-content h2{color:#1e2043!important;font-size:clamp(26px,4.4vw,33px)!important;letter-spacing:-.035em!important;margin:7px 0 9px!important;line-height:1.15!important;}
.cj-thanks-content>p{color:#5e6577;line-height:1.64;font-size:14px;}
.cj-thanks-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 16px;}
.cj-thanks-choice{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:19px 16px;border:1px solid #e4e4f4;border-radius:17px;background:#fafaff;}
.cj-thanks-choice h3{font-size:16px!important;line-height:1.25!important;letter-spacing:-.025em!important;color:#202342!important;}
.cj-thanks-choice p{font-size:13px;color:#596274;line-height:1.5;flex:1;}
.cj-choice-icon{font-size:22px;color:#6758ea;font-weight:800;line-height:1;}
.cj-thanks-choice a{display:block;border-radius:12px;padding:11px 12px;font-size:13px;font-weight:800;line-height:1.25;text-align:center;}
.cj-thanks-paypal{color:white!important;background:#193b89!important;}
.cj-thanks-other{background:#fff;border:1px solid #d6d9f6;color:#4536ad!important;}
.cj-thanks-primary{background:#6558ef!important;color:#fff!important;border-color:#6558ef!important;}
.cj-thanks-choice small{font-size:11px;color:#667085;line-height:1.45;}
.cj-thanks-done{display:block;width:100%;padding:13px;border-radius:12px;background:#1c2037;border:0;color:#fff;font-size:14px;font-weight:800;cursor:pointer;}
.cj-thanks-content .cj-thanks-optional{margin-top:10px;font-size:11px;text-align:center;color:#697286;}
.cj-thanks-dialog :focus-visible{outline:3px solid #6558ef;outline-offset:3px;}
@media(max-width:600px){.cj-thanks-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 30px);border-radius:18px;}.cj-thanks-content{padding:8px 17px 20px;}.cj-thanks-top{padding:16px 17px 0;}.cj-thanks-choices{grid-template-columns:1fr;gap:10px;margin:16px 0;}.cj-thanks-choice{padding:14px 15px;gap:7px;}.cj-thanks-content h2{font-size:25px!important;}}
