:root {
  --saleh-primary: #0d233a;
  --saleh-primary-dark: #07192b;
  --saleh-gold: #c5a059;
  --saleh-ink: #2b2b2b;
  --saleh-muted: #6c757d;
  --saleh-bg: #f8f9fa;
  --saleh-paper: #ffffff;
  --saleh-line: rgba(13, 35, 58, .12);
  --saleh-shadow: 0 24px 70px rgba(13, 35, 58, .14);
  --saleh-soft-shadow: 0 12px 35px rgba(13, 35, 58, .08);
  --saleh-radius-xl: 36px;
  --saleh-radius-lg: 24px;
  --saleh-radius-md: 16px;
  --saleh-container: 1180px;
  --saleh-font: 'Tajawal', Tahoma, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--saleh-font);
  color: var(--saleh-ink);
  background:
    radial-gradient(circle at top right, rgba(13, 35, 58, .07), transparent 34rem),
    radial-gradient(circle at 10% 20%, rgba(197, 160, 89, .13), transparent 28rem),
    linear-gradient(180deg, #fff 0%, var(--saleh-bg) 48%, #f2f4f6 100%);
  line-height: 1.85;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.saleh-shell {
  width: min(var(--saleh-container), calc(100% - 40px));
  margin-inline: auto;
}

.saleh-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 249, 250, .82);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.saleh-brand-logo {
    border-radius: 50%;
    width: 50px; 
    height: 50px; 
    object-fit: cover; 
    transition: all 0.3s ease-in-out;
    display: inline-block;
    vertical-align: middle;
}
.saleh-topbar.is-scrolled {
  background: rgba(248, 249, 250, .94);
  border-bottom-color: var(--saleh-line);
  box-shadow: 0 12px 38px rgba(13, 35, 58, .07);
}

.saleh-nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.saleh-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.saleh-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(145deg, var(--saleh-primary), var(--saleh-primary-dark));
  box-shadow: 0 14px 30px rgba(13, 35, 58, .22);
  position: relative;
}

.saleh-brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: inherit;
}

.saleh-brand-text strong,
.saleh-brand-text span {
  display: block;
}

.saleh-brand-text strong {
  line-height: 1.35;
  font-size: 1rem;
}

.saleh-brand-text span {
  color: var(--saleh-muted);
  font-size: .78rem;
}

.saleh-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(13, 35, 58, .08);
  border-radius: 999px;
  background: rgb(247, 248, 249);
}

.saleh-nav-links a {
  color: #090a0c;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .88rem;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.saleh-nav-links a:hover,
.saleh-nav-links a.is-active {
  color: var(--saleh-primary);
  background: rgba(197, 160, 89, .14);
}

.saleh-nav-action,
.saleh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid rgba(197, 160, 89, .36);
  color: var(--saleh-primary);
  background: rgba(255, 255, 255, .65);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.saleh-nav-search {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, .36);
  color: var(--saleh-primary);
  background: rgba(255, 255, 255, .65);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.saleh-nav-search:hover,
.saleh-nav-search.is-active,
.saleh-nav-search.is-open {
  color: #fff;
  background: var(--saleh-primary);
  box-shadow: var(--saleh-soft-shadow);
  transform: translateY(-2px);
}

.saleh-header-search {
  position: absolute;
  inset-inline-end: max(20px, calc((100vw - var(--saleh-container)) / 2));
  top: calc(100% + 10px);
  width: min(420px, calc(100vw - 40px));
  z-index: 70;
  padding: 10px;
  border: 1px solid var(--saleh-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--saleh-shadow);
  backdrop-filter: blur(18px);
}

.saleh-header-search[hidden] {
  display: none;
}

.saleh-header-search form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.saleh-header-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid var(--saleh-line);
  border-radius: 999px;
  padding: 0 16px;
  font-family: inherit;
  color: var(--saleh-ink);
  background: #fff;
  outline: none;
}

.saleh-header-search input:focus {
  border-color: rgba(197, 160, 89, .75);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, .16);
}

.saleh-header-search button {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--saleh-primary);
  cursor: pointer;
}

.saleh-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--saleh-line);
  background: #fff;
  color: var(--saleh-primary);
}

.saleh-nav-action:hover,
.saleh-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--saleh-soft-shadow);
}

.saleh-hero {
  padding: 54px 0 30px;
}

.saleh-hero-card {
  min-height: 650px;
  border-radius: var(--saleh-radius-xl);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow: var(--saleh-shadow);
  background: var(--saleh-primary-dark);
}

.saleh-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 25, 43, .92), rgba(13, 35, 58, .58) 44%, rgba(13, 35, 58, .18)),
    var(--saleh-hero-image, none) center/cover no-repeat;
  transform: scale(1.015);
}

.saleh-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(197, 160, 89, .24), transparent 24rem),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .32));
}

.saleh-hero-content {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
  align-items: end;
  gap: 34px;
  padding: clamp(28px, 5vw, 72px);
  color: #fff;
}

.saleh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .88);
  font-size: .84rem;
  margin-bottom: 18px;
}

.saleh-page-hero .saleh-eyebrow {
  color: var(--saleh-primary);
  border-color: rgba(13, 35, 58, .12);
  background: rgba(197, 160, 89, .12);
}

.saleh-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saleh-gold);
  box-shadow: 0 0 0 5px rgba(197, 160, 89, .16);
}

.saleh-hero h1,
.saleh-page-hero h1,
.saleh-document h1,
.saleh-image-document h1 {
  margin: 0;
  line-height: 1.22;
  letter-spacing: 0;
}

.saleh-hero h1 {
  max-width: 770px;
  font-size: clamp(2.15rem, 5vw, 5.1rem);
}

.saleh-hero-lead {
  max-width: 700px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  margin: 22px 0 0;
}

.saleh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.saleh-btn {
  min-height: 50px;
  padding: 0 22px;
}

.saleh-btn-primary {
  background: #fff;
  color: var(--saleh-primary);
}

.saleh-btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .2);
}

.saleh-hero-panel {
  justify-self: end;
  width: min(100%, 430px);
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(20, 17, 15, .46);
  backdrop-filter: blur(18px);
}

.saleh-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 18px;
}

.saleh-panel-title span {
  color: rgba(255, 255, 255, .62);
  font-size: .82rem;
}

.saleh-mini-stat {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.saleh-mini-stat:first-of-type {
  border-top: 0;
}

.saleh-mini-stat strong {
  display: grid;
  place-items: center;
  width: 108px;
  min-height: 54px;
  padding: 8px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
  line-height: 1.35;
  font-size: .88rem;
  font-weight: 700;
}

.saleh-mini-stat p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .92rem;
  font-weight: 700;
}

.saleh-section {
  padding: 52px 0;
}

.saleh-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.saleh-section-heading h2,
.saleh-page-hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.saleh-section-heading p,
.saleh-page-hero p {
  margin: 8px 0 0;
  max-width: 640px;
  color: var(--saleh-muted);
}

.saleh-small-link {
  color: var(--saleh-primary);
  font-weight: 800;
  white-space: nowrap;
}

.saleh-gateways {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.saleh-gateway-card,
.saleh-archive-card,
.saleh-compact-card,
.saleh-timeline-card,
.saleh-empty-state,
.saleh-document,
.saleh-document-side {
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(13, 35, 58, .08);
  box-shadow: var(--saleh-soft-shadow);
}

.saleh-gateway-card {
  min-height: 215px;
  padding: 24px;
  border-radius: var(--saleh-radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.saleh-gateway-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(var(--saleh-primary), var(--saleh-gold));
}

.saleh-gateway-card::after {
  content: attr(data-index);
  position: absolute;
  left: 20px;
  bottom: -14px;
  font-size: 5.5rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(13, 35, 58, .045);
}

.saleh-gateway-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--saleh-shadow);
}

.saleh-gateway-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--saleh-primary);
  background: rgba(13, 35, 58, .07);
  border: 1px solid rgba(197, 160, 89, .22);
  margin-bottom: 26px;
}

.saleh-gateway-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.saleh-gateway-card p {
  margin: 0;
  color: var(--saleh-muted);
  font-size: .92rem;
}

.saleh-memory-strip {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.saleh-memory-feature,
.saleh-photo-card,
.saleh-card-image {
  overflow: hidden;
  background: #d8d9dc;
}

.saleh-memory-feature {
  min-height: 430px;
  border-radius: var(--saleh-radius-xl);
  position: relative;
  box-shadow: var(--saleh-shadow);
}

.saleh-memory-feature a,
.saleh-memory-feature img {
  height: 100%;
}

.saleh-memory-feature img,
.saleh-photo-card img,
.saleh-card-image img {
  width: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .3s ease;
}

.saleh-memory-feature img {
  min-height: 430px;
}

.saleh-memory-caption {
  position: absolute;
  inset-inline: 24px;
  bottom: 24px;
  padding: 20px;
  color: #fff;
  border-radius: 24px;
  background: rgba(17, 17, 17, .5);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .16);
}

.saleh-memory-caption small,
.saleh-memory-caption strong {
  display: block;
}

.saleh-memory-caption small {
  color: rgba(255, 255, 255, .72);
}

.saleh-memory-caption strong {
  margin-top: 6px;
  font-size: 1.18rem;
}

.saleh-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.saleh-photo-grid--archive {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.saleh-photo-lab {
  grid-auto-flow: dense;
  align-items: stretch;
}

.saleh-photo-lab .saleh-photo-card:nth-child(1),
.saleh-photo-lab .saleh-photo-card:nth-child(10n + 6) {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 440px;
}

.saleh-photo-lab .saleh-photo-card:nth-child(5n + 3) {
  min-height: 280px;
}

.saleh-photo-card {
  min-height: 210px;
  border-radius: var(--saleh-radius-lg);
  position: relative;
  box-shadow: var(--saleh-soft-shadow);
  overflow: hidden;
}

.saleh-photo-card a,
.saleh-photo-card img {
  height: 100%;
}

.saleh-photo-card img {
  min-height: 210px;
  filter: saturate(.9);
}

.saleh-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .68));
  pointer-events: none;
}

.saleh-photo-card span {
  position: absolute;
  z-index: 2;
  inset-inline: 16px;
  bottom: 15px;
  color: #fff;
}

.saleh-photo-card small,
.saleh-photo-card strong,
.saleh-photo-card em {
  display: block;
}

.saleh-photo-card small,
.saleh-photo-card em {
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-style: normal;
}

.saleh-photo-card strong {
  line-height: 1.55;
}

.saleh-photo-card:hover img,
.saleh-memory-feature:hover img,
.saleh-archive-card:hover img {
  transform: scale(1.045);
}

.saleh-timeline-card {
  border-radius: var(--saleh-radius-xl);
  padding: 26px;
  overflow: hidden;
}

.saleh-years {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 18px;
}

.saleh-year-pill {
  border: 1px solid rgba(13, 35, 58, .12);
  background: rgba(255, 255, 255, .58);
  color: #4d5258;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.saleh-year-pill:hover,
.saleh-year-pill.is-selected {
  transform: translateY(-2px);
  background: var(--saleh-primary);
  border-color: var(--saleh-primary);
  color: #fff;
}

.saleh-timeline-result {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(13, 35, 58, .08);
  background: linear-gradient(90deg, rgba(197, 160, 89, .12), transparent), rgba(255, 255, 255, .58);
}

.saleh-timeline-result strong {
  font-size: 2.6rem;
  color: var(--saleh-primary);
  line-height: 1;
}

.saleh-timeline-result h3 {
  margin: 0 0 5px;
}

.saleh-timeline-result p {
  margin: 0;
  color: var(--saleh-muted);
}

.saleh-round-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--saleh-ink);
  color: #fff;
}

.saleh-mixed-grid,
.saleh-archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.saleh-archive-card {
  border-radius: var(--saleh-radius-lg);
  overflow: hidden;
}

.saleh-archive-card a {
  display: grid;
  height: 100%;
}

.saleh-card-image {
  aspect-ratio: 16 / 10;
}

.saleh-card-image img {
  height: 100%;
}

.saleh-card-body {
  display: block;
  padding: 18px;
}

.saleh-card-body small,
.saleh-card-body em {
  display: block;
  color: var(--saleh-muted);
  font-size: .8rem;
  font-style: normal;
}

.saleh-card-body h3 {
  margin: 8px 0 8px;
  font-size: 1.08rem;
  line-height: 1.55;
}

.saleh-card-body p {
  margin: 0 0 10px;
  color: var(--saleh-muted);
  font-size: .92rem;
}

.saleh-quote-section {
  padding-bottom: 78px;
}

.saleh-quote-card {
  border-radius: var(--saleh-radius-xl);
  background: linear-gradient(135deg, rgba(13, 35, 58, .98), rgba(7, 25, 43, .98));
  color: #fff;
  padding: clamp(30px, 5vw, 64px);
  box-shadow: var(--saleh-shadow);
  border: 1px solid rgba(197, 160, 89, .22);
  position: relative;
  overflow: hidden;
}

.saleh-quote-card::before {
  content: "“";
  position: absolute;
  left: 36px;
  top: -24px;
  font-size: 14rem;
  line-height: 1;
  color: rgba(255, 255, 255, .08);
  font-family: Georgia, serif;
}

.saleh-quote-card p {
  position: relative;
  max-width: 880px;
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2.35rem);
}

.saleh-quote-card footer {
  margin-top: 24px;
  color: rgba(255, 255, 255, .72);
}

.saleh-about-section {
  padding-top: 34px;
}

.saleh-about-card {
  border-radius: var(--saleh-radius-xl);
  padding: clamp(28px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(248, 244, 235, .88)),
    rgba(255, 255, 255, .8);
  border: 1px solid rgba(13, 35, 58, .08);
  box-shadow: var(--saleh-soft-shadow);
}

.saleh-about-card .saleh-eyebrow {
  color: var(--saleh-primary);
  background: rgba(197, 160, 89, .14);
}

.saleh-about-card h2 {
  max-width: 940px;
  margin: 18px 0 24px;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  line-height: 1.55;
}

.saleh-about-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.saleh-about-text p {
  margin: 0;
  color: var(--saleh-muted);
  line-height: 1.95;
}

.saleh-quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.saleh-speech-quote-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border-radius: var(--saleh-radius-lg);
  background: linear-gradient(145deg, rgba(13, 35, 58, .98), rgba(9, 25, 41, .96));
  color: #fff;
  border: 1px solid rgba(197, 160, 89, .22);
  box-shadow: var(--saleh-soft-shadow);
  overflow: hidden;
}

.saleh-speech-quote-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(var(--saleh-gold), rgba(197, 160, 89, .28));
}

.saleh-quote-mark {
  position: absolute;
  left: 24px;
  top: -28px;
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  color: rgba(255, 255, 255, .08);
}

.saleh-quote-text {
  position: relative;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.9;
}

.saleh-quote-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
}

.saleh-quote-meta strong,
.saleh-quote-meta span {
  display: block;
}

.saleh-quote-meta strong {
  color: #fff;
}

.saleh-quote-meta span {
  margin-top: 5px;
  color: rgba(255, 255, 255, .66);
  font-size: .86rem;
}

.saleh-quote-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--saleh-primary);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.saleh-page-hero {
  padding: 60px 0 24px;
}

.saleh-breadcrumb {
  width: min(var(--saleh-container), calc(100% - 40px));
  margin: 28px auto 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--saleh-muted);
  font-size: .88rem;
}

.saleh-breadcrumb a {
  color: var(--saleh-primary);
  font-weight: 700;
}

.saleh-empty-state {
  border-radius: var(--saleh-radius-lg);
  padding: 38px;
  text-align: center;
}

.saleh-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.saleh-pagination a {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--saleh-line);
  background: #fff;
}

.saleh-pagination a.is-active {
  background: var(--saleh-primary);
  color: #fff;
}

.saleh-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.saleh-load-more {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(197, 160, 89, .42);
  border-radius: 999px;
  background: var(--saleh-primary);
  color: #fff;
  padding: 0 26px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--saleh-soft-shadow);
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.saleh-load-more:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--saleh-shadow);
}

.saleh-load-more:disabled {
  cursor: default;
  opacity: .76;
}

.saleh-load-more.is-loading i {
  animation: saleh-spin .8s linear infinite;
}

.saleh-load-more.is-complete {
  background: #fff;
  color: var(--saleh-muted);
  box-shadow: none;
}

@keyframes saleh-spin {
  to {
    transform: rotate(360deg);
  }
}

.saleh-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  padding: 42px 0 70px;
}

.saleh-document,
.saleh-image-document {
  border-radius: var(--saleh-radius-xl);
  padding: clamp(24px, 4vw, 54px);
}

.saleh-document h1,
.saleh-image-document h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 900px;
}

.saleh-doc-category {
  display: inline-flex;
  color: var(--saleh-primary);
  background: rgba(197, 160, 89, .14);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.saleh-doc-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 26px;
  color: var(--saleh-muted);
  font-size: .92rem;
}

.saleh-doc-meta time,
.saleh-doc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.saleh-doc-image,
.saleh-image-figure {
  margin: 0 0 30px;
  border-radius: 28px;
  overflow: hidden;
  background: #e8e9ec;
}

.saleh-doc-image img,
.saleh-image-figure img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.saleh-image-figure figcaption {
  padding: 16px 20px;
  color: var(--saleh-muted);
  background: #fff;
}

.saleh-content {
  font-size: 1.25rem;
  line-height: 2.05;
}

.saleh-content p {
  margin: 0 0 1.15em;
}

.saleh-content img {
  border-radius: 18px;
  margin: 24px auto;
}

.saleh-document-side {
  border-radius: var(--saleh-radius-lg);
  padding: 20px;
  position: sticky;
  top: 110px;
}

.saleh-document-side h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.saleh-compact-card {
  border-radius: 18px;
  margin-bottom: 10px;
}

.saleh-compact-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.saleh-compact-card small {
  display: block;
  color: var(--saleh-muted);
  font-size: .78rem;
}

.saleh-compact-card strong {
  display: block;
  line-height: 1.55;
}

.saleh-image-document {
  margin-top: 42px;
}

.saleh-image-content {
  max-width: 880px;
}

.saleh-search-form {
  max-width: 760px;
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.saleh-search-form input {
  flex: 1;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid var(--saleh-line);
  padding: 0 20px;
  font-family: inherit;
}

.saleh-search-form button {
  min-height: 52px;
  border-radius: 999px;
  border: 0;
  background: var(--saleh-primary);
  color: #fff;
  padding: 0 24px;
  font-family: inherit;
  font-weight: 800;
}

.saleh-footer {
  padding: 30px 0 44px;
  color: var(--saleh-muted);
  border-top: 1px solid var(--saleh-line);
}

.saleh-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.saleh-footer strong,
.saleh-footer span {
  display: block;
}

.saleh-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.saleh-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.saleh-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.saleh-english-page {
  direction: ltr;
  text-align: left;
}

.saleh-english-page .saleh-breadcrumb,
.saleh-english-page .saleh-doc-meta,
.saleh-english-page .saleh-section-heading,
.saleh-english-strip .saleh-section-heading {
  direction: ltr;
  text-align: left;
}

.saleh-english-document {
  font-family: Georgia, "Times New Roman", serif;
}

.saleh-english-document .saleh-content {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.85;
}

.saleh-english-side .saleh-compact-card a {
  direction: ltr;
}

.saleh-english-side .saleh-compact-card i {
  transform: scaleX(-1);
}

.saleh-english-strip {
  direction: ltr;
}

.saleh-mixed-grid--english .saleh-archive-card,
.saleh-mixed-grid--english .saleh-card-body,
.saleh-english-page .saleh-archive-card,
.saleh-english-page .saleh-card-body {
  direction: ltr;
  text-align: left;
}

@media (max-width: 1100px) {
  .saleh-nav-links {
    position: fixed;
    inset-inline: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--saleh-shadow);
  }

  .saleh-nav-links.is-open {
    display: flex;
  }

  .saleh-menu-toggle {
    display: grid;
    place-items: center;
  }

  .saleh-hero-content,
  .saleh-memory-strip,
  .saleh-single-layout {
    grid-template-columns: 1fr;
  }

  .saleh-hero-panel {
    justify-self: start;
  }

  .saleh-gateways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saleh-photo-grid--archive,
  .saleh-mixed-grid,
  .saleh-archive-list,
  .saleh-quotes-grid,
  .saleh-about-text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saleh-document-side {
    position: static;
  }
}

@media (max-width: 720px) {
  .saleh-shell,
  .saleh-breadcrumb {
    width: min(var(--saleh-container), calc(100% - 24px));
  }

  .saleh-nav {
    min-height: 72px;
  }

  .saleh-brand-text span,
  .saleh-nav-action {
    display: none;
  }

  .saleh-nav-search {
    margin-inline-start: auto;
  }

  .saleh-header-search {
    inset-inline: 12px;
    top: calc(100% + 8px);
    width: auto;
    border-radius: 20px;
  }

  .saleh-hero {
    padding-top: 22px;
  }

  .saleh-hero-card,
  .saleh-hero-content {
    min-height: 680px;
  }

  .saleh-hero-card {
    border-radius: 28px;
  }

  .saleh-hero-card::before {
    background:
      linear-gradient(180deg, rgba(13, 35, 58, .24), rgba(7, 25, 43, .94) 68%),
      var(--saleh-hero-image, none) 54% top/cover no-repeat;
  }

  .saleh-hero-content {
    align-items: end;
    gap: 18px;
    padding: 22px;
  }

  .saleh-hero .saleh-eyebrow {
    display: none;
  }

  .saleh-hero-panel {
    display: block;
    width: 100%;
    justify-self: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(20, 17, 15, .56);
  }

  .saleh-panel-title {
    margin-bottom: 6px;
    font-size: .92rem;
  }

  .saleh-panel-title span {
    display: none;
  }

  .saleh-mini-stat {
    grid-template-columns: 88px 1fr;
    gap: 8px;
    padding: 6px 0;
  }

  .saleh-mini-stat strong {
    width: 80px;
    min-height: 42px;
    border-radius: 14px;
    font-size: .72rem;
  }

  .saleh-mini-stat p {
    font-size: .9rem;
    line-height: 1.65;
	  padding-right: 5px;
	  
  }

  .saleh-gateways,
  .saleh-photo-grid,
  .saleh-photo-grid--archive,
  .saleh-mixed-grid,
  .saleh-archive-list,
  .saleh-quotes-grid,
  .saleh-about-text {
    grid-template-columns: 1fr;
  }

  .saleh-photo-lab .saleh-photo-card:nth-child(1),
  .saleh-photo-lab .saleh-photo-card:nth-child(10n + 6) {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .saleh-section-heading,
  .saleh-footer-inner {
    display: block;
  }

  .saleh-small-link {
    display: inline-block;
    margin-top: 12px;
  }

  .saleh-timeline-result {
    grid-template-columns: 1fr;
  }

  .saleh-search-form {
    display: grid;
  }
}
@media (max-width: 768px) {
  .saleh-gateway-grid,
  .saleh-gateways-grid,
  .saleh-gateway-cards,
  .saleh-gateway-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .saleh-gateway-card {
    min-width: 0;
    min-height: auto;
    padding: 16px;
    border-radius: 18px;
    overflow: hidden;
  }

  .saleh-gateway-card * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .saleh-gateway-card h2,
  .saleh-gateway-card h3,
  .saleh-gateway-card p,
  .saleh-gateway-card a,
  .saleh-gateway-card span {
    overflow-wrap: anywhere;
  }

  .saleh-gateway-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
  }
}