/* Mobile audit fixes: isolated from the exported theme. */
.audit-mobile-header { display:none; }
.evo-coa .search, .evo-coa .search input, .evo-coa .rc { min-width:0; }
.evo-coa .rc-name { overflow-wrap:anywhere; }
.evo-coa .search input { font-size:16px; width:100%; }
.evo-coa .rc-img img { object-fit:contain; }
.evo-coa .tab, .evo-coa .rc-link, #evoMore { min-height:44px; }
.evo-coa .search:focus-within { outline:2px solid #694487; outline-offset:3px; }
#evoMore { display:block; margin:24px auto; padding:10px 24px; border:1px solid #230f33; border-radius:24px; background:white; color:#230f33; }
#evoMore[hidden] { display:none; }
.evo-lb { z-index:100050; overflow:auto; padding:64px 16px 24px; }
.evo-lb .lb-wrap { gap:10px; width:100%; max-height:calc(100dvh - 88px); overflow:auto; }
.evo-lb img { max-height:calc(100dvh - 190px); flex-shrink:0; }
.evo-lb .lb-name { overflow-wrap:anywhere; }
.evo-lb .lb-close { min-width:44px; min-height:44px; }
.evo-lb .lb-original { color:#fff; text-decoration:underline; padding:12px; min-height:44px; }
.evo-lb .lb-error { color:#fff; padding:12px; }
section.policy[id] { scroll-margin-top:128px; }
.drawer-overlay { z-index:100020; }
.drawer { z-index:100030; overflow-y:auto; overscroll-behavior:contain; padding-bottom:env(safe-area-inset-bottom); }
.drawer-head,.drawer-foot { flex-shrink:0; }
.drawer-close { min-width:44px; min-height:44px; }
.drawer-open #evolve-mcta { visibility:hidden; }
@media(max-width:1024px) {
 .rey-siteHeader .elementor-element-f7270e2,
 .rey-siteHeader .elementor-element-f5982e9 { display:none!important; }
 .rey-siteHeader { position:sticky!important; top:0!important; z-index:10000!important; background:white; }
 .audit-mobile-header { display:flex; align-items:center; justify-content:space-between; height:64px; padding:8px 16px; border-bottom:1px solid #e8e6ea; }
 .audit-mobile-header img { width:150px; height:auto; max-height:44px; object-fit:contain; }
 .audit-mobile-header summary { cursor:pointer; min-width:64px; min-height:44px; padding:10px; font-size:16px; color:#230f33; }
 .audit-mobile-header nav { position:absolute; top:100%; left:0; right:0; background:white; border-bottom:1px solid #e8e6ea; max-height:calc(100vh - 104px); max-height:calc(100dvh - 104px); overflow:auto; box-shadow:0 10px 20px #0002; }
 .audit-mobile-header nav a { display:block; padding:12px 20px; min-height:48px; color:#230f33; }
 .audit-mobile-header nav a:focus-visible { outline:2px solid #694487; outline-offset:-3px; }
}
@media(max-width:900px) {
 .toolbar { position:static; }
 .search-box input { font-size:16px; }
 .cats button { min-height:44px; height:auto; }
 .site-footer li a { display:inline-flex; align-items:center; min-height:44px; }
 .site-footer li { margin-bottom:0; }
 .c-card .val { overflow-wrap:anywhere; }
}
@media(max-height:500px) and (orientation:landscape) {
 #evolve-topbar, .site-header, .rey-siteHeader { position:static!important; }
 .audit-mobile-header { position:relative; }
 .audit-mobile-header nav { max-height:65dvh; }
 #evolve-mcta { position:static; margin:12px; width:auto; }
 body { padding-bottom:env(safe-area-inset-bottom)!important; }
 section.policy[id] { scroll-margin-top:16px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto!important; }
 .drawer,.drawer-overlay,.evo-coa .rc,.evo-lb img { transition:none; }
}
/* .content previously reset the container's horizontal gutters to zero. */
@media(max-width:900px) {
 main.container.content { padding-left:max(16px,env(safe-area-inset-left)); padding-right:max(16px,env(safe-area-inset-right)); }
 .c-grid,.c-card,.stats,.sol,.tiers,.tier { min-width:0; }
 .c-card { padding:24px 20px; }
 .coa-band,.wa-cta { max-width:100%; }
 .coa-band .btn,.wa-cta .btn { white-space:normal; text-align:center; }
}

.card .report-link { display:inline-flex; align-items:center; min-height:44px; color:#230f33; text-decoration:underline; font-size:14px; margin-top:4px; }
@media(hover:none),(pointer:coarse) {
 .card:hover .thumb a .main { opacity:1; }
 .card:hover .thumb a .coa2,.card:hover .coa-hint { opacity:0; }
}
.more-wrap[hidden] { display:none; }

.audit-table-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; }
.audit-table-hint { display:none; }
.audit-table-scroll:focus-visible { outline:2px solid #694487; outline-offset:2px; }
@media(max-width:700px) {
 .audit-table-scroll .tbl { display:table; min-width:480px; font-size:14px; }
 .audit-table-hint { display:block; font-size:14px; color:#55565a; margin-top:16px; }
}
@media(max-width:900px) {
 .cta .btn { max-width:100%; white-space:normal; text-align:center; justify-content:center; padding-inline:20px; }
 .cta .btn svg { flex-shrink:0; }
}
