/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/


/* =========================
   STICKY FOOTER
========================= */

html, body {
    height: 100%;
    margin: 0;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Content wächst */
.site-content,
.site-wrapper #content,
.site-wrapper .container{
    flex: 1;
	max-width:1100px;
	padding:40px 20px;
}

/* =========================
   GLOBAL
========================= */

body {
    background-color: #f5f6f8 !important;
    font-family: Arial, sans-serif;
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}




h1 {
    margin-bottom: 30px;
}

h2 {
    margin: 0;
}

/* =========================
   Header
========================= */
.roadgipsy-header {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /*color: #fff; */
}

/* =========================
   REISE CARD
========================= */

.reise-item {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.roadgipsy-header-content {
    display: flex;
    align-items: center;
    gap: 20px;

    max-width: 1100px;
	width:100%;
    margin: 0 auto;
    padding: 20px;

    position: relative;
    z-index: 2;
}


/* =========================
   LAYOUT
========================= */

.reise-main {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.reise-text {
    flex: 1;
	margin-left:40px;
}


.reise-text h2 {
    position: relative;
    font-size: 22px;
    margin-bottom: 0;	
	margin-top:0;
}

.reise-text h2::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0px;
    width: 32px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c49a6c' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}


.reise-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.reise-desc {
    color: #555;
    line-height: 1.6;
}

/* =========================
   BACK BUTTON
========================= */

.back-to-overview {
    max-width: 1100px;
    margin: 30px 0 10px;
    padding: 0 20px;
}

.back-to-overview a {
    display: inline-block;
    text-decoration: none;
    color: #c49a6c;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

/* Hover */
.back-to-overview a:hover {
    color: #a67c52;
    transform: translateX(-3px);
}

/* =========================
   IMAGE RIGHT
========================= */

/* =========================
   IMAGE BLOCK
========================= */

.reise-image {
    flex: 1;
    max-width: 320px;
}

/* GROSSES BILD */
.reise-image-main img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}


.reise-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

/* =========================
   GALLERY PREVIEW
========================= */

/* THUMBNAILS */
.reise-gallery-preview {
    display: flex;
    gap: 8px;
}

.reise-gallery-preview img {
    width: calc(33.33% - 5px);
    height: 85px;
    object-fit: cover;
    border-radius: 6px;
	transition: 0.2s;
}

/* =========================
   BUTTON
========================= */

.more-images {
    margin-left: 0;
    padding: 8px 14px;
    background: #c49a6c;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
	display: inline-block;
    margin-top: 15px;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{
   background-color: #c49a6c;
}


.more-images:hover {
    background: #b3885c;
    color: #fff !important;
}



/* =========================
   FILTER BAR
========================= */

.roadgipsy-filter {
    background: #eaeaea;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.roadgipsy-filter form {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    align-items: center;
	justify-content:center;
	padding-left:20px;
	padding-right:20px;
}

.filter-item select,
.filter-item input {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    min-width: 180px;
}

.filter-item input {
    width: 250px;
}

.filter-item button {
    background-color: #c49a6c !important;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.filter-item button:hover {
    background: #b3885c;
}


/* =========================
   HERO
========================= */

/* HERO bleibt */
.reise-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
}

/* Overlay optional leicht */
.reise-hero-overlay,
.roadgipsy-header-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
	width:100%;
}

/* 🔥 DER BANNER */
.reise-hero-banner {
    position: absolute;
    bottom: 30px;
    left: 0;

    background: rgba(0,0,0,0.7);
    color: #fff;

    padding: 20px 30px;
    border-radius: 0 8px 8px 0;
	backdrop-filter: blur(3px);

    max-width: 600px;
}

/* Titel */
.reise-hero-banner h1 {
    margin: 0;
    font-size: 28px;
}

/* Datum */
.reise-hero-banner p {
    margin-top: 5px;
    font-size: 14px;
    color: #ddd;
}

/* =========================
   TEXT
========================= */

.reise-detail-text {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-size: 16px;
}

.roadgipsy-text{
	color:#FFF;	
}

/* =========================
   GALERIE GRID
========================= */

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

.reise-gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
}

.reise-gallery-grid img:hover {
    transform: scale(1.05);
}


/* =========================
   LIGHTBOX
========================= */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* CLOSE BUTTON */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* NAVIGATION */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* HOVER EFFECT */
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    opacity: 0.7;
}


/* =========================
   NAVIGATION PREMIUM
========================= */

/* Standard */
.reise-navigation {
    display: flex;
    justify-content: space-between;
    margin: 60px 0;
    gap: 20px;
}

/* Nur PREV vorhanden → links */
.reise-navigation.only-prev {
    justify-content: flex-start;
}

/* Nur NEXT vorhanden → rechts */
.reise-navigation.only-next {
    justify-content: flex-end;
}

/* Container */
.nav-item {
    background: #fff;
    padding: 15px;
    text-decoration: none;
    color: #333;

    display: flex;
    align-items: center;
    gap: 15px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.25s ease;

    max-width: 350px;
}

.nav-item.nav-next{
    border-top-left-radius:8px;
	border-bottom-left-radius:8px;		
}

.nav-item.nav-prev{
    border-top-right-radius:8px;
	border-bottom-right-radius:8px;		
}

/* Hover Effekt 🔥 */
.nav-item:hover {
    background: #c49a6c;
    color: #fff;
    /*transform: translateY(-4px); */
}

/* Text im Hover */
.nav-item:hover small {
    color: #f1e4d6;
}

/* Thumbnail */
.nav-thumb{
	height:70px;	
}

.nav-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

/* Content */
.nav-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Text */
.nav-item strong {
    display: block;
    font-size: 15px;
}

.nav-item small {
    font-size: 12px;
    color: #777;
}

/* Pfeile */
.nav-item .arrow {
    font-size: 20px;
    color: #c49a6c;
    transition: transform 0.25s ease;
}

/* Pfeil Animation 🔥 */
.nav-prev:hover .arrow {
    transform: translateX(-5px);
}

.nav-next:hover .arrow {
    transform: translateX(5px);
}

/* Pfeil im Hover */
.nav-item:hover .arrow {
    color: #fff;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #1f1f1f;
    padding: 30px 20px;
    margin-top: 80px;
	max-width:100% !important;
}

/* Navigation */
.site-footer .site-navigation {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
	justify-content:center;
}

/* Menü */
.site-footer .menu {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Links */
.site-footer a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

/* Hover */
.site-footer a:hover {
    color: #c49a6c;
}

/* Trennlinie optional */
.site-footer .menu li {
    position: relative;
}

/* schöner Abstand */
.site-footer .menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #444;
}


/* =========================
   HEADER PROFILBILD
========================= */

.roadgipsy-profile {
    flex-shrink: 0;
}

.roadgipsy-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #c49a6c;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background-color: #fff;
}


/* =========================
   PAGINATION
========================= */

.pagination {
    text-align: center;
    margin: 50px 0 !important;
	justify-content:center !important;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    transition: 0.2s;
}

/* Hover */
.pagination .page-numbers:hover {
    background: #f0f0f0;
}

/* Aktive Seite */
.pagination .current {
    background: #c49a6c !important;
    color: #fff;
}


/* zusätzliche Buttons */
.pagination .first-page,
.pagination .last-page {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

/* Hover */
.pagination .first-page:hover,
.pagination .last-page:hover {
    background: #f0f0f0;
}


/* Grund */
.image-picker {
    display: inline-block;
}

/* Banner größer */
.banner-picker .image-item,
.banner-picker .image-add {
    width: 300px;
    height: 120px;
}

/* Profil kleiner + rund */
.profile-picker .image-item,
.profile-picker .image-add {
    width: 100px;
    height: 100px;
}

/* Rundes Profilbild */
.profile-picker img {
    border-radius: 50%;
}

/* Bild allgemein */
.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* X */
.remove-image {
    position: absolute;
    top: 5px;
    right: 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 22px;
    border-radius: 50%;
    cursor: pointer;
}

/* Plus */
.image-add {
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #999;
    cursor: pointer;
    border-radius: 6px;
}

.image-add:hover {
    border-color: #0073aa;
    color: #0073aa;
}


.year-heading {
    font-size: 32px;
    margin: 40px 0 20px;
    font-weight: bold;
    color: #333;
    border-left: 4px solid #c59d5f;
    padding-left: 10px;
}

.year-group {
    margin-bottom: 40px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .reise-main {
        flex-direction: column;
    }

    .reise-image img {
        height: auto;
    }

	.reise-gallery-preview {
		display: flex;
		gap: 6px;
		margin-top: 8px;
	}
	
    .reise-gallery-preview img {
        width: calc(33.333% - 4px);
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
    }	
	
    .reise-card {
        padding: 15px;
        border-radius: 12px;
    }

    .reise-card h2 {
        font-size: 18px;
    }

    .reise-card p {
        font-size: 14px;
        line-height: 1.5;
    }	
	
    .gallery-small {
        display: flex;
        gap: 6px;
        margin-top: 8px;
    }

    .gallery-small img {
        width: calc(50% - 3px);
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
    }

    .gallery-small img:nth-child(n+3) {
        display: none; /* nur 2 anzeigen */
    }
	
    .btn-more {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 15px;
        margin: 10px 0;
    }
	
    .reise-card + .reise-card {
        margin-top: 15px;
    }

    .main-content {
        padding: 10px;
    }	

    .header-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
    }

    .header-inner img {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }

    .header-inner h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .header-inner p {
        font-size: 14px;
        line-height: 1.5;
    }
	
	
    .filter-bar {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .filter-bar select,
    .filter-bar input,
    .filter-bar button {
        width: 100%;
    }

    .filter-bar button {
        padding: 12px;
        font-size: 16px;
    }	
	
	
    .reise-navigation {
        display: flex;
        flex-direction: column; /* 🔥 DAS ist der entscheidende Punkt */
        gap: 12px;
    }

    .nav-item {
        display: flex;
        align-items: center;
        gap: 10px;

        width: 100%;
        background: #fff;
        border-radius: 10px;
        padding: 10px;
        text-decoration: none;
    }

    .nav-thumb {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 8px;
    }

    .nav-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nav-content {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    .nav-content strong {
        font-size: 15px;
    }

    .nav-content small {
        display: block;
        font-size: 12px;
        color: #777;
    }

    .arrow {
        font-size: 16px;
        color: #999;
    }


    /* Overlay */
    .nav-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px;
        background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
        color: #fff;
    }

    .nav-overlay span {
        display: block;
        font-size: 12px;
        opacity: 0.9;
    }

    .nav-overlay strong {
        display: block;
        font-size: 16px;
        font-weight: 600;
    }	

	.nav-prev {
		order: 1;
	}

	.nav-next {
		order: 2;
	}	
}


@media (max-width: 510px) {

    form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .filter-item {
        width: 100%;
    }

    .filter-item select,
    .filter-item input,
    .filter-item button {
        width: 100%;
        box-sizing: border-box;
    }

    .filter-item button {
        padding: 12px;
        font-size: 16px;
    }
	
	.roadgipsy-profile{
		display:none;	
	}
	
	.roadgipsy-header{
		height:auto;	
	}
}