/* ezpera.ph shared layout. Linked last on every page so it wins over each page's own styles. */
:root { --site-w: 1040px; }

/* Header lines up with the page content on wide screens */
@media (min-width: 769px) {
  nav {
    padding-left: max(6vw, calc((100% - var(--site-w)) / 2)) !important;
    padding-right: max(6vw, calc((100% - var(--site-w)) / 2)) !important;
  }
}

/* Labels above form fields (placeholders disappear when people type) */
.fld { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; min-width: 0; text-align: left; }
.fld-l { font-size: 0.82rem; font-weight: 700; color: #0F2442; }
.fld > input, .fld > select, .fld > textarea { width: 100%; flex: none; }
.fld-full { margin-bottom: 0.65rem; }

/* Email us and copy address, side by side */
.mail-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.mail-actions .btn-ghost { cursor: pointer; font: inherit; font-weight: 600; }

/* FAQ: heading on the left, questions on the right, on desktop */
@media (min-width: 1000px) {
  .faq-wrap.faq-2col { max-width: var(--site-w) !important; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); column-gap: 4rem; align-items: start; }
  .faq-2col > .faq-head { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: 6rem; }
  .faq-2col > :not(.faq-head) { grid-column: 2; }
  .faq-2col > .faq-head .section-title { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
  .faq-2col > .faq-head br { display: none; }
  .faq-2col .faq-more { justify-self: start; width: auto; }
}
