/* Dokumentumok oldalsablon */
.jasz-documents {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.jasz-documents__link {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    color: #000;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.jasz-documents__link:hover,
.jasz-documents__link:focus-visible {
    border-color: #cd234b;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
    color: #000;
    text-decoration: none;
}

.jasz-documents__badge {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 60px;
    border-radius: 8px 18px 8px 8px;
    background: #cd234b;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.jasz-documents__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jasz-documents__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.jasz-documents__meta {
    font-size: .875rem;
    color: #6b6b6b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jasz-documents__action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px solid #cd234b;
    color: #cd234b;
    font-weight: 700;
    font-size: .875rem;
    transition: background .2s ease, color .2s ease;
}

.jasz-documents__link:hover .jasz-documents__action,
.jasz-documents__link:focus-visible .jasz-documents__action {
    background: #cd234b;
    color: #fff;
}

.jasz-documents__item {
    min-width: 0;
}

@media (max-width: 767px) {
    .jasz-documents__link {
        gap: 14px;
        padding: 14px;
    }

    .jasz-documents__badge {
        width: 42px;
        height: 50px;
    }

    .jasz-documents__action {
        padding: 10px;
    }

    .jasz-documents__action-label {
        display: none;
    }
}
