.gazette-archive {
    padding: 1rem 0 3rem;
    background: #f0f0f0;
    font-family: Tahoma, Arial, sans-serif;
}

.gazette-archive__container {
    max-width: 978px;
}

.gazette-archive__logo {
    overflow: hidden;
    background: #fff;
}

.gazette-archive__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.gazette-archive__columns {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: stretch;
}

.gazette-archive__years {
    display: flex;
    flex-direction: column;
    align-self: start;
    margin: 0;
    padding: 0;
    background: #e8e8e8;
    border-top: 1px solid #b3b3b3;
    border-left: 1px solid #b3b3b3;
}

.gazette-archive__year {
    display: block;
    padding: 6px 10px;
    color: #555;
    background: linear-gradient(#f8f8f8, #dedede);
    border-right: 1px solid #b3b3b3;
    border-bottom: 1px solid #b3b3b3;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    word-break: normal;
}

.gazette-archive__year:hover,
.gazette-archive__year:focus-visible,
.gazette-archive__year.is-active {
    color: #ff7e14;
    background: #fff;
}

.gazette-archive__section {
    min-height: 600px;
    padding: 20px 58px;
    background: #fff;
    border: 1px solid #b3b3b3;
}

.gazette-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gazette-issue {
    min-width: 0;
    padding: 25px 0 15px;
    color: #444;
    text-align: center;
    border-radius: 5px;
}

.gazette-issue:hover {
    color: #000;
    background: #ffddaa;
}

.gazette-issue__cover {
    position: relative;
    display: block;
    width: 152px;
    height: 205px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #999;
    box-shadow: 4px 5px 6px #666;
}

.gazette-issue__cover img {
    display: block;
    width: 150px;
    height: 203px;
    object-fit: cover;
}

.gazette-issue__body {
    padding-top: 8px;
}

.gazette-issue__number {
    margin: 0;
    color: #444;
    font-size: 11px;
    font-weight: 400;
}

.gazette-issue time {
    display: block;
    margin: 2px 0 3px;
    color: #7e1107;
    font-size: 15px;
    font-weight: 400;
}

.gazette-issue__download {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    color: #222;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.gazette-issue__download img {
    width: 16px;
    height: 16px;
}

.gazette-issue__download small {
    color: #888;
    font-size: 12px;
    font-weight: 400;
}

.gazette-issue__download:hover,
.gazette-issue__download:focus-visible,
.gazette-issue__download:hover small,
.gazette-issue__download:focus-visible small {
    color: #f00;
}

.gazette-archive__empty {
    padding: 2rem;
    color: #666;
    text-align: center;
}

@media (max-width: 767.98px) {
    .gazette-archive {
        padding-top: 0.5rem;
    }

    .gazette-archive__columns {
        display: block;
    }

    .gazette-archive__years {
        flex-direction: row;
        overflow-x: auto;
        border-top: 1px solid #b3b3b3;
        border-right: 1px solid #b3b3b3;
    }

    .gazette-archive__year {
        flex: 0 0 auto;
        border-right: 0;
        border-left: 1px solid #b3b3b3;
    }

    .gazette-archive__section {
        min-height: 0;
        padding: 12px 6px 24px;
    }

    .gazette-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gazette-issue {
        padding: 16px 3px 12px;
    }

    .gazette-issue__cover {
        width: min(140px, calc(100% - 16px));
        height: auto;
        aspect-ratio: 150 / 203;
    }

    .gazette-issue__cover img {
        width: 100%;
        height: 100%;
    }
}
