/*
Theme Name: USAPEDIA24
Version: 1.0.0
Description: Arabic and English America guides and practical tools.
Text Domain: usapedia
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#102c46;background:#f5f7fa;font-family:'Noto Sans Arabic','DM Sans',sans-serif;font-size:16px;line-height:1.8}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ecaa33;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.45;letter-spacing:-1px}h2{font-size:1.65rem;line-height:1.5}h3{font-size:1.13rem}p{color:#647386}.wrap{max-width:1232px;margin:auto;padding:0 28px}.topline{background:#102c46;color:#dce5ef;font-size:12px;padding:6px 0}.topline .wrap,.header-inner,.nav-inner,.section-head,.row,.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.header{background:white;border-bottom:1px solid #e8edf2}.header-inner{min-height:88px}.brand{display:flex;align-items:center;gap:12px;direction:ltr}.brand img{width:61px;height:59px;object-fit:contain}.brand strong{font-family:Georgia,serif;font-size:27px;letter-spacing:-1px}.brand em{color:#e6343f;font-style:normal}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#778697;text-align:center}.header-actions{display:flex;gap:10px;align-items:center}.btn,.plain{border:1px solid #dce3eb;background:white;color:#102c46;padding:10px 20px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600;line-height:1.7}.btn.primary{background:#e6343f;border-color:#e6343f;color:white}.btn.navy{background:#102c46;color:white;border-color:#102c46}.btn:hover{filter:brightness(.96);transform:translateY(-1px)}.plain{padding:7px 12px;background:transparent}.nav{background:white}.nav-inner{justify-content:flex-start;gap:30px;min-height:55px;overflow:auto;scrollbar-width:none}.nav a{white-space:nowrap;font-size:14px;color:#647386;padding:14px 0;border-bottom:3px solid transparent}.nav a.active{color:#102c46;border-color:#e6343f;font-weight:700}.nav a:last-child{margin-inline-start:auto}.hero{padding:48px 0 35px}.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:46px;align-items:center}.eyebrow{font-size:13px;letter-spacing:.3px;color:#c82f3b;font-weight:700;margin-bottom:12px}.hero h1 span{color:#e6343f}.hero p{max-width:550px;margin:16px 0 23px}.hero-photo{position:relative;height:345px;border-radius:14px;overflow:hidden;background:#173f5a}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-photo:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0a2139df)}.photo-caption{position:absolute;bottom:22px;inset-inline:24px;color:white;z-index:1}.photo-caption small{color:#d5e2ee}.searchbox{display:flex;gap:8px;background:white;border:1px solid #dde5ef;border-radius:10px;padding:7px;box-shadow:0 8px 24px #16334e06}.searchbox input{border:0;background:none;min-width:0;flex:1;padding:8px;outline:none}.mini-links{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;margin-top:16px;color:#647386}.hero-label{display:inline-block;border:1px solid #dce5ed;background:white;border-radius:99px;padding:4px 12px;font-size:12px;margin-bottom:14px}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 34px}.quick{background:white;border:1px solid #e1e7ed;border-radius:10px;padding:19px;display:flex;gap:14px;align-items:center;transition:.2s}.quick:hover{border-color:#e6343f;transform:translateY(-3px)}.icon{width:44px;height:44px;border-radius:11px;background:#edf3f8;color:#214866;display:grid;place-items:center;font-family:'DM Sans',sans-serif;font-size:23px;flex-shrink:0}.quick:nth-child(2) .icon{background:#fff0f0;color:#e6343f}.quick h3{font-size:14px}.quick p{font-size:12px}.section{margin:35px 0 50px}.section-head{margin-bottom:22px}.section-head p{font-size:14px}.textlink{color:#d82d3b;font-size:14px;font-weight:600}.feature-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.visa-promo{background:#102c46;color:white;border-radius:13px;padding:28px;position:relative;overflow:hidden}.visa-promo p{color:#beccd9;font-size:14px;max-width:420px;margin:10px 0 20px}.pill{display:inline-block;border-radius:30px;background:#edf3f8;color:#45617c;padding:3px 10px;font-size:12px}.pill.red{background:#ffeaed;color:#b92333}.visa-promo .pill{background:#ffffff15;color:#e2ebf4;margin-bottom:13px}.promo-result{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff20;padding:18px 0;margin-top:20px}.promo-result b{font-size:23px;font-family:'DM Sans',sans-serif}.promo-side{background:#eaf0f6;border:1px solid #dee7ef;padding:28px;border-radius:13px}.promo-side p{font-size:14px;margin:12px 0 22px}.city-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.city-card{background:white;border:1px solid #e0e7ed;border-radius:11px;padding:20px}.city-code{font-family:Georgia,serif;font-size:38px;color:#b8c8d7;line-height:1.3}.city-card:hover .city-code{color:#e6343f}.city-card p{font-size:12px;margin:7px 0 16px}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.article-card{background:white;border:1px solid #e1e7ed;border-radius:12px;padding:25px}.article-card h3{margin:13px 0 10px;line-height:1.75}.article-card p{font-size:14px}.article-card .meta{font-size:12px;margin-top:22px;color:#7b8997}.journey-strip{background:#eaf0f6;padding:30px;border-radius:12px;display:flex;gap:25px;align-items:center;justify-content:space-between}.journey-strip p{font-size:14px;margin-top:7px}.footer{margin-top:55px;background:#102c46;color:white;padding:35px 0}.footer p{font-size:12px;color:#b6c6d5}.footer-links{display:flex;gap:22px;flex-wrap:wrap;font-size:13px}.pagehead{padding:38px 0 25px}.pagehead h1{font-size:2.2rem}.pagehead p{margin-top:9px;max-width:850px}.crumb{font-size:12px;color:#748395;margin-bottom:10px}.panel{background:white;border:1px solid #dee6ee;border-radius:12px;padding:26px;margin-bottom:22px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:24px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tool-layout{display:grid;grid-template-columns:350px 1fr;gap:25px;align-items:start}.field{display:block;margin-bottom:17px}.field>span{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.field small{display:block;font-size:12px;color:#7b8997;margin-top:5px}input,select,textarea{width:100%;border:1px solid #d7e0e8;border-radius:7px;padding:10px 12px;background:white;color:#102c46;min-height:44px}input[type=checkbox]{width:20px;min-height:20px;accent-color:#e6343f}textarea{resize:vertical}.notice{background:#fff5de;border:1px solid #f0dcab;color:#705420;font-size:13px;padding:13px 17px;border-radius:8px;margin-bottom:20px}.notice.blue{background:#edf4fa;color:#35526d;border-color:#d8e5f0}.result{background:#edf5f4;border:1px solid #cce0dc;border-radius:10px;padding:23px;margin:16px 0}.result.waiting{background:#fdf5e7;border-color:#eeddba}.result h2{font-size:1.5rem}.result p{margin-top:8px;font-size:14px}.big{font:700 38px/1.4 'DM Sans',sans-serif;direction:ltr;display:block}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.stat{background:#f5f7fa;padding:15px;border-radius:8px}.stat small{font-size:12px;color:#68798a}.stat strong{display:block;font-size:18px}.chart{width:100%;height:190px;display:block}.chart-labels{display:flex;justify-content:space-between;font-size:12px;color:#8090a0}.source{font-size:12px;color:#586f86;text-decoration:underline}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.tabs button{border:1px solid #dde5ed;background:white;border-radius:7px;padding:8px 15px;color:#52677d;font-size:14px}.tabs button.active{background:#102c46;color:white;border-color:#102c46}.all-states{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.state-item{padding:14px;background:white;border:1px solid #dfe6ed;border-radius:8px;text-align:start;color:#102c46}.state-item small{display:block;color:#7b8997;font-size:12px}.state-item.featured{border-inline-start:3px solid #e6343f}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}td,th{text-align:start;padding:12px;border-bottom:1px solid #e5ebf0}th{color:#748597;font-size:12px;font-weight:500}td:last-child,th:last-child{text-align:end}.cost-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0}.cost-row label{font-size:14px}.cost-row input{max-width:150px;direction:ltr}.summary-card{background:#102c46;color:white;border-radius:10px;padding:20px}.summary-card p{color:#c4d3e2;font-size:14px}.bar{height:7px;background:#e6edf3;border-radius:10px;overflow:hidden;margin:14px 0}.bar span{display:block;height:100%;background:#e6343f}.check-item{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #edf1f5;padding:18px 0}.check-item input{margin-top:6px;flex-shrink:0}.check-item p{font-size:13px;margin-top:4px}.check-item.done h3{text-decoration:line-through;color:#7a8a98}.steps{counter-reset:step}.step{border-inline-start:2px solid #dfe7ee;padding:0 20px 24px;margin-inline-start:10px;position:relative}.step:before{counter-increment:step;content:counter(step);position:absolute;inset-inline-start:-14px;top:0;width:26px;height:26px;border-radius:50%;background:#102c46;color:white;font-size:13px;text-align:center}.step p{font-size:14px;margin-top:8px}.article-body{max-width:790px;margin:auto}.article-body h2{margin:25px 0 10px}.article-body p{margin:12px 0;color:#415a70}.article-body ul{padding-inline-start:25px}.quiz-option{display:block;width:100%;text-align:start;background:white;border:1px solid #d9e3eb;border-radius:8px;padding:14px 18px;margin:12px 0;color:#102c46}.quiz-option.correct{background:#e3f2ec;border-color:#72b69b}.quiz-option.wrong{background:#fde9ec;border-color:#e9929e}.english-line{font-size:22px;direction:ltr;text-align:left;background:#f0f4f8;border-radius:8px;padding:20px;margin:15px 0;font-family:'DM Sans',sans-serif}.empty{text-align:center;padding:45px;color:#6f8192}.badge-demo{font-size:11px;padding:3px 7px;border:1px solid #ffffff33;border-radius:4px;color:#d7e1ea}.mobile-menu{display:none}.skip{position:fixed;top:-80px;background:white;z-index:99;padding:10px}.skip:focus{top:0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#102c46;color:white;border-radius:10px;padding:12px 24px;z-index:20;display:none;max-width:90%;box-shadow:0 10px 30px #0002}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.muted{color:#718497;font-size:13px}.divider{border:0;border-top:1px solid #e2e9ef;margin:22px 0}.redtext{color:#d82d3b}.back{font-size:14px;color:#697f93}.full{width:100%}.topic-list{display:flex;flex-wrap:wrap;gap:10px}.topic-list label{display:flex;align-items:center;gap:8px;border:1px solid #dce5ed;background:white;padding:8px 13px;border-radius:7px;font-size:14px}.oneline{white-space:nowrap}.saved-tag{font-size:12px;color:#6b8398}.install-note{font-size:12px;margin-top:12px;color:#688098}[dir=ltr] body{font-family:'DM Sans','Noto Sans Arabic',sans-serif}[dir=ltr] h1{line-height:1.2}[dir=ltr] .hero h1{font-size:3.5rem}[dir=ltr] .brand small{letter-spacing:1px}@media(max-width:950px){.hero-grid{gap:24px}.hero-photo{height:300px}.quick-grid{grid-template-columns:repeat(2,1fr)}.city-cards{grid-template-columns:repeat(3,1fr)}.tool-layout{grid-template-columns:300px 1fr}.all-states{grid-template-columns:repeat(3,1fr)}.nav-inner{gap:22px}.header-actions .btn{display:none}.article-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.wrap{padding:0 18px}.topline .wrap>span:first-child{display:none}.topline .wrap{justify-content:center}.header-inner{min-height:75px;gap:8px}.brand strong{font-size:21px}.brand img{width:45px;height:45px}.brand small{font-size:8px}.header-actions{gap:4px}.header-actions .plain{padding:5px 8px;font-size:12px}.nav-inner{gap:22px;min-height:48px}.nav a{font-size:12px;padding:10px 0}.hero{padding-top:25px}.hero-grid{grid-template-columns:1fr}.hero h1,[dir=ltr] .hero h1{font-size:2.4rem}.hero-photo{height:210px}.hero p{font-size:14px}.quick{padding:13px;gap:9px}.quick h3{font-size:12px}.quick p{font-size:11px}.icon{width:35px;height:35px;font-size:20px}.quick-grid{gap:10px}.feature-grid,.grid2,.grid3,.tool-layout{grid-template-columns:1fr}.city-cards{grid-template-columns:repeat(2,1fr)}.city-card:last-child{grid-column:span 2}.article-grid{grid-template-columns:1fr}.section-head{align-items:flex-start}.section-head h2{font-size:1.35rem}.section-head p{font-size:12px}.section-head .textlink{font-size:12px}.journey-strip,.footer-inner{flex-direction:column;align-items:flex-start}.all-states{grid-template-columns:repeat(2,1fr)}.pagehead h1{font-size:1.8rem}.panel{padding:20px}.stats{grid-template-columns:1fr 1fr}.stats .stat:last-child{grid-column:span 2}.hero-label{font-size:11px}.footer-links{gap:16px}.promo-result{gap:12px}.promo-result b{font-size:18px}h1{letter-spacing:0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.brand{display:block;position:relative;width:245px;height:82px;overflow:hidden;flex-shrink:0}.brand img{display:block;width:245px;height:245px;max-width:none;object-fit:contain;transform:translateY(-81px)}.brand>div{display:none}.hero-photo img{object-position:center}.header-inner{min-height:100px}@media(max-width:680px){.brand{width:175px;height:61px}.brand img{width:175px;height:175px;transform:translateY(-57px)}.header-inner{min-height:77px}}@media print{.header,.nav,.topline,.footer,.actions,#toast,.btn{display:none}body{background:white}.wrap{max-width:none}.panel{break-inside:avoid}}

:focus-visible{outline:3px solid #e6343f;outline-offset:4px}.skip-link{position:absolute;top:-90px}.skip-link:focus{top:10px;z-index:999;background:white;padding:15px}.site-content p{line-height:1.9}.header-actions{gap:16px}.badge-demo{display:none}.footer-links{flex-wrap:wrap}.table-wrap{overflow:auto}.notice a{text-decoration:underline}.chart-labels{display:flex;justify-content:space-between;color:#57687a;font-size:12px}.wp-content img{max-width:100%;height:auto}@media(max-width:680px){.hero h1{font-size:38px}.header-actions .plain{display:none}.header-actions .btn{font-size:11px;padding:8px}.header-actions{gap:7px}.hero-photo{height:255px}.nav-inner{overflow-x:auto}.header-inner{gap:8px}.brand{width:160px}.brand img{width:160px;height:160px;transform:translateY(-52px)}.stats{grid-template-columns:1fr}.topline .wrap>span:last-child{display:none}}