/* =========================================================
  HOA — PRESS (page-only)
  - يعتمد على styles.css للـ Topbar/Footer
  - هنا فقط ستايل الهيرو + أرشيف الصحافة + البروشورات
========================================================= */

.page-press{
  background:#000;
}

/* keep spacing under fixed topbar (styles.css adds padding-top:70px)
   but on some setups it may not exist */
.page-press .pressMain{ min-height: 100vh; }

/* helpers */
.page-press .bleed{
  width:100%;
  padding-inline: 16px;
}
@media (min-width: 1180px){
  .page-press .bleed{ padding-inline: calc((100vw - 1180px)/2); }
}

/* =========================================================
   HERO (edge-to-edge)
========================================================= */
.pressHero{
  position: relative;
  width: 100%;
  min-height: clamp(360px, 52vh, 620px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.pressHero__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  filter: none;
}
.pressHero__overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(1200px 520px at 50% 35%, rgba(0,0,0,.25), rgba(0,0,0,.78) 55%, rgba(0,0,0,.94));
}
.pressHero__inner{
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 56px 0 44px;
  text-align: center;
}
.pressHero__pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(231,201,139,.28);
  background: rgba(231,201,139,.10);
  color: rgba(255,248,238,.92);
  font-weight: 800;
  letter-spacing: .3px;
}
.pressHero__title{
  margin: 14px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: .3px;
  color: rgba(255,248,238,.96);
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.18;
}
.pressHero__sub{
  margin: 0 auto;
  max-width: 72ch;
  color: rgba(255,248,238,.70);
  line-height: 1.85;
  font-weight: 650;
}
.pressHero__actions{
  margin-top: 16px;
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
}
.pressHero__btn{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,248,238,.92);
  font-weight: 850;
}
.pressHero__btn--ghost{
  background: transparent;
}
@media (max-width: 560px){
  .pressHero__inner{ padding: 42px 0 32px; }
}

/* =========================================================
   TOOLS (chips + search)
========================================================= */
.pressTools{
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.72);
}
.pressTools__row{
  padding: 16px 0;
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.chipsTitle{
  color: rgba(255,248,238,.72);
  font-weight: 800;
  margin-bottom: 8px;
}
.chips{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip{
  appearance:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,248,238,.85);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor:pointer;
}
.chip.active{
  border-color: rgba(231,201,139,.35);
  background: rgba(231,201,139,.12);
}

.pressSearch input{
  width: min(360px, 88vw);
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,248,238,.90);
  padding: 0 12px;
  outline: none;
  font-weight: 700;
}
.pressSearch input::placeholder{ color: rgba(255,248,238,.55); }

/* =========================================================
   ARCHIVE GRID
========================================================= */
.archive{ padding: 22px 0 34px; }
.archive__head{
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  margin-bottom: 14px;
}
.archive__title{
  margin:0;
  color: rgba(255,248,238,.94);
  font-weight: 900;
  font-size: 22px;
}
.archive__sub{
  margin: 6px 0 0;
  color: rgba(255,248,238,.62);
  font-weight: 650;
  line-height: 1.8;
}

.pressGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 980px){
  .pressGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .pressGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Vintage frame card */
.pressCard{
  appearance:none;
  border: 1px solid rgba(231,201,139,.18);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  overflow:hidden;
  padding: 0;
  cursor:pointer;
  text-align: start;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  transition: transform .18s ease, border-color .18s ease;
}
.pressCard:hover{ transform: translateY(-2px); border-color: rgba(231,201,139,.34); }

.pressThumb{
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: rgba(255,255,255,.02);
  background-size: contain; /* ✅ no crop */
  background-repeat: no-repeat;
  background-position: center;
}

/* vintage double frame effect */
.pressThumb::before{
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(231,201,139,.22);
  pointer-events:none;
}
.pressThumb::after{
  content:"";
  position:absolute;
  inset: 16px;
  border-radius: 12px;
  border: 1px dashed rgba(231,201,139,.22);
  opacity: .9;
  pointer-events:none;
}

.pressMeta{
  padding: 12px 12px 14px;
}
.pressYear{
  color: rgba(231,201,139,.92);
  font-weight: 900;
  letter-spacing: .4px;
  margin-bottom: 6px;
}
.pressTitle{
  color: rgba(255,248,238,.94);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 6px;
}
.pressSource{
  color: rgba(255,248,238,.64);
  font-weight: 650;
  line-height: 1.55;
  font-size: 13px;
}

.pressEmpty{
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,248,238,.70);
}

/* =========================================================
   BROCHURES
========================================================= */
.brochures{ padding: 26px 0 40px; border-top: 1px solid rgba(255,255,255,.06); }
.brochures__head{
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  margin-bottom: 14px;
}
.brochures__eyebrow{
  display:inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(231,201,139,.20);
  background: rgba(231,201,139,.08);
  color: rgba(255,248,238,.86);
  font-weight: 850;
}
.brochures__title{
  margin: 12px 0 6px;
  color: rgba(255,248,238,.96);
  font-weight: 900;
  line-height: 1.25;
}
.brochures__span{
  display:block;
  margin-top: 6px;
  color: rgba(255,248,238,.66);
  font-weight: 700;
}
.brochures__desc{
  margin: 10px 0 0;
  color: rgba(255,248,238,.62);
  line-height: 1.9;
  font-weight: 650;
  max-width: 85ch;
}

.brochures__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 980px){
  .brochures__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .brochures__grid{ grid-template-columns: 1fr; }
}

.brochureItem{
  border-radius: 18px;
  border: 1px solid rgba(231,201,139,.16);
  background: rgba(255,255,255,.03);
  padding: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}

/* Vintage frame around brochure image */
.brochureFrame{
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(231,201,139,.18);
  padding: 10px;
  position: relative;
}
.brochureFrame::before{
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(231,201,139,.22);
  pointer-events:none;
}
.brochureFrame img{
  width:100%;
  height: 280px;
  object-fit: contain; /* ✅ no crop */
  display:block;
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}

.brochureText{ padding: 10px 2px 2px; }
.brochureYear{ color: rgba(231,201,139,.92); font-weight: 900; }
.brochureText h3{ margin: 6px 0 6px; color: rgba(255,248,238,.94); font-weight: 900; }
.brochureText p{ margin:0; color: rgba(255,248,238,.62); line-height: 1.85; font-weight: 650; }

/* =========================================================
   LIGHTBOX
========================================================= */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  place-items: center;
  background: rgba(0,0,0,.78);
  z-index: 999999;
  padding: 16px;
}
.lightbox.show{ display:grid; }
.lightbox__stage{
  width: min(1100px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,10,.92);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,.55);
}
.lightbox__stage img{
  width:100%;
  height: min(78vh, 820px);
  object-fit: contain; /* ✅ no crop */
  background: #0b0b0e;
  display:block;
}
.lightbox__meta{
  padding: 12px 12px 14px;
  color: rgba(255,248,238,.70);
  line-height: 1.7;
  font-weight: 650;
}
.lightbox__close{
  position: fixed;
  top: 78px; /* under topbar */
  left: 16px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.92);
  font-size: 24px;
  cursor:pointer;
}

/* ===== Press card layering fix ===== */
.pressCard{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
}

/* الصورة تبقى داخل الكارت وماتغطي النص */
.pressCard > img{
  width: 100%;
  height: 320px;          /* غيّرها اذا تريد */
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* النص يبقى واضح فوق/تحت بدون ما يختفي */
.pressMeta{
  position: relative;
  z-index: 2;
  padding: 16px 16px 18px;
}

/* اذا انت تريد النص فوق الصورة (ستايل متحفي)، فعّل هذا */
.pressCard.is-overlay .pressMeta{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 18px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
}
/* =========================
   PRESS GRID — refined cards
========================= */

.pressGrid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px){
  .pressGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pressCard{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* الصورة */
.pressCard > img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* الميتا */
.pressMeta{
  padding: 14px 16px 16px;
  display: grid;
  gap: 6px;
}

.pressYear{
  font-weight: 800;
  opacity: .9;
}

.pressTitle{
  font-weight: 800;
  line-height: 1.35;
}

.pressSource{
  opacity: .75;
  font-size: 14px;
}

/* ===== Phone: square vintage frame + image contained ===== */
@media (max-width: 560px){

  .pressGrid{
    gap: 14px;
  }

  .pressCard{
    border-radius: 18px;
  }

  /* نخلي الفريم مربع */
  .pressCard > img{
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;              /* ✅ بدون قص */
    background: rgba(0,0,0,.55);      /* خلفية حتى تبين الصورة اذا كان بي فراغ */
    padding: 10px;                    /* هذا يصير مثل "فريم" */
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  .pressMeta{
    padding: 12px 14px 14px;
  }

  .pressSource{
    font-size: 13px;
  }
}
/* =========================
   PRESS MENU – SMALLER / SOFTER
========================= */

/* overlay: لا يخنق الشاشة */
.mobileMenu{
  padding-top: 72px !important;
  background: rgba(0,0,0,.42) !important;
  backdrop-filter: blur(6px) !important;
}

/* panel: أصغر + ما يتجاوز ارتفاع معين */
.mobileMenu__panel{
  width: min(92%, 640px) !important;
  padding: 22px 18px 18px !important;
  border-radius: 24px !important;
  max-height: 72vh !important;       /* حتى ما يغطي الشاشة */
  overflow: hidden !important;       /* بدون سكرول */
}

/* زر الإغلاق أنعم وأصغر */
.mobileMenu__close{
  top: 14px !important;
  left: 14px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 14px !important;
}

/* مسافة أقل قبل الروابط */
.mobileMenu__nav{
  margin-top: 46px !important;
  gap: 12px !important;
}

/* الروابط: أقل ارتفاع + أقل padding */
.mobileMenu__group a{
  min-height: 54px !important;
  padding: 12px 12px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
}

/* MAIN links (الرئيسية/نبذة/استكشف) خليها أخف */
.mobileMenu__group:first-child a{
  min-height: 52px !important;
  font-size: 15px !important;
}

/* GRID: خليها 2× بدون كبر */
.mobileMenu__group--grid{
  gap: 10px !important;
}
.mobileMenu__group--grid a{
  min-height: 52px !important;
  padding: 10px !important;
}

/* legal: أصغر */
.mobileMenu__group--legal a{
  min-height: 48px !important;
  font-size: 14px !important;
  opacity: .8 !important;
}

/* موبايل صغير: لا تخليها عمود واحد إلا إذا لازم */
@media (max-width: 420px){
  .mobileMenu__panel{
    width: 94% !important;
    max-height: 70vh !important;
  }
}