/* Resources landing page — Figma nodes 5113:59869 and 5113:60144. */
.resources-page {
    --resources-ink: #343a40;
    --resources-blue: #1e40af;
    --resources-copy: #364969;
    --resources-muted: #656971;
}

/* Keep the shared product hero intact for all product routes; these values only
   refine the Resources instance to the Figma type scale and vertical rhythm. */
.resources-page .common-product-hero-surface {
    padding-top: 149px !important;
    background:
        radial-gradient(circle at 75% 4%, #e9e5ff 0, rgba(233, 229, 255, .44) 25%, transparent 51%),
        radial-gradient(circle at 8% 15%, #fff1e9 0, rgba(255, 241, 233, .54) 29%, transparent 53%),
        #fff !important;
}

.resources-page .common-product-hero {
    max-width: 960px;
}

.resources-page .common-product-hero .common-product-hero-tag {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.resources-page .common-product-hero .common-product-hero-tag span {
    font-size: 18px;
}

.resources-page .common-product-hero h1 {
    font-size: 62px;
    font-weight: 700;
    line-height: 70px;
    letter-spacing: -.02em;
}

.resources-page .common-product-hero-description {
    max-width: 900px;
    margin: 30px auto 38px;
    font-size: 20px;
    font-weight: 500;
    line-height: 36px;
}

.resources-page .new-calculate-section {
    padding: 100px 0;
    background: #f7f9fd;
}

.resources-page .new-calculate-section .container,
.resources-page .new-resorucesection .container,
.resources-page .new-rvideosction .container {
    max-width: 1440px;
}

.resources-page .calc-header {
    margin-bottom: 30px;
}

.resources-page .calc-title {
    margin: 0;
    font-size: 46px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.resources-page .calc-subtitle {
    margin-top: 15px;
    font-size: 18px;
    line-height: 24px;
}

.resources-page .calc-card {
    min-height: 336px;
    padding: 41px;
    border-color: #e1e6f4;
    border-radius: 24px;
    box-shadow: none;
    transform: none;
}

.resources-page .calc-card:hover,
.resources-page .calc-card:focus-within {
    border-color: #60a5fa;
    box-shadow: 0 0 15.3px rgba(24, 72, 212, .10);
    transform: translateY(-2px);
}

.resources-page .calc-card-icon {
    margin-bottom: 24px;
}

.resources-page .calc-card-icon img {
    width: 60px;
}

.resources-page .calc-card-title {
    margin-bottom: 15px;
    font-size: 22px;
    line-height: 30px;
}

.resources-page .calc-card-desc {
    font-size: 16px;
    line-height: 24px;
}

.resources-page .calc-card-link {
    margin-top: 15px;
    font-size: 18px;
    line-height: 24px;
}

.resources-page .calc-card-link .link-arrow {
    width: 24px;
    height: 24px;
    opacity: 1;
    transform: none;
}

.resources-page .hrms-buying-herosection {
    padding: 100px 0;
}

.resources-page .hrms-buying-herosection .container {
    max-width: 1320px;
}

.resources-page .setu-guide-content {
    max-width: 567px;
    padding-right: 0;
}

.resources-page .setu-guide-content h3 {
    margin: 0 0 30px;
    font-size: 46px;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: -.02em !important;
}

.resources-page .setu-guide-content p {
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.resources-page .setu-guide-content .btn {
    min-height: 52px;
    padding: 14px 30px !important;
    border: 0;
    background: var(--resources-blue);
    color: #fff;
    font: 500 16px/24px 'Plus Jakarta Sans', sans-serif;
}

.resources-page .setu-resource-image-wrap,
.resources-page .setu-tool-resource-img {
    border-radius: 20px;
}

.resources-page .setu-tool-resource-img {
    margin-left: 0;
}

.resources-page .setu-book-btn {
    left: 30px;
    bottom: 30px;
    width: auto;
    min-width: 105px;
    height: 40px;
    margin-left: 0;
    font-size: 13px;
}

.resources-page .setu-book-btn span {
    font-size: 13px;
}

.resources-page .new-resorucesection,
.resources-page .new-rvideosction {
    padding: 100px 0 !important;
}

.resources-page .new-resorucesection .section-header {
    margin-bottom: 48px;
}

.resources-page .new-resorucesection .section-main-title,
.resources-page .new-rvideosction h2 {
    margin: 0;
    font-size: 46px;
    line-height: 60px;
    letter-spacing: -.02em;
}

.resources-page .new-resorucesection .section-subtitle,
.resources-page .new-rvideosction .headingpara {
    margin: 15px auto 0;
    color: var(--resources-muted);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    text-align: center !important;
}

.resources-page .handbook-row {
    margin-top: 0;
}

.resources-page .handbook-card,
.resources-page .video-card,
.resources-page .video-card-img {
    height: 463px;
}

.resources-page .handbook-card {
    border-radius: 12px;
}

.resources-page .new-resorucesection .card-content,
.resources-page .video-card-content {
    padding: 30px;
}

.resources-page .card-content .handbook-card-title,
.resources-page .video-bottom h3 {
    margin-bottom: 15px;
    font-size: 22px;
    line-height: 30px;
}

.resources-page .new-resorucesection .card-content p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 24px;
}

.resources-page .card-content .link-text,
.resources-page .video-bottom span {
    font-size: 18px;
    line-height: 24px;
}

.resources-page .video-resource-row {
    margin-top: 60px !important;
}

@media (max-width: 1439px) {
    .resources-page .new-calculate-section .container,
    .resources-page .new-resorucesection .container,
    .resources-page .new-rvideosction .container,
    .resources-page .hrms-buying-herosection .container {
        max-width: 1320px;
    }
}

@media (max-width: 991px) {
    .resources-page .new-calculate-section .container,
    .resources-page .new-resorucesection .container,
    .resources-page .new-rvideosction .container,
    .resources-page .hrms-buying-herosection .container {
        max-width: 960px;
    }

    .resources-page .calc-card {
        min-height: 100%;
        padding: 30px;
    }

    .resources-page .setu-guide-content h3 {
        font-size: 38px;
        line-height: 50px;
    }

    .resources-page .handbook-card,
    .resources-page .video-card,
    .resources-page .video-card-img {
        height: 390px;
    }
}

@media (max-width: 767px) {
    .resources-page .common-product-hero-surface {
        padding: 92px 0 32px !important;
    }

    .resources-page .common-product-hero .common-product-hero-tag {
        margin-bottom: 15px;
        font-size: 13px;
        line-height: 18px;
    }

    .resources-page .common-product-hero .common-product-hero-tag span {
        font-size: 13px;
    }

    .resources-page .common-product-hero h1 {
        font-size: 40px;
        line-height: 48px;
        letter-spacing: -.03em;
    }

    .resources-page .common-product-hero-description {
        margin: 22px auto 28px;
        font-size: 16px;
        line-height: 24px;
    }

    .resources-page .new-calculate-section,
    .resources-page .hrms-buying-herosection,
    .resources-page .new-resorucesection,
    .resources-page .new-rvideosction {
        padding: 64px 0 !important;
    }

    .resources-page .new-calculate-section .container,
    .resources-page .new-resorucesection .container,
    .resources-page .new-rvideosction .container,
    .resources-page .hrms-buying-herosection .container {
        max-width: none;
    }

    .resources-page .calc-header {
        margin-bottom: 28px;
    }

    .resources-page .calc-title,
    .resources-page .new-resorucesection .section-main-title,
    .resources-page .new-rvideosction h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .resources-page .calc-subtitle,
    .resources-page .new-resorucesection .section-subtitle,
    .resources-page .new-rvideosction .headingpara {
        font-size: 16px;
        line-height: 24px;
    }

    .resources-page .calc-cards-row {
        row-gap: 16px;
    }

    .resources-page .calc-card {
        min-height: 0;
        padding: 28px;
    }

    .resources-page .calc-col,
    .resources-page .handbook-row > [class*="col-"],
    .resources-page .video-resource-row > [class*="col-"] {
        width: 100%;
    }

    .resources-page .calc-card {
        margin-top: 0;
    }

    .resources-page .setu-resource-hero {
        row-gap: 36px;
    }

    .resources-page .setu-guide-content h3 {
        margin-bottom: 18px;
        font-size: 32px !important;
        line-height: 40px;
    }

    .resources-page .setu-guide-content p {
        margin-bottom: 24px;
        font-size: 16px !important;
        line-height: 24px;
    }

    .resources-page .setu-resource-image-wrap {
        width: 100%;
    }

    .resources-page .setu-tool-resource-img {
        max-width: none !important;
    }

    .resources-page .new-resorucesection .section-header {
        margin-bottom: 30px;
    }

    .resources-page .handbook-row,
    .resources-page .video-resource-row {
        row-gap: 16px;
    }

    .resources-page .handbook-card,
    .resources-page .video-card,
    .resources-page .video-card-img {
        height: 360px;
        max-width: none;
    }

    .resources-page .video-resource-row {
        margin-top: 30px !important;
    }

    .resources-page .video-bottom h3 {
        margin-top: 0;
    }
}
