/* Health Back country directory and legacy center pages */
.hb-dir-hero,.hb-center-hero{position:relative;min-height:440px;display:flex;align-items:flex-end;color:#fff;background:linear-gradient(135deg,#07385f,#0b6b82);background-image:linear-gradient(90deg,rgba(4,38,69,.94),rgba(4,38,69,.46)),var(--hb-dir-hero);background-size:cover;background-position:center}
.hb-center-hero{min-height:500px;background-image:linear-gradient(90deg,rgba(4,38,69,.94),rgba(4,38,69,.38)),var(--hb-center-hero)}
.hb-dir-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,30,52,.3),transparent 55%);pointer-events:none}
.hb-dir-hero-inner,.hb-center-hero-inner{position:relative;z-index:1;padding-top:120px;padding-bottom:64px;max-width:880px;margin-inline-start:max(calc((100% - 1180px)/2),24px)}
.hb-dir-crumbs{display:flex;gap:10px;align-items:center;font-size:14px;margin-bottom:28px;color:#d7e7ef}
.hb-dir-crumbs a{color:#fff;text-decoration:none}.hb-dir-crumbs a:hover{text-decoration:underline}
.hb-dir-hero .hb-kicker,.hb-center-hero .hb-kicker{display:block;color:#8fe0bc;font-weight:800;letter-spacing:.08em;margin-bottom:12px}
.hb-dir-hero h1,.hb-center-hero h1{color:#fff;font-size:clamp(38px,6vw,72px);line-height:1.08;margin:0 0 18px;max-width:900px}
.hb-dir-hero p{font-size:19px;line-height:1.8;max-width:760px;margin:0 0 22px;color:#eef7fa}
.hb-dir-count{display:inline-flex;align-items:center;min-height:38px;padding:8px 16px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(255,255,255,.1);font-size:14px;font-weight:700}
.hb-dir-section,.hb-center-content,.hb-center-gallery{padding:80px 0;background:#f7fafc}
.hb-dir-heading{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;margin-bottom:34px}
.hb-dir-heading>div>span{display:block;color:#0d7d4e;font-size:13px;font-weight:800;letter-spacing:.08em;margin-bottom:8px}
.hb-dir-heading h2{font-size:clamp(28px,4vw,44px);line-height:1.2;color:#07385f;margin:0}
.hb-dir-heading>p{max-width:470px;margin:0;color:#496778;line-height:1.8}
.hb-dir-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.hb-dir-card{background:#fff;border:1px solid #dbe8ee;border-radius:20px;overflow:hidden;box-shadow:0 14px 36px rgba(7,56,95,.08);transition:transform .25s ease,box-shadow .25s ease}
.hb-dir-card:hover{transform:translateY(-5px);box-shadow:0 20px 46px rgba(7,56,95,.14)}
.hb-dir-card-media{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#dcecf1}
.hb-dir-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.hb-dir-card:hover img{transform:scale(1.045)}
.hb-dir-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#d8ecf1,#b9dcd1)}
.hb-dir-number{position:absolute;inset-inline-start:16px;bottom:14px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#07385f;font-weight:900;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.hb-dir-card-body{padding:22px 22px 24px}.hb-dir-card-body small{display:block;color:#0d7d4e;font-weight:800;margin-bottom:8px}
.hb-dir-card-body h3{font-size:21px;line-height:1.4;margin:0 0 18px;color:#07385f}.hb-dir-card-body h3 a{color:inherit;text-decoration:none}
.hb-dir-more{display:inline-flex;gap:10px;align-items:center;color:#0d7d4e;font-weight:800;text-decoration:none}
.hb-dir-more span{transition:transform .2s}.hb-dir-card:hover .hb-dir-more span{transform:translateX(-4px)}
html[lang^="en"] .hb-dir-more span{transform:rotate(180deg)}html[lang^="en"] .hb-dir-card:hover .hb-dir-more span{transform:rotate(180deg) translateX(-4px)}
.hb-dir-cta{padding:54px 0;background:linear-gradient(135deg,#087f63,#0b9b73);color:#fff}
.hb-dir-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}
.hb-dir-cta span{font-size:13px;font-weight:900;letter-spacing:.08em;color:#d2f5e6}.hb-dir-cta h2{font-size:clamp(26px,4vw,40px);margin:8px 0 0;color:#fff}
.hb2-btn-white{background:#fff;color:#07385f!important;border-color:#fff!important}
.hb-center-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:54px;align-items:start}
.hb-center-article,.hb-center-contact{background:#fff;border:1px solid #dbe8ee;border-radius:22px;box-shadow:0 14px 36px rgba(7,56,95,.07)}
.hb-center-article{padding:38px}.hb-center-heading{margin-bottom:24px}.hb-center-heading h2{font-size:30px}
.hb-center-copy{color:#294c61;font-size:17px;line-height:2}.hb-center-copy p{margin:0 0 22px}.hb-center-copy h2,.hb-center-copy h3,.hb-center-copy h4{color:#07385f;margin:32px 0 14px}
.hb-center-copy ul{padding-inline-start:24px}.hb-center-copy li{margin-bottom:9px}
.hb-center-contact{position:sticky;top:120px;padding:30px}.hb-center-contact>span{color:#0d7d4e;font-size:12px;font-weight:900;letter-spacing:.08em}
.hb-center-contact h2{color:#07385f;font-size:27px;line-height:1.35;margin:10px 0}.hb-center-contact p{color:#496778;line-height:1.8}
.hb-center-contact .hb2-btn{display:flex;justify-content:center;margin-top:12px}
.hb-center-gallery{padding-top:0}.hb-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hb-gallery-grid figure{margin:0;overflow:hidden;border-radius:16px;aspect-ratio:4/3;background:#dcecf1}.hb-gallery-grid .hb-gallery-wide{grid-column:span 2;grid-row:span 2}
.hb-gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.hb-gallery-grid figure:hover img{transform:scale(1.04)}
.hb-country-back{padding:34px 0;background:#eaf3f6}.hb-country-back a{display:inline-flex;gap:10px;align-items:center;color:#07385f;font-weight:900;text-decoration:none}
@media(max-width:900px){.hb-dir-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-center-layout{grid-template-columns:1fr}.hb-center-contact{position:static}.hb-dir-heading,.hb-dir-cta-inner{align-items:flex-start;flex-direction:column}.hb-dir-hero-inner,.hb-center-hero-inner{margin-inline:0;padding-inline:24px}}
.hb-nav-destinations{position:relative}.hb-nav-destinations summary{list-style:none;cursor:pointer;color:inherit;font-weight:inherit}.hb-nav-destinations summary::-webkit-details-marker{display:none}.hb-nav-destinations summary:after{content:"⌄";margin-inline-start:6px;font-size:12px}
.hb-nav-country-menu{position:absolute;z-index:100;top:calc(100% + 16px);inset-inline-start:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(2,180px);gap:4px;padding:14px;visibility:hidden;opacity:0;background:#fff;border:1px solid #dbe8ee;border-radius:16px;box-shadow:0 18px 48px rgba(7,56,95,.18);transition:opacity .18s,visibility .18s}
.hb-nav-destinations[open] .hb-nav-country-menu{visibility:visible;opacity:1}.hb-nav-country-menu a{display:flex!important;align-items:center;min-height:42px;padding:9px 12px!important;border-radius:9px;color:#153a52!important;text-decoration:none}.hb-nav-country-menu a:hover{background:#edf6f3;color:#0d7d4e!important}.hb-nav-country-menu .hb-nav-all{grid-column:1/-1;background:#07385f;color:#fff!important}
@media(max-width:900px){.hb-nav-destinations{width:100%}.hb-nav-destinations summary{padding:12px 0}.hb-nav-country-menu{position:static;transform:none;grid-template-columns:1fr 1fr;width:100%;box-shadow:none;margin-top:6px;display:none;visibility:visible;opacity:1}.hb-nav-destinations[open] .hb-nav-country-menu{display:grid}}
.hb-home-country-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:34px}
.hb-home-country{position:relative;display:flex;align-items:flex-end;min-height:280px;overflow:hidden;border-radius:18px;text-decoration:none;background:#07385f;background-image:var(--hb-home-country);background-size:cover;background-position:center;box-shadow:0 14px 34px rgba(7,56,95,.11)}
.hb-home-country:first-child{grid-column:span 2;grid-row:span 2;min-height:578px}.hb-home-country-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,36,62,.94) 0%,rgba(3,36,62,.82) 55%,rgba(3,36,62,.08) 100%)}
.hb-home-country-copy{position:relative;z-index:1;display:flex;flex-direction:column;padding:24px;color:#fff}.hb-home-country-copy small{color:#9ce4c3;font-weight:800}.hb-home-country-copy strong{font-size:26px;line-height:1.25;margin-top:5px}.hb-home-country:first-child strong{font-size:42px}
.hb-home-country-copy em{font-style:normal;font-weight:800;margin-top:12px}.hb-home-country-copy i{font-style:normal}html[lang^="en"] .hb-home-country-copy i{display:inline-block;transform:rotate(180deg)}
@media(max-width:950px){.hb-home-country-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-home-country:first-child{grid-column:span 2;grid-row:auto;min-height:360px}}
@media(max-width:620px){.hb-home-country-grid{grid-template-columns:1fr}.hb-home-country,.hb-home-country:first-child{grid-column:auto;min-height:280px}.hb-home-country:first-child strong{font-size:32px}}
.hb-center-index-list{display:grid;gap:24px}.hb-center-country{padding:30px;background:#fff;border:1px solid #dbe8ee;border-radius:20px;box-shadow:0 12px 30px rgba(7,56,95,.06)}
.hb-center-country-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #e1ebef}.hb-center-country-head small{display:block;color:#0d7d4e;font-weight:800;margin-bottom:5px}.hb-center-country-head h2{margin:0;font-size:30px}.hb-center-country-head h2 a{color:#07385f;text-decoration:none}
.hb-center-country-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.hb-center-country-links a{display:flex;align-items:center;min-height:52px;padding:12px 16px;border-radius:12px;background:#f0f6f8;color:#153a52;text-decoration:none;font-weight:700;transition:background .2s,color .2s}.hb-center-country-links a:hover{background:#0d7d4e;color:#fff}
@media(max-width:800px){.hb-center-country-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hb-center-country{padding:22px}.hb-center-country-head{align-items:flex-start;flex-direction:column}.hb-center-country-links{grid-template-columns:1fr}}
.hb-destinations-hero p{max-width:760px;margin:18px auto 0;color:#496778;font-size:18px;line-height:1.8}
.hb-country-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.hb-country-card{position:relative;display:flex;align-items:flex-end;min-height:340px;overflow:hidden;border-radius:22px;text-decoration:none;background:#07385f;background-image:var(--hb-country-image);background-size:cover;background-position:center;box-shadow:0 16px 40px rgba(7,56,95,.12)}
.hb-country-card:first-child{grid-row:span 2;min-height:704px}.hb-country-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,36,62,.94),rgba(3,36,62,.08) 70%);transition:background .3s}
.hb-country-card:hover .hb-country-overlay{background:linear-gradient(0deg,rgba(3,36,62,.96),rgba(3,36,62,.24) 75%)}
.hb-country-content{position:relative;z-index:1;display:flex;flex-direction:column;padding:30px;color:#fff}
.hb-country-content small{font-style:normal;color:#9ce4c3;font-weight:800;margin-bottom:7px}.hb-country-content strong{font-size:clamp(27px,3vw,40px);line-height:1.2}
.hb-country-content em{display:flex;gap:10px;align-items:center;margin-top:17px;font-style:normal;font-weight:800}.hb-country-content i{font-style:normal}
html[lang^="en"] .hb-country-content i{transform:rotate(180deg)}
@media(max-width:900px){.hb-country-card:first-child{grid-row:auto;min-height:340px}}
@media(max-width:620px){.hb-dir-hero,.hb-center-hero{min-height:400px}.hb-dir-hero-inner,.hb-center-hero-inner{padding-top:100px;padding-bottom:44px}.hb-dir-hero h1,.hb-center-hero h1{font-size:38px}.hb-dir-hero p{font-size:16px}.hb-dir-section,.hb-center-content,.hb-center-gallery{padding:54px 0}.hb-dir-grid,.hb-country-grid{grid-template-columns:1fr;gap:20px}.hb-dir-card-media{aspect-ratio:16/10}.hb-center-article{padding:24px}.hb-gallery-grid{grid-template-columns:1fr 1fr}.hb-gallery-grid .hb-gallery-wide{grid-column:span 2;grid-row:auto}.hb-dir-cta{padding:42px 0}.hb-country-card,.hb-country-card:first-child{min-height:300px}}

/* Unified treatment-center content across Arabic and English. */
.hb2-rtl .hb-center-hero{background-image:linear-gradient(270deg,rgba(4,38,69,.94),rgba(4,38,69,.38)),var(--hb-center-hero)}
.hb2-ltr .hb-center-hero{background-image:linear-gradient(90deg,rgba(4,38,69,.94),rgba(4,38,69,.38)),var(--hb-center-hero)}
.hb2-rtl .hb-center-copy{direction:rtl;text-align:right}
.hb2-ltr .hb-center-copy{direction:ltr;text-align:left}
.hb-center-copy>p:first-child>strong:only-child{display:block;color:#07559a;font-size:clamp(22px,3vw,30px);line-height:1.45;font-weight:600;margin-bottom:8px}
.hb-center-copy>p:first-child>strong:only-child u{text-decoration:none}
.hb-center-copy h2{font-size:clamp(25px,3vw,34px)}
.hb-center-copy h3{font-size:clamp(21px,2.5vw,28px)}
.hb-center-copy blockquote{margin:24px 0;padding:18px 20px;border-inline-start:4px solid #159b63;border-radius:12px;background:#f1f8f5;color:#31566b}
.hb-center-copy hr{border:0;border-top:1px solid #dfeaf0;margin:30px 0}

/* Coordinated directory, country and center-page rhythm */
.hb-dir-hero{min-height:420px}
.hb-center-hero{min-height:470px}
.hb-dir-hero-inner,.hb-center-hero-inner{padding-top:96px;padding-bottom:58px;max-width:820px}
.hb-dir-hero h1,.hb-center-hero h1{font-size:clamp(40px,5vw,64px);line-height:1.12;font-weight:600}
.hb-dir-hero p{font-size:17px;line-height:1.85}
.hb-dir-section,.hb-center-content,.hb-center-gallery{padding:68px 0}
.hb-dir-heading{margin-bottom:28px;gap:36px}
.hb-dir-heading h2{font-size:clamp(30px,3.5vw,42px);font-weight:600}
.hb-dir-heading>p{color:#557183}
.hb-dir-grid{gap:22px}
.hb-dir-card{border-radius:18px;box-shadow:0 12px 34px rgba(7,56,95,.075)}
.hb-dir-card-body{padding:20px 20px 22px}
.hb-dir-card-body h3{font-size:20px;margin-bottom:14px}
.hb-country-grid{gap:22px}
.hb-country-card{min-height:320px;border-radius:18px}
.hb-country-card:first-child{min-height:662px}
.hb-country-content{padding:26px}
.hb-country-content strong{font-size:clamp(27px,3vw,37px);font-weight:600}
.hb-center-layout{grid-template-columns:minmax(0,1fr) 340px;gap:42px}
.hb-center-article,.hb-center-contact{border-radius:18px;box-shadow:0 12px 34px rgba(7,56,95,.065)}
.hb-center-article{padding:34px}
.hb-center-copy{font-size:16px;line-height:1.95}
.hb-center-contact{top:108px;padding:26px}
.hb-center-country{padding:26px;border-radius:18px}
.hb-center-country-head h2{font-size:28px}
.hb-center-country-links{gap:10px}
.hb-center-country-links a{border-radius:11px;font-weight:600}
.hb-home-country-grid{gap:16px}
.hb-home-country{border-radius:17px}
.hb-home-country-copy{padding:22px}
.hb-nav-country-menu{border-radius:14px}
@media(max-width:1080px){
 .hb-center-layout{grid-template-columns:minmax(0,1fr);gap:28px}
 .hb-center-article,.hb-center-aside,.hb-center-contact{width:100%;max-width:100%;min-width:0}
 .hb-center-contact{position:static;top:auto}
}
@media(max-width:900px){
 .hb-dir-heading{gap:14px}
 .hb-country-card:first-child{min-height:320px}
}
.hb-center-page,.hb-dir-page{overflow-x:clip}
.hb-center-layout>*{min-width:0}
.hb-center-copy{overflow-wrap:anywhere;word-break:normal}
.hb-center-copy>:first-child{margin-top:0}
.hb-center-copy>:last-child{margin-bottom:0}
.hb-center-copy img,.hb-center-copy video,.hb-center-copy iframe,.hb-center-copy embed,.hb-center-copy object{display:block;max-width:100%!important;width:auto;height:auto!important;margin:22px auto;border-radius:14px}
.hb-center-copy iframe,.hb-center-copy video{width:100%;aspect-ratio:16/9}
.hb-center-copy table{display:block;width:100%!important;max-width:100%;overflow-x:auto;border-collapse:collapse}
.hb-center-copy ul,.hb-center-copy ol{max-width:100%;margin:0 0 22px;padding-inline-start:24px}
.hb-center-copy a{overflow-wrap:anywhere}
@media(max-width:620px){
 .hb-dir-hero,.hb-center-hero{min-height:360px}
 .hb-dir-hero-inner,.hb-center-hero-inner{padding-top:76px;padding-bottom:38px;padding-inline:14px}
 .hb-dir-hero h1,.hb-center-hero h1{font-size:36px}
 .hb-dir-hero p{font-size:15px}
 .hb-dir-section,.hb-center-content,.hb-center-gallery{padding:48px 0}
 .hb-dir-heading{margin-bottom:22px}
 .hb-dir-heading h2{font-size:29px}
 .hb-dir-grid,.hb-country-grid{gap:16px}
 .hb-dir-card-media{aspect-ratio:16/10}
 .hb-country-card,.hb-country-card:first-child{min-height:280px}
 .hb-country-content{padding:22px}
 .hb-center-content .hb-container{width:min(100% - 28px,1220px)}
 .hb-center-layout{display:flex;flex-direction:column;gap:18px}
 .hb-center-article{order:1;padding:20px;border-radius:16px}
 .hb-center-aside{order:2}
 .hb-center-contact{padding:20px;border-radius:16px}
 .hb-center-contact h2{font-size:24px}
 .hb-center-contact .hb2-btn{width:100%;min-height:48px}
 .hb-center-copy{font-size:15px;line-height:1.9}
 .hb-center-copy h2{font-size:25px;line-height:1.35}
 .hb-center-copy h3{font-size:21px;line-height:1.4}
 .hb-center-country{padding:20px}
 .hb-center-country-head h2{font-size:25px}
 .hb-home-country-grid{gap:14px}
.hb-home-country-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
}
/* Compact, proportional hamburger menu for phone screens only. */
@media(max-width:760px){
.hb-primary-nav{top:82px!important;left:26px!important;right:26px!important;padding:10px 12px!important;gap:2px!important;border-radius:13px!important;max-height:calc(100dvh - 94px)!important;overscroll-behavior:contain}
.hb-primary-nav>a{min-height:38px!important;padding:5px 3px!important;font-size:13.5px!important;line-height:1.25}
.hb-primary-nav>a:first-child:after{height:2px!important;bottom:0!important}
.hb-primary-nav .hb-mobile-nav-start{margin-top:3px!important;padding-top:8px!important}
.hb-primary-nav .hb-mobile-lang small{font-size:11px}
.hb-nav-destinations summary{display:flex;align-items:center;min-height:38px;padding:5px 3px!important;font-size:13.5px;line-height:1.25}
.hb-nav-destinations summary:after{font-size:10px;margin-inline-start:5px}
.hb-nav-country-menu{gap:3px!important;padding:7px!important;margin-top:3px!important;border-radius:11px!important}
.hb-nav-country-menu a{min-height:34px!important;padding:5px 7px!important;border-radius:7px!important;font-size:12px!important;line-height:1.25}
}
@media(max-width:380px){
.hb-primary-nav{left:18px!important;right:18px!important;padding:8px 10px!important}
.hb-primary-nav>a,.hb-nav-destinations summary{font-size:13px!important}
}
/* Health Back 2.1 stable formatting checkpoint. */

/* Blue directory and provider headings follow the same scale. */
@media (min-width:761px){
  .hb-dir-heading h2{font-size:clamp(28px,2.8vw,36px)}
  .hb-center-heading h2,.hb-center-copy h2{font-size:clamp(26px,2.6vw,30px)}
  .hb-center-country-head h2{font-size:26px}
}
@media (max-width:760px){
  .hb-dir-heading h2{font-size:26px}
  .hb-center-heading h2,.hb-center-copy h2{font-size:24px}
  .hb-center-country-head h2{font-size:24px}
}

/* Match directory and provider headings to the site-wide blue. */
main .hb-dir-heading h2,
main .hb-center-heading h2,
main .hb-center-copy h2,
main .hb-center-copy h3,
main .hb-center-contact h2,
main .hb-center-country-head h2{color:#07559a}
/* Desktop home country cards: fill each card with its photo and keep the photo visible. */
@media (min-width:761px){
  .hb2-centers-section .hb-home-country-image{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }
  .hb2-centers-section .hb-home-country-shade{
    background:linear-gradient(0deg,rgba(0,0,0,.52) 0%,rgba(0,0,0,.08) 30%,transparent 65%);
  }
  .hb2-centers-section .hb-home-country-copy{
    text-shadow:0 2px 7px rgba(1,23,42,.7);
  }
}

/* Mobile home country cards: keep the photos clear without losing label contrast. */
@media (max-width:760px){
  .hb2-centers-section .hb-home-country-image{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }
  .hb2-centers-section .hb-home-country-shade{
    background:linear-gradient(0deg,rgba(0,0,0,.54) 0%,rgba(0,0,0,.08) 32%,transparent 68%);
  }
  .hb2-centers-section .hb-home-country-copy{
    text-shadow:0 2px 7px rgba(1,23,42,.7);
  }
}
