@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #626262;
}

#maincontainer {}

.container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}


img {
    border: none;
    display: block;
}

h1 span,
h2 span {
    display: none;
}



header {
    background: linear-gradient(0, #eaeaea, transparent);
}

header .head-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}

header h1.logo {
    width: 733px;
}

@media (max-width: 920px) {
    header h1.logo {
        width: 80%;
    }
}

header h1.logo img {
    width: 100%;
    height: auto;
    margin-left: -35%;
}

header a.logo-nh {
    display: block;
    width: 28.3%;
}

header a.logo-nh img {
    width: 100%;
    height: auto;
}


footer {
    border-top: 1px solid #ccc;
    padding: 15px 20px 50px 20px;
    color: #ccc;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 639px) {
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer>*:not(:last-child) {
        margin-bottom: 20px;
    }
}

footer img.logo-nh {
    width: 260px;
    height: auto;
}

footer a:link,
footer a:visited {
    color: #ccc;
    text-decoration: none;
}

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




.featured {
    margin-top: 45px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.featured h2 {
    color: #a1a1a1;
    font-size: 24px;
    letter-spacing: -1px;
    font-weight: normal;
    border-bottom: 1px solid #a5a5a5;
    margin-bottom: 22px;
}

.featured strong {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.featured .text {
    box-sizing: border-box;
    width: 60%;
    height: auto;
    margin-bottom: 20px;
    padding-right: 15px;
}

.featured .text p {
    margin-bottom: 1.1em;
}

.featured .cover {
    box-sizing: border-box;
    width: 40%;
    margin: 30px 0 40px;
    padding: 15px 10px 0 10px;
}

@media (max-width: 639px) {
    .featured {
        margin-top: 0;
    }

    .featured .text {
        width: 100%;
        padding: 0 15px;
    }

    .featured .cover {
        width: 100%;
    }
}

.featured .cover img {
    display: block;
    transform: rotate(-5deg);
    width: 88%;
    max-width: 400px;
    margin: 0 auto;
}




.issues-container {
    background: linear-gradient(0.5turn, #f1f1f1, transparent 20%);
    padding-top: 25px;
}

.issues-container h2 {
    line-height: 25px;
    background-color: #7399c6;
    color: white;
    font-family: 'Arial Narrow', Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    padding: 0 10px;
}


.year-row {
    position: relative;
    display: flex;
    margin: 35px 0;
    align-items: flex-start;
    /* sembra essere essenziale per lo sticky */
}

.year-row .year-date {
    flex: 0 0 65px;
    position: sticky;
    top: 20px;
}

.year-row .year-date span {
    display: block;
    writing-mode: sideways-lr;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 64px;
    color: lightgray;
    font-weight: bold;
    line-height: 1;
}

:root {
    --col-gap: 4%;
}

.year-row .year-issues {
    display: flex;
    flex-wrap: wrap;
    gap: var(--col-gap);
    border-left: 5px solid lightgray;
    padding-left: 15px;

}

.year-issues .issue {
    --col-count: 4;
    width: calc((100% - var(--col-count) * var(--col-gap)) / var(--col-count));
    margin-bottom: 35px;
    text-align: center;
}

@media (max-width: 767px) {
    .year-issues .issue {
        --col-count: 2;
    }
}

@media (max-width: 479px) {
    .year-issues .issue {
        --col-count: 1;
    }
}

.year-issues .issue img {
    margin-bottom: 10px;
    width: 100%;
    height: auto;
}

.year-issues .issue p {
    font-size: 14px;
    font-weight: bold;
}

.year-issues .issue a.download:link,
.year-issues .issue a.download:visited {
    cursor: pointer;
    padding-left: 12px;
    height: 25px;
    display: block;
    width: 90px;
    background: url(../images/download_bg.jpg) no-repeat 0px -2px;
    color: #626262;
    text-decoration: none;
    margin: 5px auto 0px auto;
}

.year-issues .issue a.download:hover {
    text-decoration: underline;
}