/* ==========================================================================
   About Page Phase 2 - Persian RTL Editorial & Pilgrimage Identity
   ========================================================================== */

:root {
  --emerald-dark: #08241a;
  --emerald-main: #0e3d2e;
  --emerald-subtle: #144d3b;
  --emerald-light: #e8f0ec;
  --gold-primary: #c49826;
  --gold-accent: #d4af37;
  --gold-soft: #f4e8c1;
  --gold-bg: #fffbf0;
  --ivory-bg: #FAF8F5;
  --surface-card: #ffffff;
  --surface-warm: #FAF7F2;
  --text-primary: #122232;
  --text-body: #243648;
  --text-muted: #576b7c;
  --border-light: #E6E0D4;
  --border-emerald: #b8d1c6;
  --border-gold: rgba(196, 152, 38, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(14, 61, 46, 0.04);
  --shadow-md: 0 8px 24px rgba(14, 61, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(14, 61, 46, 0.12);
}

body {
  background: var(--ivory-bg) !important;
  color: var(--text-body) !important;
  font-family: 'Vazirmatn', Tahoma, sans-serif !important;
  margin: 0;
  direction: rtl;
}

.about-shell {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.about-main-padding {
  padding: 36px 0 64px;
}

/* ==========================================================================
   1. Hero Section (Unified in site-hero-phase2.css)
   ========================================================================== */

/* ==========================================================================
   2. Intro / Mission Section
   ========================================================================== */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.about-mission__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.about-mission__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--emerald-main);
  border-radius: 3px;
}

.about-mission__text {
  font-size: 0.96rem;
  line-height: 1.95;
  color: var(--text-body);
  margin: 0 0 20px 0;
  text-align: justify;
}

.about-mission__image-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.about-mission__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   3. Values / Hospitality Highlights
   ========================================================================== */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.about-value-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-value-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-emerald);
}

.about-value-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--emerald-light);
  color: var(--emerald-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-value-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.about-value-card__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.about-value-card__desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   4. Environment Gallery
   ========================================================================== */
.about-gallery-section {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.about-section-header {
  margin-bottom: 24px;
}

.about-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.about-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--gold-primary);
  border-radius: 3px;
}

.about-section-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--surface-warm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-emerald);
}

.about-gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.about-gallery-card:hover img {
  transform: scale(1.04);
}

.about-gallery-caption {
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-body);
  text-align: center;
  background: var(--surface-card);
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   5. Goals & Responsibilities
   ========================================================================== */
.about-goals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.about-goal-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}

.about-goal-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--emerald-light);
}

.about-goal-card__title svg {
  width: 20px;
  height: 20px;
  stroke: var(--emerald-main);
  fill: none;
  stroke-width: 2;
}

.about-goal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-goal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
}

.about-goal-list li svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-primary);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   6. Board / Trustees Section
   ========================================================================== */
.about-trustees-section {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.about-trustees-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.member-card {
  background: var(--surface-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-primary);
}

.member-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-emerald);
}

.member-card__avatar-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-gold);
  background: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-card__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.member-card__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-main);
  background: var(--emerald-light);
}

.member-card__avatar-placeholder svg {
  width: 38px;
  height: 38px;
  stroke: var(--emerald-main);
  fill: none;
  stroke-width: 1.6;
}

.member-card h3 {
  margin: 0 0 4px 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.member-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   7. Contact / Location CTA Strip
   ========================================================================== */
.about-contact-cta {
  background: linear-gradient(135deg, #0e3d2e 0%, #08241a 100%);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.about-contact-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.about-contact-cta__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px 0;
}

.about-contact-cta__info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 0.88rem;
  color: #D3E4DC;
}

.about-contact-cta__info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.about-contact-cta__info-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-accent);
  fill: none;
  stroke-width: 2;
}

.about-contact-cta__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cta-gold {
  padding: 10px 22px;
  background: var(--gold-primary);
  color: #08241a;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 12px rgba(196, 152, 38, 0.3);
}

.btn-cta-gold:hover {
  background: var(--gold-accent);
  transform: translateY(-2px);
}

.btn-cta-outline {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.18s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   8. Closing Pilgrimage Strip
   ========================================================================== */
.news-closing-strip {
  margin-top: 56px;
  background: linear-gradient(90deg, #08241a 0%, #0e3d2e 50%, #08241a 100%);
  border-top: 2px solid var(--gold-primary);
  border-bottom: 1px solid rgba(196, 152, 38, 0.2);
  padding: 22px 16px;
  text-align: center;
  color: #FFFFFF;
}

.news-closing-strip__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 700;
  color: var(--gold-soft);
}

.news-closing-strip__icon {
  color: var(--gold-accent);
}

/* ==========================================================================
   9. Responsive Overrides
   ========================================================================== */
@media (max-width: 1024px) {
  .about-trustees-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }
  .about-goals-grid {
    grid-template-columns: 1fr;
  }
  .about-trustees-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about-contact-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .about-gallery-grid {
    grid-template-columns: 1fr;
  }
  .about-trustees-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-gallery-section,
  .about-trustees-section,
  .about-contact-cta,
  .about-goal-card {
    padding: 20px 16px;
  }
}
