
.aft-wrap{max-width:1200px;margin:auto;padding:20px}.aft-search{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.aft-search input,.aft-search select,.aft-search button,.aft-search a,.aft-admin input,.aft-admin select,.aft-admin textarea{padding:10px;border:1px solid #ccd2d8;border-radius:6px}.aft-search input{min-width:300px}.aft-search button,.aft-button,.aft-admin button{background:#17365d;color:#fff;border:0;padding:10px 15px;border-radius:6px;text-decoration:none;display:inline-block;cursor:pointer}.aft-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.aft-card{border:1px solid #e0e5ea;border-radius:10px;padding:16px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.04)}.aft-card-top{display:flex;justify-content:space-between;gap:10px;color:#52606d;font-size:14px}.aft-card h3{margin:10px 0}.aft-card h3 a{color:#17365d;text-decoration:none}.aft-meta{font-size:14px}.aft-table{width:100%;border-collapse:collapse;margin:15px 0}.aft-table th,.aft-table td{border:1px solid #d9dee3;padding:9px;text-align:left;vertical-align:top}.aft-table th{width:24%;background:#f5f7f9}.aft-editor{border:1px solid #d9dee3;border-radius:10px;padding:14px;margin:20px 0}.aft-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.aft-form-grid label,.aft-editor>form>label{display:block;font-weight:600;margin:10px 0}.aft-form-grid input,.aft-editor textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px}.aft-editor textarea{min-height:80px}.aft-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:8px;margin:8px 0}.aft-upload{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;padding:12px;background:#f6f8fa;border-radius:8px}.aft-order,.aft-doc{padding:10px;border-bottom:1px solid #ddd}.aft-lock{padding:30px;text-align:center;border:1px solid #ddd;border-radius:10px}.aft-notice{font-weight:600}.aft-admin-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:700px){.aft-form-grid,.aft-row{grid-template-columns:1fr}.aft-search input{min-width:0;width:100%}.aft-table th{width:auto}}
.aft-case-title{border-bottom:3px solid #b38a2e;margin-bottom:18px}.aft-case-title h2{margin:0;padding:10px 0;color:#17365d}.aft-case-summary th{background:#17365d;color:#fff}.aft-case-summary td{font-size:15px}.aft-hearing-date{font-weight:800;font-size:17px}.aft-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:28px}.aft-list-heading h2{margin:0}.aft-list-heading span{font-size:13px;font-weight:700;color:#52606d}.aft-case-list-card h3{margin:10px 0 12px;color:#17365d}.aft-next-date{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;margin:10px 0;background:#f5f7f9;border-left:4px solid #b38a2e;border-radius:6px}.aft-next-date span{font-size:12px;font-weight:700;text-transform:uppercase;color:#52606d}.aft-next-date strong{font-size:16px;color:#17365d}@media(max-width:700px){.aft-list-heading{align-items:flex-start;flex-direction:column}.aft-next-date{align-items:flex-start;flex-direction:column}}

.aft-card-heading{font-size:18px;color:#52606d;margin-bottom:10px}.aft-card-heading strong{font-weight:800}.aft-ndh{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;margin:12px 0;background:#f5f7f9;border-left:4px solid #b38a2e;border-radius:6px}.aft-ndh span{font-size:13px;font-weight:700;color:#52606d}.aft-ndh strong{font-size:17px;color:#17365d}.aft-status{padding:4px 0;font-size:15px}.aft-status b{margin-right:5px}.aft-status span{font-weight:600}@media(max-width:700px){.aft-ndh{align-items:flex-start;flex-direction:column}}

/* Version 0.9: hearing-date colour coding and compact date display */
.aft-ndh strong,.aft-next-date strong{white-space:nowrap;overflow:hidden;text-overflow:clip;flex:0 1 auto;min-width:0;font-size:clamp(12px,2.2vw,17px);line-height:1.1;}
.aft-date-expired{color:#c00000 !important}.aft-date-today{color:#008000 !important}.aft-date-immediate{color:#0057b8 !important}.aft-date-future{color:#000 !important}
.aft-card-actions{margin-top:12px}.aft-home-view{font-size:14px} .aft-home-modal{display:none;position:fixed;inset:0;z-index:99999}.aft-home-modal.is-open{display:block}.aft-home-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62)}.aft-home-modal-dialog{position:relative;width:min(980px,calc(100% - 28px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;background:#fff;border-radius:14px;box-shadow:0 18px 60px rgba(0,0,0,.3);padding:30px 30px 86px;box-sizing:border-box}.aft-home-modal-close{position:absolute;right:20px;bottom:18px;z-index:100001;width:52px;height:52px;border:0;border-radius:50%;background:#17365d;color:#fff;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.3)}.aft-home-case-detail h2{color:#17365d;border-bottom:3px solid #b38a2e;padding-bottom:12px;margin-top:0}.aft-home-popup-single{display:flex;flex-direction:column;border:1px solid #d9dee3;border-radius:10px;overflow:hidden}.aft-home-popup-field{padding:17px 20px;border-bottom:1px solid #d9dee3}.aft-home-popup-field:nth-child(odd){background:#f7f9fb}.aft-home-popup-field b,.aft-home-popup-row b{display:block;margin-bottom:6px;color:#17365d}.aft-home-popup-field span{display:block}.aft-home-popup-section{padding:20px;background:#fff}.aft-home-popup-section h3{margin:0 0 15px;color:#17365d}.aft-home-popup-listing{border:1px solid #d9dee3;border-radius:8px;margin-bottom:12px;overflow:hidden}.aft-home-popup-row{padding:13px 16px;border-bottom:1px solid #d9dee3}.aft-home-popup-row:last-child{border-bottom:0}.aft-home-popup-orders{display:flex;flex-direction:column;gap:9px}.aft-home-popup-order{padding:10px 0}.aft-home-popup-order-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.aft-home-order-button{font-size:13px;padding:7px 11px}.aft-muted{color:#667085}.aft-modal-open{overflow:hidden}@media(max-width:700px){.aft-home-modal-dialog{margin:10px auto;max-height:calc(100vh - 20px);padding:20px 15px 82px}.aft-home-modal-close{right:16px;bottom:14px}.aft-home-popup-section{padding:16px}.aft-home-popup-order-links{flex-direction:column;align-items:flex-start}}

/* Version 10: administrator category editor, file replacement and compact record */
.aft-admin-case-grid .aft-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.aft-button-primary{background:#17365d !important}.aft-button-danger{background:#a61b1b !important}
.aft-admin-record{display:flex;flex-direction:column;gap:18px}.aft-admin-category{border:1px solid #d9dee3;border-radius:12px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.04);overflow:hidden}.aft-category-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;background:#f5f7f9;border-bottom:1px solid #d9dee3}.aft-category-head h2{margin:0;color:#17365d;font-size:20px}.aft-category-body{padding:16px}.aft-admin-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.aft-admin-summary-grid>div{padding:12px;border:1px solid #e2e6ea;border-radius:8px;background:#fff}.aft-admin-summary-grid b{display:block;color:#52606d;font-size:12px;text-transform:uppercase;margin-bottom:5px}.aft-admin-summary-grid span{display:block;font-size:15px;line-height:1.45}.aft-admin-wide{grid-column:1/-1}.aft-date-large{font-weight:800;font-size:18px;white-space:nowrap}.aft-category-modal{display:none;position:fixed;inset:0;z-index:100000}.aft-category-modal.is-open{display:block}.aft-category-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58)}.aft-category-dialog{position:relative;width:min(920px,calc(100% - 28px));max-height:calc(100vh - 50px);overflow:auto;margin:25px auto;background:#fff;border-radius:14px;box-shadow:0 20px 70px rgba(0,0,0,.35);padding:22px;box-sizing:border-box}.aft-category-dialog h2{margin-top:0;color:#17365d;border-bottom:3px solid #b38a2e;padding-bottom:10px}.aft-category-dialog label{display:block;font-weight:700;margin:10px 0}.aft-category-dialog input,.aft-category-dialog select,.aft-category-dialog textarea{width:100%;box-sizing:border-box;margin-top:5px;padding:10px;border:1px solid #ccd2d8;border-radius:7px}.aft-category-dialog textarea{min-height:90px}.aft-modal-x{position:sticky;float:right;top:0;border:0;background:#17365d;color:#fff;border-radius:50%;width:38px;height:38px;font-size:24px;line-height:1;cursor:pointer}.aft-modal-actions{display:flex;justify-content:flex-end;margin-top:14px}.aft-success{padding:12px 15px;background:#edf8ef;border:1px solid #b9dfc0;border-radius:8px;color:#155724}.aft-file-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.aft-inline-replace{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.aft-inline-replace input[type=file]{max-width:250px;padding:5px}.aft-order,.aft-doc{background:#fafbfc;border:1px solid #e3e7eb;border-radius:8px;margin:8px 0}.aft-new-case{border:1px solid #d9dee3;border-radius:12px;background:#fff;padding:16px;margin:18px 0}.aft-new-case .aft-category-head{margin:-16px -16px 16px}.aft-admin .aft-upload{border:1px solid #e0e5ea;background:#f7f9fb}.aft-admin .aft-import-panel{border:1px solid #d9dee3;padding:16px;border-radius:10px;background:#fff}
@media(max-width:700px){.aft-admin-summary-grid{grid-template-columns:1fr}.aft-admin-wide{grid-column:auto}.aft-category-dialog{width:calc(100% - 16px);max-height:calc(100vh - 20px);margin:10px auto;padding:16px}.aft-category-head{align-items:flex-start}.aft-category-head h2{font-size:18px}.aft-inline-replace{width:100%}.aft-inline-replace input[type=file]{max-width:100%;width:100%}}


/* Version 12: Court-wise sorting, Court No field, listing Order column and left-aligned hearing dates */
.aft-next-date,.aft-ndh{justify-content:flex-start !important;text-align:left}.aft-next-date strong,.aft-ndh strong{margin-left:14px;text-align:left}.aft-court-no{float:right;font-size:13px;font-weight:700;color:#52606d;margin-left:12px}.aft-listing-history th:nth-child(1),.aft-listing-history td:nth-child(1){text-align:left;white-space:nowrap}.aft-order-entry{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:2px 0}.aft-order-label{font-weight:600}.aft-order-link{font-size:12px !important;padding:6px 9px !important}

/* Version 11: Advocate portal expanded records, mobile contact, AFT order links and notes */
.aft-advocate-list{display:flex;flex-direction:column;gap:16px}.aft-advocate-case{width:100%}.aft-advocate-case>.aft-card{width:100%;box-sizing:border-box}.aft-adv-detail{width:100%;box-sizing:border-box;margin-top:0;border:1px solid #d9dee3;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.06);padding:18px}.aft-adv-detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;margin-bottom:14px;border-bottom:3px solid #b38a2e}.aft-adv-detail-head strong{font-size:20px;color:#17365d}.aft-adv-versus{font-size:17px;font-weight:700;color:#222;margin-top:5px}.aft-adv-sections{display:grid;grid-template-columns:1fr;gap:16px;margin-top:18px}.aft-adv-sections section{border:1px solid #e0e5ea;border-radius:9px;padding:14px}.aft-adv-sections h3,.aft-adv-note-section h3{margin:0 0 10px;color:#17365d}.aft-adv-note-section{margin-top:16px;border:1px solid #e0e5ea;border-radius:9px;overflow:hidden}.aft-adv-note-section .aft-category-head{background:#f5f7f9}.aft-adv-notes{padding:14px;line-height:1.55}.aft-note-add{font-size:13px}.aft-advocate-page .aft-search{margin-bottom:18px}.aft-advocate-page .aft-search button{min-width:90px}.aft-advocate-page .aft-next-date strong{white-space:nowrap}.aft-advocate-page .aft-doc{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.aft-advocate-page .aft-doc .aft-button{font-size:13px;padding:7px 10px}.aft-advocate-page .aft-table td:first-child{white-space:nowrap}
@media(max-width:700px){.aft-adv-detail{padding:12px}.aft-adv-detail-head{align-items:flex-start;flex-direction:column}.aft-adv-detail-head .aft-button{align-self:flex-end}.aft-adv-versus{font-size:15px}.aft-advocate-page .aft-next-date{flex-direction:row;align-items:center;justify-content:flex-start !important}.aft-advocate-page .aft-next-date strong{font-size:clamp(12px,4vw,17px)}}


/* Version 13: dedicated Next Date of Hearing page */
.aft-next-date-page .aft-grid{margin-top:16px}.aft-next-date-page .aft-results-head{margin-bottom:4px}.aft-next-date-card h3{margin:10px 0 12px;color:#17365d}.aft-next-date-card .aft-card-actions{display:flex;justify-content:flex-start}.aft-next-date-case-details{border:1px solid #d9dee3;border-radius:9px;background:#f7f9fb;padding:14px;margin-bottom:16px}.aft-next-date-popup-title{font-size:20px;font-weight:800;color:#17365d}.aft-next-date-popup-versus{font-size:17px;font-weight:700;margin:5px 0 14px}.aft-next-date-popup-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.aft-next-date-popup-grid>div{border:1px solid #e2e6ea;border-radius:7px;background:#fff;padding:10px}.aft-next-date-popup-grid b{display:block;color:#52606d;font-size:12px;text-transform:uppercase;margin-bottom:4px}.aft-next-date-popup-grid span{display:block;line-height:1.4}.aft-next-date-popup-wide{grid-column:1/-1}.aft-next-date-current{padding:11px 12px;border-left:4px solid #b38a2e;background:#f5f7f9;border-radius:6px;margin:12px 0}.aft-next-date-current span{font-weight:800;color:#17365d;margin-left:5px}.aft-required{color:#a61b1b}.aft-next-date-note{padding:10px 12px;background:#fff8e8;border:1px solid #ead8a5;border-radius:7px;line-height:1.5}.aft-next-date-page .aft-notice{padding:12px 15px;background:#fff3f3;border:1px solid #e2bcbc;border-radius:8px;color:#8a1f1f;margin:12px 0}.aft-next-date-page .aft-success{margin:12px 0}
@media(max-width:700px){.aft-next-date-popup-grid{grid-template-columns:1fr}.aft-next-date-popup-wide{grid-column:auto}.aft-next-date-popup-versus{font-size:15px}.aft-next-date-card .aft-card-heading{padding-right:0}.aft-next-date-card .aft-court-no{float:none;display:block;margin:5px 0 0}.aft-next-date-page .aft-search{margin-bottom:12px}}


/* Version 14: professional public Home Page and navigation */
body.aft-home-page .entry-header,body.aft-home-page .page-header{display:none !important}
body.aft-home-page .site-header{display:none !important}
body.aft-home-page .site-footer{margin-top:0}
body.aft-home-page .entry-content{margin:0 !important;padding:0 !important}
body.aft-home-page .wp-site-blocks,body.aft-home-page .site,body.aft-home-page .content-area{margin:0 !important;padding:0 !important;max-width:none !important}
.aft-home-shell{min-height:100vh;background:#f4f6f9;color:#18222d;font-family:Arial,Helvetica,sans-serif}
.aft-site-header{background:linear-gradient(135deg,#0c2545 0%,#173f6b 58%,#0b223d 100%);color:#fff;box-shadow:0 8px 24px rgba(8,27,48,.16);position:relative;z-index:5}
.aft-brand{max-width:1240px;margin:0 auto;padding:30px 28px 24px;display:flex;justify-content:center;align-items:center;gap:18px;text-align:center}
.aft-brand-mark{width:66px;height:66px;border:2px solid #d6b45b;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;letter-spacing:1px;color:#fff;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 5px rgba(255,255,255,.04)}
.aft-brand-copy{display:flex;flex-direction:column;align-items:center}
.aft-kicker{font-size:12px;letter-spacing:3px;font-weight:700;color:#d9bf73;margin-bottom:4px}
.aft-brand-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,4vw,46px);line-height:1.1;margin:0;color:#fff;font-weight:700}
.aft-brand-line{width:90px;height:3px;background:#d6b45b;margin-top:13px;border-radius:3px}
.aft-main-menu{display:flex;justify-content:center;align-items:center;gap:4px;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.15);padding:0 16px}
.aft-main-menu a{color:#fff !important;text-decoration:none !important;font-weight:700;font-size:15px;padding:16px 24px;display:block;border-bottom:3px solid transparent;transition:all .2s ease}
.aft-main-menu a:hover,.aft-main-menu a.is-active{background:rgba(255,255,255,.08);border-bottom-color:#d6b45b}
.aft-main-menu .aft-menu-ndh{background:#d6b45b;color:#102b4b !important;margin:8px 0;border-radius:5px;border-bottom:0;padding:10px 19px}
.aft-main-menu .aft-menu-ndh:hover{background:#ebd58d}
.aft-hearing-ticker{max-width:1240px;margin:0 auto;display:flex;align-items:center;min-height:48px;background:#0a1e34;overflow:hidden}
.aft-ticker-label{flex:0 0 auto;background:#d6b45b;color:#102b4b;font-size:11px;font-weight:900;letter-spacing:1.4px;padding:9px 14px;align-self:stretch;display:flex;align-items:center}
.aft-ticker-window{overflow:hidden;white-space:nowrap;flex:1}
.aft-ticker-track{display:inline-flex;align-items:center;min-width:max-content;animation:aftTicker 100s linear infinite}
.aft-ticker-item{display:inline-flex;align-items:center;gap:10px;padding:0 22px;font-size:14px;color:#f4f7fa}
.aft-ticker-item strong{color:#f0d889;font-size:14px}
.aft-ticker-sep{color:#d6b45b;font-size:17px}
@keyframes aftTicker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.aft-home-content{max-width:1240px;margin:0 auto;padding:34px 28px 55px}
.aft-home-intro{text-align:center;margin:0 auto 28px;max-width:820px}
.aft-section-kicker{font-size:11px;letter-spacing:2px;font-weight:900;color:#a27a21}
.aft-home-intro h2{font-family:Georgia,'Times New Roman',serif;color:#17365d;font-size:clamp(25px,3vw,36px);margin:7px 0 8px}
.aft-home-intro p{margin:0;color:#5a6774;font-size:16px;line-height:1.6}
.aft-home-page .aft-search{background:#fff;padding:14px;border:1px solid #dce2e8;border-radius:10px;box-shadow:0 3px 12px rgba(0,0,0,.04)}
.aft-home-page .aft-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.aft-home-page .aft-card{border-top:4px solid #173f6b;border-radius:10px;box-shadow:0 5px 18px rgba(17,42,68,.07);transition:transform .18s ease,box-shadow .18s ease}
.aft-home-page .aft-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(17,42,68,.11)}
.aft-home-page .aft-card h3{font-size:17px;line-height:1.35;color:#202b37}
.aft-home-page .aft-card-heading strong{font-size:16px}
.aft-home-page .aft-ndh{background:#f3f7fb;border-left-color:#d6b45b}
.aft-home-page .aft-results-head{margin:0 0 8px;padding:0 2px}
.aft-home-page .aft-results-head strong{color:#173f6b;font-size:19px}
@media(max-width:900px){.aft-home-page .aft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aft-brand{padding-top:24px}}
@media(max-width:650px){.aft-brand{padding:22px 14px 18px}.aft-brand-mark{width:52px;height:52px;font-size:13px}.aft-kicker{font-size:9px;letter-spacing:2px}.aft-main-menu{flex-wrap:wrap;padding:7px 8px}.aft-main-menu a{padding:10px 12px;font-size:13px}.aft-main-menu .aft-menu-ndh{margin:0;padding:9px 13px}.aft-hearing-ticker{min-height:42px}.aft-ticker-label{font-size:9px;padding:8px 9px}.aft-ticker-item{font-size:12px;padding:0 13px}.aft-ticker-item strong{font-size:12px}.aft-home-content{padding:24px 14px 40px}.aft-home-page .aft-grid{grid-template-columns:1fr}.aft-home-intro h2{font-size:26px}.aft-home-intro p{font-size:14px}}

/* Version 16: clean professional Home Page — only Case Management System + menu */
body.aft-home-page .site-header,body.aft-home-page #masthead,body.aft-home-page header#masthead,body.aft-home-page .wp-site-blocks > header,body.aft-home-page .wp-block-template-part,body.aft-home-page .wp-block-navigation,body.aft-home-page .main-navigation,body.aft-home-page nav:not(.aft-main-menu){display:none !important}
body.aft-home-page .site-content,body.aft-home-page .content-area,body.aft-home-page main{margin-top:0 !important;padding-top:0 !important}
body.aft-home-page{margin-top:0 !important}
.aft-brand{padding:34px 28px 30px}
.aft-brand-mark,.aft-kicker,.aft-brand-line{display:none !important}
.aft-brand-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,4.2vw,52px);line-height:1.1;margin:0;color:#fff;font-weight:700}
.aft-home-intro{display:none !important}
.aft-home-content{padding-top:30px}


/* Version 17: remove legacy WordPress/theme Home Page chrome and legacy page text. */
body.aft-home-page #page > header,
body.aft-home-page #page > .site-header,
body.aft-home-page .site-branding,
body.aft-home-page .custom-logo-link,
body.aft-home-page .site-title,
body.aft-home-page .site-description,
body.aft-home-page .entry-header,
body.aft-home-page .page-header,
body.aft-home-page .wp-block-post-title,
body.aft-home-page .page-title {
  display:none !important;
}
body.aft-home-page .entry-content {margin:0 !important;padding:0 !important;max-width:none !important;}
body.aft-home-page .aft-home-shell {margin-top:0 !important;}

/* Version 18: common professional header on every MiF page + floating menu */
body.aft-advocate-page-body .site-header,
body.aft-admin-page-body .site-header,
body.aft-next-date-page-body .site-header,
body.aft-advocate-page-body #masthead,
body.aft-admin-page-body #masthead,
body.aft-next-date-page-body #masthead,
body.aft-advocate-page-body .site-branding,
body.aft-admin-page-body .site-branding,
body.aft-next-date-page-body .site-branding,
body.aft-advocate-page-body .entry-header,
body.aft-admin-page-body .entry-header,
body.aft-next-date-page-body .entry-header,
body.aft-advocate-page-body .page-header,
body.aft-admin-page-body .page-header,
body.aft-next-date-page-body .page-header{display:none !important}

.aft-site-header{background:linear-gradient(135deg,#0c2545 0%,#173f6b 58%,#0b223d 100%);color:#fff;box-shadow:0 8px 24px rgba(8,27,48,.16);position:relative;z-index:5}
.aft-brand{max-width:1240px;margin:0 auto;padding:34px 28px 30px;display:flex;justify-content:center;align-items:center;text-align:center}
.aft-brand-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,4.2vw,52px);line-height:1.1;margin:0;color:#fff;font-weight:700}
.aft-main-menu.aft-floating-menu{display:flex;justify-content:center;align-items:center;gap:4px;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.15);padding:0 16px;background:rgba(16,52,88,.98);position:sticky;top:0;z-index:1000;backdrop-filter:blur(8px)}
.aft-main-menu.aft-floating-menu a{color:#fff !important;text-decoration:none !important;font-weight:700;font-size:15px;padding:16px 24px;display:block;border-bottom:3px solid transparent;transition:all .2s ease}
.aft-main-menu.aft-floating-menu a:hover,.aft-main-menu.aft-floating-menu a.is-active{background:rgba(255,255,255,.08);border-bottom-color:#d6b45b}
.aft-main-menu.aft-floating-menu .aft-menu-ndh{background:#d6b45b;color:#102b4b !important;margin:8px 0;border-bottom:0;border-radius:5px;padding:10px 19px}
.aft-main-menu.aft-floating-menu .aft-menu-ndh:hover,.aft-main-menu.aft-floating-menu .aft-menu-ndh.is-active{background:#ebd58d;border-bottom:0}
.aft-hearing-ticker{max-width:none;margin:0 auto;display:flex;align-items:center;min-height:48px;background:#0a1e34;overflow:hidden}
.aft-ticker-label{flex:0 0 auto;background:#d6b45b;color:#102b4b;font-size:11px;font-weight:900;letter-spacing:1.4px;padding:9px 14px;align-self:stretch;display:flex;align-items:center}
.aft-ticker-window{overflow:hidden;white-space:nowrap;flex:1}
.aft-ticker-track{display:inline-flex;align-items:center;min-width:max-content;animation:aftTicker 150s linear infinite}
.aft-ticker-item{display:inline-flex;align-items:center;gap:10px;padding:0 22px;font-size:14px;color:#f4f7fa}
.aft-ticker-item strong{color:#f0d889;font-size:14px}
.aft-ticker-sep{color:#d6b45b;font-size:17px}
@keyframes aftTicker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* Keep the same clean page background when the common header is used. */
body.aft-advocate-page-body .entry-content,
body.aft-admin-page-body .entry-content,
body.aft-next-date-page-body .entry-content{margin:0 !important;padding:0 !important;max-width:none !important}
body.aft-advocate-page-body main,
body.aft-admin-page-body main,
body.aft-next-date-page-body main{margin-top:0 !important;padding-top:0 !important}

@media(max-width:650px){
 .aft-brand{padding:26px 14px 22px}
 .aft-brand-copy h1{font-size:clamp(28px,8vw,38px)}
 .aft-main-menu.aft-floating-menu{flex-wrap:wrap;padding:7px 8px;gap:2px}
 .aft-main-menu.aft-floating-menu a{padding:10px 12px;font-size:13px}
 .aft-main-menu.aft-floating-menu .aft-menu-ndh{margin:0;padding:9px 13px}
 .aft-hearing-ticker{min-height:42px}
 .aft-ticker-label{font-size:9px;padding:8px 9px}
 .aft-ticker-item{font-size:12px;padding:0 13px}
 .aft-ticker-item strong{font-size:12px}
}

/* Version 18 final: the common MiF header is used on Home, Case Data, Admin and Add NDH. */
body.aft-home-page #wpadminbar,
body.aft-advocate-page-body #wpadminbar,
body.aft-admin-page-body #wpadminbar,
body.aft-next-date-page-body #wpadminbar{display:none !important}
body.aft-home-page,
body.aft-advocate-page-body,
body.aft-admin-page-body,
body.aft-next-date-page-body{margin-top:0 !important}
body.aft-home-page .aft-site-header,
body.aft-advocate-page-body .aft-site-header,
body.aft-admin-page-body .aft-site-header,
body.aft-next-date-page-body .aft-site-header{width:100%;}
/* The menu floats with the page while the title and upcoming-date strip scroll normally. */
.aft-main-menu.aft-floating-menu{position:sticky !important;top:0 !important;z-index:9999 !important}

/* Version 19: menu remains accessible from the top of the page through the end. */
.aft-main-menu.aft-floating-menu{
  position:sticky !important;
  top:0 !important;
  z-index:99999 !important;
  width:100%;
  box-sizing:border-box;
}
/* The menu is now a sibling of the header, so sticky positioning is not limited by the header. */
.aft-site-header{position:relative !important;z-index:5 !important;}
.mif-back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  width:50px;
  height:50px;
  border:0;
  border-radius:50%;
  background:#d6b45b;
  color:#102b4b;
  font-size:28px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  z-index:100000;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .2s ease,visibility .2s ease,transform .2s ease,background .2s ease;
}
.mif-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.mif-back-to-top:hover{background:#ebd58d}
@media(max-width:650px){
  .aft-main-menu.aft-floating-menu{position:sticky !important;top:0 !important;}
  .mif-back-to-top{right:14px;bottom:14px;width:46px;height:46px;font-size:25px}
}


/* Version 20: role-aware navigation, login popup and New Case page. */
.aft-main-menu.aft-floating-menu .aft-menu-login{margin-left:8px;border-left:1px solid rgba(255,255,255,.18)}
.aft-main-menu.aft-floating-menu .aft-menu-logout{color:#fff !important;background:rgba(255,255,255,.06)}
.aft-main-menu.aft-floating-menu .aft-menu-newcase{background:#fff;color:#17365d !important;border-radius:5px;margin:8px 0;padding:10px 19px;border-bottom:0}
.aft-main-menu.aft-floating-menu .aft-menu-newcase:hover,.aft-main-menu.aft-floating-menu .aft-menu-newcase.is-active{background:#eef3f8;border-bottom:0}
.mif-login-modal{display:none;position:fixed;inset:0;z-index:100001}
.mif-login-modal.is-open{display:block}
.mif-login-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62)}
.mif-login-dialog{position:relative;width:min(430px,calc(100% - 28px));margin:10vh auto 0;background:#fff;border-radius:14px;box-shadow:0 22px 80px rgba(0,0,0,.4);padding:26px;box-sizing:border-box}
.mif-login-dialog h2{margin:0 0 18px;color:#17365d;border-bottom:3px solid #d6b45b;padding-bottom:10px}
.mif-login-dialog label{display:block;font-weight:700;margin:13px 0;color:#243b53}
.mif-login-dialog input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid #ccd2d8;border-radius:7px;font-size:16px}
.mif-login-dialog .aft-button{width:100%;text-align:center;margin-top:8px}
.mif-login-close{position:absolute;right:14px;top:14px;border:0;background:#17365d;color:#fff;border-radius:50%;width:36px;height:36px;font-size:23px;line-height:1;cursor:pointer}
.mif-login-error{padding:10px 12px;background:#fff1f1;border:1px solid #e1b4b4;border-radius:7px;color:#8b1e1e;font-weight:600;margin-bottom:12px}
body.mif-modal-open{overflow:hidden}
body.mif-new-case-page-body .site-header,body.mif-new-case-page-body #masthead,body.mif-new-case-page-body .site-branding,body.mif-new-case-page-body .entry-header,body.mif-new-case-page-body .page-header,body.mif-new-case-page-body #wpadminbar{display:none !important}
body.mif-new-case-page-body{margin-top:0 !important}
body.mif-new-case-page-body .entry-content,body.mif-new-case-page-body main{margin:0 !important;padding:0 !important;max-width:none !important}
body.mif-new-case-page-body .aft-site-header{width:100%}
body.mif-new-case-page-body .aft-main-menu.aft-floating-menu{position:sticky !important;top:0 !important;z-index:99999 !important}
.mif-new-case-page{padding-bottom:50px}
.mif-new-case-page .aft-new-case{max-width:1250px;margin:20px auto;padding:20px}
.mif-new-case-page .aft-new-case .aft-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mif-new-case-page .aft-new-case h3{color:#17365d;margin-top:22px}
@media(max-width:800px){.mif-new-case-page .aft-new-case .aft-form-grid{grid-template-columns:1fr}.aft-main-menu.aft-floating-menu .aft-menu-login{margin-left:0;border-left:0}.aft-main-menu.aft-floating-menu .aft-menu-newcase{margin:0;padding:9px 13px}}

.aft-login-required{max-width:620px;margin:70px auto;padding:48px 30px;text-align:center;background:#fff;border:1px solid #d9e1ea;border-radius:14px;box-shadow:0 8px 28px rgba(12,37,69,.08)}.aft-login-required-icon{font-size:42px;margin-bottom:8px}.aft-login-required h2{margin:8px 0 10px;color:#17365d}.aft-login-required p{margin:0 0 22px;color:#536273}

/* Version 24 - Applicant registration */
.mif-registration-wrap{max-width:1180px;margin:0 auto;padding-top:34px}
.mif-registration-card{background:#fff;border:1px solid #d8e0e8;border-radius:16px;box-shadow:0 10px 32px rgba(16,43,75,.08);overflow:hidden}
.mif-registration-head{padding:26px 30px;background:#f5f8fb;border-bottom:1px solid #d8e0e8}
.mif-registration-head h1{margin:0 0 7px;color:#17365d;font-size:30px}
.mif-registration-head p{margin:0;color:#536579;font-size:15px}
.mif-registration-form{padding:28px 30px 32px}
.mif-reg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}
.mif-reg-grid label{display:block;font-weight:700;color:#243b53;font-size:14px}
.mif-reg-grid input,.mif-reg-grid select,.mif-reg-grid textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #cbd5df;border-radius:8px;background:#fff;padding:11px 12px;font:inherit;font-weight:400;color:#243b53}
.mif-reg-grid textarea{resize:vertical;min-height:90px}
.mif-reg-grid input:focus,.mif-reg-grid select:focus,.mif-reg-grid textarea:focus{outline:none;border-color:#17365d;box-shadow:0 0 0 3px rgba(23,54,93,.10)}
.mif-reg-full{grid-column:1/-1}
.mif-help{font-weight:400;color:#687b8f;font-size:12px}
.mif-reg-actions{display:flex;justify-content:flex-end;margin-top:25px;padding-top:20px;border-top:1px solid #e2e8ef}
.mif-reg-success,.mif-reg-error{margin:20px 30px 0;padding:12px 14px;border-radius:8px;font-weight:700}
.mif-reg-success{background:#e9f7ee;color:#176b35;border:1px solid #b9dfc4}
.mif-reg-error{background:#fff0f0;color:#a51d1d;border:1px solid #e7bcbc}
.mif-login-links{text-align:center;margin-top:12px;font-size:14px}
.mif-login-links a{color:#17365d;font-weight:700;text-decoration:underline}
.aft-main-menu.aft-floating-menu .aft-menu-register{font-size:14px;padding-left:16px;padding-right:16px}
@media(max-width:760px){.mif-reg-grid{grid-template-columns:1fr}.mif-reg-full{grid-column:auto}.mif-registration-form,.mif-registration-head{padding-left:18px;padding-right:18px}.mif-reg-success,.mif-reg-error{margin-left:18px;margin-right:18px}.mif-registration-head h1{font-size:25px}}
/* Ver 25: login registration link */
.mif-login-links{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}
.mif-login-links a{font-weight:700}
.mif-login-sep{opacity:.45}

.aft-menu-login-by{display:flex;align-items:center;gap:4px;color:#fff;font-weight:700;padding:0 12px;white-space:nowrap;font-size:14px}.mif-login-by-label{margin:-4px 0 16px;color:#566575;font-size:14px}.mif-login-by-label strong{color:#17395f}


/* Ver 2.0 refinement: all primary menu items use the white/gold button treatment. */
.aft-main-menu.aft-floating-menu a:not(.aft-menu-ndh){
  background:#fff !important;
  color:#17365d !important;
  border:1px solid rgba(214,180,91,.45) !important;
  border-bottom:3px solid transparent !important;
  border-radius:6px;
  margin:8px 2px;
  padding:10px 19px !important;
  box-sizing:border-box;
}
.aft-main-menu.aft-floating-menu a:not(.aft-menu-ndh):hover,
.aft-main-menu.aft-floating-menu a:not(.aft-menu-ndh).is-active{
  background:#d6b45b !important;
  color:#102b4b !important;
  border-color:#d6b45b !important;
  border-bottom-color:#b58e2b !important;
}
.aft-main-menu.aft-floating-menu .aft-menu-ndh{
  background:#d6b45b !important;
  color:#102b4b !important;
  border:1px solid #d6b45b !important;
  border-bottom:3px solid #b58e2b !important;
  border-radius:6px;
  margin:8px 2px;
  padding:10px 19px !important;
}
.aft-main-menu.aft-floating-menu .aft-menu-newcase{
  background:#fff !important;
  color:#17365d !important;
}
.aft-main-menu.aft-floating-menu .aft-menu-login-by{
  background:transparent !important;
  color:#fff !important;
  border:0 !important;
  margin:0 4px;
  padding:0 8px;
}
.aft-admin-search{margin:14px 0 20px}
.aft-admin-search .aft-search{margin:0}
@media(max-width:800px){
 .aft-main-menu.aft-floating-menu a:not(.aft-menu-ndh){margin:2px;padding:9px 12px !important}
 .aft-main-menu.aft-floating-menu .aft-menu-ndh{margin:2px;padding:9px 12px !important}
 .aft-admin-search .aft-search{flex-wrap:wrap}
}
