/**
 * About page — Ajman · isolated (Golden Master parity · uae-lawyer about-page.css)
 * Gold #c9a84c · Navy accent #0b1f33 · local Tajawal / Inter only.
 */
body[data-page="alaa-aljasmi-law-firm-legal-consultations-ajman"] .site-main {
  font-family: "Tajawal", system-ui, sans-serif;
  background: #fff;
  color: #1a1a1a;
}
html[lang="en"] body[data-page="alaa-aljasmi-law-firm-legal-consultations-ajman"] .site-main {
  font-family: "Inter", system-ui, sans-serif;
}

.about-page {
  background: #fff;
}
.about-wrap {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
  padding: 24px 0;
  box-sizing: border-box;
}

.about-hero {
  position: relative;
  isolation: isolate;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1f33;
  overflow: hidden;
  border-bottom: 3px solid #c9a84c;
}
.about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}
.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 21, 34, 0.55) 0%, rgba(7, 21, 34, 0.78) 100%),
    linear-gradient(90deg, rgba(201, 168, 76, 0.32) 0%, rgba(201, 168, 76, 0.1) 55%, rgba(7, 21, 34, 0.4) 100%);
}
.about-hero__inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about-crumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}
.about-crumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.about-crumb a:hover { color: #c9a84c; }
.about-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem);
  font-weight: 800;
  line-height: 1.45;
  max-width: 22em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
html[lang="ar"] .about-hero h1 {
  width: 100%;
  max-width: none;
  text-align: center;
}
.about-hero__rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 18px;
  background: #c9a84c;
  border-radius: 2px;
}

.about-block {
  --about-icon: 1.35em;
  --about-icon-gap: 10px;
  --about-indent: calc(var(--about-icon) + var(--about-icon-gap));
  padding: 8px 0;
}
.about-block--alt {
  background: #f2f0e8;
}
.about-block h2 {
  margin: 0 0 16px;
  color: #c9a84c;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  gap: var(--about-icon-gap);
  line-height: 1.4;
}
.about-block h2 > [aria-hidden] {
  flex: 0 0 var(--about-icon);
  width: var(--about-icon);
  text-align: center;
  line-height: 1.4;
}
.about-block p,
.about-expertise,
.about-values {
  margin-inline-start: var(--about-indent);
}
.about-block p {
  margin: 0 0 14px;
  margin-inline-start: var(--about-indent);
  color: #333;
  font-size: 1.05rem;
  line-height: 1.85;
}
.about-block p:last-child { margin-bottom: 0; }

.about-leaders {
  display: grid;
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
  justify-items: stretch;
  gap: 20px;
  width: 100%;
  margin: 8px 0 0;
  margin-inline: 0;
}
.about-leader {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e8e2d4;
  border-top: 3px solid #c9a84c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.about-leader__shot {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1f33;
  padding: 12px 12px 0;
}
.about-leader__shot img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 320px;
  height: auto;
  object-fit: contain;
  object-position: center center;
  margin-inline: auto;
  border-radius: 8px 8px 0 0;
}
.about-leader__bio {
  padding: 16px 18px 18px;
  text-align: center;
}
.about-leader__bio h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0b1f33;
}
.about-leader__role {
  margin: 0 0 8px !important;
  color: #c9a84c !important;
  font-weight: 700;
  font-size: 0.88rem !important;
}
.about-leader__bio p {
  margin: 0 0 10px;
  margin-inline-start: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}
.about-leader__bio p:last-child { margin-bottom: 0; }

.about-expertise {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-expertise a {
  display: block;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #c9a84c;
  color: #0b1f33;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}
.about-block--alt .about-expertise a {
  background: #fff;
}
.about-expertise a:hover {
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.28);
  color: #c9a84c;
}

.about-values {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  text-align: start;
  font-weight: 700;
  color: #0b1f33;
  line-height: 1.55;
}
.about-block--alt .about-values li {
  background: #fff;
}
.about-values li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 0.48em;
  border-radius: 50%;
  background: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.about-team-link-wrap {
  margin: 22px 0 4px;
  margin-inline-start: 0;
  padding-top: 4px;
  font-size: 0.92rem;
}
html[lang="ar"] .about-team-link-wrap,
html[dir="rtl"] .about-team-link-wrap {
  text-align: right;
}
html[lang="en"] .about-team-link-wrap,
html[dir="ltr"] .about-team-link-wrap {
  text-align: left;
}
.about-team-link {
  color: #c9a84c;
  font-weight: 700;
  text-decoration: none;
}
.about-team-link:hover { color: #a98b45; }

.about-contact {
  padding: 12px 0 32px;
  background: #fff;
  border-top: 2px solid #c9a84c;
}
.about-contact__row {
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #0b1f33;
}
.about-contact__row a {
  color: #c9a84c;
  font-weight: 700;
  text-decoration: none;
}
.about-contact__row a:hover { color: #a98b45; }
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: #c9a84c;
  color: #0b1f33 !important;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.about-btn:hover {
  background: #d8b46a;
  box-shadow: 0 6px 14px rgba(201, 168, 76, 0.35);
}
.about-btn--hero {
  margin-top: 2px;
  padding: 7px 16px;
  font-size: 0.88rem;
  min-width: 0;
  width: auto;
}
.about-btn--ghost {
  background: #fff;
  color: #c9a84c !important;
  border: 1px solid #c9a84c;
}
.about-btn--ghost:hover {
  background: rgba(201, 168, 76, 0.08);
  color: #c9a84c !important;
}

.about-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .about-wrap {
    width: 100%;
    padding: 16px;
  }
  .about-hero {
    min-height: 280px;
  }
  .about-hero__inner {
    padding: 28px 0 24px;
  }
  .about-hero h1 { font-size: 1.32rem; }
  .about-block h2 { font-size: 1.18rem; }
  .about-block p { font-size: 1rem; }
  .about-expertise,
  .about-values {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-leader__shot img {
    max-height: 280px;
  }
  .about-actions {
    flex-direction: column;
    align-items: center;
  }
  .about-actions .about-btn {
    width: 90%;
    padding: 10px 16px;
    text-align: center;
    justify-content: center;
  }
  .about-btn--hero {
    width: auto;
    min-width: 10.5em;
    padding: 7px 16px;
    text-align: center;
    justify-content: center;
  }
  html[lang="ar"] .about-btn,
  html[lang="ar"] .about-btn--hero,
  html[lang="ar"] .about-actions .about-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }
}
