/* swap.css – signs.angel.sa on the letters.angel.sa template */
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/assets/fonts/ibm-plex-sans-arabic-400-normal.woff2) format("woff2");font-weight:300 400;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/assets/fonts/ibm-plex-sans-arabic-500-normal.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/assets/fonts/ibm-plex-sans-arabic-600-normal.woff2) format("woff2");font-weight:600 800;font-display:swap}
.logo_word .logo_sub{font-weight:400;opacity:.5;margin-inline-start:.08em}
.client-logo-wrap .logo_word .logo_sub{font-weight:400}
.footer_tags{margin:3rem 0 2rem;max-width:62rem;line-height:1.9;display:flex;flex-wrap:wrap;gap:.2rem .7rem;color:var(--white)}
.footer_tags b{font-weight:500;text-transform:uppercase;letter-spacing:.08em;margin-inline-end:.6rem}
.footer_tags span{white-space:nowrap}
/* ---- inner pages ---- */
.section_post .post_layout.is--flat{display:block;padding-top:1rem;padding-bottom:6rem;min-height:45vh}
.post_layout.is--flat .post_content{max-width:62rem}
.post_layout.is--flat .post_content.is--wide{max-width:none}
.post_heading{padding-bottom:3rem}
.page_intro{max-width:48rem;margin-top:1.4rem;line-height:1.8;opacity:.8}
.post_heading-wrap{max-width:62rem}
.text-rich-text h2{font-size:1.9rem;font-weight:400;line-height:1.35;margin:3rem 0 1rem}
.text-rich-text h3{margin-top:2rem}
.text-rich-text p{margin-bottom:1.15rem}
.post_content > p,.post_content > ul,.post_content > h2{max-width:62rem}
.post_content p{line-height:1.85}
.post_content ul:not([class]){margin:0 0 1.5rem;padding-inline-start:1.4rem;list-style:disc}
.post_content ol:not([class]){margin:0 0 1.5rem;padding-inline-start:1.4rem;list-style:decimal}
.prose a:not(.btn-wrap){text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:.25em;text-decoration-thickness:1px}
.article-fig,.post_content figure{margin:0 0 2.5rem}
.article-fig img,.post_content figure img{width:100%;max-height:34rem;object-fit:cover;border-radius:.25rem}
.post_content img{border-radius:.25rem}
.table-wrap{overflow-x:auto;margin:2rem 0 2.5rem;background:var(--pure);border-radius:.25rem}
.table-wrap table{border-collapse:collapse;width:100%;min-width:38rem;font-size:.95rem}
.table-wrap th{background:var(--black);color:var(--white);font-weight:500;text-align:start;padding:1rem 1.2rem;font-size:.85rem;letter-spacing:.04em}
.table-wrap td{padding:1rem 1.2rem;border-top:1px solid #0000001a;vertical-align:top;line-height:1.6}
.table-wrap tr:first-child td{border-top:0}
.article-end,.cta-band{margin-top:4rem;padding:2.5rem;background:var(--black);color:var(--white);border-radius:.25rem}
.article-end h2,.cta-band h2{font-size:1.8rem;font-weight:400;margin:0 0 1rem;line-height:1.3}
.article-end p,.cta-band p{opacity:.85;line-height:1.8;margin-bottom:1rem}
.article-end a:not(.btn-wrap),.cta-band a:not(.btn-wrap){color:var(--white);text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:.25em}
.article-end .btn-wrap .btn,.cta-band .btn-wrap .btn{color:var(--white)}
.article-end ul.related,.related-links,.post_content ul.related{margin:0 0 2.2rem;padding:0;list-style:none;display:flex;flex-direction:column}
.related li,.related-links li{border-top:1px solid #ffffff1f}
.related-links li{border-top-color:#0000001a}
.related li a,.related-links li a{display:block;padding:.85rem 0;text-decoration:none!important}
.related li a:hover,.related-links li a:hover{color:var(--orange)}
.cta-band .related-links{margin-bottom:1.5rem}
/* index lists */
.library-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:3rem}
.library-card{display:flex;flex-direction:column;gap:.7rem;padding:1.6rem;background:var(--pure);border-radius:.25rem;min-height:11rem;transition:background .3s,color .3s;text-decoration:none}
.library-card:hover{background:var(--black);color:var(--white)}
.library-card h2{font-size:1.25rem;font-weight:500;margin:0;line-height:1.3}
.library-card p{font-size:.9rem;line-height:1.6;opacity:.7;margin:0}
.topic-list,.areas-toc,.glossary-toc{display:grid;grid-template-columns:repeat(2,1fr);gap:0 3rem;margin:0 0 2.5rem;padding:0;list-style:none}
.topic-list li,.areas-toc li,.glossary-toc li{border-top:1px solid #0000001a}
.topic-list li a{display:block;padding:1.1rem 0;line-height:1.6;text-decoration:none}
.topic-list li a strong{font-weight:500;font-size:1.05rem}
.topic-list li a span{opacity:.65;font-size:.92rem}
.topic-list li a:hover strong{color:var(--orange)}
.areas-toc,.glossary-toc{grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:0 2rem}
.areas-toc li a,.glossary-toc li a{display:block;padding:.65rem 0;font-size:.95rem;text-decoration:none}
.areas-toc li a:hover,.glossary-toc li a:hover{color:var(--orange)}
.article-cats{margin-bottom:4rem}
.article-cats>h2{font-size:2.2rem;font-weight:400;margin:0 0 .7rem}
.article-cats>p{opacity:.7;max-width:46rem;line-height:1.7;margin-bottom:2rem}
.article-list{list-style:none;margin:0;padding:0}
.article-row{display:grid;grid-template-columns:8rem 1fr auto;gap:1.5rem;align-items:start;padding:1.5rem 0;border-top:1px solid #0000001a}
.article-row time{font-size:.8rem;opacity:.55;padding-top:.35rem;letter-spacing:.04em}
.article-row h2{font-size:1.25rem;font-weight:500;line-height:1.4;margin:0 0 .4rem}
.article-row h2 a{text-decoration:none!important}
.article-row h2 a:hover{color:var(--orange)}
.article-row p{font-size:.92rem;opacity:.7;line-height:1.7;margin:0;max-width:52rem}
.article-go{font-size:.85rem;padding:.55rem 1.3rem;background:var(--black);color:var(--white);border-radius:.25rem;text-decoration:none;white-space:nowrap}
.article-go:hover{background:var(--orange)}
.area-group,.term-group{margin-top:3rem}
.area-entry,.glossary-entry,.term{padding:1.4rem 0;border-top:1px solid #0000001a}
.area-entry h2,.glossary-entry h2,.term h2{font-size:1.35rem;margin:0 0 .3rem}
.term-en{display:inline-block;font-size:.9rem;opacity:.55;margin-bottom:.7rem}
/* work */
.work-item{display:grid;grid-template-columns:1fr 1.4fr;gap:3rem;padding:3rem 0;border-top:1px solid #0000001a;align-items:start}
.work-head{display:flex;flex-direction:column;gap:1rem}
.work-title{font-size:1.9rem;font-weight:400;line-height:1.2;margin:0}
.work-meta p{line-height:1.7;opacity:.8}
.work-meta .tags,.tags{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}
.work-meta .tags span,.tags span{padding:.35rem .9rem;border-radius:.25rem;background:var(--black);color:var(--white);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}
.work-figure{margin:0}
.work-figure img{width:100%;border-radius:.25rem;aspect-ratio:4/3;object-fit:cover}
/* split page (about / services) */
.split-page{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:4rem;align-items:start}
.split-page .prose{max-width:none}
.side-card{display:flex;flex-direction:column;gap:.7rem;position:sticky;top:7rem}
.side-card img{width:100%;border-radius:.25rem;margin-bottom:.8rem;aspect-ratio:4/3;object-fit:cover}
.side-card .btn-wrap,.side-card .btn{width:100%}
.caps{display:grid;grid-template-columns:repeat(2,1fr);gap:3rem;margin-top:4rem}
.caps h3{font-size:1.3rem;font-weight:400;margin-bottom:1rem}
.row-list{list-style:none;margin:0;padding:0}
.row-list .row{padding:.9rem 0;border-top:1px solid #0000001a}
.next-block{margin-top:4rem;padding-top:2rem;border-top:1px solid #0000001a}
.next-block .lede{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;opacity:.55}
.next-block .display{font-size:2.4rem;line-height:1.2;text-decoration:none!important}
.next-block .display:hover{color:var(--orange)}
.feature ul{list-style:none;margin:0;padding:0}
.svc-row a{display:grid;grid-template-columns:3rem 1fr 1.2fr 9rem 2rem;gap:2rem;align-items:center;padding:2rem 0;border-top:1px solid #0000001a;text-decoration:none!important;counter-increment:svc}
.feature ul{counter-reset:svc}
.svc-num:before{content:"[0" counter(svc) "]";font-size:.75rem;opacity:.5}
.svc-name{font-size:1.5rem;line-height:1.3}
.svc-desc{opacity:.7;font-size:.95rem;line-height:1.7}
.svc-thumb img{width:9rem;height:6rem;object-fit:cover;border-radius:.25rem}
.svc-ico{width:1.2rem;height:1.2rem;display:flex}
.svc-row a:hover .svc-name{color:var(--orange)}
.svc-ico svg{width:100%;height:100%}
/* faq on inner pages */
.post_content .faq_wrap{max-width:62rem}
.faq_answer p{margin:0 0 .8rem}
.faq_answer p:last-child{margin:0}
/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:4rem;align-items:start}
.contact-list{display:flex;flex-direction:column}
.contact-list a{padding:1.1rem 0;border-top:1px solid #0000001a;text-decoration:none!important;font-size:1.05rem}
.contact-list a:hover{color:var(--orange)}
.contact-form{display:flex;flex-direction:column;gap:1rem;background:var(--pure);padding:2rem;border-radius:.25rem}
.contact-form .field{display:flex;flex-direction:column;gap:.4rem}
.contact-form label,.contact-form .lede{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;opacity:.65}
.contact-form .lede{opacity:.9;font-size:1rem;letter-spacing:0;text-transform:none}
.contact-form input,.contact-form select,.contact-form textarea{font:inherit;color:inherit;background:var(--white);border:1px solid #0000001f;border-radius:.25rem;padding:.8rem 1rem;width:100%}
.contact-form textarea{min-height:8rem;resize:vertical}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:0;border-color:var(--orange)}
.contact-form .btn-wrap{width:100%}.contact-form .btn-wrap .btn{width:100%}
.contact-form button.btn-wrap{display:block;cursor:pointer}
/* home contact */
.contact_grid{display:grid;grid-template-columns:1fr 1.2fr;gap:4rem;align-items:start;margin-top:2rem}
.contact_big{display:block;margin:.6rem 0 1.4rem;font-weight:500;letter-spacing:-.02em}
.contact_links{display:flex;flex-wrap:wrap;gap:.6rem}
.contact_links a{padding:.6rem 1.1rem;border:1px solid #0000002e;border-radius:.25rem;transition:background .3s,color .3s}
.contact_links a:hover{background:var(--black);color:var(--white)}
.pricing_img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:.25rem}
.section_contact .contact-form{background:var(--pure)}
/* 404 */
.stub-note p{margin-bottom:1rem;line-height:1.8}
/* cookie */
.cookie{position:fixed;inset-inline-start:1.5rem;bottom:1.5rem;z-index:110;max-width:26rem;background:var(--black);color:var(--white);padding:1.2rem 1.4rem;border-radius:.25rem;display:flex;flex-direction:column;gap:.9rem;font-size:.85rem;line-height:1.6;box-shadow:0 10px 40px #0004}
.cookie[hidden]{display:none}
.cookie a{text-decoration:underline;text-decoration-color:var(--orange)}
.cookie_btn{align-self:flex-start;background:var(--orange);color:#fff;border-radius:.25rem;padding:.5rem 1.4rem}
/* LTR (English) alignment inside content */
html[dir=ltr] .post_heading-wrap,html[dir=ltr] .post_content{text-align:left}
html[dir=rtl] .post_heading-wrap,html[dir=rtl] .post_content{text-align:right}
@media (max-width:991px){
 .library-grid{grid-template-columns:repeat(2,1fr)}
 .topic-list{grid-template-columns:1fr}
 .work-item,.split-page,.contact-grid,.contact_grid,.caps{grid-template-columns:1fr;gap:2rem}
 .side-card{position:static}
 .svc-row a{grid-template-columns:2rem 1fr 6rem;gap:1rem}.svc-desc,.svc-ico{display:none}.svc-thumb img{width:6rem;height:4.5rem}
 .article-row{grid-template-columns:1fr;gap:.6rem}
 .article-go{justify-self:start}
}
@media (max-width:600px){.library-grid{grid-template-columns:1fr}.article-end,.cta-band{padding:1.6rem}.cookie{inset-inline:1rem;max-width:none}}

/* ===== mobile balance fix (2026-12-05) ===== */
img,video,iframe{max-width:100%}
.post_content{overflow-wrap:break-word}
@media (max-width:767px){
 .hero_subtitle{max-width:none;margin:0;width:100%}
 html[dir=ltr] .hero_subtitle{text-align:left}
 html[dir=rtl] .hero_subtitle{text-align:right}
 .services_description{margin-inline-start:0;max-width:none}
 .why-card.is--text{min-height:14rem}
 .why-card_p{max-width:none}
}
