/* =========================
   GLOBAL SECTION SPACING
========================= */
.mej-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mej-section-tight {
  padding-top: 25px;
  padding-bottom: 25px;
}

.mej-section-compact {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

.mej-row-tight {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================
   GLOBAL TEXT STYLES
========================= */
body,
.site,
.site-content {
  color: #222;
  background-color: #ffffff !important;
}

h1,
.mej-hero-title {
  font-weight: 700;
}

h2,
h3 {
  font-weight: 600;
}

.home-sub {
  display: block;
  color: #222;
  font-weight: 400;
  line-height: 1.4 !important;
  letter-spacing: 0.5px;
  margin: 0 !important;
}

.home-sub:last-child {
  margin-bottom: 0 !important;
}

/* =========================
   STANDARD TEXT WRAPS
========================= */
.mej-text-wrap {
  max-width: 700px;
  margin: 0 auto 26px auto;
  text-align: center;
}

.mej-text-wrap div {
  margin-bottom: 10px;
}

.mej-text-wrap div:last-child {
  margin-bottom: 0;
}

.mej-text-wide {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

.mej-mini-wrap {
  max-width: 320px;
  margin: 0 auto 8px auto;
  text-align: center;
  line-height: 1.2;
}

.mej-quote-wrap {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   HERO TEXT
========================= */
.mej-hero-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mej-hero-title {
  display: block;
  color: #ffffff;
  font-size: 48px;
  line-height: 1.15 !important;
  letter-spacing: 0.5px;
  margin: 0 0 14px 0 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.mej-hero-sub {
  display: block;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.4 !important;
  letter-spacing: 0.5px;
  margin: 0 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.mej-hero-btn-wrap {
  text-align: center;
  margin-top: 28px;
}

.mej-text-light .home-sub,
.mej-text-light strong {
  color: #ffffff !important;
}

/* =========================
   HEADINGS / TIGHT TEXT
========================= */
.mej-section-heading {
  margin-bottom: 10px !important;
}

.mej-section-heading .widget-title,
.mej-section-heading h1,
.mej-section-heading h2,
.mej-section-heading h3,
.mej-section-heading p {
  margin-bottom: 10px !important;
}

.mej-tight-text {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.mej-tight-text .textwidget,
.mej-tight-text .widget,
.mej-tight-text .panel-widget-style {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================
   PHOTOS / IMAGES
========================= */
.mej-photo {
  padding: 10px;
}

.mej-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 0;
}

.mej-image-tight img {
  margin-bottom: 10px;
}

.mej-image-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.mej-photo-row img {
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mej-photo-row img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* =========================
   BUTTONS
========================= */
.so-widget-sow-button {
  text-align: center !important;
}

.so-widget-sow-button .ow-button-base {
  display: inline-block !important;
}

.so-widget-sow-button .ow-button-base a,
.so-widget-sow-button .ow-button-base a:visited {
  padding: 12px 28px !important;
  font-size: 16px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.so-widget-sow-button .ow-button-base a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.so-widget-sow-button .ow-button-base a span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Secondary outline button */
.secondary-btn .ow-button-base a,
.secondary-btn .ow-button-base a:visited {
  background: transparent !important;
  color: #b02a37 !important;
  border: 2px solid #b02a37 !important;
}

.secondary-btn .ow-button-base a span {
  color: #b02a37 !important;
}

.secondary-btn .ow-button-base a:hover {
  background: #b02a37 !important;
  color: #ffffff !important;
}

.secondary-btn .ow-button-base a:hover span {
  color: #ffffff !important;
}

/* White button for dark/image backgrounds */
.white-btn .ow-button-base a,
.white-btn .ow-button-base a:visited {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #ffffff !important;
}

.white-btn .ow-button-base a span {
  color: #000000 !important;
}

.white-btn .ow-button-base a:hover {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

.white-btn .ow-button-base a:hover span {
  color: #ffffff !important;
}

/* Dark CTA button */
.mej-cta-btn .ow-button-base a,
.mej-cta-btn .ow-button-base a:visited {
  background: #222222 !important;
  color: #ffffff !important;
  border: 2px solid #222222 !important;
  padding: 12px 28px !important;
  font-size: 16px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease-in-out !important;
}

.mej-cta-btn .ow-button-base a span,
.mej-cta-btn .ow-button-base a:visited span {
  color: #ffffff !important;
}

.mej-cta-btn .ow-button-base a:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2) !important;
}

.mej-cta-btn .ow-button-base a:hover span {
  color: #ffffff !important;
}

/* Primary red MEJ button */
.mej-button .ow-button-base a,
.mej-button .ow-button-base a:visited {
  background-color: #B02A37 !important;
  color: #ffffff !important;
  font-size: 20px;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mej-button .ow-button-base a:hover {
  background-color: #8f1f2b !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mej-button .ow-button-base a:focus,
.mej-button .ow-button-base a:active {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(176, 42, 55, 0.25);
}

/* =========================
   BANDS / SIMPLE SEPARATORS
========================= */
.mej-band {
  background-color: #f5f5f5;
  padding: 20px 20px;
  border-top: 1px solid #e5e5e5;
}

.mej-band .home-sub {
  display: block;
  margin-bottom: 10px;
}

/* =========================
   SITEORIGIN SPACING RESET
========================= */
.panel-grid {
  margin-bottom: 0 !important;
}

.panel-grid-cell {
  padding: 0 !important;
}

.panel-widget-style {
  margin-bottom: 0 !important;
}

.so-panel-grid-cell {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* =========================
   LISTS / BULLETS
========================= */
.mej-bullets {
  line-height: 1.4;
}

.mej-bullets li {
  margin-bottom: 6px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .mej-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .mej-hero-title {
    font-size: 34px;
  }

  .mej-hero-sub {
    font-size: 18px;
  }

  .mej-text-wrap,
  .mej-quote-wrap {
    max-width: 90%;
  }

  .mej-text-wide,
  .mej-mini-wrap {
    max-width: 100%;
  }

  .mej-photo img {
    height: auto;
  }
}
@media (max-width: 768px) {
  .mej-home-hero {
    background: linear-gradient(rgba(0,0,0,0.30), rgba(0,0,0,0.30)),
                url(https://maxejames.com/wp-content/uploads/2026/04/MEJ_WebsiteHomePage_Mobile.jpg) center center / cover no-repeat !important;
    padding: 95px 16px !important;
  }

  .mej-home-hero .mej-text-wrap {
    max-width: 92% !important;
  }

  .mej-home-hero-title {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  .mej-home-hero-sub {
    font-size: 17px !important;
    line-height: 1.4 !important;
  }
}