.resource {
    background-color: #020619;
    position: relative;
    padding-top: 24px;
}

.resource__hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.resource__container {
    position: relative;
    z-index: 2;
}

.resource__main-content {
    display: flex;
    gap: 128px;
    justify-content: space-between;
    padding-top: 0px;
}

.resource__row {
    max-width: 579px;
    width: 100%;
    padding: 0;
}

.resource__row--no-form {
    max-width: 100%;
}

.resource__label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 48px;
}

.resource__label-link {
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
}

.resource__title {
    color: #fff;
    font-weight: 400;
    margin-bottom: 16px;
}

.resource-cta {
    max-width: 554px;
    width: 100%;
    height: fit-content;
    position: sticky;
    top: 104px;
}

.resource-logo-slider {
    padding-top: 80px;
    padding-bottom: 80px;
}

.resource__type-wrapper {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
    background-image: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0)), linear-gradient(to bottom, #101429, #101429);
    border-radius: 24px;
    padding: 4px 16px;
    background: #101429;
    display: inline-block;
    margin-bottom: 16px;
}

.resource__type {
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    background-image: linear-gradient(93deg, #ffdadb 0%, #e2abff 47%, #a0daff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Spline Sans Mono', monospace;
}

.resource-cta__form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 554px;
}

.resource-cta__form-wrapper .hubspot-form-wrapper {
    background: #101429;
    border-radius: 12px;
    padding: 36px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.resource-cta__form-wrapper .hubspot-form-wrapper .hs-form-field label span {
    background-color: transparent !important;
    color: white !important;
}

.resource-cta__form-wrapper .hubspot-form-wrapper__loading-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.resource-cta__form-wrapper .hubspot-form-wrapper__loading {
    color: #fff;
    display: none;
}

.resource__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.resource__hero-image-overlay {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 104px;
    background-image: linear-gradient(to top, #020619 0%, rgba(2, 6, 18, 0) 100%)
}

.resource__thumb {
    margin: 12px 0 36px;
}

.resource__thumb img {
    border-radius: 12px;
}

/* Resource - Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .resource__main-content {
        flex-direction: column;
        gap: 56px;
    }

    .resource__row {
        max-width: 100%;
    }

    .resource-cta {
        max-width: 100%;
        min-width: 0;
    }

    .resource-cta__form-wrapper {
        max-width: 100%;
    }

    .resource-logo-slider {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

/* Resource - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .resource {
        padding-top: 16px;
    }

    .resource__label {
        margin-bottom: 32px;
        flex-wrap: wrap;
    }

    .resource__title {
        margin-bottom: 12px;
    }

    .resource__main-content {
        gap: 40px;
    }

    .resource__type-wrapper {
        padding: 4px 12px;
    }

    .resource__type {
        font-size: 14px;
    }

    .resource-cta__form-wrapper .hubspot-form-wrapper {
        padding: 32px 24px;
    }

    .resource-logo-slider {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}