/* ============================================================
   CCP public site — shared design system + locator styles.
   Distinct from the Django admin theme; used by the public
   base template (header/footer chrome), the locator, and
   later the institutional pages + member portal.
   Tone: dignified institutional. Navy on warm off-white,
   serif headlines (Newsreader) + sans body (Public Sans),
   hairline rules, one muted brass accent used sparingly.
   ============================================================ */

:root {
  --navy: #1b3a5b; /* primary */
  --navy-deep: #142c45;
  --navy-soft: #2f5170;
  --brass: #a98b5d; /* single muted accent, used sparingly */
  --ink: #1d2530; /* body text */
  --ink-soft: #5b6573; /* secondary text */
  --paper: #f7f5f0; /* warm off-white background */
  --surface: #ffffff;
  --hairline: #e4ddd1; /* warm hairline */
  --hairline-2: #ece7dd;
  --shadow: 0 1px 2px rgba(20, 44, 69, 0.04), 0 8px 24px rgba(20, 44, 69, 0.06);
  --radius: 4px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, sans-serif;
  --maxw: 1240px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin: 0;
}
a {
  color: inherit;
}

/* ============ Header ============ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}
.site-header__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  height: 52px;
  width: auto;
  display: block;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.15s;
}
.nav a:hover {
  color: var(--navy);
}
.nav a.is-active {
  color: var(--navy-deep);
}
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brass);
}

.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 9px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover {
  background: var(--navy-deep);
}
.btn--ghost {
  background: transparent;
  border-color: var(--hairline);
  color: var(--navy);
}
.btn--ghost:hover {
  border-color: var(--navy-soft);
}
.btn--ghost.is-active {
  border-color: var(--brass);
  color: var(--navy-deep);
  background: #faf6ee;
}
.btn--block {
  width: 100%;
  justify-content: center;
}

/* ============ Page title band ============ */
.pagehead {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 28px 22px;
  width: 100%;
}
.pagehead__eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.pagehead h1 {
  font-size: 42px;
  margin: 8px 0 6px;
}
.pagehead p {
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
  font-size: 16px;
}

/* ============ Locator layout ============ */
.locator {
  max-width: var(--maxw);
  margin: 0 auto 56px;
  padding: 0 28px;
  width: 100%;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Search / filter toolbar */
.controls {
  padding: 18px;
  border-bottom: 1px solid var(--hairline-2);
  display: grid;
  gap: 12px;
}
.field {
  position: relative;
}
.field svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}
.field input,
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 11px 13px 11px 40px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field select {
  padding-left: 13px;
  appearance: none;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(27, 58, 91, 0.12);
}
.controls__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Culto-type scope toggle (Cultos / RJM) — sits above the day filter, lighter
   so the visual hierarchy reads scope → days. */
.scopeseg {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
}
.scopeseg[hidden] {
  display: none;
}
.scopeseg__btn {
  flex: 1;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.scopeseg__btn:hover {
  color: var(--navy);
}
.scopeseg__btn.is-active {
  background: var(--navy);
  color: #fff;
}

/* Day-of-week filter */
.dayfilter-wrap__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.dayfilter__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.dayfilter__clear {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  cursor: pointer;
}
.dayfilter__clear:hover {
  color: var(--navy);
}
.dayfilter-wrap.has-selection .dayfilter__clear {
  display: inline;
}
.dayfilter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.daychip {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.daychip:hover {
  border-color: var(--navy-soft);
  color: var(--navy);
}
.daychip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.daychip--today.is-active {
  background: var(--brass);
  border-color: var(--brass);
}
.dayfilter__sep {
  width: 1px;
  height: 20px;
  background: var(--hairline);
  margin: 0 2px;
}

/* Mobile list / map toggle (hidden on desktop) */
.locator-toggle {
  display: none;
}
.locator-toggle__tab {
  flex: 1;
  padding: 11px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.locator-toggle__tab:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}
.locator-toggle__tab:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left: 0;
}
.locator-toggle__tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Results list */
.results {
  max-height: 620px;
  overflow: auto;
}
.results__count {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline-2);
}
.results__count b {
  color: var(--navy-deep);
  font-weight: 600;
}
.results__empty {
  padding: 28px 18px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
.result {
  padding: 16px 18px;
  border-bottom: 1px solid var(--hairline-2);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.result:hover {
  background: #faf8f3;
}
.result.is-selected {
  background: #f4f1ea;
  border-left-color: var(--brass);
}
.result__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.result__name {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy-deep);
}
.result__dist {
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.result__addr {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 3px 0 8px;
}
.result__sched {
  font-size: 13px;
  color: var(--navy);
  background: #eef2f6;
  border: 1px solid #dfe7ee;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}

/* Selected detail (expanded inside the card) */
.detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
  display: grid;
  gap: 10px;
}
.detail__row {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.detail__row svg {
  color: var(--brass);
  flex: none;
  margin-top: 2px;
}
.detail__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
}

/* Map */
.map {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  background: #eef0ec;
}
.map__inner {
  position: absolute;
  inset: 0;
}
.map__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
/* Google Maps InfoWindow content */
.gm-iw {
  font-family: var(--sans);
  max-width: 240px;
}
.gm-iw__name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--navy-deep);
  margin-bottom: 2px;
}
.gm-iw__addr {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.gm-iw__sched {
  font-size: 13px;
  color: var(--navy);
}

/* ============ Institutional content pages (Wagtail) ============ */
.institutional {
  max-width: 820px;
  margin: 0 auto 64px;
  padding: 0 28px;
  width: 100%;
}
/* Content pages center their header in a narrow reading column. (The locator's
   pagehead is NOT wrapped in .institutional, so it stays wide + left-aligned.) */
.institutional .pagehead {
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}
.institutional .pagehead p {
  margin-left: auto;
  margin-right: auto;
}
.institutional__body {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.institutional__body h2,
.institutional__body h3 {
  margin: 1.6em 0 0.5em;
}
.institutional__body h2 {
  font-size: 26px;
}
.institutional__body h3 {
  font-size: 21px;
}
.institutional__body p {
  margin: 0 0 1.1em;
}
.institutional__body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Buttons sitting inside prose keep their own colour/decoration, not the
   prose-link rule above (which would otherwise hide a navy button's label). */
.institutional__body a.btn {
  text-decoration: none;
}
.institutional__body a.btn--primary {
  color: #fff;
}
.institutional__body ul,
.institutional__body ol {
  margin: 0 0 1.1em;
  padding-left: 1.4em;
}
.institutional__body li {
  margin: 0.3em 0;
}
.institutional__body blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--brass);
  color: var(--ink-soft);
  font-style: italic;
}
/* Lead-in run of a paragraph (e.g. the doctrine article numbers "1.º-") gets a
   brass accent, echoing the numbered-article treatment in the design. */
.institutional__body p > strong:first-child {
  color: var(--brass);
}

/* ============ Document download card (Estatuto) ============ */
.doc-card {
  max-width: 520px;
  margin: 8px auto 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}
.doc-card__head {
  background: var(--navy-deep);
  color: #fff;
  padding: 32px 28px;
  text-align: center;
}
.doc-card__head svg {
  color: var(--brass);
}
.doc-card__title {
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 12px;
}
.doc-card__body {
  padding: 26px 28px;
  text-align: center;
}
.doc-card__meta {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ============ Contactos (structured cards) ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 920px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
}
.contact-card--wide {
  grid-column: 1 / -1;
}
.contact-card__title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--brass);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hairline-2);
}
.contact-card__rows {
  display: grid;
  gap: 14px;
}
.contact-row {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  align-items: flex-start;
}
.contact-row svg {
  color: var(--brass);
  flex: none;
  margin-top: 2px;
}
.contact-row a {
  color: var(--navy);
  text-decoration: none;
  word-break: break-word;
}
.contact-row a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============ Circulares archive ============ */
.circular-archive {
  max-width: 820px;
  display: grid;
  gap: 40px;
}
.circular-group__year {
  font-size: 26px;
  color: var(--navy-deep);
  padding-bottom: 6px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--brass);
  display: inline-block;
}
.circular-card {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.circular {
  border-bottom: 1px solid var(--hairline-2);
}
.circular:last-child {
  border-bottom: 0;
}
.circular__link {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--ink);
  border-left: 3px solid transparent;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.circular__link:hover {
  background: #faf8f3;
  border-left-color: var(--brass);
}
.circular__date {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  font-size: 14px;
  min-width: 92px;
  flex: none;
}
.circular__main {
  flex: 1;
  min-width: 0;
}
.circular__title {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy-deep);
  transition: color 0.15s;
}
.circular__link:hover .circular__title {
  color: var(--brass);
}
.circular__summary {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.circular__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brass);
  transition: background 0.15s;
}
.circular__link:hover .circular__icon {
  background: #fff;
}
.circular-download {
  margin: 22px 0 0;
}

/* ============ Home — hero ============ */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 28px 76px;
  text-align: center;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  margin: 0 auto;
  max-width: 18ch;
}
.hero__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 18px auto 34px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Home — intro + quicklinks ============ */
.home-intro {
  max-width: 72ch;
  margin: 64px auto 0;
  padding: 0 28px;
  text-align: center;
}
.home-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
.quicklinks {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.qcard {
  display: block;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.qcard:hover {
  border-color: var(--navy-soft);
  box-shadow: 0 2px 4px rgba(20, 44, 69, 0.06), 0 14px 32px rgba(20, 44, 69, 0.09);
  transform: translateY(-2px);
}
.qcard svg {
  color: var(--brass);
  margin-bottom: 14px;
}
.qcard__title {
  font-size: 22px;
  margin: 0 0 8px;
}
.qcard:hover .qcard__title {
  color: var(--brass);
}
.qcard p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============ Home — locator CTA band ============ */
.cta-band {
  background: var(--navy-deep);
  margin-top: 80px;
}
.cta-band__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 28px;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 16px;
}
.cta-band p {
  color: #c9d4e0;
  font-size: 16px;
  margin: 0 auto 28px;
  max-width: 52ch;
}
.cta-band__btn {
  background: var(--paper);
  color: var(--navy-deep);
  font-size: 15px;
  padding: 12px 26px;
}
.cta-band__btn:hover {
  background: #fff;
}

/* ============ Error pages (404 / 403) ============ */
.errorpage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px;
  min-height: 52vh;
}
.errorpage__code {
  font-family: var(--serif);
  font-size: 84px;
  line-height: 1;
  color: var(--navy-deep);
}
.errorpage__title {
  font-size: 28px;
  margin: 10px 0 0;
}
.errorpage__rule {
  width: 48px;
  height: 2px;
  background: var(--brass);
  margin: 22px 0;
}
.errorpage p {
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 0 28px;
}
.errorpage__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-deep);
  color: #c9d4e0;
  margin-top: auto;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 28px 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8aa0b8;
  margin: 0 0 14px;
  font-weight: 600;
}
.site-footer a {
  color: #c9d4e0;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 14px;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer__brand {
  font-family: var(--serif);
  font-size: 20px;
  color: #fff;
}
.site-footer__brand span {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  color: #8aa0b8;
  margin-top: 6px;
  max-width: 34ch;
}
.site-footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__base p {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 28px;
  font-size: 12px;
  color: #8aa0b8;
}

@media (max-width: 900px) {
  /* Stack the header: logo on its own row, nav wraps full-width below. */
  .site-header__bar {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 12px 18px;
  }
  .nav {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 6px 18px;
  }
  .locator {
    grid-template-columns: 1fr;
  }
  .locator-toggle {
    display: flex;
  }
  .map {
    min-height: 360px;
  }
  .results {
    max-height: none;
  }
  /* Toggle: list view by default; map view hides the panel. */
  .locator .map {
    display: none;
  }
  .locator.is-map .map {
    display: block;
  }
  .locator.is-map .panel {
    display: none;
  }
  .pagehead h1 {
    font-size: 32px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero__inner {
    padding: 56px 28px 50px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero__quote {
    font-size: 19px;
  }
  .quicklinks {
    grid-template-columns: 1fr;
  }
  .cta-band h2 {
    font-size: 27px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .circular__link {
    flex-wrap: wrap;
    gap: 4px 18px;
  }
  .circular__date {
    min-width: 0;
    width: 100%;
    order: -1;
  }
  .circular__icon {
    display: none;
  }
}

/* ============ Congregação detail (SEO landing page) ============ */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 28px 0;
  width: 100%;
}
.breadcrumb__inner {
  font-size: 13px;
  color: var(--ink-soft, #5b6573);
}
.breadcrumb a {
  color: var(--navy, #1b3a5b);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--brass, #a98b5d);
}
.breadcrumb__sep {
  margin: 0 8px;
  color: var(--hairline-2, #ece7dd);
}

.cong {
  max-width: var(--maxw);
  margin: 0 auto 56px;
  padding: 0 28px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
/* No map key → a single, comfortably narrow reading column. */
.cong--solo {
  display: block;
  max-width: 760px;
}
.cong-card {
  padding: 24px 26px;
}
.cong-card__title {
  font-size: 20px;
  margin: 0 0 4px;
}
.cong-card__title--mt {
  margin-top: 26px;
}
.cong-sched {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.cong-sched li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hairline-2, #ece7dd);
  font-size: 14px;
}
.cong-sched__day {
  color: var(--ink, #1d2530);
}
.cong-sched__time {
  color: var(--navy, #1b3a5b);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cong-sched__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft, #5b6573);
}
.cong-sched__text {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink, #1d2530);
}
.cong-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.cong-map {
  min-height: 420px;
  border-radius: var(--radius, 4px);
  overflow: hidden;
  border: 1px solid var(--hairline, #e4ddd1);
  box-shadow: var(--shadow);
  background: #eef0ec;
}
.cong-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 900px) {
  .cong {
    grid-template-columns: 1fr;
  }
  .cong-map {
    min-height: 300px;
  }
  .cong-map iframe {
    min-height: 300px;
  }
}
