/* Putnik-M: trainer cards alignment 1.0.0. Scoped to #coaches only. */
#coaches > .w > .grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr;
  gap: 24px !important;
  align-items: stretch !important;
}
#coaches > .w > .grid > .c.tr {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  height: 100%;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #dce1e8;
  border-radius: 18px;
  background: #fff;
  color: #252a32;
  box-shadow: 0 6px 22px #20283208;
}
#coaches .c.tr > .ph {
  width: 100%;
  height: auto !important;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 0 18px !important;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #29303a, #46515e);
  color: #fff;
  font-size: 54px;
  line-height: 1;
}
#coaches .c.tr > .ph > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
#coaches .c.tr > h3 {
  margin: 0 0 12px !important;
  min-height: 4.05em;
  font-size: 20px;
  line-height: 1.35;
  color: #252a32;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
#coaches .c.tr > p {
  margin: 0 0 18px !important;
  font-size: 14px;
  line-height: 1.65;
  color: #626b77;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-height: none;
}
#coaches .c.tr > .pmb-trainer-details,
#coaches .c.tr > .pms-trainer {
  width: 100%;
  margin: auto 0 0 !important;
  padding-top: 4px;
  flex: 0 0 auto;
  box-sizing: border-box;
}
#coaches .c.tr > .pms-trainer[hidden],
#coaches .c.tr > .pmb-trainer-details[hidden] {
  display: none !important;
}
#coaches .c.tr > .pmb-trainer-details > summary,
#coaches .c.tr > .pms-trainer > summary {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 66px;
  box-sizing: border-box;
  padding: 12px 32px 12px 40px !important;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #df2428;
  color: #fff;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  list-style: none;
  cursor: pointer;
}
#coaches .c.tr > .pmb-trainer-details > summary::-webkit-details-marker,
#coaches .c.tr > .pms-trainer > summary::-webkit-details-marker {
  display: none;
}
#coaches .c.tr > .pmb-trainer-details > summary > svg,
#coaches .c.tr > .pms-trainer > summary > svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  margin: 0 !important;
}
#coaches .c.tr > .pmb-trainer-details > summary::after {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 16px;
}
#coaches .c.tr > .pmb-trainer-details > summary:focus-visible,
#coaches .c.tr > .pms-trainer > summary:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  #coaches > .w > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
  #coaches .c.tr > h3 { min-height: 2.7em; font-size: 22px; }
  #coaches .c.tr > .pmb-trainer-details > summary,
  #coaches .c.tr > .pms-trainer > summary { font-size: 14px; }
}
@media (max-width: 600px) {
  #coaches > .w > .grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto;
    gap: 20px !important;
  }
  #coaches > .w > .grid > .c.tr { height: auto; padding: 20px; }
  #coaches .c.tr > .ph { aspect-ratio: 4 / 3 !important; margin-bottom: 16px !important; }
  #coaches .c.tr > h3 { min-height: 0; font-size: 23px; }
  #coaches .c.tr > p { font-size: 15px; margin-bottom: 20px !important; }
  #coaches .c.tr > .pmb-trainer-details > summary,
  #coaches .c.tr > .pms-trainer > summary { min-height: 56px; font-size: 14px; }
}
