/* Downloads — list of PDF download buttons. */

.lma-downloads {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1.25rem;
}

.lma-downloads-title {
    font-family: "Prata", Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #212529;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e4e4;
}

.lma-downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.lma-download {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    text-decoration: none;
    color: #212529;
    font-family: "Karla", sans-serif;
    transition:
        transform 0.2s ease,
        border-color 0.25s,
        background-color 0.25s,
        box-shadow 0.25s;
}

.lma-download:hover,
.lma-download:focus-visible {
    transform: translateY(-2px);
    border-color: #212529;
    background: #fafafa;
    color: #000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    outline: none;
}

.lma-download-icon {
    flex-shrink: 0;
    color: #797979;
    transition: color 0.25s;
}

.lma-download:hover .lma-download-icon {
    color: #212529;
}

.lma-download-label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.lma-download-size {
    font-size: 12px;
    font-weight: 500;
    color: #797979;
    padding: 3px 8px;
    background: #f3f3f3;
    border-radius: 3px;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .lma-downloads-grid {
        grid-template-columns: 1fr;
    }
    .lma-download {
        padding: 14px 16px;
    }
}
