/* Resource page — IL-style hero shell with gated download form */

.resource-hero-banner {
    padding-top: 30px;
    padding-bottom: 90px;
}

.resource-hero-banner .container-fluid {
    max-width: 1395px;
}

.resource-hero-banner__content h1 {
    margin-bottom: 18px;
}

.resource-hero-banner__subtitle {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    padding-right: 0 !important;
}

.resource-hero-banner__description {
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: #606060;
    padding-right: 0 !important;
}

.resource-hero-banner__trust {
    margin: 0;
    padding-right: 0;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.resource-hero-banner__trust i {
    color: var(--mainTextColor, #fe4a55);
    font-size: 18px;
}

/* Form card */
.resource-form-card {
    background: #fff;
    color: #212529;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 39, 68, 0.12);
    border: 1px solid rgba(15, 39, 68, 0.06);
}

.resource-form-card__cover {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: #f0f3f6;
}

.resource-form-card__cover img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.resource-form-card__body {
    padding: 1rem 1.15rem 1.15rem;
}

.resource-form-card__heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #222;
}

.resource-form-card .form-control {
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
}

.resource-form-card__captcha {
    transform: scale(0.88);
    transform-origin: left top;
    height: 70px;
    overflow: hidden;
}

.resource-form-card__submit {
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

/* Body content below hero */
.resource-body {
    padding: 3rem 0 4rem;
    background: #f5f7fa;
}

.resource-body__content {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem 1.75rem;
    border-radius: 8px;
    line-height: 1.7;
}

.resource-body__content img {
    max-width: 100%;
    height: auto;
}

.resource-download-error {
    padding: 5rem 0;
    background: #f7f9fb;
    min-height: 50vh;
}

.resource-download-error__card {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.resource-download-error__card h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.resource-download-error__card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .resource-hero-banner {
        padding-top: 50px;
        padding-bottom: 80px;
    }

    .resource-hero-banner__content {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .resource-hero-banner__description {
        margin-left: auto;
        margin-right: auto;
    }

    .resource-hero-banner__trust {
        justify-content: center;
    }

    .resource-form-card__cover {
        /* max-height: 96px; */
    }

    .resource-form-card__cover img {
        height: auto;
    }

    .resource-form-card__captcha {
        transform-origin: center top;
    }
}

@media (max-width: 767.98px) {
    .resource-hero-banner {
        padding-bottom: 70px;
    }

    .resource-form-card__body {
        padding: 0.9rem 1rem 1.05rem;
    }
}
