/*
 * MasseyMedia Custom Elementor Widgets — Shared Styles
 * Loaded site-wide via the masseymedia-widgets plugin.
 */

/* ══════════════════════════════════
   SECTION HEADER
══════════════════════════════════ */
.mm-section-header { margin-bottom: 44px; }
.mm-text-center { text-align: center; }
.mm-text-center .mm-section-sub { margin-left: auto; margin-right: auto; }
.mm-text-left { text-align: left; }

.mm-section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #3662AB;
  margin-bottom: 10px;
}
.mm-section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #1e1e2e;
  line-height: 1.15;
  margin-bottom: 14px;
}
.mm-section-sub {
  font-size: 17px;
  color: #555566;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 0;
}
.mm-section-sub p { margin: 0 0 10px; }
.mm-section-sub p:last-child { margin-bottom: 0; }


/* ══════════════════════════════════
   STAT COUNTER
══════════════════════════════════ */
.mm-stat-counter { text-align: center; } /* default; overridden by alignment control */
.mm-stat-num {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #1e1e2e;
  line-height: 1;
  display: inline-flex; /* inline so text-align on parent controls position */
  align-items: baseline;
  gap: 2px;
}
.mm-stat-suffix {
  font-size: .65em;
  color: #3662AB;
  font-weight: 800;
}
.mm-stat-label {
  font-size: 13px;
  color: #555566;
  margin-top: 6px;
  font-weight: 600;
}



/* ══════════════════════════════════
   TESTIMONIAL CARD
══════════════════════════════════ */
.mm-testimonial-card {
  background: #ffffff;
  border: 1px solid #dde2ee;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}
.mm-stars {
  color: #f4a624;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.mm-quote-mark {
  font-size: 48px;
  color: #e8eefc;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: -12px;
}
.mm-quote-text {
  font-size: 15px;
  color: #333333;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin: 0 0 20px;
  border: none;
  padding: 0;
}
.mm-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.mm-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3662AB;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mm-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e1e2e;
}
.mm-author-source { margin-top: 3px; }
.mm-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #555566;
  font-weight: 500;
}
.mm-google-g {
  font-weight: 700;
  color: #4285F4;
  font-size: 13px;
}


/* ══════════════════════════════════
   PROCESS STEP
══════════════════════════════════ */
.mm-process-step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mm-process-step-list--vertical {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.mm-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.mm-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #3662AB;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(54,98,171,.30);
}
.mm-step-heading {
  font-size: 17px;
  font-weight: 700;
  color: #1e1e2e;
  margin-bottom: 10px;
}
.mm-step-desc {
  font-size: 15px;
  color: #555566;
  line-height: 1.7;
}


/* ══════════════════════════════════
   CHILD PAGE TAGS
══════════════════════════════════ */
.mm-child-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;      /* overridden by Elementor gap slider */
  align-items: center;
}


/* ══════════════════════════════════
   LOCATION TAG
══════════════════════════════════ */
.mm-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: #f0f4fd;
  border: 1px solid #3662AB;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #3662AB;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
a.mm-location-tag:hover {
  background: #3662AB;
  color: #ffffff;
  text-decoration: none;
}
.mm-location-tag svg { flex-shrink: 0; }

/* ══════════════════════════════════
   LOCATION CARD (card display style)
══════════════════════════════════ */
.mm-lc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #e8eefc;
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid transparent;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.mm-lc-card:hover {
  border-color: #3662AB;
  box-shadow: 0 6px 24px rgba(54,98,171,.15);
  transform: translateY(-3px);
  text-decoration: none;
}
.mm-lc-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #3662AB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.mm-lc-card-name {
  font-size: 17px;
  font-weight: 800;
  color: #1a2845;
  margin: 0;
  line-height: 1.3;
}
.mm-lc-card-tagline {
  font-size: 13px;
  color: #3662AB;
  font-weight: 600;
}

/* ══════════════════════════════════
   CONTACT INFO WIDGET
══════════════════════════════════ */
.mm-ci-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.mm-ci-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #e8eefc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3662AB;
}
.mm-ci-icon svg { display: block; }
.mm-ci-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #555566;
  margin-bottom: 4px;
}
.mm-ci-value {
  font-size: 20px;
  font-weight: 800;
  color: #1a2845;
  line-height: 1.2;
  margin-bottom: 4px;
}
.mm-ci-value a {
  color: #1a2845;
  text-decoration: none;
  transition: color .15s;
}
.mm-ci-value a:hover { color: #3662AB; }
.mm-ci-note {
  font-size: 13.5px;
  color: #555566;
  line-height: 1.55;
}
@media (max-width: 520px) {
  .mm-ci-value { font-size: 17px; }
}

/* ══════════════════════════════════
   FAQ NAV ITEM WIDGET
══════════════════════════════════ */
.mm-fni-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #555566;
  text-decoration: none;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  line-height: 1.35;
  width: 100%;
}
.mm-fni-link:hover,
.mm-fni-link.is-active {
  color: #3662AB;
  background: #f0f4fd;
  border-left-color: #3662AB;
  text-decoration: none;
}
.mm-fni-link i,
.mm-fni-link svg {
  font-size: 14px;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.mm-fni-label { flex: 1; }
.mm-fni-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #555566;
  background: #f5f6fa;
  border-radius: 20px;
  padding: 1px 7px;
  flex-shrink: 0;
}
.mm-fni-link:hover .mm-fni-count,
.mm-fni-link.is-active .mm-fni-count {
  background: #e8eefc;
  color: #3662AB;
}

/* ══════════════════════════════════
   FAQ SECTION WIDGET
══════════════════════════════════ */
.mm-fqs-section {
  margin-bottom: 56px;
}
.mm-fqs-section:last-child { margin-bottom: 0; }
.mm-fqs-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  color: #1a2845;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #dde2ee;
}
.mm-fqs-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #e8eefc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mm-fqs-icon i,
.mm-fqs-icon svg {
  font-size: 18px;
  width: 18px;
  height: 18px;
  display: block;
  line-height: 1;
}
.mm-fqs-details {
  background: #ffffff;
  border: 1.5px solid #dde2ee;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.mm-fqs-details:hover {
  border-color: #3662AB;
  box-shadow: 0 2px 14px rgba(54,98,171,.08);
}
.mm-fqs-details[open] {
  border-color: #3662AB;
  box-shadow: 0 4px 18px rgba(54,98,171,.10);
}
.mm-fqs-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 700;
  color: #1a2845;
  cursor: pointer;
  list-style: none;
  user-select: none;
  line-height: 1.4;
}
.mm-fqs-summary::-webkit-details-marker { display: none; }
.mm-fqs-summary::marker { display: none; }
.mm-fqs-details[open] .mm-fqs-summary { color: #3662AB; }
.mm-fqs-chevron {
  width: 22px;
  height: 22px;
  min-width: 22px;
  flex-shrink: 0;
  transition: transform .25s;
}
.mm-fqs-details[open] .mm-fqs-chevron { transform: rotate(180deg); }
.mm-fqs-answer {
  padding: 0 20px 20px;
  color: #333333;
  font-size: 15px;
  line-height: 1.75;
}
.mm-fqs-answer p { margin: 0 0 12px; }
.mm-fqs-answer p:last-child { margin-bottom: 0; }
.mm-fqs-answer a { color: #3662AB; font-weight: 600; text-decoration: none; }
.mm-fqs-answer a:hover { color: #254d8a; text-decoration: underline; }
.mm-fqs-answer ul { margin: 8px 0 12px 20px; padding: 0; }
.mm-fqs-answer ul li { margin-bottom: 6px; }


/* ══════════════════════════════════
   FEATURE LIST CARD
══════════════════════════════════ */
.mm-feature-list-card {
  background: #e8eefc;
  border-radius: 16px;
  padding: 36px 32px;
}
.mm-flc-heading {
  font-size: 17px;
  font-weight: 800;
  color: #3662AB;
  margin-bottom: 24px;
  line-height: 1.3;
}
.mm-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mm-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1a2845;
  line-height: 1.4;
}
.mm-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3662AB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mm-check-icon svg,
.mm-check-icon i {
  display: block;
  width: 13px;
  height: 13px;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
}


/* ══════════════════════════════════
   TIMELINE
══════════════════════════════════ */

/*
 * Connector lines are DOM elements (.mm-tl-line) inside each gutter,
 * rendered for every item except the last. The gutter uses align-self:stretch
 * so each line segment spans the full item height, connecting dot to dot.
 */
.mm-timeline {
  display: flex;
  flex-direction: column;
}

.mm-timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.mm-tl-gutter {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
  position: relative;
  z-index: 1;
  align-self: stretch;
}
.mm-tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1a2845;
  border: 3px solid #e8eefc;
  box-shadow: 0 0 0 2px #1a2845;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.mm-tl-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: #dde2ee;
  margin-top: 6px;
}
.mm-timeline-item--current .mm-tl-dot {
  background: #f4a624;
  box-shadow: 0 0 0 2px #f4a624;
}
.mm-tl-body {
  padding-bottom: 36px;
  flex: 1;
}
.mm-timeline-item--last .mm-tl-body { padding-bottom: 0; }
.mm-tl-year {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3662AB;
  border: 1.5px solid #3662AB;
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.mm-timeline-item--current .mm-tl-year {
  color: #f4a624;
  border-color: #f4a624;
}
.mm-tl-heading {
  font-size: 17px;
  font-weight: 700;
  color: #1a2845;
  margin-bottom: 8px;
  line-height: 1.3;
}
.mm-tl-desc {
  font-size: 15px;
  color: #555566;
  line-height: 1.75;
  margin: 0;
}
.mm-tl-desc p { margin: 0 0 10px; }
.mm-tl-desc p:last-child { margin-bottom: 0; }
.mm-tl-desc ul,
.mm-tl-desc ol {
  margin: 0 0 10px;
  padding-left: 20px;
}
.mm-tl-desc a { color: #3662AB; }


/* ══════════════════════════════════
   PROCESS STEP — HORIZONTAL VARIANT
══════════════════════════════════ */
.mm-process-step--horizontal {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
  background: #ffffff;
  border: 1.5px solid #dde2ee;
  border-radius: 16px;
  padding: 32px 28px;
}
.mm-process-step--horizontal .mm-step-num {
  margin-bottom: 0;
  flex-shrink: 0;
}
.mm-step-content { flex: 1; }
.mm-process-step--horizontal .mm-step-heading {
  font-size: 18px;
  margin-bottom: 10px;
}
.mm-process-step--horizontal .mm-step-desc { font-size: 15px; }


/* ══════════════════════════════════
   MM BLOG POST CARD
══════════════════════════════════ */

/* Equal-height wrappers */
.elementor-widget-mm-blog-post-card,
.elementor-widget-mm-blog-post-card > .elementor-widget-container {
  height: 100%;
}

.mm-blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid #dde2ee;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.mm-blog-card:hover {
  box-shadow: 0 8px 32px rgba(26,40,69,.12);
  transform: translateY(-3px);
}

/* Thumbnail */
.mm-blog-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0f4fd;
  overflow: hidden;
  flex-shrink: 0;
}
.mm-blog-card-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.mm-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.mm-blog-card:hover .mm-blog-card-thumb img {
  transform: scale(1.03);
}
.mm-blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0c8dc;
}

/* Body */
.mm-blog-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Category pill — background/color set inline from widget */
.mm-blog-cat-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
  line-height: 1.4;
}

/* Title */
.mm-blog-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #1a2845;
  line-height: 1.3;
  margin: 0;
}
.mm-blog-card-title a {
  color: #1a2845;
  text-decoration: none;
  transition: color .15s;
}
.mm-blog-card-title a:hover {
  color: #3662AB;
  text-decoration: none;
}

/* Excerpt */
.mm-blog-card-excerpt {
  font-size: 14px;
  color: #555566;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* Meta row: author · date · read time */
.mm-blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 12.5px;
  color: #888899;
}
.mm-blog-card-meta svg {
  flex-shrink: 0;
  opacity: .7;
}
.mm-blog-meta-sep {
  color: #c0c8dc;
}

/* Read More link */
.mm-blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #3662AB;
  text-decoration: none;
  margin-top: auto;
  transition: color .15s, gap .15s;
}
.mm-blog-card-readmore:hover {
  color: #2a508e;
  gap: 8px;
  text-decoration: none;
}

/* Editor placeholder state */
.mm-blog-card--placeholder {
  border-style: dashed;
  background: #fafbfd;
}


/* ── Process Steps (section widget) ── */
.mm-ps-desc p {
  margin: 0 0 12px;
}
.mm-ps-desc p:last-child {
  margin-bottom: 0;
}


/* ══════════════════════════════════
   BREADCRUMBS
══════════════════════════════════ */
.mm-breadcrumbs {
  font-size: 13px;
  font-weight: 600;
}

/* Shared list reset for manual mode ol */
.mm-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

/* ── Dark preset (navy hero background) ── */
.mm-breadcrumbs--dark a,
.mm-breadcrumbs--dark .rank-math-breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.mm-breadcrumbs--dark a:hover,
.mm-breadcrumbs--dark .rank-math-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: none;
}
.mm-breadcrumbs--dark .mm-bc-sep,
.mm-breadcrumbs--dark .rank-math-breadcrumb .separator {
  color: rgba(255,255,255,.3);
}
.mm-breadcrumbs--dark .mm-bc-current,
.mm-breadcrumbs--dark .rank-math-breadcrumb .last {
  color: rgba(255,255,255,.85);
}

/* ── Light preset (white / gray backgrounds) ── */
.mm-breadcrumbs--light a,
.mm-breadcrumbs--light .rank-math-breadcrumb a {
  color: #555566;
  text-decoration: none;
  transition: color .2s;
}
.mm-breadcrumbs--light a:hover,
.mm-breadcrumbs--light .rank-math-breadcrumb a:hover {
  color: #3662AB;
  text-decoration: none;
}
.mm-breadcrumbs--light .mm-bc-sep,
.mm-breadcrumbs--light .rank-math-breadcrumb .separator {
  color: #bbbbcc;
}
.mm-breadcrumbs--light .mm-bc-current,
.mm-breadcrumbs--light .rank-math-breadcrumb .last {
  color: #1e1e2e;
  font-weight: 600;
}

/* Rank Math outputs its breadcrumb inside .rank-math-breadcrumb —
   ensure it inherits our flex row layout */
.mm-breadcrumbs .rank-math-breadcrumb,
.mm-breadcrumbs .rank-math-breadcrumb p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.mm-breadcrumbs .rank-math-breadcrumb .separator {
  margin: 0 2px;
}


/* ══════════════════════════════════
   PAGE HERO
══════════════════════════════════ */

/* Outer wrapper — full-width, overflow hidden for the glow */
.mm-ph-wrap {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  padding: 64px 0 0;
  width: 100%;
}


/* Inner container — centred, 1160px, above overlays */
.mm-ph-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Content area — limits heading width */
.mm-ph-content {
  max-width: 760px;
}

/* ── Breadcrumb ── */
.mm-ph-breadcrumb {
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
}
.mm-ph-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.mm-ph-breadcrumb a,
.mm-ph-breadcrumb .rank-math-breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.mm-ph-breadcrumb a:hover,
.mm-ph-breadcrumb .rank-math-breadcrumb a:hover {
  color: #ffffff;
}
.mm-ph-breadcrumb .mm-ph-bc-sep,
.mm-ph-breadcrumb .rank-math-breadcrumb .separator {
  color: rgba(255,255,255,.3);
  margin: 0 2px;
}
.mm-ph-breadcrumb .mm-ph-bc-current,
.mm-ph-breadcrumb .rank-math-breadcrumb .last {
  color: rgba(255,255,255,.85);
}
/* Rank Math outputs a <p> inside .rank-math-breadcrumb */
.mm-ph-breadcrumb .rank-math-breadcrumb,
.mm-ph-breadcrumb .rank-math-breadcrumb p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

/* ── Eyebrow ── */
.mm-ph-eyebrow {
  margin-bottom: 16px;
}
.mm-ph-eyebrow--plain {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f4a624;
}
.mm-ph-eyebrow--pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #f4a624;
  background: rgba(244,166,36,.15);
  border: 1px solid rgba(244,166,36,.25);
  padding: 7px 16px;
  border-radius: 100px;
}
/* ── Heading ── */
.mm-ph-heading {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 16px;
}
.mm-ph-heading em {
  font-style: normal;
  color: #f4a624;
}

/* ── Subtext ── */
.mm-ph-subtext {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  line-height: 1.72;
  margin: 0 0 32px;
  max-width: 620px;
}
/* No margin if no buttons follow */
.mm-ph-content:last-child .mm-ph-subtext { margin-bottom: 0; }

/* Links inside subtext (WYSIWYG output) */
.mm-ph-subtext a {
  color: #f4a624;
  text-decoration: underline;
  transition: color .2s;
}
.mm-ph-subtext a:hover { color: #ffffff; }

/* ── CTA Buttons ── */
.mm-ph-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.mm-ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  line-height: 1;
}
.mm-ph-btn--primary {
  background: #f4a624;
  color: #1a2845;
  border-color: #f4a624;
}
.mm-ph-btn--primary:hover {
  background: #e09518;
  border-color: #e09518;
  color: #1a2845;
  text-decoration: none;
}
.mm-ph-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.45);
}
.mm-ph-btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
  color: #ffffff;
  text-decoration: none;
}

/* ── Form card (apply as CSS class on any Elementor container) ── */
.mm-ph-right-card {
  background: #ffffff;
  border-radius: 16px !important; /* overrides Elementor .e-con { border-radius: var(--border-radius) } */
  padding: 36px 32px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22);
}
@media (max-width: 767px) {
  .mm-ph-right-card { padding: 28px 20px; }
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .mm-ph-wrap { padding: 48px 0 40px; }
  .mm-ph-inner { padding: 0 16px; }
  .mm-ph-buttons { flex-direction: column; }
  .mm-ph-btn { width: 100%; text-align: center; }
}


/* ══════════════════════════════════
   MM CTA
══════════════════════════════════ */

/* ── Outer wrapper ── */
.mm-cta-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* ── Dot grid overlay (optional toggle) ── */
.mm-cta-dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.mm-cta-dot-grid .mm-cta-inner {
  position: relative;
  z-index: 1;
}

/* ── Preset: dark (navy) ── */
.mm-cta-wrap--dark {
  background-color: #1a2845;
}

/* ── Preset: light (white) ── */
.mm-cta-wrap--light {
  background-color: #ffffff;
}

/* ── Preset: transparent — inherits container background ── */
.mm-cta-wrap--transparent {
  background-color: transparent;
}

/* ── Inner centering band ── */
.mm-cta-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

/* ── Content column ── */
.mm-cta-content {
  max-width: 760px; /* overridden by content_max_width slider */
  width: 100%;
}

/* ── Alignment ── */
.mm-cta-align--center .mm-cta-content {
  text-align: center;
}
.mm-cta-align--center .mm-cta-buttons {
  justify-content: center;
}
.mm-cta-align--left .mm-cta-content {
  text-align: left;
}
.mm-cta-align--left .mm-cta-buttons {
  justify-content: flex-start;
}

/* ── Eyebrow ── */
.mm-cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f4a624;
  margin-bottom: 12px;
}

/* ── Heading ── */
.mm-cta-heading {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 16px;
}
.mm-cta-wrap--light .mm-cta-heading {
  color: #1a2845;
}

/* ── Subtext ── */
.mm-cta-subtext {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.72;
  margin: 0 0 32px;
}
.mm-cta-wrap--light .mm-cta-subtext {
  color: #555566;
}

/* ── Buttons row ── */
.mm-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ── Button base ── */
.mm-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  line-height: 1;
  cursor: pointer;
}

/* ── Button icon ── */
.mm-cta-btn-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  flex-shrink: 0;
  vertical-align: middle;
}
.mm-cta-btn-icon svg,
.mm-cta-btn-icon i {
  width: 14px;
  height: 14px;
  font-size: 14px;
  fill: currentColor;
  color: currentColor;
}

/* Primary — gold fill */
.mm-cta-btn--primary {
  background: #f4a624;
  color: #1a2845;
  border-color: #f4a624;
}
.mm-cta-btn--primary:hover {
  background: #e09518;
  border-color: #e09518;
  color: #1a2845;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(244,166,36,.35);
}

/* Secondary — blue fill */
.mm-cta-btn--secondary {
  background: #3662AB;
  color: #ffffff;
  border-color: #3662AB;
}
.mm-cta-btn--secondary:hover {
  background: #2a508e;
  border-color: #2a508e;
  color: #ffffff;
  text-decoration: none;
}

/* Outline light — white border, white text */
.mm-cta-btn--outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.55);
}
.mm-cta-btn--outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.85);
  color: #ffffff;
  text-decoration: none;
}

/* Outline dark — navy border, navy text */
.mm-cta-btn--outline-dark {
  background: transparent;
  color: #1a2845;
  border-color: #1a2845;
}
.mm-cta-btn--outline-dark:hover {
  background: #1a2845;
  color: #ffffff;
  text-decoration: none;
}

/* ══════════════════════════════════
   MM CTA — SPLIT LAYOUT
   Heading + subtext on left, buttons pinned right
══════════════════════════════════ */
.mm-cta-layout--split .mm-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.mm-cta-split-text {
  flex: 1 1 400px;
  min-width: 0;
}

/* In split mode the heading is slightly smaller — works better at wide widths */
.mm-cta-layout--split .mm-cta-heading {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin-bottom: 8px;
}

.mm-cta-layout--split .mm-cta-subtext {
  margin-bottom: 0; /* no gap — buttons sit beside, not below */
}

.mm-cta-split-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Light preset overrides for split ── */
.mm-cta-wrap--light.mm-cta-layout--split .mm-cta-heading { color: #1a2845; }
.mm-cta-wrap--light.mm-cta-layout--split .mm-cta-subtext { color: #555566; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .mm-cta-inner { padding: 0 16px; }
  .mm-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .mm-cta-btn { width: 100%; text-align: center; }
  /* Split stacks on mobile */
  .mm-cta-layout--split .mm-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .mm-cta-layout--split .mm-cta-split-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .mm-cta-layout--split .mm-cta-split-actions .mm-cta-btn {
    width: 100%;
    text-align: center;
  }
}


/* ══════════════════════════════════
   MM PORTFOLIO CARD
══════════════════════════════════ */

/* Equal-height: covers both Elementor Container (flex) and classic column layouts */
.elementor-widget-mm-portfolio-card {
  height: 100%;           /* classic columns: fills the column height */
  align-self: stretch;    /* flex containers: stretches to match tallest sibling */
  display: flex;
  flex-direction: column;
}
.elementor-widget-mm-portfolio-card > .elementor-widget-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mm-portfolio-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid #dde2ee;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  flex: 1;
  transition: border-color .25s, box-shadow .25s, transform .25s, background-color .25s;
}

/* ── Thumbnail ── */
.mm-pc-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0f4fd;
  overflow: hidden;
  flex-shrink: 0;
}

.mm-pc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

/* Linked thumbnail wrapper */
.mm-pc-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0; /* removes gap below inline-level img */
}

.mm-portfolio-card:hover .mm-pc-thumb img {
  transform: scale(1.03);
}

.mm-pc-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #aab0c8;
}

.mm-pc-thumb-placeholder span {
  font-size: 12px;
  font-weight: 600;
}

/* ── Body ── */
.mm-pc-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* ── Category pill ── */
.mm-pc-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #3662AB;
  background: #e8eefc;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.4;
  margin-bottom: 2px;
}

/* ── Client name ── */
.mm-pc-client {
  font-size: 17px;
  font-weight: 800;
  color: #1a2845;
  line-height: 1.25;
  margin: 0;
  transition: color .25s;
}

/* When client name is an anchor */
a.mm-pc-client--linked {
  text-decoration: none;
  color: #1a2845;
}
a.mm-pc-client--linked:hover {
  text-decoration: none;
  color: #3662AB;
}

/* ── Location ── */
.mm-pc-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: #888899;
}

.mm-pc-location svg {
  flex-shrink: 0;
}

/* ── Description ── */
.mm-pc-desc {
  font-size: 14px;
  color: #555566;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ── Tags ── */
.mm-pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.mm-pc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #3662AB;
  background: #f0f4fd;
  padding: 3px 9px;
  border-radius: 999px;
  line-height: 1.5;
}

/* ── Link ── */
.mm-pc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #3662AB;
  text-decoration: none;
  margin-top: auto;
  padding-top: 4px;
  transition: color .2s, gap .2s;
}

.mm-pc-link:hover {
  text-decoration: none;
  gap: 8px;
}


/* ══════════════════════════════════
   MM CALLOUT
══════════════════════════════════ */
.mm-callout {
  border-left: 4px solid #3662AB;  /* overridden by Elementor border_color */
  border-radius: 10px;             /* overridden by Elementor border_radius */
  background: #eef3fb;             /* overridden by Elementor bg */
  padding: 20px 22px;
  font-size: 14px;                 /* overridden by Elementor font_size */
  line-height: 1.7;
}

.mm-callout-intro {
  display: block;
  font-weight: 700;
  color: #1a2845;                  /* overridden by Elementor intro_color */
  margin-bottom: 4px;
}

.mm-callout-body {
  color: #444444;                  /* overridden by Elementor body_color */
}

.mm-callout a {
  color: #3662AB;                  /* overridden by Elementor link_color */
  font-weight: 600;
  text-decoration: none;
}

.mm-callout a:hover {
  text-decoration: underline;
}


/* ══════════════════════════════════
   MM FIELD LOOP
══════════════════════════════════ */
.mm-fl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* overridden by Elementor columns */
  gap: 24px;                             /* overridden by Elementor gap */
}

.mm-fl-item {
  min-width: 0; /* prevents grid blowout */
}

/* Editor-only placeholder */
.mm-fl-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
  background: #f5f7ff;
  border: 1px dashed #b0bcd4;
  border-radius: 10px;
  text-align: center;
  color: #7a8ab8;
  font-size: 13px;
  line-height: 1.6;
}

.mm-fl-placeholder svg {
  opacity: 0.45;
}

.mm-fl-placeholder code {
  background: #e8eef8;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
}


/* ══════════════════════════════════
   MM TAGS
══════════════════════════════════ */

.mm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;           /* overridden by Elementor gap slider */
  align-items: center;
}

.mm-tag {
  display: inline-flex;
  align-items: center;
  background-color: #e8eefc;   /* overridden by Elementor color */
  color: #3662AB;              /* overridden by Elementor color */
  font-size: 12px;             /* overridden by Elementor slider */
  font-weight: 600;            /* overridden by Elementor select */
  line-height: 1;
  padding: 4px 10px;           /* overridden by Elementor sliders */
  border-radius: 20px;         /* overridden by Elementor slider */
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}

/* Linked pills (Post Tags source with link enabled) */
a.mm-tag {
  text-decoration: none;
}
a.mm-tag:hover {
  text-decoration: none;
  background-color: #3662AB; /* overridden by Elementor hover color */
  color: #ffffff;            /* overridden by Elementor hover color */
}

/* Editor-only placeholder */
.mm-tags-placeholder {
  padding: 10px 14px;
  background: #f5f7ff;
  border: 1px dashed #b0bcd4;
  border-radius: 8px;
  color: #7a8ab8;
  font-size: 12px;
}
.mm-tags-placeholder p { margin: 0; }


/* ══════════════════════════════════
   MM QUICK FACTS
══════════════════════════════════ */

/* List wrapper — shared by both layouts */
.mm-qf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px; /* overridden by Elementor row_gap slider */
}

/* Grid layout — two equal columns */
.mm-qf-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Each row */
.mm-qf-item {
  display: flex;
  align-items: center;
}

/* Divider variant */
.mm-qf-item--divider {
  border-bottom: 1px solid #dde2ee; /* overridden by Elementor divider_color */
  padding-bottom: 10px;             /* overridden by Elementor row_padding */
}
.mm-qf-item--divider:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Text container — stretches to fill row */
.mm-qf-text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

/* Grid layout stacks label above value */
.mm-qf-list--grid .mm-qf-text {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

/* Label */
.mm-qf-label {
  font-size: 15px;   /* overridden by Elementor label_size */
  font-weight: 600;  /* overridden by Elementor label_weight */
  color: #1e1e2e;    /* overridden by Elementor label_color */
  line-height: 1.35;
}

/* Value */
.mm-qf-value {
  font-size: 14px;   /* overridden by Elementor value_size */
  font-weight: 400;  /* overridden by Elementor value_weight */
  color: #555566;    /* overridden by Elementor value_color */
  line-height: 1.35;
  white-space: nowrap;
}

/* In grid layout values can wrap */
.mm-qf-list--grid .mm-qf-value {
  white-space: normal;
}

/* Editor-only placeholder */
.mm-qf-placeholder {
  padding: 14px 16px;
  background: #f5f7ff;
  border: 1px dashed #b0bcd4;
  border-radius: 8px;
  color: #7a8ab8;
  font-size: 13px;
}
.mm-qf-placeholder p { margin: 0; }
.mm-qf-placeholder code {
  background: #e8eef8;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
}

@media (max-width: 480px) {
  .mm-qf-list--grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════
   MM CARD (Unified)
   Replaces: MM Service Card, MM Industry Card, MM Light Blue Card
══════════════════════════════════ */

/* Equal-height wrappers — needed for cards in multi-column rows */
.elementor-widget-mm-card,
.elementor-widget-mm-card > .elementor-widget-container {
  height: 100%;
}

/* Base card */
.mm-card {
  display: flex;
  flex-direction: column;
  position: relative;           /* needed for the click-overlay anchor */
  border: 1.5px solid #dde2ee;  /* overridden by Elementor color control */
  border-radius: 12px;          /* overridden by Elementor slider */
  padding: 28px 24px;           /* overridden by Elementor sliders */
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition:
    background-color .25s,
    border-color     .25s,
    box-shadow       .25s,
    transform        .25s;
}

/* Clickable-card overlay — absolutely covers the card so the whole surface is
   a link without wrapping card content in <a> (which breaks nested links). */
.mm-card-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-decoration: none;
}

/* Lift the card content above the overlay so it receives pointer events */
.mm-card-text,
.mm-card-icon-wrap {
  position: relative;
  z-index: 2;
}

/* Description links float above the overlay — keeps them independently clickable */
.mm-card-desc a {
  position: relative;
  z-index: 3;
  color: #3662AB;
  text-decoration: underline;
  transition: color .2s;
}
.mm-card-desc a:hover { color: #254d8a; }

.mm-card--linked { cursor: pointer; }

/* ── Alignment ── */
.mm-card--align-left   { align-items: flex-start; text-align: left; }
.mm-card--align-center { align-items: center;     text-align: center; }

/* ── Icon wrapper ── */
.mm-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 16px; /* overridden by Elementor slider */
  transition: background-color .25s;
}

/* Shape modifiers — border-radius set by Elementor controls;
   'circle' uses 50%, 'square' uses a custom slider, 'none' resets. */
.mm-card--shape-circle .mm-card-icon-wrap { border-radius: 50%; }
.mm-card--shape-none   .mm-card-icon-wrap {
  background-color: transparent !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
}

/* Icon sizing (base — overridden by Elementor slider) */
.mm-card-icon-wrap svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  transition: color .25s, fill .25s;
}
.mm-card-icon-wrap i {
  line-height: 1;
  transition: color .25s;
}

/* Ensure SVG children inherit the fill color set on the parent svg */
.mm-card-icon-wrap svg path,
.mm-card-icon-wrap svg circle,
.mm-card-icon-wrap svg rect,
.mm-card-icon-wrap svg polygon {
  fill: inherit;
}

/* ── Heading ── */
.mm-card-heading {
  font-size: 17px;   /* overridden by Elementor slider */
  font-weight: 700;
  color: #1a2845;    /* overridden by Elementor color control */
  line-height: 1.3;
  margin: 0 0 10px;  /* overridden by Elementor slider */
  transition: color .25s;
}

/* ── Description ── */
.mm-card-desc {
  font-size: 15px;   /* overridden by Elementor slider */
  color: #555566;    /* overridden by Elementor color control */
  line-height: 1.7;
  flex: 1;           /* pushes link label to the bottom */
  margin: 0 0 16px;
  transition: color .25s;
}
.mm-card-desc p              { margin: 0 0 10px; }
.mm-card-desc p:last-child   { margin-bottom: 0; }

/* ── Link label ── */
.mm-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;   /* overridden by Elementor slider */
  font-weight: 700;
  color: #3662AB;    /* overridden by Elementor color control */
  margin-top: auto;
  text-decoration: none;
  transition: color .25s, gap .2s;
}
.mm-card:hover .mm-card-link { gap: 8px; }

/* ── Text group (heading + description + link label) ── */
.mm-card-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

/* ── Inline layout — icon left, text right ── */
.mm-card--layout-inline {
  flex-direction: row;
  align-items: center;  /* vertically center icon with text block */
  gap: 16px;            /* overridden by Elementor icon_gap slider */
}

.mm-card--layout-inline .mm-card-icon-wrap {
  margin-bottom: 0;   /* space-below-icon doesn't apply in inline mode */
}

/* In inline mode the desc margin-bottom can be tighter — no link-at-bottom pattern */
.mm-card--layout-inline .mm-card-desc {
  margin-bottom: 0;
}


/* ══════════════════════════════════
   MM BLOG POST HERO
══════════════════════════════════ */

/* ── Wrapper — navy background + decoratives ── */
.mm-bph-wrap {
  position: relative;
  overflow: hidden;
  background-color: #1a2845;
  padding: 64px 0 56px;   /* overridden by Elementor padding controls */
  width: 100%;
}

/* Dot-grid overlay */
.mm-bph-dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* Radial blue glow — top-right corner */
.mm-bph-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(54,98,171,.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Inner container ── */
.mm-bph-inner {
  max-width: 1160px;   /* overridden by Elementor slider */
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Content area (narrower than page hero — blog-post focus) ── */
.mm-bph-content {
  max-width: 780px;    /* overridden by Elementor slider */
}

/* ── Breadcrumb ── */
.mm-bph-breadcrumb {
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
}
.mm-bph-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: rgba(255,255,255,.5);
}
.mm-bph-breadcrumb a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.mm-bph-breadcrumb a:hover {
  color: #ffffff;
}
.mm-bph-breadcrumb [aria-hidden="true"] {
  color: rgba(255,255,255,.3);
}
.mm-bph-breadcrumb [aria-current="page"] {
  color: rgba(255,255,255,.85);
}

/* ── Category pill ── */
.mm-bph-cat-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
  line-height: 1;
}

/* ── Post title ── */
.mm-bph-title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 18px;
}

/* ── Meta row ── */
.mm-bph-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.55);
  font-size: 15px;
  margin: 0;
}
.mm-bph-meta-sep {
  color: rgba(255,255,255,.25);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .mm-bph-wrap  { padding: 48px 0 40px; }
  .mm-bph-inner { padding: 0 16px; }
  .mm-bph-title { margin-bottom: 14px; }
}


/* ══════════════════════════════════
   BLOG ARCHIVE — CATEGORY FILTER BAR
   Add class="blog-filter-bar" to a Custom HTML widget or Elementor
   container on the /blog/ archive page.
══════════════════════════════════ */

.blog-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 36px 0 0;
}
.blog-filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background .15s, color .15s, box-shadow .15s;
  display: inline-block;
  line-height: 1.4;
}
.blog-filter-btn.active {
  background: #3662AB;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(54,98,171,.25);
}
.blog-filter-btn.inactive {
  background: #f5f6fa;
  color: #333333;
}
.blog-filter-btn.inactive:hover {
  background: #e8eefc;
  color: #3662AB;
  text-decoration: none;
}
.blog-filter-btn.active:hover {
  background: #254d8a;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .blog-filter-bar { gap: 8px; }
  .blog-filter-btn { font-size: 13px; padding: 7px 16px; }
}


/* ══════════════════════════════════
   BLOG POST BODY — PROSE STYLES
   Scope to a wrapper with class="post-body" added to the Elementor
   section or Post Content widget container on single post pages.
══════════════════════════════════ */

.post-body {
  font-size: 16.5px;
  line-height: 1.75;
  color: #333333;
}

/* ── Paragraphs ── */
.post-body p { margin-bottom: 1.4em; }

/* ── Headings ── */
.post-body h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  color: #1a2845;
  margin: 2.2em 0 .6em;
  line-height: 1.25;
}
.post-body h3 {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  font-weight: 700;
  color: #1a2845;
  margin: 1.8em 0 .5em;
}
.post-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2845;
  margin: 1.6em 0 .4em;
}

/* ── Lists ── */
.post-body ul,
.post-body ol { margin: 0 0 1.4em 1.4em; padding: 0; }
.post-body li { margin-bottom: .5em; }

/* ── Blockquote ── */
.post-body blockquote {
  border-left: 4px solid #3662AB;
  margin: 1.8em 0;
  padding: 16px 24px;
  background: #f0f4fd;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #1a2845;
  font-size: 17px;
}

/* ── Links ── */
.post-body a { color: #3662AB; text-decoration: underline; }
.post-body a:hover { color: #254d8a; }

/* ── Inline ── */
.post-body strong { color: #1e1e2e; }

/* ── Images ── */
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 1.6em 0;
}
.post-body figure { margin: 1.6em 0; }
.post-body figcaption {
  text-align: center;
  font-size: 13px;
  color: #555566;
  margin-top: 6px;
}

/* ── Tip Box ── */
.post-tip-box {
  background: #f0f4fd;
  border-left: 4px solid #3662AB;
  border-radius: 0 10px 10px 0;
  padding: 18px 24px;
  margin: 1.8em 0;
  font-size: 15.5px;
  color: #1a2845;
  line-height: 1.65;
}
.post-tip-box strong {
  display: block;
  margin-bottom: 4px;
  color: #254d8a;
}

/* ── Stat / Callout Box ── */
.post-stat-box {
  background: #1a2845;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  margin: 2em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.post-stat-number {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #f4a624;
  line-height: 1;
}
.post-stat-label {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  max-width: 320px;
}

/* ── Author Box ── */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1.5px solid #dde2ee;
  border-radius: 14px;
  padding: 24px;
  margin-top: 48px;
  background: #ffffff;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid #dde2ee;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1a2845;
  margin-bottom: 6px;
}
.author-info p {
  font-size: 14px;
  color: #555566;
  line-height: 1.65;
  margin: 0;
}

/* ── Post Tags ── */
.post-tags {
  margin-top: 28px;
  font-size: 13px;
  color: #555566;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.post-tags a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f5f6fa;
  border: 1px solid #dde2ee;
  color: #555566;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: background .15s, color .15s;
}
.post-tags a:hover {
  background: #e8eefc;
  color: #3662AB;
  border-color: #e8eefc;
}

/* ── Related Posts ── */
.related-posts {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1.5px solid #dde2ee;
}
.related-posts h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: #1a2845;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.related-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #dde2ee;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.related-card:hover {
  box-shadow: 0 6px 28px rgba(26,40,69,.12);
  border-color: #1a2845;
  text-decoration: none;
}
.related-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.related-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #3662AB;
  background: #e8eefc;
  padding: 3px 9px;
  border-radius: 20px;
  align-self: flex-start;
}
.related-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a2845;
  line-height: 1.4;
}
.related-excerpt {
  font-size: 12.5px;
  color: #555566;
  line-height: 1.55;
  flex: 1;
}
.related-link {
  font-size: 12px;
  font-weight: 700;
  color: #3662AB;
  margin-top: 4px;
}

/* ── Post CTA Banner ── */
.post-cta-banner {
  background: #1a2845;
  border-radius: 16px;
  padding: 44px 36px;
  text-align: center;
  margin-top: 56px;
}
.post-cta-banner h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.post-cta-banner p {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .post-cta-banner { padding: 32px 20px; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
}


/* ══════════════════════════════════
   MM NEXT STEPS WIDGET
   "What Happens Next" sidebar box
══════════════════════════════════ */
.mm-ns-box {
  background: #ffffff;
  border: 1.5px solid #dde3ef;
  border-radius: 12px;
  padding: 24px 22px;
}
.mm-ns-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #1a2845;
  margin: 0 0 18px;
}
.mm-ns-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mm-ns-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.mm-ns-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #3662AB;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.mm-ns-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.55;
}
.mm-ns-label {
  display: block;
  font-weight: 700;
  color: #1a2845;
  margin-bottom: 2px;
}
.mm-ns-desc {
  color: #555566;
}
