/* Tabeebo Fix Layer 1.4.45 — About / Join / Terms brand pages */
body.tbfx-brand-page{background:#f7fafb;color:#191d36}
body.tbfx-brand-page #siteBody{max-width:1240px}
.tbfx-brand-hero{position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid #dfebed;background:linear-gradient(135deg,#eaf8f7 0%,#f8fbfb 50%,#fff0f4 100%)}
.tbfx-brand-hero:before,.tbfx-brand-hero:after{content:"";position:absolute;z-index:-1;border-radius:999px;filter:blur(2px);pointer-events:none}
.tbfx-brand-hero:before{width:330px;height:330px;inset-block-start:-190px;inset-inline-start:-80px;background:rgba(46,113,115,.10)}
.tbfx-brand-hero:after{width:280px;height:280px;inset-block-end:-180px;inset-inline-end:-60px;background:rgba(237,21,81,.09)}
.tbfx-brand-hero__inner{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr);align-items:center;gap:48px;min-height:360px;padding-block:72px 88px}
.tbfx-brand-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:16px;padding:7px 13px;border:1px solid rgba(46,113,115,.22);border-radius:999px;background:rgba(255,255,255,.72);color:#2e7173;font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 8px 24px rgba(46,113,115,.08)}
.tbfx-brand-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:#ed1551;box-shadow:0 0 0 4px rgba(237,21,81,.12)}
.tbfx-brand-title{max-width:820px;margin:0;color:#191d36;font-size:clamp(2.65rem,6vw,5.25rem);font-weight:850;line-height:1.02;letter-spacing:-.045em}
.tbfx-brand-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:22px;color:#68758b;font-size:.98rem}
.tbfx-brand-breadcrumbs a{color:#2e7173;text-decoration:none}
.tbfx-brand-hero__visual{position:relative;display:grid;place-items:center;min-height:235px}
.tbfx-brand-symbol{position:relative;z-index:2;display:grid;place-items:center;width:164px;height:164px;border:1px solid rgba(255,255,255,.78);border-radius:48px;background:rgba(255,255,255,.72);color:#2e7173;box-shadow:0 24px 70px rgba(25,29,54,.13);backdrop-filter:blur(12px);transform:rotate(-5deg)}
.tbfx-brand-page--join .tbfx-brand-symbol{color:#ed1551;transform:rotate(5deg)}
.tbfx-brand-orbit{position:absolute;border:1px dashed rgba(46,113,115,.27);border-radius:50%}
.tbfx-brand-orbit--one{width:225px;height:225px}
.tbfx-brand-orbit--two{width:295px;height:295px;border-color:rgba(237,21,81,.18)}
.tbfx-brand-main{position:relative;z-index:2;margin-top:-42px;padding-bottom:90px}
.tbfx-brand-content{overflow:hidden;padding:clamp(28px,5vw,68px);border:1px solid #e0e9ed;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(25,29,54,.09)}
.tbfx-brand-content>*:first-child{margin-top:0!important}
.tbfx-brand-content>*:last-child{margin-bottom:0!important}
.tbfx-brand-content h2{position:relative;margin:clamp(44px,7vw,76px) 0 20px;padding-inline-start:20px;color:#191d36;font-size:clamp(1.75rem,3vw,2.55rem);font-weight:800;line-height:1.2;letter-spacing:-.025em}
.tbfx-brand-content h2:before{content:"";position:absolute;inset-block:4px;inset-inline-start:0;width:5px;border-radius:999px;background:linear-gradient(180deg,#2e7173,#ed1551)}
.tbfx-brand-content h3{margin:34px 0 14px;color:#2e7173;font-size:clamp(1.25rem,2.2vw,1.65rem);font-weight:750;line-height:1.35}
.tbfx-brand-content p{max-width:960px;margin-block:0 20px;color:#536076;font-size:1.05rem;line-height:1.9}
.tbfx-brand-content>p:first-child{font-size:clamp(1.15rem,2vw,1.35rem);line-height:1.85;color:#3d4960}
.tbfx-brand-content>ul,.tbfx-brand-content>ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0 36px;padding:0;list-style:none;counter-reset:tbfx-brand-step}
.tbfx-brand-content>ul>li,.tbfx-brand-content>ol>li{position:relative;min-width:0;padding:22px 22px 22px 54px;border:1px solid #e2eaee;border-radius:18px;background:linear-gradient(145deg,#fbfdfd,#f6fafb);color:#47546a;line-height:1.75;box-shadow:0 9px 26px rgba(25,29,54,.045)}
.tbfx-brand-content>ul>li:before{content:"✓";position:absolute;inset-block-start:20px;inset-inline-start:20px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e6f5f3;color:#2e7173;font-weight:900}
.tbfx-brand-content>ol>li{counter-increment:tbfx-brand-step}
.tbfx-brand-content>ol>li:before{content:counter(tbfx-brand-step);position:absolute;inset-block-start:18px;inset-inline-start:18px;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#2e7173;color:#fff;font-size:.85rem;font-weight:800}
.tbfx-brand-content>ul>li strong,.tbfx-brand-content>ol>li strong{display:block;margin-bottom:7px;color:#191d36;font-size:1.08rem}
.tbfx-brand-content>ul>li ul,.tbfx-brand-content>ol>li ul{margin:10px 0 0;padding-inline-start:18px;list-style:disc}
.tbfx-brand-content blockquote{margin:24px 0;padding:24px;border:1px solid #e7e8f0;border-inline-start:5px solid #ed1551;border-radius:18px;background:#fff6f8;color:#424d63;box-shadow:0 12px 30px rgba(237,21,81,.06)}
.tbfx-brand-content figure{margin:34px 0;overflow:hidden;border-radius:22px;background:#eef5f5;box-shadow:0 18px 50px rgba(25,29,54,.10)}
.tbfx-brand-content figure img,.tbfx-brand-content>img{display:block;width:100%;height:auto;border-radius:22px}
.tbfx-brand-content a{color:#2e7173;text-underline-offset:3px;text-decoration-thickness:1px}
.tbfx-brand-content>p>a:only-child,.tbfx-brand-content .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border:1px solid #2e7173;border-radius:12px;background:#2e7173;color:#fff;text-decoration:none;font-weight:750;box-shadow:0 10px 26px rgba(46,113,115,.18);transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,color .16s ease}
.tbfx-brand-content>p>a:only-child:hover,.tbfx-brand-content .wp-block-button__link:hover{background:#fff;color:#2e7173;box-shadow:0 14px 30px rgba(46,113,115,.13);transform:translateY(-1px)}
.tbfx-brand-content .wp-block-columns{gap:18px}
.tbfx-brand-content .wp-block-column{padding:24px;border:1px solid #e2eaee;border-radius:18px;background:#fbfdfd}
.tbfx-brand-content :where(input,select,textarea){border-radius:11px}
html[dir="rtl"] .tbfx-brand-title,.rtl .tbfx-brand-title{letter-spacing:0}
html[dir="rtl"] .tbfx-brand-content>ul>li,html[dir="rtl"] .tbfx-brand-content>ol>li,.rtl .tbfx-brand-content>ul>li,.rtl .tbfx-brand-content>ol>li{padding:22px 54px 22px 22px}
@media(max-width:900px){.tbfx-brand-hero__inner{grid-template-columns:1fr;min-height:0;padding-block:58px 82px}.tbfx-brand-hero__visual{display:none}.tbfx-brand-main{margin-top:-28px}.tbfx-brand-content{border-radius:22px}.tbfx-brand-content>ul,.tbfx-brand-content>ol{grid-template-columns:1fr}}
@media(max-width:600px){.tbfx-brand-hero__inner{padding-block:48px 64px}.tbfx-brand-title{font-size:clamp(2.45rem,14vw,3.65rem)}.tbfx-brand-main{padding-inline:14px;padding-bottom:64px}.tbfx-brand-content{padding:26px 20px;border-radius:18px}.tbfx-brand-content h2{margin-top:42px}.tbfx-brand-content p{font-size:1rem}.tbfx-brand-content>ul>li,.tbfx-brand-content>ol>li{padding-block:19px}}
@media(prefers-reduced-motion:reduce){.tbfx-brand-content>p>a:only-child,.tbfx-brand-content .wp-block-button__link{transition:none}}

/* v1.4.44 — legacy About artwork is intentionally removed. The old oversized
 * screenshots were created for a different page layout and left large blank
 * columns inside the new responsive card. Text and SEO content remain intact. */
.tbfx-brand-page--about .tbfx-brand-content figure,
.tbfx-brand-page--about .tbfx-brand-content .wp-block-image,
.tbfx-brand-page--about .tbfx-brand-content > img,
.tbfx-brand-page--about .tbfx-brand-content p > img:only-child,
.tbfx-brand-page--about .tbfx-brand-content p > a:only-child > img:only-child{
  display:none!important;
}

/* Editorial testimonial fallback for the legacy [display_testimonials]
 * shortcode. No names or profile photos are invented. */
.tbfx-testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:24px 0 12px;
}
.tbfx-testimonial-card{
  position:relative;
  min-width:0;
  margin:0;
  padding:26px 24px 22px;
  overflow:hidden;
  border:1px solid #dfeaec;
  border-radius:20px;
  background:linear-gradient(145deg,#fff 0%,#f6fbfb 100%);
  box-shadow:0 14px 36px rgba(25,29,54,.065);
}
.tbfx-testimonial-card:after{
  content:"";
  position:absolute;
  width:88px;
  height:88px;
  inset-block-end:-48px;
  inset-inline-end:-34px;
  border-radius:50%;
  background:rgba(237,21,81,.065);
  pointer-events:none;
}
.tbfx-testimonial-mark{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  border-radius:12px;
  background:#e8f5f4;
  color:#2e7173;
  font:800 1.9rem/1 Georgia,serif;
}
.tbfx-testimonial-card p{
  margin:0 0 20px!important;
  color:#455269!important;
  font-size:1rem!important;
  line-height:1.8!important;
}
.tbfx-testimonial-meta{
  display:flex;
  align-items:center;
  gap:11px;
  color:#191d36;
}
.tbfx-testimonial-avatar{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#2e7173;
  color:#fff;
  font-size:.82rem;
  font-weight:800;
}
.tbfx-testimonial-meta strong{font-size:.95rem}

@media(max-width:900px){
  .tbfx-testimonial-grid{grid-template-columns:1fr}
}

/* v1.4.45 — one controlled Join Tabeebo CTA in every language. */
.tbfx-join-cta{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:32px;
  margin-top:clamp(44px,7vw,76px);
  padding:clamp(28px,5vw,46px);
  overflow:hidden;
  border:1px solid rgba(46,113,115,.2);
  border-radius:24px;
  background:linear-gradient(135deg,#eaf8f7 0%,#f8fbfb 58%,#fff0f4 100%);
  box-shadow:0 18px 48px rgba(25,29,54,.08);
}
.tbfx-join-cta:after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  inset-block-end:-110px;
  inset-inline-end:-60px;
  border-radius:50%;
  background:rgba(237,21,81,.08);
  pointer-events:none;
}
.tbfx-join-cta__copy{position:relative;z-index:1;min-width:0}
.tbfx-join-cta__eyebrow{
  display:inline-flex;
  margin-bottom:10px;
  color:#2e7173;
  font-size:.84rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.tbfx-join-cta h2{
  margin:0 0 12px!important;
  padding:0!important;
  color:#191d36;
  font-size:clamp(1.55rem,3vw,2.25rem);
  line-height:1.25;
}
.tbfx-join-cta h2:before{display:none!important}
.tbfx-join-cta p{max-width:760px!important;margin:0!important;color:#536076!important}
.tbfx-join-cta__button{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:54px;
  padding:14px 22px;
  border:1px solid #2e7173;
  border-radius:14px;
  background:#2e7173;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800;
  white-space:nowrap;
  box-shadow:0 12px 28px rgba(46,113,115,.22);
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease;
}
.tbfx-join-cta__button:hover{
  background:#255f61;
  box-shadow:0 16px 34px rgba(46,113,115,.26);
  transform:translateY(-1px);
}
html[dir="rtl"] .tbfx-join-cta__button span:last-child,
.rtl .tbfx-join-cta__button span:last-child{transform:rotate(180deg)}

/* v1.4.45 — Terms and Conditions uses the same brand shell with a quieter,
 * document-focused reading surface in English, Persian, and Arabic. */
.tbfx-brand-page--terms .tbfx-brand-hero__inner{min-height:300px;padding-block:58px 76px}
.tbfx-brand-page--terms .tbfx-brand-symbol{color:#2e7173;transform:none}
.tbfx-brand-page--terms .tbfx-brand-main{max-width:1180px}
.tbfx-brand-page--terms .tbfx-brand-content{
  padding:clamp(30px,5vw,64px);
  box-shadow:0 20px 58px rgba(25,29,54,.075);
}
.tbfx-brand-page--terms .tbfx-brand-content h2,
.tbfx-brand-page--terms .tbfx-brand-content h3{
  max-width:none;
  margin:42px 0 14px;
  padding:18px 20px;
  border-inline-start:4px solid #2e7173;
  border-radius:12px;
  background:#f4f9f9;
  color:#2e7173;
  line-height:1.35;
}
.tbfx-brand-page--terms .tbfx-brand-content h2:before,
.tbfx-brand-page--terms .tbfx-brand-content h3:before{display:none}
.tbfx-brand-page--terms .tbfx-brand-content p{
  max-width:none;
  margin-bottom:18px;
  color:#46546a;
  font-size:1.02rem;
  line-height:2;
}
.tbfx-brand-page--terms .tbfx-brand-content > ul,
.tbfx-brand-page--terms .tbfx-brand-content > ol{
  display:block;
  margin:18px 0 28px;
  padding-inline-start:24px;
  list-style:initial;
}
.tbfx-brand-page--terms .tbfx-brand-content > ul > li,
.tbfx-brand-page--terms .tbfx-brand-content > ol > li{
  margin:0 0 10px;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  color:#46546a;
  line-height:1.9;
}
.tbfx-brand-page--terms .tbfx-brand-content > ul > li:before,
.tbfx-brand-page--terms .tbfx-brand-content > ol > li:before{display:none}

@media(max-width:760px){
  .tbfx-join-cta{grid-template-columns:1fr;gap:22px}
  .tbfx-join-cta__button{width:100%}
  .tbfx-brand-page--terms .tbfx-brand-content h2,
  .tbfx-brand-page--terms .tbfx-brand-content h3{padding:15px 16px}
}
@media(prefers-reduced-motion:reduce){.tbfx-join-cta__button{transition:none}}
