.member-guide-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #cbd9ee;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #edf4ff 100%);
  box-shadow: 0 12px 30px rgba(7, 31, 80, 0.08);
}

.member-guide-banner-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #071f50;
  color: #fff;
  font-size: 18px;
}

.member-guide-banner small,
.member-guide-copy > small {
  color: #8a5f00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-guide-banner strong {
  display: block;
  margin-top: 3px;
  color: #071f50;
  font-size: 20px;
}

.member-guide-banner p {
  margin: 4px 0 0;
  color: #52627a;
  font-size: 14px;
}

.member-guide-inline {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid #a9bddb;
  border-radius: 9px;
  background: #f5f8fd;
  color: #082867;
  font-weight: 900;
  cursor: pointer;
}

.member-guide-inline:hover,
.member-guide-inline:focus-visible {
  border-color: #082867;
  background: #eaf1fb;
}

.member-guides-intro {
  max-width: 760px;
}

.member-guides-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.member-guide-card {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  overflow: hidden;
  padding: 0 !important;
  border-color: #d7e1ef !important;
  background: #fff;
}

.member-guide-video-wrap {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 480px;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background: #071f50;
}

.member-guide-video-wrap video {
  display: block;
  width: min(100%, 270px);
  max-width: 100%;
  max-height: 500px;
  border-radius: 14px;
  background: #020817;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.member-guide-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.member-guide-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #dbe5f3;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.member-guide-copy h3 {
  margin: 7px 0 14px;
  color: #071f50;
  font-size: 25px;
}

.member-guide-copy ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #52627a;
  line-height: 1.5;
}

.member-guide-copy li + li {
  margin-top: 8px;
}

.member-guide-copy .primary {
  align-self: flex-start;
}

.member-guide-rule {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #c9e4dc;
  border-radius: 10px;
  background: #edf9f5;
  color: #31594f;
}

.member-guide-rule strong {
  color: #0b806e;
}

.member-help-fab {
  display: none;
}

body.guest-mode.club-view-ayuda #ayudaView {
  display: block !important;
}

body.guest-mode.club-view-ayuda #inicioView {
  display: none !important;
}

@media (max-width: 1180px) {
  .member-guides-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 950px) {
  .member-help-fab {
    position: fixed;
    right: 16px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    z-index: 84;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #0b806e;
    box-shadow: 0 10px 28px rgba(7, 31, 80, 0.28);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
  }
}

@media (max-width: 680px) {
  body.club-view-ayuda main,
  #ayudaView,
  .member-guides-grid,
  .member-guide-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.club-view-ayuda main {
    padding-right: 10px !important;
    padding-left: 10px !important;
    overflow-x: hidden !important;
  }

  .member-guide-banner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .member-guide-banner .primary {
    grid-column: 1 / -1;
    width: 100%;
  }

  .member-guide-banner p {
    font-size: 13px;
  }

  .member-guide-card {
    grid-template-columns: 1fr;
  }

  .member-guide-video-wrap {
    min-height: 0;
    padding: 16px;
  }

  .member-guide-video-wrap video {
    width: min(100%, 300px);
    max-height: 520px;
  }

  .member-guide-copy {
    padding: 22px 18px;
  }

  .member-guide-copy h3 {
    padding-right: 48px;
    font-size: 23px;
  }

  .member-guide-number {
    top: 18px;
    right: 16px;
    font-size: 44px;
  }

  .member-guide-copy .primary {
    width: 100%;
  }

  .member-guide-rule {
    align-items: flex-start;
    flex-direction: column;
  }
}
