/*
Theme Name: SQH Learn – Training & Academic Services
Theme URI: https://sqhlearn.com/
Author: OpenAI
Description: قالب عربي RTL مخصص لمنصة التدريب والتعليم والخدمات الأكاديمية بمستشفى جنوب القنفذة، ومتوافق مع إضافة نظام التدريب الأكاديمي.
Version: 1.7.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sqhlearn
*/
:root{--sqh-primary:#126b58;--sqh-primary-dark:#0b5144;--sqh-blue:#173b5e;--sqh-ink:#182b3a;--sqh-muted:#64748b;--sqh-line:#e2e8f0;--sqh-soft:#f4f8f7;--sqh-white:#fff;--sqh-radius:16px;--sqh-shadow:0 8px 28px rgba(20,49,67,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--sqh-ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.8}a{color:var(--sqh-primary);text-decoration:none}a:hover{color:var(--sqh-primary-dark)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.sqh-container{width:min(1200px,calc(100% - 40px));margin-inline:auto}.sqh-topline{background:#eaf4fb;color:#214e70;font-size:13px}.sqh-topline-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px}.sqh-topline p{margin:0}.sqh-header{background:#fff;border-bottom:1px solid var(--sqh-line);position:relative;z-index:20}.sqh-header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:88px}.sqh-brand{display:flex;align-items:center;gap:14px;min-width:230px}.sqh-brand img.custom-logo{max-height:62px;width:auto;max-width:100px;object-fit:contain}.sqh-brand-text{display:flex;flex-direction:column;line-height:1.5}.sqh-brand-title{font-weight:800;color:var(--sqh-blue);font-size:18px}.sqh-brand-subtitle{font-size:12px;color:var(--sqh-muted)}.sqh-nav{display:flex;align-items:center;gap:24px}.sqh-nav ul{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.sqh-nav li{margin:0}.sqh-nav a{font-size:14px;font-weight:700;color:#344b5b}.sqh-nav a:hover,.sqh-nav .current-menu-item>a{color:var(--sqh-primary)}.sqh-login,.sqh-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;border-radius:10px;background:var(--sqh-primary);border:1px solid var(--sqh-primary);color:#fff!important;font-weight:700;font-size:14px;transition:.2s}.sqh-login:hover,.sqh-button:hover{background:var(--sqh-primary-dark);color:#fff}.sqh-button-outline{background:#fff;color:var(--sqh-primary)!important}.sqh-menu-toggle{display:none;border:1px solid var(--sqh-line);background:#fff;color:var(--sqh-blue);border-radius:10px;padding:8px 12px}.sqh-main{min-height:48vh}.sqh-page{padding-block:42px 64px}.sqh-page-header{margin-bottom:24px}.sqh-page-title{font-size:clamp(26px,3vw,36px);line-height:1.4;color:var(--sqh-blue);margin:0 0 8px}.sqh-content{line-height:1.9}.sqh-content>*:first-child{margin-top:0}.sqh-content h2,.sqh-content h3{color:var(--sqh-blue)}.sqh-content a:not(.nta-home-btn){text-decoration:underline;text-underline-offset:3px}.sqh-footer{margin-top:44px;background:#173652;color:#e8f0f6}.sqh-footer-main{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px;padding-block:42px}.sqh-footer h2,.sqh-footer h3{color:#fff;font-size:16px;margin:0 0 12px}.sqh-footer p{color:#c7d5e1;font-size:13px;margin:0 0 10px}.sqh-footer a{color:#e8f0f6}.sqh-footer-links{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:13px}.sqh-footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding-block:14px;text-align:center;color:#c7d5e1;font-size:12px}.sqh-footer-bottom p{margin:0}.sqh-notice{background:#f4f8f7;border:1px solid #dbeae5;padding:16px 18px;border-radius:12px;color:#35584e}.sqh-pagination{margin-top:30px}.sqh-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}.sqh-pagination a,.sqh-pagination span{padding:8px 13px;border:1px solid var(--sqh-line);border-radius:8px}.sqh-pagination .current{background:var(--sqh-primary);color:#fff}.sqh-content .nta-home{max-width:1200px}.sqh-content .nta-home-hero{padding:clamp(28px,5vw,56px) 28px;border-radius:24px;box-shadow:var(--sqh-shadow)}.sqh-content .nta-home-section{margin-top:42px}.sqh-content .nta-home-section h2{color:var(--sqh-blue);font-size:clamp(23px,3vw,29px)}.sqh-content .nta-home-course{box-shadow:var(--sqh-shadow);transition:transform .18s,box-shadow .18s}.sqh-content .nta-home-course:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(20,49,67,.1)}.sqh-content .nta-home-btn{transition:background .2s}.sqh-content .nta-home-course .nta-home-btn{font-size:13px}.sqh-content .nta-home-empty{background:#f8fafc}.sqh-content form input[type=text],.sqh-content form input[type=email],.sqh-content form input[type=password],.sqh-content form input[type=number],.sqh-content form select,.sqh-content form textarea{max-width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px}.sqh-content form input:focus,.sqh-content form select:focus,.sqh-content form textarea:focus{outline:2px solid #b7ddd1;outline-offset:1px}
@media(max-width:900px){.sqh-header-inner{min-height:76px;gap:12px}.sqh-brand{min-width:0}.sqh-brand-title{font-size:16px}.sqh-menu-toggle{display:inline-flex}.sqh-nav{display:none;position:absolute;top:100%;right:0;left:0;background:#fff;border-bottom:1px solid var(--sqh-line);padding:18px 20px;box-shadow:var(--sqh-shadow)}.sqh-nav.is-open{display:flex;align-items:stretch;flex-direction:column}.sqh-nav ul{align-items:stretch;flex-direction:column;gap:0}.sqh-nav li a{display:block;padding:10px 0;border-bottom:1px solid #f1f5f9}.sqh-login{align-self:flex-start}.sqh-footer-main{grid-template-columns:1fr 1fr}.sqh-footer-brand{grid-column:1/-1}}
@media(max-width:560px){body{font-size:15px}.sqh-container{width:min(100% - 24px,1200px)}.sqh-topline-inner{min-height:34px;font-size:11px}.sqh-header-inner{min-height:70px}.sqh-brand img.custom-logo{max-height:48px;max-width:70px}.sqh-brand-title{font-size:14px}.sqh-brand-subtitle{font-size:11px}.sqh-page{padding-block:28px 44px}.sqh-footer-main{grid-template-columns:1fr;gap:24px;padding-block:30px}.sqh-footer-brand{grid-column:auto}.sqh-content .nta-home{padding-inline:0}.sqh-content .nta-home-hero{padding:26px 16px}.sqh-content .nta-home-actions{gap:8px}.sqh-content .nta-home-btn{padding:11px 15px;font-size:13px}}


/* SQH Learn 1.1.0 — wider institutional layout and consistent plugin integration */
.sqh-container{width:min(1320px,calc(100% - 48px))}
.sqh-header-inner{gap:22px;min-height:104px}
.sqh-brand{flex:0 1 58%;min-width:0;gap:16px}
.sqh-brand img.custom-logo{display:block;width:auto!important;height:auto!important;max-width:min(36vw,390px)!important;max-height:88px!important;object-fit:contain}
.sqh-brand-text{min-width:180px;max-width:330px}
.sqh-brand-title{font-size:clamp(15px,1.25vw,19px);line-height:1.55}
.sqh-brand-subtitle{font-size:12px;line-height:1.6}
.sqh-nav{flex:1 1 42%;justify-content:flex-start;gap:18px}
.sqh-nav ul{gap:clamp(12px,1.5vw,22px)}
.sqh-nav a{white-space:normal}
.sqh-main{width:100%;min-width:0}
.sqh-page{padding-block:38px 64px}
.sqh-content{min-width:0;width:100%}
.sqh-content .nta-home{width:100%!important;max-width:none!important;margin-inline:auto!important;padding:24px 0 56px!important}
.sqh-content .nta-home-hero{padding:clamp(34px,4vw,58px) clamp(22px,4vw,52px)!important;border-radius:22px!important}
.sqh-content .nta-home-brand{margin-bottom:22px}
.sqh-content .nta-home-brand img.custom-logo{width:auto!important;max-width:min(260px,32vw)!important;max-height:100px!important}
.sqh-content .nta-home-courses{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sqh-content .nta-home-course-body{padding:24px}
.sqh-content .nta-home-course h3{font-size:19px;line-height:1.7}
.sqh-content .nta-home-section{margin-top:48px}
.sqh-content .nta-home-section h2{font-size:clamp(24px,2.2vw,30px)}
.sqh-content .nta-portal{width:100%!important;max-width:none!important;margin:0 auto!important;padding:24px 0!important}
.sqh-content .nta-portal>header{padding:clamp(26px,3vw,42px)!important}
.sqh-content .nta-portal .nta-courses{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.sqh-content .nta-portal .nta-course-library-layout,
.sqh-content .nta-portal .nta-course-library-main{width:100%!important;max-width:100%!important}
.sqh-content .nta-portal .nta-course{min-width:0}
.sqh-content .nta-portal .nta-course h3{overflow-wrap:anywhere}
.sqh-footer{margin-top:36px}
@media(max-width:1050px){
 .sqh-container{width:min(100% - 32px,1320px)}
 .sqh-header-inner{gap:14px}
 .sqh-brand{flex-basis:54%}
 .sqh-brand img.custom-logo{max-width:min(30vw,300px)!important;max-height:76px!important}
 .sqh-nav{gap:12px}
 .sqh-nav ul{gap:12px}
 .sqh-nav a{font-size:13px}
 .sqh-content .nta-home-courses{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sqh-content .nta-portal .nta-courses{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
 .sqh-container{width:calc(100% - 32px)}
 .sqh-header-inner{min-height:78px}
 .sqh-brand{flex:1 1 auto}
 .sqh-brand img.custom-logo{max-width:min(42vw,260px)!important;max-height:60px!important}
 .sqh-nav{flex:0 0 auto}
 .sqh-content .nta-home{padding-top:18px!important}
}
@media(max-width:600px){
 .sqh-container{width:calc(100% - 24px)}
 .sqh-brand{gap:9px}
 .sqh-brand img.custom-logo{max-width:36vw!important;max-height:52px!important}
 .sqh-brand-text{min-width:0;max-width:54vw}
 .sqh-brand-title{font-size:13px;line-height:1.45}
 .sqh-brand-subtitle{font-size:10px}
 .sqh-content .nta-home-courses{grid-template-columns:1fr}
 .sqh-content .nta-home-course-body{padding:18px}
 .sqh-content .nta-portal{padding:10px 0!important}
 .sqh-content .nta-portal .nta-courses{grid-template-columns:1fr!important}
}


/* SQH Learn 1.2.0: institutional header, page rhythm and plugin alignment */
.sqh-container{width:min(1360px,calc(100% - 56px))}
.sqh-header-inner{min-height:112px;gap:28px}
.sqh-brand{flex:0 1 62%;gap:18px;align-items:center}
.sqh-brand img.custom-logo{max-width:min(38vw,440px)!important;max-height:88px!important;object-fit:contain}
.sqh-brand-title{font-size:clamp(15px,1.25vw,19px);line-height:1.55}
.sqh-brand-subtitle{font-size:12px;line-height:1.7}
.sqh-nav{flex:1 1 38%;justify-content:flex-start;gap:18px}
.sqh-nav ul{gap:clamp(12px,1.4vw,22px)}
.sqh-nav a{font-size:14px;line-height:1.7}
.sqh-login{white-space:nowrap;min-height:44px}
.sqh-main{width:100%;min-width:0}
.sqh-page{padding-block:32px 60px}
.sqh-content{width:100%;min-width:0}
.sqh-content>h1:first-child,.sqh-content .entry-title{font-size:clamp(24px,2.5vw,34px);color:var(--sqh-blue);line-height:1.5;margin:0 0 22px;font-weight:800}
.sqh-content .nta-home{max-width:1320px!important;width:100%!important}
.sqh-footer{margin-top:28px}
@media(max-width:1050px){.sqh-container{width:calc(100% - 36px)}.sqh-header-inner{gap:16px}.sqh-brand{flex-basis:56%}.sqh-brand img.custom-logo{max-width:min(31vw,330px)!important;max-height:72px!important}.sqh-nav{gap:12px}.sqh-nav ul{gap:12px}.sqh-nav a{font-size:13px}}
@media(max-width:900px){.sqh-header-inner{min-height:82px}.sqh-brand{flex:1 1 auto}.sqh-brand img.custom-logo{max-width:min(42vw,280px)!important;max-height:60px!important}.sqh-nav{flex:0 0 auto}}
@media(max-width:600px){.sqh-container{width:calc(100% - 24px)}.sqh-header-inner{min-height:72px}.sqh-brand{gap:9px}.sqh-brand img.custom-logo{max-width:34vw!important;max-height:48px!important}.sqh-brand-text{max-width:48vw}.sqh-brand-title{font-size:12px}.sqh-brand-subtitle{font-size:10px}.sqh-page{padding-block:22px 38px}}


/* SQH Learn 1.3.0 — approved shared institutional header */
.sqh-topline-inner{gap:18px}.sqh-topline-tools{display:flex;align-items:center;gap:18px}.sqh-language-switcher{display:flex;align-items:center;gap:10px;white-space:nowrap}.sqh-language-switcher a,.sqh-language-switcher span{font-size:12px;font-weight:700;color:#214e70}.sqh-language-switcher [aria-current="page"]{color:var(--sqh-primary);text-decoration:underline;text-underline-offset:4px}.sqh-logo-fallback{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:14px;background:#eaf5f1;color:#126b58;font-weight:800;font-size:20px;flex-shrink:0}.sqh-brand{flex:0 1 auto}.sqh-brand-title{font-size:clamp(16px,1.35vw,21px)}.sqh-brand-subtitle{font-size:13px}.sqh-nav{flex:1 1 auto;justify-content:flex-end}.sqh-nav>div:first-child{min-width:0}.sqh-account-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.sqh-user-greeting{font-size:13px;color:var(--sqh-blue);font-weight:700;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sqh-login{white-space:nowrap}.sqh-topline-tools p{white-space:nowrap}
@media(max-width:1050px){.sqh-header-inner{flex-wrap:wrap;padding-block:12px}.sqh-nav{width:100%;justify-content:space-between}.sqh-brand{flex:1 1 auto}.sqh-nav ul{flex-wrap:wrap}}
@media(max-width:900px){.sqh-header-inner{flex-wrap:nowrap;padding-block:0}.sqh-nav{width:auto;flex-direction:column;align-items:stretch}.sqh-nav>div:first-child{width:100%}.sqh-account-actions{flex-wrap:wrap}.sqh-topline-tools{gap:10px}.sqh-topline-tools>p{display:none}.sqh-nav.is-open{align-items:stretch}.sqh-nav.is-open .sqh-account-actions{padding-top:10px}}
@media(max-width:560px){.sqh-topline-inner{align-items:center}.sqh-topline-tools{margin-inline-start:auto}.sqh-language-switcher{gap:8px}.sqh-logo-fallback{width:44px;height:44px;font-size:16px}.sqh-brand-title{font-size:12px}.sqh-brand-subtitle{font-size:10px}.sqh-user-greeting{max-width:100px}}

/* SQH Learn 1.4.1 — simplified header approved by the site owner */
.sqh-topline{display:none!important}
.sqh-header{background:#fff;border-bottom:1px solid var(--sqh-line);box-shadow:0 2px 10px rgba(20,49,67,.035)}
.sqh-header-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:116px;padding-block:12px}
.sqh-brand{display:flex;align-items:center;gap:22px;flex:1 1 auto;min-width:0;max-width:78%}
.sqh-brand img.custom-logo{display:block;width:auto!important;height:auto!important;max-width:min(44vw,460px)!important;max-height:92px!important;object-fit:contain}
.sqh-brand-text{display:flex;flex-direction:column;gap:3px;min-width:0;max-width:560px;line-height:1.55}
.sqh-brand-title{font-size:clamp(18px,1.65vw,25px);font-weight:800;line-height:1.55;color:var(--sqh-blue);white-space:normal}
.sqh-brand-subtitle{font-size:clamp(12px,1vw,15px);line-height:1.7;color:var(--sqh-muted)}
.sqh-header-controls{display:flex;align-items:center;justify-content:flex-end;gap:22px;flex:0 0 auto;width:auto}
.sqh-home-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:10px 17px;border:1px solid var(--sqh-primary);border-radius:9px;background:var(--sqh-primary);color:#fff!important;font-weight:700;font-size:14px}
.sqh-home-link:hover{background:var(--sqh-primary-dark)}
.sqh-language-switcher{display:flex;align-items:center;gap:12px;white-space:nowrap}
.sqh-language-switcher a,.sqh-language-switcher span{font-size:14px;font-weight:700;color:var(--sqh-blue)}
.sqh-language-switcher [aria-current="page"]{color:var(--sqh-primary);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.sqh-language-switcher a:hover{color:var(--sqh-primary);text-decoration:underline;text-underline-offset:5px}
.sqh-menu-toggle,.sqh-account-actions{display:none!important}
@media(max-width:900px){.sqh-header-inner{min-height:92px;gap:18px}.sqh-brand{max-width:72%;gap:14px}.sqh-brand img.custom-logo{max-width:min(34vw,300px)!important;max-height:70px!important}.sqh-brand-title{font-size:clamp(15px,2vw,20px)}.sqh-header-controls{display:flex!important;flex-direction:row!important;align-items:center;gap:12px}.sqh-nav{position:static;display:flex!important;box-shadow:none;border:0;padding:0;background:transparent}.sqh-home-link{padding:8px 12px;font-size:13px}.sqh-language-switcher{gap:8px}.sqh-language-switcher a,.sqh-language-switcher span{font-size:12px}}
@media(max-width:600px){.sqh-container{width:calc(100% - 24px)}.sqh-header-inner{min-height:78px;padding-block:10px;gap:10px}.sqh-brand{max-width:70%;gap:9px}.sqh-brand img.custom-logo{max-width:27vw!important;max-height:48px!important}.sqh-logo-fallback{width:40px;height:40px;font-size:14px}.sqh-brand-text{max-width:none}.sqh-brand-title{font-size:12px;line-height:1.4}.sqh-brand-subtitle{font-size:10px;line-height:1.4}.sqh-header-controls{gap:7px}.sqh-home-link{padding:7px 9px;font-size:11px;border-radius:7px}.sqh-language-switcher{gap:5px}.sqh-language-switcher a,.sqh-language-switcher span{font-size:10px}}


/* SQH Learn 1.5.0 — theme-owned service directory homepage */
.sqh-topline{display:none!important}
.sqh-header-inner{min-height:112px;gap:28px}
.sqh-brand{flex:1 1 auto;min-width:0;gap:20px}
.sqh-brand img.custom-logo{max-width:min(34vw,420px)!important;max-height:90px!important}
.sqh-brand-text{max-width:none;min-width:0}
.sqh-brand-title{font-size:clamp(19px,1.7vw,27px);line-height:1.5}
.sqh-brand-subtitle{font-size:14px;margin-top:2px}
.sqh-nav{flex:0 0 auto;gap:20px}
.sqh-nav .sqh-home-link{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:9px;background:var(--sqh-primary);color:#fff;font-weight:700}
.sqh-language-switcher{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;white-space:nowrap}
.sqh-language-switcher a{color:var(--sqh-blue);text-decoration:none}
.sqh-language-switcher [aria-current="page"]{color:var(--sqh-primary);text-decoration:underline;text-underline-offset:5px}
.sqh-hero-band{background:linear-gradient(115deg,#153754 0%,#126b68 58%,#087f70 100%);color:#fff;overflow:hidden}
.sqh-hero-inner{min-height:260px;display:flex;align-items:center;justify-content:space-between;gap:36px;padding-block:42px;position:relative}
.sqh-hero-copy{max-width:780px;position:relative;z-index:1}
.sqh-eyebrow{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.04em;color:#258576;margin-bottom:8px}
.sqh-hero-copy .sqh-eyebrow{color:#b9e6dc}
.sqh-hero-copy h1{font-size:clamp(28px,3vw,42px);line-height:1.4;margin:0 0 12px;color:#fff}
.sqh-hero-copy p{font-size:clamp(15px,1.3vw,18px);line-height:1.9;color:#e2f4f0;margin:0;max-width:680px}
.sqh-hero-mark{width:150px;height:150px;flex:0 0 150px;border:1px solid rgba(255,255,255,.25);border-radius:32px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;background:rgba(255,255,255,.08);transform:rotate(-5deg);font-size:16px;font-weight:700;line-height:1.6}
.sqh-hero-mark strong{font-size:13px;color:#c4e9e3}
.sqh-services-section{padding-block:52px 28px}
.sqh-section-heading{margin-bottom:24px}
.sqh-section-heading h2,.sqh-about-section h2{font-size:clamp(23px,2.2vw,30px);line-height:1.5;color:var(--sqh-blue);margin:0 0 6px}
.sqh-section-heading p,.sqh-about-section p{margin:0;color:var(--sqh-muted);font-size:15px}
.sqh-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sqh-service-card{min-width:0;border:1px solid #dce7ec;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:18px;background:#fff;box-shadow:0 5px 18px rgba(20,49,67,.045);transition:transform .18s,box-shadow .18s,border-color .18s}
.sqh-service-card.is-active{border-top:3px solid var(--sqh-primary)}
.sqh-service-card.is-coming-soon{background:#fbfcfd}
.sqh-service-card.is-active:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(20,49,67,.09);border-color:#b8d9d0}
.sqh-service-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#e9f5f1;color:var(--sqh-primary)}
.sqh-service-icon .dashicons{width:auto;height:auto;font-size:25px}
.sqh-service-content{flex:1}
.sqh-service-content h3{font-size:18px;line-height:1.6;margin:0 0 8px;color:var(--sqh-blue)}
.sqh-service-content p{font-size:14px;line-height:1.85;margin:0;color:#64748b}
.sqh-service-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sqh-service-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;background:#f1f5f9;color:#64748b;font-size:12px;font-weight:700}
.sqh-service-status.status-active{background:#e5f5ef;color:#126b58}
.sqh-service-button{display:inline-flex;align-items:center;gap:9px;background:var(--sqh-primary);color:#fff!important;padding:10px 14px;border-radius:9px;font-size:13px;font-weight:700;text-decoration:none!important}
.sqh-service-button:hover{background:var(--sqh-primary-dark)}
.sqh-service-disabled{font-size:12px;color:#94a3b8;font-weight:700}
.sqh-about-section{padding-block:28px 54px;border-top:1px solid var(--sqh-line);margin-top:24px}
.sqh-about-section p{max-width:850px;line-height:1.9}
html[dir="ltr"] .sqh-hero-mark{transform:rotate(5deg)}
@media(max-width:900px){.sqh-header-inner{min-height:88px}.sqh-brand{flex:1 1 auto}.sqh-brand img.custom-logo{max-width:min(30vw,260px)!important;max-height:64px!important}.sqh-brand-title{font-size:clamp(15px,2.1vw,20px)}.sqh-nav{gap:12px}.sqh-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sqh-hero-inner{min-height:220px}.sqh-hero-mark{width:112px;height:112px;flex-basis:112px;border-radius:24px}}
@media(max-width:620px){.sqh-header-inner{min-height:78px;gap:10px}.sqh-brand{gap:10px}.sqh-brand img.custom-logo{max-width:26vw!important;max-height:52px!important}.sqh-brand-title{font-size:13px;line-height:1.4}.sqh-brand-subtitle{font-size:10px}.sqh-nav{gap:9px;flex-direction:column;align-items:flex-end}.sqh-nav .sqh-home-link{padding:6px 11px;font-size:12px}.sqh-language-switcher{font-size:11px;gap:6px}.sqh-hero-inner{padding-block:32px;min-height:0}.sqh-hero-mark{display:none}.sqh-hero-copy h1{font-size:25px}.sqh-hero-copy p{font-size:14px}.sqh-services-section{padding-block:32px 18px}.sqh-services-grid{grid-template-columns:1fr;gap:14px}.sqh-service-card{padding:19px;gap:14px}.sqh-service-content h3{font-size:17px}.sqh-about-section{padding-block:22px 36px}}


/* SQH Learn 1.6.0: header balance, contained hero and reliable bilingual front page */
.sqh-header-inner{display:flex;align-items:center;justify-content:space-between;gap:clamp(18px,3vw,44px);min-height:132px;padding-block:16px}
.sqh-brand{display:flex;flex:1 1 auto;align-items:center;min-width:0;gap:clamp(16px,2vw,30px)}
.sqh-brand img.custom-logo{display:block;flex:0 1 auto;width:auto!important;height:auto!important;max-width:min(42vw,500px)!important;max-height:112px!important;object-fit:contain}
.sqh-brand-text{flex:0 1 300px;min-width:220px;max-width:320px}
.sqh-brand-title{font-size:clamp(20px,1.7vw,27px);line-height:1.45;overflow-wrap:normal}
.sqh-brand-subtitle{font-size:14px;line-height:1.6;margin-top:5px}
.sqh-header-controls{display:flex;flex:0 0 auto;align-items:center;gap:clamp(12px,1.5vw,22px);white-space:nowrap}
.sqh-home-link{white-space:nowrap}
.sqh-language-switcher{display:flex;align-items:center;gap:10px;white-space:nowrap}
.sqh-language-switcher a,.sqh-language-switcher span{font-size:14px;font-weight:700}
.sqh-hero-band{background:transparent!important;color:var(--sqh-ink);padding:28px 0 0;overflow:visible}
.sqh-hero-inner{width:min(1360px,calc(100% - 56px));min-height:220px;margin-inline:auto;padding:clamp(28px,4vw,52px);border-radius:20px;background:linear-gradient(115deg,#153754 0%,#126b68 58%,#087f70 100%);box-shadow:var(--sqh-shadow)}
.sqh-hero-copy{max-width:820px}
.sqh-services-section{padding-block:42px 24px}
html[dir="ltr"] body{text-align:left}
html[dir="ltr"] .sqh-header-inner,html[dir="ltr"] .sqh-brand{direction:ltr}
html[dir="ltr"] .sqh-hero-inner{direction:ltr}
@media(max-width:1050px){.sqh-header-inner{gap:18px;min-height:112px}.sqh-brand img.custom-logo{max-width:min(36vw,390px)!important;max-height:90px!important}.sqh-brand-text{min-width:190px;flex-basis:260px}.sqh-brand-title{font-size:clamp(17px,2vw,22px)}.sqh-header-controls{gap:12px}}
@media(max-width:760px){.sqh-header-inner{align-items:center;flex-wrap:wrap;min-height:0;padding-block:14px;gap:12px}.sqh-brand{flex:1 1 100%;justify-content:space-between}.sqh-brand img.custom-logo{max-width:min(48vw,340px)!important;max-height:74px!important}.sqh-brand-text{min-width:0;max-width:48%;flex:1 1 auto}.sqh-brand-title{font-size:clamp(16px,3.5vw,21px)}.sqh-brand-subtitle{font-size:12px}.sqh-header-controls{width:100%;justify-content:space-between;gap:12px}.sqh-hero-band{padding-top:16px}.sqh-hero-inner{width:calc(100% - 32px);min-height:0;padding:28px 24px;border-radius:16px}.sqh-hero-mark{display:none}.sqh-hero-copy h1{font-size:clamp(24px,5vw,32px)}}
@media(max-width:480px){.sqh-brand{gap:10px}.sqh-brand img.custom-logo{max-width:43vw!important;max-height:62px!important}.sqh-brand-text{max-width:54%}.sqh-brand-title{font-size:15px}.sqh-brand-subtitle{font-size:10px}.sqh-home-link{padding:7px 12px;font-size:12px}.sqh-language-switcher{gap:8px}.sqh-language-switcher a,.sqh-language-switcher span{font-size:12px}.sqh-hero-inner{width:calc(100% - 24px);padding:24px 18px}.sqh-services-grid{grid-template-columns:1fr}}


/* SQH Learn 1.6.1 — force homepage layout corrections and cache busting */
body.home .sqh-header > .sqh-container.sqh-header-inner,
body.front-page .sqh-header > .sqh-container.sqh-header-inner {
  width: min(1360px, calc(100% - 48px)) !important;
  max-width: 1360px !important;
  margin-inline: auto !important;
  min-height: 150px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
}
body.home .sqh-brand, body.front-page .sqh-brand {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 28px !important;
  align-items: center !important;
}
body.home .sqh-brand img.custom-logo, body.front-page .sqh-brand img.custom-logo {
  width: auto !important;
  max-width: min(58vw, 780px) !important;
  max-height: 124px !important;
  height: auto !important;
  object-fit: contain !important;
}
body.home .sqh-brand-text, body.front-page .sqh-brand-text {
  flex: 0 1 330px !important;
  min-width: 240px !important;
  max-width: 360px !important;
}
body.home .sqh-brand-title, body.front-page .sqh-brand-title {
  font-size: clamp(20px, 1.8vw, 28px) !important;
  line-height: 1.45 !important;
}
body.home .sqh-header-controls, body.front-page .sqh-header-controls {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}
body.home .sqh-main.sqh-service-home .sqh-hero-band,
body.front-page .sqh-main.sqh-service-home .sqh-hero-band {
  background: transparent !important;
  color: var(--sqh-ink, #173b59) !important;
  padding: 30px 0 0 !important;
  overflow: visible !important;
}
body.home .sqh-main.sqh-service-home .sqh-hero-inner,
body.front-page .sqh-main.sqh-service-home .sqh-hero-inner {
  width: min(1360px, calc(100% - 64px)) !important;
  max-width: 1360px !important;
  min-height: 230px !important;
  margin-inline: auto !important;
  padding: clamp(30px, 4vw, 56px) !important;
  border-radius: 22px !important;
  background: linear-gradient(115deg, #153754 0%, #126b68 58%, #087f70 100%) !important;
  box-shadow: 0 12px 30px rgba(21,55,84,.14) !important;
  overflow: hidden !important;
}
@media (max-width: 900px) {
  body.home .sqh-header > .sqh-container.sqh-header-inner,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner { width: calc(100% - 32px) !important; min-height: 0 !important; flex-wrap: wrap !important; padding-block: 16px !important; gap: 14px !important; }
  body.home .sqh-brand, body.front-page .sqh-brand { flex: 1 1 100% !important; justify-content: space-between !important; }
  body.home .sqh-brand img.custom-logo, body.front-page .sqh-brand img.custom-logo { max-width: 48% !important; max-height: 78px !important; }
  body.home .sqh-brand-text, body.front-page .sqh-brand-text { min-width: 0 !important; max-width: 48% !important; }
  body.home .sqh-header-controls, body.front-page .sqh-header-controls { width: 100% !important; justify-content: space-between !important; }
  body.home .sqh-main.sqh-service-home .sqh-hero-inner,
  body.front-page .sqh-main.sqh-service-home .sqh-hero-inner { width: calc(100% - 32px) !important; min-height: 0 !important; padding: 28px 22px !important; }
}
@media (max-width: 520px) {
  body.home .sqh-header > .sqh-container.sqh-header-inner,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner { width: calc(100% - 24px) !important; }
  body.home .sqh-brand img.custom-logo, body.front-page .sqh-brand img.custom-logo { max-width: 42% !important; max-height: 60px !important; }
  body.home .sqh-brand-text, body.front-page .sqh-brand-text { max-width: 55% !important; }
  body.home .sqh-brand-title, body.front-page .sqh-brand-title { font-size: 15px !important; }
  body.home .sqh-brand-subtitle, body.front-page .sqh-brand-subtitle { font-size: 10px !important; }
  body.home .sqh-main.sqh-service-home .sqh-hero-inner,
  body.front-page .sqh-main.sqh-service-home .sqh-hero-inner { width: calc(100% - 24px) !important; padding: 24px 18px !important; }
}


/* SQH Learn 1.6.2 — compact homepage without oversized hero panel */
body.home .sqh-main.sqh-service-home .sqh-services-section,
body.front-page .sqh-main.sqh-service-home .sqh-services-section {
  width: min(1360px, calc(100% - 48px));
  max-width: 1360px;
  margin-inline: auto;
  padding-block: 34px 24px;
}
body.home .sqh-main.sqh-service-home .sqh-section-heading,
body.front-page .sqh-main.sqh-service-home .sqh-section-heading {
  margin-bottom: 22px;
}
body.home .sqh-main.sqh-service-home .sqh-services-grid,
body.front-page .sqh-main.sqh-service-home .sqh-services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
body.home .sqh-main.sqh-service-home .sqh-service-card,
body.front-page .sqh-main.sqh-service-home .sqh-service-card {
  min-width: 0;
}
body.home .sqh-main.sqh-service-home .sqh-about-section,
body.front-page .sqh-main.sqh-service-home .sqh-about-section {
  width: min(1360px, calc(100% - 48px));
  max-width: 1360px;
  margin-inline: auto;
}
@media (max-width: 900px) {
  body.home .sqh-main.sqh-service-home .sqh-services-grid,
  body.front-page .sqh-main.sqh-service-home .sqh-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  body.home .sqh-main.sqh-service-home .sqh-services-section,
  body.front-page .sqh-main.sqh-service-home .sqh-services-section,
  body.home .sqh-main.sqh-service-home .sqh-about-section,
  body.front-page .sqh-main.sqh-service-home .sqh-about-section {
    width: calc(100% - 28px);
  }
  body.home .sqh-main.sqh-service-home .sqh-services-grid,
  body.front-page .sqh-main.sqh-service-home .sqh-services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* SQH Learn 1.6.3 — compact service navigation; preserve existing service cards */
.sqh-service-nav{position:relative;z-index:15;background:var(--sqh-nav-color,#123f60);color:#fff;border-bottom:3px solid rgba(8,127,112,.85)}
.sqh-service-nav-inner{width:min(1360px,calc(100% - 48px));min-height:62px;margin-inline:auto;display:flex;align-items:stretch;justify-content:space-between;gap:0;direction:rtl}
.sqh-service-nav a{display:flex;align-items:center;justify-content:center;min-width:0;padding:14px clamp(10px,1.35vw,22px);color:#fff;font-size:clamp(12px,.95vw,15px);font-weight:700;line-height:1.45;text-align:center;text-decoration:none;border-inline-start:1px solid rgba(255,255,255,.14);transition:background .18s,color .18s}
.sqh-service-nav a:first-child{border-inline-start:0}
.sqh-service-nav a:hover,.sqh-service-nav a:focus-visible,.sqh-service-nav .sqh-service-nav-home{background:rgba(255,255,255,.08);color:#fff;box-shadow:inset 0 -3px 0 var(--sqh-primary,#087f70)}
.sqh-main.sqh-service-home .sqh-services-section{padding-top:24px!important}
.sqh-main.sqh-service-home .sqh-services-grid{gap:18px}
.sqh-service-card{scroll-margin-top:90px}
@media(max-width:900px){
 .sqh-service-nav-inner{width:calc(100% - 28px);flex-wrap:wrap;justify-content:center;padding-block:5px}
 .sqh-service-nav a{flex:1 1 30%;min-height:44px;padding:9px 10px;border-inline-start:0;border-radius:6px;font-size:13px}
}
@media(max-width:560px){
 .sqh-service-nav-inner{width:calc(100% - 20px);gap:3px}
 .sqh-service-nav a{flex:1 1 44%;font-size:12px;min-height:40px}
 .sqh-main.sqh-service-home .sqh-services-section{padding-top:18px!important}
}

/* Final header proportions: preserve the existing blue/green identity and avoid oversized branding */
.sqh-header .sqh-header-inner{min-height:94px!important;gap:22px!important}
.sqh-header .sqh-brand{flex:0 1 64%!important;gap:16px!important}
.sqh-header .sqh-brand img.custom-logo{max-width:min(32vw,360px)!important;max-height:78px!important}
.sqh-header .sqh-brand-text{min-width:190px!important;max-width:340px!important}
.sqh-header .sqh-brand-title{font-size:clamp(16px,1.35vw,21px)!important}
.sqh-header .sqh-brand-subtitle{font-size:12px!important}
@media(max-width:900px){
 .sqh-header .sqh-header-inner{min-height:0!important;flex-wrap:wrap!important;padding-block:12px!important;gap:12px!important}
 .sqh-header .sqh-brand{flex:1 1 100%!important}
 .sqh-header .sqh-brand img.custom-logo{max-width:min(44vw,300px)!important;max-height:62px!important}
 .sqh-header .sqh-brand-text{min-width:0!important;max-width:52%!important}
}


/* SQH Learn 1.6.4 — header sized to the hospital's horizontal 338×107 logo */
body.home .sqh-header > .sqh-container.sqh-header-inner,
body.front-page .sqh-header > .sqh-container.sqh-header-inner {
  width: min(1360px, calc(100% - 48px)) !important;
  max-width: 1360px !important;
  min-height: var(--sqh-header-height, 110px) !important;
  padding-block: 7px !important;
  gap: 22px !important;
  flex-wrap: nowrap !important;
}
body.home .sqh-brand, body.front-page .sqh-brand {
  flex: 0 1 68% !important;
  min-width: 0 !important;
  gap: 16px !important;
}
body.home .sqh-brand img.custom-logo, body.front-page .sqh-brand img.custom-logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(var(--sqh-logo-width, 300px), 30vw) !important;
  max-height: 96px !important;
  object-fit: contain !important;
}
body.home .sqh-brand-text, body.front-page .sqh-brand-text {
  flex: 0 1 330px !important;
  min-width: 190px !important;
  max-width: 340px !important;
}
body.home .sqh-brand-title, body.front-page .sqh-brand-title {
  font-size: clamp(16px, 1.35vw, 21px) !important;
  line-height: 1.45 !important;
}
body.home .sqh-header-controls, body.front-page .sqh-header-controls {
  flex: 0 0 auto !important;
  gap: 16px !important;
}
@media (max-width: 900px) {
  body.home .sqh-header > .sqh-container.sqh-header-inner,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner {
    width: calc(100% - 32px) !important;
    min-height: 0 !important;
    flex-wrap: wrap !important;
    padding-block: 12px !important;
    gap: 10px !important;
  }
  body.home .sqh-brand, body.front-page .sqh-brand { flex: 1 1 100% !important; justify-content: space-between !important; }
  body.home .sqh-brand img.custom-logo, body.front-page .sqh-brand img.custom-logo {
    max-width: min(var(--sqh-logo-width, 300px), 44vw) !important;
    max-height: 62px !important;
  }
  body.home .sqh-brand-text, body.front-page .sqh-brand-text { min-width: 0 !important; max-width: 52% !important; }
  body.home .sqh-header-controls, body.front-page .sqh-header-controls { width: 100% !important; justify-content: space-between !important; }
}
@media (max-width: 520px) {
  body.home .sqh-header > .sqh-container.sqh-header-inner,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner { width: calc(100% - 24px) !important; }
  body.home .sqh-brand img.custom-logo, body.front-page .sqh-brand img.custom-logo { max-width: min(var(--sqh-logo-width, 300px), 42vw) !important; max-height: 54px !important; }
  body.home .sqh-brand-title, body.front-page .sqh-brand-title { font-size: 14px !important; }
  body.home .sqh-brand-subtitle, body.front-page .sqh-brand-subtitle { font-size: 10px !important; }
}


/* SQH Learn 1.6.5 — rebuild header and service navigation to match approved compact reference */
.sqh-header{background:#fff;border-bottom:1px solid #e5edf3;position:relative;z-index:30}
.sqh-header-inner{width:min(1480px,92%)!important;max-width:1480px!important;min-height:100px!important;height:auto!important;padding-block:10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:clamp(20px,3vw,46px)!important}
.sqh-brand{display:flex!important;flex:0 1 auto!important;min-width:0!important;align-items:center!important;gap:18px!important;text-decoration:none!important}
.sqh-brand img.custom-logo{display:block!important;width:auto!important;height:auto!important;max-width:min(23vw,var(--sqh-logo-width,300px))!important;max-height:84px!important;object-fit:contain!important}
.sqh-brand-text{display:flex!important;flex:0 1 320px!important;min-width:190px!important;max-width:320px!important;flex-direction:column!important;line-height:1.45!important}
.sqh-brand-title{font-size:clamp(17px,1.45vw,22px)!important;line-height:1.45!important;font-weight:800!important;color:var(--sqh-blue,#173b5e)!important}
.sqh-brand-subtitle{font-size:12px!important;line-height:1.5!important;margin-top:4px!important;color:#71869a!important}
.sqh-header-tools{display:flex;flex:0 1 650px;min-width:0;align-items:center;justify-content:flex-start;gap:clamp(16px,2vw,30px);direction:ltr}
.sqh-header-search{position:relative;display:flex;align-items:center;flex:1 1 420px;max-width:460px;min-width:180px;margin:0}
.sqh-header-search input[type="search"]{width:100%;height:48px;border:1px solid #d7e2ec;border-radius:12px;background:#fff;padding:0 16px 0 46px;color:#173b5e;font-size:14px;outline:none;box-shadow:0 2px 8px rgba(20,49,67,.025);direction:rtl;text-align:right}
.sqh-header-search input[type="search"]:focus{border-color:#76a9cf;box-shadow:0 0 0 3px rgba(33,115,175,.1)}
.sqh-header-search button{position:absolute;left:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#1266a3;cursor:pointer}
.sqh-header-search .dashicons{font-size:22px;width:22px;height:22px}
.sqh-language-switcher{display:flex!important;flex:0 0 auto;align-items:center;gap:12px;white-space:nowrap;direction:ltr}
.sqh-language-switcher a,.sqh-language-switcher span{font-size:13px!important;font-weight:700!important;color:#173b5e!important;text-decoration:none}
.sqh-language-switcher [aria-current="page"]{color:var(--sqh-primary,#126b58)!important;text-decoration:underline;text-underline-offset:5px}
.sqh-service-nav{width:100%;background:var(--sqh-nav-color,#123f60)!important;color:#fff;border-bottom:3px solid var(--sqh-primary,#0c9a83);box-shadow:0 3px 10px rgba(17,48,72,.08)}
.sqh-service-nav-inner{width:min(1480px,92%)!important;max-width:1480px!important;min-height:70px!important;margin-inline:auto!important;display:flex!important;align-items:stretch!important;justify-content:space-between!important;gap:0!important;direction:rtl!important}
.sqh-service-nav a{display:flex!important;flex:1 1 0;align-items:center!important;justify-content:center!important;gap:10px!important;min-width:0!important;padding:12px clamp(8px,1.15vw,18px)!important;color:#fff!important;font-size:clamp(12px,.92vw,15px)!important;font-weight:700!important;line-height:1.4!important;text-align:center!important;text-decoration:none!important;border-inline-start:1px solid rgba(255,255,255,.13)!important;border-radius:0!important;box-shadow:none!important;transition:background .18s ease!important}
.sqh-service-nav a:first-child{border-inline-start:0!important}
.sqh-service-nav a .dashicons{font-size:21px;width:21px;height:21px;line-height:21px;flex:0 0 auto;color:#eaf5ff}
.sqh-service-nav a:hover,.sqh-service-nav a:focus-visible{background:rgba(255,255,255,.09)!important;color:#fff!important}
.sqh-service-nav .sqh-service-nav-home{background:rgba(255,255,255,.08)!important;box-shadow:inset 0 -3px 0 var(--sqh-primary,#0c9a83)!important}
.sqh-main.sqh-service-home .sqh-services-section{width:min(1480px,92%)!important;max-width:1480px!important;padding:38px 0 24px!important;margin-inline:auto!important}
.sqh-main.sqh-service-home .sqh-section-heading{margin-bottom:24px!important;text-align:right}
.sqh-section-heading h2{font-size:clamp(25px,2.1vw,32px)!important;line-height:1.45!important}
.sqh-section-heading p{font-size:15px!important}
.sqh-main.sqh-service-home .sqh-services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
.sqh-main.sqh-service-home .sqh-service-card{padding:22px!important;gap:14px!important;border-radius:15px!important;min-height:188px}
.sqh-service-icon{width:54px;height:54px;border-radius:13px;background:#e7f4f1;display:grid;place-items:center;color:var(--sqh-primary,#126b58);margin-bottom:0}
.sqh-service-content h3{font-size:18px!important;line-height:1.5!important}
.sqh-service-content p{font-size:14px!important;line-height:1.7!important}
.sqh-main.sqh-service-home .sqh-about-section{width:min(1480px,92%)!important;max-width:1480px!important;margin-inline:auto!important}
.sqh-footer{margin-top:20px!important;background:#0c3858!important}
.sqh-footer-main{grid-template-columns:1.2fr 1fr 1fr!important;gap:30px!important;padding-block:30px!important}
@media(max-width:1050px){.sqh-header-inner{width:calc(100% - 36px)!important;gap:18px!important;min-height:92px!important}.sqh-brand{gap:12px!important}.sqh-brand img.custom-logo{max-width:min(22vw,260px)!important;max-height:72px!important}.sqh-brand-text{min-width:155px!important;max-width:260px!important}.sqh-brand-title{font-size:17px!important}.sqh-header-tools{flex-basis:52%;gap:14px}.sqh-header-search{min-width:150px}.sqh-service-nav-inner{width:calc(100% - 28px)!important;min-height:64px!important}.sqh-service-nav a{gap:6px!important;padding-inline:8px!important;font-size:12px!important}.sqh-service-nav a .dashicons{font-size:18px;width:18px;height:18px}.sqh-main.sqh-service-home .sqh-services-section,.sqh-main.sqh-service-home .sqh-about-section{width:calc(100% - 36px)!important}}
@media(max-width:760px){.sqh-header-inner{width:calc(100% - 28px)!important;min-height:0!important;flex-wrap:wrap!important;padding-block:12px!important;gap:12px!important}.sqh-brand{flex:1 1 100%!important;justify-content:space-between!important}.sqh-brand img.custom-logo{max-width:min(42vw,260px)!important;max-height:62px!important}.sqh-brand-text{min-width:0!important;max-width:52%!important;flex:1 1 auto!important}.sqh-brand-title{font-size:16px!important}.sqh-brand-subtitle{font-size:11px!important}.sqh-header-tools{flex:1 1 100%;max-width:none;justify-content:space-between;gap:12px;flex-direction:row-reverse}.sqh-header-search{flex:1 1 auto;max-width:none;min-width:0}.sqh-header-search input[type="search"]{height:42px}.sqh-service-nav-inner{width:100%!important;min-height:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.sqh-service-nav a{min-height:48px!important;padding:9px 6px!important;font-size:12px!important;border-bottom:1px solid rgba(255,255,255,.12)!important}.sqh-service-nav a .dashicons{display:none}.sqh-main.sqh-service-home .sqh-services-section{padding-top:28px!important}.sqh-main.sqh-service-home .sqh-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.sqh-main.sqh-service-home .sqh-service-card{padding:17px!important;min-height:0}.sqh-footer-main{grid-template-columns:1fr 1fr!important;gap:22px!important}}
@media(max-width:520px){.sqh-brand img.custom-logo{max-width:38vw!important;max-height:54px!important}.sqh-brand-text{max-width:56%!important}.sqh-brand-title{font-size:14px!important}.sqh-brand-subtitle{font-size:10px!important}.sqh-language-switcher{gap:8px}.sqh-language-switcher a,.sqh-language-switcher span{font-size:11px!important}.sqh-header-search input[type="search"]{font-size:12px;padding-right:38px}.sqh-service-nav-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sqh-main.sqh-service-home .sqh-services-section,.sqh-main.sqh-service-home .sqh-about-section{width:calc(100% - 24px)!important}.sqh-main.sqh-service-home .sqh-services-grid{grid-template-columns:1fr!important}.sqh-section-heading h2{font-size:23px!important}.sqh-footer-main{grid-template-columns:1fr!important}.sqh-footer-brand{grid-column:auto!important}}


/* SQH Learn 1.6.6 — high-specificity header fix based on the supplied live theme archive.
   This intentionally overrides older accumulated rules that were winning on the homepage. */
@media (min-width: 901px) {
  body.home .sqh-header > .sqh-container.sqh-header-inner,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner {
    display: flex !important;
    width: min(1480px, calc(100% - 64px)) !important;
    max-width: 1480px !important;
    min-height: 104px !important;
    height: auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 26px !important;
    padding: 8px 0 !important;
  }
  body.home .sqh-header > .sqh-container.sqh-header-inner > .sqh-brand,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner > .sqh-brand {
    order: 1 !important;
    flex: 0 1 58% !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    gap: 18px !important;
    justify-content: flex-start !important;
  }
  body.home .sqh-header > .sqh-container.sqh-header-inner > .sqh-brand img.custom-logo,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner > .sqh-brand img.custom-logo {
    width: auto !important;
    height: auto !important;
    max-width: min(var(--sqh-logo-width, 300px), 24vw) !important;
    max-height: 84px !important;
    object-fit: contain !important;
    flex: 0 1 auto !important;
  }
  body.home .sqh-header > .sqh-container.sqh-header-inner > .sqh-brand .sqh-brand-text,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner > .sqh-brand .sqh-brand-text {
    flex: 0 1 320px !important;
    min-width: 0 !important;
    max-width: 320px !important;
    text-align: right !important;
  }
  body.home .sqh-header > .sqh-container.sqh-header-inner > .sqh-header-tools,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner > .sqh-header-tools {
    order: 2 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 1 42% !important;
    width: auto !important;
    max-width: 620px !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 18px !important;
    direction: ltr !important;
  }
  body.home .sqh-header-search,
  body.front-page .sqh-header-search {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 1 320px !important;
    width: auto !important;
    max-width: 430px !important;
    min-width: 210px !important;
    margin: 0 !important;
  }
  body.home .sqh-language-switcher,
  body.front-page .sqh-language-switcher {
    display: flex !important;
    flex: 0 0 auto !important;
    visibility: visible !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 900px) {
  body.home .sqh-header > .sqh-container.sqh-header-inner,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner {
    display: flex !important;
    width: calc(100% - 32px) !important;
    min-height: 0 !important;
    height: auto !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding-block: 12px !important;
  }
  body.home .sqh-header > .sqh-container.sqh-header-inner > .sqh-brand,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner > .sqh-brand {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
    justify-content: space-between !important;
    min-width: 0 !important;
  }
  body.home .sqh-header > .sqh-container.sqh-header-inner > .sqh-header-tools,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner > .sqh-header-tools {
    display: flex !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
    justify-content: space-between !important;
    flex-direction: row-reverse !important;
    gap: 12px !important;
  }
  body.home .sqh-header-search,
  body.front-page .sqh-header-search {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  body.home .sqh-header img.custom-logo,
  body.front-page .sqh-header img.custom-logo {
    max-width: min(var(--sqh-logo-width, 300px), 42vw) !important;
    max-height: 62px !important;
  }
}
@media (max-width: 520px) {
  body.home .sqh-header > .sqh-container.sqh-header-inner,
  body.front-page .sqh-header > .sqh-container.sqh-header-inner { width: calc(100% - 24px) !important; }
  body.home .sqh-header img.custom-logo,
  body.front-page .sqh-header img.custom-logo { max-width: min(var(--sqh-logo-width, 300px), 38vw) !important; max-height: 54px !important; }
  body.home .sqh-header .sqh-brand-title,
  body.front-page .sqh-header .sqh-brand-title { font-size: 14px !important; }
  body.home .sqh-header .sqh-brand-subtitle,
  body.front-page .sqh-header .sqh-brand-subtitle { font-size: 10px !important; }
}


/* SQH Learn 1.7.2: compact the theme page shell ONLY when it hosts Nizam/practical-training shortcodes.
   Other WordPress pages, plugins, and the site homepage retain the original layout. */
body.sqh-has-training-plugin .sqh-page {
    padding-block-start: 3px !important;
    padding-block-end: 6px !important;
}
body.sqh-has-training-plugin .sqh-page > .sqh-page-header {
    margin-bottom: 6px !important;
}
body.sqh-has-training-plugin .sqh-page > .sqh-content {
    margin-block-start: 0 !important;
}
/* Override the theme's earlier high-specificity Nizam spacing rules on these pages only. */
body.sqh-has-training-plugin .sqh-content .nta-home,
body.sqh-has-training-plugin .sqh-content .nta-portal {
    margin-block-start: 2.6px !important;
    margin-block-end: 2.6px !important;
    padding-block-start: 2.4px !important;
    padding-block-end: 5.6px !important;
}
body.sqh-has-training-plugin .sqh-content .nta-admin-portal,
body.sqh-has-training-plugin .sqh-content .nta-course-view,
body.sqh-has-training-plugin .sqh-content .nta-training-page,
body.sqh-has-training-plugin .sqh-content .nta-plugin-page {
    margin-block-start: 2.6px !important;
    margin-block-end: 2.6px !important;
    padding-block-start: 2.4px !important;
    padding-block-end: 5.6px !important;
}
@media (max-width: 600px) {
    body.sqh-has-training-plugin .sqh-content .nta-home,
    body.sqh-has-training-plugin .sqh-content .nta-portal,
    body.sqh-has-training-plugin .sqh-content .nta-admin-portal,
    body.sqh-has-training-plugin .sqh-content .nta-course-view,
    body.sqh-has-training-plugin .sqh-content .nta-training-page,
    body.sqh-has-training-plugin .sqh-content .nta-plugin-page {
        margin-block-start: 2px !important;
        margin-block-end: 2px !important;
        padding-block-start: 1px !important;
        padding-block-end: 2px !important;
    }
}


/* SQH Learn 1.7.3 — direct structural spacing fix for pages rendering Nizam shortcodes.
   The :has() scope detects the rendered plugin output, even when WordPress stores the
   shortcode inside a reusable/block structure and the body-class filter cannot see it. */
.sqh-page:has(.sqh-content .nta-home),
.sqh-page:has(.sqh-content .nta-portal),
.sqh-page:has(.sqh-content [class^="nta-"]),
.sqh-page:has(.sqh-content [class*=" nta-"]) {
    padding-block-start: 0 !important;
    padding-block-end: 6px !important;
}
.sqh-page:has(.sqh-content .nta-home) > .sqh-page-header,
.sqh-page:has(.sqh-content .nta-portal) > .sqh-page-header,
.sqh-page:has(.sqh-content [class^="nta-"]) > .sqh-page-header,
.sqh-page:has(.sqh-content [class*=" nta-"]) > .sqh-page-header {
    margin: 0 0 4px !important;
    padding-block: 0 !important;
    min-height: 0 !important;
}
.sqh-page:has(.sqh-content .nta-home) > .sqh-content,
.sqh-page:has(.sqh-content .nta-portal) > .sqh-content,
.sqh-page:has(.sqh-content [class^="nta-"]) > .sqh-content,
.sqh-page:has(.sqh-content [class*=" nta-"]) > .sqh-content {
    margin-block: 0 !important;
    padding-block: 0 !important;
}
.sqh-page:has(.sqh-content .nta-home) .nta-home,
.sqh-page:has(.sqh-content .nta-portal) .nta-portal {
    margin-block: 0 !important;
    padding-block: 2px 6px !important;
}
