/* -----------------------
RESET BASE
----------------------- */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family: Arial, Helvetica, sans-serif;
line-height:1.6;
background:#f7f7f7;
color:#333;
}


/* -----------------------
CONTAINER GENERALI
----------------------- */

main{
max-width:900px;
margin:40px auto;
padding:20px;
background:white;
border-radius:6px;
box-shadow:0 2px 6px rgba(0,0,0,0.05);
}


/* -----------------------
HEADER
----------------------- */

.site-header{
background:white;
border-bottom:1px solid #eee;
position:sticky;
top:0;
z-index:100;
}

.header-container{
max-width:1100px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
padding:15px;
}


/* LOGO */

.logo img{
	/*
height:42px;
*/
height:75px;
}


/* -----------------------
MENU DESKTOP
----------------------- */

.main-nav ul{
list-style:none;
display:flex;
gap:25px;
}

.main-nav a{
text-decoration:none;
color:#333;
font-weight:600;
font-size:15px;
transition:0.2s;
}

.main-nav a:hover{
color:#2a7cff;
}


/* -----------------------
HAMBURGER
----------------------- */

.hamburger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.hamburger span{
width:25px;
height:3px;
background:#333;
display:block;
}


/* -----------------------
ARTICOLI
----------------------- */

.article-header h1{
font-size:32px;
margin-bottom:15px;
}


/* -----------------------
ARTICOLO COVER IMAGE
----------------------- */

.article-cover{
margin:20px 0;
}

.article-cover img{
width:100%;
height:auto;
border-radius:6px;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.article-meta{
font-size:14px;
color:#777;
margin-bottom:15px;
}

.article-tags{
margin-bottom:20px;
}

.tag{
background:#eef4ff;
color:#2a7cff;
padding:4px 10px;
border-radius:4px;
font-size:13px;
margin-right:6px;
}


/* -----------------------
CONTENUTO ARTICOLO
----------------------- */

.article-content p{
margin-bottom:16px;
font-size:17px;
}

.article-content h2{
margin-top:25px;
margin-bottom:10px;
font-size:22px;
}

.article-content ul{
margin-left:20px;
margin-bottom:20px;
}

.article-content table{
border-collapse:collapse;
width:100%;
margin-top:15px;
}

.article-content td{
border:1px solid #ddd;
padding:8px;
}


/* -----------------------
LINK
----------------------- */

a{
color:#2a7cff;
}

a:hover{
text-decoration:underline;
}


/* -----------------------
FOOTER
----------------------- */

.site-footer{
background:#222;
color:#ddd;
margin-top:50px;
padding:30px 20px;
text-align:center;
}

.footer-menu{
margin-bottom:15px;
}

.footer-menu a{
color:#ddd;
margin:0 10px;
text-decoration:none;
font-size:14px;
}

.footer-menu a:hover{
text-decoration:underline;
}

.copyright{
font-size:13px;
color:#999;
}


/* -----------------------
COOKIE BANNER
----------------------- */

.cookie-banner{
position:fixed;
bottom:0;
left:0;
right:0;
background:#111;
color:white;
padding:15px;
display:none;
text-align:center;
z-index:999;
}

.cookie-banner button{
background:#2a7cff;
border:none;
color:white;
padding:8px 16px;
margin-left:10px;
cursor:pointer;
border-radius:4px;
}


/* -----------------------
RESPONSIVE MOBILE
----------------------- */

@media (max-width:768px){

.main-nav{
position:absolute;
top:70px;
left:0;
right:0;
background:white;
display:none;
border-top:1px solid #eee;
}

.main-nav.open{
display:block;
}

.main-nav ul{
flex-direction:column;
padding:15px;
}

.main-nav li{
padding:10px 0;
border-bottom:1px solid #eee;
}

.hamburger{
display:flex;
}

}