/* =========================================
   I NOSTRI SHOW
   ========================================= */

.shows-page {
    background: #e5e5e5;
    padding: 15px 14px 40px;
    min-height: 100vh;
}


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

.shows-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 14px;
}

.shows-title {
    margin: 0;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #000;
}


/* =========================================
   SEARCH
   ========================================= */

.shows-search {
    width: 215px;
    height: 14px;
    background: #d5d5d5;
    display: flex;
    align-items: center;
    padding: 0 6px;
    box-sizing: border-box;
}

.shows-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.shows-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #000;
    transform: rotate(40deg);
}

#shows-search-input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 3px;
    font-family: inherit;
    font-size: 10px;
    color: #000;
}

#shows-search-input:focus {
    outline: 0;
}

/* =========================================
   GRID
   ========================================= */

.shows-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 13px;
}


/* =========================================
   CARD
   ========================================= */

.show-card {
    background: #000;
    color: #fff;
    min-height: 100px;
    padding: 11px 12px 10px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}


/* =========================================
   CARD TOP
   ========================================= */

.show-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
   
    padding-bottom: 7px;
    margin-bottom: 9px;
}

.show-card-title {
    margin: 0;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.4px;
    color: #fff;
	font-family: var(--font-2);
	
}

.show-card-week {
	flex: 0 0 auto;
    text-align: left;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 400;
    color: #fff;
    
	font-family: var(--font-1-reg);
}


/* =========================================
   ACCORDION BUTTON
   ========================================= */

.show-card-toggle {
    display: none;
}

/* =========================================
   CARD CONTENT
   ========================================= */

.show-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* =========================================
   DESCRIPTION
   ========================================= */

.show-card-description {
    font-size: 15px;
    line-height: 1.2;
    color: #fff;
    text-align: justify;
    font-family: var(--font-1-reg);
}


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

.show-card-curator {
    margin-top: auto;
    padding-top: 15px;
    font-size: 15px;
    line-height: 1;
    color: #fff;
    font-family: var(--font-1-reg);
}


/* =========================================
   NO RESULTS
   ========================================= */

.shows-no-results {
    display: none;
    grid-column: 1 / -1;
    padding: 30px 0;
    text-align: center;
    font-size: 10px;
    color: #000;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1650px) {

	.show-card-description, .show-card-curator, .show-card-week {
		font-size: 14px;
	}
	
	.show-card-title {
		font-size: 24px;
	}
}

@media (max-width: 1400px) {

	.show-card-description, .show-card-curator, .show-card-week {
		font-size: 13px;
	}
	
	.show-card-title {
		font-size: 23px;
	}
}



@media (max-width: 1300px) {

	.show-card-description, .show-card-curator, .show-card-week {
		font-size: 12px;
	}
	
	.show-card-title {
		font-size: 22px;
	}

    .shows-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}




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

@media (max-width: 600px) {

    .shows-page {
        padding: 0 8px 25px;
        background: #e5e5e5;
        min-height: 80vh;
    }


    /* -----------------------------------------
       HEADER
    ----------------------------------------- */

    .shows-header {
        height: 31px;
        margin: 0;
        padding: 0 2px;
        gap: 10px;
        box-sizing: border-box;
    }

    .shows-title {
        font-size: 9px;
        line-height: 1;
        font-weight: 700;
    }


    /* -----------------------------------------
       SEARCH
    ----------------------------------------- */

    .shows-search {
        width: 22px;
        height: 20px;
        padding: 0;
        background: transparent;
        justify-content: center;
    }

    .shows-search-icon {
        width: 20px;
        height: 20px;
        font-size: 17px;
        transform: rotate(40deg);
    }

    #shows-search-input {
        position: absolute;
        right: 8px;
        width: 0;
        height: 20px;
        opacity: 0;
        padding: 0;
        font-size: 17px;
        transition:
            width 0.2s ease,
            opacity 0.2s ease;
    }

    .shows-search:focus-within {
        width: 145px;
        background: #d5d5d5;
        justify-content: flex-start;
        padding: 0 5px;
    }

    .shows-search:focus-within .shows-search-icon {
        flex: 0 0 18px;
    }

    .shows-search:focus-within #shows-search-input {
        position: static;
        width: 100%;
        opacity: 1;
    }


    /* -----------------------------------------
       GRID
    ----------------------------------------- */

    .shows-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }


    /* -----------------------------------------
       CARD
    ----------------------------------------- */

    .show-card {
        min-height: 0;
        height: 35px;
        padding: 0 8px;
        background: #000;
        border-bottom: 2px solid #e5e5e5;
        box-sizing: border-box;
        transition: height 0.2s ease;
    }


    /* -----------------------------------------
       CARD HEADER
    ----------------------------------------- */

    .show-card-top {
        position: relative;
        width: 100%;
        height: 33px;
        min-height: 33px;
        margin: 0;
        padding: 0;
        border: 0;
        display: flex;
        align-items: center;
        gap: 5px;
        box-sizing: border-box;
    }


    /* -----------------------------------------
       SHOW TITLE
    ----------------------------------------- */

    .show-card-title {
        flex: 1;
        min-width: 0;

        margin: 0;

        font-size: 13px;
        line-height: 1;
        font-weight: 600;
        letter-spacing: 0;

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

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


    /* -----------------------------------------
       HIDE WEEK
    ----------------------------------------- */

    .show-card-week {
        display: none;
    }


    /* -----------------------------------------
       PLUS / MINUS
    ----------------------------------------- */

    .show-card-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 20px;
        width: 20px;
        height: 24px;

        margin: 0;
        padding: 0;

        border: 0;
        background: transparent;

        color: #fff;
        cursor: pointer;

        font-family: inherit;
        font-size: 14px;
        line-height: 1;
    }

    .show-card-plus {
        display: block;
        transform: translateY(-1px);
    }

    .show-card.is-open .show-card-plus {
        font-size: 0;
    }

    .show-card.is-open .show-card-plus::after {
        content: "−";
        font-size: 14px;
    }


    /* -----------------------------------------
       CONTENT
    ----------------------------------------- */

    .show-card-content {
        display: none;
        padding: 0 0 8px;
    }

    .show-card.is-open {
        height: auto;
        min-height: 105px;
    }

    .show-card.is-open .show-card-content {
        display: block;
    }


    /* -----------------------------------------
       DESCRIPTION
    ----------------------------------------- */

    .show-card-description {
        font-size: 9px;
        line-height: 1.2;
        font-weight: 400;
        text-align: left;
        color: #fff;
        font-family: var(--font-1-reg);
    }


    /* -----------------------------------------
       CURATOR
    ----------------------------------------- */

    .show-card-curator {
        display: none;
    }


    /* -----------------------------------------
       NO RESULTS
    ----------------------------------------- */

    .shows-no-results {
        padding: 25px 0;
        font-size: 8px;
    }
}

.show-card {
    border-bottom-color: #e5e5e5;
}