/* ==========================================================================
   Tema Piccolo
   Indice: 1 base · 2 intestazione · 3 apertura · 4 titoli di sezione ·
   5 lettore audio · 6 novità · 7 video · 8 ultimo album · 9 discografia ·
   10 biografia · 10b tour ed eventi · 11 galleria · 12 piè di pagina · 13 articolo · 14 album ·
   15 pagine · 16 lightbox
   Punti di rottura: tablet ≤ 1024px, mobile ≤ 767px.
   ========================================================================== */

/* 1 · Base ----------------------------------------------------------------- */

@font-face {
	font-family: "Barlow";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/Barlow-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Barlow";
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/Barlow-Medium.ttf") format("truetype");
}

@font-face {
	font-family: "Barlow";
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/Barlow-SemiBold.ttf") format("truetype");
}

@font-face {
	font-family: "Barlow";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/Barlow-Bold.ttf") format("truetype");
}

:root {
	--accent: #f62121;
	--text: #7a7a7a;
	--secondary: #54595f;
	--ink: #333;
	--dark: #000;
	--player-bg: #151518;
	--player-icon: #303865;
	--content: 1140px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;

	/* Le voci di menu scorrono fino alla sezione invece di saltare. */
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: "Barlow", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: inherit;
	line-height: 1.2;
}

p {
	margin: 0 0 0.9rem;
}

a {
	color: #c36;
	text-decoration: none;
}

a:hover {
	color: #336;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex: none;
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 8px 16px;
	background: #fff;
	color: #000;
}

/* Pulsanti */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 12px 24px;
	border-radius: 3px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	color: #fff;
	transition: color 0.3s, background-color 0.3s;
}

.btn--solid {
	background: #000;
}

.btn--solid:hover {
	background: var(--secondary);
	color: #fff;
}

.btn--ghost {
	background: transparent;
}

.btn--ghost:hover {
	color: var(--accent);
}

/* 2 · Intestazione --------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #000;
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: flex-start;
}

.site-logo {
	flex: 0 0 24.111%;
	padding: 10px;
}

.site-logo img {
	width: 139px;
	height: 47px;
}

.nav {
	flex: 0 0 75.889%;
	padding: 10px;
}

.nav__toggle {
	display: none;
}

.nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.nav__list a {
	display: block;
	padding: 13px 30px;
	color: #fff;
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	transition: color 0.3s;
}

.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__item--lang.is-current a:hover {
	color: var(--accent);
}

.nav__item--lang a {
	display: flex;
	align-items: center;
	height: 46px;
}

.nav__item--lang img {
	margin: 1px 5px 0;
}

/* 3 · Apertura -------------------------------------------------------------- */

.hero {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	background: #000;
}

.hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.hero__slide.is-active {
	opacity: 1;
}

/* 4 · Titoli di sezione ----------------------------------------------------- */

.sec-head {
	padding: 10px;
	text-align: center;
}

.sec-head__title {
	margin: 60px 0 30px;
	color: #000;
	font-size: 55px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.sec-head__rule {
	padding: 15px 0;
	display: flex;
	justify-content: center;
}

.sec-head__rule::before {
	content: "";
	width: 120px;
	border-top: 1px solid var(--accent);
}

.sec-head.is-light .sec-head__title {
	color: #fff;
}

.sec-head.is-left {
	padding: 0;
	text-align: left;
}

.sec-head.is-left .sec-head__rule {
	justify-content: flex-start;
}

/* 5 · Lettore audio --------------------------------------------------------- */

.player {
	display: flex;
	align-items: center;
}

.player audio {
	display: none;
}

.player__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--player-icon);
	cursor: pointer;
}

.player__icon {
	width: 10px;
	height: 12px;
	fill: currentColor;
}

.player__icon--pause,
.player.is-playing .player__icon--play {
	display: none;
}

.player.is-playing .player__icon--pause {
	display: block;
}

.player--bar .player__toggle {
	width: 44px;
	height: 46px;
}

.player--row .player__toggle {
	width: 42px;
	height: 44px;
	border: 3px solid var(--text);
}

.player__time {
	margin-left: 10px;
	color: #fff;
	font-size: 14px;
	line-height: 21px;
}

.player__rail {
	display: block;
	flex: 1;
	min-width: 0;
	margin-left: 10px;
}

.player__seek {
	display: block;
	width: 100%;
	height: 10px;
	margin: 0;
	border-radius: 5px;
	background: linear-gradient(to right, #fff var(--progress, 0%), var(--secondary) var(--progress, 0%));
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.player__seek::-webkit-slider-runnable-track {
	height: 10px;
	background: transparent;
}

.player__seek::-moz-range-track {
	height: 10px;
	background: transparent;
}

.player__seek::-webkit-slider-thumb {
	width: 0;
	height: 0;
	-webkit-appearance: none;
}

.player__seek::-moz-range-thumb {
	width: 0;
	height: 0;
	border: 0;
}

.now-playing {
	background: var(--player-bg);
}

.now-playing__inner {
	display: flex;
	max-width: var(--content);
	min-height: 106px;
	margin: 0 auto;
}

/* Le due righe si allineano al centro del pulsante play (20px di margine + 23px). */
.now-playing__text {
	flex: 0 0 50%;
	align-self: flex-start;
	padding-top: 26.8px;
	color: #fff;
	text-align: right;
}

.now-playing__title,
.now-playing__artist {
	margin: 0 0 0.4px;
	line-height: 16px;
}

.now-playing__player {
	flex: 0 0 50%;
	padding: 20px 20px 40px;
}

.now-playing__player .player {
	width: 50%;
}

/* 6 · Novità ---------------------------------------------------------------- */

.news__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: min(var(--content), 100% - 20px);
	margin: 0 auto;
	padding: 10px 0;
}

.news-feature {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 10px;
}

.news-feature__image {
	flex: 0 0 40.6%;
}

.news-feature__image img {
	width: 100%;
}

.news-feature__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: 10px;
}

.news-feature__title {
	color: #000;
	font-size: 36px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.news-feature__title a,
.news-item__title a {
	color: inherit;
}

.news__rule {
	width: 100%;
	margin: 15px 0;
	border: 0;
	border-top: 1px solid #69727d;
}

.news-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.news-item {
	display: flex;
	align-items: center;
	gap: 20px;
}

.news-item__image {
	display: flex;
	flex: 0 0 20%;
	justify-content: center;
	min-height: 100px;
}

.news-item__image img {
	width: 100px;
	height: 100px;
	object-fit: cover;
}

.news-item__title {
	flex: 0 0 60%;
	padding: 10px;
	color: #000;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

/* 7 · Video ----------------------------------------------------------------- */

.video {
	margin-top: 60px;
	padding-bottom: 10px;
	background: #222;
}

.video .sec-head {
	padding-bottom: 0;
}

.video__frame {
	width: min(1120px, 100% - 20px);
	margin: 0 auto 100px;
}

.video__frame iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* 8 · Ultimo album ---------------------------------------------------------- */

.latest__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: var(--content);
	margin: 0 auto;
}

.latest__cover {
	width: 100%;
}

.latest__title,
.latest__artist {
	margin-top: 20px;
	text-align: center;
	letter-spacing: 8px;
}

.latest__title {
	color: #000;
	font-size: 26px;
	font-weight: 600;
	line-height: 26px;
}

.latest__artist {
	color: var(--accent);
	font-size: 20px;
	font-weight: 400;
	line-height: 20px;
}

.latest__text {
	display: flow-root;
	margin-top: 20px;
	color: var(--text);
	text-align: center;
}

.tracks {
	align-self: center;
	padding: 0 40px;
}

.tracks__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 20px 20px 20px 10px;
	border-bottom: 1px solid var(--text);
}

.tracks__meta {
	flex: 1;
	min-width: 0;
}

.tracks__title {
	margin: 0;
	color: #000;
	line-height: 16px;
}

.tracks__artist {
	margin: 5px 0 0;
	color: var(--text);
	line-height: 1.2;
}

.tracks__play {
	flex: none;
	display: flex;
	justify-content: flex-end;
}

/* 9 · Discografia ----------------------------------------------------------- */

.discography {
	padding-bottom: 10px;
}

.albums {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 70px 100px;
	width: min(1120px, 100% - 20px);
	margin: 40px auto 80px;
}

.albums__cover {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
}

.albums__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.albums__title {
	margin-top: 20px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}

.albums__title a {
	color: var(--secondary);
}

/* 10 · Biografia ------------------------------------------------------------ */

.bio {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #000;
}

.bio__text {
	padding: 10%;
}

.bio .sec-head__title {
	font-weight: 600;
}

.bio__content {
	color: #fff;
}

.bio__content a {
	color: var(--accent);
}

.bio__image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* 10b · Tour ed eventi ------------------------------------------------------ */

.events__head {
	padding: 10%;
	background: url("../img/events-bg.jpg") top center / cover no-repeat;
	text-align: center;
}

.events__title {
	margin: 0;
	color: #fff;
	font-size: 55px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.events__body {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
}

.events__body.has-image {
	grid-template-columns: 1fr 1fr;
}

.events__list {
	padding: 40px 5%;
	color: var(--secondary);
	font-size: 20px;
	line-height: 2.1;
}

.events__list ul {
	margin: 0;
	padding-left: 1.2em;
}

.events__list p {
	margin: 0;
	text-align: center;
}

.events__list a {
	color: inherit;
	text-decoration: none;
}

.events__list a:hover {
	color: var(--accent);
}

.events__image img {
	display: block;
	width: 100%;
	height: auto;
}

/* 11 · Galleria ------------------------------------------------------------- */

/* Sotto i 768px le foto sono in una colonna, nell'ordine dato. Da 768px lo script
   le distribuisce in due colonne (muratura): ogni foto va nella colonna più bassa. */

.gallery {
	padding-bottom: 10px;
}

.gallery__grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: min(1120px, 100% - 20px);
	margin: 20px auto 0;
}

.gallery__grid.is-masonry {
	flex-direction: row;
}

.gallery__col {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.gallery__item {
	display: block;
	overflow: hidden;
}

.gallery__item img {
	width: 100%;
}

@media (min-width: 1025px) {
	.gallery__grid,
	.gallery__col {
		gap: 20px;
	}
}

/* 12 · Piè di pagina -------------------------------------------------------- */

.site-footer {
	padding: 30px 0 70px;
	background: #000;
	color: #fff;
	text-align: center;
}

.contacts {
	display: flex;
	width: min(1120px, 100% - 20px);
	margin: 0 auto;
	padding-bottom: 10px;
}

.contacts__col {
	flex: 1;
	min-width: 0;
	padding: 0 10px;
}

.contacts__title {
	margin-bottom: 30px;
	color: #fff;
	font-size: 60px;
	font-weight: 400;
	line-height: 1;
}

.contacts__name {
	margin-bottom: 0.9rem;
	line-height: 16px;
}

.socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 70px;
	margin: 60px 0;
}

.socials__link {
	display: flex;
	width: 60px;
	height: 60px;
	color: var(--brand);
	font-size: 60px;
}

.socials__link:hover {
	color: var(--brand);
	opacity: 0.8;
}

.site-footer__copy {
	margin: 0;
	text-transform: uppercase;
}

.site-footer__link {
	margin: 0 0 0 1em;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-transform: inherit;
	cursor: pointer;
}

.site-footer__link:hover {
	color: var(--accent);
}

/* 13 · Articolo ------------------------------------------------------------- */

.post-single {
	display: flex;
	width: min(var(--content), 100% - 20px);
	margin: 50px auto 40px;
	padding-bottom: 10px;
}

.post-single__text {
	flex: 0 0 50%;
	padding-right: 40px;
}

.post-single__title {
	margin-bottom: 40px;
	color: #000;
	font-size: 38px;
	font-weight: 600;
	line-height: 50px;
	text-transform: uppercase;
}

.post-single__image {
	flex: 0 0 50%;
	padding: 10px;
}

.other-news {
	width: min(var(--content), 100% - 20px);
	margin: 0 auto 40px;
	padding: 10px 0;
}

.other-news__title {
	margin-bottom: 20px;
	color: #000;
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.other-news__list {
	margin: 0 -10px;
}

.other-news__list li {
	padding: 10px;
}

.other-news__list a {
	display: block;
	padding: 6.6px 0 17.4px;
	color: var(--ink);
	font-size: 18px;
	line-height: 1.2;
	text-transform: uppercase;
}

/* 14 · Album ---------------------------------------------------------------- */

.album {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	width: min(var(--content), 100% - 20px);
	margin: 50px auto;
}

.album__info {
	padding: 10px;
}

.album__cover {
	width: 100%;
}

.album__title,
.album__artist {
	margin-top: 20px;
	text-align: center;
	letter-spacing: 8px;
}

.album__title {
	color: #000;
	font-size: 26px;
	font-weight: 600;
	line-height: 26px;
	text-transform: uppercase;
}

.album__artist {
	color: var(--accent);
	font-size: 20px;
	font-weight: 400;
	line-height: 20px;
}

.album__text {
	display: flow-root;
	margin-top: 20px;
	text-align: center;
}

.album__links {
	display: flex;
	justify-content: center;
	margin: 20px -8px 0;
	font-size: 18px;
	line-height: 27px;
}

.album__links li {
	display: flex;
	align-items: center;
	margin: 0 8px;
}

.album__links li:not(:last-child)::after {
	content: "";
	position: relative;
	right: -8px;
	left: 8px;
	height: 27px;
	border-left: 1px solid #ddd;
}

.album__links li > a,
.album__links li > span {
	display: flex;
	align-items: center;
	color: var(--accent);
}

.album__links .icon {
	width: 14px;
	height: 14px;
	margin-right: 1.75px;
	margin-left: 1.75px;
}

.album__links li > a > span,
.album__links li > span > span {
	padding-left: 5px;
}

.album__tracks {
	padding: 14.4px 60px;
}

.album__track-title,
.album__track-author {
	display: block;
}

.album__track-title {
	padding-top: 10px;
	color: #000;
}

.album__track-author {
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
	color: #777;
}

/* 15 · Pagine --------------------------------------------------------------- */

.page-single {
	width: min(var(--content), 100% - 20px);
	margin: 0 auto 14.4px;
}

.page-single__title {
	margin: 8px 0 16px;
	color: var(--ink);
	font-size: 40px;
	font-weight: 500;
	line-height: 48px;
}

/* 16 · Lightbox della galleria ---------------------------------------------- */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.9);
}

.lightbox.is-open {
	display: flex;
}

.lightbox__img {
	max-width: 92vw;
	max-height: 90vh;
	object-fit: contain;
}

.lightbox button {
	position: absolute;
	padding: 12px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
}

.lightbox__close {
	top: 8px;
	right: 12px;
}

.lightbox__prev {
	left: 8px;
}

.lightbox__next {
	right: 8px;
}

/* Tablet e mobile ------------------------------------------------------------ */

@media (max-width: 1024px) {
	.nav__toggle {
		display: block;
		margin: 0 0 0 auto;
		padding: 5.5px;
		border: 0;
		background: transparent;
		color: #fff;
		cursor: pointer;
	}

	/* Icona a tre barre, 22px come l'icona del menu di Elementor. */
	.nav__burger {
		position: relative;
		display: block;
		width: 22px;
		height: 22px;
	}

	.nav__burger::before,
	.nav__burger::after,
	.nav__burger {
		background-image: linear-gradient(currentColor, currentColor);
		background-repeat: no-repeat;
		background-size: 22px 3px;
		background-position: 0 9.5px;
	}

	.nav__burger::before,
	.nav__burger::after {
		content: "";
		position: absolute;
		left: 0;
		width: 22px;
		height: 22px;
	}

	.nav__burger::before {
		background-position: 0 3px;
	}

	.nav__burger::after {
		background-position: 0 16px;
	}

	.nav {
		position: static;
	}

	.nav__list {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		background: #000;
	}

	.nav.is-open .nav__list {
		display: flex;
	}

	.site-header__inner {
		position: relative;
	}

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

@media (max-width: 767px) {
	.sec-head__title,
	.events__title {
		font-size: 30px;
	}

	.events__body.has-image {
		grid-template-columns: 1fr;
	}

	.site-logo,
	.nav {
		flex-basis: 50%;
	}

	.hero {
		min-height: 420px;
	}

	/* Barra audio: sul telefono resta il solo pulsante, a destra del titolo. */
	.now-playing__inner {
		min-height: 0;
	}

	.now-playing__title,
	.now-playing__artist {
		margin-bottom: 14.4px;
	}

	.now-playing__text {
		padding-top: 20.6px;
	}

	.now-playing__player {
		display: flex;
		justify-content: center;
		padding: 20px;
	}

	.now-playing__player .player {
		width: auto;
	}

	.player--bar .player__time,
	.player--bar .player__rail {
		display: none;
	}

	.news-feature {
		flex-direction: column;
	}

	.news-feature__image {
		flex-basis: auto;
		width: 100%;
	}

	.news-list {
		gap: 50px;
	}

	.news-item {
		gap: 0;
	}

	.news-item__image {
		flex-basis: 35%;
		justify-content: flex-start;
	}

	.news-item__title {
		flex-basis: 65%;
		padding: 0;
	}

	.latest__grid,
	.bio,
	.album {
		grid-template-columns: 1fr;
	}

	.latest__text {
		margin: 40px 20px 20px;
	}

	.latest__text p:last-child {
		margin-bottom: 0;
	}

	.tracks {
		padding: 20px;
	}

	.albums {
		grid-template-columns: 1fr;
	}

	.bio__image {
		min-height: 400px;
	}

	.contacts {
		flex-direction: column;
	}

	.contacts__col:not(:last-child) {
		margin-bottom: 20px;
	}

	.contacts__title {
		margin: 10px;
		font-size: 30px;
	}

	.socials {
		gap: 0 30px;
	}

	.socials__link {
		width: 36px;
		height: 36px;
		font-size: 36px;
	}

	.post-single {
		flex-direction: column;
	}

	.post-single__text,
	.post-single__image {
		flex-basis: auto;
	}

	.album__tracks {
		padding: 20px;
	}
}
