/* Theme "mestorehewelth": copies the hewelth.com /me/new/ product page design: white header with navy logo,
   Montserrat-style bold royal-blue headings (centered), navy pill buttons, check-list hero, image/text feature rows
   on a pale-blue band, a rounded quote card, review cards, line-separated FAQ, grey "Special Offer" band and a dark
   guarantee band. Loaded after advertorial.css by advertorial.php. */
.theme-mestorehewelth {
  --band: #fff; --edge: none; --edge-h: 0px; --frame: #00409d;
  --accent: #00409d; --accent-soft: rgba(0, 64, 157, .12); --foot: #1c1c1c; --title: #00409d; --page: #fff;
  --logo-font: Inter, Arial, sans-serif; --head-ink: #222; --logo-ink: #00409d;
  --blue: #00409d; --pale: #f3f9fe;
}
.theme-mestorehewelth { color: #222; }
.theme-mestorehewelth .adv-band { height: 100%; }
.theme-mestorehewelth .adv-top { justify-content: flex-start; max-width: 990px; margin: 0 auto; padding: 12px 20px; border-bottom: 1px solid #eee; }
.theme-mestorehewelth .adv-logo { font-style: italic; font-weight: 800; }
.theme-mestorehewelth .adv-hero { padding-top: 24px; }
.theme-mestorehewelth .adv-label { color: #777; }
.theme-mestorehewelth .adv-hero h1 { color: var(--blue); font-size: 38px; line-height: 1.45; letter-spacing: 0; }
.theme-mestorehewelth .adv-by, .theme-mestorehewelth .adv-date { color: #555; }
.theme-mestorehewelth .adv-hero-img img { border-radius: 6px; }

.theme-mestorehewelth .adv-main { max-width: 990px; }
.theme-mestorehewelth .adv-html { margin: 24px 0; font-size: 18px; line-height: 1.6; }
.theme-mestorehewelth .adv-html p { margin: 0 0 18px; }

/* Rating line + check-list + service badges (the hero copy) */
.theme-mestorehewelth .x-rating p { margin: 0; font-size: 16px; }
.theme-mestorehewelth .x-stars { color: var(--blue); letter-spacing: 1px; }
.theme-mestorehewelth .x-checks ul { list-style: none; margin: 0 0 14px; padding: 0; }
.theme-mestorehewelth .x-checks li { position: relative; margin: 0 0 8px; padding-left: 32px; font-size: 21px; font-weight: 600; line-height: 1.4; color: #333; }
.theme-mestorehewelth .x-checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.theme-mestorehewelth .x-checks p { font-size: 14px; }
.theme-mestorehewelth .x-red { color: #e60012; font-weight: 700; }
.theme-mestorehewelth .x-service { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: -10px; }
.theme-mestorehewelth .x-service p { margin: 0; padding: 0 14px; font-size: 14px; border-left: 2px solid #333; }
.theme-mestorehewelth .x-service p:first-child { padding-left: 0; border-left: 0; }

/* Navy pill buttons */
.theme-mestorehewelth .adv-button { max-width: 440px; margin: 28px auto; }
.theme-mestorehewelth .adv-button a {
  padding: 14px 20px; border: 0; border-radius: 40px; background: var(--blue); color: #fff;
  font-family: Tahoma, Geneva, sans-serif; font-size: 24px; font-weight: 700; letter-spacing: 0; text-transform: none;
}
.theme-mestorehewelth .adv-button a:hover { background: #00337e; color: #fff; }

/* Section headings: centered, large, royal blue */
.theme-mestorehewelth .adv-title, .theme-mestorehewelth .x-head h2, .theme-mestorehewelth .x-offer h2 {
  margin: 60px auto 24px; max-width: 760px; color: var(--blue); font-size: 42px; font-weight: 700; line-height: 1.4; text-align: center;
}
.theme-mestorehewelth .x-head { margin: 0; }
.theme-mestorehewelth .x-center { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.theme-mestorehewelth .x-center strong { color: #213d7a; }
.theme-mestorehewelth .adv-image { margin: 0 0 30px; }

/* Feature rows: image + text, alternating sides, on a pale-blue band */
.theme-mestorehewelth .x-feature {
  display: grid; grid-template-columns: 38% 1fr; gap: 36px; align-items: center; margin: 0; padding: 30px 0;
  background: var(--pale); box-shadow: 0 0 0 100vmax var(--pale); clip-path: inset(0 -100vmax);
}
.theme-mestorehewelth .x-feature img { width: 100%; margin: 0; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.theme-mestorehewelth .x-feature h3 { margin: 0 0 18px; color: var(--blue); font-size: 30px; font-weight: 700; line-height: 1.5; }
.theme-mestorehewelth .x-feature p { font-size: 16px; line-height: 1.4; }
.theme-mestorehewelth .x-flip { grid-template-columns: 1fr 38%; }
.theme-mestorehewelth .x-flip .x-feature-img { order: 2; }
.theme-mestorehewelth .x-flip .x-feature-body { text-align: right; }

/* Quote card */
.theme-mestorehewelth .x-quote {
  max-width: 690px; margin: 30px auto; padding: 36px 42px; border-radius: 40px 0 70px 0; background: #eaf4fc;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16); text-align: center; color: #444;
}
.theme-mestorehewelth .x-quote p { margin: 0 0 20px; font-size: 17px; line-height: 1.45; }
.theme-mestorehewelth .x-quote p:last-child { margin: 0; }

/* Review cards on a pale band */
.theme-mestorehewelth .x-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; padding: 32px 0;
  background: #eaf5fd; box-shadow: 0 0 0 100vmax #eaf5fd; clip-path: inset(0 -100vmax);
}
.theme-mestorehewelth .x-card { overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.theme-mestorehewelth .x-card img { width: 100%; margin: 0; aspect-ratio: 1; object-fit: cover; }
.theme-mestorehewelth .x-card-body { padding: 12px 12px 16px; }
.theme-mestorehewelth .x-card .x-stars { color: #f5a00f; }
.theme-mestorehewelth .x-card p { margin: 4px 0 10px; font-size: 15px; line-height: 1.3; }
.theme-mestorehewelth .x-muted { color: #999; font-size: 13px; }

/* FAQ: plain lines */
.theme-mestorehewelth .adv-faq { margin: 0 0 40px; }
.theme-mestorehewelth .adv-faq details { padding: 22px 0; border-bottom: 1px solid #555; }
.theme-mestorehewelth .adv-faq summary { color: #414141; font-size: 20px; font-weight: 400; line-height: 30px; }
.theme-mestorehewelth .adv-faq-a { font-size: 16px; }

/* Special offer band + guarantee band */
.theme-mestorehewelth .x-offer { margin: 0; padding: 30px 0 0; text-align: center; background: #f2f2f2; box-shadow: 0 0 0 100vmax #f2f2f2; clip-path: inset(0 -100vmax); }
.theme-mestorehewelth .x-offer h2 { margin-top: 10px; }
.theme-mestorehewelth .x-offer p { max-width: 580px; margin: 0 auto; color: var(--blue); font-size: 16px; }
.theme-mestorehewelth .x-offer + .adv-button { margin: 0 auto; padding: 30px 0 40px; max-width: none; background: #f2f2f2; box-shadow: 0 0 0 100vmax #f2f2f2; clip-path: inset(0 -100vmax); }
.theme-mestorehewelth .x-offer + .adv-button a { max-width: 400px; margin: 0 auto; }
.theme-mestorehewelth .x-guarantee {
  display: flex; gap: 60px; align-items: center; justify-content: center; margin: 0; padding: 36px 0;
  background: #1c1c1c; box-shadow: 0 0 0 100vmax #1c1c1c; clip-path: inset(0 -100vmax); color: #ddd;
}
.theme-mestorehewelth .x-guarantee img { width: 165px; margin: 0; }
.theme-mestorehewelth .x-guarantee h3 { margin: 0 0 12px; color: #fff; font-size: 36px; font-weight: 700; }
.theme-mestorehewelth .x-guarantee p { max-width: 520px; margin: 0; font-size: 17px; line-height: 1.45; }
.theme-mestorehewelth .adv-foot { margin-top: 0; }

@media (max-width: 760px) {
  .theme-mestorehewelth .adv-hero h1 { font-size: 27px; }
  .theme-mestorehewelth .adv-title, .theme-mestorehewelth .x-head h2, .theme-mestorehewelth .x-offer h2 { font-size: 28px; margin-top: 40px; }
  .theme-mestorehewelth .x-feature, .theme-mestorehewelth .x-flip { grid-template-columns: 1fr; gap: 18px; }
  .theme-mestorehewelth .x-flip .x-feature-img { order: 0; }
  .theme-mestorehewelth .x-flip .x-feature-body { text-align: left; }
  .theme-mestorehewelth .x-feature h3 { font-size: 24px; }
  .theme-mestorehewelth .x-cards { grid-template-columns: repeat(2, 1fr); }
  .theme-mestorehewelth .x-guarantee { flex-direction: column; gap: 20px; text-align: center; }
  .theme-mestorehewelth .x-checks li { font-size: 18px; }
  .theme-mestorehewelth .adv-button a { font-size: 20px; }
}
