﻿/* Report list layout */
.report-list {
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Each card */
.report-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid currentColor;
}

/* Image container */
.report-card__image-link {
    display: block;
    width: 200px;
}

    /* Image itself: preserves exact 200x100 ratio */
    .report-card__image-link img {
        display: block;
        width: 100%;
        height: auto;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

/* Content */
.report-card__content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    line-height: 1.3;
}

.report-card__content p {
    margin: 0 0 0.5rem;
}

.report-card__author {
    font-weight: 600;
}

/* Accessible focus */
.report-card a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Visually hidden helper */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Mobile: stack layout */
@media (max-width: 640px) {
    .report-card {
        grid-template-columns: 1fr;
    }

    .report-card__image-link {
        width: 100%;
    }
}
