/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com
 Description: Child theme for GeneratePress
 Author: Richard
 Template: generatepress
 Version: 1.0
*/

.abschuss-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.abschuss-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.abschuss-gallery-item img:hover {
    transform: scale(1.03);
}

.abschuss-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.abschuss-archive-item {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.abschuss-archive-item:hover {
    transform: translateY(-3px);
}

.abschuss-thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.no-thumb {
    width: 100%;
    height: 150px;
    background: #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.abschuss-title {
    margin-top: 10px;
    font-size: 1.1rem;
}

.abschuss-meta {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #444;
}
.video-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.video-thumb {
    position: relative;
    width: 300px;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    border-radius: 6px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    text-shadow: 0 0 10px black;
}

.custom-login-wrapper {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    background: #f5f5f5;
    border-radius: 8px;
}

.custom-login-wrapper h2 {
    text-align: center;
    margin-bottom: 20px;
}
.abschuss-buttons {
    margin-bottom: 20px;
}

.btn-add, .btn-edit {
    display: inline-block;
    padding: 8px 14px;
    background: #2c7a2c;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.btn-edit {
    background: #1e73be;
    margin-top: 10px;
    display: inline-block;
}

.abschuss-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.abschuss-filter input,
.abschuss-filter select {
    padding: 6px 10px;
}

/* MAP */
#maerchen-map {
    width: 100%;
    height: 450px;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}



.map-popup {
    max-width: 160px;
    font-size: 14px;
}
.map-popup img {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 6px;
}

.map-thumb {
    width: 100%;
    border-radius: 6px;
}

.popup-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: #eee;
    color: #333;
    border-radius: 6px;
    text-decoration: none;
    font-size: 20px;
}

.icon-btn:hover {
    background: #ddd;
}

.popup-btn:hover {
    background: #3367D6;
}

.popup-btn:active {
    background: #2A56C6;
}





/* GRID */
.maerchen-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.maerchen-archive-item {
    text-align: center;
}

.maerchen-thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.no-thumb {
    width: 100%;
    height: 120px;
    background: #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.route-btn {
    margin-top: 8px;
    padding: 6px 10px;
    background: #4285F4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.route-btn:hover {
    background: #3367D6;
}
.maerchen-gallery {
    margin-top: 40px;
}

.maerchen-gallery h3 {
    margin-bottom: 20px;
}

.maerchen-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.maerchen-gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.maerchen-gallery-item img:hover {
    transform: scale(1.03);
}
.maerchen-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.maerchen-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.maerchen-list-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.maerchen-list-info {
    font-size: 16px;
}
.maerchen-popup img {
    width: 100%;
    border-radius: 6px;
}

.maerchen-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.maerchen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: #eee;
    border-radius: 4px;
    text-decoration: none;
    font-size: 20px;
}

.maerchen-btn:hover {
    background: #ddd;
}
#maerchen-filter {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

#maerchen-filter select,
#maerchen-filter input {
    padding: 6px 10px;
    font-size: 16px;
}
