/*
Theme Name: MCMC React Theme
Theme URI: https://mcmcnj.org
Author: JAS
Author URI: https://mcmcnj.org
Description: Minimal WordPress shell theme that mounts the MCMC React app.
Version: 1.0.73
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mcmc-react-theme
*/

html,
body {
  margin: 0;
  padding: 0;
}

.mcmc-native-content {
  min-height: 70vh;
  padding: clamp(6rem, 10vw, 8rem) 0 0;
  color: inherit;
  background: transparent;
}

/* ===================================================================
   MCMC Elementor cleanup skin for WordPress Native pages
   =================================================================== */

.mcmc-native-content.mcmc-elementor-cleanup {
  --mcmc-native-navy: #07162b;
  --mcmc-native-ink: #172033;
  --mcmc-native-body: #344155;
  --mcmc-native-muted: #657184;
  --mcmc-native-gold: #d99a2b;
  --mcmc-native-cream: #f7f2ea;
  --mcmc-native-line: rgba(7, 22, 43, 0.12);
  color: var(--mcmc-native-body) !important;
  background: #ffffff !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.06rem);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

.mcmc-elementor-cleanup .elementor,
.mcmc-elementor-cleanup .elementor-location-single {
  width: 100%;
}

.mcmc-elementor-cleanup .elementor-section,
.mcmc-elementor-cleanup .e-con {
  color: var(--mcmc-native-body) !important;
  background-color: #ffffff;
}

.mcmc-elementor-cleanup .elementor-section {
  padding-block: clamp(1.75rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--mcmc-native-line);
}

.mcmc-elementor-cleanup .elementor-section:nth-child(even) {
  background-color: var(--mcmc-native-cream) !important;
}

.mcmc-elementor-cleanup .elementor-section:last-child {
  border-bottom: none;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.mcmc-elementor-cleanup .e-con {
  --container-default-padding-top: clamp(1.75rem, 4vw, 3.5rem);
  --container-default-padding-right: clamp(1rem, 4vw, 2rem);
  --container-default-padding-bottom: clamp(1.75rem, 4vw, 3.5rem);
  --container-default-padding-left: clamp(1rem, 4vw, 2rem);
}


.mcmc-elementor-cleanup .elementor-container,
.mcmc-elementor-cleanup .e-con-boxed > .e-con-inner {
  width: min(1120px, 100%);
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}

.mcmc-elementor-cleanup .elementor-widget:not(:last-child) {
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.mcmc-elementor-cleanup .elementor-heading-title,
.mcmc-elementor-cleanup h1,
.mcmc-elementor-cleanup h2,
.mcmc-elementor-cleanup h3,
.mcmc-elementor-cleanup h4,
.mcmc-elementor-cleanup h5,
.mcmc-elementor-cleanup h6 {
  color: var(--mcmc-native-navy) !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mcmc-elementor-cleanup h1,
.mcmc-elementor-cleanup .elementor-widget-heading h1.elementor-heading-title {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.mcmc-elementor-cleanup h2,
.mcmc-elementor-cleanup .elementor-widget-heading h2.elementor-heading-title {
  font-size: clamp(1.65rem, 3.5vw, 2.65rem);
}

.mcmc-elementor-cleanup h3,
.mcmc-elementor-cleanup .elementor-widget-heading h3.elementor-heading-title {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.mcmc-elementor-cleanup .elementor-widget-text-editor,
.mcmc-elementor-cleanup .elementor-widget-text-editor p,
.mcmc-elementor-cleanup p,
.mcmc-elementor-cleanup li {
  color: var(--mcmc-native-body) !important;
}

.mcmc-elementor-cleanup p {
  margin-block: 0 1rem;
}

.mcmc-elementor-cleanup ul,
.mcmc-elementor-cleanup ol {
  padding-left: 1.35rem;
  margin-block: 1rem;
}

.mcmc-elementor-cleanup li {
  margin-bottom: 0.35rem;
}

.mcmc-elementor-cleanup a {
  color: #a96f14;
  text-underline-offset: 3px;
}

.mcmc-elementor-cleanup .elementor-widget-image img,
.mcmc-elementor-cleanup img {
  max-width: 100%;
  height: auto;
}

.mcmc-elementor-cleanup .elementor-widget-image img {
  border-radius: 18px;
}

.mcmc-elementor-cleanup .elementor-button,
.mcmc-elementor-cleanup .elementor-button-link {
  border-radius: 999px;
  background: var(--mcmc-native-gold);
  color: #081426;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(217, 154, 43, 0.22);
}

.mcmc-elementor-cleanup .elementor-column {
  padding: clamp(0.5rem, 2vw, 1.25rem);
}

.mcmc-elementor-cleanup .elementor-widget-wrap {
  padding: clamp(0.25rem, 1vw, 0.75rem) 0;
}

.mcmc-elementor-cleanup .elementor-nav-menu a {
  color: inherit;
  font-weight: 700;
}

.mcmc-elementor-cleanup .elementor-section[style*="#0"],
.mcmc-elementor-cleanup .elementor-section[style*="#1"],
.mcmc-elementor-cleanup .elementor-section[style*="rgb(0"],
.mcmc-elementor-cleanup .e-con[style*="#0"],
.mcmc-elementor-cleanup .e-con[style*="#1"],
.mcmc-elementor-cleanup .e-con[style*="rgb(0"],
.mcmc-elementor-cleanup [class*="dark"],
.mcmc-elementor-cleanup [class*="navy"] {
  color: rgba(255, 255, 255, 0.88);
}

.mcmc-elementor-cleanup .elementor-section[style*="#0"] .elementor-heading-title,
.mcmc-elementor-cleanup .elementor-section[style*="#1"] .elementor-heading-title,
.mcmc-elementor-cleanup .elementor-section[style*="rgb(0"] .elementor-heading-title,
.mcmc-elementor-cleanup .e-con[style*="#0"] .elementor-heading-title,
.mcmc-elementor-cleanup .e-con[style*="#1"] .elementor-heading-title,
.mcmc-elementor-cleanup .e-con[style*="rgb(0"] .elementor-heading-title,
.mcmc-elementor-cleanup [class*="dark"] .elementor-heading-title,
.mcmc-elementor-cleanup [class*="navy"] .elementor-heading-title {
  color: #ffffff;
}

.mcmc-elementor-cleanup .elementor-section[style*="#0"] .elementor-widget-text-editor,
.mcmc-elementor-cleanup .elementor-section[style*="#0"] .elementor-widget-text-editor p,
.mcmc-elementor-cleanup .elementor-section[style*="#1"] .elementor-widget-text-editor,
.mcmc-elementor-cleanup .elementor-section[style*="#1"] .elementor-widget-text-editor p,
.mcmc-elementor-cleanup .elementor-section[style*="rgb(0"] .elementor-widget-text-editor,
.mcmc-elementor-cleanup .elementor-section[style*="rgb(0"] .elementor-widget-text-editor p,
.mcmc-elementor-cleanup .e-con[style*="#0"] .elementor-widget-text-editor,
.mcmc-elementor-cleanup .e-con[style*="#0"] .elementor-widget-text-editor p,
.mcmc-elementor-cleanup .e-con[style*="#1"] .elementor-widget-text-editor,
.mcmc-elementor-cleanup .e-con[style*="#1"] .elementor-widget-text-editor p,
.mcmc-elementor-cleanup .e-con[style*="rgb(0"] .elementor-widget-text-editor,
.mcmc-elementor-cleanup .e-con[style*="rgb(0"] .elementor-widget-text-editor p,
.mcmc-elementor-cleanup [class*="dark"] .elementor-widget-text-editor,
.mcmc-elementor-cleanup [class*="dark"] .elementor-widget-text-editor p,
.mcmc-elementor-cleanup [class*="navy"] .elementor-widget-text-editor,
.mcmc-elementor-cleanup [class*="navy"] .elementor-widget-text-editor p {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 768px) {
  .mcmc-native-content.mcmc-elementor-cleanup {
    padding-top: clamp(5.25rem, 18vw, 7rem);
    font-size: 0.98rem;
  }

  .mcmc-elementor-cleanup .elementor-section {
    padding-block: clamp(1.25rem, 7vw, 2.25rem);
  }

  .mcmc-elementor-cleanup .elementor-container,
  .mcmc-elementor-cleanup .e-con-boxed > .e-con-inner {
    width: 100%;
    padding-inline: clamp(0.875rem, 5vw, 1.25rem);
  }

  .mcmc-elementor-cleanup .elementor-column,
  .mcmc-elementor-cleanup .elementor-widget {
    min-width: 0;
  }
}

/* ===================================================================
   MCMC Design - clean editorial converted-page layout
   =================================================================== */

.mcmc-design {
  --mcmc-navy: #0b2240;
  --mcmc-navy-deep: #041122;
  --mcmc-gold: #d99a2b;
  --mcmc-gold-soft: rgba(217, 154, 43, 0.14);
  --mcmc-cream: #f7f2ea;
  --mcmc-paper: #ffffff;
  --mcmc-ink: #1d2738;
  --mcmc-body: #46505f;
  --mcmc-muted: #7a8597;
  --mcmc-line: rgba(13, 34, 64, 0.1);
  color: var(--mcmc-ink);
  background: var(--mcmc-cream);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mcmc-design--clean {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
}

.mcmc-design__intro,
.mcmc-design__content {
  width: min(1080px, calc(100% - 3rem));
  margin: 0 auto;
}

.mcmc-design__intro {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.mcmc-design__intro--media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}

.mcmc-design__title {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--mcmc-navy);
}

.mcmc-design__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 1.1rem;
  border-radius: 999px;
  background: var(--mcmc-gold);
}

.mcmc-design__lead {
  margin: 1.4rem 0 0;
  max-width: 44ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--mcmc-body);
}

.mcmc-design__intro-figure {
  margin: 0;
  align-self: stretch;
  min-height: 260px;
}

.mcmc-design__intro-figure img,
.mcmc-design__band-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(13, 34, 64, 0.16);
}

.mcmc-design__content {
  display: flex;
  flex-direction: column;
}

.mcmc-design__band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(1.75rem, 5vw, 3.25rem) 0;
  border-top: 1px solid var(--mcmc-line);
}

.mcmc-design__band:first-child {
  border-top: 0;
  padding-top: 0;
}

.mcmc-design__band--full {
  display: block;
  max-width: 760px;
}

.mcmc-design__band--reverse .mcmc-design__band-text {
  order: 2;
}

.mcmc-design__band-media {
  margin: 0;
  align-self: stretch;
  min-height: 260px;
}

.mcmc-design__band-text > *:first-child {
  margin-top: 0;
}

.mcmc-design__band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--mcmc-navy);
}

.mcmc-design__band h3 {
  margin: 1.6rem 0 0.6rem;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--mcmc-ink);
}

.mcmc-design__band p {
  margin: 0 0 1.1rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.85;
  color: var(--mcmc-body);
}

.mcmc-design__band p:last-child {
  margin-bottom: 0;
}

.mcmc-design__band ul,
.mcmc-design__band ol {
  margin: 1.1rem 0;
  padding-left: 1.4rem;
  line-height: 1.8;
  color: var(--mcmc-body);
}

.mcmc-design__band li {
  margin-bottom: 0.5rem;
}

.mcmc-design__band ul li::marker {
  color: var(--mcmc-gold);
}

.mcmc-design__band a {
  color: #b5791a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mcmc-design__band a:hover {
  color: var(--mcmc-navy);
}

.mcmc-design__band figure {
  margin: 1.5rem 0;
}

.mcmc-design__band figure img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.mcmc-design__band figcaption {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: var(--mcmc-muted);
  font-style: italic;
}

.mcmc-design__band blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.4rem;
  border-left: 4px solid var(--mcmc-gold);
  background: var(--mcmc-gold-soft);
  border-radius: 0 14px 14px 0;
  color: var(--mcmc-ink);
  font-style: italic;
  line-height: 1.7;
}

.mcmc-design__band hr {
  border: none;
  border-top: 1px solid var(--mcmc-line);
  margin: 1.6rem 0;
}

.mcmc-design__band table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: 0.96rem;
}

.mcmc-design__band th,
.mcmc-design__band td {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--mcmc-line);
  text-align: left;
  color: var(--mcmc-body);
}

.mcmc-design__band th {
  background: var(--mcmc-gold-soft);
  color: var(--mcmc-navy);
  font-weight: 700;
}

@media (max-width: 820px) {
  .mcmc-design__intro--media,
  .mcmc-design__band {
    grid-template-columns: 1fr;
  }

  .mcmc-design__band--full {
    max-width: none;
  }

  .mcmc-design__band--reverse .mcmc-design__band-text {
    order: 0;
  }

  .mcmc-design__intro-figure,
  .mcmc-design__band-media {
    order: -1;
    min-height: 0;
  }

  .mcmc-design__intro-figure img,
  .mcmc-design__band-media img {
    aspect-ratio: 16 / 10;
    height: auto;
  }
}

@media (max-width: 540px) {
  .mcmc-design__intro,
  .mcmc-design__content {
    width: calc(100% - 2rem);
  }

  .mcmc-design__title::after {
    margin-top: 0.85rem;
  }

  .mcmc-design__intro-figure img,
  .mcmc-design__band-media img {
    border-radius: 18px;
  }
}
