/* Custom Properties per il Design System di OpJourney */
:root {
    --primary-bg: #121212;
    --secondary-bg: #1a1a1a;
    --accent-color: #b22222; /* Ispirato al tema Dark Fantasy */
    --text-main: #e5e5e5;
    --text-muted: #a0a0a0;
    --header-height: 80px;
    --font-serif: 'Georgia', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
}

/* Reset Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header e Navigazione */
.site-header {
    background-color: var(--text-main);
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-list a {
    color: var(--primary-bg);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--secondary-bg);
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 1rem 0;
    border: 1px solid var(--accent-color);
    list-style: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown:hover.dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 0.5rem 1.5rem;
    display: block;
    text-transform: none;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-bg);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid #333;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-widgets h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.footer-nav-secondary ul {
    list-style: none;
}

.footer-nav-secondary ul li {
    margin-bottom: 0.5rem;
}

.footer-nav-secondary a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav-secondary a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.logo img{
    max-height: 50px;
    width: auto;
}
.site-main {
    /* Larghezza fluida con un massimo di 1200px */
    width: 90%;
    max-width: 1200px;
    
    /* Centra il container orizzontalmente */
    margin-inline: auto; 
    
    /* Padding responsivo: piccolo su mobile, più grande su desktop */
    padding: clamp(1rem, 5vw, 3rem);
    
    /* Box-sizing incluso per evitare che il padding aumenti la larghezza totale */
    box-sizing: border-box;
  }
.site-main .hcms-single-page__title{
    color:#fff;
  }
.site-main a{
    color:var(--text-muted);
  }
.site-main a:hover {
    color: var(--text-main);
}
.site-header .hcms-lang-btn.active{
    background-color: #05226d;
    border-color: #05226d;
}