/*
Theme Name: Atozhelp.in Jobs
Theme URI: https://atozhelp.in/
Author: Atozhelp.in
Description: Mobile-friendly government jobs, admit card and results WordPress theme with 8 editable recruitment cards.
Version: 1.7.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: atozhelp
*/
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f6f8fb;color:#172033;font-family:Arial,Helvetica,sans-serif;line-height:1.5}
a{color:inherit}
.ah-container{width:min(1180px,94%);margin:auto}
.ah-header{background:#fff;border-bottom:1px solid #e1e6ee}
.ah-brand{min-height:118px;display:flex;align-items:center;justify-content:center;text-align:center;padding:18px}
.ah-site-title{font-size:42px;font-weight:800;letter-spacing:-1px}
.ah-site-title .a{color:#145dcc}.ah-site-title .h{color:#e52b2b}.ah-site-title .dot{color:#145dcc}
.ah-tagline{margin:2px 0 0;font-size:16px;color:#4a5568}
.ah-nav{background:#061a34;color:#fff}
.ah-nav .ah-container{display:flex;align-items:center}
.ah-menu{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;width:100%}
.ah-menu li{position:relative}
.ah-menu a{display:block;padding:14px 18px;text-decoration:none;font-weight:700;font-size:15px}
.ah-menu a:hover,.ah-menu .current-menu-item>a{background:#1565d8}
.ah-menu .sub-menu{display:none;position:absolute;top:100%;left:0;background:#061a34;min-width:190px;padding:0;margin:0;list-style:none;z-index:99;box-shadow:0 8px 20px rgba(0,0,0,.2)}
.ah-menu li:hover>.sub-menu{display:block}
.ah-main{padding:24px 0 35px}
.ah-section-heading{display:flex;align-items:center;gap:16px;margin:0 0 18px;font-size:28px}
.ah-section-heading:before,.ah-section-heading:after{content:"";height:2px;background:#cbd5e1;flex:1}
.ah-section-heading span{white-space:nowrap}
.ah-jobs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ah-job-card{background:#fff;border:1px solid #d9e1eb;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px rgba(15,23,42,.07);display:flex;flex-direction:column}
.ah-job-top{height:58px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#145dcc,#0b3b8f);color:#fff;font-weight:800;font-size:11px;text-transform:uppercase}
.ah-job-top .apply{background:#fff;color:#145dcc;border-radius:20px;padding:6px 9px;font-size:10px;text-decoration:none}
.ah-job-body{padding:13px 12px;display:flex;flex-direction:column;flex:1}
.ah-job-logo{height:70px;display:flex;justify-content:center;align-items:center;margin-bottom:7px}
.ah-job-logo img{max-height:66px;max-width:100px;object-fit:contain}
.ah-job-logo .no-logo{font-size:32px;font-weight:900;color:#d7deea}
.ah-job-title{font-size:17px;line-height:1.2;margin:3px 0 2px;text-align:center;color:#12366e}
.ah-job-sub{font-size:12px;text-align:center;color:#667085;min-height:19px}
.ah-posts{margin:10px 0;background:#168a45;color:#fff;border-radius:6px;padding:6px;text-align:center;font-weight:800;font-size:12px}
.ah-meta{display:grid;gap:7px;margin-top:3px}
.ah-meta-row{border-bottom:1px solid #edf1f6;padding-bottom:6px}
.ah-meta-label{display:block;font-size:11px;font-weight:800}
.ah-meta-value{display:block;font-size:12px;color:#26364d}
.ah-label-blue{color:#145dcc}.ah-label-red{color:#e12d2d}.ah-label-green{color:#168a45}.ah-label-purple{color:#6b35c9}
.ah-details{margin-top:auto;padding-top:10px}
.ah-btn{display:block;width:100%;text-align:center;background:#145dcc;color:#fff;text-decoration:none;border-radius:6px;padding:9px 7px;font-weight:800;font-size:13px}
.ah-btn:hover{filter:brightness(.93)}
.ah-bottom{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.ah-panel{background:#fff;border:1px solid #d9e1eb;border-radius:10px;overflow:hidden}
.ah-panel-head{padding:10px 14px;background:#145dcc;color:#fff;display:flex;justify-content:space-between;align-items:center;font-size:20px;font-weight:800}
.ah-panel:nth-child(2) .ah-panel-head{background:#e32d2d}
.ah-panel-head a{font-size:12px;border:1px solid rgba(255,255,255,.8);padding:5px 10px;border-radius:5px;text-decoration:none}
.ah-list{list-style:none;padding:8px 14px;margin:0}
.ah-list li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf1f6;padding:8px 0;font-size:13px}
.ah-list li:last-child{border-bottom:0}
.ah-date{white-space:nowrap;background:#eef5ff;color:#145dcc;border-radius:4px;padding:2px 6px;font-size:11px}
.ah-footer{background:#061a34;color:#dce7f5;margin-top:25px}
.ah-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:35px;padding:35px 0}
.ah-footer h3{color:#fff;margin:0 0 10px}.ah-footer p{margin:0;color:#c3d0e2;font-size:14px}
.ah-footer ul{list-style:none;margin:0;padding:0}.ah-footer li{margin:7px 0;font-size:14px}
.ah-footer a{text-decoration:none}.ah-footer a:hover{text-decoration:underline}
.ah-copy{border-top:1px solid #173250;padding:14px 0;text-align:center;font-size:13px}
.ah-empty{background:#fff;border:1px dashed #cbd5e1;padding:30px;text-align:center;color:#64748b}
@media(max-width:1000px){.ah-jobs{grid-template-columns:repeat(2,minmax(0,1fr))}.ah-site-title{font-size:34px}}
@media(max-width:650px){
 .ah-container{width:94%}.ah-brand{min-height:90px}.ah-site-title{font-size:29px}
 .ah-nav .ah-container{width:100%}.ah-menu{justify-content:center}
 .ah-menu a{padding:10px 9px;font-size:12px}
 .ah-jobs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .ah-job-top{height:48px;padding:0 7px;font-size:9px}.ah-job-top .apply{font-size:8px;padding:5px}
 .ah-job-body{padding:9px 8px}.ah-job-logo{height:54px}.ah-job-logo img{max-height:50px;max-width:80px}
 .ah-job-title{font-size:14px}.ah-posts{font-size:10px}.ah-meta-value{font-size:10px}.ah-meta-label{font-size:9px}
 .ah-btn{font-size:11px;padding:8px 3px}.ah-bottom{grid-template-columns:1fr;gap:12px}.ah-section-heading{font-size:22px}
 .ah-footer-grid{grid-template-columns:1fr;gap:20px}
}

.ah-exam-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.ah-exam-card,.ah-exam-wrap{background:#fff;border:1px solid #d9e1eb;border-radius:12px;padding:20px;box-shadow:0 3px 12px rgba(15,23,42,.07)}.ah-exam-card h2{color:#12366e}.ah-exam-badge{display:inline-block;background:#145dcc;color:#fff;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:800}.ah-exam-mini{background:#f3f7fc;padding:9px;border-radius:7px;margin:10px 0;font-size:12px}.ah-start-exam{display:inline-block;background:#168a45;color:#fff;border:0;border-radius:6px;padding:10px 16px;text-decoration:none;font-weight:800;cursor:pointer}.ah-exam-live-head{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #e5e7eb;padding-bottom:15px}.ah-exam-live-head h1{margin:0}.ah-timer{background:#e12d2d;color:#fff;font-size:24px;font-weight:900;border-radius:8px;padding:10px 16px;min-width:105px;text-align:center}.ah-question{border:1px solid #dfe5ed;border-radius:10px;padding:15px;margin:12px 0;background:#fbfcfe}.ah-question h3{margin:0 0 12px;font-size:17px}.ah-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ah-options label{border:1px solid #d9e1eb;background:#fff;padding:11px;border-radius:7px;cursor:pointer}.ah-submit-exam{margin-top:8px;background:#145dcc;color:#fff;border:0;padding:12px 22px;border-radius:7px;font-weight:800}.ah-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.ah-result-grid div{background:#f3f7fc;border:1px solid #dfe5ed;border-radius:8px;padding:13px;text-align:center}.ah-result-grid strong{display:block;font-size:23px;color:#145dcc}.ah-pass{padding:10px;border-radius:7px;font-weight:800}.ah-pass.yes{background:#e8f7ef;color:#168a45}.ah-pass.no{background:#fff0f0;color:#d12b2b}@media(max-width:900px){.ah-exam-cards{grid-template-columns:1fr 1fr}}@media(max-width:650px){.ah-exam-cards,.ah-options{grid-template-columns:1fr}.ah-exam-live-head{flex-direction:column;align-items:stretch}.ah-timer{width:100%}.ah-result-grid{grid-template-columns:1fr 1fr}}

/* Atozhelp separate content pages */
.ah-content-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.ah-content-card{background:#fff;border:1px solid #dbe3ed;border-radius:12px;padding:18px;box-shadow:0 3px 12px rgba(15,23,42,.06)}.ah-content-card h2{margin:0 0 8px;color:#12366e}.ah-content-card p{color:#667085}.ah-meta{font-size:13px;color:#475467;margin:10px 0}.ah-view-btn,.ah-apply-btn{display:inline-block;background:#145dcc;color:#fff;padding:10px 16px;border-radius:7px;text-decoration:none;font-weight:800}.ah-apply-btn{background:#168a45}.ah-job-detail{background:#fff;border:1px solid #dbe3ed;border-radius:14px;padding:22px;box-shadow:0 3px 14px rgba(15,23,42,.06)}.ah-job-head{display:flex;gap:16px;align-items:center;border-bottom:1px solid #e5e7eb;padding-bottom:18px}.ah-job-head img{width:70px;height:70px;object-fit:contain;border:1px solid #ddd;border-radius:10px}.ah-job-head h1{margin:5px 0}.ah-job-info{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.ah-job-info div{background:#f5f8fc;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.ah-job-info b{display:block;font-size:12px;color:#667085;margin-bottom:5px}.ah-job-text{line-height:1.75}.ah-job-detail .ah-apply-btn{margin-top:16px}@media(max-width:750px){.ah-content-list{grid-template-columns:1fr}.ah-job-info{grid-template-columns:1fr 1fr}.ah-job-head{align-items:flex-start}}@media(max-width:500px){.ah-job-info{grid-template-columns:1fr}.ah-job-head{flex-direction:column}}

/* Screenshot-matched recruitment banner */
.ah-jobs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
.ah-recruitment-banner{background:#fff;border:1px solid #d9dee7;border-radius:13px;overflow:hidden;box-shadow:0 4px 14px rgba(20,40,80,.10);font-family:Arial,"Noto Sans Devanagari",sans-serif;color:#15233b}
.ah-banner-top{height:38px;background:linear-gradient(90deg,#164ca6,#2c68bf);display:flex;align-items:center;justify-content:space-between;padding:0 9px;color:#fff;font-size:10px;font-weight:800}
.ah-new{letter-spacing:.2px}.ah-megaphone{font-size:14px;margin-right:3px}.ah-banner-apply-top{color:#fff;background:#d93b3b;padding:7px 9px;border-radius:4px;text-decoration:none;font-size:9px;white-space:nowrap}
.ah-banner-brand{display:flex;align-items:center;gap:8px;padding:11px 9px 6px}.ah-logo-box{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#eef4ff;border:1px solid #c8d5ea;flex:none}.ah-logo-box img{width:100%;height:100%;object-fit:contain}.ah-logo-placeholder{font-size:24px;color:#164ca6}
.ah-banner-title{min-width:0}.ah-banner-title h2{font-size:20px;line-height:1.02;margin:0 0 4px;color:#182c52;font-weight:900}.ah-banner-title div{font-size:10px;color:#253c64}
.ah-total-posts{margin:3px 9px 9px;background:#1f8b51;color:#fff;border-radius:7px;padding:7px 8px;font-size:12px;font-weight:800}.ah-total-posts span{margin-left:4px}
.ah-banner-meta{margin:0 8px;border:1px solid #e1e5ec;border-radius:9px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr}.ah-banner-meta-cell{display:flex;gap:6px;align-items:center;padding:8px 6px;min-height:50px;border-bottom:1px solid #e7e9ee}.ah-banner-meta-cell:nth-child(odd){border-right:1px solid #e7e9ee}.ah-banner-meta-cell:nth-child(3),.ah-banner-meta-cell:nth-child(4){border-bottom:0}.ah-banner-meta-cell b{display:block;font-size:9px;color:#344d77;margin-bottom:2px}.ah-banner-meta-cell strong{display:block;font-size:9px;line-height:1.2;color:#222;font-weight:600}.ah-icon{width:25px;height:25px;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:900;flex:none}.ah-blue{background:#2d63b9}.ah-red{background:#d83c3c}.ah-green{background:#249457}.ah-purple{background:#7b4cc1}
.ah-important{margin:8px 9px 0;border-top:1px solid #e2e5ea;padding-top:7px;position:relative;min-height:105px}.ah-important-head{font-size:11px;font-weight:900;color:#2e405f;margin-bottom:4px}.ah-important-head span{display:inline-flex;width:22px;height:22px;border-radius:50%;background:#2d63b9;color:#fff;align-items:center;justify-content:center;margin-right:4px}.ah-important ul{margin:3px 0 0 16px;padding:0;max-width:100%}.ah-important li{font-size:8px;line-height:1.45;margin-bottom:2px}.ah-banner-picture{height:72px;display:flex;justify-content:flex-end;align-items:flex-end;position:absolute;right:0;bottom:0;width:48%;pointer-events:none}.ah-banner-picture img{max-width:100%;max-height:72px;object-fit:contain;object-position:right bottom}
.ah-banner-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 9px}.ah-banner-buttons a{min-height:42px;border-radius:7px;color:#fff;text-decoration:none;display:grid;grid-template-columns:24px 1fr;grid-template-rows:1fr 1fr;align-items:center;padding:4px 7px;box-sizing:border-box}.ah-banner-buttons a span{grid-row:1/3;font-size:20px;text-align:center}.ah-banner-buttons b{font-size:9px;line-height:1}.ah-banner-buttons small{font-size:7px;opacity:.95}.ah-notification-btn{background:#2c5fba}.ah-apply-btn2{background:#218c50}
.ah-banner-footer{background:#173c73;color:#fff;font-size:8px;padding:7px 9px;display:flex;justify-content:space-between;align-items:center}.ah-footer-sep{opacity:.5}
@media(max-width:1100px){.ah-jobs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ah-jobs{grid-template-columns:1fr;max-width:390px;margin:auto}.ah-banner-title h2{font-size:24px}.ah-banner-meta-cell b{font-size:10px}.ah-banner-meta-cell strong{font-size:10px}.ah-important li{font-size:9px}.ah-banner-footer{font-size:9px}}

/* Monetization slots: visually distinct, non-floating, responsive. */
.atozhelp-ad-wrap{width:100%;box-sizing:border-box;margin:18px auto;padding:8px 0;text-align:center;clear:both;overflow:hidden}
.atozhelp-ad-label{font-size:11px;line-height:1.4;color:#6b7280;margin:0 0 6px;text-transform:none}
.atozhelp-ad-code{display:flex;justify-content:center;align-items:center;min-height:20px;max-width:100%;overflow:hidden}
.atozhelp-ad-code img,.atozhelp-ad-code iframe{max-width:100%}
.atozhelp-ad-sponsor,.atozhelp-ad-affiliate{background:#fafafa;border:1px solid #e5e7eb;border-radius:8px;padding:10px}
.atozhelp-ad-top{margin-top:12px}.atozhelp-ad-bottom{margin-bottom:12px}
@media(max-width:650px){.atozhelp-ad-wrap{margin:12px auto}.atozhelp-ad-code{min-height:10px}}

/* ===== Atozhelp v1.3 layout fixes ===== */
.ah-jobs > .atozhelp-ad-wrap{grid-column:1/-1;width:100%}
.ah-main{min-height:520px}
.ah-recruitment-banner{min-width:0}
.ah-banner-brand{min-height:76px}
.ah-banner-title h2{overflow-wrap:anywhere}
.ah-important{overflow:hidden}
.ah-banner-buttons a{box-shadow:0 2px 5px rgba(0,0,0,.12)}
.ah-section-heading{color:#12366e}

    .ah-top-strip{background:#0b2d5c;color:#fff;font-size:12px}.ah-top-strip .ah-container{display:flex;justify-content:space-between;padding:6px 0}
    @media(max-width:650px){.ah-top-strip .ah-container{justify-content:center}.ah-top-strip span:last-child{display:none}}


/* ===== Atozhelp Online Exam v1.4 ===== */
.ahx-app{max-width:1050px;margin:25px auto;padding:0 14px;font-family:Arial,Helvetica,"Noto Sans Devanagari",sans-serif;color:#17233b}
.ahx-hero{border-radius:22px;padding:26px 28px;color:#fff;background:linear-gradient(135deg,#082b68 0%,#1264d8 55%,#7b45c7 100%);display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 12px 35px rgba(18,65,140,.22);position:relative;overflow:hidden}
.ahx-hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-80px;top:-110px;background:rgba(255,255,255,.1)}
.ahx-kicker{font-size:12px;font-weight:800;opacity:.9}.ahx-hero h2{font-size:34px;margin:4px 0}.ahx-hero p{margin:0;opacity:.9}.ahx-badge{background:#ffcf33;color:#17376e;border-radius:30px;padding:10px 15px;font-size:12px;font-weight:900;z-index:1}
.ahx-exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}
.ahx-exam-card{background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:20px;box-shadow:0 8px 25px rgba(22,47,90,.08);transition:.2s}.ahx-exam-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(22,47,90,.13)}
.ahx-card-icon{width:50px;height:50px;border-radius:15px;background:linear-gradient(135deg,#e7f1ff,#eee5ff);display:flex;align-items:center;justify-content:center;font-size:25px}.ahx-exam-card h3{margin:13px 0 10px;font-size:20px}.ahx-stats{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}.ahx-stats span{background:#f1f5fb;border-radius:20px;padding:5px 8px;font-size:11px;color:#52647d}.ahx-start{display:block;text-align:center;text-decoration:none!important;background:linear-gradient(90deg,#1765d5,#7a48c6);color:#fff!important;padding:12px;border-radius:10px;font-weight:900}
.ahx-test{margin-top:20px}.ahx-testbar{background:#fff;border:1px solid #d9e3ef;border-radius:16px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;box-shadow:0 6px 22px rgba(20,45,90,.08)}.ahx-testbar strong{font-size:20px;display:block}.ahx-testbar small{color:#687891}.ahx-timer{background:#fff2f2;color:#d9283b;border:1px solid #ffc8cf;border-radius:12px;padding:10px 14px;font-weight:900;font-size:20px;white-space:nowrap}.ahx-progress{height:7px;background:#dfe7f3;border-radius:99px;overflow:hidden;margin:12px 0}.ahx-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#19a35b,#1d72dc,#7c45c7);transition:.2s}
.ahx-question-wrap{background:#fff;border-radius:20px;border:1px solid #dbe4f0;padding:25px;box-shadow:0 10px 30px rgba(19,42,80,.08)}.ahx-qno{display:inline-block;background:#e9f2ff;color:#1759b3;padding:6px 10px;border-radius:20px;font-size:12px;font-weight:900}.ahx-question-wrap h3{font-size:25px;line-height:1.45;margin:17px 0 20px}
.ahx-options{display:grid;grid-template-columns:1fr 1fr;gap:13px}.ahx-option{border:2px solid #dfe6ef;background:#fff;border-radius:14px;padding:14px;text-align:left;display:flex;align-items:center;gap:12px;font-size:16px;font-weight:700;cursor:pointer;transition:.16s;min-height:62px}.ahx-option:nth-child(1):hover,.ahx-option.selected:nth-child(1){border-color:#2e74df;background:#edf5ff}.ahx-option:nth-child(2):hover,.ahx-option.selected:nth-child(2){border-color:#16a064;background:#edfff6}.ahx-option:nth-child(3):hover,.ahx-option.selected:nth-child(3){border-color:#e79b16;background:#fff8e9}.ahx-option:nth-child(4):hover,.ahx-option.selected:nth-child(4){border-color:#9a55ce;background:#fbf0ff}.ahx-letter{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;flex:none}.ahx-option:nth-child(1) .ahx-letter{background:#2e74df}.ahx-option:nth-child(2) .ahx-letter{background:#16a064}.ahx-option:nth-child(3) .ahx-letter{background:#e79b16}.ahx-option:nth-child(4) .ahx-letter{background:#9a55ce}
.ahx-controls{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.ahx-btn,.ahx-submit{border:0;border-radius:11px;padding:13px 18px;font-weight:900;cursor:pointer}.ahx-btn.primary{background:#1765d5;color:#fff}.ahx-btn.secondary{background:#eef2f7;color:#34445c}.ahx-btn:disabled{opacity:.45;cursor:not-allowed}.ahx-palette{margin-top:15px;background:#fff;border:1px solid #dbe4f0;border-radius:16px;padding:14px}.ahx-palette strong{font-size:13px}.ahx-dot{width:34px;height:34px;border-radius:9px;border:1px solid #cbd7e5;background:#f7f9fc;margin:8px 6px 0 0;cursor:pointer;font-weight:800;color:#506079}.ahx-dot.done{background:#e8f7ef;border-color:#26a269;color:#16804f}.ahx-submit{width:100%;margin-top:14px;background:linear-gradient(90deg,#16945b,#0c7b4a);color:#fff;font-size:16px}.ahx-result{margin-top:16px;background:linear-gradient(135deg,#fff,#f1f7ff);border:1px solid #cddcf0;border-radius:20px;padding:28px;text-align:center}.ahx-result-icon{font-size:48px}.ahx-result h2{font-size:28px;margin:5px 0}.ahx-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.ahx-result-grid div{background:#fff;border-radius:13px;padding:14px;border:1px solid #e0e7f0}.ahx-result-grid b{display:block;font-size:24px;color:#145dcc}.ahx-result-grid small{color:#687891}.ahx-empty{text-align:center;background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:45px 20px;margin-top:20px}.ahx-empty-icon{font-size:45px}
@media(max-width:850px){.ahx-exam-grid{grid-template-columns:1fr 1fr}.ahx-options{grid-template-columns:1fr}}
@media(max-width:600px){.ahx-app{padding:0 8px}.ahx-hero{padding:20px;display:block}.ahx-hero h2{font-size:28px}.ahx-badge{display:inline-block;margin-top:10px}.ahx-exam-grid{grid-template-columns:1fr}.ahx-testbar{align-items:flex-start}.ahx-testbar strong{font-size:16px}.ahx-timer{font-size:17px;padding:8px 10px}.ahx-question-wrap{padding:18px}.ahx-question-wrap h3{font-size:20px}.ahx-option{font-size:14px}.ahx-controls{flex-direction:column}.ahx-btn{width:100%}.ahx-result-grid{grid-template-columns:1fr 1fr}}

/* v1.6 cache-proof exam background */
body:has(.ahx-app){background:linear-gradient(180deg,#eef4fb 0%,#f8fbff 55%,#eaf2fb 100%)!important;}


/* ===== V1.8: After-exam three-column Google Ad + Recent Exams ===== */
.ahx-after-result{margin:20px 0 35px}
.ahx-after-grid{display:grid;grid-template-columns:1fr 1.05fr 1fr;gap:18px;align-items:stretch}
.ahx-side-col,.ahx-ad-col{background:#fff;border:1px solid #d9e3ef;border-radius:18px;padding:15px;box-shadow:0 8px 25px rgba(20,45,90,.07)}
.ahx-side-title{font-size:18px;font-weight:900;color:#173d7a;border-bottom:3px solid #2d67d8;padding:5px 2px 11px;margin-bottom:10px}
.ahx-recent-card{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:#17233b!important;border:1px solid #e1e8f1;border-radius:12px;padding:10px;margin:9px 0;background:#f8fbff;transition:.15s}
.ahx-recent-card:hover{transform:translateY(-2px);border-color:#4b73d9;background:#eef5ff}
.ahx-recent-icon{width:35px;height:35px;border-radius:10px;background:#e8efff;display:flex;align-items:center;justify-content:center;flex:none}
.ahx-recent-card b{display:block;font-size:14px;line-height:1.25}.ahx-recent-card small{display:block;color:#66758a;font-size:11px;margin-top:3px}
.ahx-ad-col{display:flex;flex-direction:column}.ahx-ad-title{text-align:center;font-size:11px;color:#7c8797;font-weight:800;letter-spacing:1px;margin:3px 0 10px}
.ahx-ad-slot{min-height:250px;flex:1;border:1px dashed #b8c5d6;border-radius:12px;background:#fafcff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#68778b}
.ahx-ad-slot span{font-weight:800;font-size:14px}.ahx-ad-slot small{font-size:11px;margin-top:6px}
.ahx-no-recent{padding:25px 8px;text-align:center;color:#6d7b8d;font-size:13px}
@media(max-width:850px){.ahx-after-grid{grid-template-columns:1fr 1fr}.ahx-ad-col{grid-column:1/-1;grid-row:1}.ahx-side-col{grid-row:2}}
@media(max-width:600px){.ahx-after-grid{grid-template-columns:1fr}.ahx-ad-col{grid-column:auto;grid-row:auto}}


/* ===== V1.9 GUARANTEED THREE COLUMN RESULT LAYOUT ===== */
.ahx-after-result{display:none!important;width:100%;box-sizing:border-box;margin:22px 0 40px}
.ahx-after-result.ahx-show{display:block!important}
.ahx-after-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;width:100%!important;align-items:stretch!important}
.ahx-side-col,.ahx-ad-col{display:flex!important;flex-direction:column!important;box-sizing:border-box!important;min-width:0!important;background:#fff!important;border:1px solid #d6e1ee!important;border-radius:16px!important;padding:18px!important;box-shadow:0 8px 24px rgba(22,48,88,.08)!important}
.ahx-side-title{font-size:18px!important;font-weight:800!important;color:#173d7a!important;padding:0 0 12px!important;margin:0 0 12px!important;border-bottom:3px solid #2f67d8!important}
.ahx-recent-card{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;box-sizing:border-box!important;margin:0 0 10px!important;padding:11px!important;border:1px solid #dce6f2!important;border-radius:11px!important;background:#f7faff!important;text-decoration:none!important;color:#18253b!important}
.ahx-recent-card b{display:block!important;font-size:14px!important}.ahx-recent-card small{display:block!important;font-size:11px!important;color:#68778b!important;margin-top:4px!important}
.ahx-ad-col{justify-content:flex-start!important}.ahx-ad-title{font-size:12px!important;text-align:center!important;color:#68778b!important;font-weight:800!important;letter-spacing:1px!important;margin:0 0 12px!important}
.ahx-ad-slot{width:100%!important;min-height:280px!important;box-sizing:border-box!important;border:1px dashed #aebdd0!important;border-radius:12px!important;background:#f9fbfe!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;text-align:center!important}
.ahx-ad-slot span{font-weight:800!important;color:#263c5d!important}.ahx-ad-slot small{display:block!important;margin-top:7px!important;color:#718096!important}
@media(max-width:900px){.ahx-after-grid{grid-template-columns:1fr 1fr!important}.ahx-ad-col{grid-column:1/-1!important;order:-1!important}}
@media(max-width:600px){.ahx-after-grid{grid-template-columns:1fr!important}.ahx-ad-col{grid-column:auto!important;order:0!important}}


/* ============================================================
   ATOZHELP V2.1 REVIEW SUBMIT BANNERS CSS
   ============================================================ */
.ahx-v21-three-banners{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  width:100%;
  max-width:1100px;
  margin:18px auto 28px;
  box-sizing:border-box;
}
.ahx-v21-banner{
  min-height:190px;
  border-radius:18px;
  padding:22px;
  box-sizing:border-box;
  color:#fff;
  box-shadow:0 9px 25px rgba(20,45,90,.14);
  border:1px solid rgba(255,255,255,.35);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.ahx-v21-banner-icon{
  width:46px;height:46px;border-radius:13px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.2);font-size:23px;margin-bottom:12px;
}
.ahx-v21-banner h3{margin:0 0 8px;font-size:21px;color:#fff}
.ahx-v21-banner p{margin:0 0 14px;color:#fff;opacity:.94;line-height:1.45}
.ahx-v21-banner a{
  display:inline-block;align-self:flex-start;
  margin-top:auto;text-decoration:none!important;
  padding:10px 14px;border-radius:10px;
  background:#fff;color:#173d78!important;font-weight:800;
}
.ahx-v21-recent{background:linear-gradient(135deg,#1765d5,#2e8fe8)}
.ahx-v21-ad{background:linear-gradient(135deg,#6c43c5,#a24cc7)}
.ahx-v21-latest{background:linear-gradient(135deg,#078653,#19a66b)}
.ahx-v21-ad-slot{
  margin-top:auto;background:rgba(255,255,255,.16);
  border:1px dashed rgba(255,255,255,.75);
  border-radius:10px;padding:10px;font-size:12px;
}
@media(max-width:850px){
  .ahx-v21-three-banners{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .ahx-v21-three-banners{grid-template-columns:1fr;gap:12px}
  .ahx-v21-banner{min-height:155px}
}
