/* Shared theme — taken from zubairalizai.com */

    :root {
      --primary:        #1a4a2e;
      --primary-light:  #2e7a4f;
      --primary-dark:   #0f2d1c;
      --gold:           #c9a84c;
      --gold-light:     #e8c870;
      --cream:          #fdf9f2;
      --cream-dark:     #f3ead8;
      --text-dark:      #1a2b1e;
      --text-mid:       #3b5244;
      --text-light:     #6a7e72;
      --border:         #d6c9a6;
      --shadow-sm:      0 2px 10px rgba(0,0,0,.07);
      --shadow-md:      0 6px 24px rgba(0,0,0,.11);
      --shadow-lg:      0 14px 48px rgba(0,0,0,.15);
      --radius:         12px;
      --radius-lg:      20px;

      --font-en: 'Open Sans', Arial, sans-serif;
      --font-ur: 'Noto Nastaliq Urdu', serif;
      --font-ar: 'Noto Naskh Arabic', serif;
    }
    /* =========================================================
       NAVBAR
    ========================================================= */
    .site-navbar {
      background: var(--primary-dark);
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 18px rgba(0,0,0,.45);
    }

    .navbar-inner {
      max-width: 1140px;
      margin: 0 auto;
      padding: .7rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .navbar-brand {
      display: flex;
      align-items: center;
      gap: .7rem;
      text-decoration: none;
      color: var(--gold-light);
      font-family: var(--font-en);
      font-weight: 700;
      font-size: .95rem;
      flex-shrink: 0;
      white-space: nowrap;
    }

    .navbar-brand img {
      height: 42px;
      width: 42px;
      border-radius: 50%;
      border: 2px solid var(--gold);
      object-fit: cover;
    }

    .navbar-brand .brand-text { display: none; }
    @media (min-width: 500px) { .navbar-brand .brand-text { display: inline; } }

    .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: .35rem;
      color: var(--gold-light);
    }
    .nav-toggle span {
      display: block;
      width: 24px; height: 2px;
      background: currentColor;
      margin: 5px 0;
      border-radius: 2px;
      transition: transform .3s, opacity .3s;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .navbar-links {
      display: flex;
      align-items: center;
      gap: .15rem;
      list-style: none;
      flex-wrap: wrap;
    }

    .navbar-links a {
      color: rgba(255,255,255,.78);
      text-decoration: none;
      font-family: var(--font-en);
      font-size: .82rem;
      font-weight: 500;
      padding: .42rem .7rem;
      border-radius: 6px;
      transition: background .2s, color .2s;
      white-space: nowrap;
    }

    .navbar-links a:hover,
    .navbar-links a.active {
      background: var(--gold);
      color: var(--primary-dark);
    }

    @media (max-width: 820px) {
      .nav-toggle { display: block; }
      .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        align-items: stretch;
        padding: .75rem 1.25rem 1.25rem;
        gap: .2rem;
        border-top: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 8px 24px rgba(0,0,0,.3);
      }
      .navbar-links.open { display: flex; }
      .navbar-links a { padding: .65rem 1rem; font-size: .9rem; }
    }

    /* =========================================================
       HERO
    ========================================================= */
    .site-hero {
      background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, #2a6b40 100%);
      color: white;
      text-align: center;
      padding: 4rem 1.5rem 5rem;
      position: relative;
      overflow: hidden;
    }

    .site-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: none;
      background-size: cover;
      background-position: center;
      opacity: .06;
    }

    /* decorative Arabic calligraphy pattern overlay */
    .site-hero::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0; right: 0;
      height: 60px;
      background: var(--cream);
      clip-path: ellipse(55% 100% at 50% 100%);
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 680px;
      margin: 0 auto;
    }

    .hero-photo {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      border: 4px solid var(--gold);
      object-fit: cover;
      box-shadow: 0 10px 40px rgba(0,0,0,.5);
      margin: 0 auto 1.5rem;
    }

    .hero-name {
      font-family: var(--font-en);
      font-size: clamp(1.6rem, 5vw, 2.4rem);
      font-weight: 700;
      color: var(--gold-light);
      margin-bottom: .35rem;
      letter-spacing: .01em;
      text-shadow: 0 2px 12px rgba(0,0,0,.4);
    }

    .hero-arabic-name {
      font-family: var(--font-ar);
      font-size: clamp(1.15rem, 3.5vw, 1.65rem);
      color: rgba(255,255,255,.88);
      direction: rtl;
      margin-bottom: .75rem;
      line-height: 2.2;
    }

    .hero-dates {
      font-family: var(--font-en);
      font-size: .88rem;
      color: rgba(255,255,255,.55);
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .hero-divider {
      width: 90px;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      margin: 1.5rem auto 0;
      border-radius: 2px;
    }

    /* =========================================================
       MAIN CONTAINER
    ========================================================= */
    .site-main {
      max-width: 940px;
      margin: 0 auto;
      padding: 2.5rem 1.25rem 5rem;
    }

    /* =========================================================
       SECTION HEADING
    ========================================================= */
    .section-heading {
      font-family: var(--font-en);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin: 2.75rem 0 1.1rem;
      padding-bottom: .55rem;
      border-bottom: 2px solid var(--gold);
      display: flex;
      align-items: center;
      gap: .55rem;
      direction: ltr;
      text-align: left;
    }

    .section-heading .sh-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px; height: 32px;
      border-radius: 8px;
      background: var(--gold);
      color: var(--primary-dark);
      font-size: 1rem;
      flex-shrink: 0;
    }

    /* =========================================================
       CARD
    ========================================================= */
    .card {
      background: white;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border);
      padding: 1.5rem 1.6rem;
      margin-bottom: 1.1rem;
      transition: box-shadow .25s, transform .25s;
    }

    .card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-1px);
    }

    /* =========================================================
       PROSE
    ========================================================= */
    .prose {
      font-family: var(--font-en);
      font-size: .95rem;
      line-height: 1.8;
      color: var(--text-mid);
      direction: ltr;
      text-align: left;
    }

    .prose p { margin-bottom: .85rem; }
    .prose p:last-child { margin-bottom: 0; }

    .prose a {
      color: var(--primary-light);
      font-weight: 600;
      text-decoration: none;
      border-bottom: 1px solid rgba(46,122,79,.3);
      transition: border-color .2s;
    }
    .prose a:hover { border-color: var(--primary-light); }

    .prose b, .prose strong { color: var(--primary-dark); }

    /* =========================================================
       NAV PILLS (quick links)
    ========================================================= */
    .nav-pills {
      display: flex;
      flex-wrap: wrap;
      gap: .65rem;
      margin-bottom: 1.1rem;
    }

    .nav-pill {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      padding: .55rem 1.1rem;
      border-radius: 50px;
      background: white;
      border: 1.5px solid var(--primary-light);
      color: var(--primary);
      font-family: var(--font-en);
      font-size: .86rem;
      font-weight: 600;
      text-decoration: none;
      transition: all .22s;
    }

    .nav-pill:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
      transform: translateY(-1px);
    }

    /* =========================================================
       FOOTER
    ========================================================= */
    .site-footer {
      background: var(--primary-dark);
      color: rgba(255,255,255,.6);
      padding: 3rem 1.5rem 2rem;
    }

    .footer-inner {
      max-width: 940px;
      margin: 0 auto;
      text-align: center;
    }

    .footer-logo {
      height: 60px;
      margin: 0 auto 1.25rem;
      opacity: .85;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: .4rem 1.1rem;
      margin-bottom: 1.5rem;
    }

    .footer-links a {
      color: rgba(255,255,255,.55);
      text-decoration: none;
      font-family: var(--font-en);
      font-size: .8rem;
      transition: color .2s;
    }

    .footer-links a:hover { color: var(--gold-light); }

    .footer-social {
      display: flex;
      justify-content: center;
      gap: .7rem;
      margin-bottom: 1.5rem;
    }

    .footer-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px; height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,.1);
      color: white;
      text-decoration: none;
      font-size: .9rem;
      font-family: var(--font-en);
      font-weight: 700;
      transition: background .2s, transform .2s;
    }

    .footer-social a:hover {
      background: var(--gold);
      color: var(--primary-dark);
      transform: scale(1.1);
    }

    .footer-copy {
      font-family: var(--font-en);
      font-size: .76rem;
      color: rgba(255,255,255,.3);
      line-height: 1.7;
    }

    .footer-copy a {
      color: var(--gold-light);
      text-decoration: none;
    }

    /* =========================================================
       UTILITIES
    ========================================================= */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--cream-dark); }
    ::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }
    ::selection { background: var(--gold); color: var(--primary-dark); }

    @media print {
      .site-navbar, .site-footer { display: none; }
    }


html{scroll-behavior:smooth}
.site-main a.plain{color:inherit}
.photo-card img{border-radius:10px;margin:.4rem auto;box-shadow:var(--shadow-sm)}
.rtl-block{direction:rtl;text-align:right;font-family:var(--font-ur);line-height:2.2}
