/* Contact page (ContactPage.jsx). Builds on the text pages' look: the
   masthead, colours and fonts come from PolicyPage.css (.policy-page, pl-).
   Everything here is scoped under .contact-page / ct-. */

.ct-lede {
  margin: 24px 0 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(0, 37, 66, .75);
}

.ct-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 48px;
}

.ct-body--two {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.contact-page .ct-h2 {
  margin: 0 0 24px;
  font-family: var(--font-display, 'Rufina', serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--pl-navy-dark);
}

/* ---- details ---- */

.ct-address {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 32px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0, 37, 66, .85);
}

.ct-departments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--pl-line);
}

.ct-department {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--pl-line);
  font-size: 15px;
  line-height: 1.5;
}

.contact-page .ct-department__name {
  margin: 0 0 4px;
  font-family: var(--font-heading, 'Cronos Pro', Georgia, serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pl-navy);
}

.contact-page .ct-department a {
  color: var(--pl-navy-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-page .ct-department a:hover { color: var(--pl-navy); text-decoration: underline; text-underline-offset: 3px; }
.ct-department__note { color: rgba(0, 37, 66, .65); }

/* ---- form ---- */

.ct-form {
  padding: 40px;
  background: var(--pl-cream);
  border: 1px solid var(--pl-line);
  border-radius: 4px;
}

.ct-form__text { margin: 0 0 24px; font-size: 15px; line-height: 1.65; color: rgba(0, 37, 66, .8); }

.ct-form__placeholder {
  margin: 0;
  padding: 32px 24px;
  border: 1px dashed rgba(0, 55, 100, .35);
  text-align: center;
  font-size: 14px;
  color: rgba(0, 37, 66, .65);
}

.ct-form__embed { min-height: 120px; }

/* ---- map ---- */

.ct-map { border-top: 1px solid var(--pl-line); }

.contact-page .ct-map__title {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 48px 24px;
}

.ct-map__frame {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

/* ---- responsive ---- */

@media (max-width: 1023px) {
  .ct-body--two { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 767px) {
  .ct-body { padding: 48px 24px; }
  .ct-departments { grid-template-columns: 1fr; }
  .ct-form { padding: 24px; }
  .contact-page .ct-h2 { font-size: 26px; }
  .contact-page .ct-map__title { padding: 40px 24px 20px; }
  .ct-map__frame { height: 360px; }
}
