@media (max-width: 639px) {
    .sectionfull {
        margin: 0 -15px;
    }
}
.video-js {
    background-color: transparent !important;
}
.list-media {
    max-width: 100px;
    max-height: 100px;
}
img.logoytch {
    width: 250px;
    margin: 0 0 20px 10px;
}

.titolovideo {
    color: #000;
    font-size: 18px;
    margin: 15px 0 0 0;
}
.autore {
    font-weight: bold;
    color: #000;
    font-size: 16px;
}
.descrizione {
    color: #000;
    font-size: 12px;
}
a.titolovideolista {
    font-weight: bold;
    color: #000;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}
.duratalista {
    color: #aaa;
    font-size: 11px;
}
.autorelista {
    color: #aaa !important;
}
.square {
  position: relative;
  box-sizing: border-box;
}

.square::before {
  content: '';
  display: block;
  padding-top: 100%;
}

/* BOTTONI SHARING */

a.sharing {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    display: inline-block;
    height: 30px;
    width: 30px;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease-in-out;
}
a.sharing:hover {
    transform: scale(1.2); /* Scala l'elemento al 120% della dimensione originale al passaggio del mouse */
}
a.sharing[data-network='facebook'] {
    background-color: #4267B2;
    background-image: url('/media/com_yutub/images/facebook.svg');
}
a.sharing[data-network='twitter'] {
    background-color: #55acee;
    background-image: url('/media/com_yutub/images/twitter.svg');
}
a.sharing[data-network='messenger'] {
    background-color: #448AFF;
    background-image: url('/media/com_yutub/images/messenger.svg');
}
a.sharing[data-network='pinterest'] {
    background-color: #CB2027;
    background-image: url('/media/com_yutub/images/pinterest.svg');
}
a.sharing[data-network='whatsapp'] {
    background-color: #25d366;
    background-image: url('/media/com_yutub/images/whatsapp.svg');
}
a.sharing[data-network='telegram'] {
    background-color: #0088cc;
    background-image: url('/media/com_yutub/images/telegram.svg');
}
.rounded-video {
    -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); /* iOS 7 border-radius-bug */
    -webkit-transform: rotate(0.000001deg); /* Mac OS 10.6 Safari 5 border-radius-bug */
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}

/* IMG poster non player responsiva */
.responsive-16by9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.responsive-16by9 > div {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.responsive-16by9 > div > img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* aspetto dell'immagine ma la taglia per adattarsi */
}

/* padding delle card eliminato in mobile */
@media (max-width: 639px) {
    .mobilepadding {
        padding: 0 !important;
    }
}
.pop-line {
    line-height: 1.2rem;
}

.yutub-container .uk-card-title {
	font-size: 1.2rem;
}

#load-more-chvideos, #load-more-plvideos {
	cursor: pointer;
}

/* Custom Play Button Overlay */
.primary-video-link {
    position: relative;
    display: block;
}

.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(35, 35, 35, 0.8);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    padding: 0;
}

/* The play triangle icon using a pseudo-element */
.custom-play-button::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%); /* Visual centering adjustment */
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent white;
}

.primary-video-link:hover .custom-play-button {
    background-color: rgba(255, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}
/* immagine della card */
.skin-image{
  width: 100%;
  aspect-ratio: 16/9;   /* impone il rapporto */
  height: auto;         /* verrà calcolata dall’aspect-ratio */
  object-fit: cover;    /* riempie e taglia l’eccesso */
  object-position: center;
  display: block;
}

/* Wrapper responsive per card/list: usare .card-image per non interferire con la pagina video */
.card-image {
    position: relative;
    width: 100%;
}

.card-image::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 */
}

.card-image > a.video-js,
.card-image > a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
}

.card-image img.skin-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
