.coach-actions .coach-social-image {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  pointer-events: none;
}

.bookshop-coach-section .coach-action.coach-action-image,
.video-profile .coach-action.coach-action-image {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.bookshop-coach-section
  .coach-action.coach-action-image:is(:hover, :focus-visible),
.video-profile .coach-action.coach-action-image:is(:hover, :focus-visible) {
  background: transparent;
  outline: 2px solid #4986ce;
  outline-offset: 2px;
}

.stars button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 32px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.stars button:focus-visible,
.coach-action:focus-visible,
.coach-video-link:focus-visible {
  outline: 2px solid #fe951c;
  outline-offset: 3px;
}

.rating-feedback {
  margin: 10px 0 0;
  color: #b9dcff;
  font-size: 0.875rem;
  line-height: 1.5;
}

.rating-feedback:empty {
  display: none;
}

.bookshop-coach-section {
  padding: 28px 0;
  scroll-margin-top: 104px;
  background: #0c111a;
  color: #f5f7fb;
}

.bookshop-coach-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  max-width: 1140px;
  margin: auto;
}

.bookshop-coach-section .coach-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #2b3b56;
  border-radius: 20px;
  background: #101620;
  scroll-margin-top: 112px;
}

.bookshop-coach-section .coach-media {
  position: relative;
  height: auto;
}

.bookshop-coach-section .coach-img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  object-position: center 22%;
}

.bookshop-coach-section .rating-box {
  position: static;
  margin: 10px 14px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #181f2b;
}

.bookshop-coach-section .rating-display {
  color: #fe951c;
  font-weight: 800;
}

.bookshop-coach-section .vote-count {
  font-size: 0.82rem;
  color: #b5c0d1;
}

.bookshop-coach-section .stars {
  display: flex;
  gap: 0;
}

.bookshop-coach-section .stars i {
  color: #aab7ca;
}

.bookshop-coach-section .stars i.active {
  color: #fe951c;
}

.bookshop-coach-section .coach-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
}

.bookshop-coach-section .coach-kicker {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 30px;
  color: #061435;
  background: #d7e4f5;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bookshop-coach-section h3 {
  margin: 8px 0 4px;
  color: #f5f7fb;
  font-size: 1.5rem;
}

.bookshop-coach-section .coach-role {
  margin: 0;
  min-height: 45px;
  color: #b5c0d1;
  font-weight: 700;
  line-height: 1.4;
}

.bookshop-coach-section .coach-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.bookshop-coach-section .coach-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #33445f;
  border-radius: 10px;
  color: #fff;
  background: #162c4e;
  font-size: 1.05rem;
  transition: background 0.2s ease;
}

.bookshop-coach-section .coach-action-whatsapp {
  background: #126a3d;
}

.bookshop-coach-section .coach-action-instagram {
  background: #92346c;
}

.bookshop-coach-section .coach-action:hover {
  background: #0075ff;
}

.coach-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #0075ff;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.coach-video-link:hover {
  background: #005bd0;
  color: #fff;
}

.coach-sign-in {
  display: inline-block;
  margin-top: 8px;
  color: #b9dcff;
  font-size: 0.875rem;
}

.coach-sign-in[hidden] {
  display: none;
}

.coach-card-juan .coach-media {
  height: auto;
}

.coach-card-juan .coach-media::after {
  display: none;
}

.coach-card-juan .coach-img {
  height: 210px;
}

.coach-card-juan .rating-box {
  position: static;
  margin: 12px 18px 0;
}

.bookshop-coach-section .rating-feedback {
  margin-top: 8px;
  font-size: 0.8125rem;
}

@media (min-width: 992px) and (max-height: 760px) {
  .bookshop-coach-section {
    padding: 12px 0;
  }

  .bookshop-coach-section .coach-img {
    height: 230px;
  }

  .bookshop-coach-section .coach-copy {
    padding: 12px;
  }

  .bookshop-coach-section .rating-box {
    margin-top: 8px;
  }

  .bookshop-coach-section .coach-kicker {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .bookshop-coach-section .coach-actions {
    padding-top: 8px;
  }

  .bookshop-coach-section .coach-sign-in {
    margin-top: 6px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .bookshop-coach-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bookshop-coach-section {
    padding: 24px 0;
  }

  .bookshop-coach-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .bookshop-coach-section .coach-card {
    width: 100%;
    max-width: 400px;
    margin: auto;
  }

  .stars {
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bookshop-coach-section .coach-action {
    transition: none;
  }
}
