/* ==========================================================================
   Anderles Impressum & Abbildungsverzeichnis Stylesheet
   ========================================================================== */

.anderles-abbildungsverzeichnis {
    margin: 20px 0 30px 0;
}

.anderles-imgdir-section {
    margin-bottom: 22px;
    background: var(--hintergrund);
    padding: 14px 18px;
    border-left: none;
    border-radius: 0px;
	border: 1px solid var(--schwarz);
	
}

/* ==========================================================================
   Ausklapp-Pfeil (Custom Styling)
   ========================================================================== */

/* 1. Standard-Pfeil des Browsers restlos verstecken */
.anderles-imgdir-section summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    outline: none;
    list-style: none; /* Versteckt den Pfeil in Firefox/neuen Chromes */
}

.anderles-imgdir-section summary::-webkit-details-marker {
    display: none; /* Versteckt den Pfeil in Safari/alten Chromes */
}

/* 2. Unseren eigenen, orangefarbenen Pfeil bauen */
.anderles-imgdir-section summary::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    /* Malt ein perfektes CSS-Dreieck */
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--orange2, orange);
    margin-right: 12px;
    /* Weiche Drehung beim Ausklappen */
    transition: transform 0.25s ease-in-out;
}

/* 3. Pfeil nach unten drehen, wenn das Akkordeon offen ist */
.anderles-imgdir-section[open] summary::before {
    transform: rotate(90deg);
}

/* ==========================================================================
   Typografie & Listen-Inhalte
   ========================================================================== */

.anderles-imgdir-section h4 {
    margin: 0;
    font-size: 1.08rem;
    color: var(--schwarz, inherit);
    display: inline-block;
    vertical-align: middle;
}

/* Liste innerhalb des Details-Containers mit Abstand nach oben */
.anderles-imgdir-list {
    list-style: none !important;
    margin: 16px 0 0 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.anderles-imgdir-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 0.94rem;
    line-height: 1.45;
}

.anderles-imgdir-item:last-child {
    border-bottom: none;
}

.anderles-imgdir-thumb {
    width: 56px !important;
    height: 42px !important;
    object-fit: cover;
    flex-shrink: 0;

}

.anderles-imgdir-copy {
    display: inline-block;
    margin-left: 6px;
    font-weight: 700;
    color: var(--text, inherit);
}

.tabcontent h3 {
    margin-bottom: 24px;
}

.tabcontent p strong {
    display: inline-block;
    margin-top: 16px;
    margin-bottom: 8px;
}
