/**
 * The 305Senior Mahjong Club uses the Experience page.
 * These rules only place the club lockup and category art.
 */

.mahjong-page .experience-hero {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 0;
  overflow: visible;
  background: #e9f3f1;
}

.mahjong-page .mahjong-hero__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(20rem, 62vw, 26rem);
  background: #e9f3f1;
}

.mahjong-page .experience-hero__media {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.22) 11%,
    rgba(0, 0, 0, 0.62) 20%,
    #000 30%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.22) 11%,
    rgba(0, 0, 0, 0.62) 20%,
    #000 30%,
    #000 100%
  );
}

/* Soft mint wash only behind the bird lockup — photo stays full contrast elsewhere */
.mahjong-page .experience-hero__media::after {
  background: radial-gradient(
    ellipse 38% 62% at 17% 50%,
    #e9f3f1 0%,
    rgba(233, 243, 241, 0.82) 30%,
    rgba(233, 243, 241, 0.28) 54%,
    transparent 72%
  );
}

.mahjong-page .experience-hero__media-img {
  object-position: 38% 36%;
}

.mahjong-page .experience-hero__copy {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  width: min(100%, 46rem);
  max-width: 46rem;
  margin: 0 auto;
  padding: 0;
  transform: none;
}

.mahjong-page .mahjong-hero__band {
  position: relative;
  z-index: 2;
  padding: clamp(1.55rem, 2.8vw, 2.15rem) var(--layout-gutter, clamp(20px, 4vw, 48px)) clamp(1.7rem, 3vw, 2.35rem);
  border-top: 1px solid rgba(65, 192, 201, 0.55);
  background: #e9f3f1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 14px 32px -20px rgba(0, 30, 77, 0.4);
}

.mahjong-page .mahjong-hero__title {
  margin: 0 auto;
  color: var(--brand-deep-navy, #001e4d);
  text-align: center;
  text-shadow: none;
}

.mahjong-page .experience-hero__subtitle {
  max-width: min(100%, 40rem);
}

.mahjong-page .experience-hero__pillars {
  color: var(--brand-dark-blue, #003479);
  font-size: clamp(1.12rem, 1.45vw, 1.32rem);
  text-shadow: none;
}

.mahjong-page .mahjong-hero__band .experience-hero__pillars li + li::before {
  box-shadow: 0 1px 2px rgba(0, 52, 121, 0.2);
}

.mahjong-page .experience-hero__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(92%, 22rem);
  height: auto;
  min-height: 0;
}

.mahjong-page .experience-hero__mark img.mahjong-hero__banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transform: translateX(-30%);
  transform-origin: center center;
}

.mahjong-categories__media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 80% at 50% 42%, rgba(240, 215, 138, 0.28) 0%, transparent 62%),
    linear-gradient(165deg, #0b4f96 0%, #003479 48%, #001e4d 100%);
}

.mahjong-categories__glyph {
  display: grid;
  place-items: center;
  width: 7.25rem;
  height: 7.25rem;
  border: 3px solid #e0be55;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(240, 215, 138, 0.28) 0%, transparent 46%),
    radial-gradient(circle at 50% 55%, #2a6aab 0%, #003479 72%);
  box-shadow: 0 12px 22px -14px rgba(0, 30, 77, 0.7);
  color: #f0d78a;
}

.mahjong-categories__glyph svg {
  width: 3.35rem;
  height: 3.35rem;
}

@media (min-width: 900px) {
  .mahjong-page .mahjong-hero__stage {
    min-height: clamp(26rem, 36vw, 34rem);
  }

  .mahjong-page .experience-hero__mark {
    justify-content: flex-start;
    align-self: center;
    width: clamp(24rem, 36vw, 32rem);
    min-height: 0;
  }
}

.mahjong-hero__note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: min(100%, 38rem);
}

.mahjong-page .mahjong-hero__rule {
  width: min(16.5rem, 82%);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(65, 192, 201, 0.35) 10%,
    var(--brand-aqua, #41c0c9) 28%,
    #f7e7b4 46%,
    #fff6d0 50%,
    #e6c56a 54%,
    var(--brand-aqua, #41c0c9) 72%,
    rgba(65, 192, 201, 0.35) 90%,
    transparent 100%
  );
  box-shadow:
    0 0 10px rgba(65, 192, 201, 0.35),
    0 0 6px rgba(212, 175, 55, 0.45);
}

.mahjong-page .mahjong-hero__lead {
  margin: 0;
  color: var(--color-body, #243447);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  font-weight: 500;
  line-height: 1.38;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 899.98px) {
  .mahjong-page .experience-hero__mark {
    margin-inline: auto;
  }

  .mahjong-page .experience-hero__media {
    -webkit-mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.35) 0%,
      #000 22%,
      #000 100%
    );
    mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.35) 0%,
      #000 22%,
      #000 100%
    );
  }

  .mahjong-page .experience-hero__media::after {
    background: radial-gradient(
      ellipse 88% 56% at 50% 40%,
      #e9f3f1 0%,
      rgba(233, 243, 241, 0.78) 32%,
      rgba(233, 243, 241, 0.16) 58%,
      transparent 76%
    );
  }
}

.mahjong-page .mahjong-cta__banner {
  grid-template-columns: auto auto auto minmax(12rem, 1fr);
  align-items: center;
  overflow: visible;
  gap: 0.75rem 1rem;
  padding: 0.62rem 1.35rem 0.62rem 1.15rem;
}

.mahjong-page .mahjong-cta__banner h2 {
line-height: 0.95;
  white-space: nowrap;
}

.mahjong-page .mahjong-cta__banner .experience-cta__divider {
  height: 2.35rem;
}

.mahjong-page .mahjong-cta__banner .experience-cta__text {
  line-height: 1.32;
}

.mahjong-cta__tile {
  position: relative;
  width: 6.5rem;
  height: 3.6rem;
}

.mahjong-cta__tile img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: auto;
  height: 7.65rem;
  object-fit: contain;
  transform: translateY(-52%);
}

.mahjong-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.35rem;
  margin-top: 1.15rem;
}

.mahjong-page .mahjong-cta__actions .mahjong-cta__action-btn.home-hero__button {
  justify-content: flex-start;
  min-width: 14.25rem;
  max-width: min(100%, 26rem);
  white-space: normal;
}

.mahjong-page .mahjong-cta__actions .mahjong-cta__action-btn .home-hero__button-label {
  align-items: flex-start;
  text-align: left;
}

.mahjong-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.55rem 1.2rem 0.55rem 0.95rem;
  border: 1.5px solid #d4af37;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.mahjong-cta__btn--gold {
  border-color: var(--home-btn-3-border, #d4af37);
  background: linear-gradient(
    180deg,
    var(--home-btn-3-bg-top, #f7e7b4) 0%,
    var(--home-btn-3-bg-mid, #e6c56a) 46%,
    var(--home-btn-3-bg-bottom, #d4af37) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 16px -10px rgba(0, 30, 20, 0.45);
  color: var(--home-btn-3-text, #12325f);
}

.mahjong-cta__btn--soft {
  background: linear-gradient(180deg, #fffdf8 0%, #f4ead4 100%);
  color: #003479;
}

.mahjong-cta__btn-icon {
  display: grid;
  place-items: center;
}

.mahjong-cta__btn svg {
  width: 1.35rem;
  height: 1.35rem;
}

.mahjong-cta__btn--gold svg {
  color: var(--home-btn-3-icon, #12325f);
}

.mahjong-cta__btn--soft svg {
  color: #003479;
}

.mahjong-cta__btn:hover,
.mahjong-cta__btn:focus-visible {
  transform: translateY(-1px);
}

.mahjong-cta__btn:focus-visible {
  outline: 3px solid #f0d78a;
  outline-offset: 3px;
}

/* Navy primary uses partner.css (.partner-apply--style1.home-hero__button). Layout only. */

.mahjong-page .mj-card-cta.home-hero__button {
  justify-content: center;
  min-width: 0;
  width: 100%;
  max-width: 21.5rem;
  white-space: normal;
}

.mahjong-page .mj-card-cta .home-hero__button-label {
  align-items: center;
  text-align: center;
}

.mahjong-page button.mj-card-cta.home-hero__button {
  width: 100%;
}

@media (max-width: 1100px) {
  .mahjong-page .mahjong-cta__banner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "text text";
  }
}

@media (max-width: 760px) {
  .mahjong-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mahjong-cta__btn,
  .mahjong-page .mahjong-cta__actions .mahjong-cta__action-btn.home-hero__button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
}

/* —— Expanded Mahjong Club sections —— */

.mahjong-page .mj-section {
  padding: clamp(2.4rem, 4.5vw, 3.6rem) 0;
}

.mahjong-page .mj-section:nth-child(odd of .mj-section) {
  background: #fdf9f3;
}

.mahjong-page .mj-section:nth-child(even of .mj-section) {
  background: #fff;
}

.mahjong-page .mj-section__head {
  max-width: 46rem;
  margin: 0 auto 1.6rem;
  text-align: center;
}

.mahjong-page .mj-section__head .mj-title,
.mahjong-page .mj-events__head .mj-title {
  text-align: center;
}

.mahjong-page .mj-feature-panel__copy .mj-title,
.mahjong-page .mj-inquiry__copy .mj-title {
  text-align: left;
}

.mahjong-page .mj-title {
  margin: 0 0 0.65rem;
  color: var(--color-heading, #003479);
  text-wrap: balance;
}

.mahjong-page .mj-title .heading-accent {
  color: var(--color-heading-accent, #41c0c9);
}

.mahjong-page .mj-feature-panel__copy .section-eyebrow,
.mahjong-page .mj-inquiry__copy .section-eyebrow {
  text-align: left;
}

.mahjong-page .mj-feature-panel__copy .mj-body + .mj-body {
  margin-top: 0.75rem;
}

.mahjong-page .mj-feature-panel__copy .mj-card-cta.home-hero__button {
  margin-top: 1.35rem;
}

.mahjong-page .mj-title--light {
  color: #fff6d8;
}

.mahjong-page .mj-lead,
.mahjong-page .mj-body {
  margin: 0;
  color: #3d4a57;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.55;
}

.mahjong-page .mj-lead {
  max-width: 40rem;
  margin-inline: auto;
}

.mahjong-page .mj-lead--light {
  color: rgba(255, 246, 216, 0.9);
}

.mahjong-page .mj-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(65, 192, 201, 0.16);
  color: #065a5f;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.mahjong-page .mj-tag--gold {
  background: rgba(212, 175, 55, 0.22);
  color: #6b4f0a;
}

.mahjong-page .mj-pathway-card__checks.partner-checks,
.mahjong-page .mj-lesson-card__checks.partner-checks {
  margin: 0.85rem 0 1.1rem;
  gap: 0.55rem;
}

.mahjong-page .mj-pathway-card__checks.partner-checks li,
.mahjong-page .mj-lesson-card__checks.partner-checks li {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  color: #3d4a57;
}

.mahjong-page .mj-ways__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mahjong-page .mj-ways__grid > .mj-pathway-card {
  height: 100%;
}

.mahjong-page .mj-pathway-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.75);
  border-radius: 1.35rem;
  background: #fffdf8;
  box-shadow: 0 14px 28px -20px rgba(0, 30, 77, 0.45);
}

.mahjong-page .mj-pathway-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  height: clamp(11.75rem, 20vw, 16.25rem);
  margin: 0;
  overflow: hidden;
  border-bottom: 2px solid rgba(212, 175, 55, 0.55);
}

.mahjong-page .mj-pathway-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mahjong-page .mj-ways__grid > .mj-pathway-card:first-child .mj-pathway-card__media img {
  object-fit: cover;
  object-position: center 42%;
  width: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
}

.mahjong-page .mj-pathway-card__media--contain {
  background: linear-gradient(180deg, #f8f4ec 0%, #efe8da 100%);
}

.mahjong-page .mj-pathway-card__media--contain img {
  object-fit: contain;
  object-position: center;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  padding: clamp(0.35rem, 1.2vw, 0.65rem) clamp(0.5rem, 1.5vw, 0.85rem);
}

.mahjong-page .mj-ways__grid > .mj-pathway-card:nth-child(2) .mj-pathway-card__media {
  background: #001e4d;
}

.mahjong-page .mj-ways__grid > .mj-pathway-card:nth-child(2) .mj-pathway-card__media img {
  object-fit: cover;
  object-position: center 40%;
  width: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
}

.mahjong-page .mj-pathway-card__label {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 30, 77, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.mahjong-page .mj-pathway-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.45rem);
}

.mahjong-page .mj-pathway-card__body .mj-tag {
  align-self: center;
  min-height: 2.35rem;
  box-sizing: border-box;
  max-width: 100%;
  text-wrap: balance;
}

.mahjong-page .mj-pathway-card__body .mj-pathway-card__checks {
  flex: 1 1 auto;
}

.mahjong-page .mj-pathway-card__body h3 {
  margin: 0 0 0.5rem;
  color: #003479;
  font-family: var(--font-heading);
font-weight: 600;
}

.mahjong-page .mj-pathway-card__body > p {
  margin: 0 0 0.5rem;
  color: #3d4a57;
  font-size: 0.98rem;
  line-height: 1.5;
}

.mahjong-page .mj-pathway-card__cta {
  align-self: center;
  margin-top: auto;
  padding-top: 0.85rem;
  width: 100%;
  max-width: 21.5rem;
}

.mahjong-page .mj-feature-panel {
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.7);
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 16px 32px -22px rgba(0, 30, 77, 0.4);
}

.mahjong-page .mj-feature-panel__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.15rem, 3vw, 2.2rem);
}

.mahjong-page .mj-feature-panel__viva {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: clamp(16rem, 36vw, 22rem);
  margin: 0;
  padding: clamp(0.5rem, 2vw, 1.25rem);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(247, 231, 180, 0.45), transparent 58%),
    linear-gradient(165deg, #e8f6f5 0%, #fdf9f3 100%);
}

.mahjong-page .mj-feature-panel__viva img {
  display: block;
  width: min(100%, clamp(15rem, 38vw, 24rem));
  max-height: min(72vh, 28rem);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

.mahjong-page .mj-activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem) clamp(1.1rem, 2.5vw, 1.75rem);
  list-style: none;
  max-width: 100%;
}

.mahjong-page .mj-activity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.1rem 0.85rem 1.15rem;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 1rem;
  background: #fffdf8;
  text-align: center;
}

.mahjong-page .mj-activity-card__num {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  margin: 0 auto 0.65rem;
  place-items: center;
  border-radius: 50%;
  background: #003479;
  color: #f7e7b4;
  font-size: 0.9rem;
  font-weight: 800;
}

.mahjong-page .mj-activity-card__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(2 * 1.28 * var(--font-size-h4, 1.111rem));
  margin: 0 0 0.5rem;
  color: var(--color-heading, #003479);
  font-family: var(--font-heading), "Playfair Display", Georgia, serif;
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h3, 600);
  line-height: 1.28;
  text-wrap: balance;
}

.mahjong-page .mj-activity-card__title-line {
  display: block;
}

.mahjong-page .mj-activity-card p {
  margin: 0;
  color: #3d4a57;
  font-size: var(--font-size-secondary, 0.889rem);
  line-height: 1.45;
  text-wrap: balance;
}

.mahjong-page .mj-lessons__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mahjong-page .mj-lesson-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.1rem, 2.5vw, 1.65rem);
  border: 2px solid rgba(212, 175, 55, 0.55);
  border-radius: 1.35rem;
  background: #fffdf8;
}

.mahjong-page .mj-lesson-card h3 {
  margin: 0 0 0.5rem;
  color: #003479;
  font-family: var(--font-heading);
}

.mahjong-page .mj-lesson-card > p {
  margin: 0;
  flex: 1;
  color: #3d4a57;
  line-height: 1.5;
}

.mahjong-page .mj-lesson-card__cta {
  align-self: center;
  margin-top: auto;
  padding-top: 1rem;
}

.mahjong-page .mj-events {
  background: #e9f3f1 !important;
}

.mahjong-page .mj-events__title {
  color: #001e4d;
}

.mahjong-page .mj-events__lead {
  color: #1e3344;
}

.mahjong-page .mj-events__note {
  margin: 0.65rem auto 0;
  max-width: 36rem;
  color: #003479;
  font-size: 0.88rem;
  font-style: italic;
  opacity: 0.88;
}

.mahjong-page .mj-events__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mahjong-page .mj-event-card {
  padding: clamp(1rem, 2.2vw, 1.2rem) clamp(1.05rem, 2.4vw, 1.25rem);
  border: 2px solid rgba(212, 175, 55, 0.45);
  border-radius: 1rem;
  background: linear-gradient(180deg, #fffdf8 0%, #f5efe3 100%);
  box-shadow: 0 12px 28px -22px rgba(0, 30, 77, 0.45);
}

.mahjong-page .mj-event-card__kind {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 246, 216, 0.92);
  color: #5c4510;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mahjong-page .mj-event-card h3 {
  margin: 0 0 0.45rem;
  color: #003479;
  font-family: var(--font-heading);
font-weight: 600;
}

.mahjong-page .mj-event-card p {
  margin: 0;
  color: #2f3d4a;
  font-size: 0.94rem;
  line-height: 1.48;
}

.mahjong-page .mj-partners__grid,
.mahjong-page .mj-info-pair__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mahjong-page .mj-support-card {
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 10px 24px -18px rgba(0, 30, 77, 0.35);
}

.mahjong-page .mj-support-card--compact {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.mahjong-page .mj-support-card h3 {
  margin: 0 0 0.55rem;
  color: #003479;
  font-family: var(--font-heading);
}

.mahjong-page .mj-support-card p {
  margin: 0 0 0.65rem;
  color: #3d4a57;
  line-height: 1.5;
}

.mahjong-page .mj-support-card p:last-child {
  margin-bottom: 0;
}

.mahjong-page .mj-quote {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid #d4af37;
  border-radius: 0.5rem;
  background: rgba(247, 231, 180, 0.25);
  color: #003479;
  font-size: 0.95rem;
  font-weight: 700;
}

.mahjong-page .mj-partners__cta-wrap {
  margin: 1.15rem 0 0;
  text-align: center;
}

.mahjong-page .mj-inquiry {
  background:
    radial-gradient(80% 100% at 50% -15%, rgba(255, 255, 255, 0.88) 0%, transparent 52%),
    radial-gradient(55% 75% at 92% 88%, rgba(65, 192, 201, 0.22) 0%, transparent 58%),
    radial-gradient(48% 70% at 8% 92%, rgba(0, 52, 121, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #f4fbfc 0%, #e6f6f8 42%, #d4eff2 72%, #c5e9ed 100%) !important;
}

.mahjong-page .mj-inquiry__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.mahjong-page .mj-inquiry__contact {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.mahjong-page .mj-inquiry__contact a {
  color: #003479;
}

.mahjong-page .mj-inquiry__form-wrap {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 2px solid rgba(212, 175, 55, 0.55);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 14px 28px -20px rgba(0, 30, 77, 0.4);
}

.mahjong-page .mj-inquiry__form-title {
  margin: 0 0 0.85rem;
  color: #003479;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.mahjong-page .mj-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #003479;
}

.mahjong-page .mj-field input,
.mahjong-page .mj-field select,
.mahjong-page .mj-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0, 52, 121, 0.25);
  border-radius: 0.65rem;
  background: #fff;
  color: #243341;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
}

.mahjong-page .mj-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #3d4a57;
}

.mahjong-page .mj-form-flash {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.92rem;
}

.mahjong-page .mj-form-flash--success {
  background: #e4f5ea;
  color: #0f5132;
}

.mahjong-page .mj-form-flash--error {
  background: #fdebec;
  color: #842029;
}

.mahjong-page .mj-form-fallback {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .mahjong-page .mj-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mahjong-page .mj-events__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mahjong-page .mj-ways__grid,
  .mahjong-page .mj-lessons__grid,
  .mahjong-page .mj-partners__grid,
  .mahjong-page .mj-info-pair__grid,
  .mahjong-page .mj-feature-panel__top,
  .mahjong-page .mj-inquiry__grid {
    grid-template-columns: 1fr;
  }

  .mahjong-page .mj-events__grid {
    grid-template-columns: 1fr;
  }

  .mahjong-page .mj-card-cta {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .mahjong-page .mj-activity-grid {
    grid-template-columns: 1fr;
  }
}
