body {
    font-family: Barlow, Helvetica, Arial, sans-serif;
    margin: 0px;
}

b {
    font-weight: 600;
}

.bolder {
    font-weight: 700;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.mb-3 {
    margin-bottom: 4px !important;
    display: block;
}

.newsletters {
    min-height: calc(100vh - 228px);
    height: fit-content;
    width: 100%;
    max-width: 1024px;
    margin: 0px auto;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0px 20px;
}

.header-text {
    width: 100%;
    margin-bottom: 30px;
    border-bottom: 1px solid black;
}

.header-text h1 {
    font-size: 32px;
    margin: 22px 0px;
    font-family: Barlow, sans-serif;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: 100%;
    column-gap: 30px;
    row-gap: 30px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 30px;
}

.newsletter-card.principal {
    grid-column: span 1;
    max-width: 500px;
}

.newsletter-card.principal h2 {
    color: #e51f3d;
    align-self: start;
    margin-top: 10px;
    margin-bottom: 16px;
}

.newsletter-card.principal img {
    max-width: 100%;
    height: auto;
}

.newsletter-card.principal h3 {
    font-size: 32px;
    line-height: 64px;
}

.newsletter-card {
    border: 1px solid rgb(173, 171, 171);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 295px;
    max-width: 500px;
    height: fit-content;
    min-width: 0px;
    width: auto;
    padding: 20px;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.newsletter-card.active {
    background-color: white;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.3);
    height: fit-content;
}

.newsletter-card.active::after {
    content: "";
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    top: 0px;
    left: 0px;
}

.newsletter-card:hover {
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.newsletter-card img {
    max-height: 133px;
    margin: 0px auto 20px auto;
}

.newsletter-card h3 {
    font-size: 23px;
    line-height: 32px;
    margin: 10px 0px;
    font-weight: 600;
    text-align: left;
}

.newsletter-card p {
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
    text-align: left;
    margin: 0px 0px 14px 0px;
    display: block;
}

.newsletter-card .long-text {
    min-height: 192px;
    font-size: 15px;
}

.newsletter-card .see-more {
    margin-top: 16px;
}

.newsletter-card .hidden-paragraph {
    display: none;
}

.newsletter-card.active .hidden-paragraph {
    display: block;
}

.newsletter-card.active .see-more {
    display: none;
}

.last-publications {
    width: 100%;
    height: fit-content;
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: fit-content;
}

.last-publications h3 {
    font-size: 15px !important;
    line-height: 32px !important;
    text-transform: uppercase;
}

.last-publications a {
    color: #e51f3d;
}

.listing {
    width: 100%;
    height: fit-content;
}

.listing h3 {
    font-size: 30px !important;
    line-height: 32px !important;
    text-transform: uppercase;
    margin-top: 0px;
}

.display_archive {
    font-size: 18px;
}
.campaign {
    font-size: 20px;
}

.campaign {
    margin-bottom: 20px;
}

.campaign a {
    color: #e51f3d;
}

.see-more {
    color: rgb(42, 106, 244);
    text-decoration: underline;
    cursor: pointer;
    display: block;
    font-size: 14px;
}

#archivio {
    max-width: 1024px;
    margin: 30px auto;
    height: 100%;
    background-color: #f7f7f6;
    padding: 40px 25px 40px 25px;
    min-height: calc(100vh - 140px);
}

.two-logos-wrapper {
    display: flex; 
    flex-direction: row; 
    max-width: 100%; 
    height: 133px; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
    margin-bottom: 20px;
} 

.img-wrapper {
    display: flex;  
    align-items: center; 
    justify-content: center; 
    margin: 0px 5px;
}

.img-wrapper.logo1 {
    width: 60%; 
}

.img-wrapper.logo2 {
    width: 40%; 
}

.img-wrapper img {
    width: auto; 
    max-height: 92px; 
    object-fit: contain; 
    margin-bottom: 0px !important;
}

@media screen and (min-width: 768px) {
    .cards-wrapper {
        grid-template-columns: repeat(2, auto);
    }

    .newsletter-card.principal {
        grid-column: span 2;
        max-width: 100%;
    }

    .newsletter-card.principal img {
        max-width: 500px;
    }

    .newsletter-card p {
        font-size: 18px;
    }

    .newsletter-card {
        min-height: 697px;
    }

    .newsletter-card.principal {
        min-height: 490px;
        text-align: center;
    }

    .newsletter-card.principal p {
        text-align: center;
    }

    .newsletter-card.principal .last-publications {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .newsletter-card.principal h2 {
        align-self: center;
    }

}

@media screen and (min-width: 1000px) {

    .header-text h1 {
        font-size: 50px;
    }

    .newsletters {
        min-height: calc(100vh - 260px);
    }

    .cards-wrapper {
        grid-template-columns: repeat(2, auto);
        width: 100%;
    }

    .newsletter-card.principal h3 {
        font-size: 45px;
    }

    .newsletter-card {
        min-height: 727px;
    }
}