/* AMM Law Firm Core — classic style matching the site:
   headings Adamina (EN) / Noto Naskh Arabic (AR), text Inter (EN) / IBM Plex Sans Arabic (AR);
   colours from the logo: navy #021c3d, grey #53565b, site sand #efece4 */
.amm {
	--amm-navy: #021c3d;
	--amm-grey: #53565b;
	--amm-text: #555;
	--amm-line: #e6e1d3;
	--amm-sand: #f1ede1;
	--amm-head: Adamina, Georgia, "Times New Roman", serif;
	--amm-body: Inter, Helvetica, Arial, sans-serif;
	color: var(--amm-text);
	font-family: var(--amm-body);
	font-size: 16px;
	line-height: 1.75;
}
.amm-ar {
	--amm-head: "Noto Naskh Arabic", "Times New Roman", serif;
	--amm-body: "IBM Plex Sans Arabic", Tahoma, sans-serif;
}
.amm *, .amm *::before, .amm *::after { box-sizing: border-box; }
.amm a { text-decoration: none; }

.amm-section { position: relative; padding: 0; }

/* Heading: centred, like the rest of the site */
.amm-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.amm .amm-title { margin: 0 !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 34px !important; line-height: 1.3 !important; font-weight: 700 !important; color: var(--amm-navy) !important; }
.amm-ar .amm-title { font-size: 32px !important; }
.amm .amm-sub { margin: 10px 0 0 !important; padding: 0 !important; color: var(--amm-grey); font-size: 17px; }
.amm-viewall { text-align: center; margin-top: 36px; }

.amm-btn { display: inline-block; background: var(--amm-navy); color: #fff !important; border: 1px solid var(--amm-navy); padding: 11px 30px; font-size: 15px; font-weight: 600; border-radius: 2px; transition: background .2s, color .2s; }
.amm-btn:hover { background: #fff; color: var(--amm-navy) !important; }
.amm-btn--line { background: transparent; color: var(--amm-navy) !important; }
.amm-btn--line:hover { background: var(--amm-navy); color: #fff !important; }
.amm-link { display: inline-block; margin-top: 24px; color: var(--amm-navy) !important; font-weight: 600; border-bottom: 1px solid currentColor; }

/* Grid */
.amm-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.amm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.amm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .amm-grid, .amm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .amm-grid, .amm-grid--2, .amm-grid--4 { grid-template-columns: 1fr; } }

/* Article & event cards */
.amm-card { background: #fff; border: 1px solid var(--amm-line); display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.amm-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--amm-sand); }
.amm-card__img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.amm-noimg { display: block; width: 100%; height: 100%; background: var(--amm-sand); }
.amm-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.amm .amm-meta { margin: 0 0 8px !important; padding: 0 !important; font-size: 13px; color: #8a8a8a; }
.amm-up { color: var(--amm-navy); font-weight: 700; }
.amm-up::after { content: " ·"; }
.amm .amm-card__title { margin: 0 0 10px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 19px !important; line-height: 1.5 !important; font-weight: 700 !important; }
.amm .amm-card__title a { color: var(--amm-navy) !important; }
.amm .amm-card__title a:hover { text-decoration: underline; }
.amm .amm-card__excerpt { margin: 0 0 16px !important; padding: 0 !important; font-size: 15px; line-height: 1.8; }
.amm-more { margin-top: auto; align-self: flex-start; color: var(--amm-navy) !important; font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* Lawyers: photo, bold name, title, short description */
.amm-lawyer { background: #fff; border: 1px solid var(--amm-line); box-shadow: 0 2px 10px rgba(0, 0, 0, .04); display: flex; flex-direction: column; }
.amm-lawyer__photo { display: block; aspect-ratio: 4 / 3.6; overflow: hidden; background: #e9e9ea; }
.amm-lawyer__img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center 20%; display: block; }
.amm-nophoto { display: block; width: 100%; height: 100%; background: #e9e9ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='38' r='17' fill='%23c9cacd'/%3E%3Cpath d='M18 92c2-20 16-31 32-31s30 11 32 31z' fill='%23c9cacd'/%3E%3C/svg%3E") center bottom / 62% no-repeat; }
.amm-nophoto--lg { aspect-ratio: 4 / 4.4; }
.amm-lawyer__body { padding: 20px 22px 26px; }
.amm .amm-lawyer__name { margin: 0 !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 19px !important; line-height: 1.45 !important; font-weight: 700 !important; }
.amm .amm-lawyer__name a { color: var(--amm-navy) !important; }
.amm .amm-lawyer__role { margin: 4px 0 0 !important; padding: 0 !important; color: var(--amm-grey); font-size: 14px; font-weight: 600; }
.amm .amm-lawyer__bio { margin: 12px 0 0 !important; padding: 12px 0 0 !important; border-top: 1px solid var(--amm-line); font-size: 15px; line-height: 1.8; }

/* Lawyer profile page */
.amm-profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; align-items: start; }
@media (max-width: 820px) { .amm-profile { grid-template-columns: 1fr; } }
.amm-profile__card { border: 1px solid var(--amm-line); background: #fff; padding-bottom: 20px; }
.amm-profile__img { width: 100% !important; height: auto !important; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; display: block; }
.amm .amm-profile__name { margin: 18px 20px 2px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 21px !important; font-weight: 700 !important; color: var(--amm-navy) !important; }
.amm .amm-profile__role { margin: 0 20px !important; padding: 0 !important; color: var(--amm-grey); font-weight: 600; font-size: 15px; }
.amm-profile__contact { display: flex; flex-direction: column; gap: 4px; margin: 14px 20px 0; padding-top: 14px; border-top: 1px solid var(--amm-line); font-size: 14px; }
.amm-profile__contact a { color: var(--amm-navy) !important; }
.amm .amm-profile__main h3 { font-family: var(--amm-head) !important; color: var(--amm-navy) !important; font-weight: 700 !important; font-size: 21px !important; margin: 0 0 12px !important; padding: 0 !important; }
.amm-profile__main p { text-align: justify; }
.amm .amm-list { margin: 0 0 24px !important; padding: 0 !important; list-style: none !important; }
.amm .amm-list li, .amm .amm-pillar__list li { position: relative; list-style: none !important; margin: 0 0 6px !important; padding: 0 !important; padding-inline-start: 18px !important; }
.amm .amm-list li::before, .amm .amm-pillar__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 7px; height: 7px; background: var(--amm-navy); }

/* Services: 3 groups instead of 12 tiles, on the site's sand band */
.amm-band.amm-services { padding-left: 0; padding-right: 0; }
.amm-pillar { background: #fff; padding: 30px 28px 26px; border-top: 3px solid var(--amm-navy); box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.amm .amm-pillar__title { margin: 0 0 8px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 21px !important; line-height: 1.4 !important; font-weight: 700 !important; color: var(--amm-navy) !important; }
.amm .amm-pillar__desc { margin: 0 0 16px !important; padding: 0 0 16px !important; border-bottom: 1px solid var(--amm-line); font-size: 15px; }
.amm .amm-pillar__list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.amm .amm-pillar__list li { color: #333; font-size: 15px; margin-bottom: 8px !important; }

/* Filters & pager */
.amm-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-bottom: 32px; border-bottom: 1px solid var(--amm-line); }
.amm-filter a { padding: 8px 2px; margin-bottom: -1px; color: var(--amm-grey) !important; font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent; }
.amm-filter a:hover { color: var(--amm-navy) !important; }
.amm-filter a.is-active { color: var(--amm-navy) !important; border-bottom-color: var(--amm-navy); }
.amm-pager { margin-top: 40px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.amm-pager .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--amm-line); color: var(--amm-navy) !important; font-size: 14px; }
.amm-pager .page-numbers.current { background: var(--amm-navy); color: #fff !important; border-color: var(--amm-navy); }
.amm-empty { text-align: center; color: #8a8a8a; padding: 24px; }

/* Event page */
.amm-event-facts { list-style: none !important; margin: 0 0 28px !important; padding: 0 !important; display: flex; flex-wrap: wrap; border: 1px solid var(--amm-line); }
.amm-event-facts li { list-style: none !important; margin: 0 !important; padding: 14px 22px !important; flex: 1 1 180px; border-inline-end: 1px solid var(--amm-line); }
.amm-event-facts li:last-child { border-inline-end: 0; }
.amm-event-facts span { display: block; font-size: 13px; color: #8a8a8a; }
.amm-event-facts strong { color: var(--amm-navy); }

/* ===== Inside articles (front end + editor) ===== */
mark.amm-hl { background: #f6e7b0; color: inherit; padding: 1px 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.amm-keypoint { --kp: #021c3d; --kp-bg: #efece4; margin: 26px 0 !important; padding: 18px 22px !important; background: var(--kp-bg); border-inline-start: 4px solid var(--kp); }
.amm-keypoint--navy { --kp: #021c3d; --kp-bg: #eef1f5; }
.amm-keypoint--grey { --kp: #53565b; --kp-bg: #f3f3f3; }
.amm-keypoint__title { margin: 0 0 4px !important; padding: 0 !important; font-weight: 700 !important; color: var(--kp) !important; }
.amm-keypoint__body, .amm-keypoint__body p { margin: 0 !important; padding: 0 !important; }
.amm-keypoint__body p + p { margin-top: .6em !important; }
p.is-style-amm-highlight { background: #efece4; padding: 18px 22px !important; border-inline-start: 4px solid #021c3d; }
.wp-block-quote.is-style-amm-pull { border: 0 !important; border-top: 1px solid #021c3d !important; border-bottom: 1px solid #021c3d !important; padding: 20px 0 !important; margin: 30px 0 !important; text-align: center; font-size: 1.25em; color: #021c3d; }

/* ===== Homepage hero slider ===== */
.amm-hero { position: relative; overflow: hidden; background: var(--amm-navy); min-height: 560px; }
.amm-hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; display: flex; align-items: center; }
.amm-hero__slide.is-on { opacity: 1; visibility: visible; position: relative; min-height: 560px; }
.amm-hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 28, 61, .94) 0%, rgba(2, 28, 61, .78) 45%, rgba(2, 28, 61, .2) 100%); }
.amm-ar .amm-hero__slide::before { background: linear-gradient(270deg, rgba(2, 28, 61, .94) 0%, rgba(2, 28, 61, .78) 45%, rgba(2, 28, 61, .2) 100%); }
.amm-hero__in { position: relative; width: 100%; max-width: 1140px; margin: 0 auto; padding: 80px 24px; color: #fff; }
.amm-hero__in > * { max-width: 600px; }
.amm .amm-hero__kicker { margin: 0 0 12px !important; padding: 0 !important; font-size: 17px; color: #d5d9e2; }
.amm .amm-hero__title { margin: 0 0 16px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 50px !important; line-height: 1.2 !important; font-weight: 700 !important; color: #fff !important; }
.amm .amm-hero__sub { margin: 0 0 28px !important; padding: 0 !important; font-size: 17px; color: #d5d9e2; }
.amm-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.amm-btn--white { background: #fff; color: var(--amm-navy) !important; border-color: #fff; }
.amm-btn--white:hover { background: transparent; color: #fff !important; }
.amm-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.amm-btn--ghost:hover { background: #fff; color: var(--amm-navy) !important; }
.amm-hero__dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.amm-hero__dots button { width: 30px; height: 3px; padding: 0; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; }
.amm-hero__dots button.is-on { background: #fff; }
@media (max-width: 760px) {
	.amm-hero, .amm-hero__slide.is-on { min-height: 480px; }
	.amm .amm-hero__title { font-size: 34px !important; }
	.amm-hero__slide::before, .amm-ar .amm-hero__slide::before { background: rgba(2, 28, 61, .78); }
}

/* ===== Founder's message ===== */
.amm-founder { background: var(--amm-sand); padding: 64px 24px; }
.amm-founder__in { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: center; }
.amm-founder__photo { position: relative; }
.amm-founder__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--amm-navy); }
.amm-ar .amm-founder__photo::before { inset: 18px 18px -18px -18px; }
.amm-founder__img, .amm-founder__photo .amm-nophoto { position: relative; display: block; width: 100% !important; height: auto !important; aspect-ratio: 642 / 756; object-fit: cover; }
.amm .amm-founder__label { margin: 0 0 14px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 30px; font-weight: 700; color: var(--amm-navy); }
.amm-founder__msg p { margin: 0 0 14px !important; padding: 0 !important; font-size: 18px; line-height: 1.9; color: #3d3d3d; }
.amm .amm-founder__name { margin: 22px 0 0 !important; padding: 18px 0 0 !important; border-top: 1px solid #d6d2c6; font-family: var(--amm-head) !important; font-size: 20px; font-weight: 700; color: var(--amm-navy); }
.amm .amm-founder__role { margin: 2px 0 0 !important; padding: 0 !important; font-size: 15px; color: var(--amm-grey); }
@media (max-width: 820px) {
	.amm-founder__in { grid-template-columns: 1fr; gap: 44px; }
	.amm-founder__photo { max-width: 320px; }
}

/* ===== Edit button (visible to admins only) ===== */
.amm-hero, .amm-founder { position: relative; }
.amm-editbtn { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 5; background: #fff; color: #021c3d; border: 1px solid #021c3d; padding: 8px 14px; font: 600 14px/1 "IBM Plex Sans Arabic", Tahoma, sans-serif; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.amm-editbtn:hover { background: #021c3d; color: #fff; }

/* ===== Services infographic: firm → 3 pillars → 12 services ===== */
.amm-map { position: relative; }
.amm-map__root { display: flex; align-items: center; justify-content: center; gap: 10px 14px; flex-wrap: wrap; width: max-content; max-width: 100%; margin: 0 auto; padding: 14px 26px; background: var(--amm-navy); color: #fff; }
.amm-map__root strong { font-family: var(--amm-head); font-size: 30px; line-height: 1; }
.amm-map__root span { font-size: 14px; color: #c9d0db; }
.amm-map__root i { width: 1px; height: 28px; background: rgba(255,255,255,.3); }
.amm-map__branches { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 46px; }
.amm-map__branches::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 22px; background: var(--amm-navy); transform: translateX(-50%); }
.amm-map__branches::after { content: ""; position: absolute; top: 22px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; background: var(--amm-navy); }
.amm-map__branch { position: relative; background: #fff; padding: 46px 24px 22px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.amm-map__branch::before { content: ""; position: absolute; top: -24px; left: 50%; width: 2px; height: 24px; background: var(--amm-navy); transform: translateX(-50%); }
.amm-map__node { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--amm-navy); display: flex; align-items: center; justify-content: center; color: var(--amm-navy); }
.amm-map__icon svg { width: 26px; height: 26px; display: block; }
.amm .amm-map__title { margin: 0 0 6px !important; padding: 0 !important; text-align: center; font-family: var(--amm-head) !important; font-size: 20px !important; line-height: 1.4 !important; font-weight: 700 !important; color: var(--amm-navy) !important; }
.amm .amm-map__desc { margin: 0 0 18px !important; padding: 0 !important; text-align: center; font-size: 14px; color: var(--amm-grey); }
.amm .amm-map__leaves { position: relative; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.amm .amm-map__leaves::before { content: ""; position: absolute; top: 14px; bottom: 14px; inset-inline-start: 14px; width: 2px; background: var(--amm-line); }
.amm .amm-map__leaves li { position: relative; display: flex; align-items: center; gap: 12px; list-style: none !important; margin: 0 0 8px !important; padding: 0 !important; }
.amm-map__leaves b { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--amm-sand); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--amm-line); color: var(--amm-navy); font-size: 13px; display: flex; align-items: center; justify-content: center; }
.amm-map__leaves span { flex: 1; padding: 8px 12px; background: #fafaf8; border: 1px solid var(--amm-line); font-size: 14.5px; color: #333; line-height: 1.5; }
@media (max-width: 900px) {
	.amm-map__branches { grid-template-columns: 1fr; gap: 54px; max-width: 520px; margin: 0 auto; }
	.amm-map__branches::after { display: none; }
	.amm-map__branch::before { top: -54px; height: 54px; }
}

/* ===== Latest articles: lead + timeline ===== */
.amm-mag { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .amm-mag { grid-template-columns: 1fr; } }
.amm-card--lead .amm-card__media { aspect-ratio: 16 / 10; }
.amm .amm-card--lead .amm-card__title { font-size: 24px !important; }
.amm .amm-tl { position: relative; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.amm .amm-tl::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 31px; width: 2px; background: var(--amm-line); }
.amm .amm-tl__item { position: relative; display: flex; gap: 18px; list-style: none !important; margin: 0 !important; padding: 0 0 22px !important; }
.amm-tl__date { flex: none; position: relative; width: 64px; padding: 8px 4px; background: var(--amm-navy); color: #c9d0db; text-align: center; font-size: 11.5px; line-height: 1.3; }
.amm-tl__date strong { display: block; color: #fff; font-family: var(--amm-head); font-size: 22px; line-height: 1.1; }
.amm-tl__body { flex: 1; padding: 4px 0 18px; border-bottom: 1px solid var(--amm-line); }
.amm .amm-tl__meta { margin: 0 0 4px !important; padding: 0 !important; font-size: 13px; color: #8a8a8a; }
.amm .amm-tl__title { margin: 0 !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 18px !important; line-height: 1.5 !important; font-weight: 700 !important; }
.amm .amm-tl__title a { color: var(--amm-navy) !important; }
.amm .amm-tl__title a:hover { text-decoration: underline; }

/* ===== Articles page: topics as a bar chart (click to filter) ===== */
.amm-topics { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0; margin-bottom: 36px; border: 1px solid var(--amm-line); background: #fff; }
@media (max-width: 640px) { .amm-topics { grid-template-columns: 1fr; } }
.amm-topics__all { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 18px; background: var(--amm-navy); color: #c9d0db !important; text-align: center; }
.amm-topics__all strong { font-family: var(--amm-head); font-size: 40px; line-height: 1; color: #fff; }
.amm-topics__all span { font-size: 13px; margin-top: 6px; }
.amm-topics__bars { padding: 14px 20px; display: grid; gap: 4px; }
.amm-bar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 30px; align-items: center; gap: 12px; padding: 5px 6px; color: var(--amm-text) !important; font-size: 14px; }
.amm-bar:hover, .amm-bar.is-active { background: var(--amm-sand); }
.amm-bar.is-active .amm-bar__label { color: var(--amm-navy); font-weight: 700; }
.amm-bar__track { height: 10px; background: #f0efeb; }
.amm-bar__track span { display: block; height: 100%; background: var(--amm-navy); }
.amm-bar:nth-child(even) .amm-bar__track span { background: var(--amm-grey); }
.amm-bar__n { text-align: end; color: var(--amm-navy); font-weight: 700; }

/* =====================================================================
   HOME THEME — full-width navy bands (inspired by the reference site)
   ===================================================================== */
body { overflow-x: hidden; }
.amm-band { position: relative; width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); padding-left: 0; padding-right: 0; --b0: #021c3d; --b1: #0a2a52; --b2: #143a6b; --steel: #c9d6e6; --soft: #b9c6d8; }
.amm-in { position: relative; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.amm-band.amm-section { padding-top: 84px; padding-bottom: 84px; }
@media (max-width: 640px) { .amm-band.amm-section { padding-top: 56px; padding-bottom: 56px; } }

/* dark bands */
.amm-band--reach, .amm-band--founder, .amm-band--team, .amm-band--services, .amm-band--process, .amm-band--latest_articles, .amm-band--latest_events { color: var(--soft); }
.amm-band--reach { background: radial-gradient(ellipse at 30% 0%, #1f4f86 0%, transparent 60%), linear-gradient(180deg, var(--b2), var(--b1)); }
.amm-band--founder { background: var(--b0); }
.amm-band--team { background: var(--b1); }
.amm-band--services { background: radial-gradient(ellipse at 50% 0%, #1b4a80 0%, transparent 55%), var(--b0); }
.amm-band--why { background: linear-gradient(180deg, #dfe7f1, #c9d6e6); }
.amm-band--process { background: var(--b1); }
.amm-band--latest_articles { background: var(--b0); }
.amm-band--latest_events { background: linear-gradient(180deg, var(--b1), var(--b0)); }
.amm-band--founder::before, .amm-band--services::before, .amm-band--process::before { content: ""; position: absolute; top: 0; left: 50%; width: 140px; height: 3px; transform: translateX(-50%); background: var(--steel); opacity: .5; }

.amm-band:not(.amm-band--why) .amm-title { color: #fff !important; }
.amm-band:not(.amm-band--why) .amm-sub { color: var(--soft); }
.amm-band .amm-head .amm-title { display: inline-flex; align-items: center; gap: 18px; }
.amm-band .amm-head .amm-title::before, .amm-band .amm-head .amm-title::after { content: ""; width: 54px; height: 1px; background: currentColor; opacity: .5; }
.amm-band:not(.amm-band--why) .amm-btn--line { color: #fff !important; border-color: rgba(255,255,255,.6); }
.amm-band:not(.amm-band--why) .amm-btn--line:hover { background: #fff; color: var(--b0) !important; }

/* ---- Hero: practice areas + contact ---- */
.amm-hero.amm-band { width: 100vw; }
.amm-hero__in > * { max-width: 680px; }
.amm-hero__areas { list-style: none !important; margin: 0 0 24px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px !important; }
.amm-hero__areas li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.amm-hero__areas a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-width: 210px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff !important; backdrop-filter: blur(4px); transition: background .2s; }
.amm-hero__areas a:hover { background: rgba(255,255,255,.16); }
.amm-hero__ic { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #c9d6e6; color: #021c3d; }
.amm-hero__ic svg { width: 22px; height: 22px; }
.amm-hero__areas strong { display: block; font-size: 15px; line-height: 1.3; }
.amm-hero__areas small { display: block; font-size: 12px; color: #b9c6d8; }
.amm-hero__btns { align-items: center; }
.amm-hero__mail { font-size: 14px; color: #b9c6d8; }
.amm .amm-hero__title { font-size: 46px !important; }

/* ---- Reach: map + figures ---- */
.amm-reach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .amm-reach__grid { grid-template-columns: 1fr; } }
.amm-reach__map { width: 100%; max-width: 460px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.amm-reach__land { fill: #0c2f5c; stroke: #5d86b8; stroke-width: 1.5; stroke-linejoin: round; }
.amm-reach__route { fill: none; stroke: #8fb0d6; stroke-width: 1.2; stroke-dasharray: 3 4; opacity: .8; }
.amm-reach__city { fill: #c9d6e6; }
.amm-reach__hq { fill: #fff; stroke: #021c3d; stroke-width: 2; }
.amm-reach__pulse { fill: rgba(255,255,255,.18); animation: ammPulse 2.4s ease-out infinite; transform-origin: 221px 190px; }
@keyframes ammPulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .amm-reach__pulse { animation: none; } }
.amm-reach__lbl { fill: #fff; font: 700 13px var(--amm-body); }
.amm-reach__text { background: rgba(2,28,61,.55); border: 1px solid rgba(255,255,255,.14); padding: 24px 26px; }
.amm-reach__text p { margin: 0 !important; color: #e6edf5; font-size: 17px; line-height: 1.85; }
.amm-reach__text .amm-reach__abroad { margin-top: 8px !important; color: var(--soft); font-size: 15px; }
.amm-reach__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; background: #c9d6e6; }
.amm-stat { text-align: center; padding: 20px 10px; border-inline-start: 1px solid rgba(2,28,61,.15); }
.amm-stat:first-child { border-inline-start: 0; }
.amm-stat strong { display: block; font-family: var(--amm-head); font-size: 40px; line-height: 1; color: #021c3d; }
.amm-stat span { display: block; margin-top: 6px; font-size: 13.5px; color: #1d3f70; font-weight: 600; }

/* ---- Founder: chairman-style quote panel ---- */
.amm-chair { background: linear-gradient(160deg, #0d3264, #0a2a52 60%, #071f40); border: 1px solid rgba(255,255,255,.1); padding: 44px 48px 48px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
@media (max-width: 640px) { .amm-chair { padding: 30px 22px; } }
.amm .amm-chair__label { margin: 0 0 14px !important; text-align: center; color: var(--soft); font-size: 15px; letter-spacing: .02em; }
.amm .amm-chair__head { position: relative; margin: 0 auto 38px !important; padding: 0 0 18px !important; max-width: 760px; text-align: center; font-family: var(--amm-head); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.35; color: #fff; border-bottom: 1px solid rgba(255,255,255,.25); }
.amm-chair__head::before { content: "“"; position: absolute; top: -26px; inset-inline-start: -10px; font-family: Georgia, serif; font-size: 90px; line-height: 1; color: #8fb0d6; opacity: .7; }
.amm-ar .amm-chair__head::before { content: "”"; }
.amm-band--founder .amm-founder__in { max-width: none; grid-template-columns: 300px minmax(0, 1fr); gap: 52px; }
.amm-band--founder .amm-founder__photo::before { border-color: #8fb0d6; }
.amm-band--founder .amm-founder__msg p { color: #dbe4ef; font-size: 17px; }
.amm-band--founder .amm-founder__name { color: #fff; border-top-color: rgba(255,255,255,.2); }
.amm-band--founder .amm-founder__role { color: var(--soft); }
@media (max-width: 820px) { .amm-band--founder .amm-founder__in { grid-template-columns: 1fr; } }

/* ---- Team: photos side by side (up to 8 a row) ---- */
.amm-grid--row { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 16px; }
@media (max-width: 600px) { .amm-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amm-grid--row .amm-lawyer { text-align: center; }
.amm-grid--row .amm-lawyer__photo { aspect-ratio: 3 / 3.6; }
.amm-grid--row .amm-lawyer__body { padding: 12px 10px 14px; }
.amm .amm-grid--row .amm-lawyer__name { font-size: 15px !important; }
.amm .amm-grid--row .amm-lawyer__role { font-size: 12.5px; }
.amm-band--team .amm-lawyer { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.amm-band--team .amm-lawyer__name a { color: #fff !important; }
.amm-band--team .amm-lawyer__role { color: var(--soft); }
.amm-band--team .amm-nophoto { background-color: #143a6b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='38' r='17' fill='%232b5287'/%3E%3Cpath d='M18 92c2-20 16-31 32-31s30 11 32 31z' fill='%232b5287'/%3E%3C/svg%3E"); }

/* ---- Services map on navy ---- */
.amm-band--services .amm-map__root { background: #c9d6e6; color: #021c3d; }
.amm-band--services .amm-map__root span { color: #1d3f70; }
.amm-band--services .amm-map__root i { background: rgba(2,28,61,.25); }
.amm-band--services .amm-map__branches::before, .amm-band--services .amm-map__branches::after, .amm-band--services .amm-map__branch::before { background: #8fb0d6; }
.amm-band--services .amm-map__branch { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); box-shadow: none; }
.amm-band--services .amm-map__node { background: #0a2a52; border-color: #8fb0d6; color: #fff; }
.amm-band--services .amm-map__title { color: #fff !important; }
.amm-band--services .amm-map__desc { color: var(--soft); }
.amm-band--services .amm-map__leaves::before { background: rgba(255,255,255,.18); }
.amm-band--services .amm-map__leaves b { background: #c9d6e6; border-color: #021c3d; box-shadow: none; color: #021c3d; }
.amm-band--services .amm-map__leaves span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #e6edf5; }

/* ---- Why choose us: 2×2 around a hub (light steel band) ---- */
.amm-why__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin: 0 auto; }
.amm-why__cell { background: #fff; padding: 30px 30px 26px; min-height: 180px; box-shadow: 0 10px 30px rgba(2,28,61,.08); }
.amm-why__cell--1, .amm-why__cell--3 { padding-inline-end: 80px; }
.amm-why__cell--2, .amm-why__cell--4 { padding-inline-start: 80px; }
.amm-why__ic { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: #021c3d; color: #fff; margin-bottom: 14px; }
.amm-why__ic svg { width: 24px; height: 24px; }
.amm .amm-why__t { margin: 0 0 6px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 20px !important; color: #021c3d !important; font-weight: 700 !important; }
.amm .amm-why__d { margin: 0 !important; padding: 0 !important; font-size: 15px; color: #444; }
.amm-why__hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 118px; height: 118px; border-radius: 50%; background: #021c3d; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 0 10px #d4deea; }
.amm-why__hub strong { font-family: var(--amm-head); font-size: 40px; line-height: 1; }
.amm-why__hub span { font-size: 13px; color: var(--soft); }
@media (max-width: 760px) {
	.amm-why__grid { grid-template-columns: 1fr; }
	.amm-why__cell { padding: 26px 22px !important; min-height: 0; }
	.amm-why__hub { position: static; transform: none; margin: 6px auto; order: -1; }
}

/* ---- Process: 4 connected steps ---- */
.amm .amm-steps { position: relative; list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.amm-steps::before { content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, #8fb0d6 0 8px, transparent 8px 14px); }
.amm .amm-step { position: relative; list-style: none !important; margin: 0 !important; padding: 0 !important; text-align: center; }
.amm-step__n { position: relative; display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #021c3d; border: 2px solid #8fb0d6; color: #fff; font-family: var(--amm-head); font-size: 26px; box-shadow: 0 0 0 8px #0a2a52; }
.amm .amm-step__t { margin: 0 0 6px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 20px !important; color: #fff !important; font-weight: 700 !important; }
.amm .amm-step__d { margin: 0 auto !important; padding: 0 !important; max-width: 230px; font-size: 15px; color: var(--soft); }
@media (max-width: 860px) { .amm .amm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .amm-steps::before { display: none; } }

/* ---- Articles & events on navy ---- */
.amm-band--latest_articles .amm-tl::before { background: rgba(255,255,255,.18); }
.amm-band--latest_articles .amm-tl__date { background: #c9d6e6; color: #1d3f70; }
.amm-band--latest_articles .amm-tl__date strong { color: #021c3d; }
.amm-band--latest_articles .amm-tl__body { border-bottom-color: rgba(255,255,255,.14); }
.amm-band--latest_articles .amm-tl__meta { color: var(--soft); }
.amm-band--latest_articles .amm-tl__title a { color: #fff !important; }
.amm-band .amm-card { border-color: transparent; }

.amm-band .amm-card { color: var(--amm-text); }
.amm-band .amm-card .amm-card__excerpt { color: #555; }


/* =====================================================================
   CLASSIC — matches the current lawfirmamm.com design (default)
   ===================================================================== */
.amm:not(.amm-band) .amm-head { margin-bottom: 44px; }
.amm-en:not(.amm-band) .amm-title { text-transform: uppercase; }
.amm:not(.amm-band) .amm-title { font-size: 35px !important; color: #021c3d !important; }
.amm:not(.amm-band) .amm-sub { font-size: 19px; color: #6b6f7a; }
.amm:not(.amm-band) .amm-btn { border-radius: 6px; }
/* cards: white, rounded, soft shadow — like "Our Services" */
.amm:not(.amm-band) .amm-card, .amm:not(.amm-band) .amm-lawyer { border: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(2, 28, 61, .08); }
/* team: beige cards with rounded photo inset — like "Specific Services" tiles */
.amm:not(.amm-band) .amm-lawyer { background: #f1ede1; padding: 8px; box-shadow: none; }
.amm:not(.amm-band) .amm-lawyer__photo { border-radius: 8px; overflow: hidden; }
.amm:not(.amm-band) .amm-lawyer__body { text-align: center; padding: 14px 8px 10px; }
.amm:not(.amm-band) .amm-lawyer__name a { color: #021c3d !important; }
.amm:not(.amm-band) .amm-lawyer__role { color: #6b6f7a; font-weight: 500; }
.amm:not(.amm-band) .amm-lawyer__bio { border-top-color: #e0d9c6; text-align: start; }
/* services infographic: navy rounded-square icons like the current site */
.amm:not(.amm-band) .amm-map__root { background: #021c3d; border-radius: 10px; }
.amm:not(.amm-band) .amm-map__branches::before, .amm:not(.amm-band) .amm-map__branches::after, .amm:not(.amm-band) .amm-map__branch::before { background: #021c3d; }
.amm:not(.amm-band) .amm-map__branch { background: #f1ede1; border-radius: 10px; box-shadow: none; }
.amm:not(.amm-band) .amm-map__node { border-radius: 12px; background: #021c3d; border: 4px solid #fff; color: #fff; width: 60px; height: 60px; top: -30px; }
.amm:not(.amm-band) .amm-map__leaves::before { background: #d9d1bb; }
.amm:not(.amm-band) .amm-map__leaves b { background: #021c3d; color: #fff; border-color: #f1ede1; box-shadow: none; }
.amm:not(.amm-band) .amm-map__leaves span { background: #fff; border: 0; border-radius: 6px; }
/* article timeline */
.amm:not(.amm-band) .amm-tl__date { background: #021c3d; border-radius: 6px; }
.amm-latest-articles .amm-card--lead { background: #fff; }

/* Logo blue scale (from #021c3d) */
.amm { --amm-blue-900: #021c3d; --amm-blue-700: #1d3f70; --amm-blue-500: #3a5f8f; --amm-blue-300: #8fa6c4; --amm-blue-100: #dce4ee; }
.amm:not(.amm-band) .amm-map__root { background: linear-gradient(135deg, #021c3d, #1d3f70); }
.amm:not(.amm-band) .amm-map__node { background: linear-gradient(160deg, #1d3f70, #021c3d); }
.amm:not(.amm-band) .amm-tl__date { background: linear-gradient(160deg, #1d3f70, #021c3d); color: #dce4ee; }
.amm:not(.amm-band) .amm-bar:nth-child(3n+2) .amm-bar__track span { background: #1d3f70; }
.amm:not(.amm-band) .amm-bar:nth-child(3n) .amm-bar__track span { background: #3a5f8f; }
.amm:not(.amm-band) .amm-up { color: #3a5f8f; }

/* ===== Articles + events: small grid ===== */
.amm-grid--news { gap: 18px; }
.amm-mini { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 14px rgba(2, 28, 61, .08); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.amm-mini:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(2, 28, 61, .12); }
.amm-mini__img { position: relative; display: block; aspect-ratio: 16 / 10; background: #f1ede1; overflow: hidden; }
.amm-mini__tag { position: absolute; top: 8px; inset-inline-start: 8px; background: #021c3d; color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 4px; }
.amm-mini--event .amm-mini__tag { background: #3a5f8f; }
.amm-mini__body { padding: 12px 14px 14px; }
.amm .amm-mini__date { margin: 0 0 4px !important; padding: 0 !important; font-size: 12.5px; color: #8a8a8a; }
.amm .amm-mini__title { margin: 0 !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 15.5px !important; line-height: 1.5 !important; font-weight: 700 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.amm .amm-mini__title a { color: #021c3d !important; }
.amm .amm-mini__title a:hover { text-decoration: underline; }
.amm-viewall .amm-btn + .amm-btn { margin-inline-start: 10px; }

.amm-grid--news { max-width: 1000px; margin: 0 auto; gap: 16px; }
.amm-grid--news .amm-mini__img { aspect-ratio: 16 / 9; }
.amm .amm-grid--news .amm-mini__title { font-size: 14.5px !important; }
.amm-grid--news .amm-mini__body { padding: 10px 12px 12px; }

/* Arabic version (/ar/): matching Arabic fonts for the existing Divi sections */
html[dir="rtl"] body, html[dir="rtl"] body p, html[dir="rtl"] body li, html[dir="rtl"] body a, html[dir="rtl"] body span, html[dir="rtl"] body .et_pb_button, html[dir="rtl"] #top-menu a, html[dir="rtl"] body input, html[dir="rtl"] body textarea { font-family: "IBM Plex Sans Arabic", Inter, Tahoma, sans-serif !important; }
html[dir="rtl"] body h1, html[dir="rtl"] body h2, html[dir="rtl"] body h3, html[dir="rtl"] body h4, html[dir="rtl"] body h5, html[dir="rtl"] body h6 { font-family: "Noto Naskh Arabic", Adamina, serif !important; font-weight: 700 !important; letter-spacing: 0 !important; }
html[dir="rtl"] body .et_pb_text_inner, html[dir="rtl"] body .et_pb_blurb_description { line-height: 1.9; }

.amm-lawyer__photo, .amm-lawyer__img { pointer-events: none; cursor: default; }
.amm .amm-lawyer__name { color: #021c3d !important; }

/* ===== Single article (bilingual) ===== */
.amm-article { font-size: 18px; line-height: 1.95; color: #333; }
.amm .amm-article__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 22px !important; padding: 0 0 14px !important; border-bottom: 1px solid #e6e1d3; font-size: 14px; color: #6b6f7a; }
.amm-article__meta span + span::before { content: "•"; margin-inline-end: 16px; color: #c9c2ad; }
.amm-lead { margin: 0 0 30px; padding: 22px 26px; background: #f1ede1; border-inline-start: 5px solid #021c3d; border-radius: 6px; }
.amm .amm-lead p { margin: 0 !important; padding: 0 !important; font-size: 19px; line-height: 1.85; color: #021c3d; font-weight: 600; }
.amm .amm-lead .amm-lead__label { margin: 0 0 6px !important; font-size: 13px; font-weight: 700; color: #3a5f8f; letter-spacing: .02em; }
.amm-mid { margin: 34px 0 !important; padding: 26px 10px !important; border: 0 !important; border-top: 2px solid #021c3d !important; border-bottom: 2px solid #021c3d !important; text-align: center; background: none !important; }
.amm .amm-mid p { margin: 0 !important; padding: 0 !important; font-family: var(--amm-head); font-size: 24px; line-height: 1.6; color: #021c3d; font-weight: 700; }
.amm-article__body p { margin-bottom: 1.1em; }

/* Single article page: our bilingual date line replaces Divi's meta; full width, no sidebar */
body.single-post #main-content .et_pb_post .post-meta { display: none !important; }
body.single-post #sidebar { display: none !important; }
body.single-post #left-area { width: 100% !important; max-width: 860px; margin: 0 auto; float: none !important; padding: 0 !important; }
body.single-post #main-content .container::before { display: none !important; }
html[dir="rtl"] body.single-post .entry-title { text-align: right; }

/* Social icons */
.amm-social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.amm-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); color: #fff !important; transition: background .2s, color .2s, border-color .2s; }
.amm-social a:hover { background: #fff; color: #021c3d !important; border-color: #fff; }
.amm-social svg { width: 18px; height: 18px; display: block; }

/* Header logo (bilingual image) */
#main-header #logo { max-height: 70% !important; width: auto !important; height: auto; }


/* Team member without photo: emoji */
.amm-emoji { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 64px; line-height: 1; background: linear-gradient(160deg, #e9eef5, #dce4ee); }
.amm-grid--row .amm-emoji { font-size: 54px; }

/* =====================================================================
   PHONE LAYOUT (Chrome on mobile) — white header, readable logo, tidy sections
   ===================================================================== */
@media (max-width: 980px) {
	#main-header, #main-header.et-fixed-header, .et_mobile_menu, #top-header { background: #fff !important; }
	#main-header { box-shadow: 0 1px 0 rgba(2, 28, 61, .08) !important; }
	#main-header #logo { max-height: 46px !important; width: auto !important; }
	#main-header .logo_container { padding: 0; }
	.mobile_menu_bar::before, .mobile_menu_bar:before { color: #021c3d !important; }
	.et_mobile_menu { border-top: 3px solid #021c3d !important; padding: 6px 0 !important; box-shadow: 0 10px 24px rgba(2, 28, 61, .12) !important; }
	.et_mobile_menu li a { color: #021c3d !important; font-size: 16px !important; padding: 12px 6% !important; border-bottom: 1px solid #eef0f4 !important; opacity: 1 !important; }
	.et_mobile_menu li.current-menu-item > a { font-weight: 700 !important; background: #f1ede1 !important; }
	html[dir="rtl"] .et_mobile_menu li a { text-align: right !important; }

	/* main photo text: centred, readable */
	.et_pb_section_0 .et_pb_text, .et_pb_section_0 .et_pb_text_inner, .et_pb_section_0 .et_pb_button_module_wrapper { text-align: center !important; }
	.et_pb_section_0 h1 { font-size: 30px !important; line-height: 1.3 !important; }
	.et_pb_section_0 .et_pb_text_inner p { font-size: 15px !important; line-height: 1.8 !important; }
	.et_pb_section_0 .et_pb_button { font-size: 14px !important; padding: 10px 16px !important; white-space: normal; }

	/* headings */
	.et_pb_section h2 { font-size: 26px !important; line-height: 1.3 !important; }
	.et_pb_section h3, .et_pb_section h4 { font-size: 19px !important; }
	.amm:not(.amm-band) .amm-title { font-size: 26px !important; }
	.amm:not(.amm-band) .amm-sub { font-size: 16px; }
	.amm:not(.amm-band) .amm-head { margin-bottom: 28px; }

	/* team: 2 per row, odd last card centred */
	.amm-grid--row > .amm-lawyer:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }

	/* admin-only edit button sits above the section on phones */
	.amm-editbtn { position: static; display: block; margin: 0 auto 14px; }
}
@media (max-width: 600px) {
	.amm-grid--news { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
	.amm .amm-grid--news .amm-mini__title { font-size: 13.5px !important; }
	.amm-map__leaves span { font-size: 14px; }
	.amm-viewall .amm-btn { margin: 4px; }
}

/* Team section on the homepage: Islamic eight-pointed star pattern in the logo navy */
.et_pb_section:has(.amm-grid--row) { background-color: #f1ede1 !important; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22110%22%20height%3D%22110%22%20viewBox%3D%220%200%20110%20110%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23021c3d%22%20stroke-width%3D%221.2%22%20stroke-opacity%3D%22.14%22%20stroke-linejoin%3D%22round%22%3E%3Cpolygon%20points%3D%2291.91%2C55.00%2055.00%2C91.91%2018.09%2C55.00%2055.00%2C18.09%22/%3E%3Cpolygon%20points%3D%2281.10%2C81.10%2028.90%2C81.10%2028.90%2C28.90%2081.10%2C28.90%22/%3E%3Cpolygon%20points%3D%2236.91%2C0.00%200.00%2C36.91%20-36.91%2C0.00%20-0.00%2C-36.91%22/%3E%3Cpolygon%20points%3D%2226.10%2C26.10%20-26.10%2C26.10%20-26.10%2C-26.10%2026.10%2C-26.10%22/%3E%3Cpolygon%20points%3D%22146.91%2C0.00%20110.00%2C36.91%2073.09%2C0.00%20110.00%2C-36.91%22/%3E%3Cpolygon%20points%3D%22136.10%2C26.10%2083.90%2C26.10%2083.90%2C-26.10%20136.10%2C-26.10%22/%3E%3Cpolygon%20points%3D%2236.91%2C110.00%200.00%2C146.91%20-36.91%2C110.00%20-0.00%2C73.09%22/%3E%3Cpolygon%20points%3D%2226.10%2C136.10%20-26.10%2C136.10%20-26.10%2C83.90%2026.10%2C83.90%22/%3E%3Cpolygon%20points%3D%22146.91%2C110.00%20110.00%2C146.91%2073.09%2C110.00%20110.00%2C73.09%22/%3E%3Cpolygon%20points%3D%22136.10%2C136.10%2083.90%2C136.10%2083.90%2C83.90%20136.10%2C83.90%22/%3E%3Ccircle%20cx%3D%2255.0%22%20cy%3D%2255.0%22%20r%3D%2214.0%22/%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2214.0%22/%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%220%22%20r%3D%2214.0%22/%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22110%22%20r%3D%2214.0%22/%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%22110%22%20r%3D%2214.0%22/%3E%3C/g%3E%3C/svg%3E") !important; background-repeat: repeat !important; background-size: 110px 110px !important; }
.amm-grid--row .amm-lawyer { position: relative; }

/* ===== v1.6: header language switch, email float, hidden 3rd-party floats ===== */
#ht-ctc-chat, .ht-ctc, aside.country-selector.weglot-dropdown, .weglot-container.wg-default { display: none !important; }
.single-amm_event .post-meta, .single-amm_event .author { display: none !important; }
#top-menu li.amm-lang-li { padding-inline-start: 18px; }
#top-menu li.amm-lang-li a.amm-lang, .et_mobile_menu li.amm-lang-li a.amm-lang {
	display: inline-block; padding: 7px 16px !important; border: 1px solid #021c3d; border-radius: 999px;
	color: #021c3d !important; font-weight: 600; font-size: 14px; line-height: 1; opacity: 1 !important; transition: background .2s, color .2s;
}
#top-menu li.amm-lang-li a.amm-lang:hover { background: #021c3d; color: #fff !important; }
.et-fixed-header #top-menu li.amm-lang-li a.amm-lang { padding: 7px 16px !important; }
.et_mobile_menu li.amm-lang-li { padding: 10px 5%; border: 0 !important; }
.et_mobile_menu li.amm-lang-li a.amm-lang { text-align: center; background: #021c3d; color: #fff !important; }
.amm-float-mail {
	position: fixed; bottom: 28px; right: 24px; z-index: 9990; display: flex; align-items: center; gap: 10px;
	background: #021c3d; color: #fff !important; border-radius: 999px; padding: 0; padding-inline-end: 20px; height: 56px; width: 56px; overflow: hidden;
	box-shadow: 0 8px 24px rgba(2, 28, 61, .28); transition: width .25s ease; white-space: nowrap; text-decoration: none !important;
}
.amm-float-mail svg { flex: 0 0 56px; width: 56px; height: 24px; }
.amm-float-mail span { font-size: 14px; font-weight: 600; font-family: Inter, "IBM Plex Sans Arabic", sans-serif; }
.amm-float-mail:hover, .amm-float-mail:focus { width: 210px; }
@media (max-width: 980px) { .amm-float-mail { bottom: 18px; right: 16px; height: 52px; width: 52px; } .amm-float-mail svg { flex-basis: 52px; } }

/* ===== Services page infographic ===== */
.amm-svcp { padding-top: 70px; }
.amm-svcp__stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 0 auto 34px; border: 1px solid var(--amm-line); background: #fff; }
.amm-svcp__stats > div { padding: 22px 12px; text-align: center; }
.amm-svcp__stats > div + div { border-inline-start: 1px solid var(--amm-line); }
.amm-svcp__stats strong { display: block; font-family: var(--amm-head); font-size: 40px; line-height: 1; color: var(--amm-navy); }
.amm-svcp__stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--amm-grey); }
.amm-svcp__jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 56px; }
.amm-svcp__jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--amm-navy); border-radius: 999px; color: var(--amm-navy) !important; font-weight: 600; font-size: 14px; }
.amm-svcp__jump a:hover { background: var(--amm-navy); color: #fff !important; }
.amm-svcp__jicon svg { width: 18px; height: 18px; display: block; }
.amm-pillar { display: grid; grid-template-columns: 300px 1fr; gap: 0; margin: 0 auto 36px; max-width: 1180px; border: 1px solid var(--amm-line); background: #fff; scroll-margin-top: 110px; }
.amm-pillar__side { position: relative; background: #021c3d; color: #fff; padding: 36px 30px; overflow: hidden; }
.amm-pillar__no { position: absolute; inset-inline-end: 18px; top: 8px; font-family: var(--amm-head); font-size: 76px; line-height: 1; color: rgba(255, 255, 255, .09); }
.amm-pillar__icon { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; }
.amm-pillar__icon svg { width: 30px; height: 30px; }
.amm .amm-pillar__title { margin: 22px 0 10px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 24px !important; line-height: 1.35 !important; color: #fff !important; }
.amm-pillar__desc { margin: 0; padding: 0 !important; font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, .82); }
.amm-pillar__grid { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); }
.amm-tile { position: relative; padding: 28px 28px 26px !important; border-bottom: 1px solid var(--amm-line); list-style: none !important; }
.amm-tile:nth-child(odd) { border-inline-end: 1px solid var(--amm-line); }
.amm-tile:nth-child(n+3) { border-bottom: 0; }
.amm-tile__n { position: absolute; top: 22px; inset-inline-end: 24px; font-size: 13px; font-weight: 700; color: #9aa3ae; }
.amm-tile__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--amm-sand); color: var(--amm-navy); }
.amm-tile__icon svg { width: 22px; height: 22px; }
.amm .amm-tile__t { margin: 16px 0 6px !important; padding: 0 !important; font-size: 17px !important; line-height: 1.45 !important; font-weight: 700 !important; color: var(--amm-navy) !important; font-family: var(--amm-body) !important; }
.amm-tile__d { margin: 0; padding: 0 !important; font-size: 14.5px; line-height: 1.7; color: var(--amm-grey); }
.amm-cta { padding: 20px 0 80px; }
.amm-cta__box { max-width: 1180px; margin: 0 auto; background: #021c3d; color: #fff; text-align: center; padding: 50px 24px; }
.amm .amm-cta__t { margin: 0 0 10px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 30px !important; color: #fff !important; }
.amm-cta__s { margin: 0 0 24px; color: rgba(255, 255, 255, .82); font-size: 16px; }
.amm-btn--light { background: #fff; color: #021c3d !important; border-color: #fff; }
.amm-btn--light:hover { background: transparent; color: #fff !important; }
@media (max-width: 980px) {
	.amm-svcp { padding: 46px 5% 0; }
	.amm-pillar { grid-template-columns: 1fr; }
	.amm-pillar__side { padding: 28px 24px; }
	.amm-cta { padding: 10px 5% 60px; }
}
@media (max-width: 600px) {
	.amm-pillar__grid { grid-template-columns: 1fr; }
	.amm-tile { border-inline-end: 0 !important; border-bottom: 1px solid var(--amm-line) !important; }
	.amm-tile:last-child { border-bottom: 0 !important; }
	.amm-svcp__stats strong { font-size: 30px; }
	.amm-svcp__stats span { font-size: 12.5px; }
}
.amm-tags { margin-top: 26px !important; padding-top: 16px !important; border-top: 1px solid var(--amm-line); color: #2a4a7a; font-size: 14px; line-height: 2; word-spacing: 6px; }
.amm-svcp ~ .amm-process .amm-step__t { color: #021c3d !important; }
.amm-svcp ~ .amm-process .amm-step__n { box-shadow: 0 0 0 8px #e4e9f0; }
.amm-svcp ~ .amm-process { padding-bottom: 50px; }
#top-menu li.amm-lang-li a.amm-lang, .et_mobile_menu li.amm-lang-li a.amm-lang { text-transform: none !important; letter-spacing: 0 !important; }
.et_pb_button[href^="mailto:"]::after, .et_pb_button[href^="mailto:"]::before { display: none !important; }
.et_pb_button[href^="mailto:"], .et_pb_button[href^="mailto:"]:hover { padding: .3em 1em !important; }
.amm-pillar__desc { border: 0 !important; }
/* Events: full width, no English sidebar */
body.single-amm_event #sidebar, body.page-id-414 #sidebar, body.page-id-15 #sidebar, body.post-type-archive-amm_event #sidebar { display: none !important; }
body.single-amm_event #left-area, body.page-id-414 #left-area, body.page-id-15 #left-area, body.post-type-archive-amm_event #left-area { width: 100% !important; float: none !important; padding: 0 !important; }
body.single-amm_event #left-area { max-width: 860px; margin: 0 auto; }
body.single-amm_event #main-content .container::before, body.page-id-414 #main-content .container::before, body.page-id-15 #main-content .container::before { display: none !important; }
body.single-amm_event .entry-content h3 { margin: 28px 0 10px; font-size: 22px; color: #021c3d; }
body.single-amm_event .entry-content figure img { width: 100%; height: auto; border-radius: 4px; margin: 10px 0; }
html[dir="rtl"] body.single-amm_event .entry-title { text-align: right; }
/* Divi can cache one language's critical CSS for both: pin direction to the page language */
body.amm-lang-en { direction: ltr !important; }
body.amm-lang-ar { direction: rtl !important; }
/* No sidebar anywhere on the site; content takes the full width */
#sidebar { display: none !important; }
#main-content #left-area { width: 100% !important; float: none !important; padding-left: 0 !important; padding-right: 0 !important; }
#main-content .container::before { display: none !important; }
/* Hashtags: small, well below the article */
.amm-tags { margin-top: 70px !important; padding-top: 12px !important; font-size: 12px !important; line-height: 1.9 !important; color: #8a94a3 !important; word-spacing: 4px; }
/* English pages: undo any right-to-left header rules Divi may have cached from the Arabic page */
body.amm-lang-en { text-align: left; }
body.amm-lang-en #main-header .et_menu_container, body.amm-lang-en #main-header .logo_container, body.amm-lang-en #main-header #logo { text-align: left !important; }
body.amm-lang-en #et-top-navigation { float: right !important; }
body.amm-lang-en #top-menu li { padding-right: 22px !important; padding-left: 0 !important; }
body.amm-lang-en #top-menu li:last-child { padding-right: 0 !important; }
body.amm-lang-en #top-menu li.amm-lang-li { padding-left: 18px !important; }
body.amm-lang-en #et_mobile_nav_menu { float: right !important; }

/* Text direction by language: English left-to-right, Arabic right-to-left */
body.amm-lang-en #page-container { direction: ltr; }
body.amm-lang-ar #page-container { direction: rtl; }
body.amm-lang-en #page-container :is(p, li, dd, dt, blockquote, .et_pb_text_inner, .et_pb_blurb_description, .et_pb_blurb_container, .et_pb_module_header, .entry-content, .entry-title, .post-meta, .amm-card__body, .amm-mini__body, .amm-tile, .amm-pillar__side, .amm-lawyer__body, .amm-map__branch, .amm-tl__body, .et_pb_contact_form_container, .et_pb_heading_container, h1, h2, h3, h4, h5, h6):not(.amm-head *):not(.amm-cta *):not(.amm-step *):not(.amm-svcp__stats *):not(.amm-lawyer *):not(.amm-about__mission *):not(.amm-about__who *):not(.amm-why *):not(.amm-areahero *):not(.amm-inq__done *) { text-align: left !important; direction: ltr; }
body.amm-lang-ar #page-container :is(p, li, dd, dt, blockquote, .et_pb_text_inner, .et_pb_blurb_description, .et_pb_blurb_container, .et_pb_module_header, .entry-content, .entry-title, .post-meta, .amm-card__body, .amm-mini__body, .amm-tile, .amm-pillar__side, .amm-lawyer__body, .amm-map__branch, .amm-tl__body, .et_pb_contact_form_container, .et_pb_heading_container, h1, h2, h3, h4, h5, h6):not(.amm-head *):not(.amm-cta *):not(.amm-step *):not(.amm-svcp__stats *):not(.amm-lawyer *):not(.amm-about__mission *):not(.amm-about__who *):not(.amm-why *):not(.amm-areahero *):not(.amm-inq__done *) { text-align: right !important; direction: rtl; }
body.amm-lang-ar #page-container :is(ul, ol) { padding-right: 1.2em; padding-left: 0; }
body.amm-lang-ar .et_pb_blurb_content { text-align: right !important; }
body.amm-lang-en .et_pb_blurb_content { text-align: left !important; }
/* v1.7: five practice areas */
.amm-tile { border-bottom: 1px solid var(--amm-line) !important; }
.amm-tile:last-child, .amm-tile:nth-last-child(2):nth-child(odd) { border-bottom: 0 !important; }
.amm-map__branches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.amm-map__branch { grid-column: span 2; }
.amm-map__branch:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
@media (max-width: 980px) {
	.amm-map__branches { grid-template-columns: 1fr; }
	.amm-map__branch, .amm-map__branch:nth-child(4):nth-last-child(2) { grid-column: auto; }
}
@media (max-width: 600px) {
	.amm-tile:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--amm-line) !important; }
}

/* ===== About page infographic ===== */
.amm-about { padding: 70px 0 10px; }
.amm-about__stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 980px; margin: 0 auto 40px; background: #fff; border: 1px solid var(--amm-line); }
.amm-about__stats > div { padding: 24px 10px; text-align: center !important; }
.amm-about__stats > div + div { border-inline-start: 1px solid var(--amm-line); }
.amm-about__stats strong { display: block; font-family: var(--amm-head); font-size: 40px; line-height: 1; color: var(--amm-navy); }
.amm-about__stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--amm-grey); }
.amm-about__mission { position: relative; max-width: 980px; margin: 0 auto 50px; background: #021c3d; color: #fff; padding: 40px 44px; text-align: center; overflow: hidden; }
.amm-about__mission::before { content: "“"; position: absolute; top: -18px; inset-inline-start: 20px; font-family: Georgia, serif; font-size: 160px; line-height: 1; color: rgba(255,255,255,.08); }
.amm .amm-about__mission p { margin: 10px 0 0 !important; padding: 0 !important; font-family: var(--amm-head); font-size: 28px; line-height: 1.5; color: #fff; text-align: center !important; font-weight: 700; }
.amm-about__label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #8fb0d6; text-transform: uppercase; }
.amm-about__label--dark { color: #3a5f8f; }
.amm-about__founder { display: grid; grid-template-columns: 320px 1fr; max-width: 980px; margin: 0 auto 70px; background: #fff; border: 1px solid var(--amm-line); }
.amm-about__photo { background: var(--amm-sand); }
.amm-about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.amm-about__fbody { padding: 34px 36px; }
.amm .amm-about__fname { margin: 8px 0 4px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 28px !important; color: var(--amm-navy) !important; }
.amm-about__frole { margin: 0 0 20px !important; color: var(--amm-grey); font-size: 15px; }
.amm-about__facts { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 14px; }
.amm-about__facts li { display: flex; align-items: flex-start; gap: 14px; margin: 0 !important; padding: 0 !important; font-size: 15.5px; line-height: 1.6; color: var(--amm-text); }
.amm-about__fic { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amm-sand); color: var(--amm-navy); }
.amm-about__fic svg { width: 20px; height: 20px; }
.amm-about__serve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto 30px; }
.amm-about__who { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 16px; background: #fff; border: 1px solid var(--amm-line); text-align: center !important; font-weight: 600; color: var(--amm-navy); font-size: 15.5px; line-height: 1.5; }
.amm-about__wic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #021c3d; color: #fff; }
.amm-about__wic svg { width: 28px; height: 28px; }
.amm-about ~ .amm-process .amm-step__t { color: #021c3d !important; }
.amm-about ~ .amm-process .amm-step__n { box-shadow: 0 0 0 8px #e4e9f0; }
@media (max-width: 980px) {
	.amm-about { padding: 46px 5% 0; }
	.amm-about__stats, .amm-about__serve { grid-template-columns: repeat(2, 1fr); }
	.amm-about__stats > div:nth-child(3) { border-inline-start: 0; }
	.amm-about__stats > div:nth-child(n+3) { border-top: 1px solid var(--amm-line); }
	.amm-about__founder { grid-template-columns: 1fr; }
	.amm-about__photo img { max-height: 420px; }
	.amm-about__mission { padding: 30px 22px; }
	.amm .amm-about__mission p { font-size: 22px; }
}

/* Footer: eight-pointed star pattern */
.et-l--footer .et_pb_section, #main-footer { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22110%22%20height%3D%22110%22%20viewBox%3D%220%200%20110%20110%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.2%22%20stroke-opacity%3D%22.07%22%20stroke-linejoin%3D%22round%22%3E%3Cpolygon%20points%3D%2291.91%2C55.00%2055.00%2C91.91%2018.09%2C55.00%2055.00%2C18.09%22/%3E%3Cpolygon%20points%3D%2281.10%2C81.10%2028.90%2C81.10%2028.90%2C28.90%2081.10%2C28.90%22/%3E%3Cpolygon%20points%3D%2236.91%2C0.00%200.00%2C36.91%20-36.91%2C0.00%20-0.00%2C-36.91%22/%3E%3Cpolygon%20points%3D%2226.10%2C26.10%20-26.10%2C26.10%20-26.10%2C-26.10%2026.10%2C-26.10%22/%3E%3Cpolygon%20points%3D%22146.91%2C0.00%20110.00%2C36.91%2073.09%2C0.00%20110.00%2C-36.91%22/%3E%3Cpolygon%20points%3D%22136.10%2C26.10%2083.90%2C26.10%2083.90%2C-26.10%20136.10%2C-26.10%22/%3E%3Cpolygon%20points%3D%2236.91%2C110.00%200.00%2C146.91%20-36.91%2C110.00%20-0.00%2C73.09%22/%3E%3Cpolygon%20points%3D%2226.10%2C136.10%20-26.10%2C136.10%20-26.10%2C83.90%2026.10%2C83.90%22/%3E%3Cpolygon%20points%3D%22146.91%2C110.00%20110.00%2C146.91%2073.09%2C110.00%20110.00%2C73.09%22/%3E%3Cpolygon%20points%3D%22136.10%2C136.10%2083.90%2C136.10%2083.90%2C83.90%20136.10%2C83.90%22/%3E%3Ccircle%20cx%3D%2255.0%22%20cy%3D%2255.0%22%20r%3D%2214.0%22/%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2214.0%22/%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%220%22%20r%3D%2214.0%22/%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22110%22%20r%3D%2214.0%22/%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%22110%22%20r%3D%2214.0%22/%3E%3C/g%3E%3C/svg%3E") !important; background-repeat: repeat !important; background-size: 110px 110px !important; }

/* "Contact us" button on page heroes: navy pill with an envelope, in the site's style */
body #page-container .et_pb_section .et_pb_button[href^="mailto:"], body #page-container .et_pb_section .et_pb_button[href^="mailto:"]:hover {
	display: inline-flex !important; align-items: center; gap: 10px; white-space: nowrap;
	padding: 12px 26px !important; border-radius: 999px !important; border: 1px solid rgba(255,255,255,.45) !important;
	background: #021c3d !important; color: #fff !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.2 !important;
	letter-spacing: 0 !important; text-transform: none !important; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: background .2s, color .2s;
}
body #page-container .et_pb_section .et_pb_button[href^="mailto:"]:hover { background: #fff !important; color: #021c3d !important; border-color: #fff !important; }
body #page-container .et_pb_section .et_pb_button[href^="mailto:"]::before {
	display: inline-block !important; content: "" !important; position: static !important; opacity: 1 !important; margin: 0 !important;
	width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 600px) { body #page-container .et_pb_section .et_pb_button[href^="mailto:"] { font-size: 13.5px !important; padding: 11px 18px !important; } }

/* ===== FAQ ===== */
.amm-faq { padding: 20px 0 70px; }
.amm-faq__list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.amm-faq__item { background: #fff; border: 1px solid var(--amm-line); }
.amm-faq__item summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--amm-navy); font-size: 16.5px; line-height: 1.5; }
.amm-faq__item summary::-webkit-details-marker { display: none; }
.amm-faq__item summary::after { content: "+"; margin-inline-start: auto; font-size: 24px; font-weight: 400; line-height: 1; color: var(--amm-navy); }
.amm-faq__item[open] summary::after { content: "–"; }
.amm-faq__n { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #021c3d; color: #fff; font-size: 14px; }
.amm .amm-faq__a { margin: 0 !important; padding: 0 22px 20px 68px !important; color: var(--amm-text); font-size: 15.5px; line-height: 1.8; }
.amm-ar .amm-faq__a, [dir="rtl"] .amm-faq__a { padding: 0 68px 20px 22px !important; }
@media (max-width: 980px) { .amm-faq { padding: 10px 5% 50px; } .amm .amm-faq__a { padding: 0 20px 18px !important; } }
/* seven practice areas on the homepage map: 3 + 3 + 1 (centred) */
.amm-map__branch:nth-child(7):last-child { grid-column: 3 / span 2; }
@media (max-width: 980px) { .amm-map__branch:nth-child(7):last-child { grid-column: auto; } }

/* ===== Practice areas ===== */
body.amm-area-page #main-content .entry-title, body.amm-area-page #main-content .main_title { display: none !important; }
body.amm-area-page #main-content .container { width: 100% !important; max-width: 100% !important; padding-top: 0 !important; }
body.amm-area-page #main-content article.page { padding: 0 !important; margin: 0 !important; }
.amm-areahero { background: #021c3d; color: #fff; padding: 70px 24px 60px; text-align: center !important; }
.amm-areahero { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22110%22%20height%3D%22110%22%20viewBox%3D%220%200%20110%20110%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.2%22%20stroke-opacity%3D%22.08%22%3E%3Cpolygon%20points%3D%2291.91%2C55%2055%2C91.91%2018.09%2C55%2055%2C18.09%22/%3E%3Cpolygon%20points%3D%2281.1%2C81.1%2028.9%2C81.1%2028.9%2C28.9%2081.1%2C28.9%22/%3E%3Ccircle%20cx%3D%2255%22%20cy%3D%2255%22%20r%3D%2214%22/%3E%3C/g%3E%3C/svg%3E"); background-size: 110px 110px; }
.amm-areahero__in { max-width: 820px; margin: 0 auto; }
.amm-crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.amm-crumbs a { color: rgba(255,255,255,.8) !important; }
.amm-areahero__icon { display: inline-grid; place-items: center; width: 70px; height: 70px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; margin-bottom: 18px; }
.amm-areahero__icon svg { width: 32px; height: 32px; }
.amm .amm-areahero__t { margin: 0 0 12px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 40px !important; line-height: 1.3 !important; color: #fff !important; text-align: center !important; }
.amm .amm-areahero__s { margin: 0 auto 26px !important; padding: 0 !important; color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.8; text-align: center !important; }
.amm-areahero__btn { display: inline-block; padding: 12px 28px; border-radius: 999px; background: #fff; color: #021c3d !important; font-weight: 700; font-size: 15px; }
.amm-areahero__btn:hover { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1px #fff; }
.amm-area, .amm-areas { padding: 0 0 30px; background: #f8f6f0; }
.amm-area__intro { max-width: 860px; margin: 50px auto 50px; padding: 0 24px; }
.amm .amm-area__intro p { font-size: 18px; line-height: 2; color: #333; margin: 0 !important; }
.amm-area__services { list-style: none !important; margin: 0 auto 60px !important; padding: 0 !important; max-width: 1080px; display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border: 1px solid var(--amm-line); }
.amm-area__services .amm-tile:nth-child(odd) { border-inline-end: 1px solid var(--amm-line); }
.amm-area .amm-grid--3 { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.amm-area__others { max-width: 1080px; margin: 50px auto 20px; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.amm-area__others span { font-weight: 700; color: var(--amm-navy); }
.amm-area__others a { padding: 7px 16px; border: 1px solid var(--amm-navy); border-radius: 999px; font-size: 14px; color: var(--amm-navy) !important; }
.amm-area__others a:hover { background: var(--amm-navy); color: #fff !important; }
.amm-areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1180px; margin: 60px auto 40px; padding: 0 24px; }
.amm-areacard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--amm-line); padding: 30px 26px 24px; color: inherit !important; transition: transform .2s, box-shadow .2s; overflow: hidden; }
.amm-areacard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(2,28,61,.10); }
.amm-areacard__no { position: absolute; top: 10px; inset-inline-end: 16px; font-family: var(--amm-head); font-size: 54px; line-height: 1; color: rgba(2,28,61,.06); }
.amm-areacard__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #021c3d; color: #fff; }
.amm-areacard__icon svg { width: 28px; height: 28px; }
.amm .amm-areacard__t { margin: 18px 0 8px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 21px !important; color: var(--amm-navy) !important; }
.amm .amm-areacard__d { margin: 0 0 14px !important; padding: 0 !important; font-size: 14.5px; line-height: 1.75; color: var(--amm-grey); }
.amm-areacard__list { list-style: none !important; margin: 0 0 18px !important; padding: 0 !important; display: grid; gap: 6px; }
.amm-areacard__list li { position: relative; padding-inline-start: 16px !important; font-size: 14px; color: #333; }
.amm-areacard__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #8fb0d6; }
.amm-areacard__more { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--amm-navy); border-bottom: 1px solid currentColor; align-self: flex-start; }
@media (max-width: 980px) { .amm-areas__grid { grid-template-columns: repeat(2, 1fr); } .amm .amm-areahero__t { font-size: 30px !important; } }
@media (max-width: 600px) { .amm-areas__grid, .amm-area__services { grid-template-columns: 1fr; } .amm-area__services .amm-tile { border-inline-end: 0 !important; } }

/* ===== Inquiry form ===== */
.amm-inq { padding: 50px 24px 80px; background: #f8f6f0; }
.amm-inq__box { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 340px 1fr; background: #fff; border: 1px solid var(--amm-line); }
.amm-inq__side { background: #021c3d; color: #fff; padding: 38px 32px; }
.amm .amm-inq__t { margin: 10px 0 10px !important; padding: 0 !important; font-family: var(--amm-head) !important; font-size: 28px !important; color: #fff !important; }
.amm .amm-inq__s { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.8; margin: 0 0 22px !important; }
.amm-inq__points { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 10px; }
.amm-inq__points li { position: relative; padding-inline-start: 22px !important; font-size: 14.5px; color: #fff; }
.amm-inq__points li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #8fb0d6; }
.amm-inq__points a { color: #fff !important; border-bottom: 1px solid rgba(255,255,255,.4); }
.amm-inq__form { padding: 34px 34px 30px; display: grid; gap: 14px; }
.amm-inq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.amm-inq__f { display: grid; gap: 6px; margin: 0; }
.amm-inq__f span { font-size: 13.5px; font-weight: 700; color: var(--amm-navy); }
.amm-inq__f input, .amm-inq__f select, .amm-inq__f textarea { width: 100%; padding: 11px 13px !important; border: 1px solid #d9d4c4 !important; border-radius: 3px; background: #fcfbf8 !important; font: inherit; font-size: 15px; color: #222; }
.amm-inq__f input:focus, .amm-inq__f select:focus, .amm-inq__f textarea:focus { outline: none; border-color: #021c3d !important; background: #fff !important; }
.amm-inq__btn { justify-self: start; padding: 12px 34px; border: 0; border-radius: 999px; background: #021c3d; color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.amm-inq__btn:hover { background: #0b3a73; }
.amm-inq__hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.amm-inq__done { align-content: center; text-align: center !important; }
.amm-inq__done strong { font-size: 22px; color: var(--amm-navy); }
@media (max-width: 980px) { .amm-inq__box { grid-template-columns: 1fr; } .amm-inq__row { grid-template-columns: 1fr; } .amm-inq { padding: 40px 5% 60px; } }

/* Keep the full menu in the logo row on laptops and tablets (Divi normally switches to ☰ below 981px) */
@media (min-width: 768px) and (max-width: 980px) {
	#main-header #top-menu-nav { display: block !important; }
	#main-header #et_mobile_nav_menu { display: none !important; }
	#main-header #et-top-navigation { display: block !important; float: right; padding-top: 0 !important; padding-inline-start: 0 !important; }
	body.amm-lang-ar #main-header #et-top-navigation { float: left !important; }
	#main-header .container.et_menu_container { display: flex; align-items: center; justify-content: space-between; }
	#main-header .logo_container { position: static !important; width: auto !important; height: auto !important; }
	#main-header #logo { max-height: 54px !important; }
	#main-header #top-menu { display: flex; align-items: center; }
	#main-header #top-menu > li { padding: 0 9px !important; }
	#main-header #top-menu > li > a { font-size: 13px !important; padding-bottom: 0 !important; }
	#main-header #top-menu li.amm-lang-li a.amm-lang { padding: 6px 12px !important; }
}
@media (min-width: 981px) and (max-width: 1240px) {
	#main-header #top-menu > li { padding-inline: 0 14px !important; }
	#main-header #top-menu > li > a { font-size: 13.5px !important; }
}
/* Services dropdown: tidy, wide enough for the area names */
#top-menu li .sub-menu { width: 270px; padding: 10px 0 !important; border-top: 3px solid #021c3d !important; }
#top-menu li .sub-menu li { width: 100%; padding: 0 !important; }
#top-menu li .sub-menu a { width: 100% !important; padding: 9px 20px !important; font-size: 14px !important; text-transform: none !important; }
#top-menu li .sub-menu a:hover { background: #f1ede1 !important; opacity: 1 !important; }
body.amm-lang-ar #top-menu li .sub-menu { text-align: right; }
#top-menu li .sub-menu { background: #fff !important; box-shadow: 0 12px 28px rgba(2,28,61,.14) !important; }
#top-menu li .sub-menu a, #top-menu li .sub-menu li a { color: #021c3d !important; display: block !important; line-height: 1.5 !important; }
#top-menu li .sub-menu li.current-menu-item > a { font-weight: 700 !important; }
body.amm-lang-ar #top-menu li .sub-menu { left: auto !important; right: 0 !important; }

/* Founder in the middle of the homepage team row, slightly larger and raised */
.amm-grid--row { align-items: end; }
.amm-grid--row .amm-lawyer--lead { z-index: 2; transform: translateY(-18px); }
.amm-grid--row .amm-lawyer--lead .amm-lawyer__photo { transform: scale(1.12); transform-origin: bottom center; box-shadow: 0 14px 30px rgba(2,28,61,.28); outline: 3px solid #021c3d; outline-offset: 3px; }
.amm-grid--row .amm-lawyer--lead .amm-lawyer__body { margin-top: 14px; }
.amm-grid--row .amm-lawyer--lead .amm-lawyer__name { font-size: 17px !important; }
@media (max-width: 600px) {
	.amm-grid--row .amm-lawyer--lead { transform: none; grid-column: 1 / -1; order: -1; max-width: 220px; justify-self: center; }
	.amm-grid--row .amm-lawyer--lead .amm-lawyer__photo { transform: none; }
}

/* Contact page: the 4 contact details as a tidy strip */
.page-id-17 .et_pb_blurb .et_pb_module_header, .page-id-17 .et_pb_blurb .et_pb_module_header span { font-size: 17px !important; line-height: 1.6 !important; font-weight: 600 !important; word-break: normal; overflow-wrap: anywhere; }
.page-id-17 .et_pb_blurb_1 .et_pb_module_header span, .page-id-17 .et_pb_blurb_2 .et_pb_module_header span { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.page-id-17 .et_pb_blurb .et_pb_main_blurb_image { margin-bottom: 10px !important; }
@media (max-width: 980px) { .page-id-17 .et_pb_blurb { margin-bottom: 24px !important; } }
.page-id-17 .et_pb_blurb_1 .et_pb_module_header span, .page-id-17 .et_pb_blurb_2 .et_pb_module_header span { white-space: nowrap; font-size: 15.5px !important; }

/* ===== Privacy policy ===== */
.amm-privacy { background: #f8f6f0; padding-bottom: 70px; }
.amm-privacy__body { max-width: 900px; margin: 50px auto 0; padding: 0 24px; display: grid; gap: 14px; }
.amm-privacy__item { display: flex; gap: 18px; background: #fff; border: 1px solid var(--amm-line); padding: 24px 26px; }
.amm-privacy__n { flex: 0 0 36px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #021c3d; color: #fff; font-weight: 700; font-size: 15px; }
.amm .amm-privacy__t { margin: 4px 0 8px !important; padding: 0 !important; font-size: 19px !important; color: var(--amm-navy) !important; font-family: var(--amm-head) !important; }
.amm .amm-privacy__item p { margin: 0 !important; padding: 0 !important; font-size: 15.5px; line-height: 1.9; color: #333; }
.amm-privacy-link { margin: 14px 0 0 !important; padding: 0 !important; font-size: 13px; }
.amm-privacy-link a { color: rgba(255,255,255,.75) !important; border-bottom: 1px solid rgba(255,255,255,.3); }
.amm-inq__consent { margin: 0 !important; font-size: 13px; color: var(--amm-grey); }
.amm-inq__consent a { color: var(--amm-navy) !important; border-bottom: 1px solid currentColor; }

/* ===== Footer: shorter, white text ===== */
.et-l--footer .et_pb_section { padding: 30px 0 16px !important; }
.et-l--footer .et_pb_row { padding: 8px 0 !important; }
.et-l--footer .et_pb_module { margin-bottom: 12px !important; }
.et-l--footer, .et-l--footer p, .et-l--footer li, .et-l--footer span, .et-l--footer strong, .et-l--footer a, .et-l--footer h1, .et-l--footer h2, .et-l--footer h3, .et-l--footer h4, .et-l--footer h5 { color: #fff !important; }
.et-l--footer a:hover { opacity: .75; }
.et-l--footer .et_pb_text h4 { font-size: 17px !important; padding-bottom: 10px !important; margin: 0 !important; }
.et-l--footer .et_pb_text p { margin: 0 !important; padding: 0 0 4px !important; font-size: 14.5px !important; line-height: 1.7 !important; }
.et-l--footer .et_pb_text p:has(> strong:empty:only-child), .et-l--footer .et_pb_text p:empty { display: none !important; }
/* quick links in two columns */
.et-l--footer .et_pb_text_0_tb_footer .et_pb_text_inner { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 34px; }
.et-l--footer .et_pb_text_0_tb_footer .et_pb_text_inner h4 { grid-column: 1 / -1; }
.et-l--footer .et_pb_image img { max-width: 210px !important; }
.et-l--footer .amm-social { margin-top: 10px !important; }
.et-l--footer .amm-social a { color: #fff !important; border-color: rgba(255,255,255,.5) !important; }
.et-l--footer .amm-privacy-link { margin-top: 8px !important; }
.et-l--footer .amm-privacy-link a { color: #fff !important; }

/* ===== Inner-page heroes (photo strip): about a quarter of the old height; homepage untouched ===== */
body.page:not(.home) #main-content .et_pb_section.et_pb_section_0.et_pb_with_background {
	height: auto !important; min-height: 0 !important; padding: 26px 0 !important; display: block !important;
	background-position: center 40% !important;
}
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_row {
	display: flex !important; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	width: 90% !important; max-width: 1180px !important; padding: 0 !important; margin: 0 auto !important;
}
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_column { display: flex !important; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; width: 100% !important; margin: 0 !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_divider { display: none !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_module { margin: 0 !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_heading .et_pb_module_heading,
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background h1,
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background h2 { font-size: 34px !important; line-height: 1.25 !important; padding: 0 !important; margin: 0 !important; }
@media (max-width: 767px) {
	body.page:not(.home) #main-content .et_pb_section.et_pb_section_0.et_pb_with_background { padding: 20px 0 !important; }
	body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_heading .et_pb_module_heading { font-size: 26px !important; }
}
/* navy banner on practice-area and privacy pages: compact too */
.amm-areahero { padding: 26px 24px 24px; }
.amm-crumbs { margin-bottom: 8px; }
.amm-areahero__icon { display: none; }
.amm .amm-areahero__t { font-size: 32px !important; margin-bottom: 6px !important; }
.amm .amm-areahero__s { font-size: 15px; margin-bottom: 14px !important; line-height: 1.6; }
.amm-areahero__btn { padding: 8px 22px; font-size: 14px; }
body.page:not(.home) #main-content .et_pb_section.et_pb_section_0.et_pb_with_background { height: 128px !important; padding: 0 !important; display: flex !important; align-items: center; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_row { width: 90% !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_heading .et_pb_module_heading { font-size: 30px !important; }
@media (max-width: 767px) { body.page:not(.home) #main-content .et_pb_section.et_pb_section_0.et_pb_with_background { height: auto !important; min-height: 128px !important; padding: 18px 0 !important; } }
/* heroes built with separate rows (heading row + button row): put them side by side */
body.page:not(.home) #main-content .et_pb_section.et_pb_section_0.et_pb_with_background { justify-content: space-between; gap: 24px; padding: 0 5% !important; flex-wrap: nowrap; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_row { width: auto !important; max-width: none !important; flex: 0 1 auto; margin: 0 !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background .et_pb_column { width: auto !important; }
@media (max-width: 767px) { body.page:not(.home) #main-content .et_pb_section.et_pb_section_0.et_pb_with_background { flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; } }
/* footer: another 25% shorter */
.et-l--footer .et_pb_section { padding: 16px 0 6px !important; }
.et-l--footer .et_pb_row { padding: 4px 0 !important; }
.et-l--footer .et_pb_module { margin-bottom: 6px !important; }
.et-l--footer .et_pb_text h4 { font-size: 15.5px !important; padding-bottom: 6px !important; }
.et-l--footer .et_pb_text p { font-size: 14px !important; line-height: 1.5 !important; padding-bottom: 2px !important; }
.et-l--footer .et_pb_image img { max-width: 175px !important; }
.et-l--footer .amm-social { margin-top: 6px !important; gap: 8px; }
.et-l--footer .amm-social a { width: 32px !important; height: 32px !important; }
.et-l--footer .amm-social a svg { width: 15px !important; height: 15px !important; }
.et-l--footer .amm-privacy-link { margin-top: 4px !important; font-size: 12.5px; }

/* Homepage services: shorter cards (title + service chips), each links to its area page */
.amm-map__branch--short { display: flex !important; flex-direction: column; align-items: center; padding: 40px 18px 18px !important; color: inherit !important; transition: transform .2s, box-shadow .2s; }
.amm-map__branch--short:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(2,28,61,.10) !important; }
.amm .amm-map__branch--short .amm-map__title { margin-bottom: 12px !important; font-size: 18px !important; }
.amm-map__chips { list-style: none !important; margin: 0 0 12px !important; padding: 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.amm-map__chips li { margin: 0 !important; padding: 4px 10px !important; background: #fff; border: 1px solid var(--amm-line); border-radius: 999px; font-size: 12.5px; line-height: 1.4; color: #333; list-style: none !important; }
.amm-map__more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--amm-navy); }
.et-l--footer img.amm-footer-logo { filter: brightness(0) invert(1); max-width: 230px !important; width: 100%; height: auto; }

/* Linked rings (homepage process) */
.amm-rings { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin: 0 auto; }
.amm-ring { position: absolute; width: 52%; aspect-ratio: 1; border-radius: 50%; border: 10px solid #021c3d; background: rgba(255,255,255,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 10px 26px rgba(2,28,61,.12); transition: transform .6s ease; }
.amm-ring:hover { transform: scale(1.04); }
.amm-ring--1 { top: 0; left: 0; }
.amm-ring--2 { top: 0; right: 0; border-color: #0b3a73; }
.amm-ring--3 { bottom: 0; right: 0; border-color: #2a5a94; }
.amm-ring--4 { bottom: 0; left: 0; border-color: #8fb0d6; }
[dir="rtl"] .amm-ring--1, .amm-ar .amm-ring--1 { left: auto; right: 0; }
[dir="rtl"] .amm-ring--2, .amm-ar .amm-ring--2 { right: auto; left: 0; }
[dir="rtl"] .amm-ring--3, .amm-ar .amm-ring--3 { right: auto; left: 0; }
[dir="rtl"] .amm-ring--4, .amm-ar .amm-ring--4 { left: auto; right: 0; }
.amm-ring__e { font-size: 46px; line-height: 1; }
.amm-ring__t { font-size: 16px; font-weight: 700; color: #021c3d; }
.amm-rings__core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 26%; aspect-ratio: 1; border-radius: 50%; background: #021c3d; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 0 0 8px #fff, 0 12px 28px rgba(2,28,61,.3); }
.amm-rings__core span { font-size: 34px; line-height: 1; }
.amm-rings__core small { font-size: 13px; font-weight: 700; margin-top: 4px; color: #fff; }
@media (max-width: 600px) { .amm-ring { border-width: 7px; } .amm-ring__e { font-size: 34px; } .amm-ring__t { font-size: 14px; } }

/* Team photos: hover one — it moves slowly in colour, the others turn grey */
.amm-grid .amm-lawyer__photo img { transition: filter .6s ease, transform 1.2s ease; }
.amm-grid:has(.amm-lawyer:hover) .amm-lawyer:not(:hover) .amm-lawyer__photo img { filter: grayscale(1); opacity: .85; }
.amm-grid .amm-lawyer:hover .amm-lawyer__photo img { filter: none; transform: scale(1.06) translateY(-4px); }
.amm-grid .amm-lawyer__photo { overflow: hidden; }
/* rings: line icons in the logo navy instead of emoji */
.amm-ring__e { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #f1ede1; color: #021c3d; }
.amm-ring__e svg { width: 32px; height: 32px; }
.amm-rings__core span { display: grid; place-items: center; }
.amm-rings__core svg { width: 34px; height: 34px; color: #fff; }
@media (max-width: 600px) { .amm-ring__e { width: 48px; height: 48px; } .amm-ring__e svg { width: 24px; height: 24px; } }

/* ===== Homepage hero slider ===== */
.amm-hs-host { position: relative !important; overflow: hidden; }
.amm-hs-host > .et_pb_row { position: relative; z-index: 3; transition: opacity .8s ease; }
.amm-hs-host.amm-hs-on > .et_pb_row { opacity: 0; pointer-events: none; }
.amm-hs { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.amm-hs__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; color: #fff !important; text-decoration: none !important; }
.amm-hs__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,28,61,.92) 0%, rgba(2,28,61,.75) 45%, rgba(2,28,61,.35) 100%); }
.amm-ar .amm-hs__slide::before, [dir="rtl"] .amm-hs__slide::before { background: linear-gradient(270deg, rgba(2,28,61,.92) 0%, rgba(2,28,61,.75) 45%, rgba(2,28,61,.35) 100%); }
.amm-hs__slide.is-on { opacity: 1; pointer-events: auto; }
.amm-hs__cap { position: relative; width: 90%; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.amm-hs__cap > * { max-width: 640px; }
.amm-hs__tag { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #8fb0d6; }
.amm-hs__t { font-family: var(--amm-head, Georgia, serif); font-size: 44px; line-height: 1.3; font-weight: 700; color: #fff; }
.amm-hs__more { align-self: flex-start; padding: 10px 24px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff; }
.amm-hs__slide:hover .amm-hs__more { background: #fff; color: #021c3d; }
.amm-hs__dots { position: absolute; z-index: 4; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.amm-hs__dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.amm-hs__dots button.is-on { width: 28px; background: #fff; }
@media (max-width: 767px) { .amm-hs__t { font-size: 28px; } .amm-hs__cap { gap: 10px; } }

/* Homepage services: light effect */
.amm-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease, box-shadow .3s ease; }
.amm-reveal.is-in { opacity: 1; transform: none; }
.amm-map__branch--short.is-in:hover { transform: translateY(-4px); transition-delay: 0s !important; }
.amm-services .amm-map__node { transition: transform .5s ease; }
.amm-services .amm-map__branch--short:hover .amm-map__node { transform: translateY(-3px) rotate(-6deg); }
.amm-services .amm-map__chips li { transition: background .3s, color .3s, border-color .3s; }
.amm-services .amm-map__branch--short:hover .amm-map__chips li { border-color: #c9d4e3; }
.amm-services .amm-map__more { transition: letter-spacing .3s; }
.amm-services .amm-map__branch--short:hover .amm-map__more { letter-spacing: .03em; }

/* ===== Homepage "Our Services" cards: colour change on hover only ===== */
.amm-pillars .et_pb_column:has(.et_pb_blurb) { transition: background-color .35s ease; }
.amm-pillars .et_pb_column:has(.et_pb_blurb):hover { background-color: #021c3d !important; }
.amm-pillars .et_pb_blurb h4, .amm-pillars .et_pb_blurb h4 *, .amm-pillars .et_pb_blurb .et_pb_blurb_description, .amm-pillars .et_pb_blurb .et_pb_blurb_description * { transition: color .35s ease; }
.amm-pillars .et_pb_column:hover .et_pb_blurb h4, .amm-pillars .et_pb_column:hover .et_pb_blurb h4 *, .amm-pillars .et_pb_column:hover .et_pb_blurb_description, .amm-pillars .et_pb_column:hover .et_pb_blurb_description * { color: #fff !important; }

/* ===== Pages whose first section holds plugin content (e.g. Articles): undo the 128px hero rules ===== */
body.page:not(.home) #main-content .et_pb_section.et_pb_section_0.et_pb_with_background:has(.amm-section) { height: auto !important; min-height: 0 !important; display: block !important; padding: 40px 0 60px !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background:has(.amm-section) .et_pb_row { width: 90% !important; max-width: 1180px !important; margin: 0 auto !important; display: block !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background:has(.amm-section) .et_pb_column { width: 100% !important; }

/* ===== Inner-page heroes: text centred on the image ===== */
body.page:not(.home) #main-content .et_pb_section.et_pb_section_0.et_pb_with_background:not(:has(.amm-section)) { flex-direction: column !important; justify-content: center !important; align-items: center !important; gap: 10px; padding: 0 5% !important; text-align: center; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background:not(:has(.amm-section)) .et_pb_row { padding: 0 !important; margin: 0 auto !important; width: auto !important; display: flex !important; justify-content: center !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background:not(:has(.amm-section)) .et_pb_column { display: flex !important; flex-direction: column; align-items: center; justify-content: center; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background:not(:has(.amm-section)) .et_pb_module { margin: 0 auto !important; text-align: center !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background:not(:has(.amm-section)) .et_pb_heading .et_pb_module_heading { font-size: 28px !important; line-height: 1.25 !important; margin: 0 !important; padding: 0 !important; text-align: center !important; }
body.page:not(.home) #main-content .et_pb_section_0.et_pb_with_background:not(:has(.amm-section)) .et_pb_button { padding: 6px 20px !important; font-size: 14px !important; }

/* ===== Unified type scale (sizes already used on the site) and justified text =====
   18px lead / reading text · 16px body · 15px card descriptions · 13px meta */
#main-content .amm .amm-sub, #main-content .amm .amm-cta__s, #main-content .amm-lead p, #main-content .amm-area__intro p,
#main-content .amm-article__body p, #main-content .amm-article__body li { font-size: 18px !important; line-height: 1.85 !important; }
#main-content .amm-privacy__item p, #main-content .amm-about__facts li, #main-content .amm-faq__a, #main-content .amm-inq__s,
#main-content li.amm-step, #main-content li.amm-tile { font-size: 16px !important; line-height: 1.85 !important; }
#main-content .et_pb_blurb_description, #main-content .et_pb_blurb_description p, #main-content .amm-tile__d, #main-content .amm-why__d,
#main-content .amm-step__d, #main-content .amm-pillar__desc, #main-content .amm-card__excerpt, #main-content .amm-lawyer__bio,
#main-content .amm-inq__points li, #main-content .amm-about__frole { font-size: 15px !important; line-height: 1.8 !important; }
#main-content .amm-lawyer__role, #main-content .amm-mini__date, #main-content .amm-meta, #main-content .amm-article__meta,
#main-content .amm-map__chips li, #main-content .amm-inq__consent, #main-content .amm-tags, #main-content .amm-lead__label { font-size: 13px !important; }
/* justified on both sides (last line follows the reading direction) */
#main-content .amm-lead p, #main-content .amm-area__intro p, #main-content .amm-article__body p, #main-content .amm-article__body li,
#main-content .et_pb_text .et_pb_text_inner > p, #main-content .amm-privacy__item p, #main-content .amm-about__facts li, #main-content .amm-faq__a,
#main-content .amm-inq__s, #main-content .et_pb_blurb_description, #main-content .et_pb_blurb_description p, #main-content .amm-tile__d,
#main-content .amm-why__d, #main-content .amm-step__d, #main-content .amm-pillar__desc, #main-content .amm-card__excerpt,
#main-content .amm-lawyer__bio, #main-content .amm-inq__points li { text-align: justify !important; text-justify: inter-word; text-align-last: start; hyphens: auto; }
/* centred lines stay centred, but wrap evenly when they run onto two lines */
#main-content .amm .amm-sub, #main-content .amm .amm-cta__s { text-align: justify !important; text-align-last: center !important; max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
body.home #main-content .et_pb_section_0 .et_pb_text .et_pb_text_inner > p { text-align: inherit !important; }

/* ===== Article headings (H2/H3) and the service link box ===== */
#main-content .amm-article__body h2 { font-size: 30px !important; line-height: 1.4 !important; margin: 1.6em 0 .6em !important; padding: 0 !important; color: #021c3d; }
#main-content .amm-article__body h3 { font-size: 23px !important; line-height: 1.45 !important; margin: 1.3em 0 .5em !important; padding: 0 !important; color: #021c3d; }
#main-content .amm-article__body a { color: #021c3d; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
#main-content .amm-article__body .amm-svc-inline { font-size: 16px !important; color: #555; border-inline-start: 3px solid #c9a227; padding-inline-start: 12px; }
.amm-svcbox { margin: 36px 0 10px; padding: 26px 28px; background: #021c3d; color: #fff; border-radius: 10px; }
.amm-svcbox__t { font-size: 22px; font-weight: 700; margin-bottom: 6px; color: #fff; }
#main-content .amm-svcbox__s { font-size: 15px !important; color: rgba(255,255,255,.85); margin: 0 0 16px; text-align: start !important; }
.amm-svcbox__btn { display: inline-block; padding: 9px 24px; border: 1px solid #fff; border-radius: 999px; color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none !important; transition: background .3s, color .3s; }
.amm-svcbox__btn:hover { background: #fff; color: #021c3d !important; }
@media (max-width: 767px) { #main-content .amm-article__body h2 { font-size: 24px !important; } #main-content .amm-article__body h3 { font-size: 20px !important; } }

/* ===== Header menu: bolder text, logo navy on hover ===== */
#top-menu > li:not(.amm-lang-li) > a { font-weight: 700 !important; color: #5f6470 !important; opacity: 1 !important; transition: color .25s ease !important; }
#top-menu > li:not(.amm-lang-li) > a:hover,
#top-menu > li:not(.amm-lang-li):hover > a,
#top-menu > li.current-menu-item > a, #top-menu > li.current-menu-ancestor > a, #top-menu > li.current_page_item > a { color: #021c3d !important; opacity: 1 !important; }
#top-menu li li a { font-weight: 600 !important; transition: color .25s ease !important; }
#top-menu li li a:hover { color: #021c3d !important; opacity: 1 !important; }

/* ===== Contact page intro text ===== */
.amm-contact-intro { padding: 50px 5% 50px; }
.amm-contact-intro__in { max-width: 900px; margin: 0 auto; }
#main-content .amm-contact-intro h2 { font-size: 28px !important; color: #021c3d; margin-bottom: 14px !important; }
#main-content .amm-contact-intro p { font-size: 16px !important; line-height: 1.9 !important; text-align: justify !important; text-align-last: start; color: #444; }
