/* ─── Download Cards — Figma frame "document-downloader" ────────── */

.wp-block-headless-download-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
    gap: 60px;
    align-items: start;
    padding: clamp(28px, 3.2vw, 40px);
}

/* ── Intro column ── */

.download-cards-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 441px;
}

.download-cards-eyebrow {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 999px;
    background: rgba(54, 80, 114, 0.32);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}

.download-cards-title {
    margin: 0;
    color: #365072;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
}

.download-cards-title-accent {
    font-style: italic;
    color: #7a9dc0;
}

.download-cards-description {
    margin: 0;
    color: rgba(22, 30, 35, 0.75);
    font-size: 16px;
    line-height: 1.6;
}

.download-cards-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 99px;
    background: #fa700d;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    box-shadow:
        16px 33px 22px 0 rgba(250, 112, 13, 0.05),
        7px 15px 16px 0 rgba(250, 112, 13, 0.09),
        2px 4px 9px 0 rgba(250, 112, 13, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}

.download-cards-cta:hover {
    background: #e56000;
}

/* Pressed feedback: instant darker shade + slight press-in on click,
   fading back after release so a file download visibly "responds". */
.download-cards-cta:active {
    background: #c25303;
    transform: scale(0.97);
    transition: none;
}

/* ── Cards grid ── */

.download-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.download-cards-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(224, 231, 239, 0.6);
    box-shadow: 0 1px 6px rgba(29, 43, 57, 0.04);
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.3s ease, transform 0.3s ease;
}

.download-cards-item:hover {
    border-color: #6892fe;
    box-shadow: 0 6px 20px rgba(54, 80, 114, 0.08);
}

/* Pressed feedback: instant darker card + slight press-in on click,
   fading back after release so a file download visibly "responds". */
.download-cards-item:active {
    background: #dce6f1;
    border-color: #6892fe;
    transform: scale(0.985);
    transition: none;
}

.download-cards-item-tag {
    color: #6892fe;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.download-cards-item-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-cards-item-title {
    margin: 0;
    color: #365072;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.download-cards-item-description {
    margin: 0;
    color: rgba(22, 30, 35, 0.75);
    font-size: 14px;
    line-height: 1.6;
}

.download-cards-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.download-cards-item-link {
    color: rgba(22, 30, 35, 0.75);
    font-size: 12px;
    line-height: 1.6;
}

.download-cards-item-icon {
    width: 19px;
    height: 19px;
    color: #fa700d;
    flex-shrink: 0;
}

/* ── Responsive ── */

@media (max-width: 1100px) {
    .wp-block-headless-download-cards {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .download-cards-intro {
        max-width: 560px;
    }

    .download-cards-title {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }
}

@media (max-width: 760px) {
    .download-cards-grid {
        grid-template-columns: 1fr;
    }

    .download-cards-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }
}
