:root{
    --ink:#1B2A4A;
    --ink-2:#0F1B33;
    --paper:#EDEAE1;
    --paper-2:#F4F2EA;
    --brass:#A8783F;
    --brass-light:#C9A165;
    --burgundy:#6E2A2A;
    --text:#22242B;
    --text-muted:#5B5D63;
    --line: rgba(27,42,74,0.14);
    --radius: 2px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--text);
    font-family:'Vazirmatn', sans-serif;
    line-height:1.9;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.display{
    font-family:'Peyda', 'Vazirmatn', sans-serif;
    font-weight:700;
    color:var(--ink);
    letter-spacing:0;
  }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .container{max-width:1180px; margin:0 auto; padding:0 28px;}
  .eyebrow{
    font-family:'Vazirmatn', sans-serif;
    font-weight:700;
    font-size:13px;
    letter-spacing:2px;
    color:var(--brass);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
  }
  .eyebrow::before{
    content:"";
    width:26px; height:1px; background:var(--brass);
    display:inline-block;
  }

  /* ---------- SEAL MOTIF (signature element) ---------- */
  .seal{ display:block; }
  .seal circle{ fill:none; }
  .seal .ring-outer{ stroke:currentColor; stroke-width:1.1; opacity:0.85; }
  .seal .ring-inner{ stroke:currentColor; stroke-width:0.6; opacity:0.55; }
  .seal .mark{ fill:currentColor; }
  .seal text{
    font-family:'Vazirmatn', sans-serif;
    font-size:6.4px;
    font-weight:600;
    letter-spacing:1.5px;
    fill:currentColor;
  }

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(237,234,225,0.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav-row{
    display:flex; align-items:center; justify-content:space-between;
    height:78px;
  }
  .brand{ display:flex; align-items:center; gap:12px; }
  .logo-crop{
    width:46px; height:46px; border-radius:50%; overflow:hidden;
    display:block; flex:none;
  }
  .logo-crop img{
    width:100%; height:135%; object-fit:cover; object-position:top center;
  }
  .brand-text{ display:flex; flex-direction:column; line-height:1.35; }
  .brand-text .name{ font-family:'Peyda', sans-serif; font-weight:700; font-size:18px; color:var(--ink); }
  .brand-text .sub{ font-size:11px; color:var(--text-muted); letter-spacing:1px; }

  nav.main-menu{ display:flex; gap:30px; }
  nav.main-menu a{
    font-size:15px; font-weight:500; color:var(--text);
    position:relative; padding:6px 0;
  }
  nav.main-menu a::after{
    content:""; position:absolute; right:0; bottom:0; width:0; height:2px;
    background:var(--brass); transition:width .25s ease;
  }
  nav.main-menu a:hover::after{ width:100%; }

  .btn{
    position:relative; overflow:hidden; isolation:isolate;
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:12px 26px; border-radius:var(--radius);
    font-weight:700; font-size:14.5px;
    border:1px solid transparent; cursor:pointer;
    transition:color .3s ease, border-color .3s ease;
    text-align:center;
  }
  .btn::before{
    content:""; position:absolute; inset:0; z-index:-1;
    transform:scaleX(0); transform-origin:right;
    transition:transform .4s cubic-bezier(.65,0,.35,1);
  }
  .btn:hover::before{ transform:scaleX(1); }

  .btn-primary{ background:var(--ink); color:var(--paper-2); }
  .btn-primary::before{ background:var(--brass); }
  .btn-primary:hover{ color:#fff; }

  .btn-ghost{ border-color:var(--ink); color:var(--ink); }
  .btn-ghost::before{ background:var(--ink); }
  .btn-ghost:hover{ color:var(--paper-2); }

  .btn-brass{ background:var(--brass); color:#fff; }
  .btn-brass::before{ background:var(--ink); }
  .btn-brass:hover{ color:#fff; }

  .menu-toggle{ display:none; background:none; border:0; color:var(--ink); font-size:26px; cursor:pointer; }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    overflow:hidden;
    padding:96px 0 110px;
    background:
      radial-gradient(circle at 88% 18%, rgba(27,42,74,0.06), transparent 45%),
      var(--paper);
    border-bottom:1px solid var(--line);
  }
  .hero-seal-bg{
    position:absolute; left:-90px; top:-60px; width:420px; height:420px;
    color:var(--ink); opacity:0.06; pointer-events:none;
  }
  .hero-arabesque{
    position:absolute; right:-40px; bottom:-60px; width:320px; height:320px;
    color:var(--brass); opacity:0.10; pointer-events:none;
  }
  .section-head .arabesque-mark{
    width:34px; height:34px; color:var(--brass); opacity:0.55; margin:0 auto 14px;
  }
  .hero-grid{
    position:relative; z-index:1;
    display:grid; grid-template-columns:1.15fr 0.85fr; gap:60px; align-items:center;
  }
  .hero h1{
    font-size:clamp(32px, 4.6vw, 58px); line-height:1.32; margin:0 0 24px;
  }
  .hero h1 em{ font-style:normal; color:var(--brass); }
  .hero p.lead{
    font-size:18px; color:var(--text-muted); max-width:520px; margin:0 0 36px;
  }
  .hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

  .hero-aside{
    position:relative;
    background:var(--ink);
    color:var(--paper-2);
    border-radius:var(--radius);
    padding:34px 30px;
    box-shadow:0 24px 50px -20px rgba(15,27,51,0.55);
  }
  .hero-aside .seal{ width:52px; height:52px; color:var(--brass-light); margin-bottom:18px; }
  .hero-aside h3{ color:#fff; font-size:22px; margin:0 0 14px; }
  .hero-aside p{ color:rgba(255,255,255,0.78); font-size:14.5px; margin:0 0 22px; }
  .hero-stats{ display:grid; grid-template-columns:1fr 1fr; gap:18px; border-top:1px solid rgba(255,255,255,0.16); padding-top:20px; }
  .hero-stats div b{ display:block; font-family:'Vazirmatn'; font-weight:800; font-size:24px; color:var(--brass-light); }
  .hero-stats div span{ font-size:12.5px; color:rgba(255,255,255,0.65); }

  /* ---------- SECTION DIVIDER (seal) ---------- */
  .divider{
    display:flex; align-items:center; justify-content:center; gap:16px;
    margin:0; color:var(--brass); opacity:0.9;
  }
  .divider .line{ flex:1; height:1px; background:var(--line); max-width:220px; }
  .divider .seal{ width:26px; height:26px; }

  section{ padding:78px 0; }
  section.alt{ background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .section-head{ text-align:center; max-width:640px; margin:0 auto 42px; }
  .section-head h2{ font-size:clamp(26px, 3vw, 38px); margin:0 0 16px; }
  .section-head p{ color:var(--text-muted); font-size:16px; margin:0; }
  .section-head .eyebrow{ justify-content:center; }
  .section-head .eyebrow::before{ display:none; }

  /* ---------- IDENTITY ---------- */
  .identity-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  .id-card{
    background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius);
    padding:26px 22px; position:relative; overflow:hidden;
    border-right:3px solid transparent;
    transition:border-color .25s ease, background .25s ease;
  }
  .id-card:hover{ border-right-color:var(--brass); }
  section.alt .id-card{ background:var(--paper); }
  .id-card .id-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
  .id-card .icon-badge{
    width:38px; height:38px; border-radius:2px; flex:none;
    display:flex; align-items:center; justify-content:center;
    background:rgba(27,42,74,0.06); color:var(--ink);
  }
  .id-card .icon-badge svg{ width:19px; height:19px; }
  .id-card .num{
    font-family:'Vazirmatn'; font-weight:700; font-size:12px; letter-spacing:1px; color:var(--brass);
  }
  .id-card h3{ font-size:18.5px; margin:0 0 10px; }
  .id-card p{ font-size:14px; color:var(--text-muted); margin:0 0 16px; }
  .id-card ul{ list-style:none; margin:0; padding:14px 0 0; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:8px; }
  .id-card li{ font-size:13px; color:var(--text); display:flex; align-items:center; gap:8px; }
  .id-card li::before{ content:""; width:5px; height:5px; background:var(--brass); flex:none; transform:rotate(45deg); }

  /* ---------- EVENTS ---------- */
  .events-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .event-card{
    background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius);
    overflow:hidden; display:flex; flex-direction:column;
    transition:box-shadow .25s ease, border-color .25s ease;
  }
  .event-card:hover{ box-shadow:0 14px 28px -20px rgba(27,42,74,0.28); border-color:var(--brass); }
  .event-top{
    position:relative; overflow:hidden;
    background:var(--ink); color:#fff; padding:20px 22px 18px;
    display:flex; align-items:center; justify-content:space-between;
  }
  .event-top .bg-seal{ position:absolute; left:-18px; top:-18px; width:90px; height:90px; color:#fff; opacity:0.08; }
  .event-top .top-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
  .event-top.has-photo::before{
    content:""; position:absolute; inset:0; z-index:0;
    background:linear-gradient(180deg, rgba(15,27,51,.25), rgba(15,27,51,.65));
  }
  .event-top .badge{
    position:relative; display:inline-flex; align-items:center; gap:6px;
    font-size:11.5px; letter-spacing:0.5px; color:rgba(255,255,255,0.85);
    background:rgba(255,255,255,0.1); padding:5px 10px; border-radius:20px;
  }
  .event-top .badge svg{ width:13px; height:13px; }
  .event-top .seal{ position:relative; width:26px; height:26px; color:var(--brass-light); }
  .event-body{ padding:20px 22px 22px; flex:1; display:flex; flex-direction:column; }
  .event-body h3{ font-size:19px; margin:0 0 8px; }
  .event-body p{ font-size:13.5px; color:var(--text-muted); flex:1; margin:0 0 16px; }
  .event-meta{ display:flex; flex-wrap:wrap; gap:14px; padding:12px 0; margin-bottom:14px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .event-meta span{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--text-muted); }
  .event-meta svg{ width:14px; height:14px; color:var(--brass); }
  .event-body .more{ font-size:13.5px; font-weight:700; color:var(--brass); display:inline-flex; align-items:center; gap:5px; }
  .event-body .more svg{ width:14px; height:14px; }
  a.more{ font-size:14px; font-weight:700; color:var(--brass); display:inline-flex; align-items:center; gap:5px; }
  a.more svg{ width:14px; height:14px; }

  .event-full{ grid-column:1 / -1; display:grid; grid-template-columns:1.1fr 0.9fr; }
  .event-full .event-top{ background:var(--burgundy); }
  .event-full .stat-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:16px; }
  .event-full .stat-row div{ text-align:center; border:1px solid var(--line); padding:10px 6px; }
  .event-full .stat-row b{ display:block; font-family:'Vazirmatn'; font-weight:800; font-size:20px; color:var(--ink); }
  .event-full .stat-row span{ font-size:11px; color:var(--text-muted); }

  /* ---------- LEGAL ACTIONS ---------- */
  .actions-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .action-card{
    border:1px solid var(--line); border-radius:var(--radius); padding:24px 22px;
    background:var(--paper); position:relative;
  }
  section.alt .action-card{ background:var(--paper-2); }
  .action-card::before{
    content:""; position:absolute; top:0; right:0; width:44px; height:3px; background:var(--brass);
  }
  .action-head{ display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:16px; }
  .action-card .icon-badge{
    width:40px; height:40px; border-radius:2px; flex:none;
    display:flex; align-items:center; justify-content:center;
    background:rgba(27,42,74,0.06); color:var(--ink);
  }
  .action-card .icon-badge svg{ width:20px; height:20px; }
  .status-chip{
    display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700;
    color:var(--burgundy); background:rgba(110,42,42,0.08); padding:5px 10px; border-radius:20px;
  }
  .status-chip::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--burgundy); }
  .action-card h3{ font-size:19px; margin:0 0 10px; }
  .action-card p{ font-size:14px; color:var(--text-muted); margin:0 0 16px; }
  .action-meta{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; border-top:1px solid var(--line); }
  .action-meta .date{ display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--text-muted); }
  .action-meta .date svg{ width:14px; height:14px; color:var(--brass); }
  .action-meta .more{ font-size:13px; font-weight:700; color:var(--brass); display:inline-flex; align-items:center; gap:5px; }
  .action-meta .more svg{ width:13px; height:13px; }

  /* ---------- NOTES ---------- */
  .notes-list{ border-top:1px solid var(--line); }
  .note-row{
    display:flex; align-items:center; gap:26px;
    padding:24px 6px; border-bottom:1px solid var(--line);
  }
  .note-row .date{
    width:96px; flex:none; font-size:13px; color:var(--brass); font-weight:700;
  }
  .note-row h3{ font-size:18px; margin:0; flex:1; font-family:'Vazirmatn'; font-weight:700; color:var(--ink); }
  .note-row .arrow{ color:var(--text-muted); font-size:18px; }
  .note-row:hover h3{ color:var(--brass); }

  /* ---------- CONTACT PANEL (distinct from the dark footer below it) ---------- */
  .contact-panel{ background:var(--paper); padding:78px 0; }
  .contact-card{
    position:relative; overflow:hidden;
    background:var(--paper-2); border:1px solid var(--line); border-radius:6px;
    padding:44px 40px;
  }
  .contact-card::before{
    content:""; position:absolute; top:0; right:0; left:0; height:3px; background:var(--brass);
  }
  .contact-card-seal{
    position:absolute; left:-50px; bottom:-60px; width:280px; height:280px;
    color:var(--ink); opacity:0.05; pointer-events:none;
  }
  .contact-card-grid{
    position:relative; display:grid; grid-template-columns:1.4fr 0.6fr; gap:50px; align-items:center;
  }
  .contact-card h2{ font-size:30px; margin:0 0 14px; }
  .contact-card p.lead{ color:var(--text-muted); font-size:15.5px; margin:0 0 26px; max-width:440px; }
  .contact-items-v2{ display:flex; flex-direction:column; gap:0; margin-bottom:24px; border-top:1px solid var(--line); }
  .contact-items-v2 .info-row{ padding:11px 0; }
  .social-row{ display:flex; gap:12px; }
  .social-row a{
    width:40px; height:40px; border-radius:50%; border:1px solid var(--line); color:var(--ink);
    display:flex; align-items:center; justify-content:center;
  }
  .social-row a:hover{ background:var(--brass); border-color:var(--brass); color:#fff; }
  .contact-card-cta{
    text-align:center; border-right:1px solid var(--line); padding-right:40px;
    display:flex; flex-direction:column; align-items:center; gap:14px;
  }
  .contact-card-cta .icon-badge{ background:rgba(168,120,63,.12); color:var(--brass); }
  .contact-card-logo{ width:150px; height:auto; margin:0 auto; }
  .contact-card-cta p{ font-size:13.5px; color:var(--text-muted); margin:0; }
  .contact-card-cta .btn{ width:100%; }
  @media (max-width:860px){
    .contact-card-grid{ grid-template-columns:1fr; }
    .contact-card-cta{ border-right:none; border-top:1px solid var(--line); padding-right:0; padding-top:30px; }
  }

  footer{
    background:var(--ink-2); color:rgba(255,255,255,0.55); font-size:13px;
    padding:26px 0; text-align:center; border-top:1px solid rgba(255,255,255,0.08);
  }

  .reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
  .reveal.in{ opacity:1; transform:none; }

  @media (max-width: 980px){
    .hero-grid{ grid-template-columns:1fr; }
    .identity-grid{ grid-template-columns:repeat(2,1fr); }
    .events-grid, .actions-grid{ grid-template-columns:repeat(2,1fr); }
    .event-full{ grid-column:auto; grid-template-columns:1fr; }
  }
  @media (max-width: 720px){
    nav.main-menu{
      position:fixed; inset:78px 0 auto 0; background:var(--paper);
      flex-direction:column; padding:20px 28px; gap:0; border-bottom:1px solid var(--line);
      transform:translateY(-120%); transition:transform .3s ease;
    }
    nav.main-menu.open{ transform:translateY(0); }
    nav.main-menu a{ padding:14px 0; border-bottom:1px solid var(--line); }
    .menu-toggle{ display:block; }
    .identity-grid, .events-grid, .actions-grid{ grid-template-columns:1fr; }
    section{ padding:64px 0; }
    .note-row{ flex-wrap:wrap; }
  }
  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    .reveal{ opacity:1; transform:none; transition:none; }
  }

  /* ---------- GRAIN / SCROLL PROGRESS / NAV STATE ---------- */
  .grain-overlay{
    position:fixed; inset:0; z-index:9999; pointer-events:none;
    mix-blend-mode:overlay; opacity:0.05;
  }
  .scroll-progress{
    position:fixed; top:0; right:0; left:0; height:2.5px; z-index:9998;
    background:var(--brass); transform-origin:right;
    transform:scaleX(0); transition:transform .1s linear;
  }
  nav.main-menu a.active{ color:var(--brass); }
  nav.main-menu a.active::after{ width:100%; }

  .icon-social{ width:17px; height:17px; }
  .icon-line{ fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
  .social-row a{ transition:transform .18s ease, background .18s ease, border-color .18s ease; }
  .social-row a:hover{ transform:translateY(-3px); }

  .note-row .arrow{ transition:transform .2s ease; }
  .note-row:hover .arrow{ transform:translateX(-6px); color:var(--brass); }

/* ============================================================
   INNER PAGES: page header, breadcrumb, filters, detail layout
   ============================================================ */

.page-hero{
  position:relative; overflow:hidden;
  background:var(--ink); color:#fff;
  padding:52px 0 44px;
  border-bottom:1px solid var(--line);
}
.page-hero .bg-seal{ position:absolute; left:-60px; top:-50px; width:280px; height:280px; color:#fff; opacity:0.06; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13px; color:rgba(255,255,255,0.6); margin-bottom:16px; position:relative; }
.breadcrumb a{ color:rgba(255,255,255,0.75); }
.breadcrumb a:hover{ color:var(--brass-light); }
.page-hero h1{ color:#fff; font-size:clamp(26px,3.4vw,38px); margin:0 0 12px; position:relative; }
.page-hero p{ color:rgba(255,255,255,0.72); font-size:15.5px; max-width:600px; margin:0; position:relative; }

.filter-bar{
  display:flex; flex-wrap:wrap; gap:10px;
  padding:24px 0; border-bottom:1px solid var(--line); margin-bottom:40px;
}
.filter-chip{
  font-size:13px; font-weight:600; padding:8px 18px; border-radius:20px;
  border:1px solid var(--line); background:var(--paper-2); color:var(--text-muted);
  cursor:pointer; transition:all .2s ease;
}
.filter-chip.active, .filter-chip:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }

.list-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.list-grid[data-cols="2"]{ grid-template-columns:repeat(2,1fr); }
@media (max-width:980px){ .list-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:720px){ .list-grid{ grid-template-columns:1fr; } }

/* ---------- DETAIL PAGE ---------- */
.detail-grid{ display:grid; grid-template-columns:1fr 320px; gap:50px; align-items:start; }
@media (max-width:980px){ .detail-grid{ grid-template-columns:1fr; } }

.detail-main article{ font-size:16px; color:var(--text); }
.detail-main article p{ margin:0 0 20px; }
.detail-main article h2{ font-size:22px; margin:36px 0 14px; }
.detail-main article h2:first-child{ margin-top:0; }

.info-card{
  background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius);
  padding:24px; margin-bottom:20px;
}
.info-card h4{ font-family:'Vazirmatn'; font-weight:800; font-size:13px; letter-spacing:1px;
  color:var(--brass); margin:0 0 16px; }
.info-row{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text); padding:9px 0; border-bottom:1px solid var(--line); }
.info-row:last-child{ border-bottom:none; }
.info-row svg{ width:16px; height:16px; color:var(--brass); flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.info-row b{ color:var(--text-muted); font-weight:500; margin-left:auto; }

.file-list{ display:flex; flex-direction:column; gap:8px; }
.file-item{
  display:flex; align-items:center; gap:10px; padding:10px 12px;
  background:var(--paper); border:1px solid var(--line); border-radius:2px; font-size:13.5px;
  transition:border-color .2s ease;
}
.file-item:hover{ border-color:var(--brass); }
.file-item svg{ width:16px; height:16px; color:var(--brass); flex:none; }

.related-list{ display:flex; flex-direction:column; gap:14px; }
.related-item{ display:flex; align-items:center; gap:12px; }
.related-item .icon-badge{ width:32px; height:32px; }
.related-item .icon-badge svg{ width:16px; height:16px; }
.related-item span{ font-size:13.5px; font-weight:600; color:var(--ink); }
.related-item:hover span{ color:var(--brass); }

.stat-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:24px 0 32px; }
.stat-strip div{ text-align:center; border:1px solid var(--line); padding:16px 8px; background:var(--paper-2); }
.stat-strip b{ display:block; font-family:'Vazirmatn'; font-weight:800; font-size:24px; color:var(--ink); }
.stat-strip span{ font-size:12px; color:var(--text-muted); }



/* ---------- SITE FOOTER ---------- */
.site-footer{ background:var(--ink-2); color:rgba(255,255,255,.7); }
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1.2fr 1fr; gap:40px;
  padding:56px 0 36px; border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-brand p{ font-size:13.5px; line-height:1.9; color:rgba(255,255,255,.5); margin:14px 0 0; max-width:260px; }
.footer-col h4{ font-family:'Vazirmatn'; font-weight:700; font-size:13px; color:#fff; letter-spacing:.5px; margin:0 0 16px; }
.footer-col a{ display:block; font-size:13.5px; color:rgba(255,255,255,.62); padding:6px 0; transition:color .2s ease; }
.footer-col a:hover{ color:var(--brass-light); }
.footer-contact-item{ display:flex; gap:9px; align-items:flex-start; font-size:13px; color:rgba(255,255,255,.62); margin-bottom:13px; line-height:1.7; }
.footer-contact-item svg{ width:15px; height:15px; color:var(--brass-light); flex:none; margin-top:2px; }
.footer-social-row{ display:flex; gap:10px; }
.footer-social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.75);
  transition:background .2s ease, border-color .2s ease;
}
.footer-social-row a:hover{ background:var(--brass); border-color:var(--brass); color:#fff; }
.footer-bottom{ padding:18px 0; text-align:center; font-size:12.5px; color:rgba(255,255,255,.4); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; gap:32px; } }

/* ---------- UPLOADED PHOTOS (cards + detail pages) ---------- */
.card-photo{
  width:100%; height:150px; object-fit:cover; display:block;
}
.blog-featured .card-photo{ height:100%; min-height:220px; }
.detail-photo{
  width:100%; max-height:380px; object-fit:cover;
  border-radius:6px; border:1px solid var(--line); margin-bottom:24px; display:block;
}

.action-card .card-photo{
  margin:-24px -22px 18px -22px; width:calc(100% + 44px); height:140px;
  border-radius:var(--radius) var(--radius) 0 0;
}

/* ---------- BLOG-STYLE NOTE/EXPERIENCE CARDS ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:980px){ .blog-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:720px){ .blog-grid{ grid-template-columns:1fr; } }

.blog-card{
  background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column; text-decoration:none; color:inherit;
  transition:box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover{ box-shadow:0 14px 28px -20px rgba(27,42,74,.28); border-color:var(--brass); }
.blog-top{
  position:relative; overflow:hidden; background:var(--ink); color:#fff;
  padding:22px; min-height:108px; display:flex; flex-direction:column; justify-content:space-between;
}
.blog-top .bg-seal{ position:absolute; left:-20px; top:-20px; width:100px; height:100px; color:#fff; opacity:.08; }
.blog-top.has-photo::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:linear-gradient(180deg, rgba(15,27,51,.25), rgba(15,27,51,.65));
}
.blog-top .badge{
  position:relative; z-index:1; display:inline-flex; align-items:center; gap:6px; width:fit-content;
  font-size:11.5px; letter-spacing:.5px; color:rgba(255,255,255,.85);
  background:rgba(255,255,255,.1); padding:5px 10px; border-radius:20px;
}
.blog-top .badge svg{ width:13px; height:13px; }
.blog-top .blog-num{ position:relative; z-index:1; font-family:'Vazirmatn'; font-weight:800; font-size:26px; color:rgba(255,255,255,.25); }
.blog-body{ padding:20px 22px 22px; flex:1; display:flex; flex-direction:column; }
.blog-body h3{ font-size:17.5px; margin:0 0 8px; line-height:1.6; }
.blog-body p{ font-size:13.5px; color:var(--text-muted); flex:1; margin:0 0 16px; }
.blog-meta{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; border-top:1px solid var(--line); }
.blog-meta .date{ display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--text-muted); }
.blog-meta .date svg{ width:13px; height:13px; color:var(--brass); }
.blog-meta .more{ font-size:13px; font-weight:700; color:var(--brass); display:inline-flex; align-items:center; gap:5px; }
.blog-meta .more svg{ width:13px; height:13px; transition:transform .2s ease; }
.blog-card:hover .blog-meta .more svg{ transform:translateX(-4px); }

/* featured note/experience card (full width) */
.blog-featured{
  display:grid; grid-template-columns:1.1fr .9fr; gap:0; margin-bottom:24px;
  background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; text-decoration:none; color:inherit;
  transition:box-shadow .25s ease, border-color .25s ease;
}
.blog-featured:hover{ box-shadow:0 18px 36px -22px rgba(27,42,74,.32); border-color:var(--brass); }
.blog-featured .blog-top{ min-height:100%; padding:34px 30px; justify-content:flex-start; gap:20px; }
.blog-featured .blog-top .seal{ width:42px; height:42px; color:var(--brass-light); position:relative; z-index:1; }
.blog-featured .blog-body{ padding:30px 30px; }
.blog-featured .blog-body h3{ font-size:24px; margin:0 0 14px; }
.blog-featured .blog-body p{ font-size:15px; }
@media (max-width:720px){ .blog-featured{ grid-template-columns:1fr; } }

.blog-top .top-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }

/* ---------- EVENT GALLERY + VIDEO EMBED ---------- */
.media-section{ margin:36px 0; }
.media-section .media-head{ display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.media-section .media-head svg{ width:20px; height:20px; color:var(--brass); }
.media-section .media-head h4{ font-size:16px; margin:0; color:var(--ink); }

.gallery-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px;
}
@media (max-width:640px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } }

.gallery-item{
  position:relative; display:block; overflow:hidden; border-radius:var(--radius);
  aspect-ratio:4/3; cursor:zoom-in; border:1px solid var(--line);
}
.gallery-item img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .45s ease;
}
.gallery-item:hover img{ transform:scale(1.08); }
.gallery-item::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 55%, rgba(15,27,51,.55));
  opacity:0; transition:opacity .3s ease;
}
.gallery-item:hover::after{ opacity:1; }
.gallery-item .zoom-icon{
  position:absolute; left:10px; bottom:10px; width:30px; height:30px; border-radius:50%;
  background:rgba(255,255,255,.92); color:var(--ink); display:flex; align-items:center; justify-content:center;
  opacity:0; transform:translateY(6px); transition:opacity .25s ease, transform .25s ease;
}
.gallery-item:hover .zoom-icon{ opacity:1; transform:translateY(0); }
.gallery-item .zoom-icon svg{ width:15px; height:15px; }

/* lightbox */
.lightbox-overlay{
  position:fixed; inset:0; background:rgba(10,15,26,.92); z-index:200;
  display:none; align-items:center; justify-content:center; padding:40px;
}
.lightbox-overlay.open{ display:flex; }
.lightbox-overlay img{
  max-width:min(900px, 100%); max-height:82vh; object-fit:contain; border-radius:4px;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.6);
}
.lightbox-close, .lightbox-prev, .lightbox-next{
  position:absolute; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:#fff; border-radius:50%; width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background:rgba(255,255,255,.22); }
.lightbox-close{ top:24px; left:24px; }
.lightbox-prev{ top:50%; right:24px; transform:translateY(-50%); }
.lightbox-next{ top:50%; left:24px; transform:translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg{ width:18px; height:18px; }
.lightbox-counter{
  position:absolute; bottom:24px; left:50%; transform:translateX(-50%);
  color:rgba(255,255,255,.7); font-size:13px; letter-spacing:.3px;
}
@media (max-width:640px){
  .lightbox-overlay{ padding:16px; }
  .lightbox-prev, .lightbox-next, .lightbox-close{ width:38px; height:38px; }
}

/* video embed */
.video-embed-wrap{
  position:relative; width:100%; padding-bottom:56.25%; height:0; overflow:hidden;
  border-radius:var(--radius); border:1px solid var(--line); background:var(--ink-2);
}
.video-embed-wrap iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}
