section.notizie {
    padding-top: 2.2rem;
    padding-bottom: 2.4rem;
}

.edizione-colonna { min-width: 0; }
.notizie-cards { --edition-width: 94%; }

.day-masthead,
.week-masthead {
    display: block;
    width: var(--edition-width);
    aspect-ratio: 1518 / 413;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
    line-height: 0;
}

.day-masthead a,
.day-lettering,
.week-cover,
.week-cover img {
    display: block;
    width: 100%;
}

.day-lettering { height: auto; }

.week-masthead img {
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.day-card > a .gh-card-picture,
.week-photo {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.day-card > a .gh-card-image,
.week-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.week-photo img { object-position: center 66%; }
.week-photo { border-radius: .7rem; }

.week-card .if-week-archive-action {
    margin-top: calc(2.8rem + 12px);
    padding: 0;
}

#edizioni .notizie-day {
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
}

#edizioni .week-read {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    max-width: 100%;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    background: linear-gradient(135deg, #b81223, #d7192b 60%, #e52533);
}
#edizioni .week-read:is(:hover, :focus-visible) {
    background: linear-gradient(135deg, #a10f1d, #c51627 60%, #d91f30);
}

#edizioni .day-summary a {
    color: #121b26;
    font-weight: bold;
    text-decoration: underline;
}

@media (min-width: 701px) {
    .notizie-cards {
        --edition-details-height: 34rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #edizioni .notizie-cards {
        align-items: stretch;
    }
    #edizioni .edizione-colonna {
        display: grid;
        align-items: stretch;
        grid-template-columns: minmax(0, 1fr);
    }
    .day-card > .gh-card-content {
        box-sizing: border-box;
        min-height: var(--edition-details-height);
        margin: 2vmin 0 0;
    }
    .day-card .gh-card-content > p:last-child { margin-bottom: 0; }
    .day-summary span {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 700px) {
    .notizie-cards {
        --edition-width: min(100%, 272px);
        grid-template-columns: 1fr;
    }
}

/* La copertina del fascicolo comprende la propria testata. */
#edizioni .week-home-cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: .7rem;
}

/* Iscrizione permanente al canale WhatsApp del Fondo Week, solo in home. */
#edizioni .week-card .if-week-archive-action {
    flex-direction: column;
    gap: 12px;
}
#edizioni .week-whatsapp {
    max-width: 100%;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background: #087b43;
    text-align: center;
    text-decoration: none;
    text-transform: none;
}
#edizioni .week-whatsapp:is(:hover, :focus-visible) {
    background: #066638;
}
#edizioni .week-whatsapp:focus-visible {
    outline: 2px solid #087b43;
    outline-offset: 3px;
}
