/*!
 * Theme CSS Styles
 */



 @font-face {
    font-family: 'Avenir Next LT Pro';
    src: url('fonts/AvenirNextLTPro-MediumCn.woff2') format('woff2'),
        url('fonts/AvenirNextLTPro-MediumCn.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next LT Pro';
    src: url('fonts/AvenirNextLTPro-Cn.woff2') format('woff2'),
        url('fonts/AvenirNextLTPro-Cn.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next LT Pro';
    src: url('fonts/AvenirNextLTPro-BoldCn.woff2') format('woff2'),
        url('fonts/AvenirNextLTPro-BoldCn.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Anton';
    src: url('fonts/Anton-Regular.woff2') format('woff2'),
        url('fonts/Anton-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



/* Allgemein */

html {
    font-size: 20px;
}

body {
    font-family: 'Avenir Next LT Pro';
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    color: #000;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Anton';
    font-weight: 400;
    color: #000;
    line-height: 1.1;
}

b, strong {
    font-weight: 500;
}

p {
    margin-bottom: 1.5em;
}

h1 {
    font-size: 3.4rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: 1.75px;
    padding-bottom: 15px;
}

h2 b,
h2 strong {
    color: #0C71C3;
    font-weight: 400;
}

h3 {
    font-size: 1.8em;
    letter-spacing: 1.5px;
    padding-bottom: 15px;
}

h3 b,
h3 strong {
    color: #0C71C3;
    font-weight: 400;
}

h4 {
    font-size: 1.65em;
    letter-spacing: 1.25px;
    padding-bottom: 15px;
}

h4 b,
h4 strong {
    color: #0C71C3;
    font-weight: 400;
}

a,
a:active,
a:visited,
a:focus,
a:focus-visible {
    color: #0C71C3;
    text-decoration: none;
}


/* Allgemein */

.button, .wp-element-button, #history-load-more {
    position: relative;
    display: inline-block;
    vertical-align: top;
    color: #0C71C3 !important;
    background: transparent;
    padding: .5rem 1.2rem .4rem !important;
    font-family: 'Anton';
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    border-radius: 0;
    text-align: center;
    border: 2px solid #0C71C3;
    overflow: hidden;
    transition: all 400ms ease-in-out;
    cursor: pointer;
}

.button:hover,
.wp-element-button:hover {
    color: #fff !important;
    background: #0C71C3 !important;
}


.single .button, .single .wp-element-button {
    color: #fff !important;
    background: #0C71C3 !important;
    border: 2px solid #0C71C3;
}

.single .button:hover, .single .wp-element-button:hover {
    color: #fff !important;
    background: #0C71C3;
    border: 2px solid #0C71C3;
}

.button.button-white {
    color: #0C71C3 !important;
    background: #fff !important;
    border: 2px solid #fff !important;
}

.button.button-white:hover {
    color: #0C71C3 !important;
    background: #fff !important;
    border: 2px solid #fff !important;
}

.section.has-background {
    background: #fff;
}

.has-top-padding.wp-block-columns {
    padding: 14vh 0 0;
}

.has-bottom-padding.wp-block-columns {
    padding: 0 0 14vh;
}

.has-both-padding.wp-block-columns {
    padding: 14vh 0;
}

.wp-block-group .wp-block-group {
    padding: 0;
}

:where(.wp-block-columns.has-background) {
    padding: 0;
    background: transparent !important;
    background: rgba(244, 244, 239, 0) !important;
}

.wp-block-columns {
    position: relative;
    width: 1300px;
    max-width: 90%;
    margin: 0 auto;
    z-index: 1;
}

.wp-block-columns .wp-block-columns {
    width: 100% !important;
    max-width: 100% !important;
}

.wp-block-columns.volle-breite,
.page-header-wrapper,
.link-boxen-home-section .container,
.news-slider-wrapper,
.ads-section,
.home-info-section,
.footer-wrapper,
.news-posts-section {
    width: 1400px;
    max-width: 90%;
    margin: 0 auto;
}

.wp-block-columns:not(:last-child) {
    margin-bottom: 8vh;
}

.wp-block-separator {
    border: none;
    border-top: 5px dotted;
    background-color: transparent;
    margin: 2em 0 1.5em !important;
    color: #0C71C3;
}

.single .wp-block-buttons  {
    margin: 1.5em 0;
}

.wp-block-table {
    margin-left: -.75em;
}

.wp-block-table td,
.wp-block-table th {
    border: none;
    padding: .5em .75em;
}

.wp-block-table tr:nth-child(even) {
    background: #fff;
}

.wp-block-table th {
    font-family: 'Anton';
    font-weight: 400;
    font-size: 1.65em;
    letter-spacing: 1.25px;
    color: #0C71C3;
}

.wp-block-table th span {
    font-family: 'Avenir Next LT Pro';
    font-size: .85rem;
    color: #000;
    display: block;
    line-height: 1;
    letter-spacing: 0;
}

#ticketpreise.wp-block-table td {
    padding: 1em .75em;
    font-size: .85rem;
    font-weight: 500;
}

#ticketpreise.wp-block-table thead {
    border-bottom: 3px dotted #eaeae6;
    vertical-align: top;
}

ul.wp-block-list {
    list-style-type: square;
    padding-left: 1.25em;
}

ul.wp-block-list:not(:last-child) {
    padding-bottom: 1.5em;
}

.section-title {
    text-align: center;
    margin-bottom: 2vh;
}

.section-title h2 {
    font-size: 2.4rem;
}

.cta-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 8vh;
}


/* Gutenberg Blocks Anpassungen */

.has-fc-wil-beige-background-color {
    background: #fff;
}



/* Contact Form 7 */

.wpcf7-form {
    background: #fff;
    padding: 2vw;
    border-radius: 10px;
}

.wpcf7-form input[type="submit"].wpcf7-submit {
    position: relative;
    display: inline-block;
    vertical-align: top;
    color: #fff !important;
    background: #0C71C3 !important;
    padding: .5rem 1rem .4rem !important;
    font-family: 'Anton';
    font-size: 1.4rem !important;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    border-radius: 0;
    text-align: center;
    border: 2px solid #0C71C3;
    overflow: hidden;
    transition: all 400ms ease-in-out;
    cursor: pointer;
    transform: translate(-50%, 0);
    left: 50%;
    margin-top: 25px;
    min-width: 200px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="password"],
.wpcf7-form input[type="search"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="range"],
.wpcf7-form input[type="date"], 
.wpcf7-form input[type="month"],
.wpcf7-form input[type="week"],
.wpcf7-form input[type="time"],
.wpcf7-form input[type="datetime"],
.wpcf7-form input[type="datetime-local"],
.wpcf7-form input[type="color"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    max-width: 100%;
    color: #000;
    border: 1px solid #000;
    border-radius: 0;
    padding: .5rem .5rem .6rem;
    font-size: 70% !important;
    line-height: 1.3;
    margin: .5em 0;
}


.wpcf7-not-valid {
    background: rgba(220, 50, 50, 0.07) !important;
    border: 1px solid #dc3232 !important;
}

.wpcf7-not-valid-tip {
    display: none;
}


.wpcf7-form p:not(input) {
    font-size: 1.3rem;
    font-family: 'Anton';
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #000;
    margin-bottom: .75em;
}

.wpcf7-list-item-label {
    font-family: 'Avenir Next LT Pro';
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1.3;
    margin-left: 0;
    display: block;
    padding-left: 1.5rem;
}

label {
    position: relative;
}

.wpcf7-form [type="checkbox"], .wpcf7-form [type="radio"] {
    box-sizing: border-box;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: .15rem;
}

.wpcf7-form [type="radio"] {
    border-radius: 100%;
}

.wpcf7-form [type="checkbox"]:checked, .wpcf7-form [type="radio"]:checked {
    border: 1px solid #000;
    background: #0C71C3;
}

.wpcf7-list-item.first {
    margin-left: 0;
}

#hinweis {
    font-family: 'Avenir Next LT Pro';
    font-size: .9rem;
    display: block;
    margin-top: 2rem;
}

.wpcf7-checkbox.wpcf7-not-valid,
.wpcf7-radio.wpcf7-not-valid {
    background: transparent !important;
    border: none !important;
}

.wpcf7-form [type="checkbox"], .wpcf7-form [type="radio"] {
    box-sizing: border-box;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: .15rem;
}

.wpcf7-form .wpcf7-not-valid [type="checkbox"],
.wpcf7-form .wpcf7-not-valid [type="radio"] {
    background: rgba(220, 50, 50, 0.07) !important;
    border: 1px solid #dc3232 !important;
}


/* Header */

#header {
    position: relative;
    background: #fff;
    z-index: 999;
}

.logo-wrapper {
    width: 7.75vw;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
}

.menu-hauptmenue-container {
    padding: 35px 0 0;
}

#primary-menu {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

#primary-menu li:not(:last-child) {
    margin-right: 3.5vw;
}

#primary-menu li a {
    position: relative;
    font-size: 1.6rem;
    font-family: 'Anton';
    font-weight: 400;
    letter-spacing: 1px;
    color: #000;
}

#primary-menu li a::after {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    border-top: 3px dotted transparent;
}

#primary-menu li.current_page_item a,
#primary-menu li.current-page-ancestor a {
    color: #0C71C3;
}

#primary-menu li.current_page_item a::after,
#primary-menu li.current-page-ancestor a::after {
    border-top: 3px dotted #0C71C3;
}

.header-icons {
    position: absolute;
    right: 3vw;
    top: 0;
    display: flex;
}

.home .header-icons {
    display: none;
}

.trigger-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.trigger-wrapper:not(:last-child) {
    margin-right: 25px;
}

.trigger-icon {
    background: #000;
    border-radius: 0 0 40px 40px;
    padding: 20px 12px 4px;
    cursor: pointer;
}

.trigger-icon img {
    max-height: 28px;
}

.trigger-wrapper span {
    display: block;
    text-align: center;
    font-size: 85%;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 5px;
}


/* Slide-In Bereiche Suche und Social Media */

.slide-in-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: -300px;
    left: 0;
    background-color: #fff;
    background-image: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 140%) !important;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
    height: 300px;
    padding-top: 4vh;
    width: 100%;
    z-index: 1000;
    transition: top 600ms ease;
}

.slide-in-container.active {
    top: 0;
}

.logged-in .slide-in-container.active {
    top: 32px;
}

form.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

form.search-form .search-field {
    color: #000 !important;
    background: #fff;
    padding: .45rem 1rem .5rem !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    border-radius: 0;
    border: 2px solid #0C71C3;
    min-width: 300px;
    margin-right: 15px;
}

form.search-form .search-submit {
    color: #fff !important;
    background: #0C71C3;
    padding: .5rem 1.2rem .4rem !important;
    font-family: 'Anton';
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    border-radius: 0;
    text-align: center;
    border: 2px solid #0C71C3;
    overflow: hidden;
    transition: all 400ms ease-in-out;
    cursor: pointer;
}

.close-slide img {
    width: 46px;
    height: auto;
    margin-top: 4vh;
    cursor: pointer;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.social-links a:not(:last-child) {
    margin-right: 15px;
}

.social-links a img {
    height: 95px;
    width: auto;
}



/* Mobile Menü */

.mobile-trigger {
    display: none; 
    width: 45px;
    height: 28px;
    position: absolute;
    right: 5%;
    top: 40px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.mobile-trigger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 45px;
    background: #0C71C3;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    right: 0;
    margin: 0 auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.mobile-trigger.open span {
    background: #fff;
}

.mobile-trigger span:nth-child(1) {
    top: 0px;
}
  
.mobile-trigger span:nth-child(2), .mobile-trigger span:nth-child(3) {
    top: 12px;
}
  
.mobile-trigger span:nth-child(4) {
    top: 24px;
}

.mobile-trigger.open span:nth-child(1) {
    top: 12px;
    width: 0%;
    left: 50%;
}
  
.mobile-trigger.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
  
.mobile-trigger.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
  
.mobile-trigger.open span:nth-child(4) {
    top: 12px;
    width: 0%;
    left: 50%;
}


/* Overlay Menü */

#overlay-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0C71C3;
    z-index: 998;
    padding-top: 250px;
}

ul#mobile-menu {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

ul#mobile-menu li:not(:last-child){
    margin-bottom: 20px;
}

ul#mobile-menu li a {
    position: relative;
    color: #fff;
    font-size: 2.6rem;
    font-family: 'Anton';
    font-weight: 400;
    letter-spacing: 1.25px;
}

.no-scroll {
    overflow: hidden;
}



/* Startseite oben */

.home-intro {
    background: #fff;
    width: 100%;
    padding: 10vh 5% 4vh;
    display: flex;
}

.home-img-wrapper {
    flex-grow: 1;
    text-align: center;
}

.home-img-wrapper img {
    width: 90%;
    max-width: 800px;
}

.home-sidebar {
    width: 340px;
    transform: translate(0, -8vh);
}


/* Startseite Tabelle Sidebar */


.last-game-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
}

.last-game-highlights {
    position: relative;
}

.highlight-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

a.highlight-link::before,
div.highlight-link::before {
    content: '';
    display: block;
    padding-top: 65%;
    background: rgba(12, 113, 195, 0.3);
    position: relative;
    z-index: 1;
    transition: all 300ms ease-in-out;
}

a.highlight-link:hover::before {
    background: rgba(12, 113, 195, 0.5);
}

.highlight-link img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.last-game-details {
    display: flex;
    color: #fff;
    position: absolute;
    bottom: 20px;
    left: 18px;
    right: 18px;
    z-index: 9;
    pointer-events: none;
}

.last-game-results {
    font-family: 'Anton';
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 3.4rem;
    line-height: 1;
}

.last-game-teams-date {
    margin-left: 15px;
    font-weight: 500;
}

.with-play-icon::after {
    content: '';
    display: block;
    width: 42px;
    height: 42px;
    background-image: url(/wp-content/uploads/2024/09/play-icon.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.current-table-wrapper {
    padding: 10px 18px;
}

.current-table-head,
.current-table-row {
    display: flex;
}

.current-table-row {
    line-height: 1.2;
}

.current-table-row:not(:last-child) {
    border-bottom: 1px solid #0C71C3;
}

.current-table-head div,
.current-table-row div {
    padding: 12px 8px;
}

.current-table-head div {
    font-family: 'Anton';
    font-weight: 400;
    letter-spacing: 1px;
    color: #0C71C3;
    font-size: 1.2rem;
    padding-bottom: 0;
}

.current-table-row div:not(:last-child) {
    border-right: 1px solid #0C71C3;
}

.position {
    width: 30px;
    text-align: center;
}

.team {
    width: calc(100% - 140px);
}

.spiele {
    width: 55px;
    text-align: center;
}

.punkte {
    width: 55px;
    text-align: center;
}

.current-table-row.fc-wil-bold {
    font-weight: 500;
}

.full-table-link {
    margin-top: 20px;
}

.full-table-link a {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
    max-width: 75%;
}

.full-table-link img {
    height: auto;
    width: 100%;
}


/* Nächstes Spiel Startseite */

.next-game-wrapper  {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
    margin-top: 8vh;
}

.next-game-date-time {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.15rem 1.25rem 1.05rem;
    background: #fff;
    text-align: center;
    border-radius: 10px 10px 0 0;
    font-size: 2rem;
    letter-spacing: 1.25px;
    font-family: 'Anton';
    font-weight: 400;
    line-height: 1;
}

.next-time {
    color: #0C71C3;
    margin-left: 15px;
}

.next-game-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.next-game-teams img {
    height: 115px;
    width: auto;
}

.next-game-teams span {
    display: block;
    margin: 0 15px;
    font-family: 'Anton';
    font-size: 3em;
}

.next-game-pairing {
    text-align: center;
    padding: 10px 18px 30px;
    font-size: .95rem;
}

.tickets-hinweis {
    text-align: center;
    padding: 10px 18px 30px;
    font-size: .8rem;
}

.pairing {
    font-weight: 500;
}

.tickets-link {
    text-align: center;
    padding-bottom: 20px;
}

.tickets-link img {
    width: 60%;
    height: auto;
}

.matchprogramm-link {
    margin-top: 10px;
}

.matchprogramm-link a {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
    max-width: 75%;
}

.matchprogramm-link img {
    height: auto;
    width: 100%;
}


/* Link Boxen Startseite */

.link-boxen-home-section {
    padding: 12vh 0;
    background: #0C71C3;
    color: #fff;
}

.link-boxen-home-section h3 {
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.link-boxen-home-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 6%;
    justify-content: center;
}

.link-box-home {
    width: 20.5%;
    display: flex;
    flex-direction: column;
}

.link-box-home > div:first-of-type {
    flex: 1 1 auto;
    margin-bottom: 30px;                
}

.link-box-home-button {
    margin-top: auto;
}




/* Startseite News Slider */

.news-slider-section {
   padding: 14vh 0;
}

.news-slider-wrapper {
    position: relative;
}

.post-slider-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.post-slider-item::before {
    content: '';
    display: block;
    padding-top: 50%;
}

.post-slider-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.post-slider-details {
    position: absolute;
    left: 4vw;
    bottom: 6vh;
}

.post-slider-details h3 {
    font-size: 3rem;
    letter-spacing: 2px;
    line-height: 1;
    max-width: 650px;
}

.post-slider-details h3 span {
    display: inline;
    padding: 0.6rem 1rem .3rem;
    background-color: #fff;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    line-height: 1.1;
    border-radius: 10px;
}

.post-slider-more {
    position: relative;
    display: inline-block;
    vertical-align: top;
    color: #fff !important;
    background: #0C71C3;
    padding: .5rem 1.2rem .4rem !important;
    font-family: 'Anton';
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1.5px;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    transition: all 400ms ease-in-out;
    cursor: pointer;
    margin-top: 30px;
}

.slick-nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    bottom: 4vh;
    transform: translate(-50%, 0);
}

.slick-nav-wrapper ul.slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    padding: 0 !important;
    font-size: 0;
}

.slick-nav-wrapper ul.slick-dots li {
    margin: 0 10px;
}

.slick-nav-wrapper ul.slick-dots button {
    width: 15px;
    height: 15px;
    font-size: 0;
    border-radius: 100%;
    background: #fff;
    border: none;
    transition: all 300ms ease-in-out;
    cursor: pointer;
}

.slick-nav-wrapper ul.slick-dots li.slick-active button {
    width: 35px;
    border-radius: 15px;
    background: #0C71C3;
}

.slick-nav-wrapper .slick-arrow {
    cursor: pointer;
    width: 42px;
}

img.slick-prev {
    margin-right: 20px;
}

img.slick-next {
    margin-left: 20px;
}


/* Werbung Startseite */

.ads-section {
    padding: 0 0 14vh;
}

.ad-item img {
    width: 100%;
}

.ads-mobile {
    display: none;
}

@media all and (max-width: 600px) {

    .ads-desktop {
        display: none;
    }

    .ads-mobile {
        display: block;
    }

}


/* Kalender / Info Blöcke Startseite */

.home-info-section {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 7vh;
}

.home-info-section > div {
    width: 28%;
    margin-right: 8%;
}

.home-info-section > div:last-child {
    margin-right: 0;
}

.calendar-item {
    padding: .5em .75em;
    display: flex;
}

.calendar-wrapper {
    text-align: left;
}

.calendar-item:nth-child(even) {
    background: #fff;
}

span.calendar-date {
    color: #0C71C3;
    font-weight: 500;
    width: 105px;
}

span.calendar-title {
    width: calc(100% - 105px);
}

.calendar-img {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
}

.calendar-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.calendar-img::before {
    content: '';
    display: block;
    padding-top: 54%;
}


/* FC Wil Block 001 - Navi Box */

.fcwil-block-001 {
    display: block;
    color: #000 !important;
    background: #fff;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    text-align: center;
}

.fcwil-block-001:not(.section:last-child .fcwil-block-001) {
    margin-bottom: 5vh;
}

.section:only-child .fcwil-block-001 {
    margin-bottom: 0 !important;
}


.fcwil-block-001 .block-title-wrapper {
    padding: 1.25rem 1.5rem 1.15rem;
}

.fcwil-block-001 .block-title-wrapper h2 {
    padding: 0 !important;
}

.fcwil-block-001 .block-title-wrapper b {
    color: #0C71C3;
    font-weight: 500 !important;
}

.fcwil-block-001 .block-img-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

.fcwil-block-001 .block-img-wrapper::before {
    content: '';
    display: block;
    padding-top: 55%;
}

.fcwil-block-001 .block-img-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fcwil-block-001 .block-phrase-wrapper {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fcwil-block-001 .block-phrase-wrapper span {
    font-size: 1.2rem;
    line-height: 1.3;
}



/* FC Wil Block 002 / News Beiträge - Seitenheader */

.fcwil-block-002, .post-head {
    position: relative;
    background: #fff;
    padding: 12vh 0 0;
    margin-bottom: 5vh;
}

.page-header-wrapper {
    position: relative;
    transform: translate(0, 10vh);
    z-index: 1;
}

.page-header-title h1 {
    line-height: 1;
}

.page-header-title h1 span {
    display: inline;
    padding: 0.6rem 1rem .3rem;
    background-color: #fff;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    line-height: 1.1;
    border-radius: 10px;
}

.page-header-title h1 b {
    color: #0C71C3;
    font-weight: 500 !important;
}

.page-header-title {
    max-width: 490px;
    position: absolute;
    z-index: 1;
    top: -4.6em;
    left: 4vw;
}

.single .page-header-title {
    max-width: 900px;
}

.page-header-img {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.page-header-img::before {
    content: '';
    display: block;
    padding-top: 50%;
}

.page-id-25787 .page-header-img::before {
    content: '';
    display: block;
    padding-top: 30%;
}

.page-header-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}


.fcwil-block-002.page-header-no-img {
    padding: 12vh 0 12vh;
    margin-bottom: 0;
}

.fcwil-block-002.page-header-no-img .page-header-wrapper {
    position: relative;
    transform: translate(0, 0);
}

.fcwil-block-002.page-header-no-img .page-header-title {
    max-width: 700px;
    position: relative;
    top: 0;
    left: 4vw;
}


/* FC Block - Toggles */

.fcwil-toggle-item {
    border-bottom: 2px dotted #0C71C3;
}

.fcwil-toggle-title {
    position: relative;
    font-size: 1.6rem;
    font-family: 'Anton';
    font-weight: 400;
    letter-spacing: 1px;
    color: #000;
    padding: .25rem 0 .2rem 2.5rem;
    cursor: pointer;
}

.fcwil-toggle-title::before {
    content: '';
    background-image: url(/wp-content/uploads/2021/01/down001-E049.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 1.25rem;
    width: 1.25rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    transition: all 400ms ease;
}

.fcwil-toggle-title.active::before {
    transform: translate(0, -50%) rotate(180deg);
}

.fcwil-toggle-body {
    padding: 10px 0 30px;
}

.fcwil-toggle-body ul {
    list-style-type: square;
    padding-left: 1.25em;
}

.fcwil-toggle-body ul:not(:last-child) {
    padding-bottom: 1.5em;
}


/* FC Wil Block 005 - Galerie */

.fcwil-block-005, .fcwil-toggle-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fcwil-gallery-item {
    width: calc(25% - 10px);
}

.fcwil-gallery-image {
    display: block;
    height: auto;
    overflow: hidden;
    position: relative;
}

.fcwil-gallery-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.fcwil-gallery-image::before {
    content: '';
    display: block;
    padding-top: 100%;
    pointer-events: none;
}


/* FC Wil Block 006 - Info Box */

.fcwil-block-006 {
    display: block;
    height: 100%;
    color: #000 !important;
    background: #fff;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
}

.home .fcwil-block-006 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fcwil-block-006 .info-block-title-wrapper {
    padding: 1.15rem 1.25rem 1.05rem;
    background: #fff;
    text-align: center;
}

.fcwil-block-006 .info-block-title-wrapper h4 {
    padding: 0 !important;
}

.fcwil-block-006 .info-block-title-wrapper b {
    color: #0C71C3;
    font-weight: 500 !important;
}

.fcwil-block-006 .info-block-img-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

.fcwil-block-006 .info-block-img-wrapper::before {
    content: '';
    display: block;
    padding-top: 65%;
}

.fcwil-block-006 .info-block-img-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fcwil-block-006 .info-block-details-wrapper {
    padding: 1.15rem 1.25rem 1.05rem;
}

.home .home-info-section > div:last-child .info-block-details-wrapper {
    transform: translate(0, -.5rem);
}

.fcwil-block-006 span.fact-name {
    display: block;
    font-weight: 500;
    line-height: 1;
}

.fcwil-block-006 span.fact-note {
    display: block;
    font-weight: 500;
    line-height: 1;
    font-size: .85rem;
}

.fcwil-block-006 span.fact-value {
    display: block;
    font-family: 'Anton';
    font-size: 1.65rem;
    line-height: 1.4;
    letter-spacing: 1.25px;
    color: #0C71C3;
}

.fcwil-block-006 .info-block-facts {
    display: flex;
    flex-wrap: wrap;
}

.fcwil-block-006 .info-block-facts {
    display: flex;
    flex-wrap: wrap;
}

.fcwil-block-006 .fact-item {
    width: 47.5%;
    margin-right: 5%;
    text-align: left;
}

.fcwil-block-006 .fact-item:nth-child(2n),
.fcwil-block-006 .fact-item:last-child {
    margin-right: 0;
}

.fcwil-block-006 .fact-item:not(:last-child) {
    margin-bottom: 10px;
}

.fcwil-block-006 .facts-centered .fact-item {
    width: 100% !important;
    margin-right: 0 !important;
    text-align: center !important;
}
.fcwil-block-006 .info-block-link-wrapper {
    text-align: left;
    padding: 0 1.25rem 0;
}

.fcwil-block-006 .info-block-link-wrapper a {
    display: inline-block;
    font-family: 'Anton';
    font-size: 1.2rem;
    letter-spacing: 1.25px;
    line-height: 1;
    padding: 10px 24px;
    border-radius: 10px 10px 0px 0px;
    color: #fff !important;
    background: #0C71C3;
}



/* Geschichte */
 
.fcwil-block-007 {
    position: relative;
    padding-top: 50px;
    padding-bottom: 150px;
}

.history-timeline {
    position: absolute;
    top: 75px;
    left: calc(50% - 1.5px);
    bottom: 0;
    width: 1px;
    border-left: 4px dotted #0a5da1;
}

.history-item {
    display: block;
    position: relative;
    height: 100%;
    width: 50%;
    padding-right: 50px;
    margin-top: 125px;
}

.history-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
    padding-left: 50px;
}

.history-box {
    display: block;
    position: relative;
    color: #000 !important;
    background: #fff;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
}

.history-title {
    padding: 1.15rem 1.25rem 1.05rem;
    background: #fff;
}

.history-title h4 {
    padding: 0 !important;
}

.history-date {
    position: absolute;
    right: 50px;
    top: -80px;
    padding: .55rem 1.25rem .5rem;
    background: #0c71c3;
    color: #fff;
    font-family: 'Anton';
    font-weight: 400;
    font-size: 1.65em;
    letter-spacing: 1.25px;
    line-height: 1;
    border-radius: 6px;
}

.history-item:nth-child(even) .history-date {
    right: auto;
    left: 50px;
}

.history-date::before {
    content: '';
    display: block;
    position: absolute;
    right: -50px;
    top: calc(50% - 1px);
    width: 100px;
    height: 2px;
    background: #0c71c3;
    z-index: -1;
}

.history-date::after {
    content: '';
    display: block;
    position: absolute;
    right: calc(-50px - .5rem);
    top: calc(50% - .5rem);
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    background: #0c71c3;
    z-index: 1;
}

.history-item:nth-child(even) .history-date::before {
    right: auto;
    left: -50px;
}

.history-item:nth-child(even) .history-date::after {
    right: auto;
    left: calc(-50px - .5rem);
}


.history-content {
    padding: 1.5rem 1.25rem 2rem;
}

.history-content-wrapper {
    position: relative;
}

.truncated-history-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    line-height: 1.6;
    max-height: 3.2em;
}

.truncated-history-content.expanded {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    max-height: none;
    overflow: visible;
  }

.history-read-more-icon {
    position: absolute;
    width: 2rem;
    height: 2rem;
    bottom: -1rem;
    left: 50%;
    transform: translate(-50%, 0);
    cursor: pointer;
    transition: transform 400ms ease;
}

.history-read-more-icon.expanded {
    transform: translate(-50%, 0) rotate(180deg);
}

div#history-load-more {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background: #fff;
}

.history-content .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 1em 0;
}
  
.history-content .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* News Übersicht Seite */

.page-template-page-news main,
.archive main,
.search main {
    background: #fff;
}

.news-posts-section {
    display: flex;
    flex-wrap: wrap;
}

.news-posts-wrapper {
    width: 60%;
    margin-right: 10%;
}

.search-posts-wrapper {
    width: 100% !important;
    margin-right: 0 !important;
}

.news-posts-sidebar {
    width: 30%;
}

#post-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10%;
    padding-bottom: 4vh;
}

.post-item {
    position: relative;
    width: 45%;
    margin-bottom: 8vh;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
}

.page-id-25787 #post-list,
.search-posts-wrapper #post-list { /* Buisness Zone */
    gap: 6%;
}

.page-id-25787 .post-item,
.search-posts-wrapper .post-item { /* Buisness Zone */
    width: 29.33%;
}

.post-item h3 {
    font-size: 1.5rem;
}

.post-item .post-image {
    position: relative;
    display: block;
    overflow: hidden;
}

.post-item .post-image::before {
    content: '';
    display: block;
    padding-top: 60%;
}

.post-item .post-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px 10px 0 0;
}

.post-item-meta {
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 2;
    color: #0C71C3;
    background: #fff;
    border-radius: 10px 0 10px 0;
    padding: 9px 15px 7px;
    font-size: 90%;
    font-weight: 500;
    line-height: 1;
}

.post-item-business-zone .post-item-meta {
    color: #000;
    background: #fff;
    font-size: 1.1rem;
}

.post-item-details {
    padding: 1.25rem 1.5rem 1.75rem;
}

.post-read-more-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1rem;
}

.post-read-more-wrapper a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-read-more-wrapper a img {
    width: 2rem;
    height: 2rem;;
}


/* Loading Spinner */

#posts-loading {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0C71C3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

#posts-loading p {
    color: #000;
    margin: 0;
    font-size: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* News Sidebar */

.news-categories,
.news-archives {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px 40px 30px;
}

.news-categories span,
.news-archives span {
    display: block;
}

.news-categories span a,
.news-archives span a {
    font-size: 1.2rem;
    font-weight: 500;
}

.news-categories span i,
.news-archives span i {
    color: #000;
    font-weight: 400;
    font-style: normal;
}

.news-archives .yearly-archives {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}

.news-archives .yearly-archives span {
    margin-right: 20px;
}

.news-categories {
    margin-bottom: 6vh;
}


/* News Beiträge */

.post-content {
    display: flex;
    flex-wrap: wrap;
    padding: 14vh 0;
    background: #fff;
    width: 1300px;
    max-width: 90%;
    margin: 0 auto;
}

.single h2 {
    color: #0C71C3;
}

.single h3 {
    color: #0C71C3;
}

.post-content-wrapper {
    width: 65%;
    margin-right: 10%;
}

.recent-posts-wrapper {
    width: 25%;
}

.recent-posts-wrapper h4 {
    text-align: center;
    margin-bottom: 1vh;
}

.recent-posts-wrapper .post-item {
    width: 100% !important;
    margin-bottom: 8vh !important;
}

.recent-posts-wrapper .post-item h3 {
    font-size: 1.4rem;
}

.single-business_zone .post-content-wrapper {
    width: 100%;
    margin-right: 0;
}



/* Team Cards */

.team-card-container {
    display: flex;
    flex-wrap: wrap;
}

.team-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: #fff;
    border: 1px solid #0C71C3;
    border-radius: 10px;
    width: calc(25% - 15px);
    margin-right: 20px;
    margin-bottom: 4vh;
    overflow: hidden;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0);
    transition: all 300ms ease-in-out;
}

.team-card:nth-child(4n),
.team-card:last-child {
    margin-right: 0;
}

.team-card-herren:hover {
    border: 1px solid #fff;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
}

.team-position {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 35px;
    padding-left: 15px;
    background: #0C71C3;
    color: #fff;
    line-height: 1;
}

.team-number {
    position: absolute;
    right: -20px;
    top: 0px;
    color: #fff;
    background-image: url(/wp-content/uploads/2021/01/sp-nr-rendered.svg);
    font-size: 1.25rem;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    font-weight: 500;
    width: 74px;
    padding-top: 15px;
    padding-bottom: 12px;
    padding-right: 15px;
    text-align: center;
    z-index: 2;
}

.team-image {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    height: auto;
}

.team-image img {
    width: 100%;
    height: auto;
}

.team-name {
    display: block;
    width: 95%;
    font-family: 'Anton';
    font-weight: 400;
    color: #000;
    font-size: 1.8rem;
    letter-spacing: 1.5px;
    margin-top: 15px;
    margin-left: 15px;
    margin-bottom: 15px;
    margin-right: 30px;
}

.team-details-wrapper .team-name {
    margin-top: 36px;
    margin-left: 1px;
    margin-bottom: 15px;
    margin-right: 15px;
}

.team-details-wrapper {
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: #fff;
    padding: 15px;
    opacity: 0;
    transition: opacity 300ms ease-in-out;
    z-index: 1;
}

.team-card:hover .team-details-wrapper {
    opacity: 1;
}

.team-details {
    width: 50%;
}

.team-details span {
    display: block;
    color: #0C71C3;
    text-decoration: underline;
    font-family: 'Anton';
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

.team-details div:not(:last-child) {
    padding-bottom: 8px;
}

.team-hover-img {
    width: 50%;
}

.team-statistik-link {
    position: absolute;
    left: 15px;
    bottom: 0;
    display: block;
    background: #0C71C3;
    color: #fff !important;
    padding: .5rem 1.25rem;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
}

.team-card-employee .team-name,
.team-card-block .team-name,
.team-card-management .team-name {
    margin-bottom: -5px;
}

.team-email {
    display: block;
    margin-left: 15px;
    margin-right: 30px;
    min-height: 30px;
    font-size: .95rem;
}

.team-card.team-card-block {
    width: 270px;
    margin-right: 0;
    margin-bottom: 0 !important;
}

.fcwil-block-004 {
    margin-bottom: 0 !important;
}

.aligncenter .team-card.team-card-block {
    margin-right: auto;
    margin-left: auto;
}


/* .team-card-management.team-card {
    background: #fff;
    border: 1px solid #333;
}

.team-card-management .team-position {
    height: 45px;
    background: #fff;
    color: #000;
}

.team-card-management .team-name {
    margin-top: -12px;
    margin-bottom: -8px;
} */


/* --- NEU: Wrapper um Herren / Frauen NEU wegen Patronat --- */
.team-card-container > .team-card-wrap {
    display: flex;
    flex-direction: column;
    width: calc(25% - 15px);
    margin-right: 20px;
    margin-bottom: 4vh;
}

.team-card-container > .team-card-wrap:nth-child(4n),
.team-card-container > .team-card-wrap:last-child {
    margin-right: 0;
}

.team-card-wrap .team-card {
    width: 100%;
    margin-bottom: 0;
}

.team-card-wrap .team-patronat {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    background: #fff;
    border-radius: 10px;
}

.team-card-wrap .team-patronat img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


/* Anpassungen einzelne Spieler */

@media all and (min-width: 601px) {
    .player-simon-tisch-rottensteiner .team-name {
        font-size: 1.4rem;
        margin-top: 21px;
        margin-bottom: 21px;
    }
}






/* Besondere Sections */

#sportpark-bilder {
    margin-top: 36vh;
    height: 36vh;
}

#sportpark-bilder .wp-block-column {
    transform: translate(0, -23vh);
}

.plus-icon a {
    position: relative;
}

.plus-icon a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 50px;
    height: 50px;
    background-image: url(/wp-content/uploads/2024/11/fancybox-plus-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


/* Partner */

.partner-section .wp-block-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
}

.partner-section .wp-block-image .figure {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
}

.partner-section .wp-block-image a {
    display: block;
}

.partner-section .wp-block-image img {
    max-height: 100px;
    width: auto !important;
}

.partner-section .wp-block-image img[src$=".svg"] {
    height: 100px !important;
}

.partner-section.partner-section-hauptsponsoren .wp-block-image {
    padding: 10px 25px;
}

.partner-section.partner-section-hauptsponsoren .wp-block-image img {
    max-height: 140px;
    width: auto !important;
}

.partner-section.partner-section-hauptsponsoren .wp-block-image img[src$=".svg"] {
    height: 140px !important;
}


/* Suche - grösstenteils wie News Posts */

.no-search-results {
    padding-bottom: 14vh;
    text-align: center;
}


/* Passwort geschützt / 404 */

form.post-password-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 21vh;
    padding-bottom: 14vh;
}

section.error-404.not-found {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 21vh;
    padding-bottom: 14vh;
}



/* Dekorationen */

.page-content {
    position: relative;
}

/* 
@media all and (min-width: 600px) {

    .illustrations-one .page-content::before {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        bottom: 2%;
        width: 22vw;
        height: 24vw;
        background-image: url(/wp-content/uploads/2024/11/FC-Wil-Elements-curves.svg);
        background-size: contain;
        background-position: right bottom;
        background-repeat: no-repeat;
        z-index: 0;
    }

    .illustrations-one .page-content::after {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 5%;
        width: 33vw;
        height: 29vw;
        background-image: url(/wp-content/uploads/2024/11/FC-Wil-Elements-lines.svg);
        background-size: contain;
        background-position: left bottom;
        background-repeat: no-repeat;
        z-index: 0;
    }


    .illustrations-two .fcwil-block-002::before {
        content: '';
        display: block;
        position: absolute;
        right: -3%;
        top: 10%;
        width: 33vw;
        height: 29vw;
        background-image: url(/wp-content/uploads/2024/11/FC-Wil-Elements-lines.svg);
        background-size: contain;
        background-position: right bottom;
        background-repeat: no-repeat;
        z-index: 0;
    }

    .illustrations-two .fcwil-block-002::after {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 14vw;
        height: 14vw;
        background-image: url(/wp-content/uploads/2024/11/FC-Wil-Elements-plus.svg);
        background-size: contain;
        background-position: left bottom;
        background-repeat: no-repeat;
        z-index: 0;
    }

}
 */


/* Jubiläum 2025 */

li#menu-item-31236 a::before {
    content: '';
    position: absolute;
    top: -8px;
    bottom: -8px;
    right: -12px;
    left: -12px;
    background: #ad9977;
    border-radius: 6px;
    z-index: -1;
}

li#menu-item-31236 a {
    color: #fff;
}

#primary-menu li#menu-item-31236 a::after {
    display: none;
}

li#menu-item-31262 a::before {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -8px;
    right: -12px;
    left: -12px;
    background: #000;
    border-radius: 6px;
    z-index: -1;
}

.black-gold-style #header {
    background: #000000;
}

.black-gold-style #primary-menu li a {
    color: #fff;
}

.black-gold-style .section.has-background,
.black-gold-style .fcwil-block-002 {
    background: #000000;
}

/* .black-gold-style.illustrations-one .page-content::before {
    background-image: url(/wp-content/uploads/2025/01/FC-Wil-Elements-curves-goldig.svg);
}

.black-gold-style.illustrations-one .page-content::after,
.black-gold-style.illustrations-two .fcwil-block-002::before {
    background-image: url(/wp-content/uploads/2025/01/FC-Wil-Elements-lines-goldig.svg);
}

.black-gold-style.illustrations-two .fcwil-block-002::after {
    background-image: url(/wp-content/uploads/2025/01/FC-Wil-Elements-plus-goldig.svg);
} */

.black-gold-style .fcwil-block-001 .block-title-wrapper b {
    color: #ad9977;
}

.black-gold-style .mobile-trigger span {
    background: #fff;
}

.black-gold-style .page-header-title h1 b {
    color: #ad9977;
}

.black-gold-style .button,
.black-gold-style .wp-element-button {
    color: #fff !important;
    border: 2px solid #ad9977;
    background: #ad9977 !important;
}

.black-gold-style .button:hover,
.black-gold-style .wp-element-button:hover {
    color: #fff !important;
    border: 2px solid #ad9977;
    background: #ad9977 !important;
}

.black-gold-style h2 b,
.black-gold-style h2 strong {
    color: #ad9977;
}

.black-gold-style .trigger-icon {
    background: #ad9977;
}

.black-gold-style .fcwil-toggle-item {
    border-bottom: 2px dotted #ad9977;
}

.black-gold-style .fcwil-toggle-title::before {
    background-image: url(/wp-content/uploads/2025/01/down001-E049-goldig.svg);
}

.black-gold-style .wpcf7-form input[type="submit"].wpcf7-submit {
    background: #ad9977 !important;
    border: 2px solid #ad9977;
}

.black-gold-style .section.has-background h1 {
    color: #ad9977;
}

.black-gold-style .section.has-background .wp-block-column > p {
    color: #fff !important;
}

.black-gold-style #primary-menu li.current_page_item a::after,
.black-gold-style #primary-menu li.current-page-ancestor a::after {
    border-top: 3px dotted #ad9977;
}



/* Matchprogramm Flipbooks */

#matchprogramm-mobile {
    display: none;
}

@media all and (max-width: 982px) {

    #matchprogramm-mobile {
        display: block;
    }

    #matchprogramm-desktop {
        display: none;
    }

}


/* Footer */

#footer {
    position: relative;
    margin-top: 20vh;
}

#footer-jubel {
    position: absolute;
    right: 5%;
    top: -15vh;
    width: 28vw;
}

.sponsoring-wrapper {
    background: #fff;
    padding: 6vh 0 3vh;
}

.sponsors {
    width: 90%;
    max-width: 920px;
    margin: 0 auto;
}

.sponsors-inner {
    display: flex;
    flex-wrap: wrap;
    max-width: 550px;
}

.sponsor-item {
    display: flex;
    flex-wrap: wrap;
    width: calc(50% - 10px);
    margin-right: 20px;
    margin-bottom: 3vh;
}

.sponsor-item:nth-child(2n) {
    margin-right: 0;
}

.sponsor-item a {
    display: block;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
}

.sponsor-item img {
    width: 100%;
    height: auto;
}

.sponsor-item .description {
    display: block;
    padding-top: 5px;
    width: 100%;
    text-align: center;
    font-family: 'Anton';
    font-weight: 400;
    color: #000;
    font-size: 1.6rem;
    letter-spacing: 1.5px;
}

.sponsor-item .description b {
    font-weight: 400;
    color: #0C71C3;
}

.partner {
    padding-top: 3vh;
    width: 90%;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.partner-item {
    display: flex;
    flex-wrap: wrap;
    width: calc(20% - 12px);
    margin-right: 15px;
    margin-bottom: 3vh;
}

.partner-item:nth-child(5n) {
    margin-right: 0;
}

.partner-item a {
    display: block;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
}

.partner-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.partner-item .description {
    display: block;
    padding-top: 5px;
    width: 100%;
    text-align: center;
    color: #787878;
    font-size: 90%;
}

.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12vh 0;
}

.footer-team-logos {
    width: 35%;
    margin-right: 5%;
    display: flex;
}

.footer-team-item {
    width: 33.33%;
    text-align: center;
}

.footer-team-item img {
    height: 100px;
    margin-bottom: 5px;
}

.footer-team-text {
    font-weight: 500;
    font-size: .9rem;
    line-height: 1.4;
    color: #000;
}

.footer-team-item a {
    color: #000;
}

.footer-team-text b,
.footer-team-text strong,
.footer-team-text strong a {
    font-weight: 500;
    color: #0C71C3 !important;
}

.footer-address {
    width: 20%;
}

.footer-links {
    width: 20%;
}

.footer-links a {
    font-size: 2rem;
    font-family: 'Anton';
    font-weight: 400;
    letter-spacing: 1.75px;
    color: #000;
}

.footer-fc-wil img {
    width: 9.25vw;
}

.footer-social-wrapper {
    background: #000;
    height: 40px;
    text-align: center;
}

.footer-social {
    transform: translate(0, -53px);
}

.footer-social a {
    background: #000;
    display: inline-block;
    padding: 15px 10px 5px;
    border-radius: 40px 40px 0 0;
}

.footer-social a:not(:last-child) {
    margin-right: 10px;
}

.footer-social a img {
    height: 32px;
    width: auto;
}







/* ---------- Resposive CSS ---------- */


@media all and (max-width: 1700px) {

    html {
        font-size: 19px;
    }

    .wp-block-columns.volle-breite,
    .page-header-wrapper,
    .link-boxen-home-section .container,
    .news-slider-wrapper,
    .ads-section,
    .home-info-section,
    .footer-wrapper,
    .news-posts-section {
        max-width: 80%;
    }

    .wp-block-columns {
        max-width: 75%;
    }

    .post-content {
        max-width: 80%;
    }

    .logo-wrapper {
        width: 8.25vw;
    }

    .home-img-wrapper img {
        width: 90%;
        max-width: 700px;
    }

    .home-sidebar {
        width: 320px;
    }

    .next-game-teams img {
        height: 105px;
        width: auto;
    }

    .calendar-img::before {
        padding-top: 55%;
    }

    .footer-team-item img {
        height: 90px;
    }

    .footer-social a img {
        height: 28px;
    }

    .trigger-icon img {
        max-height: 24px;
    }

    #sportpark-bilder {
        max-width: 70%;
    }

    .history-item {
        margin-top: 115px;
    }

    .history-date {
        top: -75px;
    }

}


@media all and (max-width: 1600px) {

    html {
        font-size: 18px;
    }

    .logo-wrapper {
        width: 8.75vw;
    }

    .home-img-wrapper img {
        width: 90%;
        max-width: 650px;
    }

    .with-play-icon::after {
        width: 38px;
        height: 38px;
    }

    .footer-social a img {
        height: 26px;
    }

    .footer-social {
        transform: translate(0, -50px);
    }

    .close-slide img {
        width: 40px;
    }

    .sponsor-item {
        width: calc(45% - 10px);
    }

    
}


@media all and (max-width: 1500px) {

    html {
        font-size: 17px;
    }

    .wp-block-columns.volle-breite,
    .page-header-wrapper,
    .link-boxen-home-section .container,
    .news-slider-wrapper,
    .ads-section,
    .home-info-section,
    .footer-wrapper,
    .news-posts-section {
        max-width: 85%;
    }

    .wp-block-columns {
        max-width: 80%;
    }

    .post-content {
        max-width: 85%;
    }

    #sportpark-bilder {
        max-width: 75%;
    }

    .home-sidebar {
        width: 310px;
    }

    .logo-wrapper {
        width: 9vw;
    }

    .home-img-wrapper img {
        width: 90%;
        max-width: 600px;
    }

    .calendar-img::before {
        padding-top: 55.5%;
    }

    .social-links a img {
        height: 85px;
        width: auto;
    }

    .footer-social a img {
        height: 22px;
    }

    .footer-social {
        transform: translate(0, -48px);
    }

    .team-number {
        right: -20px;
        top: -1px;
    }

    .team-card.team-card-block {
        width: 250px;
    }
    
}


@media all and (max-width: 1400px) {

    html {
        font-size: 16px;
    }

    #sportpark-bilder {
        max-width: 70%;
    }

    .with-play-icon::after {
        width: 34px;
        height: 34px;
    }

    .calendar-img::before {
        padding-top: 56%;
    }

    .team-number {
        right: -21px;
        top: -1px;
    }

    .plus-icon a::before {
        width: 46px;
        height: 46px;
    }

    .trigger-icon img {
        max-height: 22px;
    }

    .close-slide img {
        width: 38px;
    }

    .social-links a img {
        height: 80px;
        width: auto;
    }

    img.wp-image-1527,
    img.wp-image-1520,
    img.wp-image-1510,
    img.wp-image-1512 { /* Stadionordnung / Club 2000 / Sponsor werden */
        width: 320px !important;
    }

    img.wp-image-667 { /* Ticketing */
        width: 200px !important;
    }

    img.wp-image-24199,
    img.wp-image-624,
    img.wp-image-3415 { /* Nachwuchsmaterial */
        height: 100px !important;
    }

    .history-item {
        margin-top: 110px;
    }

    .history-date {
        top: -70px;
    }
    
}


@media all and (max-width: 1300px) {

    .home-sidebar {
        width: 290px;
    }

    .home-img-wrapper img {
        width: 90%;
        max-width: 575px;
    }

    #sportpark-bilder {
        max-width: 75%;
    }

    .team-card.team-card-block {
        width: 240px;
    }

    .sponsor-item {
        width: calc(40% - 10px);
    }

    .link-box-home {
        width: 21.25%;
    }

    .link-boxen-home-section .container {
        gap: 5%;
    }
    
}


@media all and (max-width: 1024px) {

    .logo-wrapper {
        width: 115px;
    }

    .menu-hauptmenue-container {
        padding: 25px 0 0;
    }

    #primary-menu {
        transform: translate(-5%, 0);
    }

    .trigger-icon img {
        max-height: 20px;
    }

    .trigger-icon {
        padding: 18px 10px 4px;
    }

    .trigger-wrapper:not(:last-child) {
        margin-right: 20px;
    }

    .close-slide img {
        width: 34px;
    }

    .social-links a img {
        height: 75px;
        width: auto;
    }

    .wp-block-columns.volle-breite,
    .page-header-wrapper,
    .link-boxen-home-section .container,
    .news-slider-wrapper,
    .ads-section,
    .home-info-section,
    .footer-wrapper,
    .news-posts-section {
        max-width: 90%;
    }

    .wp-block-columns {
        max-width: 90%;
    }

    .post-content {
        max-width: 90%;
    }

    #sportpark-bilder {
        max-width: 90%;
    }

    .home-img-wrapper img {
        width: 90%;
        max-width: 495px;
    }

    .home-sidebar {
        transform: translate(0, -6vh);
    }

    .home-info-section > div {
        width: 31.33%;
        margin-right: 3%;
    }

    span.calendar-date {
        width: 95px;
    }

    span.calendar-title {
        width: calc(100% - 95px);
    }

    .post-slider-more {
        margin-top: 20px;
    }

    #footer-jubel {
        right: 5%;
        top: -14vh;
        width: 33vw;
    }

    .footer-team-logos {
        width: 40%;
    }

    .team-number {
        right: -21px;
        top: -1px;
        width: 68px;
        padding-top: 12px;
        padding-bottom: 10px;
        padding-right: 18px;
    }

    .team-details span {
        font-size: 1.05rem;
    }

    :where(.wp-block-columns.is-layout-flex) {
        gap: 1.5em;
    }

    .fcwil-block-001:not(.section:last-child .fcwil-block-001) {
        margin-bottom: 4vh;
    }

    .fcwil-block-001 h2 {
        font-size: 1.8rem;
    }

    .news-posts-wrapper {
        width: 65%;
        margin-right: 5%;
    }

    .post-item {
        width: 47.5%;
    }

    #post-list {
        gap: 5%;
    }

    .post-content-wrapper {
        width: 65%;
        margin-right: 5%;
    }

    .recent-posts-wrapper {
        width: 30%;
    }

    .page-id-25787 #post-list,
    .search-posts-wrapper #post-list {
        gap: 3%;
    }

    .page-id-25787 .post-item,
    .search-posts-wrapper .post-item {
        width: 31.33%;
    }

    img.wp-image-1527,
    img.wp-image-1520,
    img.wp-image-1510,
    img.wp-image-1512 { /* Stadionordnung / Club 2000 / Sponsor werden */
        width: 290px !important;
    }

    img.wp-image-667 { /* Ticketing */
        width: 175px !important;
    }

    img.wp-image-24199,
    img.wp-image-624,
    img.wp-image-3415 { /* Nachwuchsmaterial */
        height: 80px !important;
    }
    
}


@media all and (max-width: 982px) {

    .menu-hauptmenue-container {
        display: none;
    }

    .mobile-trigger {
        display: block;
    }

    .header-icons {
        display: none;
    }

    .home-intro {
        width: 100%;
        padding: 14vh 5% 8vh;
        display: flex;
        flex-wrap: wrap;
    }

    .home-sidebar {
        transform: translate(0, 0);
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-top: 8vh;
    }

    .last-game-wrapper {
        width: 47.5%;
        margin-right: 5%;
    }

    .next-game-wrapper {
        margin-top: 0;
        width: 47.5%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .news-slider-section {
        padding: 8vh 0;
    }

    .post-slider-item::before {
        padding-top: 60%;
    }

    .slick-nav-wrapper {
        bottom: 25px;
    }

    .cta-button-wrapper {
        margin-top: 4vh;
    }

    .ads-section {
        padding: 0 0 10vh;
    }

    .home-info-section {
        justify-content: center;
        padding-bottom: 7vh;
    }

    .home-info-section > div {
        width: 47.5%;
        margin-right: 5%;
    }

    .home-info-section > div:first-child {
        margin-right: 0;
        width: 48%;
        margin-bottom: 10vh;
    }

    .sponsors-inner {
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        justify-content: center;
    }

    .sponsor-item {
        width: calc(25% - 15px);
    }

    .sponsor-item:nth-child(2n) {
        margin-right: 20px;
    }

    .sponsor-item:last-child {
        margin-right: 0;
    }

    .sponsoring-wrapper {
        padding: 26vh 0 3vh;
    }

    #footer-jubel {
        right: 26%;
        top: -12vh;
        width: 50vw;
    }

    .footer-wrapper {
        padding: 6vh 0 12vh;
    }

    .footer-team-logos {
        width: 50%;
        margin-right: 0; 
    }

    .footer-fc-wil {
        display: none;
    }

    .footer-team-item img {
        height: 75px;
    }

    .footer-social a img {
        height: 20px;
    }

    .footer-social {
        transform: translate(0, -44px);
    }

    .fcwil-block-001 {
        margin-bottom: 3vh !important;
    }

    .section:only-child .fcwil-block-001 {
        margin-bottom: 3vh !important;
    }

    .section:last-child .wp-block-column:last-child .fcwil-block-001 {
        margin-bottom: 0 !important;
    }

    .fcwil-block-001 h2 {
        font-size: 2.25rem;
    }

    .has-top-padding.wp-block-columns {
        padding: 8vh 0 0;
    }
    
    .has-bottom-padding.wp-block-columns {
        padding: 0 0 8vh;
    }
    
    .has-both-padding.wp-block-columns {
        padding: 8vh 0;
    }

    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }

    .page-content > .section:first-child {
        padding-top: 8vh;
    }

    .fcwil-block-002, .post-head {
        padding: 6.5vh 0 3vh;
    }

    .fcwil-block-002.page-header-no-img {
        padding: 16.5vh 0 8vh;
        margin-bottom: 0;
    }

    .page-header-img::before {
        padding-top: 55%;
    }

    .wp-block-buttons {
        margin-bottom: 2vh;
    }

    .team-card {
        width: calc(33.33% - 13.33px);
        margin-right: 20px;
        margin-bottom: 2vh;
    }

    .team-card:nth-child(4n) {
        margin-right: 20px;
    }

    .team-card:nth-child(3n), .team-card:last-child {
        margin-right: 0;
    }

    .team-card-container > .team-card-wrap {
        width: calc(33.33% - 13.33px);
        margin-right: 20px;
        margin-bottom: 2vh;
    }

    .team-card-container > .team-card-wrap:nth-child(4n) {
        margin-right: 20px;
    }

    .team-card-container > .team-card-wrap:nth-child(3n), .team-card-container > .team-card-wrap:last-child {
        margin-right: 0;
    }

    .team-card-wrap .team-patronat {
        margin-top: 12px;
    }

    .team-details {
        font-size: 90%;
    }

    img.wp-image-21209 { /* Bergholz Kids Club */
        display: none;
    }

    .post-content-wrapper {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10vh;
    }

    .recent-posts-wrapper {
        width: 100%;
    }

    #recent-posts-list {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .recent-posts-wrapper .post-item {
        width: 47.5% !important;
        margin-right: 5%;
        margin-bottom: 0 !important;
    }

    .recent-posts-wrapper .post-item:last-child {
        margin-right: 0;
    }

    .post-content {
        padding: 8vh 0;
    }

    .page-header-title {
        max-width: 100%;
        position: relative;
        z-index: 1;
        top: -1em;
        left: 4vw;
        margin-bottom: 0;
    }

    .illustrations-two .fcwil-block-002::before {
        top: 24%;
    }

    .wp-block-columns.medienanfragen-nested .wp-block-column {
        flex-basis: 50% !important;
    }

    .sportpark-eckdaten {
        gap: 5%;
    }

    .wp-block-columns .wp-block-column.sportpark-infobox-col {
        flex-basis: 47.5% !important;
        margin-top: 8vh;
    }


    #sportpark-bilder .wp-block-column {
        transform: translate(0, 0);
        flex-basis: 30% !important;
    }

    #sportpark-bilder {
        margin-top: 8vh;
        height: auto;
        padding: 8vh 0;
        gap: 5%;
    }

    .plus-icon a::before {
        width: 42px;
        height: 42px;
    }

    .news-posts-wrapper {
        width: 100%;
        margin-right: 0;
        order: 2;
    }

    .news-posts-sidebar {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        width: 100%;
        order: 1;
        margin-bottom: 6vh;
    }

    .news-categories {
        margin-bottom: 0;
        width: 47.5%;
        margin-right: 5%;
        padding: 20px 25px 20px 25px;
    }

    .news-archives {
        width: 47.5%;
        padding: 20px 25px 20px 25px;
    }

    .news-categories-wrapper,
    .news-archives-wrapper {
        display: none;
        padding-top: 15px;
    }

    .news-categories h4,
    .news-archives h4 {
        padding-bottom: 0;
        position: relative;
        padding-left: 2.5rem;
    }

    .news-categories h4::before,
    .news-archives h4::before {
        content: '';
        background-image: url(/wp-content/uploads/2021/01/down001-E049.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        display: block;
        height: 1.25rem;
        width: 1.25rem;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translate(0, -50%);
        transition: all 400ms ease;
    }

    .news-categories h4.active::before,
    .news-archives h4.active::before {
        transform: translate(0, -50%) rotate(180deg);
    }

    .news-archives .yearly-archives {
        margin-top: 20px;
    }

    .single .page-header-title {
        max-width: 90%;
        margin-bottom: 4vh;
    }

    .sponsor-mitarbeiter-col {
        margin-top: 4vh !important;
    }
    
    .sponsor-mitarbeiter-col .wp-block-spacer {
        display: none;
    }

    .sponsor-mitarbeiter-col .fcwil-block-004 {
        float: left;
    }

    .sponsor-mitarbeiter-col .fcwil-block-004:first-child {
        margin-left: 0;
    }

    .fans-infobox-cols {
        gap: 5% !important;
    }

    .wp-block-columns .wp-block-column.fans-infobox-col {
        flex-basis: 47.5% !important;
        margin-top: 0;
    }

    .anfahrt-bild-col {
        margin-top: 4vh !important;
    }

    .anfahrt-bild-col .wp-block-image img {
        width: 360px;
    }

    .partner-section .wp-block-columns {
        gap: 5% !important;
    }

    .partner-section .wp-block-columns .wp-block-column {
        flex-basis: 47.5% !important;
        margin-bottom: 3vh;
    }

    .partner-section:not(.partner-section-hauptsponsoren) .wp-block-spacer:not(:first-of-type) {
        display: none;
    }

    .club-2000-mitarbeiter-col .fcwil-block-004 {
        float: left;
        margin-left: 0;
        margin-top: 4vh;
    }

    .club-2000-cta-cols.wp-block-columns .wp-block-column {
        flex-basis: 47.5% !important;
    }

    .page-id-25787 .post-item, .search-posts-wrapper .post-item {
        width: 47.5%;
    }

    .page-id-25787 #post-list, .search-posts-wrapper #post-list {
        gap: 5%;
    }

    img.wp-image-24199, img.wp-image-624 {
        height: 80px !important;
        margin-bottom: 3vh;
    }

    .fcwil-block-007 {
        padding-top: 40px;
        padding-bottom: 100px;
    }

    .history-item{
        width: 100%;
        margin-left: auto;
        margin-right: 0;
        padding-right: 0;
        padding-left: 50px;
    }

    .history-timeline {
        left: -2px;
    }

    .history-item .history-date {
        right: auto;
        left: 50px;
        top: -65px;
    }
    
    .history-item .history-date::before {
        right: auto;
        left: -50px;
    }
    
    .history-item .history-date::after {
        right: auto;
        left: calc(-50px - .5rem);
    }

    .link-boxen-home-section {
        padding: 8vh 0;
    }

    .link-box-home {
        width: 47.5%;
    }

    .link-boxen-home-section .container {
        gap: 75px 5%;
    }

}


@media all and (max-width: 600px) {

    .home-img-wrapper img {
        width: 100%;
        max-width: 100%;
    }
    
    .home-intro {
        padding: 150px 5% 10vh;
    }

    .home-sidebar {
        margin-top: 12vh;
    }

    .last-game-wrapper {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }

    .next-game-wrapper {
        width: 100%;
    }

    .tickets-hinweis {
        font-size: .85rem;
    }

    .home-info-section > div {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }

    .home-info-section > div:first-child {
        margin-right: 0;
        width: 100%;
        margin-bottom: 40px;
    }

    .home .home-info-section > div:last-child .info-block-details-wrapper {
        transform: translate(0, 0);
    }

    .ads-section {
        padding: 6vh 0 16vh;
    }

    #footer-jubel {
        right: 50%;
        transform: translate(50%, 0);
        top: -95px;
        width: 290px;
    }

    .sponsor-item {
        width: calc(50% - 10px);
    }

    .sponsor-item:nth-child(2n) {
        margin-right: 0;
    }

    .partner-item {
        width: calc(50% - 10px);
        margin-right: 20px;
        margin-bottom: 3vh;
    }

    .partner-item:nth-child(5n) {
        margin-right: 20px;
    }

    .partner-item:nth-child(2n) {
        margin-right: 0;
    }

    #footer {
        margin-top: 24vh;
    }

    .footer-team-logos {
        width: 100%;
        margin-right: 0;
        margin-bottom: 35px;
    }

    .footer-address {
        width: 100%;
        text-align: center;
        margin-bottom: 35px;
    }

    .footer-links {
        width: 100%;
        text-align: center;
    }

    .footer-links br {
        display: none;
    }

    .footer-links a {
        font-size: 1.6rem;
        letter-spacing: 1.5px;
    }

    .footer-links a:not(:last-child) {
        margin-right: 25px;
    }

    #overlay-menu {
        padding-top: 175px;
    }

    ul#mobile-menu li a {
        position: relative;
        font-size: 2rem;
        letter-spacing: 1.25px;
    }

    ul#mobile-menu li:not(:last-child) {
        margin-bottom: 10px;
    }

    .page-content > .section:first-child {
        padding-top: 125px;
    }

    .fcwil-block-001 {
        margin-bottom: 35px !important;
    }

    .has-top-padding.wp-block-columns {
        padding: 10vh 0 0;
    }
    
    .has-bottom-padding.wp-block-columns {
        padding: 0 0 10vh;
    }
    
    .has-both-padding.wp-block-columns {
        padding: 10vh 0;
    }

    .page-content > .section:first-child {
        padding-top: 100px;
    }

    .fcwil-block-002.page-header-no-img {
        padding: 170px 0 10vh;
        margin-bottom: 0;
    }

    .fcwil-block-001 h2 {
        font-size: 1.8rem;
    }

    .fcwil-block-002, .post-head {
        padding: 100px 0 3vh;
    }

    h1 {
        font-size: 2.4rem;
        letter-spacing: 1.75px;
    }

    .team-card {
        width: 100%;
        margin-right: 0;
        margin-bottom: 35px;
    }

    .team-card-container > .team-card-wrap {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 35px;
    }

    .team-details {
        font-size: 1rem;
    }

    .team-details span {
        font-size: 1.2rem;
    }

    .team-card:nth-child(4n) {
        margin-right: 0;
    }

    /* .team-card-management .team-name {
        margin-top: -12px;
        margin-bottom: -4px;
    } */

    .team-email {
        font-size: 1rem;
    }

    #sportpark-bilder {
        margin-top: 10vh;
        padding: 10vh 0;
        gap: 0;
    }

    .wp-block-columns .wp-block-column.sportpark-infobox-col {
        flex-basis: 100% !important;
        margin-top: 35px;
    }

    #sportpark-bilder .wp-block-column {
        transform: translate(0, 0);
        flex-basis: 100% !important;
    }

    .wp-block-columns .wp-block-column.fans-infobox-col {
        flex-basis: 100% !important;
        margin-top: 0;
    }

    .wp-block-columns .wp-block-column.fans-infobox-col:first-child {
        margin-bottom: 35px;
    }

    .fcwil-toggle-title {
        font-size: 1.4rem;
        padding: .25rem 0 .2rem 2rem;
    }

    .fcwil-toggle-title::before {
        height: 1.15rem;
        width: 1.15rem;
    }

    .fcwil-block-005, .fcwil-toggle-gallery {
        gap: 5px;
    }

    .fcwil-gallery-item {
        width: calc(33.33% - 4px);
    }

    .wpcf7-form {
        padding: 20px;
    }

    .team-card.team-card-block {
        width: 100%;
    }

    .sponsor-mitarbeiter-col .fcwil-block-004:first-child {
        margin-bottom: 35px !important;
    }

    .sponsor-mitarbeiter-col .fcwil-block-004 {
        margin-left: 0 !important;
    }

    .partner-section .wp-block-columns {
        gap: 20px !important;
    }

    .partner-section .wp-block-columns .wp-block-column {
        flex-basis: calc(50% - 20px) !important;
        margin-bottom: 0;
    }

    .partner-section-hauptsponsoren.partner-section .wp-block-columns {
        gap: 0 !important;
    }

    .partner-section-hauptsponsoren.partner-section .wp-block-columns .wp-block-column {
        flex-basis: 100% !important;
        margin-bottom: 35px;
    }

    .partner-section .section {
        margin-bottom: 20px;
    }

    .partner-section .wp-block-image img {
        max-height: 60px;
        width: auto !important;
    }

    .partner-section .wp-block-image img[src$=".svg"] {
        height: 60px !important;
    }

    .partner-section.partner-section-hauptsponsoren {
        padding-bottom: 10vh;
    }

    .partner-section.partner-section-hauptsponsoren .wp-block-image img {
        max-height: 85px;
        width: auto !important;
    }

    .club-2000-cta-cols.wp-block-columns .wp-block-column {
        flex-basis: 100% !important;
    }

    .club-2000-cta-cols.wp-block-columns .wp-block-column:first-child {
        margin-bottom: 35px;
    }

    .page-id-25787 #post-list, .search-posts-wrapper #post-list {
        gap: 0;
    }

    .page-id-25787 .post-item, .search-posts-wrapper .post-item {
        width: 100%;
    }

    .page-id-25787 .page-header-img::before {
        padding-top: 55%;
    }

    .wp-block-table th {
        font-size: 1.1em;
        letter-spacing: 1px;
        line-height: 1;
    }

    .wp-block-table th span {
        font-size: .8rem;
        padding-top: 5px;
    }

    .wp-block-table td, .wp-block-table th {
        border: none;
        padding: .25em .25em;
    }

    .wp-block-columns.medienanfragen-nested .wp-block-column {
        flex-basis: 100% !important;
    }

    .wp-block-columns.medienanfragen-nested .fcwil-block-004 {
        margin-right: 0 !important;
        margin-bottom: 35px !important;
    }

    .post-item {
        width: 100%;
    }

    #post-list {
        gap: 0;
    }

    .news-categories {
        width: 100%;
        margin-right: 0;
        padding: 15px 20px 15px 20px;
        margin-bottom: 25px;
    }

    .news-archives {
        width: 100%;
        padding: 15px 20px 15px 20px;
    }

    .news-categories h4, .news-archives h4 {
        font-size: 1.4rem;
        line-height: 1;
        padding-left: 2rem;
    }

    .news-categories h4::before, .news-archives h4::before {
        height: 1.15rem;
        width: 1.15rem;
    }

    .news-categories span a, .news-archives span a {
        font-size: 1.1rem;
        font-weight: 400;
    }

    .single .page-header-title h1 {
        font-size: 1.8rem;
    }

    .recent-posts-wrapper .post-item {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .recent-posts-wrapper .post-item:Not(:last-child) {
        margin-bottom: 8vh !important;
    }

    .home-info-section {
        padding-bottom: 0;
    }

    .slick-nav-wrapper {
        bottom: -35px;
    }

    .news-slider-section .cta-button-wrapper {
        margin-top: 70px;
    }

    .post-slider-more {
        margin-top: 5px;
    }

    .post-slider-details h3 {
        font-size: 1.6rem;
        letter-spacing: 1.5px;
        line-height: 1.3;
        max-width: 90%;
    }

    .post-slider-item::before {
        padding-top: 90%;
    }

    .slick-nav-wrapper ul.slick-dots button {
        width: 13px;
        height: 13px;
        transition: all 300ms ease-in-out;
        border: 1px solid #0C71C3;
    }

    .slick-nav-wrapper ul.slick-dots li {
        margin: 0 7px;
    }

    .fcwil-block-002 .page-header-title {
        max-width: 94%;
    }

    h2 {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    h3 {
        font-size: 1.6em;
        letter-spacing: 1.25px;
    }

    h4 {
        font-size: 1.5em;
        letter-spacing: 1.15px;
    }

    .fcwil-block-007 {
        padding-top: 0;
        padding-bottom: 100px;
    }

    .history-timeline {
        top: -75px;
    }

    .history-item {
        padding-left: 20px !important;
    }

    .history-item .history-date {
        right: auto;
        left: 20px !important;
        top: -60px;
    }

    .history-item .history-date::before {
        right: auto;
        left: -20px !important;
        width: 50px;
    }

    .history-item .history-date::after {
        right: auto;
        left: calc(-20px - .5rem) !important;
    }

    .link-box-home {
        width: 100%;
    }

    .link-boxen-home-section .container {
        gap: 50px 0;
    }

    .link-box-home>div:first-of-type {
        margin-bottom: 25px;
    }

}