/* Arab passport guides directory, scoped to .pg-page. */
.pg-page {
  --pg-ink: #183230;
  --pg-muted: #5d6f6c;
  --pg-paper: #f6f8f7;
  --pg-white: #fff;
  --pg-line: #d8e1de;
  --pg-green: #176f59;
  --pg-green-dark: #105847;
  --pg-green-soft: #e1f1ea;
  --pg-blue: #2d6b89;
  --pg-blue-soft: #e4eff5;
  --pg-red: #ad3f49;
  --pg-red-soft: #f6e7e8;
  --pg-amber: #a66b13;
  --pg-amber-soft: #fff0d6;
  --pg-violet: #62558b;
  background: var(--pg-paper);
  color: var(--pg-ink);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.75;
  min-height: 100vh;
  overflow: clip;
}

.pg-page *,
.pg-page *::before,
.pg-page *::after { box-sizing: border-box; }
.pg-page a { color: inherit; }
.pg-page button,
.pg-page input,
.pg-page select { font: inherit; letter-spacing: 0; }
.pg-page button { cursor: pointer; }
.pg-page [hidden] { display: none !important; }
.pg-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.pg-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.pg-intro {
  padding: 112px 0 44px;
  border-bottom: 1px solid var(--pg-line);
  background: #f9fbfa;
}
.pg-breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; color: #687a77; font-size: .76rem; }
.pg-breadcrumb a { color: #356c60; font-weight: 700; text-decoration: none; }
.pg-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pg-breadcrumb svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transform: scaleX(-1); }
.pg-kicker,
.pg-section-label { margin: 0 0 8px; color: var(--pg-green); font-size: .78rem; font-weight: 800; }
.pg-intro h1 { max-width: 860px; margin: 0; color: #153a34; font-size: 2.65rem; font-weight: 900; line-height: 1.28; letter-spacing: 0; text-wrap: balance; }
.pg-lead { max-width: 78ch; margin: 14px 0 0; color: #4c625e; font-size: 1rem; }
.pg-overview {
  display: grid;
  width: min(800px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border-block: 1px solid var(--pg-line);
}
.pg-overview > div { display: flex; min-height: 76px; flex-direction: column; justify-content: center; padding: 10px 20px; border-inline-end: 1px solid var(--pg-line); }
.pg-overview > div:last-child { border-inline-end: 0; }
.pg-overview strong { color: #173f37; font-family: "DM Sans", "Cairo", sans-serif; font-size: 1.35rem; line-height: 1.25; }
.pg-overview span { margin-top: 4px; color: #6d7d7a; font-size: .73rem; font-weight: 700; }

.pg-map-band { padding: 38px 0 30px; border-bottom: 1px solid #cddedb; background: #e9f2ef; }
.pg-map-layout { display: grid; grid-template-columns: minmax(220px, 310px) minmax(0, 1fr); align-items: center; gap: 34px; }
.pg-map-copy h2,
.pg-section-head h2,
.pg-comparison h2 { margin: 0; color: #173a34; font-size: 1.85rem; font-weight: 900; line-height: 1.35; letter-spacing: 0; }
.pg-map-copy > p:not(.pg-section-label) { margin: 10px 0 0; color: #526b66; font-size: .87rem; }
.pg-map-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 19px; color: #516965; font-size: .72rem; font-weight: 700; }
.pg-map-key span { display: inline-flex; align-items: center; gap: 7px; }
.pg-map-swatch { width: 11px; height: 11px; border-radius: 2px; }
.pg-map-swatch-live { background: var(--pg-green); }
.pg-map-swatch-neutral { background: #c5d0cd; }
.pg-map-stage { position: relative; height: 315px; min-width: 0; }
.pg-map-stage .ew-map-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pg-map-stage .ew-map-ocean { fill: #dcebed; stroke: #bed2d2; stroke-width: 1; }
.pg-map-stage .ew-map-graticule path { fill: none; stroke: #c2d6d5; stroke-width: 1; stroke-dasharray: 3 8; }
.pg-map-stage .ew-map-country,
.pg-map-stage .ew-map-marker {
  fill: #c5d0cd;
  stroke: #edf4f2;
  stroke-width: .75;
  opacity: .8;
  cursor: default;
  vector-effect: non-scaling-stroke;
  transition: fill .18s ease, opacity .18s ease, filter .18s ease, stroke-width .18s ease;
}
.pg-map-stage .ew-map-country.is-available,
.pg-map-stage .ew-map-marker.is-available { fill: var(--pg-green); stroke: #fff; stroke-width: 1.25; opacity: 1; cursor: pointer; }
.pg-map-stage .ew-map-country.is-available:hover,
.pg-map-stage .ew-map-country.is-available:focus,
.pg-map-stage .ew-map-marker.is-available:hover,
.pg-map-stage .ew-map-marker.is-available:focus { filter: brightness(1.1); stroke: #173a34; stroke-width: 2.3; outline: none; }
.pg-map-stage .is-filtered { opacity: .13 !important; }
.pg-map-stage .ew-map-status-unavailable { fill: #d3dcd9; opacity: .55; }
.pg-map-tooltip {
  position: absolute;
  z-index: 4;
  max-width: 230px;
  padding: 7px 10px;
  border: 1px solid #b8cbc6;
  border-radius: 6px;
  background: #fff;
  color: #173a34;
  box-shadow: 0 8px 24px rgba(24, 50, 48, .16);
  font-size: .73rem;
  font-weight: 800;
  pointer-events: none;
}

.pg-directory { padding: 66px 0 78px; }
.pg-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.pg-section-head > p { max-width: 58ch; margin: 0 0 3px; color: var(--pg-muted); font-size: .87rem; }
.pg-toolbar {
  position: sticky;
  z-index: 20;
  top: 70px;
  padding: 12px;
  border: 1px solid #cbd9d5;
  border-radius: 8px;
  background: rgba(249, 251, 250, .97);
  box-shadow: 0 8px 22px rgba(24, 50, 48, .07);
  backdrop-filter: blur(10px);
}
.pg-search { position: relative; display: flex; align-items: center; width: 100%; }
.pg-search > .pg-icon { position: absolute; inset-inline-start: 15px; color: #58706b; pointer-events: none; }
.pg-search input {
  width: 100%;
  height: 48px;
  padding: 9px 48px;
  border: 1px solid #bfcfcb;
  border-radius: 7px;
  outline: none;
  background: #fff;
  color: var(--pg-ink);
}
.pg-search input::placeholder { color: #80908d; }
.pg-search input:focus { border-color: var(--pg-green); box-shadow: 0 0 0 3px rgba(23, 111, 89, .13); }
.pg-clear-search { position: absolute; inset-inline-end: 8px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 6px; background: #edf2f0; color: #4c625e; }
.pg-filter-row { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.pg-segments { display: flex; min-width: 0; flex: 1; gap: 5px; overflow-x: auto; scrollbar-width: thin; }
.pg-segments button,
.pg-select-wrap,
.pg-compare-jump {
  min-height: 39px;
  border: 1px solid #c8d5d1;
  border-radius: 7px;
  background: #fff;
  color: #4b625d;
  font-size: .73rem;
  font-weight: 800;
}
.pg-segments button { flex: 0 0 auto; padding: 7px 12px; }
.pg-segments button:hover { border-color: #7ea99e; color: #215e50; }
.pg-segments button.is-active { border-color: var(--pg-green); background: var(--pg-green); color: #fff; }
.pg-select-wrap { position: relative; display: flex; flex: 0 0 205px; align-items: center; }
.pg-select-wrap .pg-icon { position: absolute; inset-inline-start: 11px; width: 16px; color: #536a65; pointer-events: none; }
.pg-select-wrap select { width: 100%; height: 39px; padding: 5px 36px 5px 28px; border: 0; outline: 0; background: transparent; color: inherit; cursor: pointer; }
.pg-compare-jump { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 6px 11px; border-color: #8a80ad; background: #f0edf7; color: #514677; }
.pg-compare-jump b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #62558b; color: #fff; font-family: "DM Sans", sans-serif; font-size: .68rem; }
.pg-results-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 47px; margin: 7px 2px 10px; color: #667874; font-size: .77rem; }
.pg-results-meta p { margin: 0; }
.pg-results-meta button { padding: 3px 0; border: 0; background: transparent; color: var(--pg-green); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.pg-empty { padding: 44px 20px; border-block: 1px solid var(--pg-line); text-align: center; }
.pg-empty strong { font-size: 1.05rem; }
.pg-empty p { margin: 5px 0 0; color: var(--pg-muted); font-size: .84rem; }

.pg-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 410px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #d1dcda;
  border-top: 4px solid var(--pg-card-accent, var(--pg-green));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(24, 50, 48, .055);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.pg-card:hover { border-color: #a8beb8; box-shadow: 0 13px 28px rgba(24, 50, 48, .09); transform: translateY(-2px); }
.pg-accent-red { --pg-card-accent: #b13d47; }
.pg-accent-green { --pg-card-accent: #177158; }
.pg-accent-crimson { --pg-card-accent: #96333d; }
.pg-accent-blue { --pg-card-accent: #2d6d93; }
.pg-accent-emerald { --pg-card-accent: #397b61; }
.pg-accent-amber { --pg-card-accent: #b1781d; }
.pg-card.is-compare-selected { border-color: #74689b; box-shadow: 0 0 0 3px rgba(98, 85, 139, .12), 0 12px 28px rgba(24, 50, 48, .08); }
.pg-card-head { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: start; gap: 12px; }
.pg-flag { display: grid; width: 52px; height: 44px; place-items: center; border: 1px solid #d6dfdd; border-radius: 7px; background: #f8faf9; font-size: 1.72rem; line-height: 1; }
.pg-card-title { min-width: 0; }
.pg-card-title p { margin: 0; color: #687976; font-size: .7rem; font-weight: 700; }
.pg-card-title p span { margin-inline-start: 4px; color: #526965; font-family: "DM Sans", sans-serif; }
.pg-card-title h3 { margin: 2px 0 0; color: #173c35; font-size: 1.15rem; font-weight: 900; line-height: 1.4; letter-spacing: 0; }
.pg-card-title h3 a { text-decoration: none; }
.pg-card-title h3 a:hover { color: var(--pg-green); text-decoration: underline; text-underline-offset: 4px; }
.pg-card-title > span { display: block; overflow: hidden; margin-top: 1px; color: #7b8986; font-family: "DM Sans", sans-serif; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.pg-compare-choice { display: none; align-items: center; gap: 6px; min-height: 32px; padding: 4px 8px; border: 1px solid #d0d8d6; border-radius: 6px; color: #5d6e6b; font-size: .68rem; font-weight: 800; cursor: pointer; }
.pg-is-enhanced .pg-compare-choice { display: inline-flex; }
.pg-compare-choice:hover { border-color: #8175a5; color: #564a7c; }
.pg-compare-choice input { width: 15px; height: 15px; margin: 0; accent-color: #62558b; }
.pg-card-summary { min-height: 49px; margin: 16px 0 15px; color: #596c68; font-size: .79rem; }
.pg-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-block: 1px solid #e1e8e6; }
.pg-metrics > div { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-inline-end: 1px solid #e6ecea; }
.pg-metrics > div:nth-child(2n) { border-inline-end: 0; }
.pg-metrics > div:nth-child(n+3) { border-top: 1px solid #e6ecea; }
.pg-metrics dt { color: #697a77; font-size: .68rem; font-weight: 700; }
.pg-metrics dd { margin: 0; font-family: "DM Sans", "Cairo", sans-serif; font-size: 1.08rem; font-weight: 800; }
.pg-metrics > div:nth-child(1) dd { color: var(--pg-green); }
.pg-metrics > div:nth-child(2) dd { color: var(--pg-amber); }
.pg-metrics > div:nth-child(3) dd { color: var(--pg-blue); }
.pg-metrics > div:nth-child(4) dd { color: var(--pg-red); }
.pg-card-meta { display: grid; gap: 5px; margin: 14px 0 17px; color: #6c7c79; font-size: .68rem; }
.pg-card-meta span { display: flex; align-items: center; gap: 6px; }
.pg-card-meta .pg-icon { width: 15px; height: 15px; color: #47786c; }
.pg-card-link { display: inline-flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 8px 12px; border: 1px solid #b7ccc6; border-radius: 7px; background: #f4f8f6; color: #1b5e4e !important; font-size: .76rem; font-weight: 900; text-decoration: none; }
.pg-card-link:hover { border-color: var(--pg-green); background: var(--pg-green); color: #fff !important; }

.pg-comparison { margin-top: 48px; padding-top: 34px; border-top: 2px solid #d6dfdd; scroll-margin-top: 160px; }
.pg-comparison > header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pg-comparison > header button,
.pg-method-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid #c6d3cf;
  border-radius: 7px;
  background: #fff;
  color: #4e625e;
  font-size: .73rem;
  font-weight: 800;
  text-decoration: none;
}
.pg-comparison > header button:hover,
.pg-method-links a:hover { border-color: #719d91; color: #1c604f; }
.pg-comparison-note { margin: 14px 0 0; color: var(--pg-muted); font-size: .82rem; }
.pg-table-wrap { margin-top: 20px; overflow-x: auto; border-block: 1px solid #d6dfdd; background: #fff; }
.pg-compare-table { width: 100%; min-width: 660px; border-collapse: collapse; table-layout: fixed; }
.pg-compare-table th,
.pg-compare-table td { padding: 12px 14px; border-bottom: 1px solid #e1e8e6; border-inline-end: 1px solid #e1e8e6; text-align: center; }
.pg-compare-table tr:last-child th,
.pg-compare-table tr:last-child td { border-bottom: 0; }
.pg-compare-table th:last-child,
.pg-compare-table td:last-child { border-inline-end: 0; }
.pg-compare-table thead th { background: #edf4f1; color: #244e45; font-size: .78rem; }
.pg-compare-table thead th:first-child { width: 170px; text-align: start; }
.pg-compare-table tbody th { color: #586d68; font-size: .72rem; text-align: start; }
.pg-compare-table tbody td { color: #173c35; font-family: "DM Sans", "Cairo", sans-serif; font-size: .92rem; font-weight: 800; }
.pg-compare-passport { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.pg-compare-passport span:first-child { font-size: 1.25rem; }

.pg-method { padding: 60px 0 68px; border-top: 1px solid #d7e1de; background: #eef3f1; }
.pg-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #cedbd7; }
.pg-method-grid > div { padding: 22px; border-inline-end: 1px solid #cedbd7; }
.pg-method-grid > div:last-child { border-inline-end: 0; }
.pg-method-grid strong { color: #183c35; font-size: .9rem; }
.pg-method-grid p { margin: 7px 0 0; color: #5c706b; font-size: .78rem; }
.pg-method-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

.pg-page :focus-visible { outline: 3px solid rgba(45, 107, 137, .35); outline-offset: 3px; }

@media (max-width: 1000px) {
  .pg-map-layout { grid-template-columns: 1fr; gap: 14px; }
  .pg-map-copy { max-width: 650px; }
  .pg-map-stage { height: 285px; }
  .pg-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-filter-row { align-items: stretch; flex-wrap: wrap; }
  .pg-segments { flex-basis: 100%; }
  .pg-select-wrap { flex: 1 1 220px; }
}

@media (max-width: 760px) {
  .pg-container { width: min(100% - 24px, 1180px); }
  .pg-intro { padding: 88px 0 32px; }
  .pg-breadcrumb { margin-bottom: 16px; }
  .pg-intro h1 { font-size: 2rem; line-height: 1.35; }
  .pg-lead { font-size: .88rem; }
  .pg-overview { grid-template-columns: 1fr 1fr; margin-top: 23px; }
  .pg-overview > div { min-height: 67px; padding: 8px 12px; }
  .pg-overview > div:nth-child(2) { border-inline-end: 0; }
  .pg-overview > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--pg-line); border-inline-end: 0; }
  .pg-overview strong { font-size: 1.12rem; }
  .pg-map-band { padding: 30px 0 22px; }
  .pg-map-copy h2,
  .pg-section-head h2,
  .pg-comparison h2 { font-size: 1.48rem; }
  .pg-map-stage { height: 205px; }
  .pg-directory { padding: 48px 0 58px; }
  .pg-section-head { display: block; margin-bottom: 18px; }
  .pg-section-head > p { margin-top: 8px; }
  .pg-toolbar { top: 58px; padding: 9px; }
  .pg-search input { height: 45px; }
  .pg-segments button { padding-inline: 10px; }
  .pg-compare-jump { flex: 1 1 auto; justify-content: center; }
  .pg-card-grid { grid-template-columns: 1fr; gap: 12px; }
  .pg-card { min-height: 0; padding: 17px; }
  .pg-card-summary { min-height: 0; }
  .pg-comparison > header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .pg-method { padding: 47px 0 52px; }
  .pg-method-grid { grid-template-columns: 1fr; }
  .pg-method-grid > div { border-inline-end: 0; border-bottom: 1px solid #cedbd7; }
  .pg-method-grid > div:last-child { border-bottom: 0; }
}

@media (max-width: 430px) {
  .pg-intro h1 { font-size: 1.72rem; }
  .pg-map-stage { height: 175px; }
  .pg-filter-row { display: grid; grid-template-columns: 1fr; }
  .pg-segments { max-width: 100%; }
  .pg-select-wrap { width: 100%; min-width: 0; }
  .pg-card-head { grid-template-columns: 47px minmax(0, 1fr); }
  .pg-flag { width: 47px; height: 41px; }
  .pg-compare-choice { grid-column: 1 / -1; justify-self: start; margin-top: 2px; }
  .pg-results-meta { align-items: flex-start; flex-direction: column; gap: 2px; padding-block: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-page *,
  .pg-page *::before,
  .pg-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

