/******************************************************************************
    YouTube Showcase Widget
    Dieterle Programmierung

    Theme:
    Background : #3c3f43
******************************************************************************/

.ytShowcase{

    width:100%;

    max-width:900px;

    margin:30px auto;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.08),
        rgba(255,255,255,.04)
    );

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    overflow:hidden;

    box-shadow:
        0 10px 35px rgba(0,0,0,.35);

    backdrop-filter:blur(6px);

    font-family:"Segoe UI",Tahoma,Arial,sans-serif;

}



/******************************************************************************
    TITLE
******************************************************************************/

.ytTitle{

    padding:18px 24px 6px;

    font-size:26px;

    font-weight:600;

    color:white;

}



/******************************************************************************
    DESCRIPTION  (smaller text below the header; hidden when empty)
******************************************************************************/

.ytDescription{

    padding:0 24px 16px;

    font-size:15px;

    line-height:1.5;

    color:#c7ccd2;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.ytDescription:empty{

    display:none;

}



/******************************************************************************
    VIDEO
******************************************************************************/

.ytVideo{

    padding:20px;

    background:#2f3135;

}

.ytFrame{

    width:100%;

    aspect-ratio:16 / 9;

    border:none;

    border-radius:14px;

    display:block;

    box-shadow:
        0 8px 20px rgba(0,0,0,.35);

}



/******************************************************************************
    STATS
******************************************************************************/

.ytStats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:16px;

    padding:20px;

    background:#3b3d41;

    border-top:1px solid rgba(255,255,255,.06);

    border-bottom:1px solid rgba(255,255,255,.06);

}



.stat{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    padding:11px 12px;

    border-radius:14px;

    text-decoration:none;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.05);

    transition:
        .25s;

}



.stat:hover{

    transform:translateY(-5px);

    background:rgba(255,255,255,.10);

    border-color:#ff5252;

    box-shadow:

        0 10px 22px rgba(0,0,0,.30),

        0 0 14px rgba(255,82,82,.20);

}



/* Icons in den Kacheln entfernt (auf Wunsch) */
.ytShowcase .icon{

    display:none;

}



.value{

    font-size:23px;

    font-weight:700;

    margin-bottom:4px;

}



.text{

    font-size:13px;

    color:#d5d5d5;

    text-transform:uppercase;

    letter-spacing:.4px;

}



/******************************************************************************
    COLORS
******************************************************************************/

.views .icon,
.views .value{

    color:#4ea8ff;

}



.likes .icon,
.likes .value{

    color:#ff6767;

}



.comments .icon,
.comments .value{

    color:#52d17e;

}



.youtube .icon,
.youtube .value{

    color:#ff0000;

}



/******************************************************************************
    FOOTER
******************************************************************************/

.ytFooter{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:10px;

    padding:18px 24px;

    background:#35373b;

    color:#d8d8d8;

    font-size:14px;

}



.ytFooter strong{

    color:white;

}



/******************************************************************************
    RESPONSIVE
******************************************************************************/

@media(max-width:900px){

    .ytStats{

        grid-template-columns:repeat(2,1fr);

    }

}



@media(max-width:650px){

    .ytTitle{

        font-size:22px;

        padding:16px;

    }

    .ytVideo{

        padding:14px;

    }

    .ytStats{

        grid-template-columns:1fr;

        gap:12px;

        padding:14px;

    }

    .ytFooter{

        flex-direction:column;

        align-items:flex-start;

        font-size:13px;

    }

}