/* One shared Arabic footer contract: the homepage footer is the reference.
   Explicit typography isolates it from .t-site p and catalogue h1/h2/h3 rules. */
html[lang="ar"] body .t-footer{font:400 16px/1.9 'TB Sans',Arial,sans-serif;direction:rtl}
html[lang="ar"] body .t-footer .t-news h2{font:700 30px/1.5 'TB Kufi',Arial,sans-serif;margin:0 0 14px;text-wrap:wrap}
html[lang="ar"] body .t-footer .t-news p{font:400 16px/1.9 'TB Sans',Arial,sans-serif;margin:0}
html[lang="ar"] body .t-footer .t-footer-grid :is(h3,h4){font:700 18px/1.7 'TB Sans',Arial,sans-serif;margin:0 0 18px;text-wrap:wrap;white-space:normal;letter-spacing:normal}
html[lang="ar"] body .t-footer .t-footer-grid h4{margin-bottom:10px}
html[lang="ar"] body .t-footer .t-footer-grid h3:not(:first-child){margin-top:24px}
html[lang="ar"] body .t-footer .t-footer-grid p{font:400 16px/2 'TB Sans',Arial,sans-serif;margin:0 0 14px}
html[lang="ar"] body .t-footer .t-footer-grid a{font:400 16px/1.8 'TB Sans',Arial,sans-serif;margin:12px 0}
html[lang="ar"] body .t-footer .t-footer-end p{font:400 13px/1.9 'TB Sans',Arial,sans-serif;margin:0;letter-spacing:normal}
html[lang="ar"] body .t-footer .t-news-form .t-email-error{font-size:14px;line-height:1.8;margin:9px 0 0}
@media(max-width:600px){
 html[lang="ar"] body .t-footer .t-news h2{font-size:27px}
 html[lang="ar"] body .t-footer .t-footer-grid :is(h3,h4){font-size:17px}
 html[lang="ar"] body .t-footer .t-footer-grid :is(p,a){font-size:15px}
}
/* Selected appearance is reserved for a real answer; touch hover is never a selection. */
html[lang="ar"] .t-guide-answers button[aria-pressed="false"]{background:#ffffff06;color:inherit}
html[lang="ar"] .t-guide-answers button[aria-pressed="false"]:hover{background:#ffffff06}
/* The approved BEYOND closing paragraph aligns with its centered heading and CTA. */
html[lang="ar"] body[data-page="beyond"] .t-beyond-end>p{direction:rtl;text-align:center!important;text-align-last:center!important;inline-size:100%;max-inline-size:650px;margin:20px auto 30px}

/* Keep guide state changes independent of browser scroll anchoring. */
html[lang="ar"] .t-guide{overflow-anchor:none}
html[lang="ar"] .t-guide-medical{background:#fff8e5;color:var(--t-ink);padding:clamp(20px,4vw,35px);border-radius:12px;margin-bottom:22px}

/* Light aftercare actions keep a dark foreground, including visited links. */
html[lang="ar"] .t-guide-result .t-service-links a.t-btn,
html[lang="ar"] .t-guide-result .t-service-links a.t-btn:visited,
html[lang="ar"] .t-guide-result .t-service-links a.t-btn:hover{background:#e4ef9c;color:#213f34;border-color:#96ad97}
/* Override the generic result-section padding that removed the panel gutters. */
html[lang="ar"] .t-guide-result section.t-guide-urgent{padding:clamp(20px,4vw,30px);text-align:right;direction:rtl}
html[lang="ar"] .t-guide-result section.t-guide-urgent h2{margin:0 0 12px}
html[lang="ar"] .t-guide-result section.t-guide-urgent p{margin:0 0 18px;max-inline-size:none}
