/* ===========================
   LIVE VIDEO
=========================== */

.live-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #e5e5e5;
}


/* ===========================
   LIVE INFO BAR
=========================== */

.live-info-bar {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 20px;

    padding: 30px 0px;
    box-sizing: border-box;

    background: #e5e5e5;

    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
}




/* ===========================
   LIVE STATUS
=========================== */

.live-status {
    padding: 5px 8px;
    white-space: nowrap;
}


/* ===========================
   CURRENT SHOW
=========================== */

.live-current {
    padding: 5px 8px;

    min-width: 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ===========================
   TIME
=========================== */

.live-time {
    padding: 5px 8px;

    text-align: center;

    white-space: nowrap;
}


/* ===========================
   NEXT UP
=========================== */

.live-next {
    padding: 5px 8px;

    min-width: 0;

    text-align: right;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ===========================
   VIDEO FRAME
=========================== */

.live-container {
    width: 100%;

    padding-bottom: 30px;
	padding-right: 30px;
	padding-left: 30px;

    

    box-sizing: border-box;
	
	border: 0px;
}


.live-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.live-video iframe {
    display: block;

    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;

    border: 0;
    margin: 0;
    padding: 0;

    background: #000;
}

#live-placeholder {
    position: absolute;
    z-index: 2;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

#live-placeholder.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* ===========================
   RADIO SCHEDULE
=========================== */

.radio-schedule {
    padding: 0px 0 80px;
    background-color: #e5e5e5;
}

.schedule-wrapper {
    width: 95vw;
    margin: 0 auto;
    background-color: #e5e5e5;
}


/* ===========================
   PROGRAM HEADER
=========================== */

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 20px;
    gap: 20px;

    background-color: #e5e5e5;
}

.schedule-title {
    margin: 0;

    font-size: 30px;
    line-height: 1;

    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1.5px;

    background-color: #e5e5e5;
}

.schedule-logo {
    background-color: #e5e5e5;
}

.schedule-logo img {
    width: 55px;
    display: block;
}


/* ===========================
   WEEK
=========================== */

.week-block {
    margin-bottom: 28px;
    background-color: #e5e5e5;
}


/* ===========================
   WEEK HEADER
=========================== */

.week-header {
    display: grid;
    grid-template-columns: 15.5% minmax(0, 1fr);

    background-color: #000;
    color: #fff;
	    margin-bottom: 20px;
}

.week-title,
.shows-header {
    padding: 5px 8px;

    font-size: 15px;
    line-height: 1;

    font-weight: 700;
    text-transform: uppercase;

    background-color: #000;
}




/* ===========================
   DAY ROW
=========================== */

.day-row {
    display: grid;
    grid-template-columns: 15.5% minmax(0, 1fr);

    /* Linea completa alla fine del giorno */
    border-bottom: 1px solid #000000;

    background-color: #e5e5e5;
}

/* ===========================
   DAY COLUMN
=========================== */

.day-column {
    display: flex;
    align-items: flex-start;

    padding: 5px 8px;

    

    font-size: 20px;
    font-family: var(--font-2);
    line-height: 1.1;

    font-weight: 200;
    text-transform: uppercase;

    background-color: #e5e5e5;
}


/* ===========================
   SHOWS COLUMN
=========================== */

.shows-column {
    min-width: 0;
    background-color: #e5e5e5;
}


/* ===========================
   SHOW ROW
=========================== */

.show-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        150px
        170px;

    align-items: center;

    min-height: 38px;

    /* Linea SOLO nella zona SHOWS */
    border-bottom: 1px solid #000000;

    box-sizing: border-box;

    background-color: #e5e5e5;
}

/*
 * L'ultimo show del giorno non disegna
 * una seconda linea: la linea completa
 * viene disegnata dal .day-row.
 */
.show-row:last-child {
    border-bottom: 0;
}


/* ===========================
   SHOW NAME
=========================== */

.show-name {
    min-width: 0;

    padding: 3px 8px;

    font-size: 20px;
    line-height: 1.1;

    font-weight: 200;
    text-transform: uppercase;
    font-family: var(--font-2);

    background-color: #e5e5e5;
}


/* ===========================
   SHOW TIME
=========================== */

.show-time {
    padding: 3px 8px;

    text-align: center;

    font-size: 15px;
    line-height: 1.1;

    font-weight: 500;
	font-family: var(--font-1-reg);

    white-space: nowrap;

    background-color: #e5e5e5;
}


/* ===========================
   SHOW CURATOR
=========================== */

.show-curator {
    padding: 3px 8px;

    text-align: right;

    font-size: 13px;
    line-height: 1.1;

    font-weight: 400;

    white-space: nowrap;

    background-color: #e5e5e5;
	font-family: var(--font-1-reg);
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 700px) {

    /* ===========================
       LIVE
    =========================== */

    .live-page {
        width: 100%;
        background: #fff;
    }

 

    /* ===========================
       VIDEO
    =========================== */

    .live-container {
        width: 100%;
        padding: 3px 7px 0;
        box-sizing: border-box;
		background-color: #e5e5e5;
    }

    .live-container iframe {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border: 0;
    }


    /* ===========================
       PROGRAM
    =========================== */

    .radio-schedule {
        width: 100%;
        padding: 0 0 30px;
        background-color: #e5e5e5;
    }

    .schedule-wrapper {
        width: calc(100% - 14px);
        margin: 0 7px;
        background-color: #e5e5e5;
    }


    /* ===========================
       PROGRAM HEADER
    =========================== */

    .schedule-header {
        display: block;
        margin: 0;
    }

    .schedule-title {
        margin: 0;
        padding-top: 10px;
        font-size: 10px;
        line-height: 1;
        letter-spacing: -0.2px;
        font-weight: 900;
    }

    .schedule-logo {
        display: none;
    }


    /* ===========================
       WEEK
    =========================== */

    .week-block {
        padding-top: 10px;
        margin: 0;
    }


    /* ===========================
       WEEK HEADER
    =========================== */

    .week-header {
        display: block;
        width: 100%;
        background: #000;
        color: #fff;
		margin-bottom: 5px;
    }

    .week-title {
        display: block;
        padding: 4px 6px;
        border: 0;
        font-size: 8px;
        line-height: 1;
        font-weight: 700;
    }

    .shows-header {
        display: none;
    }


    /* ===========================
       DAY ROW
    =========================== */

    .day-row {
        display: block;
        width: 100%;
        border: 0;
    }

    .day-column {
        display: none;
    }


    /* ===========================
       SHOWS COLUMN
    =========================== */

    .shows-column {
        width: 100%;
        min-width: 0;
    }


    /* ===========================
       SHOW ROW
    =========================== */

    .show-row {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            62px;

        grid-template-rows:
            16px
            19px;

        width: 100%;
        min-height: 35px;

        border-bottom: 1px solid #000;

        box-sizing: border-box;

        background-color: #e5e5e5;
    }

  


    /* ===========================
       CURATOR
    =========================== */

    .show-curator {
        grid-column: 1;
        grid-row: 1;

        display: block;

        min-width: 0;

        padding: 3px 5px 0;

        font-size: 8px;
        line-height: 1;

        font-weight: 400;

        text-align: left;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        text-transform: uppercase;

        margin-bottom: -7px;
    }


    /* ===========================
       DAY + TIME
    =========================== */

    .show-time {
        grid-column: 2;
        grid-row: 1 / span 2;

        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;

        padding: 3px 5px 0;

        font-size: 7px;
        line-height: 1;

        font-weight: 500;

        text-align: right;

        white-space: nowrap;

        background-color: #e5e5e5;
    }


    /* Giorno abbreviato + numero
       SOLO su mobile */

    .show-time::before {
        content: attr(data-day-mobile);

        display: block;

        margin-bottom: 2px;

        font-size: 8px;
        line-height: 1;

        font-weight: 600;
    }


    /* ===========================
       SHOW NAME
    =========================== */

    .show-name {
        grid-column: 1;
        grid-row: 2;

        min-width: 0;

        padding: 0 5px 3px;

        font-size: 13px;
        line-height: 1;

        font-weight: 200;

        text-transform: uppercase;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        background-color: #e5e5e5;
    }


    /* ===========================
       BACKGROUNDS
    =========================== */

    .schedule-header,
    .schedule-title,
    .week-block,
    .day-row,
    .shows-column,
    .show-row,
    .show-name,
    .show-time,
    .show-curator {
        background-color: #e5e5e5;
    }
	
	.live-info-bar {
	
    padding: 10px 0px;


    font-size: 10px;
   
	}
	
	.show-row:last-child {
    border-bottom: solid 1px black;
}
}