/*
Theme Name: Miles Below Clean
Theme URI: https://milesbelow.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A clean, full-width WordPress theme for Miles Below with a customizable homepage and WooCommerce support.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: milesbelow-clean
*/

:root {
  --mb-bg: #f4f7f8;
  --mb-surface: #ffffff;
  --mb-ink: #182433;
  --mb-muted: #5f6d79;
  --mb-accent: #2f80c9;
  --mb-accent-dark: #2367a1;
  --mb-dark: #04121d;
  --mb-dark-soft: #091b29;
  --mb-border: rgba(24, 36, 51, 0.08);
  --mb-shadow: 0 20px 40px rgba(10, 22, 32, 0.08);
  --mb-radius: 24px;
  --mb-shell: min(1760px, calc(100vw - 56px));
  --mb-reading: min(1100px, calc(100vw - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--mb-ink);
  background: #fff;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mb-border);
}

.site-header__inner,
.site-footer__inner,
.mb-shell {
  width: var(--mb-shell);
  margin: 0 auto;
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.site-branding a,
.site-branding__title {
  color: #1f6fb0;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.45rem;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  width: auto;
  max-height: 58px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  font-size: 0.98rem;
  color: var(--mb-ink);
  opacity: 0.92;
}

.menu-toggle {
  display: none;
}

/* Footer */
.site-footer {
  background: #07141d;
  color: rgba(255, 255, 255, 0.78);
  padding: 34px 0;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Shared section styles */
.mb-home {
  overflow: hidden;
}

.mb-section {
  padding: 96px 0;
}

.mb-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.88rem;
  font-weight: 700;
  color: #61707c;
  margin-bottom: 20px;
}

.mb-section h2,
.mb-section h3 {
  margin: 0 0 22px;
  color: var(--mb-ink);
}

.mb-section h2 {
  font-size: clamp(2.8rem, 4.3vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 650;
}

.mb-section h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.mb-section p {
  margin: 0 0 1rem;
  font-size: clamp(1.08rem, 1.35vw, 1.42rem);
  line-height: 1.72;
  color: #3c4a56;
}

.mb-section-intro {
  max-width: 46rem;
  margin-bottom: 28px !important;
}

/* Add extra internal breathing room only where needed */
.mb-section--panel .mb-shell {
  padding-top: 36px;
  padding-bottom: 36px;
}

/* Hero */
.mb-hero {
  min-height: min(100vh, 1150px);
  display: flex;
  align-items: flex-end;
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(1, 8, 14, 0.14) 0%, rgba(2, 10, 16, 0.36) 38%, rgba(2, 10, 16, 0.82) 100%),
    var(--mb-bg) center center / cover no-repeat;
}

.mb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 10, 16, 0.74) 0%, rgba(2, 10, 16, 0.24) 55%, rgba(2, 10, 16, 0.08) 100%);
}

.mb-hero .mb-shell {
  position: relative;
  z-index: 1;
  padding-bottom: 84px;
}

.mb-hero__content {
  max-width: min(760px, 58vw);
}

.mb-hero .mb-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.mb-hero h1 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 6.8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin: 0 0 22px;
  color: #fff;
}

.mb-hero__rule {
  height: 1px;
  width: min(100%, 860px);
  background: rgba(255, 255, 255, 0.42);
  margin: 0 0 26px;
}

.mb-hero__body,
.mb-hero__cred {
  color: rgba(255, 255, 255, 0.92) !important;
}

.mb-hero__body {
  max-width: 46rem;
}

.mb-hero__cred {
  margin-top: 30px !important;
}

.mb-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 1rem;
  transition: 0.2s ease;
}

.mb-btn--primary {
  background: var(--mb-accent);
  color: #fff;
  border-color: transparent;
}

.mb-btn--primary:hover {
  background: var(--mb-accent-dark);
}

.mb-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mb-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mb-btn--secondary {
  background: #fff;
  color: var(--mb-ink);
  border: 1px solid rgba(24, 36, 51, 0.12);
}

.mb-btn--secondary:hover {
  background: #f7f9fa;
}

/* Layout grids */
.mb-grid {
  display: grid;
  gap: 42px;
}

.mb-grid--why {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.95fr);
  align-items: start;
}

.mb-grid--tools,
.mb-grid--about,
.mb-grid--newsletter {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.mb-grid--travel {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: start;
  gap: 54px;
}

.mb-grid--prints {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

/* Prevent grid children from overflowing panel layouts */
.mb-grid--tools > *,
.mb-grid--about > *,
.mb-grid--newsletter > *,
.mb-grid--travel > *,
.mb-grid--prints > * {
  min-width: 0;
}

/* Keep oversized headings from blowing out tinted sections */
.mb-tools h2,
.mb-explore h2,
.mb-section--panel h2 {
  max-width: 16ch;
}

/* Cards */
.mb-stats {
  display: grid;
  gap: 22px;
}

.mb-stat,
.mb-card,
.mb-media-card,
.mb-mini-card,
.mb-travel__panel {
  background: var(--mb-surface);
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius);
  box-shadow: var(--mb-shadow);
}

.mb-stat {
  padding: 28px 34px;
}

.mb-stat strong {
  display: block;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #0e2943;
}

.mb-stat span {
  display: block;
  margin-top: 10px;
  font-size: 1.05rem;
  color: #34414b;
}

.mb-explore,
.mb-tools,
.mb-newsletter {
  background: #eef3f5;
}

.mb-cards {
  display: grid;
  gap: 24px;
}

.mb-cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mb-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mb-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mb-cards--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mb-card {
  overflow: hidden;
}

.mb-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.mb-card__body {
  padding: 24px 24px 26px;
}

.mb-card__body h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 1.9vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
}

.mb-card__body p {
  font-size: 1.03rem;
}

.mb-card__body a,
.entry-content a:not(.mb-btn) {
  color: var(--mb-accent);
  font-weight: 700;
}

.mb-media-card {
  overflow: hidden;
}

.mb-media-card img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
}

.mb-list {
  margin: 28px 0 0;
  padding-left: 22px;
}

.mb-list li {
  font-size: 1.08rem;
  color: #24303a;
  margin: 0 0 15px;
  line-height: 1.7;
}

/* Travel */
.mb-travel {
  background:
    linear-gradient(180deg, rgba(1, 10, 18, 0.78), rgba(1, 16, 24, 0.92)),
    var(--mb-bg) center center / cover no-repeat;
  color: #fff;
}

.mb-travel .mb-kicker,
.mb-prints .mb-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.mb-travel h2,
.mb-travel h3,
.mb-prints h2,
.mb-prints h3 {
  color: #fff !important;
  max-width: none;
}

.mb-travel p,
.mb-travel li,
.mb-prints p,
.mb-mini-card div span,
.mb-mini-card div strong {
  color: rgba(255, 255, 255, 0.92);
}

.mb-travel__copy h2 {
  max-width: 11ch;
}

.mb-travel__panel {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  backdrop-filter: blur(10px);
  padding: 34px;
}

.mb-list--compact {
  margin-top: 20px;
}

.mb-list--compact li {
  color: rgba(255, 255, 255, 0.94);
}

/* Prints */
.mb-prints {
  background: #01131f;
}

.mb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mb-mini-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.mb-mini-card img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.mb-mini-card div {
  padding: 18px 20px 20px;
}

.mb-mini-card strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

/* Newsletter */
.mb-newsletter-form,
.mb-newsletter-form-wrap .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: start;
}

.mb-newsletter-form input,
.mb-newsletter-form textarea,
.mb-newsletter-form select,
.mb-newsletter-form-wrap .wpcf7-form input[type="text"],
.mb-newsletter-form-wrap .wpcf7-form input[type="email"],
.mb-newsletter-form-wrap .wpcf7-form input[type="tel"],
.mb-newsletter-form-wrap .wpcf7-form input[type="url"],
.mb-newsletter-form-wrap .wpcf7-form textarea,
.mb-newsletter-form-wrap .wpcf7-form select {
  min-height: 56px;
  border: 1px solid rgba(24, 36, 51, 0.14);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 1rem;
  width: 100%;
  background: #fff;
}

.mb-newsletter-form textarea,
.mb-newsletter-form-wrap .wpcf7-form textarea {
  min-height: 160px;
  padding-top: 14px;
}

.mb-newsletter-form-wrap .wpcf7 {
  width: 100%;
}

.mb-newsletter-form-wrap .wpcf7-form p {
  margin: 0;
}

.mb-newsletter-form-wrap .wpcf7-spinner,
.mb-newsletter-form-wrap .wpcf7-response-output,
.mb-newsletter-form-wrap .screen-reader-response {
  grid-column: 1 / -1;
}

.mb-newsletter-form-wrap .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.mb-newsletter-form-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  border: 0;
  background: var(--mb-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: auto;
  white-space: nowrap;
}

.mb-newsletter-form-wrap .wpcf7-submit:hover {
  background: var(--mb-accent-dark);
}

.mb-note {
  margin-top: 12px !important;
  font-size: 0.95rem !important;
  color: #61707c !important;
}

/* Trip Gallery */
.mb-trip-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.mb-trip-gallery__item {
  margin: 0;
  background: var(--mb-surface);
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius);
  overflow: hidden;
  box-shadow: var(--mb-shadow);
}

.mb-trip-gallery__item img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  display: block;
}

.mb-trip-gallery__item figcaption {
  padding: 14px 16px 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4a5864;
}

/* Lean end-of-guide CTA */
.mb-guide-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  background: #eef3f5;
  border: 1px solid var(--mb-border);
  border-radius: 24px;
  box-shadow: var(--mb-shadow);
}

.mb-guide-cta__copy {
  min-width: 0;
}

.mb-guide-cta__copy .mb-kicker {
  margin-bottom: 12px;
}

.mb-guide-cta__copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--mb-ink);
}

.mb-guide-cta__copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #465560;
  max-width: 56ch;
}

.mb-guide-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* =========================================================
   INNER PAGES - WIDE, NO BOX
   ========================================================= */

.site-main,
.content-area,
.site-content {
  width: 100%;
  max-width: none;
}

body.page .site-main,
body.single .site-main,
body.archive .site-main,
body.blog .site-main,
body.search .site-main,
body.error404 .site-main,
body.woocommerce .site-main,
body.woocommerce-page .site-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.page .site-main > .entry,
body.single .site-main > .entry,
body.archive .site-main > .entry,
body.blog .site-main > .entry,
body.search .site-main > .entry,
body.error404 .site-main > .entry,
body.page .page-content-wrap,
body.single .page-content-wrap,
body.archive .page-content-wrap,
body.blog .page-content-wrap,
body.search .page-content-wrap,
body.error404 .page-content-wrap,
body.woocommerce .site-main > *,
body.woocommerce-page .site-main > * {
  width: var(--mb-shell) !important;
  max-width: none !important;
  margin: 28px auto 80px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  outline: 0 !important;
}

.entry-content,
.page-content-wrap,
.site-main > .entry {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.entry-title,
.page-title {
  width: var(--mb-shell);
  max-width: none;
  margin: 24px auto 28px;
  padding: 0;
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--mb-ink);
}

body.page .entry-content > *,
body.single .entry-content > *,
body.archive .entry-content > *,
body.blog .entry-content > *,
body.search .entry-content > *,
body.page .page-content-wrap > *,
body.single .page-content-wrap > *,
body.archive .page-content-wrap > *,
body.blog .page-content-wrap > *,
body.search .page-content-wrap > * {
  max-width: none !important;
}

body.page .entry-content > p,
body.page .entry-content > ul,
body.page .entry-content > ol,
body.page .entry-content > blockquote,
body.page .entry-content > h2,
body.page .entry-content > h3,
body.page .entry-content > h4,
body.page .entry-content > h5,
body.page .entry-content > h6,
body.page .entry-content > .wp-block-paragraph,
body.page .entry-content > .wp-block-heading,
body.page .entry-content > .wp-block-list,
body.page .entry-content > .wp-block-quote,
body.single .entry-content > p,
body.single .entry-content > ul,
body.single .entry-content > ol,
body.single .entry-content > blockquote,
body.single .entry-content > h2,
body.single .entry-content > h3,
body.single .entry-content > h4,
body.single .entry-content > h5,
body.single .entry-content > h6,
body.single .entry-content > .wp-block-paragraph,
body.single .entry-content > .wp-block-heading,
body.single .entry-content > .wp-block-list,
body.single .entry-content > .wp-block-quote {
  max-width: min(1100px, calc(100vw - 56px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page .entry-content > img,
body.page .entry-content > figure,
body.page .entry-content > .wp-block-image,
body.page .entry-content > .wp-block-gallery,
body.page .entry-content > .wp-block-cover,
body.page .entry-content > .wp-block-group,
body.page .entry-content > .wp-block-columns,
body.page .entry-content > .wp-block-media-text,
body.page .entry-content > .wp-block-table,
body.page .entry-content > .wp-block-html,
body.page .entry-content > .wp-block-shortcode,
body.page .entry-content > .alignwide,
body.page .entry-content > .alignfull,
body.single .entry-content > img,
body.single .entry-content > figure,
body.single .entry-content > .wp-block-image,
body.single .entry-content > .wp-block-gallery,
body.single .entry-content > .wp-block-cover,
body.single .entry-content > .wp-block-group,
body.single .entry-content > .wp-block-columns,
body.single .entry-content > .wp-block-media-text,
body.single .entry-content > .wp-block-table,
body.single .entry-content > .wp-block-html,
body.single .entry-content > .wp-block-shortcode,
body.single .entry-content > .alignwide,
body.single .entry-content > .alignfull {
  width: 100% !important;
  max-width: var(--mb-shell) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.shortcode,
.shortcode-content,
.wp-block-shortcode {
  width: 100%;
  max-width: var(--mb-shell);
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   PAGE COMPONENTS / TRAVEL GUIDE COMPONENTS
   ========================================================= */

.mb-contact-page {
  width: var(--mb-shell);
  margin: 32px auto 96px;
}

.mb-contact-hero {
  position: relative;
  min-height: 58vh;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin: 0 0 72px;
  background:
    linear-gradient(180deg, rgba(2, 12, 18, 0.18) 0%, rgba(2, 12, 18, 0.42) 38%, rgba(2, 12, 18, 0.76) 100%),
    var(--mb-contact-hero-bg) center center / cover no-repeat;
}

.mb-contact-hero__inner {
  width: 100%;
  padding: 56px;
}

.mb-contact-hero .mb-kicker {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 16px;
}

.mb-contact-hero h1 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: #fff;
  font-size: clamp(3.7rem, 6.8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin: 0 0 18px;
  max-width: 11ch;
}

.mb-contact-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.12rem, 1.4vw, 1.45rem);
  line-height: 1.7;
  margin: 0;
  max-width: 44rem;
}

.mb-contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 56px;
  align-items: start;
}

.mb-contact-panel {
  background: #fff;
  border: 1px solid var(--mb-border);
  border-radius: 24px;
  box-shadow: var(--mb-shadow);
  padding: 36px;
}

.mb-contact-panel h2 {
  font-size: clamp(2.2rem, 3.2vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  color: var(--mb-ink);
}

.mb-contact-panel h3 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 28px 0 14px;
  color: var(--mb-ink);
}

.mb-contact-panel p,
.mb-contact-panel li {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #3d4b56;
}

.mb-contact-form-wrap {
  background: #eef3f5;
  border: 1px solid var(--mb-border);
  border-radius: 24px;
  padding: 36px;
}

.mb-contact-form-wrap h2 {
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: var(--mb-ink);
  max-width: 12ch;
}

.mb-contact-form-wrap p {
  color: #3d4b56;
  font-size: 1.08rem;
  line-height: 1.75;
}

.mb-contact-note {
  font-size: 0.96rem !important;
  color: #61707c !important;
  margin-top: 16px !important;
}

/* Contact Form 7 */
.wpcf7 {
  width: 100%;
}

.wpcf7-form p {
  margin: 0 0 16px;
}

.wpcf7-form label {
  display: block;
  font-size: 1rem;
  color: #24303a;
  margin-bottom: 8px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(24, 36, 51, 0.14);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
}

.wpcf7-form textarea {
  min-height: 180px;
  padding-top: 14px;
}

.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  border: 0;
  background: var(--mb-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--mb-accent-dark);
}

/* WooCommerce */
.woocommerce ul.products {
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border: 1px solid var(--mb-border);
  border-radius: 24px;
  box-shadow: var(--mb-shadow);
  overflow: hidden;
  padding: 0 0 22px;
}

.woocommerce ul.products li.product a img {
  margin: 0 0 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 22px;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--mb-ink);
}

.woocommerce ul.products li.product .price {
  padding: 0 22px;
  color: #34414b;
  font-weight: 700;
}

.woocommerce ul.products li.product .button {
  margin-left: 22px;
  margin-right: 22px;
  margin-top: 10px;
  border-radius: 12px;
  background: var(--mb-accent);
  color: #fff;
  padding: 0.85em 1.2em;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--mb-accent-dark);
}

.woocommerce div.product {
  background: transparent;
}

.woocommerce div.product .product_title {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-product-gallery {
  margin-bottom: 32px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--mb-ink);
  font-weight: 800;
}

.woocommerce .quantity .qty {
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(24, 36, 51, 0.14);
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 12px;
  background: var(--mb-accent);
  color: #fff;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--mb-accent-dark);
  color: #fff;
}

/* Trip Guides / archive polish */
.mb-card .mb-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: #5e6e79;
}

.mb-card__body a {
  display: inline-block;
  margin-top: 8px;
}

.mb-contact-hero[style*="gods-pocket"] h1,
.mb-contact-hero[style*="gods-pocket"] p {
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
}

.mb-post-grid .mb-card__body h3 {
  max-width: 14ch;
}

.mb-post-grid .mb-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.mb-post-grid .mb-card__body h3 a:hover {
  color: var(--mb-accent);
}

.mb-post-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.mb-post-card .mb-card__body {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.mb-post-card .mb-card__body p {
  flex: 1 1 auto;
}

.mb-post-card .mb-card__body a:last-child {
  margin-top: 10px;
  display: inline-block;
}

.mb-post-card .mb-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

/* =========================================================
   DESTINATION SCORECARDS
   ========================================================= */

.mb-score-total-card {
  background: linear-gradient(135deg, #081a2c 0%, #0d2740 100%);
  color: #fff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(7, 20, 33, 0.12);
}

.mb-score-total-card__inner {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 24px;
  align-items: end;
}

.mb-score-total-card__title {
  color: #fff !important;
  margin: 8px 0 12px !important;
  font-size: clamp(2rem, 3.2vw, 3.5rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
}

.mb-score-total-card__intro {
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0 !important;
  max-width: 58ch;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}

.mb-score-total-card__score-wrap {
  text-align: right;
}

.mb-score-total-card__score {
  font-size: clamp(3.8rem, 8vw, 6.2rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
}

.mb-score-total-card__grade {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.mb-score-grid {
  align-items: stretch;
}

.mb-score-card {
  min-height: 100%;
}

.mb-score-card .mb-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mb-score-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  background: #eef4f8;
  color: #1f3042;
  margin-bottom: 6px;
  border: 1px solid rgba(24, 36, 51, 0.08);
}

.mb-score-card h3 {
  margin: 0 !important;
  font-size: clamp(2rem, 2.4vw, 3rem) !important;
  line-height: 1 !important;
}

.mb-score-card p {
  margin: 0 !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

/* Dive-site title handling */
.mb-dive-site-card .mb-card__body h3,
.mb-dive-sites .mb-card__body h3 {
  font-size: clamp(1.55rem, 1.8vw, 2.2rem);
  line-height: 1.02;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mb-dive-sites .mb-card__body {
  min-height: 240px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1400px) {
  .mb-cards--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .mb-cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mb-trip-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mb-grid--why,
  .mb-grid--travel,
  .mb-grid--tools,
  .mb-grid--about,
  .mb-grid--newsletter,
  .mb-grid--prints,
  .mb-contact-grid {
    grid-template-columns: 1fr;
  }

  .mb-hero__content {
    max-width: min(760px, 78vw);
  }
}

@media (max-width: 900px) {
  :root {
    --mb-shell: calc(100vw - 32px);
    --mb-reading: calc(100vw - 32px);
  }

  .menu-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--mb-border);
    border-radius: 10px;
    padding: 10px 14px;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-header__inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0 8px;
    gap: 16px;
  }

  .mb-section {
    padding: 72px 0;
  }

  .mb-section--panel .mb-shell {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .mb-hero {
    min-height: 86vh;
  }

  .mb-hero .mb-shell {
    padding-bottom: 56px;
  }

  .mb-hero__content {
    max-width: 100%;
  }

  .mb-section h2,
  .entry-title,
  .page-title {
    font-size: clamp(2.5rem, 9vw, 4rem);
    max-width: none;
  }

  .mb-cards--2,
  .mb-cards--3,
  .mb-cards--4,
  .mb-cards--5,
  .mb-gallery-grid,
  .mb-newsletter-form,
  .mb-newsletter-form-wrap .wpcf7-form,
  .mb-post-grid,
  .mb-trip-gallery {
    grid-template-columns: 1fr;
  }

  .mb-contact-hero {
    min-height: 46vh;
    margin-bottom: 48px;
  }

  .mb-contact-hero__inner,
  .mb-contact-panel,
  .mb-contact-form-wrap {
    padding: 28px 22px;
  }

  .mb-contact-hero h1 {
    font-size: clamp(3rem, 11vw, 4.8rem);
  }

  .wpcf7-form input[type="submit"],
  .mb-newsletter-form-wrap .wpcf7-submit {
    width: 100%;
  }

  body.page .site-main > .entry,
  body.single .site-main > .entry,
  body.archive .site-main > .entry,
  body.blog .site-main > .entry,
  body.search .site-main > .entry,
  body.error404 .site-main > .entry,
  body.page .page-content-wrap,
  body.single .page-content-wrap,
  body.archive .page-content-wrap,
  body.blog .page-content-wrap,
  body.search .page-content-wrap,
  body.error404 .page-content-wrap,
  body.woocommerce .site-main > *,
  body.woocommerce-page .site-main > * {
    width: calc(100vw - 32px) !important;
  }

  body.page .entry-content > p,
  body.page .entry-content > ul,
  body.page .entry-content > ol,
  body.page .entry-content > blockquote,
  body.page .entry-content > h2,
  body.page .entry-content > h3,
  body.page .entry-content > h4,
  body.page .entry-content > h5,
  body.page .entry-content > h6,
  body.page .entry-content > .wp-block-paragraph,
  body.page .entry-content > .wp-block-heading,
  body.page .entry-content > .wp-block-list,
  body.page .entry-content > .wp-block-quote,
  body.single .entry-content > p,
  body.single .entry-content > ul,
  body.single .entry-content > ol,
  body.single .entry-content > blockquote,
  body.single .entry-content > h2,
  body.single .entry-content > h3,
  body.single .entry-content > h4,
  body.single .entry-content > h5,
  body.single .entry-content > h6,
  body.single .entry-content > .wp-block-paragraph,
  body.single .entry-content > .wp-block-heading,
  body.single .entry-content > .wp-block-list,
  body.single .entry-content > .wp-block-quote {
    max-width: calc(100vw - 32px) !important;
  }

  .mb-guide-cta {
    grid-template-columns: 1fr;
    padding: 24px 22px;
  }

  .mb-guide-cta__actions {
    justify-content: flex-start;
  }

  .mb-guide-cta__actions .mb-btn {
    width: 100%;
  }

  .mb-score-total-card__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mb-score-total-card__score-wrap {
    text-align: left;
  }

  .mb-dive-site-card .mb-card__body h3,
  .mb-dive-sites .mb-card__body h3 {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

/* ==========================================
   EDITORIAL TYPOGRAPHY + PREMIUM POLISH
   Homepage readability and magazine-style refinement
   ========================================== */

:root {
  --mb-bg: #f4f7f8;
  --mb-surface: #ffffff;
  --mb-ink: #142130;
  --mb-muted: #5b6873;
  --mb-accent: #2f80c9;
  --mb-accent-dark: #2367a1;
  --mb-dark: #04121d;
  --mb-dark-soft: #091b29;
  --mb-border: rgba(20, 33, 48, 0.09);
  --mb-shadow: 0 18px 42px rgba(8, 20, 31, 0.07);
  --mb-shadow-strong: 0 28px 70px rgba(8, 20, 31, 0.13);
  --mb-radius: 24px;
  --mb-shell: min(1760px, calc(100vw - 56px));
  --mb-reading: min(1100px, calc(100vw - 56px));
}

body {
  color: var(--mb-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header {
  background: rgba(255, 255, 255, 0.965);
  border-bottom: 1px solid rgba(20, 33, 48, 0.08);
  box-shadow: 0 8px 24px rgba(8, 20, 31, 0.035);
}

.site-nav a {
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  opacity: 0.86;
}

.site-nav a:hover {
  color: var(--mb-accent);
  opacity: 1;
}

.mb-section {
  padding: 108px 0;
}

.mb-kicker {
  letter-spacing: 0.21em;
  font-size: 0.82rem;
  font-weight: 800;
  color: #687681;
  margin-bottom: 18px;
}

.mb-section h2 {
  font-size: clamp(2.75rem, 4vw, 5.15rem);
  line-height: 1.01;
  letter-spacing: -0.052em;
  font-weight: 750;
}

.mb-section h3 {
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.mb-section p {
  font-size: clamp(1.08rem, 1.23vw, 1.34rem);
  line-height: 1.78;
  color: #3a4854;
}

.mb-section-intro {
  max-width: 48rem;
  margin-bottom: 34px !important;
}

/* Hero: improve readability without losing editorial drama */
.mb-hero {
  min-height: min(100vh, 1120px);
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(1, 8, 14, 0.04) 0%, rgba(2, 10, 16, 0.26) 42%, rgba(2, 10, 16, 0.86) 100%),
    var(--mb-bg) center center / cover no-repeat;
}

.mb-hero::after {
  background:
    radial-gradient(circle at 22% 48%, rgba(0, 0, 0, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(2, 10, 16, 0.82) 0%, rgba(2, 10, 16, 0.56) 36%, rgba(2, 10, 16, 0.18) 68%, rgba(2, 10, 16, 0.08) 100%);
}

.mb-hero .mb-shell {
  padding-bottom: clamp(68px, 7vw, 112px);
}

.mb-hero__content {
  max-width: min(840px, 62vw);
}

.mb-hero .mb-kicker {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 4px 24px rgba(0,0,0,0.28);
}

.mb-hero h1 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3.45rem, 6vw, 6.05rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 500;
  max-width: 10.8ch;
  text-shadow: 0 10px 38px rgba(0,0,0,0.44);
}

.mb-hero__rule {
  width: min(100%, 760px);
  background: rgba(255, 255, 255, 0.50);
  margin-bottom: 30px;
}

.mb-hero__body {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.96) !important;
  text-shadow: 0 5px 24px rgba(0,0,0,0.38);
}

.mb-hero__cred {
  color: rgba(255, 255, 255, 0.90) !important;
  letter-spacing: 0.015em;
  text-shadow: 0 5px 24px rgba(0,0,0,0.38);
}

/* Buttons: less SaaS, more refined editorial utility */
.mb-btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.96rem;
  letter-spacing: 0.005em;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 20, 31, 0.08);
}

.mb-btn--primary {
  background: linear-gradient(180deg, #3187d4 0%, var(--mb-accent) 100%);
  box-shadow: 0 12px 24px rgba(47, 128, 201, 0.24);
}

.mb-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(47, 128, 201, 0.28);
}

.mb-btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.mb-btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.13);
}

.mb-btn--secondary {
  border-color: rgba(20, 33, 48, 0.13);
  box-shadow: 0 10px 24px rgba(8, 20, 31, 0.06);
}

/* Cards: more magazine/gallery, less default tile */
.mb-card,
.mb-media-card,
.mb-mini-card,
.mb-stat,
.mb-travel__panel,
.mb-contact-panel,
.mb-contact-form-wrap,
.mb-guide-cta,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border-color: rgba(20, 33, 48, 0.085);
  box-shadow: var(--mb-shadow);
}

.mb-card {
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mb-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--mb-shadow-strong);
}

.mb-card img {
  aspect-ratio: 1.32 / 1;
  filter: saturate(1.02) contrast(1.02);
}

.mb-card__body {
  padding: 28px 28px 30px;
}

.mb-card__body h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 2.1vw, 2.72rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.mb-card__body p {
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.72;
  color: #44525e;
}

.mb-card__body a:not(.mb-btn),
.entry-content a:not(.mb-btn) {
  color: var(--mb-accent);
  font-weight: 800;
  text-decoration: none;
}

.mb-card__body a:not(.mb-btn):hover,
.entry-content a:not(.mb-btn):hover {
  color: var(--mb-accent-dark);
}

.mb-explore h2,
.mb-tools h2,
.mb-tutorials h2 {
  max-width: 14ch;
}

.mb-explore .mb-section-intro,
.mb-tutorials .mb-section-intro {
  max-width: 50rem;
}

.mb-travel {
  background:
    linear-gradient(90deg, rgba(1, 9, 17, 0.96) 0%, rgba(1, 11, 19, 0.88) 44%, rgba(1, 13, 22, 0.76) 100%),
    var(--mb-bg) center center / cover no-repeat;
}

.mb-travel__copy h2 {
  max-width: 12ch;
}

.mb-travel p,
.mb-travel li,
.mb-prints p,
.mb-mini-card div span,
.mb-mini-card div strong {
  color: rgba(255, 255, 255, 0.92);
}

.mb-travel__panel {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.mb-prints {
  background: #04121d;
}

.mb-mini-card {
  border-radius: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.mb-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.mb-mini-card img {
  aspect-ratio: 1.22 / 1;
}

.mb-mini-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ==========================================
   WHY MILES BELOW - EDITORIAL PROOF SECTION
   ========================================== */

.mb-why-editorial {
  background: #ffffff;
}

.mb-grid--why-editorial {
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.mb-why__image-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(10, 22, 32, 0.10);
  min-height: 780px;
}

.mb-why__image-card img {
  width: 100%;
  height: 100%;
  min-height: 780px;
  object-fit: cover;
}

.mb-why__image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,10,16,0.04) 35%, rgba(2,10,16,0.72) 100%);
  pointer-events: none;
}

.mb-why__caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
  color: #ffffff;
  font-weight: 750;
  font-size: clamp(1.05rem, 1.25vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.mb-why__content {
  max-width: 780px;
}

.mb-why__content h2 {
  max-width: 13ch;
}

.mb-why__content > p {
  max-width: 48rem;
}

.mb-proof-list {
  display: grid;
  gap: 26px;
  margin-top: 38px;
}

.mb-proof-item strong {
  display: block;
  color: var(--mb-ink);
  font-size: clamp(2.35rem, 3.65vw, 4.55rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 800;
  margin-bottom: 8px;
}

.mb-proof-item span {
  display: block;
  color: #3c4a56;
  font-size: clamp(1.05rem, 1.2vw, 1.24rem);
  line-height: 1.58;
  max-width: 52rem;
}

.mb-why__actions {
  margin-top: 34px;
}

/* ==========================================
   HOMEPAGE NEWSLETTER - SINGLE SECTION LAYOUT
   ========================================== */

.mb-newsletter {
  background: #eef3f5;
}

.mb-grid--newsletter-single {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: stretch;
}

.mb-newsletter__image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(10, 22, 32, 0.08);
  min-height: 100%;
}

.mb-newsletter__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.mb-newsletter__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mb-newsletter__content h2 {
  max-width: 12ch;
  margin-bottom: 18px;
}

.mb-newsletter__subkicker {
  max-width: 46rem;
  margin: 0 0 28px !important;
  color: #3c4a56 !important;
  font-size: clamp(1.08rem, 1.35vw, 1.42rem) !important;
  line-height: 1.72 !important;
  font-weight: 400;
}

.mb-newsletter-form-wrap {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 36, 51, 0.08);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 16px 36px rgba(10, 22, 32, 0.06);
}

.mb-newsletter-form-wrap .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.mb-newsletter-form-wrap .wpcf7-form p {
  margin: 0 !important;
}

.mb-newsletter-form-wrap .wpcf7-form p:empty {
  display: none;
}

.mb-newsletter-form-wrap .cf-turnstile,
.mb-newsletter-form-wrap .turnstile,
.mb-newsletter-form-wrap [data-sitekey] {
  justify-self: start;
  margin: 0 0 14px !important;
}

.mb-newsletter-form-wrap .wpcf7-form input[type="text"],
.mb-newsletter-form-wrap .wpcf7-form input[type="email"],
.mb-newsletter-form-wrap .wpcf7-form input[type="tel"],
.mb-newsletter-form-wrap .wpcf7-form input[type="url"],
.mb-newsletter-form-wrap .wpcf7-form textarea,
.mb-newsletter-form-wrap .wpcf7-form select {
  min-height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(24, 36, 51, 0.10);
  background: #fff;
  box-shadow: none;
}

.mb-newsletter-form-wrap .wpcf7-submit {
  min-height: 60px;
  border-radius: 16px;
  padding: 0 26px;
  justify-self: start;
}

.entry-title,
.page-title {
  font-weight: 760;
  letter-spacing: -0.055em;
}

body.page .entry-content > p,
body.single .entry-content > p,
body.page .entry-content > ul,
body.single .entry-content > ul,
body.page .entry-content > ol,
body.single .entry-content > ol {
  font-size: clamp(1.08rem, 1.18vw, 1.22rem);
  line-height: 1.78;
  color: #3a4854;
}

@media (max-width: 1180px) {
  .mb-hero__content {
    max-width: min(820px, 82vw);
  }

  .mb-grid--why-editorial,
  .mb-grid--newsletter-single {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mb-why__image-card,
  .mb-why__image-card img {
    min-height: 560px;
  }

  .mb-newsletter__image img {
    min-height: 420px;
  }

  .mb-why__content,
  .mb-why__content h2,
  .mb-newsletter__content h2,
  .mb-newsletter__subkicker {
    max-width: none;
  }
}

@media (max-width: 900px) {
  :root {
    --mb-shell: calc(100vw - 32px);
    --mb-reading: calc(100vw - 32px);
  }

  .mb-section {
    padding: 72px 0;
  }

  .mb-hero {
    min-height: 88vh;
  }

  .mb-hero::after {
    background: linear-gradient(90deg, rgba(2, 10, 16, 0.88) 0%, rgba(2, 10, 16, 0.58) 100%);
  }

  .mb-hero h1 {
    font-size: clamp(3.15rem, 13vw, 4.35rem);
    line-height: 0.98;
    max-width: 9.6ch;
  }

  .mb-hero__content {
    max-width: 100%;
  }

  .mb-section h2,
  .entry-title,
  .page-title {
    font-size: clamp(2.55rem, 9vw, 4rem);
    max-width: none;
  }

  .mb-card__body {
    padding: 24px 22px 26px;
  }

  .mb-why__image-card,
  .mb-why__image-card img {
    min-height: 420px;
  }

  .mb-why__caption {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .mb-proof-list {
    gap: 22px;
    margin-top: 32px;
  }

  .mb-newsletter-form-wrap {
    padding: 22px;
  }

  .mb-newsletter__image img {
    min-height: 320px;
  }

  .mb-newsletter-form-wrap .wpcf7-submit {
    width: 100%;
    justify-self: stretch;
  }

  .mb-newsletter-form-wrap .cf-turnstile,
  .mb-newsletter-form-wrap .turnstile,
  .mb-newsletter-form-wrap [data-sitekey] {
    width: 100%;
    overflow-x: auto;
  }
}
/* ==========================================
   TEMPLATE HERO PADDING FIX
   Tutorials + Travel Guides
   ========================================== */

body.page-template-page-tutorials .mb-travel .mb-shell,
body.page-template-page-trip-guides .mb-travel .mb-shell {
  width: min(1680px, calc(100vw - 96px));
}

@media (max-width: 1180px) {
  body.page-template-page-tutorials .mb-travel .mb-shell,
  body.page-template-page-trip-guides .mb-travel .mb-shell {
    width: calc(100vw - 56px);
  }
}

@media (max-width: 900px) {
  body.page-template-page-tutorials .mb-travel .mb-shell,
  body.page-template-page-trip-guides .mb-travel .mb-shell {
    width: calc(100vw - 32px);
  }
}

/* ==========================================
   TUTORIALS ARCHIVE - UNIFIED LEARNING PAGE
   ========================================== */

.mb-tutorials-archive__head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 42px;
}

.mb-tutorials-archive__head h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.mb-tutorials-archive__head .mb-section-intro {
  margin-bottom: 0 !important;
  max-width: 48rem;
}

@media (max-width: 1180px) {
  .mb-tutorials-archive__head {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .mb-tutorials-archive__head h2,
  .mb-tutorials-archive__head .mb-section-intro {
    max-width: none;
  }
}

/* ==========================================
   TUTORIAL CATEGORY FILTER
   ========================================== */

.mb-tutorial-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 34px;
}

.mb-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(24, 36, 51, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--mb-ink);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(10, 22, 32, 0.04);
  transition: 0.18s ease;
}

.mb-filter-pill:hover {
  background: #ffffff;
  border-color: rgba(24, 36, 51, 0.2);
}

.mb-filter-pill.is-active {
  background: var(--mb-accent);
  color: #ffffff;
  border-color: var(--mb-accent);
}

@media (max-width: 900px) {
  .mb-tutorial-filter {
    gap: 10px;
  }

  .mb-filter-pill {
    width: 100%;
  }
}

/* ==========================================
   COMMERCE LANDING PAGES
   Trips / Fine Art Prints / Digital Downloads
   ========================================== */

.mb-product-grid .mb-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.mb-product-price {
  margin: 12px 0 0 !important;
  color: var(--mb-ink) !important;
  font-weight: 800;
  font-size: 1.05rem !important;
}

.mb-product-card .price {
  color: var(--mb-ink);
  font-weight: 800;
}

.mb-collection-grid {
  align-items: stretch;
}

.mb-collection-card .mb-card__body {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.mb-collection-card .mb-card__body p {
  flex: 1;
}

.mb-collection-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e6f0f6;
  color: var(--mb-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-weight: 800;
}

.mb-travel__panel--light {
  background: #ffffff;
  color: var(--mb-ink);
  border: 1px solid var(--mb-border);
  box-shadow: var(--mb-shadow);
}

.mb-travel__panel--light h3 {
  color: var(--mb-ink) !important;
}

.mb-travel__panel--light p,
.mb-travel__panel--light li {
  color: #3c4a56 !important;
}

.mb-travel__panel--light .mb-kicker {
  color: #61707c;
}

/* Header dropdown menu */

.site-nav ul li {
  position: relative;
}

.site-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 200;
  min-width: 220px;
  display: none;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--mb-border);
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(10, 22, 32, 0.10);
}

.site-nav ul li:hover > ul,
.site-nav ul li:focus-within > ul {
  display: block;
}

.site-nav ul ul li {
  display: block;
}

.site-nav ul ul a {
  display: block;
  padding: 10px 18px;
  white-space: nowrap;
  font-size: 0.95rem;
}

.site-nav ul ul a:hover {
  color: var(--mb-accent);
}

/* Mobile submenu */

@media (max-width: 900px) {
  .site-nav ul ul {
    position: static;
    display: block;
    min-width: 0;
    padding: 6px 0 0 18px;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav ul ul a {
    padding: 7px 0;
    font-size: 0.95rem;
    opacity: 0.82;
  }
}

/* ==========================================
   TRAVEL GUIDE EXPERIENCE LEVEL MODULE
   ========================================== */

.mb-experience-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  background: #071824;
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(10, 22, 32, 0.12);
}

.mb-experience-card .mb-kicker {
  color: rgba(255,255,255,0.68);
}

.mb-experience-card h2 {
  color: #ffffff;
  margin-bottom: 12px;
}

.mb-experience-card p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
  max-width: 48rem;
}

.mb-experience-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mb-experience-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .mb-experience-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .mb-experience-pill {
    width: 100%;
  }
}
.mb-score-total-card__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mb-score-total-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1;
  flex: 0 0 38px;
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .mb-score-total-card__title {
    display: flex;
    gap: 10px;
  }

  .mb-score-total-card__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 0.95rem;
  }
}

/* ==========================================
   TRAVEL GUIDE UNIVERSAL CONTENT SECTIONS
   ========================================== */

.mb-guide-split {
  padding-top: 56px;
  padding-bottom: 56px;
}

.mb-guide-split .mb-shell {
  width: min(1680px, calc(100vw - 96px));
}

.mb-guide-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.mb-guide-split--reverse .mb-guide-split__grid {
  grid-template-columns: minmax(520px, 1.1fr) minmax(0, 0.9fr);
}

.mb-guide-split__copy h2 {
  max-width: 14ch;
}

.mb-guide-split__copy p {
  max-width: 58rem;
}

.mb-guide-split__media {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(10, 22, 32, 0.10);
  background: #06131d;
}

.mb-guide-split__media img {
  width: 100%;
  height: clamp(520px, 52vw, 720px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Fix missing horizontal padding on travel-guide content panels */
.single-post .mb-section > .mb-shell,
.page .mb-section > .mb-shell {
  width: min(1680px, calc(100vw - 96px));
}

/* Ensure panel-style guide sections do not touch browser edge */
.mb-section--panel {
  margin-left: 0;
  margin-right: 0;
}

.mb-section--panel > .mb-shell {
  width: min(1680px, calc(100vw - 96px));
}

@media (max-width: 1180px) {
  .mb-guide-split .mb-shell,
  .single-post .mb-section > .mb-shell,
  .page .mb-section > .mb-shell,
  .mb-section--panel > .mb-shell {
    width: calc(100vw - 56px);
  }

  .mb-guide-split__grid,
  .mb-guide-split--reverse .mb-guide-split__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mb-guide-split__copy h2,
  .mb-guide-split__copy p {
    max-width: none;
  }

  .mb-guide-split__media img {
    height: clamp(320px, 58vw, 520px);
  }
}

@media (max-width: 700px) {
  .mb-guide-split .mb-shell,
  .single-post .mb-section > .mb-shell,
  .page .mb-section > .mb-shell,
  .mb-section--panel > .mb-shell {
    width: calc(100vw - 32px);
  }

  .mb-guide-split {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .mb-guide-split__media {
    border-radius: 22px;
  }

  .mb-guide-split__media img {
    height: 320px;
  }
}

/* ==========================================
   TRAVEL GUIDE FINAL OVERRIDES
   Fix split image height + guide section padding
   ========================================== */

/* Restore breathing room on plain guide text sections, even when old inline padding exists */
.mb-contact-page > .mb-section:not(.mb-contact-hero):not(.mb-guide-split):not(.mb-section--panel):not(.mb-tools):not(.mb-explore) {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

/* Keep score + experience sections tighter at the top of guide pages */
.mb-contact-page > .mb-section:first-of-type,
.mb-contact-page > .mb-section:first-of-type + .mb-section {
  padding-top: 0 !important;
  padding-bottom: 42px !important;
}

/* Universal guide split sections */
.mb-guide-split {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.mb-guide-split .mb-shell {
  width: min(1680px, calc(100vw - 96px)) !important;
}

.mb-guide-split__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr) !important;
  gap: 72px !important;
  align-items: center !important;
}

.mb-guide-split--reverse .mb-guide-split__grid {
  grid-template-columns: minmax(560px, 1.08fr) minmax(0, 0.92fr) !important;
}

.mb-guide-split__copy h2 {
  max-width: 13ch;
}

.mb-guide-split__copy p {
  max-width: 58rem;
}

.mb-guide-split__media {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 26px 58px rgba(10, 22, 32, 0.12);
  background: #06131d;
}

.mb-guide-split__media img {
  width: 100% !important;
  height: clamp(640px, 56vw, 820px) !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* Ensure panel sections never touch the browser edge */
.single-post .mb-section > .mb-shell,
.page .mb-section > .mb-shell,
.mb-section--panel > .mb-shell {
  width: min(1680px, calc(100vw - 96px)) !important;
}

/* More space above panel blocks such as Signature Dive Sites / Best Time */
.mb-contact-page .mb-section--panel {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

/* Keep media cards visually aligned inside resort/conservation blocks */
.mb-tools .mb-media-card img,
.mb-section--panel .mb-media-card img {
  width: 100% !important;
  min-height: 520px;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .mb-guide-split .mb-shell,
  .single-post .mb-section > .mb-shell,
  .page .mb-section > .mb-shell,
  .mb-section--panel > .mb-shell {
    width: calc(100vw - 56px) !important;
  }

  .mb-guide-split__grid,
  .mb-guide-split--reverse .mb-guide-split__grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .mb-guide-split__copy h2,
  .mb-guide-split__copy p {
    max-width: none;
  }

  .mb-guide-split__media img {
    height: clamp(420px, 62vw, 620px) !important;
  }
}

@media (max-width: 700px) {
  .mb-guide-split .mb-shell,
  .single-post .mb-section > .mb-shell,
  .page .mb-section > .mb-shell,
  .mb-section--panel > .mb-shell {
    width: calc(100vw - 32px) !important;
  }

  .mb-guide-split {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .mb-guide-split__media {
    border-radius: 22px;
  }

  .mb-guide-split__media img {
    height: 340px !important;
  }

  .mb-contact-page > .mb-section:not(.mb-contact-hero):not(.mb-guide-split):not(.mb-section--panel):not(.mb-tools):not(.mb-explore) {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
}

/* ==========================================
   TRAVEL GUIDE COMPACT TOP STACK
   Hero → scorecard → experience spacing
   ========================================== */

.mb-contact-page .mb-contact-hero {
  margin-bottom: 34px !important;
}

/* Scorecard section: second section after hero */
.mb-contact-page > section.mb-section:nth-of-type(2) {
  padding-top: 0 !important;
  padding-bottom: 18px !important;
}

/* Tighten space between score total card and five score cards */
.mb-contact-page > section.mb-section:nth-of-type(2) .mb-score-grid {
  margin-top: 16px !important;
}

/* Experience section: third section after hero */
.mb-contact-page > section.mb-section:nth-of-type(3) {
  padding-top: 0 !important;
  padding-bottom: 42px !important;
}

/* Remove accidental extra margins */
.mb-score-total-card,
.mb-experience-card {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 900px) {
  .mb-contact-page .mb-contact-hero {
    margin-bottom: 28px !important;
  }

  .mb-contact-page > section.mb-section:nth-of-type(2) {
    padding-bottom: 16px !important;
  }

  .mb-contact-page > section.mb-section:nth-of-type(3) {
    padding-bottom: 36px !important;
  }
}

/* ==========================================
   TRAVEL GUIDE EXPERIENCE LEVEL MODULE
   Refined two-column card + vertical scale
   ========================================== */

.mb-experience-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 42px;
  border-radius: 28px;
  background: #071824;
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(10, 22, 32, 0.12);
}

.mb-experience-card .mb-kicker {
  color: rgba(255,255,255,0.68);
}

.mb-experience-card h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
  margin-bottom: 16px;
}

.mb-experience-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 2rem;
  line-height: 1;
  flex: 0 0 68px;
}

.mb-experience-card p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
  max-width: 54rem;
}

.mb-experience-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.mb-experience-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Refined difficulty scale */

.mb-experience-scale {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
}

.mb-experience-scale__eyebrow {
  margin-bottom: 22px;
  color: rgba(255,255,255,0.52);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mb-experience-scale__list {
  position: relative;
  display: grid;
  gap: 22px;
}

.mb-experience-scale__list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 1px;
  background: rgba(255,255,255,0.20);
}

.mb-experience-scale__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.46);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mb-experience-scale__dot {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #263642;
  border: 1px solid rgba(255,255,255,0.22);
  flex: 0 0 17px;
}

.mb-experience-scale__item.is-active {
  color: #ffffff;
}

.mb-experience-scale__item.is-active .mb-experience-scale__dot {
  background: var(--mb-accent);
  border-color: var(--mb-accent);
  box-shadow: 0 0 0 7px rgba(47,128,201,0.18);
}

@media (max-width: 1180px) {
  .mb-experience-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mb-experience-scale {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 700px) {
  .mb-experience-card {
    padding: 28px;
  }

  .mb-experience-card h2 {
    align-items: flex-start;
    gap: 14px;
  }

  .mb-experience-card__icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    font-size: 1.55rem;
  }

  .mb-experience-pill {
    width: 100%;
  }

  .mb-experience-scale {
    padding: 22px;
  }
}