@font-face {
    font-family: 'MaximusPL';
    src: url('https://baltykap.pl/wp-content/uploads/fonts/MaximusPL-Regular.woff2') format('woff2'),
		  url('https://baltykap.pl/wp-content/uploads/fonts/MaximusPL-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* GŁÓWNY KONTENER */
.yb-main-container {

}

.yb-list-section {
	margin-bottom: 60px;
}

.yb-list-section:last-child {
	margin-bottom: 0;
}

/* NAGŁÓWKI */
.yb-section-header {
    font-family: "AardvarkBold", sans-serif;
    font-size: 24px;
    font-weight: normal;
    margin: 0 0 20px 20px;
    color: #091e42;
    font-weight: 400;
}

/* TRENERZY */
.yb-trenerzy-list {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.yb-trener-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    padding: 20px 20px;
    min-height: 487px;
	-webkit-box-shadow: 0 4px 33px 0 rgba(149, 200, 255, .29);
	box-shadow: 0 4px 33px 0 rgba(149, 200, 255, .29);
}

.yb-trener-img-wrapper {
    width: 250px;
    height: 360px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 15px;
}

.yb-trener-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.yb-trener-name {
	font-family: "Roboto Bold", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.yb-trener-info {

}

.yb-trener-info svg {
    width: 16px;
    height: 16px;
}

/* LISTA ZAWODNIKÓW */
.yb-player-row {
    display: flex;
	flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    margin: 0 0 14px 0;
    border-radius: 12px;
    padding: 8px 20px;
    min-height: 48px;
    -webkit-box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .141);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, .141);
    transition: 0.4s ease;
}

.yb-player-row:hover, .yb-player-row.birthday:hover {
    background: #d7eaff;
}

.yb-player-identity {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 15px;
}

.yb-player-num {
    font-size: 26px;
    line-height: 1.2em;
    color: #0078bc;
    font-family: "MaximusPL", Sans-serif;
    font-weight: 400;
    min-width: 38px;
    text-align: right;
}

.yb-player-name {
	font-family: "Roboto Regular", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.yb-player-date {
	font-size: 14px;
    opacity: .6;
}

.yb-player-birthday {
    color: #ff0000;
    font-family: 'AardvarkBold', serif;
}

.yb-player-row.birthday {
	background: #fff3cf;
}

@media (max-width: 767px) {
	.yb-section-header {
		font-size: 20px;
		text-align: center;
	}
	.yb-trenerzy-list {
		justify-content: center;
	}
	.yb-player-row {
		padding: 8px 10px;
	}
	.yb-player-num {
		font-size: 16px;
		min-width: 22px;
	}
	.yb-player-name {
		font-size: 14px;
	}
	.yb-player-identity {
		column-gap: 10px;
	}
	.yb-player-date {
		font-size: 12px;
	}
	.yb-player-row.birthday {
        flex-direction: column;
        align-items: flex-start;
	}
	.yb-player-row.birthday .yb-player-birthday {
        display: flex;
        justify-content: center;
        width: 100%;
	}
}

@media (min-width: 767px) and (max-width: 1200px) {
	.yb-section-header {
		text-align: center;
		font-size: 20px;
	}
	.yb-trenerzy-list {
		justify-content: center;
	}
	.yb-player-num {
		font-size: 20px;
		min-width: 28px;
	}
}

