/*
 * Inner pages (About, Mission, Values, Insight, Services, Attorneys, Library, FAQ,
 * articles, Legal Guides, Publications, Contact). Values follow the 1440px Figma frames;
 * comments give the Figma y position.
 */

/* ------------------------------------------------------------- nav state */

.site-nav a.is-active {
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

/* --------------------------------------------------------------- hero */

.page-hero {
	position: relative;
	min-height: 645px; /* 184 → 829 */
	overflow: hidden;
	isolation: isolate;
}

.page-hero__bg,
.page-hero__bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.page-hero__bg {
	z-index: -1;
}

.page-hero__bg img {
	object-fit: cover;
	object-position: 50% 0;
}

.page-hero__inner {
	max-width: var(--page);
	margin: 0 auto;
	padding: 179px 80px 72px 98px; /* tagline at 363 */
	padding-inline: 98px 80px;
}

.page-hero__tagline {
	margin-inline-start: -36px;
}

.breadcrumb ol {
	display: flex;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
	margin-top: 67px; /* 459 */
	color: var(--muted);
	font-size: 24px;
	line-height: 29px;
	text-transform: uppercase;
}

.lang-ar .breadcrumb ol {
	text-transform: none;
}

.breadcrumb li + li::before {
	content: "/";
	padding-inline: 0.25em;
}

.breadcrumb a:hover {
	color: var(--white);
}

.breadcrumb [aria-current] {
	color: var(--gold);
}

.page-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 19px;
	margin-top: 32px;
	margin-inline-start: -34px;
	color: var(--gold);
	font-size: 24px;
	line-height: 29px;
	letter-spacing: 0.23em;
}

.lang-ar .page-hero__eyebrow {
	letter-spacing: 0;
}

.page-hero__eyebrow::before {
	content: "";
	width: 56px;
	height: 2px;
	background: var(--gold);
}

.page-hero__title {
	max-width: 1224px;
	margin-top: 47px; /* 535 */
	font-family: var(--display);
	font-weight: 400;
	font-size: 64px;
	line-height: 82px;
	letter-spacing: var(--display-track);
}

.page-hero__eyebrow + .page-hero__title {
	margin-top: 8px;
	font-size: 70px;
	line-height: 89px;
}

.page-hero__title--medium {
	font-size: 36px;
	line-height: 46px;
}

.lang-ar .page-hero__title {
	font-weight: 500;
	font-size: 52px;
	line-height: 76px;
	letter-spacing: 0;
}

.lang-ar .page-hero__title--medium {
	font-size: 30px;
	line-height: 46px;
}

.page-hero__title .hl {
	font-style: normal;
}

.page-hero__eyebrow + .page-hero__title em.hl {
	font-style: italic;
}

.lang-ar .page-hero__title em.hl {
	font-style: normal;
}

.page-hero__subtitle {
	margin-top: 18px;
	color: var(--gold);
	font-weight: 600;
	font-size: 24px;
	line-height: 29px;
}

.page-hero__btn {
	margin-top: 39px;
	margin-inline-start: -8px;
}

/* Library-style pages (books photo) sit the title and button lower: title at 554, button at 702. */
.page-hero--books {
	min-height: 668px;
}

.page-hero--books .page-hero__title {
	margin-top: 66px;
}

.page-hero--books .page-hero__btn {
	margin-top: 66px;
}

.page-hero--books .page-hero__eyebrow + .page-hero__title,
.page-hero--books .page-hero__eyebrow {
	margin-top: 8px;
}

.page-hero--books .page-hero__eyebrow {
	margin-top: 41px;
}

.page-hero--consult .page-hero__btn {
	margin-top: 20px;
}

/* -------------------------------------------------------- content grid */

.inner {
	max-width: var(--page);
	margin: 0 auto;
	padding: 67px 66px 82px 90px; /* sidebar at 896, divider 82 below the content */
	padding-inline: 90px 66px;
}

.inner--aside {
	display: grid;
	grid-template-columns: minmax(0, 800px) 443px;
	justify-content: space-between;
	align-items: start;
	column-gap: 40px;
}

.inner--wide {
	padding: 144px 114px 150px 116px; /* text at 996 */
	padding-inline: 116px 114px;
}

.inner--article {
	grid-template-columns: minmax(0, 839px) 443px;
	padding-top: 207px; /* 1059 */
	padding-inline: 76px 43px;
}

.side-menu--articles a {
	text-transform: none;
}

.inner--services {
	padding-top: 96px; /* 948 */
	padding-inline: 75px 64px;
	padding-bottom: 262px;
}

/* ------------------------------------------------------------ body text */

.body-text {
	font-size: 24px;
	line-height: 29px;
	letter-spacing: 0.02em;
}

.body-text p + p {
	margin-top: 0;
}

.body-text .gap,
.body-text h3 + p.gap,
.body-text p.gap {
	margin-top: 29px;
}

.body-text h3 {
	margin-top: 29px;
	color: var(--gold);
	font-weight: 600;
	font-size: inherit;
	line-height: inherit;
}

.body-text h3:first-child {
	margin-top: 0;
}

.body-text--medium {
	font-weight: 600;
}

.body-text--medium h3 {
	font-size: 30px;
	line-height: 37px;
}

.body-text--large {
	font-weight: 600;
	font-size: 32px;
	line-height: 39px;
}

.body-text--large h3 {
	font-weight: 700;
	font-size: 36px;
	line-height: 44px;
}

.body-text--large .gap,
.body-text--large h3 + p {
	margin-top: 39px;
}

.body-text--large h3:first-of-type {
	margin-top: 150px;
}

.body-text strong {
	color: inherit;
	font-weight: 700;
}

.body-text ul,
.body-text ol {
	padding-inline-start: 1.2em;
}

.body-text ul {
	list-style: disc;
}

.lang-ar .body-text {
	letter-spacing: 0;
}

.lang-ar .body-text--large {
	font-size: 28px;
	line-height: 42px;
}

.article-text {
	font-weight: 600;
	font-size: 26px;
	line-height: 32px;
	letter-spacing: 0.02em;
}

.article-text h3 {
	margin-top: 32px;
	color: var(--gold);
	font-weight: 600;
	font-size: inherit;
	line-height: inherit;
	scroll-margin-top: 24px;
}

.article-text h3:first-child {
	margin-top: 0;
}

.article-text .gap {
	margin-top: 32px;
}

.article-text ol {
	padding-inline-start: 1.6em;
	list-style: decimal;
}

.article-text .toc {
	display: grid;
	gap: 6px;
}

.article-text .toc a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.article-text .toc a:hover {
	color: var(--gold);
}

.lang-ar .article-text {
	font-weight: 500;
	font-size: 22px;
	line-height: 36px;
	letter-spacing: 0;
}

/* ------------------------------------------------------------- sidebar */

.sidebar {
	display: grid;
	gap: 107px; /* menu card ends 1204, call card at 1311 */
}

.side-menu,
.speak-card {
	min-height: 308px;
	background: var(--navy-2);
	border-radius: 20px;
}

.side-menu {
	min-height: 234px;
	padding: 25px 33px 34px 39px;
	padding-inline: 39px 33px;
}

.side-menu__title {
	color: var(--gold);
	font-weight: 600;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lang-ar .side-menu__title {
	letter-spacing: 0;
}

.side-menu ul {
	margin-top: 20px;
	margin-inline-start: 2px;
	border-inline-start: 2px solid rgba(225, 172, 108, 0.6);
}

.side-menu a {
	display: flex;
	align-items: center;
	min-height: 50px;
	margin-inline-start: -2px;
	padding: 8px 12px 8px 37px;
	padding-inline: 37px 12px;
	border-inline-start: 2px solid transparent;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	transition: color 0.2s, background-color 0.2s;
}

.side-menu a:hover {
	color: var(--gold);
}

.side-menu a.is-active {
	background: rgba(225, 172, 108, 0.15);
	border-color: var(--gold);
	color: var(--gold);
}

.speak-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 24px 34px;
	text-align: center;
}

.speak-card__icon {
	display: grid;
	place-items: center;
	width: 83px;
	height: 83px;
	border: 1px solid var(--gold);
	border-radius: 50%;
}

.speak-card__icon img {
	width: 48px;
	height: auto;
}

.speak-card__title {
	margin-top: 26px;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
}

.speak-card__text {
	margin-top: 16px;
	font-size: 12px;
	line-height: 16px;
}

.speak-card__phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 338px;
	max-width: 100%;
	height: 57px;
	margin-top: 26px;
	border: 1px solid var(--gold);
	font-weight: 600;
	font-size: 22px;
	line-height: 27px;
	transition: background-color 0.2s;
}

.speak-card__phone:hover {
	background: rgba(225, 172, 108, 0.12);
}

.speak-card__phone img {
	width: 23px;
	height: auto;
}

/* ---------------------------------------------------------- testimonies */

.testimonies {
	margin-top: 62px;
}

.split-heading {
	display: flex;
	align-items: center;
	gap: 45px;
	color: var(--gold);
	font-weight: 600;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: 0.1em;
}

.split-heading::before,
.split-heading::after {
	content: "";
	height: 2px;
	background: linear-gradient(90deg, var(--gold), rgba(225, 172, 108, 0.2));
}

.split-heading::before {
	flex: 0 0 96px;
	background: var(--gold);
}

.split-heading::after {
	flex: 1;
}

.lang-ar .split-heading {
	letter-spacing: 0;
}

.lang-ar .split-heading::after {
	background: linear-gradient(270deg, var(--gold), rgba(225, 172, 108, 0.2));
}

.testimonies .body-text {
	max-width: 669px;
	margin-top: 40px;
}

.quote--wide {
	width: 785px;
	max-width: 100%;
	min-height: 157px;
	margin-top: 40px;
	padding: 46px 40px 22px 54px;
	padding-inline: 54px 40px;
	border-start-end-radius: 30px;
	border-end-end-radius: 30px;
}

.testimonies .body-text + .quote--wide {
	margin-top: 20px;
}

.quote--wide .quote__text {
	font-size: 25px;
	line-height: 32px;
	letter-spacing: var(--display-track);
}

.lang-ar .quote--wide .quote__text {
	font-size: 22px;
	line-height: 34px;
	letter-spacing: 0;
}

.quote--wide .quote__author {
	margin-top: 18px;
	font-size: 15px;
}

/* ------------------------------------------------------- values cards */

.statements {
	display: grid;
	gap: 53px;
	max-width: var(--page);
	margin: -88px auto 0; /* cards at 1669 */
	padding-inline: 84px 73px;
}

.statement {
	display: flex;
	align-items: center;
	min-height: 132px;
	padding: 20px 60px 20px 114px;
	padding-inline: 114px 60px;
	background: var(--navy-2);
	border-start-end-radius: 20px;
	border-end-end-radius: 20px;
	font-size: 24px;
	line-height: 29px;
	letter-spacing: 0.02em;
}

.lang-ar .statement {
	letter-spacing: 0;
}

.features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	max-width: 1154px;
	margin: 153px auto 75px; /* line at 3255 */
	padding-top: 59px;
	border-top: 1px solid var(--gold);
}

.feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 40px;
	min-height: 194px;
	text-align: center;
}

.feature + .feature {
	border-inline-start: 1px solid var(--gold);
}

.feature__icon img {
	width: auto;
	max-width: 113px;
	max-height: 134px;
}

.feature__label {
	font-weight: 600;
	font-size: 30px;
	line-height: 37px;
	letter-spacing: 0.02em;
}

/* --------------------------------------------------------- services page */

.services-page__title {
	color: var(--gold);
	font-family: var(--serif-bold);
	font-weight: 700;
	font-size: 36px;
	line-height: 48px;
	text-transform: uppercase;
	padding-inline-start: 17px;
}

.services-page__title--next {
	margin-top: 120px;
}

.lang-ar .services-page__title {
	font-family: var(--sans);
	font-weight: 600;
}

.services-page__grid {
	display: grid;
	grid-template-columns: repeat(2, 316px);
	gap: 67px 96px;
	margin-top: 76px; /* 1072 */
}

.services-page__item {
	display: grid;
	place-items: center;
	min-height: 76px;
	padding: 8px 24px;
	background: var(--navy-2);
	border: 1px solid var(--gold);
	border-radius: 10px;
	font-weight: 600;
	font-size: 20px;
	line-height: 24px;
	text-align: center;
}

.inner--services .sidebar {
	margin-top: 124px;
}

/* ------------------------------------------------------------ attorneys */

.attorneys {
	max-width: var(--page);
	margin: 0 auto;
	padding: 93px 118px 164px 90px; /* founder card at 945 */
	padding-inline: 90px 118px;
}

.attorneys__founders,
.attorneys__team {
	display: grid;
	grid-template-columns: repeat(3, 346px);
	justify-content: space-between;
	row-gap: 100px;
}

.attorneys__founders {
	justify-content: center;
}

.attorneys__team {
	margin-top: 102px;
}

.attorney-card {
	position: relative;
	min-height: 399px;
	padding: 31px 32px 28px;
	background: var(--navy-2);
	border-radius: 20px;
}

.attorney-card--founder {
	min-height: 433px;
	padding-top: 39px;
	border-start-start-radius: 14px;
}

.attorney-card__badge {
	position: absolute;
	inset: -7px 0 auto;
	height: 25px;
	padding-top: 5px;
	background: var(--gold);
	border-radius: 14px 14px 1px 0;
	color: var(--navy);
	font-weight: 500;
	font-size: 12px;
	line-height: 15px;
	text-align: center;
	text-transform: uppercase;
}

.attorney-card__photo {
	display: grid;
	place-items: center;
	height: 131px;
}

.attorney-card__photo img {
	width: 125px;
	height: 125px;
	object-fit: cover;
	border-radius: 50%;
}

.avatar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
}

.avatar__head {
	width: 63px;
	height: 62px;
	border-radius: 50%;
	background: #d9d9d9;
}

.avatar__body {
	width: 92px;
	height: 62px;
	border-radius: 100px 100px 0 0;
	background: #d9d9d9;
}

.attorney-card__name {
	margin-top: 28px;
	font-family: var(--serif-bold);
	font-weight: 700;
	font-size: 20px;
	line-height: 27px;
	text-transform: uppercase;
}

.lang-ar .attorney-card__name {
	font-family: var(--sans);
}

.attorney-card__facts {
	margin: 14px 0 0;
	padding-top: 22px;
	border-top: 1px solid transparent;
	border-image: linear-gradient(90deg, rgba(225, 172, 108, 0.3), var(--gold), rgba(225, 172, 108, 0.3)) 1;
}

.attorney-card__facts div {
	display: flex;
	gap: 8px;
	font-weight: 500;
	font-size: 13px;
	line-height: 16px;
	text-transform: uppercase;
}

.lang-ar .attorney-card__facts div {
	text-transform: none;
}

.attorney-card__facts div + div {
	margin-top: 23px;
}

.attorney-card__facts dt {
	color: var(--gold);
}

.attorney-card__facts dd {
	margin: 0;
}

.attorney-card__facts dt::after {
	content: ":";
}

.attorney-card__facts div:not(:has(dd)) dt::after {
	content: none;
}

.attorney-card__more {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid transparent;
	border-image: linear-gradient(90deg, rgba(225, 172, 108, 0.3), var(--gold), rgba(225, 172, 108, 0.3)) 1;
	width: 100%;
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 13px;
	line-height: 16px;
	text-transform: uppercase;
}

.read-more--gold {
	color: var(--gold);
}

.read-more__arrow {
	position: relative;
	width: 11px;
	height: 1px;
	background: currentColor;
}

.read-more__arrow::after {
	content: "";
	position: absolute;
	inset-inline-end: 0;
	top: -3px;
	width: 6px;
	height: 6px;
	border-top: 1px solid currentColor;
	border-inline-end: 1px solid currentColor;
	transform: rotate(45deg);
}

.lang-ar .read-more__arrow::after {
	transform: rotate(-45deg);
}

.read-more:hover {
	color: var(--gold);
}

/* ------------------------------------------------------ attorney profile */

.approach {
	margin-top: 32px;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: 0.02em;
}

.approach__title {
	color: var(--gold);
	font: inherit;
}

.approach__list {
	margin-top: 2px;
	padding-inline-start: 18px;
	list-style: disc;
	font-size: 24px;
	line-height: 29px;
}

.team-card {
	width: 629px;
	max-width: 100%;
	min-height: 308px;
	margin-top: 40px;
	margin-inline-start: 16px;
	padding: 34px 50px 34px 43px;
	padding-inline: 43px 50px;
	background: var(--navy-2);
	border-radius: 20px;
}

.team-card__title {
	margin-top: 23px;
	font-family: var(--serif-bold);
	font-weight: 700;
	font-size: 20px;
	line-height: 27px;
	text-transform: uppercase;
}

.lang-ar .team-card__title {
	font-family: var(--sans);
}

.team-card__text {
	margin-top: 10px;
	font-size: 16px;
	line-height: 20px;
}

.team-card .read-more {
	margin-top: 12px;
}

/* ----------------------------------------------------- library and FAQ */

.row-list {
	display: grid;
	gap: 45px;
	max-width: var(--page);
	margin: 0 auto;
	padding: 139px 79px 71px 84px; /* first row at 991 */
	padding-inline: 84px 79px;
}

.faq {
	padding-top: 97px; /* 949 */
}

.row-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 109px;
	padding: 20px 41px 20px 89px;
	padding-inline: 89px 41px;
	background: var(--navy-2);
	border-radius: 20px;
	font-weight: 600;
	font-size: 30px;
	line-height: 37px;
	letter-spacing: 0.02em;
	transition: background-color 0.2s;
}

.lang-ar .row-list__item {
	letter-spacing: 0;
}

a.row-list__item:hover,
summary.row-list__item:hover {
	background: #273152;
}

.row-list__arrow {
	position: relative;
	flex: none;
	width: 20px;
	height: 3px;
	background: var(--white);
}

.row-list__arrow::after {
	content: "";
	position: absolute;
	inset-inline-end: -1px;
	top: -5px;
	width: 11px;
	height: 11px;
	border-top: 3px solid var(--white);
	border-inline-end: 3px solid var(--white);
	transform: rotate(45deg);
}

.lang-ar .row-list__arrow::after {
	transform: rotate(-45deg);
}

.faq__item summary {
	cursor: pointer;
	list-style: none;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__toggle {
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
}

.faq__toggle::before,
.faq__toggle::after {
	content: "";
	position: absolute;
	inset: 50% 0 auto;
	height: 4px;
	margin-top: -2px;
	background: var(--white);
	transition: transform 0.25s;
}

.faq__toggle::after {
	transform: rotate(90deg);
}

.faq__item[open] .faq__toggle::after {
	transform: rotate(0deg);
}

.faq__item[open] summary {
	border-end-start-radius: 0;
	border-end-end-radius: 0;
}

.faq__answer {
	padding: 0 41px 32px 89px;
	padding-inline: 89px 41px;
	background: var(--navy-2);
	border-radius: 0 0 20px 20px;
	font-size: 22px;
	line-height: 32px;
}

.faq__answer p + p {
	margin-top: 12px;
}

/* --------------------------------------------------------- contact page */

.contact-page {
	max-width: var(--page);
	margin: 0 auto;
	padding: 43px 124px 130px 126px; /* "Get in touch" at 895 */
	padding-inline: 126px 124px;
}

.contact-page__title {
	padding-inline-start: 14px;
	font-weight: 500;
	font-size: 36px;
	line-height: 44px;
	text-transform: uppercase;
}

.contact-page__details {
	margin-top: 52px;
	padding-inline-start: 30px;
}

.contact-page__details li {
	display: flex;
	align-items: center;
	gap: 64px;
	min-height: 116px;
	color: var(--gold);
	font-weight: 600;
	font-size: 24px;
	line-height: 29px;
	border-bottom: 1px solid var(--gold);
}

.contact-page__details li:last-child {
	border-bottom: 0;
}

.contact-page__icon {
	display: grid;
	place-items: center;
	width: 42px;
}

.contact-page__icon img {
	width: 36px;
	height: 36px;
}

.contact-page__form-title {
	margin-top: 120px;
	padding-inline-start: 39px;
	font-family: var(--display);
	font-weight: 400;
	font-size: 36px;
	line-height: 46px;
	letter-spacing: var(--display-track);
}

.lang-ar .contact-page__form-title {
	font-family: var(--sans);
	letter-spacing: 0;
}

.contact-page .contact-form {
	width: 708px;
	max-width: 100%;
	margin-top: 35px;
}

/* -------------------------------------------------------------- 404 */

.page-hero--plain {
	min-height: 720px;
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 1399px) {
	.inner,
	.inner--wide,
	.inner--article,
	.inner--services,
	.attorneys,
	.row-list,
	.contact-page,
	.statements {
		padding-inline: var(--gutter);
	}

	.inner--aside {
		grid-template-columns: minmax(0, 1fr) 400px;
	}

	.services-page__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px;
	}

	.attorneys__founders,
	.attorneys__team {
		grid-template-columns: repeat(3, minmax(0, 346px));
		column-gap: 32px;
	}

	.features {
		margin-inline: var(--gutter);
	}
}

@media (max-width: 1180px) {
	.page-hero__inner {
		padding-top: 96px;
		padding-inline: var(--gutter);
	}

	.page-hero__tagline,
	.page-hero__eyebrow,
	.page-hero__btn {
		margin-inline-start: 0;
	}

	.inner--aside {
		grid-template-columns: 1fr;
		row-gap: 56px;
	}

	.inner,
	.inner--wide,
	.inner--article,
	.inner--services {
		padding-top: 64px;
		padding-bottom: 96px;
	}

	.sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.inner--services .sidebar {
		margin-top: 0;
	}

	.statements {
		margin-top: 0;
		padding-bottom: 24px;
	}

	.attorneys {
		padding-top: 72px;
		padding-bottom: 96px;
	}

	.attorneys__founders,
	.attorneys__team {
		grid-template-columns: repeat(2, minmax(0, 346px));
		justify-content: center;
		gap: 40px;
	}

	.row-list,
	.faq {
		padding-top: 72px;
	}

	.features {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 40px;
	}

	.feature:nth-child(odd) {
		border-inline-start: 0;
	}
}

@media (max-width: 767px) {
	.page-hero {
		min-height: 0;
	}

	.page-hero__inner {
		padding-top: 64px;
		padding-bottom: 56px;
	}

	.breadcrumb ol {
		margin-top: 28px;
		font-size: 15px;
		line-height: 20px;
	}

	.page-hero__title,
	.lang-ar .page-hero__title,
	.page-hero__eyebrow + .page-hero__title {
		margin-top: 16px;
		font-size: 40px;
		line-height: 48px;
	}

	.page-hero__title--medium,
	.lang-ar .page-hero__title--medium {
		font-size: 26px;
		line-height: 34px;
	}

	.page-hero__eyebrow {
		margin-top: 20px;
		font-size: 17px;
	}

	.page-hero__subtitle {
		font-size: 18px;
		line-height: 24px;
	}

	.page-hero__btn {
		flex: none;
		width: 180px;
		margin-top: 28px;
	}

	.body-text,
	.statement,
	.approach__list {
		font-size: 17px;
		line-height: 25px;
	}

	.body-text--large,
	.lang-ar .body-text--large {
		font-size: 20px;
		line-height: 28px;
	}

	.body-text--large h3,
	.body-text--medium h3 {
		font-size: 22px;
		line-height: 28px;
	}

	.article-text,
	.lang-ar .article-text {
		font-size: 17px;
		line-height: 26px;
	}

	.sidebar {
		grid-template-columns: 1fr;
	}

	.side-menu,
	.speak-card {
		min-height: 0;
	}

	.quote--wide {
		padding: 40px 22px 20px 26px;
		padding-inline: 26px 22px;
	}

	.quote--wide .quote__text {
		font-size: 20px;
		line-height: 27px;
	}

	.statements {
		gap: 16px;
	}

	.statement {
		min-height: 0;
		padding: 22px;
		padding-inline: 22px;
	}

	.features {
		margin-top: 56px;
		padding-top: 32px;
	}

	.feature {
		min-height: 150px;
		gap: 20px;
	}

	.feature__icon img {
		max-width: 72px;
		max-height: 86px;
	}

	.feature__label {
		font-size: 20px;
		line-height: 26px;
	}

	.services-page__title {
		font-size: 26px;
		line-height: 34px;
		padding-inline-start: 0;
	}

	.services-page__title--next {
		margin-top: 64px;
	}

	.services-page__grid {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 32px;
	}

	.attorneys__founders,
	.attorneys__team {
		grid-template-columns: minmax(0, 346px);
	}

	.team-card {
		margin-inline-start: 0;
		padding: 26px 22px;
	}

	.row-list {
		gap: 14px;
	}

	.row-list__item {
		min-height: 72px;
		padding: 16px 20px;
		padding-inline: 20px;
		font-size: 18px;
		line-height: 24px;
		border-radius: 14px;
	}

	.faq__answer {
		padding: 0 20px 20px;
		padding-inline: 20px;
		font-size: 16px;
		line-height: 24px;
	}

	.contact-page {
		padding-top: 48px;
		padding-bottom: 72px;
	}

	.contact-page__title {
		font-size: 26px;
		padding-inline-start: 0;
	}

	.contact-page__details {
		margin-top: 20px;
		padding-inline-start: 0;
	}

	.contact-page__details li {
		gap: 20px;
		min-height: 72px;
		font-size: 17px;
	}

	.contact-page__form-title {
		margin-top: 48px;
		padding-inline-start: 0;
		font-size: 28px;
	}
}

/* Articles: lines run on without paragraph spacing; blank lines in the copy add the gaps. */
.article-text p + p,
.body-text p + p {
	margin-top: 0;
}

.article-text .gap {
	margin-top: 32px;
}

/* ------------------------------------------------------------------------
 * Figma precision (desktop, 1440 frames). English and Arabic frames were laid
 * out separately in Figma, so each language gets its own measured values.
 * ---------------------------------------------------------------------- */
@media (min-width: 1181px) {
	/* hero: Arabic content edge sits at x 1322 */
	.lang-ar .page-hero__inner {
		padding-inline: 118px 60px;
	}

	.lang-ar .page-hero__tagline {
		margin-inline-start: -22px;
	}

	.lang-ar .breadcrumb ol {
		margin-top: 64px; /* 465 */
		color: #767e95;
		font-size: 30px;
		line-height: 37px;
	}

	.lang-ar .breadcrumb ol + * {
		margin-top: 0;
	}

	.lang-ar .page-hero__title {
		margin-top: 42px; /* 535 */
		font-weight: 400;
		font-size: 64px;
		line-height: 82px;
	}

	/* content: text column 829 wide; EN text at 837, sidebar at 896; AR text at 823, sidebar at 883 */
	.inner--aside {
		grid-template-columns: minmax(0, 829px) 443px;
		column-gap: 12px;
	}

	.lang-ar .inner {
		padding-inline: 81px 62px;
	}

	.inner--aside > .inner__main {
		margin-top: -59px;
	}

	.lang-ar .inner--aside > .inner__main {
		margin-top: -73px;
	}

	.lang-ar .inner--aside > .sidebar {
		margin-top: -13px;
	}

	/* sidebar cards */
	.side-menu--firm {
		min-height: 308px;
	}

	.lang-ar .sidebar {
		gap: 60px; /* AR call card at 1251 */
	}

	.lang-ar .side-menu {
		padding-inline: 62px 33px;
	}

	.lang-ar .side-menu__title {
		letter-spacing: 0.05em;
	}

	.side-menu ul {
		width: 342px;
	}

	.side-menu li:first-child a {
		margin-bottom: 11px; /* items at 980, 1041, 1087, 1133 */
	}

	.side-menu a {
		min-height: 46px;
	}

	.side-menu li:first-child a {
		min-height: 50px;
	}

	.lang-ar .side-menu a {
		padding-inline: 51px 12px;
	}

	/* testimonies: heading at 1292 (EN) / 1270 (AR), intro 42 below, quotes at 1619 / 1559 */
	.testimonies {
		margin-top: 24px;
	}

	.inner__main > .body-text:has(+ .testimonies) {
		min-height: 427px;
	}

	.testimonies .body-text {
		min-height: 199px;
		margin-top: 40px;
	}

	.lang-ar .testimonies .body-text {
		margin-top: 46px;
		margin-inline-start: 15px;
	}

	.quote--wide {
		padding-bottom: 12px; /* two-line quote card is 157 tall */
	}

	.testimonies .body-text + .quote--wide {
		margin-top: 20px;
	}

	.lang-en .testimonies .body-text + .quote--wide {
		margin-top: 31px;
	}

	.lang-ar .quote--wide {
		padding-inline: 27px 30px;
	}

	.lang-ar .quote--wide .quote__text {
		font-size: 25px;
		line-height: 32px;
	}
}

/* Title sizes: large 64, mid 50 (two-line titles), medium 36 (a full sentence). */
.page-hero__title--mid {
	font-size: 50px;
	line-height: 64px;
}

@media (min-width: 1181px) {
	.lang-ar .page-hero__title--mid {
		font-size: 50px;
		line-height: 64px;
	}

	.lang-ar .page-hero__title--medium {
		font-size: 36px;
		line-height: 46px;
	}

	.lang-ar .features {
		direction: ltr; /* Figma keeps Integrity on the left in Arabic too */
	}

	.lang-ar .feature {
		direction: rtl;
	}

	/* ---- per-page offsets taken from each Figma frame ---- */

	/* Mission: text 771 wide; EN text at 865 (x 64), AR at 860; AR sidebar at 852 */
	.oj-mission .inner--aside {
		grid-template-columns: minmax(0, 771px) 443px;
	}

	.lang-en.oj-mission .inner--aside > .inner__main {
		margin-top: -31px;
		margin-inline-start: -26px;
	}

	.lang-en.oj-mission .inner--aside > .sidebar {
		margin-top: 3px;
	}

	.lang-ar.oj-mission .inner--aside > .inner__main {
		margin-top: -36px;
		margin-inline-start: -21px;
	}

	.lang-ar.oj-mission .inner--aside > .sidebar {
		margin-top: -44px;
		margin-inline-end: 36px;
	}

	/* Values: text 769 wide at 892; AR sidebar at 878, x 84 */
	.oj-values .inner--aside {
		grid-template-columns: minmax(0, 769px) 443px;
	}

	.oj-values .inner--aside > .inner__main {
		margin-top: -4px;
	}

	.lang-en.oj-values .inner--aside > .inner__main {
		margin-inline-start: 2px;
	}

	.lang-en.oj-values .inner--aside > .sidebar {
		margin-top: -1px;
		margin-inline-end: 2px;
	}

	.lang-ar.oj-values .inner--aside > .inner__main {
		margin-top: -3px;
		margin-inline-start: -8px;
	}

	.lang-ar.oj-values .inner--aside > .sidebar {
		margin-top: -18px;
		margin-inline-end: 22px;
	}

	/* Insight: EN text 20/24 in a 700 column at 868; AR 25/31 at 887 */
	.lang-en.oj-insight .inner--aside {
		grid-template-columns: minmax(0, 700px) 443px;
	}

	.lang-en.oj-insight .body-text {
		font-size: 20px;
		line-height: 24px;
	}

	.lang-en.oj-insight .inner--aside > .inner__main {
		margin-top: -28px;
	}

	.lang-ar.oj-insight .body-text {
		font-size: 25px;
		line-height: 31px;
		letter-spacing: -0.01em;
	}

	.lang-ar.oj-insight .inner--aside > .inner__main {
		margin-top: -9px;
		margin-inline-start: -14px;
	}

	.lang-ar.oj-insight .inner--aside > .sidebar {
		margin-top: -10px;
		margin-inline-end: -9px;
	}

	/* The Firm pages: the text starts ~60px below the photo in both languages (client request). */
	.oj-about.oj-type-page .inner--aside > .inner__main,
	.oj-mission.oj-type-page .inner--aside > .inner__main,
	.oj-values.oj-type-page .inner--aside > .inner__main,
	.oj-insight.oj-type-page .inner--aside > .inner__main {
		margin-top: -7px;
	}

	/* Attorney profile: text at 904, side menu 234 tall, call card at 1262 */
	.oj-type-oj_attorney .inner--aside > .inner__main {
		margin-top: 8px;
	}

	.oj-type-oj_attorney .sidebar {
		gap: 132px;
	}

	.oj-type-oj_attorney .side-menu li:first-child a {
		margin-bottom: 32px; /* second item at 1062 */
	}
}

@media (min-width: 1181px) {
	/* Attorney profile: approach list at 1214 / 1172, "Our attorneys" card at 1425 / 1464 */
	.oj-type-oj_attorney .approach {
		margin-top: 49px;
	}

	.lang-ar.oj-type-oj_attorney .approach {
		margin-top: 65px;
	}

	.lang-ar.oj-type-oj_attorney .team-card {
		margin-top: 121px;
		margin-inline-start: -7px;
	}

	.team-card__text {
		min-height: 98px;
	}

	.team-card .read-more {
		margin-top: 10px;
	}

	/* Values: cards start at 1669 in both frames and are not mirrored in Arabic */
	.oj-values .statements {
		margin-top: -31px;
	}

	.lang-ar.oj-values .statements {
		margin-top: 33px;
		padding-inline: 73px 84px;
	}

	.lang-ar .statement {
		padding-inline: 47px 60px;
		border-radius: 0 20px 20px 0;
	}
}

@media (min-width: 1181px) {
	/* Services: heading at 948 (EN) / 961 (AR) */
	.inner--services > .inner__main {
		margin-top: 23px;
	}

	.lang-ar .inner--services > .inner__main {
		margin-top: 36px;
	}

	/* Attorneys: founder card centred at 945, team row at 1486 */
	.attorneys {
		padding-top: 118px;
	}

	.attorneys__founders {
		grid-template-columns: 346px;
	}

	/* Library / FAQ rows: AR text 48 from the right edge, arrow 58 from the left */
	.faq {
		padding-top: 120px;
	}

	.lang-ar .row-list__item {
		padding-inline: 43px 58px;
	}

	.lang-ar .faq__answer {
		padding-inline: 43px 58px;
	}

	.lang-ar .page-hero--books .page-hero__title {
		margin-top: 61px; /* 554 */
	}

	/* Contact page */
	.page-hero--books .page-hero__eyebrow {
		margin-top: 62px; /* 550 */
	}

	.page-hero--books .page-hero__eyebrow + .page-hero__title {
		margin-top: 23px; /* 602 */
	}

	.contact-page__details li:nth-child(1) {
		min-height: 121px;
	}

	.contact-page__details li:nth-child(2) {
		min-height: 161px;
	}

	.contact-page__form-title {
		margin-top: 70px;
	}

	.contact-page .contact-form {
		margin-top: 56px;
	}

	.contact-page {
		padding-bottom: 143px; /* footer logo at 2538 */
	}

	.oj-contact .site-footer__inner {
		padding-inline-start: 126px; /* Figma shifts this page's footer 51px in */
	}

	.lang-ar .attorney-card {
		padding-inline-start: 56px;
	}

	.lang-ar .attorney-card--founder {
		padding-inline-start: 73px;
	}
}

@media (min-width: 1181px) {
	/* Services call card: EN at 1072, AR at 1088 (x 72) */
	.inner--services > .sidebar {
		margin-top: 147px;
	}

	.lang-ar .inner--services > .sidebar {
		position: relative;
		left: 10px;
		margin-top: 163px;
	}

	/* AR Services grid sits at x 607 / 1019, heading ends at 1308 */
	.lang-ar .services-page__grid {
		padding-right: 24px;
	}

	.lang-ar .services-page__title {
		padding-inline-start: 51px;
	}

	/* AR hero text edge: book-photo pages at 1347, Contact at 1279 */
	.lang-ar .page-hero--books .page-hero__inner {
		padding-inline-start: 93px;
	}

	.lang-ar.oj-contact .page-hero--books .page-hero__inner {
		padding-inline-start: 161px;
	}
}

@media (min-width: 1181px) {
	/* Articles: EN text at 1059 (x 76 / 93), AR at 997 / 1024; article 2 and all Arabic use 32/39 */
	.oj-type-oj_article .inner--aside > .inner__main {
		margin-top: 0;
	}

	.oj-lebanese-legal-system .inner--aside > .inner__main {
		margin-inline-start: 17px;
	}

	.oj-lebanese-legal-system .article-text,
	.lang-ar .article-text {
		font-weight: 600;
		font-size: 32px;
		line-height: 39px;
		letter-spacing: 0.02em;
	}

	.lang-ar.oj-lebanese-lawyers-practice .article-text {
		font-weight: 700;
	}

	.lang-ar.oj-type-oj_article .inner--aside {
		grid-template-columns: minmax(0, 732px) 443px;
	}

	.lang-ar.oj-lebanese-lawyers-practice .inner--aside > .inner__main {
		margin-top: -62px;
		margin-inline-start: 4px;
	}

	.lang-ar.oj-lebanese-legal-system .inner--aside > .inner__main {
		margin-top: -35px;
		margin-inline-start: 39px;
	}

	.oj-type-oj_article .sidebar {
		gap: 79px; /* call card at 1372 */
	}

	.oj-type-oj_article .side-menu li:first-child a {
		margin-bottom: 30px; /* second article at 1223 */
	}

	.lang-ar .side-menu--articles {
		padding-inline-start: 34px;
	}

	/* Legal Guides / Publications: text at 1016 / 996; divider at 4022 / 2324 */
	.lang-ar .inner--wide {
		padding-inline: 115px 114px;
	}

	.oj-legal-guides .inner--wide > .inner__main {
		margin-top: 20px;
	}

	.oj-legal-guides .inner {
		min-height: 3170px;
	}

	.oj-publications .inner {
		min-height: 1472px;
	}

	.lang-ar .body-text--large {
		font-size: 32px;
		line-height: 39px;
	}

	.lang-ar .body-text--large > p:not(:has(strong)) {
		font-weight: 400;
	}
}

@media (min-width: 1181px) {
	/* Arabic article frames keep the smaller English-style breadcrumb */
	.lang-ar.oj-type-oj_article .breadcrumb ol {
		color: var(--muted);
		font-size: 24px;
		line-height: 29px;
	}
}

/* Blank lines in the copy (".gap") beat the homepage's Arabic "no paragraph spacing" rule. */
.lang-ar .body-text p.gap,
.lang-ar .body-text h3.gap {
	margin-top: 29px;
}

.lang-ar .body-text--large p.gap,
.lang-ar .body-text--large h3.gap,
.lang-ar .article-text p.gap,
.lang-ar .article-text h3.gap {
	margin-top: 39px;
}

/* ------------------------------------------------------------------------
 * Mobile / tablet hardening
 * ---------------------------------------------------------------------- */
.speak-card__phone {
	width: 100%;
	max-width: 338px;
}

.article-text,
.body-text {
	overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
	/* minmax(0, …) stops fixed-width cards (quotes, team card) from widening the column */
	.inner--aside {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sidebar {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1180px) {
	.body-text,
	.article-text,
	.statement,
	.approach__list,
	.faq__answer,
	.team-card__text,
	.quote--wide .quote__text {
		line-height: 1.5;
	}

	.lang-ar .body-text,
	.lang-ar .article-text,
	.lang-ar .statement,
	.lang-ar .approach__list,
	.lang-ar .faq__answer,
	.lang-ar .team-card__text,
	.lang-ar .quote--wide .quote__text {
		line-height: 1.7;
	}

	.body-text p + p,
	.article-text p + p,
	.lang-ar .body-text p + p,
	.lang-ar .article-text p + p {
		margin-top: 12px;
	}

	.services-page__item {
		line-height: 1.35;
	}

	.side-menu a {
		min-height: 48px;
	}

	.breadcrumb ol,
	.lang-ar .breadcrumb ol {
		font-size: 15px;
		line-height: 20px;
	}
}

@media (max-width: 1180px) {
	.attorneys__team {
		margin-top: 40px;
	}
}

/* Images and links that editors add inside page / article text */
.rich-text img {
	max-width: 100%;
	height: auto;
	margin: 24px 0;
	border-radius: 12px;
}

.rich-text .aligncenter {
	margin-inline: auto;
}

.rich-text figure.wp-caption {
	max-width: 100%;
}

.rich-text .wp-caption-text {
	margin-top: 8px;
	color: var(--muted);
	font-size: 15px;
}

.rich-text a:not(.toc a) {
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}
