/* ============================================================
   About / Contact — v2 layout ("Contact A" on the design canvas).
   Loaded only when cdpc_contact_is_v2() (contact-page-layout-v2.php).
   Same type and spacing as the single-post v2 layout (single-v2.css).
   hub-bleed.css already makes the header overlay + footer full width here.
============================================================ */

/* ---------- Page shell: copied from the v1 renderer's inline <style>, which
   v2 doesn't print (dark page + footer, full-width content, no sidebar) ---------- */
body.contact-page-active.cv2-active,
body.contact-page-active.cv2-active #content,
body.contact-page-active.cv2-active .site-content,
body.contact-page-active.cv2-active .site,
body.contact-page-active.cv2-active #page {
  background: #07090c !important;
}
body.contact-page-active.cv2-active .site-content > .ast-container,
body.contact-page-active.cv2-active .ast-container {
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.contact-page-active.cv2-active #primary,
body.contact-page-active.cv2-active .content-area.primary {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.contact-page-active.cv2-active #secondary,
body.contact-page-active.cv2-active .widget-area.secondary { display: none !important; }
body.contact-page-active.cv2-active .globalBuiltStrip {
  background: linear-gradient(180deg, #080b10 0%, #07090c 100%);
  margin: 0;
  padding: 2.15rem 0 2.35rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.cv2 {
  --cv2-gutter: 40px;
  --cv2-text: #f0eee9;
  --cv2-body: #dcd9d2;
  --cv2-dim: #8d96a2;
  --cv2-line: #161b22;
  --cv2-line2: #232a34;
  --cv2-pink: #c64191;
  --cv2-pink-hi: #e2589f;
  --cv2-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --cv2-label: 'Jost', 'Source Sans 3', system-ui, sans-serif;

  background: #07090c;
  color: var(--cv2-text);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  padding-bottom: 96px;
}

.cv2 a { color: inherit; text-decoration: none; box-shadow: none; }
.cv2 a:hover { color: var(--cv2-pink-hi); }
:where(.cv2) :where(h1, h2, p, dl, dd) { margin: 0; }
/* Astra's heading settings title-case and recolour headings */
.cv2 h1.cv2Title { text-transform: none; color: var(--cv2-text); }

/* ---------- Labels ---------- */
.cv2 .cv2Lbl {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  font-family: var(--cv2-label);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c9ced6;
}
.cv2 .cv2Lbl::before { content: ""; flex: none; width: 26px; height: 2px; background: var(--cv2-pink); }
.cv2 .cv2Lbl--hero { color: var(--cv2-text); }

.cv2H {
  font-family: var(--cv2-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--cv2-text);
}

/* ---------- Photo band; the overlay header sits on top of it ---------- */
.cv2Hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  overflow: hidden;
  background: #0b0f15;
}
.cv2 .cv2Hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}
.cv2Hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 12, .55) 0%, rgba(7, 9, 12, .15) 35%, rgba(7, 9, 12, .92) 100%);
  pointer-events: none;
}
.cv2Hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 120px var(--cv2-gutter) 44px;
}
.cv2 .cv2Hero__inner .cv2Lbl { margin: 0; }
.cv2Title {
  font-family: var(--cv2-serif);
  font-size: clamp(48px, 5.3vw, 84px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.02em;
}
.cv2Dek { max-width: 52ch; font-size: 20px; line-height: 1.5; color: var(--cv2-body); }

/* ---------- Body: about + questions left, form right ---------- */
.cv2Body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: 96px;
  align-items: start;
  padding: 64px var(--cv2-gutter) 0;
}
.cv2Main { display: flex; flex-direction: column; gap: 72px; min-width: 0; }
.cv2Quick { display: none; }

.cv2Prose { max-width: 60ch; margin-bottom: 32px; }
.cv2Prose p { margin: 0 0 14px; font-family: var(--cv2-serif); font-size: 21px; line-height: 1.6; color: var(--cv2-body); }
.cv2Prose > :last-child { margin-bottom: 0; }
.cv2Prose a { color: var(--cv2-text); border-bottom: 1px solid #4a525e; }

.cv2Facts { border-bottom: 1px solid var(--cv2-line); }
.cv2Fact {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--cv2-line);
}
.cv2Fact dt {
  padding-top: 4px;
  font-family: var(--cv2-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cv2-dim);
}
.cv2Fact dd { max-width: 62ch; font-size: 16px; line-height: 1.6; color: #c9ced6; }
.cv2Fact .cv2Big { font-size: 18px; color: var(--cv2-text); }
.cv2 .cv2Email { font-size: 18px; color: var(--cv2-text); border-bottom: 1px solid #3a424e; }
.cv2 .cv2Email:hover { color: var(--cv2-pink-hi); border-bottom-color: var(--cv2-pink-hi); }

/* Questions */
.cv2Faq { border-bottom: 1px solid var(--cv2-line); }
.cv2Qa { border-top: 1px solid var(--cv2-line); }
.cv2Qa summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--cv2-text);
}
.cv2Qa summary::-webkit-details-marker { display: none; }
.cv2Qa summary::after { content: "+"; flex: none; font-size: 20px; font-weight: 400; line-height: 1; color: var(--cv2-pink-hi); }
.cv2Qa[open] summary::after { content: "\2013"; }
.cv2Qa summary:hover { color: var(--cv2-pink-hi); }
.cv2Qa p { max-width: 62ch; margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: #aab1bb; }

/* ---------- Form panel ---------- */
.cv2Form {
  padding: 32px;
  background: #0b0f15;
  border-top: 2px solid var(--cv2-pink);
}
@media (min-height: 860px) {
  .cv2Form { position: sticky; top: 24px; }
}
.cv2 .cv2Form .cv2Lbl { margin-bottom: 10px; }
.cv2H--form { margin-bottom: 8px; font-size: 30px; }
.cv2FormText { margin-bottom: 24px; font-size: 15px; line-height: 1.55; color: var(--cv2-dim); }

.cv2FormWrap .meow-contact-form { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; background: none; }
.cv2FormWrap .meow-contact-form__group { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.cv2FormWrap .meow-contact-form__group-label {
  margin: 0;
  font-family: var(--cv2-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c9ced6;
}
.cv2FormWrap input[type="text"],
.cv2FormWrap input[type="email"],
.cv2FormWrap textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--cv2-line2);
  border-radius: 0;
  background: #07090c;
  box-shadow: none;
  color: var(--cv2-text);
  font: inherit;
  font-size: 16px; /* 16px stops iOS zooming into the field */
}
.cv2FormWrap textarea { min-height: 170px; resize: vertical; }
.cv2FormWrap input:focus,
.cv2FormWrap textarea:focus { outline: none; border-color: var(--cv2-pink); background: #090c11; }

.cv2FormWrap .meow-contact-form__info { margin: 0; font-size: 13px; line-height: 1.5; color: #6b7480; }
.cv2FormWrap .meow-contact-form__info a { color: var(--cv2-dim); border-bottom: 1px solid #3a424e; }

.cv2 .cv2FormWrap .meow-contact-form__group-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 48px;
  margin: 0;
  padding: 0 26px;
  border: 1px solid var(--cv2-pink);
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: var(--cv2-text) !important;
  font-family: var(--cv2-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease;
}
.cv2 .cv2FormWrap .meow-contact-form__group-button:hover { background: var(--cv2-pink) !important; }

/* ============================================================
   Tablet + phone: one column. Email line, then the form, then
   About and the questions.
============================================================ */
@media (max-width: 980px) {
  .cv2 { --cv2-gutter: 24px; padding-bottom: 64px; }
  .cv2Body { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 20px; }
  .cv2Main { display: contents; }
  .cv2Quick { order: 1; }
  .cv2Form { order: 2; }
  .cv2About { order: 3; }
  .cv2Faq { order: 4; }

  .cv2Quick {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 12px 0;
    border-top: 1px solid var(--cv2-line);
    border-bottom: 1px solid var(--cv2-line);
    font-size: 15px;
  }
  .cv2Quick a { border-bottom: 1px solid #3a424e; }
  .cv2Quick span { color: var(--cv2-dim); }

  .cv2Form { margin-top: 32px; padding: 0; background: none; border-top: 0; }
  .cv2About, .cv2Faq { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--cv2-line); }
  .cv2Faq { border-bottom: 0; }
  .cv2Facts { border-bottom: 0; }
  .cv2Fact--contact { display: none; }
  .cv2Facts .cv2Fact:nth-child(3) { border-top: 1px solid var(--cv2-line); }

  /* Labels like the live phone pages: pink rule above, pink text */
  .cv2 .cv2Lbl { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; letter-spacing: .16em; color: var(--cv2-pink-hi); }
  .cv2 .cv2Lbl::before { width: 56px; }
  .cv2 .cv2Lbl--hero { flex-direction: row; align-items: center; color: var(--cv2-pink-hi); }
  .cv2 .cv2Lbl--hero::before { width: 26px; }
}

@media (max-width: 600px) {
  .cv2 { --cv2-gutter: 16px; }
  .cv2Hero { min-height: 400px; }
  .cv2Hero__inner { padding-bottom: 24px; gap: 10px; }
  .cv2Title { font-size: 46px; line-height: 1; }
  .cv2Dek { font-size: 17px; }
  .cv2H { font-size: 26px; }
  .cv2H--form { font-size: 26px; }
  .cv2Prose p { font-size: 18px; }
  .cv2Fact { grid-template-columns: none; gap: 4px; padding: 14px 0; }
  .cv2Fact dd { font-size: 15px; }
  .cv2 .cv2FormWrap .meow-contact-form__group-button { align-self: stretch; }
}
