/*
 * Hashed System — Food & Beverage page
 *
 * The supplied Food design is utility-first. These scoped rules are an
 * intentional final cascade for this page only: they protect the pixel-level
 * spacing/typography of the supplied composition and adapt the shared CF7
 * form + homepage FAQ without changing any other template.
 */
body.page-template-page-food {
  background: #0f1321 !important;
  overflow-x: hidden;
}

body.page-template-page-food main {
  width: 100%;
  max-width: none;
  overflow: hidden;
}

body.page-template-page-food main img {
  display: block;
  max-width: 100%;
}

body.page-template-page-food main a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Keep the design's container rhythm stable at all viewport sizes. */
body.page-template-page-food .max-w-7xl,
body.page-template-page-food .max-w-5xl,
body.page-template-page-food .max-w-4xl {
  width: 100%;
}

/* Shared Contact Form 7 inside the Food design card. */
body.page-template-page-food .hs-food-intake-card {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .055);
}

body.page-template-page-food .hs-food-form-shell,
body.page-template-page-food .hs-food-form-shell .wpcf7,
body.page-template-page-food .hs-food-form-shell .wpcf7-form {
  width: 100%;
  min-width: 0;
}

body.page-template-page-food .hs-food-form-shell .hs-cf7-form {
  --hs-cf7-text: #f8fafc;
}

body.page-template-page-food .hs-food-form-shell .hs-cf7-fields {
  gap: 1.5rem;
}

body.page-template-page-food .hs-food-form-shell .hs-cf7-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

body.page-template-page-food .hs-food-form-shell .hs-cf7-label {
  color: #94a3b8;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.page-template-page-food .hs-food-form-shell .hs-cf7-required {
  color: #38bdf8;
}

body.page-template-page-food .hs-food-form-shell input[type="text"],
body.page-template-page-food .hs-food-form-shell input[type="email"],
body.page-template-page-food .hs-food-form-shell input[type="tel"],
body.page-template-page-food .hs-food-form-shell select,
body.page-template-page-food .hs-food-form-shell textarea {
  background: #0f1321;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: .5rem;
  color: #dfe1f6;
  font-family: "Inter", sans-serif;
}

body.page-template-page-food .hs-food-form-shell input[type="text"],
body.page-template-page-food .hs-food-form-shell input[type="email"],
body.page-template-page-food .hs-food-form-shell input[type="tel"],
body.page-template-page-food .hs-food-form-shell select {
  height: 52px;
}

body.page-template-page-food .hs-food-form-shell input:focus,
body.page-template-page-food .hs-food-form-shell select:focus,
body.page-template-page-food .hs-food-form-shell textarea:focus {
  border-color: rgba(56,189,248,.42);
  background: #121b2d;
  box-shadow: 0 0 0 2px rgba(56,189,248,.08);
}

body.page-template-page-food .hs-food-form-shell .hs-cf7-phone-prefix,
body.page-template-page-food .hs-food-form-shell .hs-cf7-mandate-pill,
body.page-template-page-food .hs-food-form-shell .hs-cf7-nda {
  background: #0f1321;
}

body.page-template-page-food .hs-food-form-shell .hs-cf7-submit-wrap {
  padding-top: .25rem;
}

body.page-template-page-food .hs-food-form-shell input[type="submit"] {
  background: #2563eb;
}

body.page-template-page-food .hs-food-form-shell input[type="submit"]:hover {
  background: #1d4ed8;
}

body.page-template-page-food .hs-food-form-shell .hs-cf7-submit-note {
  color: #64748b;
}

/* Homepage FAQ content, restyled to match the supplied Food page's light block. */
body.page-template-page-food .hs-food-faq .hs-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.page-template-page-food .hs-food-faq .faq-item {
  border: 0 !important;
  border-radius: .75rem !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(15,23,42,.07);
  color: #0f172a;
  transition: box-shadow .2s ease, transform .2s ease;
}

body.page-template-page-food .hs-food-faq .faq-item:hover {
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.09);
}

body.page-template-page-food .hs-food-faq .faq-item > button {
  padding: 1.5rem;
  color: #0f172a;
}

body.page-template-page-food .hs-food-faq .faq-item h3 {
  color: #0f172a;
  font-family: "Plus Jakarta Sans", sans-serif;
}

body.page-template-page-food .hs-food-faq .faq-item h3 > span:first-child {
  color: #2563eb;
}

body.page-template-page-food .hs-food-faq .faq-icon {
  color: #2563eb !important;
  border-radius: 9999px;
  background: #f1f5f9;
  padding: .25rem;
}

body.page-template-page-food .hs-food-faq .faq-answer-inner {
  border-top-color: #e2e8f0 !important;
  color: #475569 !important;
}

/* Protect full-bleed sections from inherited theme margins. */
body.page-template-page-food main > .flex > section {
  margin-top: 0;
  margin-bottom: 0;
}

/* Tablet */
@media (max-width: 1023px) {
  body.page-template-page-food .hs-food-form-shell .hs-cf7-grid--2 {
    gap: 1rem;
  }

  body.page-template-page-food .hs-food-intake-card {
    padding: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  body.page-template-page-food main .px-6 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  body.page-template-page-food main .py-20 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  body.page-template-page-food main .py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  body.page-template-page-food .hs-food-form-shell .hs-cf7-grid--2 {
    grid-template-columns: 1fr;
  }

  body.page-template-page-food .hs-food-intake-card {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  body.page-template-page-food .hs-food-intake-card .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  body.page-template-page-food .hs-food-faq .faq-item > button {
    padding: 1.125rem;
  }

  body.page-template-page-food .hs-food-faq .faq-item h3 {
    font-size: .9rem;
    line-height: 1.45rem;
  }

  body.page-template-page-food .hs-food-faq .faq-answer-inner {
    padding-left: 1.125rem !important;
    padding-right: 1.125rem !important;
    padding-bottom: 1.125rem !important;
  }
}

/* Very narrow phones: prevent CTA/form controls from forcing horizontal scroll. */
@media (max-width: 479px) {
  body.page-template-page-food main h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.08;
  }

  body.page-template-page-food main .text-display-hero {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.08;
  }

  body.page-template-page-food .hs-food-form-shell .hs-cf7-phone {
    align-items: stretch;
  }

  body.page-template-page-food .hs-food-form-shell .hs-cf7-phone-prefix {
    padding-left: .75rem;
    padding-right: .75rem;
  }
}
