/* =========================================
   EDITORIAL PAGES
   Anna Utopia Giordano
   ========================================= */


/* =========================================
   RESET
   ========================================= */

	* {
		box-sizing: border-box;
	}

	html {
		scroll-behavior: smooth;
		overflow-x: auto;
	}

	body {
		margin: 0;
		padding: 0;
		overflow-x: visible;
	}


/* =========================================
   EDITORIAL PAGE
   ========================================= */

	.editorial-page {
		display: flex;

		width: max-content;
		min-height: calc(93vh - 52px);

		height: calc(93vh - 52px);
	}


/* =========================================
   EDITORIAL INDEX
   ========================================= */

	.editorial-index {
		width: 100vw;
		min-width: 100vw;
		min-height: calc(93vh - 52px);
		display: grid;
		grid-template-columns: 35vw minmax(0, 1fr);
		column-gap: 70px;
		align-items: center;
		padding: 35px 60px;
	}


/* =========================================
   INDEX CONTENT
   ========================================= */

	.editorial-index-content {
		width: auto;
		max-width: 600px;
		grid-column: 1;
		grid-row: 1;
	}


/* =========================================
   LABEL
   ========================================= */

	.editorial-label {
		margin: 0 0 10px;
		font-size: 14px;
		font-weight: 400;
		line-height: 1.2;
		text-transform: uppercase;
		letter-spacing: 0.3em;
	}


/* =========================================
   TITLE
   ========================================= */

	.editorial-index h1 {
		margin: 0 0 20px;
		text-align: left;
	}


/* =========================================
   INDEX DESCRIPTION
   ========================================= */

	.editorial-description {
		max-width: 500px;
		margin: 0;
		font-size: 16px;
		line-height: 1.45;
	}


/* =========================================
   INDEX VISUAL AREA
   ========================================= */

	.editorial-index-visual {
		grid-column: 2;
		grid-row: 1;

		width: 100%;
		min-width: 0;
	}


/* =========================================
   INDEX NAVIGATION
   ========================================= */

	.editorial-index-navigation {
		width: 150px;
		height: 100%;

		display: flex;

		align-items: center;
		justify-content: center;

		margin: 0;
	}

/* =========================================
   INDEX NAVIGATION LINK
   ========================================= */

	.editorial-index-link {
		display: inline-flex;
		align-items: center;
		height: 35px;
		font-size: 11px;
		letter-spacing: 0.08em;
		color: #000000;

		white-space: nowrap;

		cursor: pointer;

		transition: color 0.3s ease;
	}

	.editorial-index-link:hover {
		color: #777777;
	}

	.editorial-index-link span {
		display: inline-block;

		margin-left: 8px;

		font-size: 16px;

		transition: transform 0.3s ease;
	}

	.editorial-index-link:hover span {
		transform: translateX(5px);
	}


/* =========================================
   INDEX GALLERY
   ========================================= */

	.editorial-index-gallery {
		width: 100%;
		min-width: 0;

		display: grid;

		grid-template-columns: repeat(4, 150px);

		justify-content: center;

		column-gap: 20px;
		row-gap: 20px;

		overflow: visible;

		padding: 0;
	}


/* =========================================
   INDEX ITEM
   ========================================= */

.editorial-index-item {
    display: block;
}


/* =========================================
   INDEX IMAGES
   ========================================= */

.editorial-index-item img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid #00000023;
}


/* =========================================
   INDEX CAPTION
   ========================================= */

.editorial-index-caption {
    display: block;

    margin-top: 8px;

    font-size: 10px;
    line-height: 1.3;
    text-align: center;
	transition: font-weight 0.3s ease;
}

.editorial-index-item:hover .editorial-index-caption {
    font-weight: 400;
}

/* =========================================
   EDITORIAL ENTRY
   ========================================= */

	.editorial-entry {
		width: 100vw;
		min-width: 100vw;

		min-height: calc(93vh - 52px);
		
		height: auto;

		display: flex;

		align-items: flex-start;

		padding: 60px 70px 70px;

		scroll-margin-top: 0;
	}


/* =========================================
   ENTRY CONTENT
   ========================================= */

	.editorial-entry-content {
		width: 100%;
		max-width: 1500px;

		margin: 0 auto;
	}


/* =========================================
   ENTRY NAVIGATION
   ========================================= */

	.editorial-entry-navigation {
		width: 100%;

		height: 35px;

		display: grid;

		grid-template-columns: 1fr auto 1fr;

		align-items: center;

		margin-bottom: 30px;

		font-size: 11px;

		letter-spacing: 0.08em;

		text-transform: uppercase;

		line-height: 35px;
	}


/* =========================================
   ENTRY NAVIGATION — LEFT
   ========================================= */

	.editorial-entry-navigation-left {
		display: flex;

		align-items: center;

		gap: 22px;
	}


/* =========================================
   ENTRY NAVIGATION — RIGHT
   ========================================= */

	.editorial-entry-navigation-right {
		display: flex;

		align-items: center;

		justify-content: flex-end;

		gap: 22px;
	}


/* =========================================
   ENTRY NAVIGATION LINKS
   ========================================= */

	.editorial-entry-navigation a {
		white-space: nowrap;

		transition: color 0.3s ease;
	}

	.editorial-entry-navigation a:hover {
		color: #777777;
	}


/* =========================================
   ENTRY COUNTER
   ========================================= */

	.editorial-entry-counter {
		text-align: center;

		color: #777777;

		white-space: nowrap;
	}


/* =========================================
   ENTRY MAIN
   ========================================= */

	.editorial-entry-main {
		display: flex;

		align-items: flex-start;

		gap: 100px;
	}


/* =========================================
   ENTRY INFORMATION
   ========================================= */

	.editorial-entry-information {
		width: 40vw;

		max-width: 650px;

		flex-shrink: 0;
	}
	
/* =========================================
   LINKS
   ========================================= */
	
	.editorial-description a:not(.site-button),
	.editorial-entry-information a:not(.site-button) {
		color: inherit;
		font-style: italic;
		text-decoration: none;
		transition: font-weight 0.3s ease;
	}

	.editorial-description a:not(.site-button):hover,
	.editorial-entry-information a:not(.site-button):hover {
		color: inherit;
		font-weight: 400;
	}

/* =========================================
   ENTRY LABEL
   ========================================= */

	.editorial-entry-label {
		margin: 0 0 12px;

		font-size: 14px;

		font-weight: 400;

		text-transform: uppercase;

		letter-spacing: 0.08em;
	}


/* =========================================
   ENTRY TITLE
   ========================================= */

	.editorial-entry-information h2 {
		margin: 0 0 35px;

		font-size: 1.8em;

		line-height: 1;

		font-weight: 300;
	}


/* =========================================
   ENTRY TEXT
   ========================================= */

	.editorial-entry-information p {
		max-width: 620px;

		font-size: 16px;

		line-height: 1.45;
	}

/* =========================================
   ENTRY CREDITS
   ========================================= */

	.editorial-entry-information .editorial-entry-credits {
		font-size: 0.8em;
		line-height: 1.3;
	}

/* =========================================
   ENTRY VISUAL
   ========================================= */

	.editorial-entry-visual {
		display: flex;

		align-items: center;
		justify-content: center;

		width: 40vw;

		min-width: 400px;
		
		padding-top: 20px;
	}

/* =========================================
   ENTRY IMAGE
   ========================================= */

	.editorial-entry-visual picture {
		display: block;

		width: 100%;
		max-width: 650px;
	}

	.editorial-entry-visual img {
		display: block;

		width: 100%;
		height: auto;
	}

/* =========================================
   ENTRY VIDEO
   ========================================= */

	.editorial-entry-video {
		width: 100%;
		max-width: 650px;
	}

	.editorial-entry-video iframe {
		display: block;
		width: 100%;
		height: auto;
		border: 0;
	}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {


    /* =====================================
       PAGE
       ===================================== */

    .editorial-page {
        display: block;

        width: 100%;

        min-height: auto;
    }


    /* =====================================
       INDEX
       ===================================== */

    .editorial-index {
        width: 100%;
        min-width: 0;

        min-height: auto;

        display: block;

        padding: 70px 25px;
    }


    /* =====================================
       INDEX CONTENT
       ===================================== */

    .editorial-index-content {
        width: 100%;

        max-width: none;
    }


    /* =====================================
       INDEX TITLE
       ===================================== */

    .editorial-index h1 {
        font-size: 3.5rem;
    }


    /* =====================================
       INDEX DESCRIPTION
       ===================================== */

    .editorial-description {
        font-size: 16px;
    }


    /* =====================================
       INDEX VISUAL
       ===================================== */

    .editorial-index-visual {
        width: 100%;

        margin-top: 50px;
    }


    /* =====================================
       INDEX NAVIGATION
       ===================================== */

    .editorial-index-navigation {
        display: none;
    }


    /* =====================================
       INDEX GALLERY
       ===================================== */

    .editorial-index-gallery {
           display: flex;

			width: 100%;
			min-width: 0;
			max-width: none;

			flex-direction: row;
			flex-wrap: nowrap;

			justify-content: flex-start;
			align-items: flex-start;

			gap: 25px;

			padding: 0 0 15px 0;

			overflow-x: auto;
			overflow-y: hidden;

			scrollbar-width: thin;
    }
	
	/* =========================================
   INDEX IMAGES
   ========================================= */

		.editorial-index-item img {
		width: 150px;
		height: auto;
		
	}


    /* =====================================
       ENTRY
       ===================================== */

    .editorial-entry {
        width: 100%;
        min-width: 0;

        min-height: auto;

        display: block;

        padding: 60px 25px;

        scroll-margin-top: 52px;
    }


    /* =====================================
       ENTRY CONTENT
       ===================================== */

    .editorial-entry-content {
        width: 100%;
    }


    /* =====================================
       ENTRY NAVIGATION
       ===================================== */

    .editorial-entry-navigation {
        height: 35px;

        display: flex;

        align-items: center;
        justify-content: space-between;

        margin-bottom: 45px;

        font-size: 10px;

        line-height: 35px;
    }


    /* =====================================
       ENTRY NAVIGATION — LEFT
       ===================================== */

    .editorial-entry-navigation-left {
        display: flex;

        align-items: center;
        justify-content: flex-start;
    }


    /* =====================================
       ENTRY COUNTER
       ===================================== */

    .editorial-entry-counter {
        display: block;

        text-align: right;

        margin-left: auto;
    }


    /* =====================================
       ENTRY NAVIGATION — RIGHT
       ===================================== */

    .editorial-entry-navigation-right {
        display: none;
    }


    /* =====================================
       ENTRY MAIN
       ===================================== */

    .editorial-entry-main {
        display: block;
    }


    /* =====================================
       ENTRY INFORMATION
       ===================================== */

    .editorial-entry-information {
        width: 100%;

        max-width: none;
    }


    /* =====================================
       ENTRY TITLE
       ===================================== */

    .editorial-entry-information h2 {
        font-size: 1.8em;
		line-height: 1.1;
    }


    /* =====================================
       ENTRY TEXT
       ===================================== */

    .editorial-entry-information p {
        font-size: 16px;
    }


    /* =====================================
       ENTRY VISUAL
       ===================================== */

    .editorial-entry-visual {
        width: 100%;

        min-width: 0;

        margin-top: 40px;
    }


    /* =====================================
       ENTRY IMAGE
       ===================================== */

    .editorial-entry-visual img {
        width: 100%;

        max-width: 100%;

        height: auto;
    }
	
}
