/**
 * MN Motorcycle Single View - Gallery & Video Styles
 * Passend zum SmartMag 10.3.2 Dark Theme
 */

/* ── Section Titles ── */
.mn-moto-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e54a19;
}

/* ── Gallery Grid ── */
.mn-moto-gallery-section {
    margin: 2.5rem 0;
}

.mn-moto-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mn-moto-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #1a1a1a;
    aspect-ratio: 3 / 2;
}

.mn-moto-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mn-moto-gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

.mn-moto-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ccc;
    font-size: 0.75rem;
    line-height: 1.3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mn-moto-gallery-item:hover .mn-moto-gallery-caption {
    opacity: 1;
}

/* Erstes Bild groesser */
.mn-moto-gallery-grid .mn-moto-gallery-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

/* ── Video Section ── */
.mn-moto-video-section {
    margin: 2.5rem 0;
}

.mn-moto-video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
    margin-bottom: 1rem;
}

.mn-moto-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .mn-moto-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .mn-moto-gallery-grid .mn-moto-gallery-item:first-child {
        grid-column: 1 / -1;
    }

    .mn-moto-section-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .mn-moto-gallery-grid {
        grid-template-columns: 1fr;
    }

    .mn-moto-gallery-item {
        aspect-ratio: 16 / 10;
    }
}

/* Related Articles */
.mn-related-articles{margin:2rem 0;padding:1.5rem;background:var(--mn-card-bg,#f9f9f9);border-radius:8px}
.mn-related-articles .mn-section-title{margin-bottom:1rem}
.mn-article-list{list-style:none;padding:0;margin:0}
.mn-article-list li{padding:.5rem 0;border-bottom:1px solid rgba(0,0,0,.06)}
.mn-article-list li:last-child{border-bottom:none}
.mn-article-list a{color:var(--mn-link-color,#d4000f);text-decoration:none;font-weight:500}
.mn-article-list a:hover{text-decoration:underline}
