/* Klubber */

.team-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

a.team-item {
    border: 1px solid #EBEBEB;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: #000323;
    font-weight: 600;
    border-radius: 6px;
    transition: .1s ease;
}

a.team-item:hover {
    border-color: #2AACE3;
    background-color: rgba(42, 172, 227, 0.04);
}

a.team-item img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.introText {
    margin-top: 5px;
    border-bottom: solid 1px #EBEBEB;
    padding-bottom: 20px;
    font-size: 17px;
}

.teamOverviewHeader {
    position: relative;
    background-color: #f7f7f7;
    min-height: 240px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 20px;
    overflow: hidden;
}

.teamOverviewHeader:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.teamOverviewHeader .teamOverviewHeader__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
    z-index: 2;
}

.teamOverviewHeader__meta {
    position: absolute;
    bottom: 20px;
    z-index: 5;
    color: white;
    opacity: 0.7;
    font-size: 12px;
    line-height: 130%;
}

h2.teamOverviewHeader__title,
p.teamOverviewHeader__description {
    margin: 0;
    text-align: center;
}

h2.teamOverviewHeader__title {
    font-weight: bold;
    font-size: 35px;
    line-height: 130%;
}

h1.team__section__title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

section.team__section {
    padding: 30px 20px;
}

@media (max-width:1024px) {
    .team-items {
        grid-template-columns: repeat(3, 1fr);
    }

    section.team__section {
        padding: 20px 0px;
    }
}

@media (max-width:767px) {
    .team-items {
        grid-template-columns: repeat(2, 1fr);
    }

    a.team-item {
        font-size: 12px;
        padding: 5px;
    }

    p.teamOverviewHeader__description {
        font-size: 16px;
    }

    .teamOverviewHeader {
        border-radius: 6px;
    }

    h2.teamOverviewHeader__title {
        font-size: 30px;
    }
}

/* Klub */

.teamHeader {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 240px;
    max-height: 240px;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    z-index: 5;
}

.teamHeader:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.teamHeader__inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: white;
    gap: 20px;
}

.teamHeader__logo {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    border: solid 1px #ddd;
}

.teamHeader__logo picture,
.teamHeader__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1.teamHeader__title {
    margin: 0;
    font-size: 35px;
    font-weight: bold;
    line-height: 110%;
}

.team__section p,
.team__section ul li {
    font-size: 17px;
}

.team__section h1:not(.team__section__title) {
    font-size: 30px;
    line-height: 130%;
    margin-bottom: 0;
    border-bottom: solid 1px #EBEBEB;
    padding-bottom: 20px;
    font-weight: bold;
}

.team__section h2,
.team__section h3,
.team__section h4 {
    font-weight: bold;
    line-height: 130%;
}

span.teamHeader__meta__updated {
    font-size: 12px;
    line-height: 130%;
    opacity: .7;
}

h3.news__section__related__title {
    font-weight: bold;
    font-size: 25px;
    border-bottom: solid 1px #EBEBEB;
    padding-bottom: 10px;
    margin-top: 40px;
}

@media (max-width:767px) {
    .teamHeader__logo {
        width: 60px;
        height: 60px;
    }

    h1.teamHeader__title {
        font-size: 30px;
    }

    .teamHeader {
        border-radius: 6px;
    }
}

/* Sub Navigation */

ul.teamSubNav {
    position: relative;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    margin-top: -50px;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.08);
    padding: 5px;
    z-index: 10;
    width: 100%;
    height: auto;
}

ul.teamSubNav li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

ul.teamSubNav li a {
    text-decoration: none;
    color: #000323;
    font-weight: 600;
    padding: 12px;
    border-radius: 7px;
    width: 100%;
    text-align: center;
    font-size: 16px;
    transition: .1s ease;
}

ul.teamSubNav li a:hover {
    background-color: rgba(42, 172, 227, 0.2);
}

ul.teamSubNav li.active a {
    background-color: #2AACE3;
    color: white;
}

@media (max-width:767px) {
    ul.teamSubNav {
        overflow: auto;
        flex-wrap: nowrap;
    }

    ul.teamSubNav li {
        flex-shrink: 0;
        width: auto;
    }

    ul.teamSubNav li a {
        padding: 12px 20px;
    }
}

/* Spillertruppen */

h2.teamTitle {
    font-size: 30px;
    line-height: 130%;
    font-weight: bold;
    border-bottom: solid 1px #EBEBEB;
    padding-bottom: 20px;
}

.teamPlayers {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

.teamPlayer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.teamPlayer:not(:last-child) {
    border-bottom: solid 1px #EBEBEB;
}

.teamPlayer__country {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-left: auto;
    padding: 3px;
    background-color: white;
    border: solid 1px #EBEBEB;
    border-radius: 100px;
}

h3.teamPlayer__name {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 130%;
}

p.teamPlayer__position {
    margin: 0;
    font-size: 14px;
    opacity: 0.5;
    font-weight: 500;
}

.teamPlayer__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 100px;
    border: solid 1px #EBEBEB;
    font-size: 14px;
    font-weight: bold;
    line-height: 100%;
}

@media (max-width:767px) {
    h3.teamPlayer__name {
        font-size: 16px;
    }
}