body {
  margin: 0;
  font-family: 'Avenir Next', 'Segoe UI', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  font-size: 1.3rem;
  background-color: #fff;
  color: #7C7C7C;
}

header {
  background: linear-gradient(to right, #BD312A, #450C06);
  color: #fff;
  padding: 0 0 0 0rem;
  font-size: 1rem;
  text-align: center;
}

nav {
  display: flex;
  justify-content: right;
  padding: 0rem 2rem 0rem 0rem;
  flex-wrap: wrap;
}

nav .pipe {
  padding: 0.4rem 0 0 0;
}


nav a {
  margin: 0.5rem 1rem;
  text-decoration: none;
  color: #fff;
  font-weight: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #AAA;
}

h2 {
  color: #000;
}


.section {
  padding: 2rem 1rem 0 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

section.hero {
  padding: 4rem 0 0 0;
  text-align: center;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  flex-wrap: wrap;
}

.logo-recordati {
  max-width: 400px;
  height: auto;
}

.logo-sfro {
  max-width: 300px;
  height: auto;
}


.section-centrale {
  margin: 0;
  padding: 0;
}

.texte-bestof {
  margin: 2rem 0 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.texte-bestof P {
  margin: 0;
  padding: 0 1rem;
  line-height: 1.4;
}

.text-encart {
  padding: 0 1rem;
  margin: 0;
}

.contenu {
  padding: 0 1rem;
  margin: 0;
}

.fdgris {
  margin: 0 1rem;
  background-color: #D9D9D9;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.video-grid-portrait {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  gap: 3rem;

  justify-content: center;
  flex-wrap: wrap;
  align-items: end;
}

.video-grid-centrale {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.video-card {
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 3rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}


.video-card-portrait {
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 3rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  height: 580px;
 }

.video-card-portrait iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-portrait p {
  margin: 0;
  padding: 0;
  padding: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.3rem;

}


.video-card:hover, .video-card-bestof:hover {
  transform: scale(1.02);
}

.video-card iframe {
  width: 100%;
  height: 176px;
  border: none;

}



.video-card iframe.large {
  height: 270px;
}


.video-card p {
  margin: 0;
  padding: 0.75rem;
  font-size: 1.1rem;
}

.video-card-bestof {
  border-radius: 0px;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 2rem 1rem 2rem 0;
  transition: transform 0.2s ease;
}

.video-card-bestof:hover {
  transform: scale(1.02);
}

.video-card-bestof iframe {
  width: 100%;
  height: 250px;
  border: none;
}


.vimeo_player {
	position:absolute;
	top:0px;
	left:0;
	width:100%;
	height:250%;
}


footer {
  background: #450C06;
  background-image: url("images/footer-bg.png");
  color: #fff;
  padding: 2rem 1rem 1rem 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 50px;
}

.recordati-name {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  padding: 2rem 0 0 0;
}

.footer-links .bullet {
  color: #fff;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: left;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.3;  
}

.footer-codepub {
	font-size: 1rem;
	margin: 0px;
	padding: 10px 0 20px 0;
	text-align: center;
	line-height: 0;
	font-size: 0.9rem;
	color: #fff6f6;
}

#texte p, ol.niveau1 li { text-align: justify; }
#texte a { color: #7C7C7C; }
#texte a:visited { color: #7C7C7C; }
#texte a:hover { color: #000; }
#texte a:active { color: #7C7C7C; }

ol.niveau1, ol.niveau2 { list-style-type: lower-roman; }

ul.niveau3 { list-style-type: lower-alpha; }

table  { border-collapse: collapse; border: 1px solid black; }
table thead  { font-weight: bold; }
table td { border: 1px solid black; font-size: 0.9rem; vertical-align: top;}
