/* FRont-Page: Grunddesign der Box (Laptop & iPhone identisch) */
/* Container für die Reise-Box */
.page-header {
	padding-top: 24px !important;
	padding-bottom: 4px  !important;
}

.reise-entry { 
    display: flex !important; 
    flex-direction: row !important; /* Erzwingt IMMER nebeneinander */
    flex-wrap: nowrap !important;   /* Verhindert das Umbrechen des Textes nach unten */
    align-items: flex-start; 
    gap: 15px; 
    margin-bottom: 15px; 
    padding: 15px;
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 6px;
    text-decoration: none !important; 
    color: inherit !important;
    overflow: hidden; /* Sauberer Abschluss */
}

/* Bild-Bereich: Feste Breite reservieren */
.reise-image {
    flex: 0 0 100px; /* Bild bleibt IMMER 100px breit */
    width: 100px;
}

.reise-image img {
    width: 100px !important;
    height: 75px !important;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Text-Bereich: Restlichen Platz nutzen */
.reise-text {
    flex: 1; 
    min-width: 0; /* Wichtig für Browser-Kompatibilität bei Flexbox */
}

.reise-text h2 { 
    margin: 0 0 5px 0 !important; 
    font-size: 1.2rem;
    line-height: 1.2;
    color: #fff;
}

.cat-desc { 
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #bbb;
    /* Optional: Schneidet zu langen Text nach 3 Zeilen ab */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Der Container für Ebene 3 */
.reise-details-wrapper {
    margin-top: -10px;    /* Zieht den Link näher an die Ebene 2 Box */
    margin-bottom: 20px;
    margin-left: 20px;    /* Grund-Einrückung für den Summary-Link */
}

/* Der "Trips einblenden" Link */
.reise-details-wrapper summary {
    cursor: pointer;
    color: #0073aa;
    font-size: 0.85rem;
    font-weight: bold;
    outline: none;
    margin-bottom: 5px;   /* Kleiner Abstand zum Inhalt, wenn ausgeklappt */
}

/* Die eigentlichen Unterkategorien (Ebene 3) */
.sub-entry {
    margin-left: 25px;    /* Einrückung der Inhalte der 3. Ebene */
    background: rgba(0, 0, 0, 0.15) !important; /* Etwas dunkler abgesetzt */
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

/* Bildgröße für Ebene 3 minimal verkleinern für bessere Optik */
.sub-entry .reise-image, 
.sub-entry .reise-image img {
    width: 80px !important;
    height: 60px !important;
}



/* 1. Den hässlichen Safari-Standard-Pfeil komplett eliminieren */
.reise-details-wrapper summary {
    list-style: none !important;
    display: flex !important; /* Nutzt Flexbox für perfekte Ausrichtung */
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 25px; /* Platz für unser neues Icon */
}

.reise-details-wrapper summary::-webkit-details-marker {
    display: none !important; /* Versteckt den Safari-Pfeil */
}

.reise-details-wrapper summary::marker {
    content: ""; /* Löscht den Punkt in Firefox/Chrome */
}

/* 2. Unser eigenes schönes Icon (Plus) erstellen */
.reise-details-wrapper summary::before {
    content: "+";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    color: #0073aa; /* Deine Wunschfarbe */
    transition: transform 0.2s ease;
}

/* 3. Icon ändern, wenn ausgeklappt (Minus oder Drehung) */
.reise-details-wrapper[open] summary::before {
    content: "−"; /* Echtes Minus-Zeichen */
    transform: rotate(180deg); /* Optionaler Effekt */
}

/* 4. Sicherstellen, dass der Text nicht reinrutscht */
.reise-details-wrapper summary {
    outline: none;
    user-select: none;
}