/* CRT · Sección Modalidades y ajuste de Quiénes somos */
#club .crt-about-layout {
  display: flow-root;
}
#club .crt-about-copy { min-width: 0; }
#club .crt-about-copy .lead {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.15vw, 16px);
  line-height: 1.68;
}
#club .crt-about-copy .lead:last-child { margin-bottom: 0; }
#club .crt-about-photo {
  float: right;
  display: block;
  width: min(43%, 465px);
  height: auto;
  min-height: 0;
  object-fit: contain;
  margin: 0 0 18px clamp(22px, 3.5vw, 44px);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(10, 49, 72, .14);
}
#modalidades .crt-mode-intro { max-width: 770px; margin-top: 0; }
#modalidades .crt-mode-cards {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  align-items: stretch;
}
#modalidades .crt-mode-card {
  border: 1px solid #dce9eb;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(9, 39, 57, .1);
}
#modalidades .crt-mode-card > img {
  display: block;
  height: 187px;
  width: 100%;
  object-fit: contain;
  background: #e8f2f5;
}
#modalidades .crt-mode-card .inside {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px;
  text-align: left;
}
#modalidades .crt-mode-card h3 { font-size: 1.36rem; margin-bottom: 9px; }
#modalidades .crt-mode-card p { font-size: 14px; line-height: 1.72; flex: 1; }
#modalidades .crt-mode-btn {
  cursor: pointer;
  text-align: center;
  margin-top: 14px;
  padding: 12px 13px;
  border: 0;
  border-radius: 9px;
  background: #0b4269;
  color: #fff;
  font: 800 12px Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
#modalidades .crt-mode-btn:hover { background: #057f99; transform: translateY(-1px); }
#modalidades .crt-mode-btn:focus-visible,
#modalidades .crt-group-card a:focus-visible,
#modalidades .crt-mode-detail summary:focus-visible { outline: 3px solid #14abc5; outline-offset: 3px; }
#modalidades .crt-mode-details { display: grid; gap: 13px; margin-top: 30px; }
#modalidades .crt-mode-detail {
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5e4e8;
  box-shadow: 0 6px 24px rgba(14, 58, 78, .07);
  scroll-margin-top: 152px;
}
#modalidades .crt-mode-detail summary {
  cursor: pointer;
  padding: 19px 23px;
  font-weight: 800;
  color: #0b3e62;
  font-size: 1.08rem;
}
#modalidades .crt-mode-detail summary::marker { color: #1295b3; }
#modalidades .crt-mode-detail[open] summary { background: #e7f6f7; }
#modalidades .crt-mode-detail-inner { padding: 22px 25px 26px; }
#modalidades .crt-mode-detail-inner h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: #0a4165;
  margin: 0 0 16px;
}
#modalidades .crt-mode-detail-inner p { line-height: 1.8; color: #3a5b6b; margin: 0 0 16px; text-align: justify; }
#modalidades .crt-mode-detail-inner ul { padding-left: 22px; color: #3a5b6b; line-height: 1.75; }
#modalidades .crt-mode-detail[hidden] { display: none !important; }
#modalidades .crt-mode-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  margin: 0 0 12px;
}
#modalidades .crt-mode-story-text p:last-child { margin-bottom: 0; }
#modalidades .crt-mode-feature-photo {
  margin: 0;
  border: 6px solid #fff;
  box-shadow: 0 7px 26px rgba(10, 54, 72, .14);
  border-radius: 16px;
  overflow: hidden;
}
#modalidades .crt-mode-feature-photo img {
  width: 100%;
  height: auto;
  max-height: 340px;
  display: block;
  object-fit: contain;
  background: #e8f2f5;
}
#modalidades .crt-mode-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 24px 0 26px;
  align-items: stretch;
}
#modalidades .crt-mode-photo-strip[data-count="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#modalidades .crt-mode-photo-strip[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#modalidades .crt-mode-photo-strip figure {
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f2f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 17px rgba(10, 49, 72, .12);
}
#modalidades .crt-mode-photo-strip img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  background: #e8f2f5;
}
#modalidades .crt-indoor-challenge {
  background: #e4f8fa;
  border-left: 5px solid #0f9cb8;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 22px 0;
}
#modalidades .crt-indoor-challenge h4 { color: #0c4265; margin: 0 0 10px; font-size: 1.15rem; }
#modalidades .crt-indoor-challenge p { text-align: left; }
#modalidades .crt-indoor-challenge .crt-challenge-pending {
  background: #0d4867;
  border-radius: 9px;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 13px 17px;
  text-transform: uppercase;
}
#modalidades .crt-indoor-challenge small { display: block; margin-top: 10px; color: #537382; }
#modalidades .crt-groups { margin-top: 75px; padding-top: 36px; border-top: 2px solid #c8e0e5; }
#modalidades .crt-groups .lead { max-width: 780px; }
#modalidades .crt-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 17px;
  margin-top: 30px;
}
#modalidades .crt-group-card {
  background: #fff;
  padding: 24px;
  border: 1px solid #d8e5e9;
  border-radius: 16px;
  border-top: 5px solid #118aab;
  display: flex;
  flex-direction: column;
  box-shadow: 0 7px 24px #102e4a12;
}
#modalidades .crt-group-card:nth-child(3n + 2) { border-top-color: #0aa6a4; }
#modalidades .crt-group-card:nth-child(3n) { border-top-color: #f5c441; }
#modalidades .crt-group-card h4 { color: #0c3958; margin: 0 0 12px; font-size: 1.21rem; }
#modalidades .crt-group-card p { line-height: 1.68; color: #476779; margin: 0 0 14px; flex: 1; }
#modalidades .crt-group-card .crt-group-pattern { font-size: .87rem; color: #476779; margin-bottom: 17px; }
#modalidades .crt-group-card a {
  display: inline-block;
  align-self: flex-start;
  color: #086d86;
  font-weight: 800;
  font-size: .87rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#horarios { scroll-margin-top: 150px; }
@media (max-width: 980px) {
  #modalidades .crt-mode-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #modalidades .crt-groups-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  #modalidades .crt-mode-cards,
  #modalidades .crt-groups-grid { grid-template-columns: 1fr; }
  #modalidades .crt-mode-card > img { height: 215px; }
  #modalidades .crt-mode-story { grid-template-columns: 1fr; gap: 15px; }
  #modalidades .crt-mode-feature-photo img { height: auto; max-height: 380px; }
  #modalidades .crt-mode-photo-strip,
  #modalidades .crt-mode-photo-strip[data-count="4"],
  #modalidades .crt-mode-photo-strip[data-count="2"] { grid-template-columns: 1fr; }
  #modalidades .crt-mode-photo-strip img { height: auto; max-height: 380px; }
  #modalidades .crt-mode-detail-inner { padding: 19px 16px 23px; }
  #modalidades .crt-mode-detail summary { padding: 16px 17px; }
  #club .crt-about-layout { display: flex; flex-direction: column; }
  #club .crt-about-copy { order: 1; }
  #club .crt-about-photo { order: 2; float: none; width: 100%; height: auto; margin: 24px 0 0; }
  #club .crt-about-copy .lead { font-size: 15px; }
}
