/* M.A.S.TER: stile condiviso per tutte le pagine */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0 !important; padding: 32px 20px; background: #000; color: #e8e8e8; font-family: Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.6; }
.site-shell { width: 100%; max-width: 800px; margin: 0 auto; text-align: left; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: #e8e8e8; overflow-wrap: anywhere; }
a:hover { color: #e6c77a; }
a:focus-visible { outline: 2px solid #e6c77a; outline-offset: 4px; }
.layout-table { width: 100%; }
.layout-row { display: flex; gap: 20px; align-items: flex-start; margin: 16px 0; }
.layout-cell { min-width: 0; flex: 1; height: auto !important; }
.image-cell { flex: 3; }
.site-header .layout-row { align-items: center; }
.site-header .layout-cell:first-child { flex: 0 1 185px; }
.site-header .layout-cell:last-child { flex: 0 0 48px; text-align: center; }
.site-header img { object-fit: contain; }
.site-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 24px 0; }
.site-nav a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 4px; text-align: center; text-decoration: none; border: 1px solid #66552d; border-radius: 4px; color: #e6c77a; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #e6c77a; color: #111; }
hr { border: 0; border-top: 1px solid #66552d; margin: 24px 0; }
@media (max-width: 600px) {
 body { padding: 20px 16px; }
 .site-nav { grid-template-columns: repeat(3, 1fr); }
 .layout-row { flex-direction: column; gap: 12px; }
 .layout-cell { width: 100%; text-align: left !important; }
 .site-header .layout-row { flex-direction: row; gap: 12px; }
 .site-header .layout-cell { width: auto; }
 .site-header .layout-cell:first-child { flex-basis: 100px; }
 .site-header .layout-cell:last-child { flex-basis: 42px; }
 .image-cell { order: -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Intestazione delle sole Home: logo, nome del trio e collegamenti a destra. */
.home-header > .layout-row { display: grid; grid-template-columns: 185px minmax(0, 1fr) 48px; gap: 20px; }
.home-title { text-align: center; min-width: 0; color: #e6c77a; }
.home-title h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 6vw, 64px); font-weight: normal; line-height: 1.15; white-space: nowrap; }
.home-title p { margin: 10px 0 0; font-size: clamp(14px, 2.4vw, 24px); line-height: 1.4; }
.home-links { display: flex; flex-direction: column; align-items: center; gap: 8px; justify-self: end; }
.home-links a { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; }
.home-links img { margin: 0; }
@media (max-width: 600px) {
 .home-header > .layout-row { grid-template-columns: 80px minmax(0, 1fr) 44px; gap: 8px; }
 .home-title h1 { font-size: clamp(22px, 6vw, 36px); }
 .home-title p { margin-top: 6px; }
}

/* Titolo con carattere decorativo coerente con le intestazioni originali. */
.home-title h1 img { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.home-title p { color: #e8e8e8; }
