/* Germany free-resources L2 hub — DELTAS layered on the shared free-resources .fr-hub skin
   (free-resources.css). Scoped under body.germany-free-resources so nothing leaks to the
   canonical /free-resources/ hub. Reuses the .fr-hub design tokens (--cta-magenta, --bg-navy,
   --primary-blue, --accent-blue, --text-white, --text-gray, --font-heading, --font-body). */

/* HERO trust metrics (from the live page: 97% / 70% / 4.4) */
body.germany-free-resources .fr-hub .germany-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin: 26px auto 6px;
    max-width: 760px;
}
body.germany-free-resources .fr-hub .germany-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 200px;
}
body.germany-free-resources .fr-hub .gm-num {
    font-family: var(--font-heading);
    font-size: 34px;
    line-height: 40px;
    font-weight: 700;
    color: var(--text-white);
}
body.germany-free-resources .fr-hub .gm-slash { font-size: 20px; font-weight: 600; opacity: .8; }
body.germany-free-resources .fr-hub .gm-label {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--accent-blue);
    max-width: 200px;
}
body.germany-free-resources .fr-hub .fr-hero .btn-magenta { margin-top: 26px; }

/* RESOURCE CARDS — a download button anchored at the card foot */
body.germany-free-resources .fr-hub .germany-res-card { justify-content: space-between; min-height: 190px; }
body.germany-free-resources .fr-hub .germany-dl-btn {
    margin-top: 4px;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--cta-magenta);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}
body.germany-free-resources .fr-hub .germany-dl-btn:hover { background: #a600a6; color: var(--text-white); }

/* Bulk "Download all" button row */
body.germany-free-resources .fr-hub .germany-bulk { text-align: center; margin-top: 32px; }
body.germany-free-resources .fr-hub .germany-bulk .germany-dl-btn { margin-top: 0; padding: 12px 24px; font-size: 16px; border-radius: 10px; }

/* Coming-soon cards — greyed, no hover lift, no button */
body.germany-free-resources .fr-hub .germany-res-card.is-coming-soon { opacity: .6; min-height: 160px; }
body.germany-free-resources .fr-hub .germany-res-card.is-coming-soon:hover { transform: none; border-color: #e5e7f5; }
body.germany-free-resources .fr-hub .germany-res-card.is-coming-soon .fr-card-sub {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 700;
    color: var(--cta-magenta);
}

/* GATE — constrain + center the form; the form itself is skinned by galvanize-forms.css (v4card) */
body.germany-free-resources .fr-hub .germany-gate-wrap { max-width: 620px; margin: 0 auto; }
body.germany-free-resources .fr-hub .germany-gate-form { width: 100%; }

/* On-success download reveal */
body.germany-free-resources .fr-hub .germany-downloads {
    margin-top: 24px;
    padding: 24px 28px;
    background: var(--text-white);
    border: 2px solid #a0aeff;
    border-radius: 16px;
    text-align: left;
}
body.germany-free-resources .fr-hub .germany-downloads h3 {
    font-size: 20px;
    line-height: 28px;
    color: var(--primary-blue);
    margin-bottom: 6px;
}
body.germany-free-resources .fr-hub .germany-downloads-note {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 14px;
}
body.germany-free-resources .fr-hub .germany-downloads-list { list-style: none; margin: 0; padding: 0; }
body.germany-free-resources .fr-hub .germany-downloads-list li { margin: 0 0 8px; }
body.germany-free-resources .fr-hub .germany-download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--cta-magenta);
}
body.germany-free-resources .fr-hub .germany-download-link::before { content: "\2193"; font-weight: 700; }
body.germany-free-resources .fr-hub .germany-download-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
    body.germany-free-resources .fr-hub .germany-metrics { gap: 16px; margin-top: 20px; }
    body.germany-free-resources .fr-hub .germany-metric { flex: 1 1 40%; }
    body.germany-free-resources .fr-hub .gm-num { font-size: 26px; line-height: 32px; }
    body.germany-free-resources .fr-hub .germany-downloads { padding: 18px 18px; }
}
