/* ==========================================================================
   Contact page (/epikoinonia): the template's "get in touch" block.
   Info column on the left, tinted form card on the right; everything else on
   the page is a shared component from app.css.
   ========================================================================== */

/* Two equal columns from 992px. As in the template there is no column gap:
   the info column carries the gutter as right padding (60 / 80px). */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: var(--space-6);
}
@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .contact-info {
    padding-right: var(--space-7);
  }
}
@media (min-width: 1280px) {
  .contact-info {
    padding-right: var(--space-8);
  }
}

/* Info column ------------------------------------------------------------- */
.contact-info__title {
  margin: 0 0 var(--space-4);
}
.contact-divider {
  margin: var(--space-5) 0 var(--space-4);
}

.contact-office__title {
  margin: 0 0 var(--space-2);
}
.contact-office .contact-list a {
  color: var(--c-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  transition: color .3s;
}
.contact-office .contact-list a:hover {
  color: var(--c-link);
}
/* Rows are touch targets on phones: keep them at least 44px high. */
.contact-office .contact-list > li {
  align-items: center;
  min-height: 44px;
}
.contact-office .contact-list .icon {
  margin-top: 0;
}

/* Opening hours: a real table, drawn as hairline rows. */
.contact-hours {
  width: 100%;
  margin-top: var(--space-5);
  border-collapse: collapse;
  border-bottom: 1px solid var(--c-line);
}
.contact-hours caption {
  padding-bottom: var(--space-3);
  color: var(--c-heading);
  font-size: var(--fs-h6);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}
.contact-hours caption .icon {
  margin-right: var(--space-3);
  color: var(--c-link);
  vertical-align: -3px;
}
.contact-hours th,
.contact-hours td {
  padding: 12px 0;
  border-top: 1px solid var(--c-line);
  line-height: 1.4;
  vertical-align: top;
}
.contact-hours th {
  padding-right: var(--space-3);
  color: var(--c-text);
  font-weight: 500;
  text-align: left;
}
.contact-hours td {
  color: var(--c-strong);
  font-weight: 700;
  text-align: right;
}

.contact-actions {
  margin-top: var(--space-5);
}

/* Form card --------------------------------------------------------------- */
/* 768-991px: the stacked card is 80% wide and centred, as in the template. */
@media (min-width: 768px) and (max-width: 991px) {
  .contact-card {
    width: 80%;
    margin-inline: auto;
  }
}
.contact-card__title {
  margin: 0 0 var(--space-4);
  text-align: center;
}
.contact-card__note {
  margin: calc(-1 * var(--space-2)) 0 var(--space-5);
  color: var(--c-text);
  font-size: .9375rem;
  text-align: center;
}
.contact-card__submit {
  margin-top: var(--space-5);
}
@media (min-width: 992px) {
  .contact-card__title {
    margin-bottom: var(--space-5);
  }
  .contact-card__submit {
    margin-top: var(--space-6);
  }
}
/* The card keeps a sensible height when the form is replaced by the confirmation. */
.contact-card__done {
  min-height: 420px;
}
.contact-card__done .link-arrow {
  margin-top: var(--space-2);
}

/* "or" divider between the call-back retry and the full form. */
.contact-card__or {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-5) 0;
  color: var(--c-text);
  font-size: .9375rem;
  font-weight: 600;
}
.contact-card__or::before,
.contact-card__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-line);
}
