body.club-content-modal-open {
  overflow: hidden;
}

.club-content-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
}

.club-content-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 41, 0.68);
  backdrop-filter: blur(5px);
}

.club-content-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  max-height: min(90dvh, 980px);
  overflow: hidden;
  border: 1px solid #dbe5f2;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(7, 20, 41, 0.3);
}

.club-content-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid #e6ecf4;
}

.club-content-modal__identity {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  min-width: 0;
}

.club-content-modal__logo {
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: auto;
  max-width: min(240px, 32vw);
  max-height: 56px;
  object-fit: contain;
}

.club-content-modal__header h2 {
  min-width: 0;
  margin: 0;
  color: #0f2a52;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.club-content-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #eef4fb;
  color: #0f2a52;
  font: inherit;
  font-size: 1.45rem;
  cursor: pointer;
}

.club-content-modal__close:focus-visible,
.club-content-modal__scroll:focus-visible {
  outline: 3px solid #0f2a52;
  outline-offset: -3px;
  box-shadow: inset 0 0 0 5px var(--storefront-action-focus);
}

.club-content-modal__scroll {
  min-height: 0;
  padding: clamp(22px, 4vw, 42px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.club-content-modal__body {
  width: min(100%, 780px);
  margin: 0 auto;
}

.club-content-modal__body img {
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 720px) {
  .club-content-modal {
    padding: 12px;
  }

  .club-content-modal__dialog {
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }

  .club-content-modal__header {
    padding: 14px 16px;
  }

  .club-content-modal__logo {
    max-width: 34vw;
    max-height: 42px;
  }

  .club-content-modal__scroll {
    padding: 20px 16px 28px;
  }
}
