/* Sportolói adatlap – önálló, verziózott kártyastílus. */
.ath-profile-blocks {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  min-width: 0;
}
.ath-profile-blocks > details.ath-fold {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 9px;
  min-width: 0;
  overflow: hidden;
}
.ath-profile-blocks > details.ath-fold > summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  min-height: 60px;
  padding: 16px 19px;
  margin: 0;
  list-style: none;
  cursor: pointer;
  color: #232731;
  background: #fff;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}
.ath-profile-blocks > details.ath-fold > summary::-webkit-details-marker { display: none; }
.ath-profile-blocks > details.ath-fold > summary::marker { content: ''; }
.ath-profile-blocks > details.ath-fold > summary::after { content: none; }
.ath-fold-icon, .ath-fold-arrow { display: block; width: 22px; height: 22px; flex: 0 0 22px; color: #591b2b; }
.ath-fold-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ath-fold-arrow { width: 18px; height: 18px; flex-basis: 18px; color: #591b2b; }
.ath-profile-blocks > details.ath-fold[open] > summary { background: #f9e9ed; border-bottom: 1px solid #e4d7db; color: #591b2b; }
.ath-profile-blocks > details.ath-fold[open] > summary .ath-fold-arrow { transform: rotate(180deg); }
.ath-profile-blocks > details.ath-fold > summary:hover { background: #faf2f4; }
.ath-profile-blocks > details.ath-fold > summary:focus-visible { outline: 2px solid #b72b40; outline-offset: -3px; border-radius: 8px; }
.ath-profile-blocks > details.ath-fold[id] { scroll-margin-top: 80px; }
.ath-profile-blocks > details.ath-fold .ath-details { grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); }
.ath-profile-blocks > details.ath-fold .ath-details dd { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .ath-profile-blocks { gap: 10px; }
  .ath-profile-blocks > details.ath-fold > summary { min-height: 56px; padding: 14px; gap: 10px; }
}

/* Compact, responsive subcards inside the existing Alapadatok accordion. */
#profile-basics .ath-basics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 370px), 1fr));
  gap: 14px;
  max-width: 1120px;
  justify-content: center;
  justify-items: center;
  margin-inline: auto;
  padding: 18px;
  align-items: start;
  min-width: 0;
}
#profile-basics .ath-basic-card {
  width: 100%;
  max-width: 540px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
  min-width: 0;
  container-type: inline-size;
  overflow: hidden;
}
#profile-basics .ath-basic-card > h2 {
  margin: 0;
  padding: 12px 15px;
  font-size: 15px;
  color: #591b2b;
  background: #faf6f7;
  border-bottom: 1px solid #e8e1e3;
}
#profile-basics .ath-basic-card > .pad { padding: 15px; }
#profile-basics .ath-basic-card .ath-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
}
#profile-basics .ath-basic-card .ath-details > div { min-width: 0; }
#profile-basics .ath-basic-card .ath-details dd { overflow-wrap: anywhere; }
#profile-basics .ath-school-history-title {
  font-size: 13px;
  color: #591b2b;
  padding: 0 15px 9px;
  margin: 0;
}
#profile-basics .ath-basic-card .scroll { max-width: 100%; overflow-x: auto; }
#profile-basics .ath-basic-card table { white-space: normal; }
#profile-basics .ath-basic-card th, #profile-basics .ath-basic-card td { padding: 10px 12px; overflow-wrap: anywhere; }
@container (max-width: 255px) {
  #profile-basics .ath-basic-card .ath-details { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  #profile-basics .ath-basics-grid { padding: 10px; gap: 10px; }
  #profile-basics .ath-basic-card > .pad { padding: 12px; }
  #profile-basics .ath-basic-card .ath-details { column-gap: 12px; }
}
@container (max-width: 420px) {
  #profile-basics .ath-contact-card .ath-details > div:nth-child(n+3) { grid-column: 1 / -1; }
  #profile-basics .ath-basic-card table { min-width: 350px; }
  #profile-basics .ath-basic-card th { white-space: nowrap; }
}
