/* CCM hero repair — right-side compact stats layout */
body.page-ccm .ccm-main {
  width: min(calc(100% - 36px), 1540px) !important;
  max-width: 1540px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

body.page-ccm .ccm-hero {
  position: relative !important;
  isolation: isolate !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 410px !important;
  margin: 0 0 18px !important;
  overflow: hidden !important;
  padding: clamp(32px, 4vw, 60px) clamp(26px, 4.5vw, 56px) !important;
  border-radius: 26px !important;
  background-color: #130f22 !important;
  background-image:
    linear-gradient(90deg, rgba(13,10,24,.97) 0%, rgba(13,10,24,.91) 26%, rgba(13,10,24,.68) 44%, rgba(13,10,24,.34) 66%, rgba(13,10,24,.20) 100%),
    url('../images/ccm-worship-hero.webp') !important;
  background-position: center center, center center !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat, no-repeat !important;
}

body.page-ccm .ccm-hero::before,
body.page-ccm .ccm-hero::after,
body.page-ccm .ccm-hero__copy::before,
body.page-ccm .ccm-hero__copy::after,
body.page-ccm .ccm-stat-strip,
body.page-ccm .ccm-stats-row {
  content: none !important;
  display: none !important;
}

body.page-ccm .ccm-hero .ccm-hero__copy {
  z-index: 1 !important;
  position: relative !important;
  box-sizing: border-box !important;
  display: block !important;
  width: min(100%, 700px) !important;
  max-width: 700px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  inset: auto !important;
  transform: none !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  flex: none !important;
}

body.page-ccm .ccm-hero__copy .ccm-kicker {
  display: block !important;
  margin-bottom: 12px !important;
}
body.page-ccm .ccm-hero__copy h1 {
  max-width: 700px !important;
  margin: 0 0 18px !important;
  font-size: clamp(36px, 4vw, 62px) !important;
  line-height: 1.15 !important;
  overflow-wrap: normal !important;
  text-shadow: 0 3px 16px rgba(0,0,0,.45) !important;
}
body.page-ccm .ccm-hero__copy p {
  max-width: 590px !important;
  margin: 0 0 22px !important;
  line-height: 1.75 !important;
  color: #fff8e9 !important;
  text-shadow: 0 2px 12px #000 !important;
}
body.page-ccm .ccm-hero__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

body.page-ccm .ccm-hero__stats {
  position: relative !important;
  z-index: 1 !important;
  align-self: center !important;
  justify-self: end !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: min(220px, 100%) !important;
  min-width: 180px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-ccm .ccm-hero-stat-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 88px !important;
  padding: 14px 18px !important;
  border-radius: 16px !important;
  background: linear-gradient(160deg, rgba(16,55,42,.92), rgba(10,37,29,.90)) !important;
  border: 1px solid rgba(228,195,114,.26) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}
body.page-ccm .ccm-hero-stat-card__label {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
  color: #e8dcc0 !important;
}
body.page-ccm .ccm-hero-stat-card__value {
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  font-size: clamp(25px, 2vw, 32px) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: #fffaf0 !important;
  font-variant-numeric: tabular-nums !important;
}
body.page-ccm .ccm-hero-stat-card__value small {
  font-size: 15px !important;
  font-weight: 650 !important;
}
body.page-ccm .ccm-hero-access-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  background: rgba(14, 42, 33, .92) !important;
  border: 1px solid rgba(228,195,114,.26) !important;
  color: #e7d6a5 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  text-align: center !important;
}

@media (min-width: 1120px) {
  body.page-ccm .ccm-hero {
    min-height: 430px !important;
  }
}

@media (max-width: 980px) {
  body.page-ccm .ccm-hero {
    grid-template-columns: minmax(0,1fr) !important;
    align-items: start !important;
    gap: 18px !important;
    min-height: 0 !important;
    background-position: center center, 60% center !important;
  }
  body.page-ccm .ccm-hero__stats {
    justify-self: start !important;
    align-self: start !important;
    width: min(100%, 480px) !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.page-ccm .ccm-hero-access-badge {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 750px) {
  body.page-ccm .ccm-main {
    width: calc(100% - 20px) !important;
  }
  body.page-ccm .ccm-hero {
    padding: 32px 22px !important;
    border-radius: 20px !important;
    background-image:
      linear-gradient(90deg, rgba(13,10,24,.97), rgba(13,10,24,.84) 62%, rgba(13,10,24,.55)),
      url('../images/ccm-worship-hero.webp') !important;
  }
  body.page-ccm .ccm-hero__copy h1 {
    font-size: clamp(31px, 7vw, 45px) !important;
  }
  body.page-ccm .ccm-hero__copy p {
    font-size: 14px !important;
  }
  body.page-ccm .ccm-hero__stats {
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.page-ccm .ccm-hero-stat-card {
    min-height: 76px !important;
    padding: 12px 14px !important;
  }
  body.page-ccm .ccm-hero-stat-card__label {
    font-size: 12px !important;
  }
  body.page-ccm .ccm-hero-stat-card__value {
    font-size: 24px !important;
  }
}
