:root {
  color-scheme: light;
  --ink: #132f33;
  --muted: #536c6d;
  --teal: #006658;
  --deep: #073d3c;
  --mint: #c3ede1;
  --gold: #e8c178;
  --line: #d8e3df;
  --page: #f4f8f6;
  --paper: #fff;
  font-family: "IBM Plex Sans Arabic","Noto Sans Arabic","Geeza Pro",Tahoma,Arial,sans-serif;
  color: var(--ink);
  background: var(--page);
  scroll-padding-top: 1rem;
}
*,*::before,*::after { box-sizing: border-box; }
body { margin: 0; min-width: 300px; line-height: 1.65; direction: rtl; }
button,input,select { font: inherit; }
button,a,input,select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline: 3px solid #c48029; outline-offset: 4px; }
[hidden] { display: none !important; }
svg { vertical-align: middle; flex-shrink: 0; }
.wrap { width: min(100% - clamp(2rem,9.4vw,10rem),78rem); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid #dce6e1; position: relative; z-index: 3; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; min-height: 4.8rem; gap: 1.25rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-size: 1.8rem; line-height: 1.1; color: var(--deep); font-weight: 800; }
.brand-mark { display: inline-grid; place-items: center; height: 2.55rem; width: 2.55rem; flex-shrink: 0; }
.brand-mark svg,.brand-mark img { width: 100%; height: 100%; }
.main-nav { display: flex; align-items: center; gap: .5rem; }
.nav-link { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; border: 1px solid transparent; background: transparent; padding: .45rem .95rem; border-radius: .65rem; min-height: 2.6rem; color: #4c6464; font-size: .9375rem; font-weight: 600; }
.nav-link svg { width: 1.08rem; height: 1.08rem; }
.nav-link.active,.nav-link[aria-current=page] { background: #e8f4ef; color: #075d50; }
.nav-link:hover { color: var(--teal); background: #edf5f1; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: #073f3e; }
.hero-inner { display: flex; align-items: center; position: relative; z-index: 1; pointer-events: none; min-height: clamp(21.3rem,30vw,28rem); }
.hero-copy { width: 51%; pointer-events: auto; padding-block: clamp(2.7rem,4.6vw,4.25rem); }
.hero-art { position: absolute; inset: 0 auto 0 0; width: 52%; height: 100%; object-fit: cover; object-position: center; z-index: 0; pointer-events: none; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; color: #cbe9db; margin: 0 0 .65rem; font-size: .9rem; font-weight: 600; }
.hero h1 { margin: 0; font-size: clamp(2.6rem,4.35vw,4.35rem); line-height: 1.23; letter-spacing: -.055em; font-weight: 800; text-wrap: balance; }
.hero h1 em,.hero h1 strong,.hero h1 span.accent { color: #b7e2ce; font-style: normal; }
.hero-copy > p:not(.hero-kicker) { margin: .85rem 0 1.55rem; max-width: 36rem; font-size: clamp(1rem,1.32vw,1.18rem); color: #d4e9e2; }
.search-box { display: flex; gap: .65rem; align-items: center; width: min(100%,34.5rem); padding: .38rem .95rem .38rem .38rem; background: white; border: 1px solid #e7efeb; border-radius: .85rem; min-height: 3.65rem; box-shadow: 0 6px 20px #00262720; color: #69817a; }
.search-box:focus-within { outline: 3px solid #e8c178; outline-offset: 3px; }
.search-box svg { width: 1.3rem; height: 1.3rem; }
.search-box input { min-width: 0; flex: 1 1 auto; align-self: stretch; padding: 0; border: 0; background: transparent; outline: none; color: var(--ink); font-size: 1rem; width: 100%; }
.search-box input:focus-visible { outline: 0; }
.search-box input::placeholder { color: #657c79; opacity: 1; }
.search-box button { background: var(--teal); color: white; border: 0; border-radius: .55rem; font-weight: 650; font-size: 1rem; padding: .45rem 1.35rem; min-height: 2.7rem; }
.search-box button:hover { background: #034f45; }
.quick-links { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .85rem; color: #d5e7df; font-size: .875rem; }
.quick-links button,.quick-links a { border: 0; background: transparent; border-bottom: 1px solid #709d92; color: #e7f3ed; padding: 0 .1rem; }
.directory { padding-block: clamp(2.1rem,3.8vw,3.8rem) 4.5rem; min-height: 36vh; }
.directory-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.heading-block h2,.directory-head h2 { margin: 0; font-size: clamp(1.75rem,2.8vw,2.45rem); letter-spacing: -.045em; line-height: 1.35; color: #123c3b; }
.heading-block p,.directory-head p { margin: .33rem 0 0; color: var(--muted); font-size: 1rem; }
.directory-tools { color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; font-size: .9375rem; }
.directory-tools select { color: var(--ink); padding: .45rem .8rem; border: 1px solid var(--line); border-radius: .55rem; background: white; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.4rem; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem 1rem; min-height: 2.45rem; border: 1px solid #cedcd5; background: white; border-radius: 2rem; color: #395955; font-weight: 560; font-size: .9375rem; white-space: nowrap; }
.chip.active,.chip[aria-pressed=true] { color: white; background: #07594f; border-color: #07594f; }
.chip:hover:not(.active):not([aria-pressed=true]) { border-color: #759e8f; background: #f2f8f4; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.9rem,1.5vw,1.35rem); }
.mission-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 1rem; background: white; padding: clamp(1rem,1.65vw,1.45rem); box-shadow: 0 3px 10px #123c2d04; position: relative; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.flag { display: inline-grid; place-items: center; min-width: 3rem; height: 2.8rem; border-radius: .7rem; background: #f1f6f3; font-family: "Apple Color Emoji","Noto Color Emoji","Segoe UI Emoji",sans-serif; font-size: 1.65rem; font-weight: 400; line-height: 1; }
.flag img,.flag svg { width: 1.9rem; height: 1.35rem; border-radius: .14rem; object-fit: cover; }
.save-btn { display: inline-grid; place-items: center; width: 2.55rem; height: 2.55rem; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; color: #658078; }
.save-btn svg { width: 1.28rem; height: 1.28rem; }
.save-btn:hover,.save-btn[aria-pressed=true],.save-btn.saved { background: #e9f5ef; color: var(--teal); }
.save-btn[aria-pressed=true] svg,.save-btn.saved svg { fill: #a7d9c9; }
.card-place { display: flex; align-items: center; gap: .35rem; color: #486961; font-weight: 530; font-size: .92rem; }
.card-place svg { width: .95rem; height: .95rem; }
.mission-card h4 { margin: .15rem 0 .6rem; font-size: clamp(1.25rem,1.7vw,1.57rem); line-height: 1.5; letter-spacing: -.035em; color: #1a3e3c; }
.card-details { display: grid; align-content: start; gap: .38rem; color: #516864; margin-bottom: 1.1rem; font-size: .94rem; }
.detail-line { display: flex; gap: .5rem; align-items: baseline; overflow-wrap: anywhere; }
.detail-line svg { width: 1rem; height: 1rem; align-self: flex-start; margin-top: .26rem; color: #69897b; }
.card-details bdi { font-variant-numeric: tabular-nums; }
.card-actions { display: flex; align-items: center; gap: .5rem; border-top: 1px solid #e4ece7; padding-top: .85rem; margin-top: auto; }
.action { min-height: 2.65rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; flex: 1; text-align: center; color: #165e53; background: white; border: 1px solid #d9e5de; border-radius: .55rem; padding: .35rem .55rem; font-weight: 620; font-size: .92rem; }
.action.primary { color: #065c4e; background: #e5f2ea; border-color: #e5f2ea; }
.action:hover { border-color: #80a795; background: #f1f7f3; }
.action.primary:hover { background: #d2eadd; }
.action svg { width: 1rem; height: 1rem; }
.empty-state { text-align: center; color: var(--muted); background: white; padding: 2.5rem 1.2rem; border: 1px dashed #bdcec3; border-radius: .9rem; }
.empty-state h3 { color: var(--ink); margin: 0 0 .45rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); background: white; padding-block: 1.4rem; font-size: .945rem; }
.site-footer>.wrap { display: flex; gap: 1.25rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
dialog { color: var(--ink); max-width: min(31rem,calc(100vw - 2rem)); max-height: calc(100dvh - 3rem); width: 100%; padding: 1.7rem; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 20px 80px #002f3240; }
dialog::backdrop { background: #092b2d80; }
dialog h2,dialog h3 { line-height: 1.4; }
dialog a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wrap { width: calc(100% - 3rem); }
  .hero-copy { width: 56%; }
  .hero-art { width: 46%; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 2.25rem); }
  .nav-inner { min-height: 4.1rem; gap: .5rem; }
  .brand { font-size: 1.55rem; gap: .35rem; }
  .brand-mark { width: 2.15rem; height: 2.15rem; }
  .main-nav { gap: .1rem; }
  .nav-link { min-height: 2.75rem; padding: .3rem .57rem; font-size: .86rem; gap: .35rem; }
  .hero-inner { min-height: 0; }
  .hero-copy { width: 100%; padding: 2.3rem 0 1.8rem; }
  .hero h1 { font-size: clamp(2.2rem,9vw,3.1rem); max-width: 80%; }
  .hero-art { width: 63%; height: 76%; opacity: .37; object-position: left center; mask-image: linear-gradient(to right,#000 19%,transparent 100%); }
  .hero-copy > p:not(.hero-kicker) { max-width: 90%; margin: .65rem 0 1.15rem; }
  .search-box { gap: .45rem; min-height: 3.4rem; padding-inline-start: .73rem; }
  .search-box button { padding-inline: 1.05rem; }
  .directory { padding-block: 1.85rem 3rem; }
  .directory-head { flex-wrap: wrap; margin-bottom: 1rem; }
  .heading-block h2,.directory-head h2 { font-size: 1.65rem; }
  .filters { gap: .4rem; margin-bottom: 1rem; }
  .chip { padding: .32rem .85rem; min-height: 2.55rem; }
  .card-grid { grid-template-columns: minmax(0,1fr); gap: .8rem; }
  .mission-card { padding: 1.1rem; }
  .card-top { margin-bottom: .55rem; }
  .mission-card h4 { font-size: 1.45rem; }
  .action,.save-btn { min-height: 2.75rem; }
  .site-footer>.wrap { align-items: flex-start; }
}
@media (prefers-reduced-motion: no-preference) {
  button,a { transition: color .15s ease,background-color .15s ease,border-color .15s ease; }
}
/* Destination photography and the compact contact panel. */
.hero-art { mask-image: linear-gradient(90deg,#000 75%,transparent 100%); }
.hero-kicker::before { content: ""; width: 1.8rem; height: 2px; background: var(--gold); border-radius: 2px; }
.hero-kicker { color: #f0d9a2; }
.brand-word { letter-spacing: -.065em; }
.mission-card:has(.card-cover) { padding: 0; overflow: hidden; }
.card-cover { position: relative; isolation: isolate; width: 100%; height: clamp(8.2rem,11.5vw,9.4rem); background: #cae1d5; }
.card-cover > img { height: 100%; width: 100%; display: block; object-fit: cover; }
.card-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: linear-gradient(0deg,#002e2c4a,transparent 65%); }
.card-cover .save-btn { position: absolute; top: .75rem; left: .75rem; z-index: 1; color: #25433c; background: #fff; border: 1px solid #ffffffbf; width: 2.3rem; height: 2.3rem; min-height: 0; box-shadow: 0 2px 8px #0c312716; }
.card-cover .save-btn:hover,.card-cover .save-btn[aria-pressed=true] { background: #d6f1df; }
.type-tag { position: absolute; z-index: 1; right: 1rem; bottom: .78rem; display: inline-flex; align-items: center; gap: .32rem; padding: .12rem .65rem; font-size: .83rem; font-weight: 630; color: #27453d; background: #fffffff0; border: 1px solid #ffffffc4; border-radius: .38rem; }
.type-tag svg { width: .92rem; height: .92rem; }
.card-cover.is-plain { display: grid; place-items: center; color: #e0f3e8; background-color: #307568; background-image: repeating-radial-gradient(ellipse at 22% 130%,transparent 0 11px,#bbe6c924 12px 13px,transparent 14px 23px),linear-gradient(120deg,#61998a,#1f625c); }
.card-cover.is-plain > svg { width: 2.8rem; height: 2.8rem; stroke-width: 1.4; }
.card-content { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 1.03rem 1.15rem .65rem; }
.flag-mini { display: inline-flex; align-items: center; font-family: "Apple Color Emoji","Noto Color Emoji","Segoe UI Emoji",sans-serif; font-size: 1.14rem; line-height: 1; }
.flag-mini img,.flag-mini svg { width: 1.25rem; height: .93rem; object-fit: cover; border-radius: 2px; }
.card-content .card-place { gap: .45rem; font-size: .885rem; }
.card-content h4 { margin: .05rem 0 .22rem; font-size: 1.72rem; }
.card-content > .detail-line { color: #526b64; font-size: .93rem; margin-bottom: 1.05rem; }
.card-content .card-actions { margin-top: auto; }
.more-info { background: transparent; border: 0; color: #3d6860; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-size: .88rem; padding: .5rem .45rem .25rem; min-height: 2.2rem; text-align: center; }
.more-info svg { width: 1rem; height: 1rem; }
.more-info:hover { text-decoration: underline; }
.text-shadow { text-shadow: 0 1px 5px #00262460; }
@media(max-width:620px) {
  .hero-art { mask-image: linear-gradient(90deg,#000 18%,transparent 100%); }
  .card-cover { height: 9.1rem; }
  .card-cover .save-btn { width: 2.75rem; height: 2.75rem; }
  .more-info { min-height: 2.75rem; }
}
@media(max-width:390px) {
  .main-nav .nav-link { padding-inline: .43rem; }
  .main-nav .nav-link svg { display: none; }
}
