/* PDP CARITAS release 5.9.1 - institutional presentation layer */
:root {
	--pdp590-ink: #102d49;
	--pdp590-muted: #526b81;
	--pdp590-navy: #03172c;
	--pdp590-navy-2: #082e4b;
	--pdp590-green: #0b4b3f;
	--pdp590-gold: #caa64c;
	--pdp590-gold-light: #eadba5;
	--pdp590-paper: #f8f6ef;
	--pdp590-mist: #edf4f7;
	--pdp590-line: rgba(16, 45, 73, .16);
	--pdp590-radius: 1.15rem;
	--pdp590-shadow: 0 1.2rem 3rem rgba(3, 23, 44, .09);
}

.pdp590,
.pdp590 * { box-sizing: border-box; }

.pdp590 {
	background: #fff;
	color: var(--pdp590-ink);
	font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
	font-size: clamp(1rem, .94rem + .12vw, 1.075rem);
	line-height: 1.78;
	overflow: clip;
}

.pdp590 h1,
.pdp590 h2,
.pdp590 h3 {
	color: inherit;
	font-family: "Noto Serif", Georgia, "Times New Roman", serif;
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1.08;
	margin: 0 0 .72em;
}

[dir="rtl"] .pdp590,
.rtl .pdp590 { font-family: Tahoma, "Noto Sans Arabic", "Segoe UI", sans-serif; }

[dir="rtl"] .pdp590 h1,
[dir="rtl"] .pdp590 h2,
[dir="rtl"] .pdp590 h3,
.rtl .pdp590 h1,
.rtl .pdp590 h2,
.rtl .pdp590 h3 { font-family: Tahoma, "Noto Naskh Arabic", serif; letter-spacing: 0; }

.pdp590 p { margin: 0 0 1.2rem; }
.pdp590 a { color: inherit; text-decoration: none; }
.pdp590-shell { margin-inline: auto; max-width: 1280px; padding-inline: clamp(1.25rem, 4.5vw, 4.5rem); width: 100%; }
.pdp590-section { padding-block: clamp(4.8rem, 8vw, 8.6rem); position: relative; }
.pdp590-section:nth-of-type(even) { background: var(--pdp590-mist); }

.pdp590-kicker {
	color: #087d71;
	font-size: .73rem;
	font-weight: 800;
	letter-spacing: .19em;
	margin-bottom: 1.25rem;
	text-transform: uppercase;
}

[dir="rtl"] .pdp590-kicker,
.rtl .pdp590-kicker { letter-spacing: .04em; }

.pdp590-section-head { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr) minmax(18rem, .72fr); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.pdp590-section-head .pdp590-kicker { grid-column: 1 / -1; margin: 0; }
.pdp590-section-head h2 { font-size: clamp(2.35rem, 4.6vw, 5.25rem); max-width: 12ch; }
.pdp590-section-head > p:last-child { align-self: end; color: var(--pdp590-muted); max-width: 42rem; }

.pdp590-hero {
	background-color: var(--pdp590-navy);
	background-image: linear-gradient(90deg, rgba(1, 13, 27, .98) 0%, rgba(1, 13, 27, .82) 38%, rgba(1, 13, 27, .08) 72%), url("../images/pdp-main-home-globe-approved.png");
	background-position: center;
	background-size: cover;
	color: #fff;
	min-height: min(780px, 82vh);
	position: relative;
}

[dir="rtl"] .pdp590-hero,
.rtl .pdp590-hero { background-image: linear-gradient(270deg, rgba(1, 13, 27, .98) 0%, rgba(1, 13, 27, .82) 38%, rgba(1, 13, 27, .08) 72%), url("../images/pdp-main-home-globe-approved.png"); background-position: center; }

.pdp590-hero::after { background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .28)); content: ""; inset: 0; pointer-events: none; position: absolute; }
.pdp590-hero-grid { align-items: center; display: grid; min-height: inherit; position: relative; z-index: 1; }
.pdp590-hero-copy { max-width: 720px; padding-block: 5rem; }
.pdp590-hero-copy .pdp590-kicker { color: var(--pdp590-gold-light); }
.pdp590-hero h1 { color: #fff; font-size: clamp(3.65rem, 7.6vw, 7.8rem); max-width: 8ch; text-wrap: balance; }
.pdp590-hero-copy > p:not(.pdp590-kicker) { color: rgba(255,255,255,.84); font-size: clamp(1.08rem, 1.5vw, 1.34rem); max-width: 58ch; }
.pdp590-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.pdp590-btn {
	align-items: center;
	border: 1px solid currentColor;
	border-radius: .55rem;
	display: inline-flex;
	font-size: .92rem;
	font-weight: 750;
	justify-content: center;
	min-height: 3.4rem;
	padding: .75rem 1.55rem;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.pdp590-btn:hover,
.pdp590-btn:focus-visible { transform: translateY(-2px); }
.pdp590-btn-gold { background: var(--pdp590-gold); border-color: var(--pdp590-gold); color: #07192b; box-shadow: 0 .7rem 2rem rgba(202,166,76,.2); }
.pdp590-btn-ghost { background: rgba(255,255,255,.04); color: #fff; }

.pdp590-intro { background: var(--pdp590-paper) !important; }
.pdp590-pillars { border-block: 1px solid var(--pdp590-line); display: grid; grid-template-columns: repeat(3, 1fr); }
.pdp590-pillars article { padding: clamp(2rem, 4vw, 3.8rem); position: relative; }
.pdp590-pillars article + article { border-inline-start: 1px solid var(--pdp590-line); }
.pdp590-pillars span { background: var(--pdp590-gold); border-radius: 50%; display: block; height: .62rem; margin-bottom: 1.7rem; width: .62rem; }
.pdp590-pillars h3 { font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.pdp590-pillars p { color: var(--pdp590-muted); margin: 0; }

.pdp590-leadership { background: linear-gradient(135deg, #053c37, #071f34 68%, #021426) !important; color: #fff; }
.pdp590-leadership .pdp590-kicker { color: var(--pdp590-gold-light); }
.pdp590-gateways { display: grid; gap: 1.4rem; grid-template-columns: 1fr 1fr; }
.pdp590-gateways > a { align-items: center; background: rgba(255,255,255,.045); border: 1px solid rgba(234,219,165,.34); border-radius: var(--pdp590-radius); display: grid; gap: 2rem; grid-template-columns: minmax(10rem, .75fr) 1fr; min-height: 24rem; overflow: hidden; padding: clamp(1.4rem, 3vw, 2.6rem); transition: background-color .25s ease, transform .25s ease; }
.pdp590-gateways > a:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.pdp590-gateways h3 { color: #fff; font-size: clamp(2rem, 3vw, 3.2rem); }
.pdp590-gateways p { color: rgba(255,255,255,.7); }
.pdp590-symbol { align-self: stretch; background: linear-gradient(145deg, rgba(202,166,76,.18), rgba(255,255,255,.02)); border: 1px solid rgba(202,166,76,.32); min-height: 18rem; position: relative; }
.pdp590-arch { border-radius: 8rem 8rem .7rem .7rem; }
.pdp590-arch::after { border: 1px solid rgba(234,219,165,.5); border-bottom: 0; border-radius: 5rem 5rem 0 0; content: ""; inset: 22% 20% 0; position: absolute; }
.pdp590-corridor { clip-path: polygon(8% 0, 92% 0, 76% 100%, 24% 100%); }
.pdp590-corridor::before, .pdp590-corridor::after { border: 1px solid rgba(234,219,165,.38); content: ""; inset: 16%; position: absolute; }
.pdp590-corridor::after { inset: 31%; }

.pdp590-work { background: #fff !important; }
.pdp590-cards { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.pdp590-cards > a { background: #fff; border: 1px solid var(--pdp590-line); border-top: 3px solid var(--pdp590-gold); border-radius: .85rem; box-shadow: 0 .7rem 2.2rem rgba(3,23,44,.05); min-height: 18rem; padding: clamp(1.5rem, 2.5vw, 2.3rem); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.pdp590-cards > a:hover { border-color: rgba(202,166,76,.65); box-shadow: var(--pdp590-shadow); transform: translateY(-4px); }
.pdp590-cards b { color: #087d71; font-size: .72rem; letter-spacing: .13em; }
.pdp590-cards h3 { font-size: clamp(1.4rem, 2vw, 2rem); margin-top: 3.6rem; }
.pdp590-cards p { color: var(--pdp590-muted); font-size: .94rem; margin-bottom: 0; }

.pdp590-languages { background: var(--pdp590-paper) !important; }
.pdp590-language-grid { display: grid; gap: .8rem; grid-template-columns: repeat(5, 1fr); }
.pdp590-language-grid a { align-items: center; background: #fff; border: 1px solid var(--pdp590-line); border-radius: .65rem; display: flex; gap: .85rem; min-height: 5.2rem; padding: 1rem 1.2rem; }
.pdp590-language-grid a:hover { border-color: var(--pdp590-gold); }
.pdp590-language-grid span { color: #087d71; font-size: .72rem; font-weight: 800; }

.pdp590-news { background: #fff !important; }
.pdp590-news-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
.pdp590-news-grid article { border-bottom: 2px solid var(--pdp590-gold); padding: 1rem 0 2.2rem; }
.pdp590-news-grid time { color: #087d71; font-size: .78rem; font-weight: 700; }
.pdp590-news-grid h3 { font-size: clamp(1.45rem, 2.2vw, 2.15rem); margin-top: 1.2rem; }
.pdp590-news-grid p { color: var(--pdp590-muted); }
.pdp590-empty { border: 1px dashed var(--pdp590-line); color: var(--pdp590-muted); grid-column: 1 / -1; padding: 2rem; text-align: center; }

.pdp590-verification,
.pdp590-contact-strip { background: linear-gradient(105deg, #06263f, #08645e); color: #fff; padding-block: clamp(3.2rem, 5vw, 5rem); }
.pdp590-verification .pdp590-shell,
.pdp590-contact-strip .pdp590-shell { align-items: center; display: flex; gap: 2rem; justify-content: space-between; }
.pdp590-verification .pdp590-kicker { color: var(--pdp590-gold-light); }
.pdp590-verification h2,
.pdp590-contact-strip h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 4rem); margin-bottom: .4rem; }
.pdp590-verification p { color: rgba(255,255,255,.74); margin: 0; max-width: 60ch; }
.pdp590-verification-platform { background: linear-gradient(110deg, #031a2e 0%, #075047 100%); }
.pdp590-verification-platform .pdp590-shell { align-items: stretch; display: grid; gap: clamp(2rem,5vw,5rem); grid-template-columns: minmax(0,.85fr) minmax(22rem,1fr); }
.pdp590-verification-copy { align-self: center; }
.pdp590-verification-copy .pdp590-text-link { border-bottom: 1px solid var(--pdp590-gold); color: var(--pdp590-gold-light); display: inline-block; font-weight: 750; margin-top: 1.5rem; padding-bottom: .25rem; }
.pdp590-verification-platform .pdp-ipp-verify { align-self: stretch; margin: 0; max-width: none; padding: clamp(1.6rem,3vw,2.8rem); }
.pdp590-verification-platform .pdp-ipp-verify h3 { color: var(--pdp590-ink); font-size: clamp(1.65rem,2.6vw,2.5rem); margin: .25rem 0 .6rem; }
.pdp590-verification-platform .pdp-ipp-verify p { color: var(--pdp590-muted); }
.pdp590-verification-platform .pdp-ipp-result { color: var(--pdp590-ink); }

/* Leadership offices */
.pdp590-office-founder { --office-accent: #d0b262; --office-deep: #080e18; }
.pdp590-office-director { --office-accent: #66d6ca; --office-deep: #042a3c; }
.pdp590-community-office { --office-accent: #85e1b8; --office-deep: #062c29; }
.pdp590-community-persian { --office-accent: #e0bd65; --office-deep: #10263c; }
.pdp590-community-french { --office-accent: #8fd5c9; --office-deep: #173042; }
.pdp590-community-russian { --office-accent: #e0b96f; --office-deep: #262b38; }
.pdp590-office-founder .pdp590-office-hero { background: linear-gradient(115deg, rgba(3,8,15,.94), rgba(3,10,17,.76)), url("../images/backgrounds/founder-deep-sky-background-v1.png") center / cover no-repeat; }
.pdp590-office-hero { background: radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--office-accent) 18%, transparent), transparent 30%), linear-gradient(115deg, var(--office-deep), #020d18); color: #fff; min-height: 690px; position: relative; }
.pdp590-office-hero::before { background: linear-gradient(120deg, transparent 0 68%, rgba(255,255,255,.04) 68% 69%, transparent 69%); content: ""; inset: 0; position: absolute; }
.pdp590-office-hero-grid { align-items: center; display: grid; grid-template-columns: 1.12fr .88fr; min-height: inherit; position: relative; }
.pdp590-office-hero .pdp590-kicker { color: var(--office-accent); }
.pdp590-office-hero h1 { color: #fff; font-size: clamp(3.35rem, 6vw, 6.7rem); max-width: 11ch; }
.pdp590-office-hero strong { color: var(--office-accent); display: block; font-size: 1.05rem; margin-bottom: 1.6rem; }
.pdp590-office-hero p { color: rgba(255,255,255,.76); font-size: clamp(1.04rem, 1.4vw, 1.28rem); max-width: 58ch; }
.pdp590-office-hero figure { align-self: end; height: min(640px, 76vh); margin: 0; position: relative; }
.pdp590-office-hero figure::after { background: linear-gradient(180deg, transparent 62%, var(--office-deep) 100%), linear-gradient(90deg, var(--office-deep), transparent 25%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.pdp590-office-hero img { filter: saturate(.84) contrast(.96); height: 100%; object-fit: contain; object-position: center bottom; opacity: .84; width: 100%; }
.pdp590-office-director .pdp590-office-hero img { filter: grayscale(1) contrast(.92) brightness(.78); object-fit: contain; object-position: center bottom; opacity: .9; transform: none; -webkit-mask-image: linear-gradient(90deg, #000 0 80%, transparent 100%); mask-image: linear-gradient(90deg, #000 0 80%, transparent 100%); }
.pdp590-office-founder .pdp590-office-hero img { object-position: center 18%; }
.pdp590-community-hero { background-image: linear-gradient(90deg, rgba(2,13,24,.97) 0%, rgba(2,20,35,.83) 46%, rgba(2,17,30,.18) 100%), url("../images/pdp-global-knowledge-network-hero-v1.png"); background-position: center; background-size: cover; min-height: 700px; overflow: hidden; }
.pdp590-community-hero::before { background: linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 100%); background-size: 16vw 100%; }
.pdp590-community-hero::after { background: linear-gradient(90deg,var(--office-accent),transparent); bottom: 0; content: ""; height: 2px; inset-inline-start: 0; position: absolute; width: min(42vw,38rem); }
.pdp590-community-hero-copy { align-content: stretch; display: grid; grid-template-rows: 1fr auto; min-height: inherit; padding-block: clamp(7rem,12vw,10rem) 2.2rem; position: relative; }
.pdp590-community-hero-message { align-self: center; max-width: 760px; }
.pdp590-community-hero-copy h1 { font-size: clamp(4rem,7vw,7.8rem); line-height: 1.02; max-width: 13ch; }
.pdp590-community-hero-copy > .pdp590-community-hero-message > p:last-child { color: rgba(255,255,255,.74); font-size: clamp(1.08rem,1.5vw,1.35rem); max-width: 47ch; }
.pdp590-community-hero-rail { align-items: center; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 0; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 880px; }
.pdp590-community-hero-rail span { color: rgba(255,255,255,.78); font-size: .78rem; font-weight: 750; letter-spacing: 0; min-height: 4.2rem; padding: 1.25rem 1.4rem; }
.pdp590-community-hero-rail span + span { border-inline-start: 1px solid rgba(255,255,255,.18); }
.pdp590-community-leadership { background: linear-gradient(105deg,#061521 0%,#0b2732 100%); border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; padding-block: clamp(2rem,3vw,2.8rem); }
.pdp590-community-leader-card { align-items: center; display: grid; gap: clamp(1.5rem,3vw,2.8rem); grid-template-columns: 11rem minmax(0,1fr) auto; min-height: 14rem; width: 100%; }
.pdp590-community-leader-card img { aspect-ratio: 4 / 5; border: 1px solid color-mix(in srgb,var(--office-accent) 55%,transparent); border-radius: .2rem; filter: saturate(.76) contrast(.98); height: 13rem; object-fit: cover; object-position: center 34%; width: 10.4rem; }
.pdp590-community-leader-card .pdp590-kicker { color: var(--office-accent); }
.pdp590-community-leader-card h2 { color: #fff; font-size: clamp(2rem,3.2vw,3.35rem); line-height: 1.12; margin: 0 0 .55rem; }
.pdp590-community-leader-card p:last-child { color: rgba(255,255,255,.65); margin: 0; }
.pdp590-community-office-mark { color: rgba(255,255,255,.24); font-family: Georgia,serif; font-size: clamp(2rem,5vw,4.6rem); white-space: nowrap; }
.pdp590-community-leader-card.is-pending { border-inline-start: 2px solid var(--office-accent); grid-template-columns: minmax(0,1fr) auto; min-height: 10rem; padding-inline-start: clamp(1.2rem,3vw,2.4rem); }

.pdp590-office-intro { background: var(--pdp590-paper) !important; }
.pdp590-office-intro .pdp590-section-head { grid-template-columns: minmax(0, 1fr) minmax(20rem, .8fr); }
.pdp590-office-intro .pdp590-section-head h2 { max-width: 13ch; }
.pdp590-org { background: var(--pdp590-navy) !important; color: #fff; }
.pdp590-org h2 { color: #fff; font-size: clamp(2.3rem, 4.5vw, 4.7rem); text-align: center; }
.pdp590-org-chart { border: 1px solid rgba(202,166,76,.4); border-radius: 1.6rem; display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; padding: clamp(1.4rem, 3vw, 3rem); position: relative; }
.pdp590-org-chart b { background: #0d4162; border: 1px solid var(--pdp590-gold); border-radius: 4rem; color: #fff; grid-column: 1 / -1; justify-self: center; min-width: min(24rem, 90%); padding: 1rem 2rem; text-align: center; }
.pdp590-org-chart span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: .8rem; padding: 1.3rem; text-align: center; }
.pdp590-directory { background: var(--pdp590-mist) !important; }
.pdp590-arabic-light { background: radial-gradient(circle at 50% 10%, rgba(86,226,163,.18), transparent 23%), #f2faf7 !important; }
.pdp590-community-office .pdp590-arabic-light { background: #f3f5f4 !important; }
.pdp590-community-office .pdp590-arabic-light .pdp590-section-head { align-items: start; grid-template-columns: minmax(16rem,.72fr) minmax(0,1.28fr); }
.pdp590-community-office .pdp590-arabic-light .pdp590-section-head h2 { font-size: clamp(2.7rem,4.4vw,4.9rem); line-height: 1.08; max-width: 12ch; }
.pdp590-community-office .pdp590-arabic-light .pdp590-section-head > p { max-width: 60ch; }
.pdp590-community-routes { border-bottom: 1px solid var(--pdp590-line); margin-top: clamp(2.5rem,5vw,4.5rem); }
.pdp590-community-routes a { align-items: center; border-top: 1px solid var(--pdp590-line); color: var(--pdp590-ink); display: grid; gap: 1.2rem; grid-template-columns: 4rem minmax(0,1fr) auto; min-height: 6rem; padding-inline: .25rem; text-decoration: none; transition: background-color .2s ease,padding .2s ease; }
.pdp590-community-routes a:hover { background: #fff; padding-inline: 1.25rem; }
.pdp590-community-routes b { color: var(--pdp590-gold); font-size: .78rem; }
.pdp590-community-routes h3 { font-size: clamp(1.2rem,2vw,1.65rem); margin: 0; }
.pdp590-community-routes span { color: #087d71; font-size: 1.5rem; }
.pdp590-office-services { background: #fff !important; }
.pdp590-office-services ul { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0,1fr)); list-style: none; margin: 2rem 0 0; padding: 0; }
.pdp590-office-services li { border-top: 1px solid var(--pdp590-line); color: var(--pdp590-ink); font-size: clamp(1rem,1.5vw,1.2rem); min-height: 5.5rem; padding: 1.4rem 2.8rem 1.4rem 0; position: relative; }
.pdp590-office-services li::before { color: #087d71; content: "✓"; font-weight: 800; inset-inline-start: 0; position: absolute; transform: translateX(-1.7rem); }
.pdp590-program-callout { background: #edf4f2 !important; }
.pdp590-program-callout .pdp590-shell { border-inline-start: 4px solid var(--pdp590-gold); padding-inline-start: clamp(1.3rem,3vw,3.2rem); }
.pdp590-program-callout h2 { font-size: clamp(2.1rem,4.5vw,4.6rem); max-width: 17ch; }
.pdp590-program-callout p:not(.pdp590-kicker) { color: var(--pdp590-muted); max-width: 72ch; }
.pdp590-program-callout .pdp590-text-link { border-bottom: 1px solid var(--pdp590-gold); display: inline-block; font-weight: 750; margin-top: 1.2rem; padding-bottom: .25rem; }

/* Standard public pages */
.pdp590-page-hero { background: linear-gradient(115deg, #073c43, #071a2d); color: #fff; padding-block: clamp(4rem, 7vw, 7rem); }
.pdp590-page-hero .pdp590-kicker { color: var(--pdp590-gold-light); }
.pdp590-page-hero h1 { color: #fff; font-size: clamp(3rem, 6vw, 6.5rem); max-width: 14ch; }
.pdp590-founder-message .pdp590-page-hero { overflow: hidden; padding-block: 0; background: linear-gradient(rgba(1,5,10,.8),rgba(1,5,10,.88)), url("../images/backgrounds/founder-deep-sky-background-v1.png") center / cover no-repeat; }
.pdp590-founder-message-grid { position: relative; display: flex; align-items: center; min-height: 680px; }
.pdp590-founder-message-grid > div { position: relative; z-index: 2; width: min(46%,560px); margin-right: auto; margin-left: 0; text-align: start; }
.pdp590-founder-message-grid figure { position: absolute; z-index: 1; inset: 0; margin: 0; }
.pdp590-founder-message-grid figure::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(5,8,13,.98),rgba(5,8,13,.84) 45%,rgba(5,8,13,.05) 74%); }
.pdp590-founder-message-grid img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.pdp-582-founder-message { margin: clamp(2rem,5vw,4rem) 0 0; overflow: hidden; background: #05080d; }
.pdp-582-founder-message img { display: block; width: 100%; height: auto; object-fit: contain; }
.pdp590-prose { max-width: 980px; }
.pdp590-prose .pdp590-lede { color: var(--pdp590-ink); font-family: "Noto Serif", Georgia, serif; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.45; }
.pdp590-prose h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); margin-top: 3rem; }
.pdp590-prose p:not(.pdp590-lede) { color: var(--pdp590-muted); max-width: 72ch; }

/* Header and language controls: repair crowded desktop/mobile presentation. */
.site-header .pdp-header-inner,
.site-header .pdp-header-row,
.pdp-site-header .pdp-header-inner { gap: clamp(.7rem, 1.5vw, 1.4rem); }
.pdp-site-name { font-size: clamp(.95rem, 1.2vw, 1.12rem) !important; line-height: 1.15 !important; max-width: 14rem; overflow: visible !important; -webkit-line-clamp: unset !important; }
.pdp-site-description { font-size: .73rem !important; max-width: clamp(11rem, 18vw, 19rem) !important; }
.pdp-language-switcher { overflow: visible !important; position: relative; z-index: 1000; }
.pdp-language-switcher[open] { z-index: 1001; }
.pdp-language-switcher[open] > ul,
.pdp-language-switcher[open] .pdp-language-list { background: #fff; border: 1px solid var(--pdp590-line); border-radius: .85rem; box-shadow: var(--pdp590-shadow); inset-inline-end: 0; min-width: 13rem; overflow: visible; padding: .5rem; position: absolute; top: calc(100% + .55rem); z-index: 1002; }
.pdp-language-switcher summary { cursor: pointer; white-space: nowrap; }
.pdp-language-switcher a { min-height: 2.65rem; }

/* Never show unresolved legacy assembly shortcodes to visitors. */
.entry-content > p:has(> code:only-child),
.entry-content > p:has(+ .pdp590) { max-width: none; }

@media (max-width: 1050px) {
	.pdp590-cards { grid-template-columns: repeat(2, 1fr); }
	.pdp590-language-grid { grid-template-columns: repeat(3, 1fr); }
	.pdp590-gateways > a { grid-template-columns: 1fr; }
	.pdp590-symbol { min-height: 12rem; }
	.pdp590-office-hero-grid { grid-template-columns: 1fr .8fr; }
	.pdp590-org-chart { grid-template-columns: repeat(2, 1fr); }
	.pdp590-news-grid { grid-template-columns: 1fr 1fr; }
	.main-navigation .menu { gap: .35rem !important; }
	.main-navigation a { font-size: .78rem !important; padding-inline: .42rem !important; }
}

@media (max-width: 720px) {
	.pdp590-office-services ul { grid-template-columns: 1fr; }
	.pdp590-office-services li { padding-inline-start: 2rem; }
	.pdp590-office-services li::before { inset-inline-start: .25rem; transform: none; }
}

@media (max-width: 782px) {
	.pdp590-shell { padding-inline: 1.15rem; }
	.pdp590-section { padding-block: 4rem; }
	.pdp590-section-head { display: block; }
	.pdp590-section-head h2 { font-size: clamp(2.35rem, 10vw, 3.9rem); max-width: 14ch; }
	.pdp590-section-head > p:last-child { margin-top: 1.5rem; }
	.pdp590-hero { background-image: linear-gradient(180deg, rgba(1,13,27,.16), rgba(1,13,27,.96) 76%), url("../images/pdp-main-home-globe-approved.png"); background-position: 68% center; min-height: 680px; }
	[dir="rtl"] .pdp590-hero,
	.rtl .pdp590-hero { background-image: linear-gradient(180deg, rgba(1,13,27,.16), rgba(1,13,27,.96) 76%), url("../images/pdp-main-home-globe-approved.png"); background-position: 32% center; }
	.pdp590-hero h1 { font-size: clamp(3.45rem, 18vw, 5.5rem); }
	.pdp590-pillars,
	.pdp590-gateways,
	.pdp590-cards,
	.pdp590-news-grid,
	.pdp590-language-grid { grid-template-columns: 1fr; }
	.pdp590-pillars article + article { border-inline-start: 0; border-top: 1px solid var(--pdp590-line); }
	.pdp590-gateways > a { min-height: 0; }
	.pdp590-cards > a { min-height: 15rem; }
	.pdp590-language-grid { grid-template-columns: 1fr 1fr; }
	.pdp590-verification .pdp590-shell,
	.pdp590-contact-strip .pdp590-shell { align-items: flex-start; flex-direction: column; }
	.pdp590-verification-platform .pdp590-shell { display: grid; grid-template-columns: 1fr; }
	.pdp590-office-hero { min-height: auto; padding-top: 3.5rem; }
	.pdp590-office-hero-grid { display: flex; flex-direction: column; }
	.pdp590-office-hero-grid > div { position: relative; z-index: 2; }
	.pdp590-office-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
	.pdp590-office-hero figure { height: 28rem; margin-inline: -1.15rem; opacity: .72; width: calc(100% + 2.3rem); }
	.pdp590-office-hero figure::after { background: linear-gradient(180deg, var(--office-deep), transparent 22%, var(--office-deep) 98%); }
	.pdp590-office-hero img { object-position: center top; }
	.pdp590-community-hero { background-image: linear-gradient(180deg, rgba(2,13,24,.18) 0%, rgba(2,13,24,.96) 72%), url("../images/pdp-global-knowledge-network-hero-v1.png"); background-position: 62% center; min-height: 650px; padding-top: 0; }
	[dir="rtl"] .pdp590-community-hero,
	.rtl .pdp590-community-hero { background-position: 38% center; }
	.pdp590-community-hero-copy { align-content: end; display: grid; grid-template-rows: 1fr auto; min-height: 650px; padding-block: 8rem 1.5rem; }
	.pdp590-community-hero-copy h1 { font-size: clamp(3.25rem,13vw,5.15rem); }
	.pdp590-community-hero-rail { grid-template-columns: 1fr; }
	.pdp590-community-hero-rail span { min-height: 0; padding: .7rem 0; }
	.pdp590-community-hero-rail span + span { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.12); }
	.pdp590-community-leader-card { grid-template-columns: 7.5rem minmax(0,1fr); min-height: 10rem; }
	.pdp590-community-leader-card img { height: 9rem; width: 7.2rem; }
	.pdp590-community-office-mark { display: none; }
	.pdp590-community-leader-card.is-pending { grid-template-columns: 1fr; }
	.pdp590-community-office .pdp590-arabic-light .pdp590-section-head { display: block; }
	.pdp590-community-office .pdp590-arabic-light .pdp590-section-head h2 { font-size: clamp(2.5rem,10vw,3.8rem); }
	.pdp590-community-routes a { grid-template-columns: 2.6rem minmax(0,1fr) auto; }
	.pdp590-org-chart { grid-template-columns: 1fr; }
	.pdp590-org-chart b { min-width: 0; width: 100%; }
	.pdp590-page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
	.pdp590-founder-message-grid { min-height: 680px; padding-top: 22rem; align-items:flex-end; }
	.pdp590-founder-message-grid > div { width:100%; padding:1.5rem 0 4rem; }
	.pdp590-founder-message-grid figure { height:360px; inset:20px -1.15rem auto; margin:0; }
	.pdp590-founder-message-grid figure::after { background:linear-gradient(180deg,rgba(5,8,13,.06) 22%,rgba(5,8,13,.96) 68%); }
	.pdp590-founder-message-grid img { object-fit:cover; object-position:right top; }
	.pdp590-actions { align-items: stretch; flex-direction: column; }
	.pdp590-btn { width: 100%; }

	/* Theme menu is a real overlay instead of a tall blank column. */
	.menu-toggle,
	.pdp-menu-toggle { align-items: center; display: inline-flex !important; justify-content: center; min-height: 2.8rem; min-width: 2.8rem; position: relative; z-index: 1101; }
	.main-navigation.toggled .menu,
	.main-navigation.is-open .menu,
	.pdp-main-navigation.is-open .menu,
	.pdp-main-navigation.toggled .menu { background: #fff; border: 1px solid var(--pdp590-line); border-radius: 1rem; box-shadow: var(--pdp590-shadow); display: block !important; inset-inline: 1rem; max-height: calc(100vh - 8rem); overflow: auto; padding: .8rem; position: absolute; top: calc(100% + .4rem); z-index: 1100; }
	.main-navigation .menu a,
	.pdp-main-navigation .menu a { display: block; font-size: .94rem !important; min-height: 2.8rem; padding: .7rem .85rem !important; }
	.main-navigation .sub-menu,
	.pdp-main-navigation .sub-menu { box-shadow: none !important; margin-inline-start: .75rem; position: static !important; }
}

@media (prefers-reduced-motion: reduce) {
	.pdp590 *, .pdp590 *::before, .pdp590 *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
	.pdp590 { color: #000; }
	.pdp590-hero, .pdp590-office-hero, .pdp590-page-hero, .pdp590-org, .pdp590-verification, .pdp590-contact-strip { background: #fff !important; color: #000 !important; min-height: 0; }
	.pdp590 h1, .pdp590 h2, .pdp590 h3, .pdp590 p { color: #000 !important; }
	.pdp590-btn { display: none; }
}
