﻿/* === STILE BASE === */
body {
	margin: 0;
	font-family: Arial, sans-serif;
	background-color: #000;
	color: #fff;
}
.page-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	background-color: #000;
	box-shadow: 0 0 0 100vmax #000; /* evita overlay laterali su pubblicità */;
	overflow: hidden;
}
h1, h2, h3, h4, h5, h6 {
	text-align: center;
	color: #fff;
}
a {
	color: #fff;
	text-decoration: none;
}
a:hover {
	color: red;
}
/* Link container */
main.container a,
main.container ul li a,
main.container ol li a {
  color: #e60000; /* rosso acceso */
  text-decoration: underline;
}

main.container a:hover,
main.container ul li a:hover,
main.container ol li a:hover,
main.container a:focus,
main.container ul li a:focus,
main.container ol li a:focus {
  color: #ff4d4d; /* rosso più chiaro */
  text-decoration: underline;
}

/* === HEADER === */
header {
	position: relative;
	background-color: #111;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.header-center {
	flex: 1;
	text-align: center;
}
.logo {
	height: 50px;
	width: auto;
}
/* === MENU TOGGLE (Hamburger) === */
.menu-toggle {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	font-size: 2rem;
	color: #fff;
	cursor: pointer;
	display: none;
}
/* === MENU DESKTOP === */
nav.main-nav {
	background-color: #111;
}
nav.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}
nav.main-nav ul li {
	position: relative;
}
nav.main-nav ul li a {
	display: block;
	padding: 12px 15px;
	font-weight: bold;
}
/* === SOTTOMENU DESKTOP === */
nav.main-nav ul li:hover > .submenu {
	display: flex;
}
.submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #111;
	z-index: 1000;
	flex-direction: column;
	min-width: 200px;
}
.submenu li a {
	white-space: nowrap;
	font-weight: normal;
	padding: 10px 15px;
}
/* === RESPONSIVE - MOBILE === */
@media (max-width: 768px) {
.menu-toggle {
	display: block;
}
nav.main-nav {
	display: none;
	flex-direction: column;
	align-items: stretch;
	background-color: #111;
}
nav.main-nav.active {
	display: flex;
}
nav.main-nav ul {
	flex-direction: column;
}
nav.main-nav ul li {
	text-align: left;
}
nav.main-nav ul li a {
	padding: 12px 20px;
}
nav.main-nav ul li .submenu {
	position: static;
	display: none;
	background-color: #222;
}
nav.main-nav ul li .submenu.open {
	display: flex;
	flex-direction: column;
}
}
/* === CONTENUTO === */
main.container {
	padding: 20px;
	max-width: 1000px;
	margin: auto;
}
/* BREADCRUMB CSS AGGIORNATO */

.breadcrumb {
  background-color: #111;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-variant: small-caps;
  color: #ccc;
}

.breadcrumb-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb .bc-prefix {
  margin-right: 8px;
  color: #888;
  font-weight: 500;
}

.breadcrumb .bc-link {
  text-decoration: none;
  color: #e0e0e0;
  transition: color 0.2s ease-in-out;
}

.breadcrumb .bc-link:hover {
  color: #fff700;
}

.breadcrumb .separator {
  color: #888;
}
/* === IMMAGINI ARTICOLI === */

.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 6px; /* opzionale */
}

/* === CORRELATI === */
.related-links {
	background-color: #1a1a1a; /* grigio scuro */;
	color: #fff;
	padding: 30px 20px;
	margin-top: 40px;
	text-align: center;
	border-top: 1px solid #333;
}
.related-links h2 {
	margin-bottom: 20px;
	font-size: 1.5rem;
	color: #fff;
}
.related-links ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 1000px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.related-links ul li {
	display: inline-block;
}
.related-links ul li a {
	color: #ffcc00; /* giallo oro visibile su nero */;
	font-weight: bold;
	text-decoration: none;
	transition: color 0.3s;
}
.related-links ul li a:hover {
	color: red;
}
/* MOBILE */
@media (max-width: 768px) {
.related-links ul {
	flex-direction: column;
	gap: 10px;
}

/* === IMMAGINI ARTICOLI === */

.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 6px; /* opzionale */
}

/* === FOOTER === */
footer {
	padding: 20px;
	text-align: center;
	background-color: #111;
	color: #999;
	font-size: 0.9rem;
}
footer a {
	color: #ccc;
}
footer a:hover {
	color: red;
}
