﻿/* ===========================
   Globale Utility-Klassen
   =========================== */

/* Hover-Effekte allgemein */
.hoverable {
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: var(--mud-elevation-1);
}

    .hoverable:hover {
        transform: translateY(-2px);
        box-shadow: var(--mud-elevation-6);
    }

/* Zeigerhand */
.cursor-pointer {
    cursor: pointer;
}

/* Für besonders breite Screenshots */
.wide {
    aspect-ratio: 21 / 9;
}

/* ===========================
   Chips-Design
   =========================== */

/* Chips in einer Reihe, umbrechen bei Platzmangel */
.chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Abstand zwischen Chips */
}

/* Chip-Optik */
.chip {
    border-radius: 9999px; /* Pill-Form */
    height: 32px;
    padding-inline: 12px;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}

    .chip:hover {
        transform: translateY(-1px);
        box-shadow: var(--mud-elevation-3);
    }

/* Thumbnail-Container */
.thumb {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    padding: 8px; /* Abstand zwischen Rahmen und Bild */

    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25); /* Grundschatten */
    transition: transform .25s ease, box-shadow .25s ease;
}

:root.dark .thumb {
    background: rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.thumb:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 18px rgba(0, 150, 255, 0.5), /* blauer Glow */
    0 0 28px rgba(0, 150, 255, 0.35), /* sanfter äußerer Glow */
    0 6px 18px rgba(0,0,0,0.25); /* tiefer Schatten */
}

/* Bild bleibt proportional */
.thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* nie gestaucht */
    object-position: center;
    border-radius: 6px;
    transition: transform .25s ease, opacity .25s ease;
    opacity: .95;
}

.thumb:hover img {
    transform: scale(1.03);
    opacity: 1;
}


/* Karten-Hover wie bei den Thumbnails, aber ohne Perspektive */
.hover-card {
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: var(--mud-elevation-1);
    border-radius: 12px;
}

    .hover-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--mud-elevation-6), 0 8px 22px rgba(0,0,0,.18);
    }

        /* optional: leichtes „Brand-Glow“ beim Hover */
        .hover-card:hover .mud-card-content {
            box-shadow: 0 0 0 1px rgba(145,181,8,.18) inset;
        }


