/**
 * Medigap Pro Shell Theme — mmmp-chrome.css
 * Site-wide header, footer, and layout chrome.
 * Brand color overridden via inline :root { --mmmp-brand: #xxx }
 */

/* ── CSS variables ──────────────────────────────────────────────────────── */
:root {
  --mmmp-brand: #0d6efd;
  --mmmp-brand-dark: #0a58ca;
  --mmmp-radius: 8px;
  --mmmp-hdr-h: 68px;
}

/* ── Global resets for chrome ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.mmmp-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  height: var(--mmmp-hdr-h);
}
.mmmp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.mmmp-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.mmmp-logo img {
  max-height: 52px;
  width: auto;
  display: block;
}
.mmmp-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mmmp-brand);
  line-height: 1.1;
}
.mmmp-primary-nav {
  flex: 1;
  display: flex;
}
.mmmp-primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.mmmp-primary-nav a {
  color: #374151;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}
.mmmp-primary-nav a:hover,
.mmmp-primary-nav .current-menu-item > a {
  color: var(--mmmp-brand);
}
.mmmp-header-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.mmmp-header-phone {
  color: var(--mmmp-brand);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9375rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.mmmp-header-phone:hover {
  color: var(--mmmp-brand-dark);
}
.mmmp-phone-icon {
  font-size: 0.9rem;
}
.mmmp-header-quote {
  padding: 0.5rem 1.1rem;
  background: var(--mmmp-brand);
  color: #fff !important;
  border-radius: var(--mmmp-radius);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
}
.mmmp-header-quote:hover {
  background: var(--mmmp-brand-dark);
}

/* Mobile — hamburger */
.mmmp-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
  color: #374151;
}
.mmmp-hamburger svg {
  width: 26px;
  height: 26px;
  display: block;
}
.mmmp-nav-close {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: #374151;
  line-height: 1;
}

@media (max-width: 820px) {
  .mmmp-hamburger {
    display: block;
  }
  .mmmp-header-ctas,
  .mmmp-primary-nav {
    display: none !important;
  }
  .mmmp-primary-nav.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 200;
    padding: 4.5rem 1.5rem 2rem;
    overflow-y: auto;
  }
  .mmmp-primary-nav.is-open ul {
    flex-direction: column;
    gap: 0;
  }
  .mmmp-primary-nav.is-open a {
    font-size: 1.15rem;
    padding: 0.75rem 0;
    display: block;
    border-bottom: 1px solid #f3f4f6;
  }
  .mmmp-nav-close {
    display: block !important;
  }
}

/* ── Page wrap ───────────────────────────────────────────────────────────── */
#mmmp-page-wrap {
  min-height: calc(100vh - var(--mmmp-hdr-h));
}
#mmmp-page-content {
  min-height: 60vh;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.mmmp-site-footer {
  background: #1e293b;
  color: #cbd5e1;
}
.mmmp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}
.mmmp-footer-brand {
  flex: 0 0 auto;
  min-width: 160px;
}
.mmmp-footer-logo {
  max-height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  display: block;
}
.mmmp-footer-name {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 1rem;
  display: block;
}
.mmmp-footer-phone-link {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: 0.35rem;
  display: block;
}
.mmmp-footer-phone-link:hover {
  color: #fff;
}
.mmmp-footer-nav {
  flex: 1;
  min-width: 220px;
}
.mmmp-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1.5rem;
}
.mmmp-footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 2.2;
}
.mmmp-footer-nav a:hover {
  color: #fff;
}
.mmmp-footer-bottom {
  border-top: 1px solid #334155;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.6;
}
.mmmp-footer-bottom p {
  margin: 0.3rem 0;
}
.mmmp-footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}
.mmmp-footer-disclaimer {
  max-width: 900px;
  margin: 0.5rem auto 0;
}

/* ── Suppress WP-injected page/post titles ─────────────────────────────── */
/* This theme never outputs post titles — all headings are shortcode-controlled. */
.entry-title,
.page-title,
.wp-block-post-title,
#mmmp-page-content > h1:first-child,
.home #mmmp-page-content h1.entry-title,
.home .entry-header {
  display: none !important;
}

/* ── State page layout ─────────────────────────────────────────── */
.mmmp-state-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2d1b69 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
}
.mmmp-state-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 700px) {
  .mmmp-state-hero-inner {
    grid-template-columns: 1fr;
  }
}
.mmmp-state-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.mmmp-state-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}
.mmmp-state-sub {
  font-size: 1rem;
  opacity: 0.88;
  max-width: 520px;
  margin: 0 0 0.75rem;
  line-height: 1.6;
}
.mmmp-state-phone {
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0;
}
.mmmp-state-phone a {
  color: #fff;
  font-weight: 600;
}
/* CTA card inside state hero */
.mmmp-state-cta-card {
  background: #fff;
  border-radius: 14px;
  border-top: 4px solid var(--cmg-primary, #1d4ed8);
  padding: 1.6rem 1.5rem 1.25rem;
  color: #1e293b;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  width: 280px;
  flex-shrink: 0;
}
.mmmp-state-cta-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  line-height: 1.25;
}
.mmmp-state-cta-sub {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.mmmp-state-cta-btn {
  display: block;
  background: var(--cmg-primary, #1d4ed8);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none !important;
  transition:
    background 0.2s,
    transform 0.1s;
  letter-spacing: 0.01em;
}
.mmmp-state-cta-btn:hover {
  background: #1e40af;
  transform: translateY(-1px);
}
.mmmp-state-cta-call {
  font-size: 0.72rem;
  color: #6b7280;
  margin: 0.6rem 0 0;
}
.mmmp-state-cta-call a {
  color: var(--cmg-primary, #1d4ed8);
  font-weight: 600;
  text-decoration: none;
}
.mmmp-state-cta-micro {
  font-size: 0.62rem;
  color: #9ca3af;
  margin: 0.2rem 0 0;
}
/* State resources content */
.mmmp-state-resources-section {
  background: #fff;
  padding: 2.5rem 1.5rem;
}
.mmmp-state-resources-inner {
  max-width: 900px;
  margin: 0 auto;
}
/* State bottom CTA */
.mmmp-state-bottom-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #2d1b69 100%);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}
.mmmp-state-bottom-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.mmmp-state-bottom-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  margin: 0 0 0.75rem;
}
.mmmp-state-bottom-cta p {
  opacity: 0.85;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* ── State page intro ─────────────────────────────────────────────────────── */
.mmmp-state-intro {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 1.5rem;
}
.mmmp-state-intro-inner {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.975rem;
  line-height: 1.7;
  color: #374151;
}
.mmmp-state-intro-inner p {
  margin: 0 0 0.6rem;
}
.mmmp-state-intro-inner p:last-child {
  margin-bottom: 0;
}

/* ── Plan cards ───────────────────────────────────────────────────────────── */
.mmmp-state-plans {
  background: #f1f5f9;
  padding: 2.5rem 1.5rem;
}
.mmmp-state-plans-inner {
  max-width: 960px;
  margin: 0 auto;
}
.mmmp-state-plans-heading {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 0 1.5rem !important;
  text-align: center;
}
.mmmp-plan-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.mmmp-plan-card--featured {
  border-color: var(--cmg-primary, #1d4ed8);
  box-shadow: 0 0 0 2px var(--cmg-primary, #1d4ed8);
}
.mmmp-plan-card-header {
  background: #1e293b;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mmmp-plan-card--featured .mmmp-plan-card-header {
  background: var(--cmg-primary, #1d4ed8);
}
.mmmp-plan-name {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 !important;
}
.mmmp-plan-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.mmmp-plan-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}
@media (max-width: 680px) {
  .mmmp-plan-body {
    grid-template-columns: 1fr;
  }
}
.mmmp-plan-left {
  padding: 1.1rem 1.25rem;
  border-right: 1px solid #f1f5f9;
}
/* Premium row */
.mmmp-plan-premium {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}
.mmmp-plan-premium-label {
  font-size: 0.72rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.mmmp-plan-premium-range {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  line-height: 1.1;
}
.mmmp-plan-premium-note {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
}
.mmmp-plan-partb {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 0.1rem;
}
/* Two-col grid: deductibles + benefits */
.mmmp-plan-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) {
  .mmmp-plan-cols {
    grid-template-columns: 1fr;
  }
}
.mmmp-plan-col-label {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: #9ca3af !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.4rem !important;
}
/* Deductibles */
.mmmp-plan-deduct-row {
  display: flex;
  flex-direction: column;
  margin: 0 0 0.45rem !important;
  line-height: 1.2;
}
.mmmp-deduct-amt {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}
.mmmp-deduct-zero {
  color: #16a34a !important;
}
.mmmp-deduct-desc {
  font-size: 0.72rem;
  color: #6b7280;
}
/* Benefits checklist */
.mmmp-plan-benefit-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem !important;
  color: #374151 !important;
  margin: 0 0 0.3rem !important;
}
.mmmp-benefit-icon {
  font-size: 0.9rem;
  width: 1rem;
  flex-shrink: 0;
}
.mmmp-benefit-yes .mmmp-benefit-icon {
  color: #16a34a;
}
.mmmp-benefit-no .mmmp-benefit-icon {
  color: #ef4444;
}
.mmmp-benefit-no {
  color: #9ca3af !important;
}
/* CTA column */
.mmmp-plan-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem;
  justify-content: center;
  min-width: 190px;
}
.mmmp-plan-btn {
  display: block;
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  white-space: nowrap;
}
.mmmp-plan-btn--primary {
  background: #16a34a !important;
  color: #fff !important;
}
.mmmp-plan-btn--primary:hover {
  background: #15803d !important;
}
.mmmp-plan-btn--secondary {
  background: #f1f5f9 !important;
  color: #374151 !important;
  border: 1px solid #cbd5e1;
}
.mmmp-plan-btn--secondary:hover {
  background: #e2e8f0 !important;
}
