/* ==========================================================================
   Luminary Insurance — structural fixes
   NOTE ON SCOPING: Divi names modules by index (.et_pb_row_7, .et_pb_text_0…)
   and those indices restart on every page. Any rule targeting an index is
   therefore scoped to `body.home`, or it would hit unrelated modules on the
   other 121 pages.
   ========================================================================== */

/* ---------- header logo (global) ----------
   The Luminary lockup is a far wider aspect (7:1) than the logo it replaced
   (4.7:1), so at Divi's original 270px cap the wordmark was unreadable. */
.et_pb_menu__logo-wrap { max-width: 400px; }
.et_pb_menu__logo { width: 100%; max-width: 380px; }
.et_pb_menu__logo img { width: 100%; height: auto; display: block; }

@media (max-width: 980px) {
  .et_pb_menu__logo, .et_pb_menu__logo-wrap { max-width: 300px; }
}
@media (max-width: 640px) {
  .et_pb_menu__logo, .et_pb_menu__logo-wrap { max-width: 240px; }
}

/* ---------- recovered-CSS / recovered-HTML mismatch (home only) ----------
   The Divi stylesheet recovered from the archive carries responsive rules
   from a different revision of the page than the HTML we recovered, so it
   hid three blocks that should be visible. */
body.home .et_pb_row_7 { display: flex !important; }   /* pricing */
body.home .et_pb_section_6 { display: block !important; } /* testimonials */
body.home .et_pb_row_0 { display: flex !important; }   /* hero, incl. mobile */

/* "As Seen In" stays hidden: all five logo files are among the images the
   archive never captured. Delete this rule once real logos are added. */
body.home .et_pb_row_1 { display: none !important; }

/* Press & Features carries three surviving logos but her CSS hides it below
   981px, so it vanished on tablet and phone. Show it at every width. */
body.home .et_pb_section_5 { display: flex !important; }

/* Three of the six Press & Features logos were likewise never archived. */
img[src*="/2020/12/Main-photo-site"],
img[src*="/2026/06/AMBTVLogo_med.png"],
img[src*="/2026/06/cnbc.gif"],
img[src*="/2026/06/f6f8242c-3554-4af2-abf2-c4b98f88ea35.webp"] { display: none !important; }

/* ---------- pricing grid (own markup, safe to name globally) ---------- */
.lum-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: 100%;
  padding: 10px 0 30px;
}
.lum-price-card { text-align: center; padding: 0 8px; }
.lum-price-card h3 { margin: 0 0 .35em; }
.lum-price-amount { font-weight: 700; margin: 0 0 .5em; }
.lum-price-note { margin: 0; font-size: .92em; line-height: 1.5; }
.lum-price-icon { width: 44px; height: 44px; margin: 0 auto 14px; position: relative; }
.lum-price-icon::before,
.lum-price-icon::after { content: ""; position: absolute; }

@media (max-width: 980px) {
  .lum-pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .lum-pricing-grid { grid-template-columns: 1fr; gap: 22px; }
}
