.pda-tests-page {
    min-height: calc(100vh - 140px);
    padding: 52px 0 88px;
    color: var(--pda-text);
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 218, 240, .24), transparent 24%),
        linear-gradient(180deg, #fff2ee 0%, #fff8f5 46%, #fff5f0 100%);
}

.pda-tests-container {
    width: min(calc(100% - 40px), 1120px);
    margin-inline: auto;
}

.pda-tests-header {
    max-width: 760px;
    margin: auto;
    margin-bottom: 46px;
    text-align: center;
}

.pda-tests-eyebrow {
    margin: 0 0 12px;
    color: #946f12;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pda-tests-header h1 {
    margin: 0;
    color: var(--pda-text);
    font-family: var(--pda-font-display);
    font-size: clamp(2.25rem, 5vw, 3.3rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.025em;
}

.pda-tests-header > p:last-child {
    max-width: 680px;
    margin: auto;
    margin-top: 20px;
    color: var(--pda-muted);
    font-size: 1.4rem;
    line-height: 1.2;
}

.pda-tests-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pda-test-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e4d7cf;
    border-radius: 18px;
    background: rgba(255, 255, 255, .64);
    transition:
        border-color 160ms ease,
        transform 160ms ease,
        background 160ms ease;
}

.pda-test-card:hover {
    border-color: rgba(191, 155, 48, .40);
    background: rgba(255, 255, 255, .82);
    transform: translateY(-2px);
}

.pda-test-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee7e2;
}

.pda-test-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.pda-test-card:hover .pda-test-card__media img {
    transform: scale(1.025);
}

.pda-test-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 22px;
}

.pda-test-card__content h2 {
    margin: 0 0 10px;
    color: var(--pda-green);
    font-family: var(--pda-font-display);
    font-size: 1.27rem;
    font-weight: 500;
    line-height: 1.32;
}

.pda-test-card__content p {
    margin: 0 0 18px;
    color: var(--pda-muted);
    font-size: 1rem;
    line-height: 1.4;
}

.pda-test-card__link {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: #946f12;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
}

.pda-test-card__link:hover {
    text-decoration: underline;
}

.pda-tests-empty {
    color: var(--pda-muted);
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .pda-tests-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .pda-tests-page {
        padding: 36px 0 64px;
    }

    .pda-tests-container {
        width: min(calc(100% - 24px), 1120px);
    }

    .pda-tests-header {
        margin-bottom: 34px;
    }

    .pda-tests-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pda-test-card__content {
        padding: 18px 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pda-test-card,
    .pda-test-card__media img {
        transition: none;
    }
}
