/*-------------------------------------------------------+
| PHPFusion Content Management System
+--------------------------------------------------------+
| Filename: templates/addonbase.css
| Author: KrazzFM Development
+--------------------------------------------------------*/


/* =============================================================
   1. Übersichtsseite – Hauptbild der Card
   ============================================================= */
.ab-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}


/* =============================================================
   2. Detailseite – Hauptbild
   ============================================================= */
.ab-main-image {
    width: 100%;
}


/* =============================================================
   3. Detailseite – Screenshot-Thumbnails (Galerie)
   ============================================================= */
.ab-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    height: 160px;
}

.ab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.ab-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease;
}

.ab-thumb-link:hover .ab-thumb img     { transform: scale(1.06); }
.ab-thumb-link:hover .ab-thumb-overlay { opacity: 1; }

.ab-thumb-caption {
    display: block;
    margin-top: 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =============================================================
   4. Detailseite – Changelog in der Sidebar
   ============================================================= */
.ab-changelog-entry {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}


/* =============================================================
   5. Detailseite – Feature-Tags
   ============================================================= */
.ab-feature-tag {
    font-size: 0.9em;
    display: inline-block;
}


/* =============================================================
   6. Fancybox – Caption-Größe
   ============================================================= */
.fancybox-caption__body {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}
