.athlete-card:hover {
	cursor:pointer;
}

.athlete-photo img {
	width:100%;
	aspect-ratio: 3 / 4;
    object-fit: cover;
}

.athlete-photo-bottom {
	content:"";
	width:100%;
	height:3px;
	background-color:var(--accent);
}

.athlete-info {
	padding:1rem;
	background-color:var(--light);
}

h3.athlete-name {
	margin:0;
}

.athlete-popup {
    display: none;
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.athlete-popup-content {
    background: #fff;
    padding: 0 0 1.5rem 0;
    border-radius: 4px;
    max-width: 768px;
    width: 90%;
    position: relative;
	max-height: 80svh;
    overflow-y: scroll;
	-ms-overflow-style: none;
    scrollbar-width: none;
}

.athlete-popup-content:before {
	content: "";
    width: 100%;
    height: 100px;
    background-color: var(--light);
    position: absolute;
    top: 0;
    left: 0;
}

.athlete-popup-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.athlete-popup-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
}

.athlete-popup-title {
    margin-top: 0;
	font-weight:600;
	margin-bottom:0;
	padding:0 1rem;
}

.athlete-popup-text {
	padding:0 1.5rem;
}

.athlete-popup-text ul {
	margin-bottom:0;
	padding-left:1.5rem;
}

.athlete-popup-text ul li{
	margin-bottom:.35rem;
}

.row.athlete-row {
    row-gap: 2rem;
}

.athlete-popup-header {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 30px 0 0;
    margin-bottom: 1rem;
	z-index:10;
	position:relative;
	text-align:center;
	gap:1rem;
}
	

.athlete-popup-photo {
	max-height: 140px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: auto;
	border-radius:200px;
}

@media (min-width:992px) {

.athlete-popup-close {
        position: fixed;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
    font-size: 3.5rem;
    color: #fff;
    }

.athlete-popup-header {
    gap: 1rem;
}

.athlete-popup-photo {
	max-height: 180px;
}

.athlete-popup-content:before {
    height: 130px;
}

.athlete-popup-header {
    padding: 35px 0 0;
}

}

@media (max-width:767px) {
	.athlete-row .athlete-card .athlete-info h3 {
	font-size:clamp(1.2rem, 1.0737rem + 0.204vw, 1.4rem);
}
}