@charset "UTF-8";
/* ==========================================================================
   نشاطات الأبرشية — activities
   Built against the markup in activities.html. Tokens only, so dark mode
   follows for free. No letter-spacing on Arabic anywhere.
   ========================================================================== */

/* ---------- page hero ---------- */
.pg-hero {
  position: relative;
  padding: calc(136px + var(--s7)) var(--s5) var(--s7);
  background: var(--hero-sky);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pg-hero > * { position: relative; }
.pg-hero::after {
  content: ""; position: absolute; inset-block-start: -55%; inset-inline-start: 50%;
  transform: translateX(50%); width: min(760px, 120vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201,151,26,.15), transparent 66%);
  pointer-events: none;
}
:root[data-theme="dark"] .pg-hero::after {
  background: radial-gradient(circle, rgba(254,205,7,.12), transparent 68%);
}
.pg-hero h1 {
  font-size: clamp(32px, 6vw, 60px); line-height: 1.45;
  margin-block: var(--s3) var(--s3); max-width: 20ch;
}
.pg-standfirst {
  font-size: 17.5px; line-height: 1.8; color: var(--ink-2); max-width: 58ch;
}

/* ---------- breadcrumb ---------- */
.crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2);
  font-size: 13.5px; color: var(--muted);
}
.crumb a { color: var(--muted); transition: color .25s var(--ease); }
.crumb a:hover { color: var(--gold-ink); }
:root[data-theme="dark"] .crumb a:hover { color: var(--gold); }
.crumb-sep { opacity: .5; }
.crumb [aria-current] { color: var(--ink-2); }

.pg-sec-top { padding-top: var(--s8); }

.lnk-inline {
  color: var(--navy); border-bottom: 1px solid var(--line-2);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.lnk-inline:hover { color: var(--gold-ink); border-color: var(--gold); }
:root[data-theme="dark"] .lnk-inline { color: var(--navy); }
:root[data-theme="dark"] .lnk-inline:hover { color: var(--gold); }

/* ==========================================================================
   liturgical-year calendar
   ========================================================================== */
.cal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  margin-top: var(--s6);
}
.cal-cell { background: var(--surface); min-height: 176px; }
.cal-cell-in {
  height: 100%; padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s2);
}

.cal-m {
  font-family: var(--ar-display); font-size: 19px; line-height: 1.4;
  color: var(--ink); padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
}

/* a month carrying a verified event */
.cal-cell.is-anchor { background: var(--bg-2); }
.cal-cell.is-anchor .cal-m { color: var(--gold-ink); }
:root[data-theme="dark"] .cal-cell.is-anchor .cal-m { color: var(--gold); }

.cal-ev {
  display: flex; flex-direction: column; gap: 3px;
  padding: var(--s2) var(--s3);
  background: var(--bg); border-radius: 9px;
  border-inline-start: 3px solid var(--gold);
}
.cal-d {
  font-size: 12.5px; font-weight: 600; color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}
:root[data-theme="dark"] .cal-d { color: var(--gold); }
.cal-p { font-family: var(--ar-display); font-size: 16px; line-height: 1.45; color: var(--ink); }

.cal-anchor-tag {
  align-self: flex-start; margin-top: auto;
  font-size: 11.5px; font-weight: 600; color: var(--gold-ink);
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--gold);
}
:root[data-theme="dark"] .cal-anchor-tag { color: var(--gold); }

/* months with nothing verified — honest, not padded */
.cal-cell.is-empty .cal-cell-in { opacity: .72; }
.cal-tbd {
  margin-top: auto; font-size: 13px; color: var(--muted); line-height: 1.6;
  padding: var(--s3); border: 1px dashed var(--line-2); border-radius: 9px;
  text-align: center;
}

/* ==========================================================================
   visits and gatherings
   ========================================================================== */
.visit-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: var(--s4); margin-top: var(--s6);
}
.visit-card {
  display: flex; flex-direction: column; gap: var(--s2);
  padding: var(--s5); background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px;
  transition: transform .4s var(--ease-o), box-shadow .4s var(--ease-o), border-color .4s var(--ease-o);
}
.visit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--line-2); }
.visit-tag {
  align-self: flex-start; font-size: 12px; font-weight: 600;
  color: var(--gold-ink); padding: 4px 11px;
  background: var(--bg-2); border-radius: 999px;
}
:root[data-theme="dark"] .visit-tag { color: var(--gold); }
.visit-card h3 { font-size: 19.5px; line-height: 1.5; }
.visit-p { font-size: 13.5px; color: var(--muted); margin-top: auto; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .pg-hero { padding-top: calc(84px + var(--s6)); }
  .cal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .cal-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-cell { min-height: 148px; }
}
@media (max-width: 520px) {
  .pg-hero { padding-inline: var(--s4); }
  .cal-grid { grid-template-columns: 1fr; }
  .cal-cell { min-height: 0; }
  .cal-cell.is-empty { display: none; }   /* don't make phones scroll past 8 empty months */
}

@media (prefers-reduced-motion: reduce) {
  .visit-card { transition: none; }
  .visit-card:hover { transform: none; }
}
