/* About reference layout; all rules are scoped to the five opt-in widgets. */
.ofoq-about {
  --about-ink: #111d35;
  --about-muted: #475266;
  --about-orange: #f58216;
  --about-rule: #e9ebef;
  color: var(--about-ink);
  background: #fff;
}
.ofoq-about *, .ofoq-about *::before, .ofoq-about *::after { box-sizing: border-box; }
.ofoq-about ::selection { background: #ffdfbe; color: #111d35; }
.ofoq-about a:focus-visible { outline: 3px solid #126ab3; outline-offset: 6px; border-radius: 4px; }
.ofoq-about__inner { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.ofoq-about h1, .ofoq-about h2, .ofoq-about h3, .ofoq-about p, .ofoq-about dl, .ofoq-about dd, .ofoq-about ol { margin: 0; }
.ofoq-about h1, .ofoq-about h2, .ofoq-about h3 { color: var(--about-ink); text-wrap: balance; }
.ofoq-about__intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; row-gap: 34px; padding-block: 38px 40px; align-items: center; }
.ofoq-about__heading { grid-column: 1; grid-row: 1; align-self: center; }
.ofoq-about__eyebrow { color: #667181; font-size: 14px; font-weight: 600; letter-spacing: .04em; margin-block-end: 18px !important; text-align: right; }
[dir=ltr] .ofoq-about__eyebrow { text-align: left; }
.ofoq-about__title { display: flex; align-items: center; gap: 20px; font-size: clamp(32px, 3.25vw, 46px); line-height: 1.5; font-weight: 800; }
.ofoq-about__title::before, .ofoq-about__section-title::before { content: ''; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--about-orange); flex-shrink: 0; }
.ofoq-about__tagline { margin-block-start: 16px !important; font-size: clamp(21px, 2.25vw, 30px); line-height: 1.8; font-weight: 750; }
.ofoq-about__tagline strong { display: block; color: #be5600; font-weight: 800; }
.ofoq-about__photo { grid-column: 2; grid-row: 1; margin: 0; width: calc(100% + 40px); margin-inline-end: -40px; }
.ofoq-about__photo img { display: block; width: 100%; height: 320px; object-fit: cover; object-position: center 52%; }
.ofoq-about__copy { grid-column: 1; grid-row: 2; font-size: 17px; font-weight: 500; line-height: 2.05; color: #28354a; max-width: 65ch; }
.ofoq-about__copy p + p { margin-block-start: 16px; }
.ofoq-about__map { grid-column: 2; grid-row: 2; position: relative; width: min(100%, 460px); margin-inline: auto; }
.ofoq-about__map img { display: block; width: 100%; height: auto; mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 95%); }
.ofoq-about__map-label { position: absolute; text-align: center; color: #fff; font-weight: 750; line-height: 1.35; text-shadow: 0 1px 2px #9e4b08; font-size: 20px; }
.ofoq-about__map-label small { display: block; font-size: 11px; letter-spacing: .09em; font-weight: 500; }
.ofoq-about__map-label--iran { inset-inline-start: 38%; top: 40%; transform: translateX(50%); }
.ofoq-about__map-label--iraq { inset-inline-start: 64%; top: 36%; font-size: 15px; transform: translateX(50%); }
[dir=ltr] .ofoq-about__map-label--iran { inset-inline-start: 62%; transform: translateX(-50%); }
[dir=ltr] .ofoq-about__map-label--iraq { inset-inline-start: 36%; transform: translateX(-50%); }
.ofoq-about .ofoq-about__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: auto; padding-block: 32px 38px; border-block: 1px solid var(--about-rule); }
.ofoq-about__stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; position: relative; padding-inline: 20px; }
.ofoq-about__stat + .ofoq-about__stat::before { content: ''; position: absolute; inset-inline-start: 0; height: 72px; top: 48px; border-inline-start: 2px solid #e0e3e9; }
.ofoq-about__icon { width: 38px; height: 38px; color: #ed7c12; flex: 0 0 auto; }
.ofoq-about__stat dt { display: contents; }
.ofoq-about__stat-label { order: 3; font-size: 17px; line-height: 1.7; font-weight: 600; }
.ofoq-about__stat dd { display: flex; flex-direction: column; align-items: center; font-size: 40px; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; }
.ofoq-about__stat dd small { display: block; border-block-start: 1px solid #dce0e7; margin-block-start: 4px; padding: 2px 14px 0; font-size: 23px; color: #647085; font-weight: 600; }
.ofoq-about__stat dd small:empty { display: none; }
.ofoq-about__stat--markets dd { font-size: 24px; line-height: 1.8; max-width: 18ch; }
.ofoq-about__section { padding-block: 32px 38px; border-block-end: 1px solid var(--about-rule); }
.ofoq-about__section-title { display: flex; align-items: center; gap: 16px; font-size: 28px; font-weight: 800; line-height: 1.6; margin-block-end: 28px !important; }
.ofoq-about__disciplines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ofoq-about__discipline { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; color: inherit; text-decoration: none; padding: 6px 12px; position: relative; }
.ofoq-about__discipline + .ofoq-about__discipline::before { content: ''; position: absolute; inset-inline-start: 0; top: 20px; height: 60px; border-inline-start: 2px solid #e0e3e9; }
.ofoq-about__discipline .ofoq-about__icon { width: 44px; height: 44px; }
.ofoq-about__discipline h3 { font-size: 22px; font-weight: 750; line-height: 1.7; }
.ofoq-about__discipline:hover h3, .ofoq-about__step a:hover { color: #af4e00; }
.ofoq-about__services { padding-block-end: 42px; }
.ofoq-about__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; position: relative; }
.ofoq-about__steps::before { content: ''; position: absolute; inset-inline: 12.5%; top: 36px; height: 1px; background: #dce0e7; }
.ofoq-about__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-inline: 8px; }
.ofoq-about__step + .ofoq-about__step::before { content: ''; position: absolute; top: 33px; inset-inline-start: -3px; width: 6px; height: 6px; background: var(--about-orange); border-radius: 50%; }
.ofoq-about__step-icon { display: grid; place-items: center; width: 72px; height: 72px; background: #f5f6f8; border: 1px solid #e8eaed; border-radius: 50%; position: relative; }
.ofoq-about__step-icon .ofoq-about__icon { color: var(--about-ink); width: 37px; height: 37px; }
.ofoq-about__step a { color: var(--about-ink); font-size: 20px; font-weight: 750; line-height: 1.8; text-decoration: none; }
.ofoq-about__cta-wrap { padding-block: 26px 58px; }
.ofoq-about__cta { position: relative; min-height: 148px; border: 1px solid #e9ebef; border-radius: 16px; overflow: hidden; background: #fafbfc; display: flex; align-items: center; gap: 30px; padding: 26px 30px; }
.ofoq-about__cta-copy { margin-inline-end: auto; max-width: 56%; }
.ofoq-about__cta h2 { font-size: 25px; font-weight: 800; line-height: 1.6; }
.ofoq-about__cta p { margin-block-start: 7px; color: #344057; font-size: 14px; line-height: 1.8; }
.ofoq-about__cta-image { order: 3; align-self: stretch; width: 25%; margin-block: -26px; margin-inline-end: -30px; object-fit: cover; object-position: 60% 55%; clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); }
[dir=rtl] .ofoq-about__cta-image { clip-path: polygon(0 0, 72% 0, 100% 100%, 0 100%); }
.ofoq-about__button { order: -1; display: inline-flex; align-items: center; justify-content: center; gap: 22px; flex-shrink: 0; min-height: 52px; padding: 12px 23px; border-radius: 12px; background: #ff870d; color: #172039; font-size: 15px; font-weight: 800; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.ofoq-about__button:hover { background: #ff9a31; transform: translateY(-2px); }
.ofoq-about__button svg { width: 18px; height: 18px; }
[dir=ltr] .ofoq-about__button svg { transform: rotate(180deg); }
@media (min-width: 1600px) { .ofoq-about__photo { width: calc(100% + 70px); margin-inline-end: -70px; } }
@media (max-width: 1023px) {
  .ofoq-about__inner { width: calc(100% - 56px); }
  .ofoq-about__intro { gap: 28px; padding-block-start: 24px; }
  .ofoq-about__photo { width: calc(100% + 28px); margin-inline-end: -28px; }
  .ofoq-about__photo img { height: 265px; }
  .ofoq-about__copy { font-size: 15px; }
  .ofoq-about__section-title { font-size: 24px; }
  .ofoq-about__discipline h3, .ofoq-about__step a { font-size: 17px; }
  .ofoq-about__cta { gap: 20px; padding-inline: 22px; }
  .ofoq-about__cta h2 { font-size: 21px; }
  .ofoq-about__cta-image { margin-inline-end: -22px; width: 22%; }
  .ofoq-about__button { gap: 12px; padding-inline: 16px; }
}
@media (max-width: 639px) {
  .ofoq-about__inner { width: calc(100% - 40px); }
  .ofoq-about__intro { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px 24px; }
  .ofoq-about__heading { grid-column: 1; grid-row: 1; }
  .ofoq-about__eyebrow { margin-block-end: 10px !important; font-size: 12px; }
  .ofoq-about__title { font-size: 34px; gap: 12px; }
  .ofoq-about__tagline { font-size: 23px; line-height: 1.65; margin-block-start: 12px !important; }
  .ofoq-about__photo { grid-column: 1; grid-row: 2; width: 100%; margin: 0; }
  .ofoq-about__photo img { height: auto; }
  .ofoq-about__copy { grid-column: 1; grid-row: 3; font-size: 15px; line-height: 2; }
  .ofoq-about__map { grid-column: 1; grid-row: 4; max-width: 330px; }
  .ofoq-about__map-label { font-size: 16px; }
  .ofoq-about__map-label--iraq { font-size: 13px; }
  .ofoq-about__map-label small { font-size: 9px; }
  .ofoq-about .ofoq-about__stats { gap: 0; padding-block: 24px; }
  .ofoq-about__stat { padding-inline: 6px; gap: 8px; justify-content: flex-start; }
  .ofoq-about__stat + .ofoq-about__stat::before { height: 78px; top: 32px; border-inline-start-width: 1px; }
  .ofoq-about__icon { width: 30px; height: 30px; }
  .ofoq-about__stat dd { font-size: 29px; }
  .ofoq-about__stat dd small { font-size: 17px; padding-inline: 7px; }
  .ofoq-about__stat-label { font-size: 12px; font-weight: 500; }
  .ofoq-about__stat--markets dd { font-size: 16px; line-height: 1.7; }
  .ofoq-about__section { padding-block: 28px; }
  .ofoq-about__section-title { font-size: 23px; gap: 12px; margin-block-end: 22px !important; }
  .ofoq-about__section-title::before { width: 24px; height: 3px; }
  .ofoq-about__disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .ofoq-about__discipline { gap: 8px; padding-inline: 5px; }
  .ofoq-about__discipline:nth-child(3)::before { display: none; }
  .ofoq-about__discipline h3 { font-size: 17px; }
  .ofoq-about__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .ofoq-about__steps::before { display: none; }
  .ofoq-about__step + .ofoq-about__step::before { display: none; }
  .ofoq-about__step a { font-size: 16px; }
  .ofoq-about__step-icon { width: 64px; height: 64px; }
  .ofoq-about__step:nth-child(2n + 1)::after { content: ''; position: absolute; height: 1px; width: calc(100% - 64px); top: 32px; inset-inline-start: calc(50% + 32px); background: #e1e4e9; }
  .ofoq-about__cta-wrap { padding-block: 26px 36px; }
  .ofoq-about__cta { flex-wrap: wrap; gap: 18px; padding: 24px; }
  .ofoq-about__cta-copy { max-width: 100%; width: 100%; position: relative; }
  .ofoq-about__cta h2 { font-size: 23px; }
  .ofoq-about__cta p { font-size: 14px; }
  .ofoq-about__button { order: 2; width: 100%; }
  .ofoq-about__cta-image { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ofoq-about__button { transition: none; } .ofoq-about__button:hover { transform: none; } }
