.golf-home-animation {
    height: 100vh; 
}

.golf-home-animation video{
    object-fit: cover;
    height: 100vh;
    max-width: none;
    max-height: none;
    left: 0;
    top: 0;
}

.golf-home-animation-image{
    position: absolute;
    left: 0;
    right: 0;
    width: 260px;
    height: 260px;
    top: 0;
    bottom: 0;
    margin: auto;
    animation: fadeOutAfterDelay 7s ease-in-out forwards;
}

@keyframes fadeOutAfterDelay {
    0%, 85.7% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.admin-bar .golf-home-animation {
    height: calc(100vh - 32px); 
}

/* Mobile admin bar adjustment */
@media screen and (max-width: 782px) {
    .admin-bar .golf-home-animation {
        height: calc(100vh - 46px);
    }
}

.home .golf-header,.home .golf-header-mobile {
    margin-top: -110px !important;
    transition: margin-top 0.8s ease-out;
}

.home .golf-header.golf-header-scrolled,.home .golf-header-mobile.golf-header-scrolled {
    margin-top: 0 !important;
}


@media(min-width: 768px){
    .golf-home-animation-image{
        width: 400px;
        height: 400px;
    }
}

.elementor-location-header.golf-header-scrolled{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99999;
}


/* Platzinfo Widget Styles */
.platzinfo-widget {
    margin: 20px 0;
    position: relative;
}

.platzinfo-widget::after {
    content: "";
    height: 100%;
    width: 6px;
    position: absolute;
    right: -2px;
    top: 0;
    background-color: #fff;
    z-index: 1;
}

.platzinfo-widget .swiper {
    padding: 0;
}

.platzinfo-item {
    height: auto;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #a28f62;
}

.swiper-slide.platzinfo-item {
    height: 110px;
}

.platzinfo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.platzinfo-image {
    flex-shrink: 0;
}

.platzinfo-image img {
    max-width: 40px;
    max-height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

.platzinfo-text {
    flex: 1;
}

.platzinfo-titel {
    margin: 0 0 3px 0;
    font-family: "Encode Sans Semi Condensed", Sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #4c6155;
}

.platzinfo-statustext {
    font-family: "Encode Sans Semi Condensed", Sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #5e5e5e;
}

.platzinfo-item.inaktiv .platzinfo-image img,
.platzinfo-item.inaktiv .platzinfo-titel{
    filter: hue-rotate(200deg) saturate(4) contrast(4);
}

/* Swiper Navigation Styling */
.platzinfo-widget .swiper-button-next,
.platzinfo-widget .swiper-button-prev {
    color: #a28f62;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    margin-top: -20px;
    border: 1px solid #a28f62;
    transition: all 0.3s ease;
}

.platzinfo-widget .swiper-button-next:hover,
.platzinfo-widget .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.platzinfo-widget .swiper-button-next::after,
.platzinfo-widget .swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
    position: relative;
    top: 1px;
}

@media (min-width: 768px) {

    .platzinfo-content {
        flex-direction: row;
        gap: 15px;
        text-align: left;
    }

    .platzinfo-titel {
        font-size: 16px;
    }
    
    .platzinfo-statustext {
        font-size: 13px;
    }

    .platzinfo-image img {
        max-width: 50px;
        max-height: 50px;
    }
}


@media (min-width: 1100px) {
    .platzinfo-titel {
        font-size: 18px;
    }
    
    .platzinfo-statustext {
        font-size: 14px;
    }

    .platzinfo-image img {
        max-width: 60px;
        max-height: 60px;
    }
}


/* Mitgliederverzeichnis Styles */
.mitgliederverzeichnis {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.mitgliederverzeichnis h3 {
    margin: 0 0 20px 0;
    font-family: "Encode Sans Semi Condensed", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #4c6155;
    text-align: center;
    border-bottom: 2px solid #a28f62;
    padding-bottom: 10px;
}

/* Live Search Styles */
.mitglieder-search-container {
    position: relative;
    margin-bottom: 20px;
}

.mitglieder-search-input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    font-family: "Encode Sans Semi Condensed", Sans-serif;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.mitglieder-search-input:focus {
    border-color: #a28f62;
    box-shadow: 0 0 0 3px rgba(162, 143, 98, 0.1);
}

.mitglieder-search-input::placeholder {
    color: #999;
    font-style: italic;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 22px;
    transform: translateY(-50%);
    color: #a28f62;
    font-size: 16px;
    pointer-events: none;
}

.search-results-count {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-family: "Encode Sans Semi Condensed", Sans-serif;
    text-align: center;
}

.search-results-count.show {
    display: block !important;
}

/* Search highlighting */
.search-highlight {
    background-color: #fff3cd;
    color: #856404;
    font-weight: 600;
    padding: 1px 2px;
    border-radius: 2px;
}

/* Hidden state for filtered items */
.mitglied-eintrag.search-hidden {
    display: none !important;
}

/* No results message */
.no-search-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-family: "Encode Sans Semi Condensed", Sans-serif;
    font-size: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-top: 10px;
}

.mitglieder-liste {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mitglied-eintrag {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-family: "Encode Sans Semi Condensed", Sans-serif;
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.mitglied-eintrag:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    border-color: #a28f62;
}

.mitglied-header {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.mitglied-header:hover {
    background-color: #f8f8f8;
}

.mitglied-header .nachname {
    font-weight: 600;
    color: #4c6155;
}

.mitglied-header .vorname {
    font-weight: 400;
    color: #666;
}

.toggle-icon {
    color: #a28f62;
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 10px;
    pointer-events: none;
    user-select: none;
}

.mitglied-eintrag.active .toggle-icon {
    transform: rotate(180deg);
}

.mitglied-details {
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
    padding: 16px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

.detail-row {
    margin-bottom: 8px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-item {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.detail-item strong {
    color: #4c6155;
    font-weight: 600;
    display: inline-block;
    min-width: 70px;
}

@media (max-width: 767px) {
    .mitgliederverzeichnis {
        margin: 10px 0;
        padding: 15px;
    }
    
    .mitgliederverzeichnis h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .mitglieder-search-input {
        font-size: 14px;
        padding: 10px 40px 10px 14px;
    }
    
    .search-icon {
        right: 12px;
        font-size: 14px;
    }
    
    .search-results-count {
        font-size: 13px;
        margin-top: 6px;
    }
    
    .no-search-results {
        padding: 30px 15px;
        font-size: 14px;
    }
    
    .mitglied-header {
        font-size: 15px;
        padding: 10px 14px;
    }
    
    .mitglied-details {
        padding: 12px 14px;
    }
    
    .detail-item {
        font-size: 13px;
    }
    
    .detail-item strong {
        min-width: 60px;
    }
}