/* Ethiopian Orthodox Tewahedo Medhanealem — site styles */
:root {
  --wine: #3d0f12;
  --wine-deep: #2a0a0c;
  --wine-light: #5c2226;
  --gold: #c6a04a;
  --gold-bright: #e4c56c;
  --cream: #f7f4ee;
  --cream-dark: #ebe5d9;
  --cream-warm: #fffaf0;
  --text: #1a1512;
  --text-muted: #5c5349;
  --white: #fff;
  --border: rgba(198, 160, 74, 0.26);
  --shadow: 0 18px 48px rgba(42, 10, 12, 0.12);
  --shadow-soft: 0 8px 24px rgba(42, 10, 12, 0.08);
  --shadow-lift: 0 20px 54px rgba(42, 10, 12, 0.16);
  --radius: 16px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Noto Sans Ethiopic", system-ui, sans-serif;
  /* Language labels: green · yellow · red (EN / አማ / FR) */
  --lang-en: #078930;
  --lang-am: #fcdd09;
  --lang-fr: #da121a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(228, 197, 108, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(61, 15, 18, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 34%, #f1ebdf 100%);
}

::selection {
  background: rgba(198, 160, 74, 0.38);
}

a {
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid rgba(228, 197, 108, 0.92);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--wine);
  color: var(--cream);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
    linear-gradient(180deg, var(--wine-deep) 0%, var(--wine) 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 12px 34px rgba(42, 10, 12, 0.24);
  backdrop-filter: saturate(115%) blur(8px);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Language: EN (green) · አማ (yellow) · FR (red) — text only, no flag */
.lang-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.lang-nav .lang-sep {
  color: rgba(247, 244, 238, 0.45);
  font-size: 0.8rem;
  user-select: none;
  padding: 0 0.1rem;
}

.lang-nav .lang-link {
  display: inline-block;
  padding: 0.35rem 0.45rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body), "Noto Sans Ethiopic", system-ui, sans-serif;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: opacity 0.15s, filter 0.15s, text-decoration 0.15s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.lang-nav .lang-link.lang-en {
  color: var(--lang-en);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65), 0 0 6px rgba(180, 255, 210, 0.35);
}

.lang-nav .lang-link.lang-am {
  color: var(--lang-am);
}

.lang-nav .lang-link.lang-fr {
  color: var(--lang-fr);
}

.lang-nav .lang-link:hover {
  filter: brightness(1.12);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-nav .lang-link[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 3px;
  filter: brightness(1.15);
}

/* Scrolled: keep deep wine/green tone — do not use a yellow header bar */
.site-header.site-header--scrolled {
  background: linear-gradient(
    180deg,
    #142218 0%,
    var(--wine-deep) 38%,
    var(--wine) 100%
  );
  border-bottom-color: var(--lang-am);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.site-header.site-header--scrolled .lang-nav .lang-sep {
  color: rgba(247, 244, 238, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--cream);
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(228, 197, 108, 0.18), 0 6px 18px rgba(0, 0, 0, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  opacity: 0.88;
  font-weight: 400;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  color: var(--cream);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  background: rgba(198, 160, 74, 0.2);
  color: var(--gold-bright);
}

.nav-desktop a:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--cream);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 1.25rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-mobile a {
  color: var(--cream);
  text-decoration: none;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.nav-mobile a[aria-current="page"] {
  color: var(--gold-bright);
}

@media (max-width: 820px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-tools {
    margin-left: auto;
  }

  .site-header.nav-open .nav-mobile {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 72vh, 640px);
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--wine-deep) center / cover no-repeat;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.015);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(42, 10, 12, 0.84) 0%,
    rgba(61, 15, 18, 0.58) 48%,
    rgba(18, 7, 8, 0.92) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  background: linear-gradient(180deg, transparent, var(--cream-warm));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  width: 100%;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.8vw, 4rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  max-width: 12ch;
}

.hero-am {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 42ch;
  opacity: 0.95;
  margin: 0 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #a88435 100%);
  color: var(--wine-deep);
  box-shadow: 0 4px 20px rgba(198, 160, 74, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(198, 160, 74, 0.45);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--cream);
  margin-left: 0.5rem;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-wine {
  border: 2px solid var(--wine);
  color: var(--wine);
  background: transparent;
}

.btn-outline-wine:hover {
  background: var(--wine);
  color: var(--cream);
}

/* Sections */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) 1.25rem 4.5rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--wine);
  margin: 0 0 0.45rem;
  font-weight: 600;
  line-height: 1.05;
}

.page-title::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(198, 160, 74, 0));
}

.page-sub {
  color: var(--text-muted);
  margin: 0 0 2.25rem;
  font-size: 1.12rem;
  max-width: 58ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 4vw, 2.5rem);
  align-items: start;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    var(--white);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--wine), var(--gold), transparent);
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--wine);
  margin: 0 0 1rem;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list strong {
  color: var(--wine);
}

.figure-side {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  align-self: stretch;
  border: 1px solid var(--border);
}

.figure-side img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

/* “Our story” / parish video — responsive 16∶9, capped for comfortable viewing */
.story-video {
  width: 100%;
  max-width: min(100%, 800px);
  margin: 1rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--wine-deep);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}

.story-video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--wine-deep);
}

.story-video-inner iframe,
.story-video-inner video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-video-inner video {
  object-fit: cover;
}

/* Feature strip */
.strip {
  background:
    radial-gradient(circle at 50% 0%, rgba(228, 197, 108, 0.22), transparent 18rem),
    linear-gradient(90deg, var(--wine-deep) 0%, var(--wine-light) 50%, var(--wine-deep) 100%);
  color: var(--cream);
  padding: clamp(2rem, 5vw, 3rem) 1.25rem;
  margin: 0 calc(50% - 50vw) 2.5rem;
  width: 100vw;
  border-block: 1px solid rgba(198, 160, 74, 0.38);
}

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

.strip-inner p {
  margin: 0;
  font-size: 1.1rem;
  max-width: 65ch;
  margin-inline: auto;
  opacity: 0.95;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.service-pill {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.9), rgba(255, 255, 255, 0.98)),
    var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.15rem;
  font-weight: 600;
  color: var(--wine);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.service-pill::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.links-row a {
  color: var(--wine);
  font-weight: 600;
}

main a:not(.btn) {
  color: var(--wine);
  font-weight: 600;
}

main a:not(.btn):hover {
  color: var(--wine-light);
}

/* Events */
.event-section {
  margin-bottom: 2.5rem;
}

.event-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--wine);
  margin: 0 0 1rem;
  font-weight: 600;
}

.event-section__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.event-section .event-cards {
  margin-bottom: 0;
}

.event-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.72), rgba(255, 255, 255, 0.98)),
    var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.event-card time {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  text-align: center;
  min-width: 5rem;
  padding: 0.5rem;
  background: var(--wine-deep);
  border-radius: 8px;
  color: var(--gold-bright);
}

.event-card--recurring time.event-card__schedule {
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.35;
  min-width: 6.5rem;
  padding: 0.55rem 0.45rem;
}

.event-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--wine);
}

.event-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.event-card__when {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.sanity-events-msg {
  margin: 0;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.sanity-events-msg--muted {
  color: var(--text-muted);
}

.sanity-events-msg--error {
  color: var(--wine);
  border-color: rgba(61, 15, 18, 0.35);
}

.calendar-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Tewahedo month calendar (events page) */
.tewahedo-calendar {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.68), rgba(255, 255, 255, 0.98)),
    var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 3vw, 1.5rem);
  margin-top: 2rem;
}

.tewahedo-calendar__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--wine);
  margin: 0 0 1rem;
  font-weight: 700;
}

.tewahedo-calendar__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.tewahedo-calendar__btn-group {
  display: inline-flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--wine);
}

.tewahedo-calendar__btn-group button {
  background: var(--wine);
  color: var(--cream);
  border: 0;
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
}

.tewahedo-calendar__btn-group button + button {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.tewahedo-calendar__btn-group button:hover {
  background: var(--wine-light);
}

.tewahedo-calendar__btn-today {
  background: var(--wine-light);
  color: var(--cream);
  border: 1px solid var(--wine);
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.tewahedo-calendar__btn-today:hover {
  filter: brightness(1.08);
}

.tewahedo-calendar__month-label {
  flex: 1 1 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wine);
  margin: 0;
  min-width: 10rem;
}

.tewahedo-calendar__toggle .is-active {
  background: var(--gold);
  color: var(--wine-deep);
}

.tewahedo-calendar__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
}

.tewahedo-calendar__grid {
  min-width: 520px;
}

.tewahedo-calendar__dow,
.tewahedo-calendar__week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.tewahedo-calendar__dow {
  border-bottom: 2px solid var(--cream-dark);
  margin-bottom: 2px;
}

.tewahedo-calendar__dow-cell {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 0.35rem 0.2rem;
}

.tewahedo-calendar__cell {
  min-height: 5.5rem;
  border: 1px solid #e0dcd4;
  padding: 0.25rem 0.3rem 0.35rem;
  vertical-align: top;
  background: var(--white);
}

.tewahedo-calendar__cell--muted {
  background: #fafafa;
}

.tewahedo-calendar__cell--muted .tewahedo-calendar__daynum {
  color: #b8b3ab;
}

.tewahedo-calendar__cell--today {
  background: #fff9e1;
}

.tewahedo-calendar__daynum {
  display: block;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.tewahedo-calendar__cell-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tewahedo-calendar__banner {
  background: var(--wine);
  color: var(--cream);
  font-size: 0.65rem;
  line-height: 1.25;
  font-weight: 600;
  padding: 0.2rem 0.35rem;
  border-radius: 3px;
  text-align: left;
}

.tewahedo-calendar__dots {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.62rem;
  line-height: 1.25;
  color: var(--text);
}

.tewahedo-calendar__dots li {
  display: flex;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0.1rem 0 0;
}

.tewahedo-calendar__dot {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: 0.28em;
  border-radius: 50%;
  background: var(--lang-fr);
}

.tewahedo-calendar__list-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tewahedo-calendar__list-ul > li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.tewahedo-calendar__list-ul > li:last-child {
  border-bottom: 0;
}

.tewahedo-calendar__list-banner {
  margin-top: 0.35rem;
  background: var(--wine);
  color: var(--cream);
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.tewahedo-calendar__list-dotline {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.tewahedo-calendar__list-dotline .tewahedo-calendar__dot {
  margin-top: 0.35em;
}

.tewahedo-calendar__list-panel {
  padding: 0.25rem 0 0.5rem;
}

/* Footer */
.site-footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(198, 160, 74, 0.14), transparent 20rem),
    linear-gradient(180deg, var(--wine) 0%, var(--wine-deep) 55%, #190607 100%);
  color: rgba(247, 244, 238, 0.88);
  padding: 2.5rem 1.25rem;
  margin-top: auto;
  border-top: 2px solid var(--gold);
}

.footer-org {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(198, 160, 74, 0.25);
}

.footer-org p {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(247, 244, 238, 0.95);
}

.footer-org p:last-child {
  margin-bottom: 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0.4rem 0;
}

.footer-links a {
  color: rgba(247, 244, 238, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.site-footer a {
  color: var(--cream);
}

.site-footer p,
.site-footer li {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .fine {
  font-size: 0.82rem;
  opacity: 0.75;
  margin-top: 1.5rem;
  grid-column: 1 / -1;
}

.footer-flag-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(198, 160, 74, 0.2);
  grid-column: 1 / -1;
  font-size: 0.8rem;
  opacity: 0.92;
}

.footer-flag-note .footer-lang {
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.footer-flag-note .footer-lang-en {
  color: var(--lang-en);
}

.footer-flag-note .footer-lang-am {
  color: var(--lang-am);
}

.footer-flag-note .footer-lang-fr {
  color: var(--lang-fr);
}

/* Prose */
.prose p {
  margin: 0 0 1rem;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .header-inner {
    gap: 0.75rem;
    padding: 0.6rem 1rem;
  }

  .brand {
    gap: 0.65rem;
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 1.12rem;
  }

  .brand-text span {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 2.5rem 1rem 3rem;
  }

  .hero-content h1 {
    max-width: 10ch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .btn + .btn,
  .btn-ghost {
    margin-left: 0;
    margin-top: 0.65rem;
  }

  main {
    padding-inline: 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .figure-side img {
    min-height: 220px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .links-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .event-card time {
    width: fit-content;
    min-width: 5.5rem;
  }

  .tewahedo-calendar__toolbar {
    align-items: stretch;
  }

  .tewahedo-calendar__month-label {
    order: -1;
    flex-basis: 100%;
    text-align: left;
  }

  .footer-org,
  .footer-inner {
    max-width: 34rem;
  }
}
