/* Contact page: the handoff becomes the door board. Loaded after site.css. */

/* caf-dbd = door board: the big aubergine plate that holds the call, the address and the hours */
.caf-dbd {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 0.9rem + 2.5vw, 2.25rem);
}
.caf-dbd h2 { padding-inline-end: 5.75rem; }

/* caf-bgs = big pills: the stack of two oversized actions; caf-bg = one of them */
.caf-bgs { display: grid; gap: 0.75rem; }
.caf-bg {
  min-block-size: 4.25rem;
  padding-inline: 1.25rem;
  font-size: clamp(1.1rem, 0.7rem + 2.2vw, 1.65rem);
  overflow-wrap: anywhere;
}

/* caf-dtl = details: address and directions beside the hours line, folding to one column on a phone */
.caf-dtl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem 1.5rem;
  align-items: start;
}
.caf-dtl address { margin-block-end: 0.75rem; }
.caf-dtl p { margin-block-end: 0; }
.caf-dbd .caf-hr { margin-block: 0; font-size: 1.125rem; }

/* caf-six = the six ready-addressed emails, one full-width pill per row; caf-row6 = one pill; caf-num = its round numeral */
.caf-six {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.caf-row6 {
  gap: 0.875rem;
  min-block-size: 3.75rem;
  padding-inline: 0.875rem 1.5rem;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
}
.caf-num {
  display: inline-grid;
  place-items: center;
  flex: none;
  inline-size: 2.5rem;
  aspect-ratio: 1;
  border: var(--thickness-of-an-outline) solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}
.caf-row6:hover .caf-num { border-color: var(--colour-of-the-pills); }

/* caf-liv = live line: the open-now sentence the script writes beside the printed hours */
.caf-liv { margin-block: 0.5rem 0; font-size: 1.0625rem; }

/* The footer board on this page keeps only the policy and cookie links. */
.caf-door-on .caf-end .caf-sh,
.caf-door-on .caf-end .caf-hrs,
.caf-door-on .caf-end .caf-own,
.caf-door-on .caf-end .caf-adr,
.caf-door-on .caf-end .caf-way:nth-of-type(2),
.caf-door-on .caf-end .caf-way:first-of-type li:not(:has([data-notice-open])) { display: none; }
.caf-door-on .caf-end .caf-way:first-of-type { margin-block-end: 0.5rem; }

@media (max-width: 40rem) {
  .caf-dbd h2 { padding-inline-end: 4.5rem; }
  .caf-row6 { padding-inline-end: 1rem; }
}
