/* Theme "miracle": Shopify-style advertorial from shopmiraclebrand.co (dark "ADVERTORIAL" strip, navy logo band,
   navy bold headline, serif pull quote, light-blue review cards, feature box, grey offer box with green button). */
.theme-miracle {
  --band: #00237e; --edge: none; --edge-h: 0px; --frame: #00237e; --accent: #00237e; --accent-soft: #e4f3fb;
  --foot: #00237e; --title: #222; --page: #fff; --logo-font: Montserrat, "Century Gothic", Inter, sans-serif; --head-ink: #222; --logo-ink: #fff;
}
.theme-miracle.adv { color: #222; }

/* Header: 22px dark strip with the label, navy band with the white logo, navy headline on white */
.theme-miracle .adv-head { padding-top: 22px; }
.theme-miracle .adv-band { top: 22px; height: 64px; }
.theme-miracle .adv-top { height: 64px; padding: 0 20px; align-items: center; }
.theme-miracle .adv-logo { font-size: 22px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.theme-miracle .adv-hero { max-width: 800px; position: static; }
.theme-miracle .adv-label {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2; margin: 0; height: 22px; background: #222; color: #b3b3b3;
  font: 300 11px/22px Montserrat, Inter, sans-serif; letter-spacing: .5px; text-align: center;
}
.theme-miracle .adv-hero h1 { margin: 44px 0 18px; color: #00237e; font-size: 40px; font-weight: 700; line-height: 51px; letter-spacing: 0; }
.theme-miracle .adv-byline { margin: 0 0 16px; color: #000; }
.theme-miracle .adv-by, .theme-miracle .adv-date { display: inline; font-size: 13px; letter-spacing: 0; line-height: 17px; }
.theme-miracle .adv-by strong { color: #00237e; text-decoration: none; }
.theme-miracle .adv-date::before { content: " | "; }

.theme-miracle .adv-main { max-width: 800px; }
.theme-miracle .adv-text { margin: 20px 0; }
.theme-miracle .adv-text p { margin: 0 0 28px; font-size: 19px; line-height: 28px; }
.theme-miracle .adv-text p:last-child { margin-bottom: 0; }
.theme-miracle .adv-text sup, .theme-miracle .adv-html sup { font-size: 11px; line-height: 0; }
.theme-miracle .adv-title { margin: 40px 0 0; color: #222; font-size: 34px; font-weight: 700; line-height: 45px; }
.theme-miracle .adv-image { margin: 20px 0; }

/* Pull quote under the byline */
.theme-miracle .x-ms-pullquote { display: flex; margin: 0 0 24px; border: 1px solid #e6e6e6; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.theme-miracle .x-ms-pullquote::before { content: "\201C"; flex: none; width: 44px; background: #7e99de; color: #fff; font: 700 40px/56px Georgia, serif; text-align: center; }
.theme-miracle .x-ms-pullquote p { margin: 0; padding: 10px 19px 10px 21px; color: #272626; font: italic 19px/23px "Droid Serif", Georgia, serif; }

/* Feature box */
.theme-miracle .x-ms-features { margin: 30px 0; padding: 22px 25px 34px; border-radius: 15px; background: #fff; box-shadow: 0 0 17px rgba(0, 0, 0, .12); }
.theme-miracle .x-ms-features img { margin: 0 0 12px; }
.theme-miracle .x-ms-features ul { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(4, auto); column-gap: 30px; margin: 0; padding: 0; list-style: none; }
.theme-miracle .x-ms-features li { padding: 14px 0 14px 30px; border-bottom: 1px solid #e3e3e3; position: relative; font-size: 17px; font-weight: 700; line-height: 24px; }
.theme-miracle .x-ms-features li::before { content: "\2713"; position: absolute; left: 0; color: #00237e; }

/* Review quotes */
.theme-miracle .x-ms-reviews { margin: 10px 0 30px; }
.theme-miracle .x-ms-review { margin: 0 0 14px; padding: 18px 20px; border-radius: 5px; background: #e4f3fb; }
.theme-miracle .x-ms-review p { margin: 0; color: #00237e; font-size: 17px; line-height: 25px; }
.theme-miracle .x-ms-review strong { font-size: 14px; }

/* Note box */
.theme-miracle .x-ms-note { padding: 14px 18px; border: 1px solid #7e99de; background: #e0e9ff; }
.theme-miracle .x-ms-note p { margin: 0 0 18px; font-size: 18px; line-height: 26px; }
.theme-miracle .x-ms-note p:last-child { margin-bottom: 0; }

/* Offer box + its green button */
.theme-miracle .x-ms-offer {
  display: grid; grid-template-columns: 40% 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center;
  margin: 40px 0 0; padding: 24px 24px 0; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, #f6f6f6, #d9d9d9);
  text-align: center;
}
.theme-miracle .x-ms-offer img { grid-row: 1 / span 2; margin: 0; }
.theme-miracle .x-ms-offer h2 { margin: 0 0 10px; color: #00237e; font: 600 26px/32px Montserrat, Inter, sans-serif; }
.theme-miracle .x-ms-big { font-weight: 800; }
.theme-miracle .x-ms-offer p { margin: 0; font-size: 14px; line-height: 20px; }
.theme-miracle .x-ms-offer + .adv-button { margin: 0 0 40px; padding: 18px 24px 26px calc(40% + 30px); border-radius: 0 0 12px 12px; background: #d9d9d9; box-shadow: 0 6px 12px rgba(0, 0, 0, .15); }
.theme-miracle .adv-button a {
  padding: 14px 11px; border: 2px solid #19973d; border-radius: 10px; background: #206b2e; color: #fff;
  font: 700 22px/28px Montserrat, Inter, sans-serif; letter-spacing: 0;
}
.theme-miracle .adv-button a::before { content: "\2714\00a0 "; }
.theme-miracle .adv-button a:hover { background: #19973d; color: #fff; }

/* "Featured" box (the page's sidebar) */
.theme-miracle .x-ms-featured { max-width: 320px; margin: 50px auto 0; }
.theme-miracle .x-ms-featured h3 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid #ddd; font-size: 24px; font-weight: 500; }
.theme-miracle .x-ms-featured img { margin: 0; border: 1px solid #ddd; }
.theme-miracle .x-ms-featured + .adv-button { max-width: 320px; margin: 0 auto; }
.theme-miracle .x-ms-featured + .adv-button a { padding: 8px; border: 0; border-radius: 0; background: #00237e; font: 700 14px/22px Inter, sans-serif; text-transform: none; }
.theme-miracle .x-ms-featured + .adv-button a::before { content: none; }
.theme-miracle .x-ms-featured + .adv-button a::after { content: "\00a0\00bb"; }
.theme-miracle .x-ms-featured-link { max-width: 320px; margin: 8px auto 40px; text-align: center; font-size: 13px; line-height: 18px; }
.theme-miracle .x-ms-featured-link a { color: #00237e; font-weight: 400; }

.theme-miracle .adv-disclaimer { font-weight: 400; color: #333; }

@media (max-width: 600px) {
  .theme-miracle .adv-hero h1 { font-size: 28px; line-height: 36px; margin-top: 30px; }
  .theme-miracle .adv-title { font-size: 26px; line-height: 34px; }
  .theme-miracle .adv-text p { font-size: 17px; line-height: 26px; }
  .theme-miracle .x-ms-features ul { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .theme-miracle .x-ms-offer { grid-template-columns: 1fr; }
  .theme-miracle .x-ms-offer img { grid-row: auto; max-width: 260px; margin: 0 auto 10px; }
  .theme-miracle .x-ms-offer + .adv-button { padding-left: 24px; }
  .theme-miracle .adv-button a { font-size: 18px; }
}
