/* BPR Project Panel 2.1.8 – Project Detail */

.bpr-detail-wrap{
    max-width:1000px;
    margin:0 auto;
    padding:8px 0 24px;
    color:#f4f6f7
}

.bpr-detail-nav{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 18px;
    padding:10px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background:#292b2d
}

.bpr-detail-nav a{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:9px 13px;
    border-radius:10px;
    color:#e8ecee;
    text-decoration:none;
    background:#343638
}

.bpr-detail-nav a:hover{
    background:#00b140;
    color:#fff
}


/* =========================================================
 * HERO
 * ========================================================= */

.bpr-detail-hero{
    display:flex;
    gap:24px;
    align-items:center;
    padding:26px;
    border-radius:22px;
    background:#292b2d;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 10px 35px rgba(0,0,0,.22)
}

.bpr-hero-copy{
    flex:1;
    min-width:0
}

.bpr-detail-kicker{
    font-size:11px;
    letter-spacing:1.8px;
    text-transform:uppercase;
    color:#00b140;
    font-weight:800;
    margin-bottom:7px
}

.bpr-detail-hero h1,
.bpr-detail-card h1{
    margin:0;
    color:#fff;
    font-size:30px;
    line-height:1.15
}

.bpr-version{
    display:inline-block;
    margin-top:12px;
    padding:5px 10px;
    border-radius:999px;
    background:rgba(0,177,64,.12);
    color:#48e07e;
    font-weight:700
}

.bpr-new-badge{
    display:inline-block;
    margin-left:8px;
    padding:5px 9px;
    border-radius:999px;
    background:#00b140;
    color:#fff;
    font-size:10px;
    font-weight:800
}

.bpr-compat{
    margin-top:13px;
    color:#aeb5b9;
    font-size:13px
}


/* =========================================================
 * HERO PROJEKTBILD
 * ========================================================= */

.bpr-hero-image{
    width:310px;
    flex:0 0 310px;
    height:240px;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden
}

.bpr-hero-image a{
    width:100%;
    height:100%;

    display:flex;
    align-items:center;
    justify-content:center
}

.bpr-hero-image img{
    display:block;

    width:auto !important;
    height:auto !important;

    max-width:100% !important;
    max-height:100% !important;

    min-width:0 !important;
    min-height:0 !important;

    object-fit:contain !important;
    object-position:center center !important;

    border-radius:16px;
    border:1px solid rgba(255,255,255,.08)
}


/* =========================================================
 * CARDS
 * ========================================================= */

.bpr-progress-card,
.bpr-detail-card,
.bpr-action-card{
    margin-top:16px;
    padding:20px;
    border-radius:18px;
    background:#292b2d;
    border:1px solid rgba(255,255,255,.08)
}


/* =========================================================
 * PROGRESS
 * ========================================================= */

.bpr-progress-head{
    display:flex;
    justify-content:space-between;
    margin-bottom:9px;
    color:#dfe4e6
}

.bpr-progress-track{
    height:10px;
    border-radius:999px;
    background:#202224;
    overflow:hidden
}

.bpr-progress-track span{
    display:block;
    height:100%;
    border-radius:999px;
    background:#00b140;
    box-shadow:0 0 14px rgba(0,177,64,.35)
}


/* =========================================================
 * SECTION
 * ========================================================= */

.bpr-section-title{
    font-size:15px;
    font-weight:800;
    color:#fff;
    margin-bottom:15px
}

.bpr-section-title i{
    color:#00b140;
    margin-right:7px
}


/* =========================================================
 * INFO
 * ========================================================= */

.bpr-info-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
}

.bpr-info-grid>div{
    padding:13px;
    border-radius:12px;
    background:#202224;
    color:#dce1e3
}

.bpr-info-grid span{
    display:block;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#8f989d;
    margin-bottom:5px
}

.bpr-info-grid a{
    color:#49dc7b
}


/* =========================================================
 * BESCHREIBUNG
 * ========================================================= */

.bpr-description{
    color:#d5dbde;
    line-height:1.7;
    font-size:14px
}


/* =========================================================
 * TAGS
 * ========================================================= */

.bpr-tags{
    display:flex;
    flex-wrap:wrap;
    gap:7px
}

.bpr-tags a,
.bpr-tag{
    display:inline-block;
    padding:6px 10px;
    border-radius:999px;
    background:#202224;
    color:#9feab8;
    text-decoration:none;
    font-size:12px
}

.bpr-tags a:hover{
    background:#00b140;
    color:#fff
}


/* =========================================================
 * LISTEN
 * ========================================================= */

.bpr-list{
    display:flex;
    flex-direction:column;
    gap:7px
}

.bpr-list-row{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:10px;
    align-items:center;
    padding:12px 14px;
    border-radius:12px;
    background:#202224;
    color:#dce1e3;
    text-decoration:none
}

.bpr-list-row:hover{
    background:#343638
}

.bpr-list-row strong{
    color:#fff
}

.bpr-list-row span{
    font-size:12px;
    color:#9ea7ab
}


/* =========================================================
 * BUTTONS
 * ========================================================= */

.bpr-action-card{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:9px
}

.bpr-btn{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:10px 14px;
    border-radius:11px;
    background:#343638;
    color:#fff;
    text-decoration:none;
    border:1px solid rgba(255,255,255,.08);
    font-weight:700
}

.bpr-btn:hover{
    background:#3d4143;
    color:#fff
}

.bpr-btn-primary{
    background:#00b140;
    border-color:#00b140
}

.bpr-btn-primary:hover{
    background:#009e39
}

.bpr-btn-disabled{
    opacity:.55;
    cursor:not-allowed
}

.bpr-download-meta{
    font-size:12px;
    color:#8f989d
}


/* =========================================================
 * STATUS / FEHLER
 * ========================================================= */

.bpr-disabled,
.bpr-not-found,
.bpr-access-message{
    padding:18px;
    border-radius:14px;
    background:#292b2d;
    color:#aeb5b9
}

.bpr-not-found{
    text-align:center
}

.bpr-not-found i{
    font-size:32px;
    color:#00b140
}

.bpr-not-found h2{
    color:#fff
}

.bpr-access-card{
    padding:25px
}

.bpr-notice-card{
    border-left:3px solid #00b140
}


/* =========================================================
 * COMMUNITY FEEDBACK / COMMENTS
 * ========================================================= */

#comments,
.tbl1,
.tbl2,
.bpr-feedback-list{
    background:#202224 !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:14px !important;
    padding:14px !important;
    margin-top:10px !important;
    color:#dce1e3 !important
}


/* =========================================================
 * FEEDBACK AVATAR
 * ========================================================= */

.bpr-avatar-wrapper,
#comments img[alt*='Avatar'],
.tbl1 img[alt*='Avatar'],
.tbl2 img[alt*='Avatar'],
.tbl1 img[src*='avatar'],
.tbl2 img[src*='avatar'],
img.comment-avatar{
    width:50px !important;
    height:50px !important;

    max-width:50px !important;
    max-height:50px !important;

    min-width:50px !important;
    min-height:50px !important;

    border-radius:50% !important;

    object-fit:cover !important;

    border:2px solid #00b140 !important;
    box-shadow:0 0 10px rgba(0,177,64,.3) !important;

    display:inline-block !important;
    vertical-align:middle !important
}


/* =========================================================
 * FEEDBACK TABELLEN
 * ========================================================= */

#comments td,
.tbl1 td,
.tbl2 td{
    vertical-align:top !important;
    color:#dce1e3 !important
}


/* =========================================================
 * BENUTZERNAME / DATUM
 * ========================================================= */

.comment-name,
.bpr-username{
    color:#00b140 !important;
    font-weight:700 !important;
    font-size:15px !important
}

.comment-date,
.bpr-date{
    color:#8f989d !important;
    font-size:12px !important
}


/* =========================================================
 * FEEDBACK-BILDER
 *
 * Bilder innerhalb des Feedbacks dürfen NICHT
 * wie Projekt-Thumbnails behandelt werden.
 * ========================================================= */

#comments img:not([alt*='Avatar']):not(.comment-avatar),
.bpr-feedback-list img:not([alt*='Avatar']):not(.comment-avatar){
    width:auto !important;
    height:auto !important;

    min-width:0 !important;
    min-height:0 !important;

    max-width:100% !important;
    max-height:none !important;

    object-fit:contain !important
}


/* =========================================================
 * SMILIES
 * ========================================================= */

#comments img[src*='smiley'],
#comments img[src*='smileys'],
#comments img[src*='Smiley'],
#comments img[src*='Smileys'],
.bpr-feedback-list img[src*='smiley'],
.bpr-feedback-list img[src*='smileys'],
.bpr-feedback-list img[src*='Smiley'],
.bpr-feedback-list img[src*='Smileys']{
    width:auto !important;
    height:auto !important;

    min-width:0 !important;
    min-height:0 !important;

    max-width:none !important;
    max-height:none !important;

    object-fit:contain !important;

    display:inline !important;
    vertical-align:middle !important
}


/* =========================================================
 * PROJEKT-VORSCHAU – GRID / LISTE
 *
 * Nur die echten Projektkarten bekommen 180px.
 * Keine globale div[class*="bpr-"]-Regel mehr!
 * ========================================================= */

.bpr-project-card .bpr-project-image img,
.bpr-project-thumb{
    width:100% !important;
    height:180px !important;

    min-height:180px !important;
    max-height:180px !important;

    object-fit:cover !important;
    object-position:center center !important;

    display:block !important
}


/* =========================================================
 * KATEGORIE-VORSCHAU
 * ========================================================= */

.bpr-category-card .bpr-category-image img{
    width:100% !important;
    height:180px !important;

    min-height:180px !important;
    max-height:180px !important;

    object-fit:cover !important;
    object-position:center center !important;

    display:block !important
}


/* =========================================================
 * RESPONSIVE
 * ========================================================= */

@media(max-width:760px){

    .bpr-detail-hero{
        display:block
    }

    .bpr-hero-image{
        width:100% !important;
        max-width:100% !important;
        height:240px;
        margin-top:18px
    }

    .bpr-info-grid{
        grid-template-columns:1fr
    }

    .bpr-list-row{
        grid-template-columns:1fr
    }

    .bpr-action-card{
        display:block
    }

    .bpr-btn{
        margin:4px 3px 4px 0
    }
}