/* ==========================================================================
   Knowledge That Inspires & Action Showcase Cards (Common Component Styles)
   Figma Nodes: 167:682, 171:837, 171:838
   ========================================================================== */

.gr-inspire-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 30px auto -85px auto;
    padding-left: 82px;
    padding-right: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.gr-inspire-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    margin: 0;
    width: 100%;
}

.gr-inspire-left-col {
    flex: 0 0 32%;
    max-width: 32%;
    min-width: 280px;
    padding-right: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.gr-inspire-cards-col {
    flex: 1 1 68%;
    max-width: 68%;
    display: flex;
    gap: 9px;
    padding-right: 0;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    min-width: 0;
}

.gr-inspire-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Inspire Title (60px, Regular 400, LH 65px, Figma Node 167:682) */
.gr-inspire-title {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: clamp(34px, 3.8vw, 60px);
    font-weight: 400;
    line-height: 1.08;
    color: #1E1E1E;
    letter-spacing: -0.02em;
    margin: 0 0 26px 0;
}

.gr-inspire-title .gr-text-blue {
    color: var(--gr-primary-blue, #2A3EC0);
    display: inline;
}

/* Inspire Subtitle (18px, Regular 400, LH 24px, Figma Node 171:687) */
.gr-inspire-subtitle {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    color: #1E1E1E;
    margin: 0;
    max-width: 380px;
}

/* Showcase Action Cards (528px x 580px, Figma Nodes 171:837 & 171:838) */
.gr-showcase-action-card {
    flex: 1 1 50%;
    max-width: 528px;
    min-width: 0;
    height: 580px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 44px 40px 115px 40px;
    box-sizing: border-box;
    cursor: pointer;
}

.gr-showcase-action-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Specific wide natural framing */
.gr-showcase-card-1 img {
    object-position: 45% 12%;
}

.gr-showcase-card-2 img {
    object-position: 62% 14%;
}

.gr-showcase-action-card:hover img {
    transform: scale(1.04);
}

/* Base Gradient Overlay */
.gr-showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
    transition: background 0.35s ease, opacity 0.35s ease;
}

/* Black Scrim Overlay on Hover */
.gr-showcase-action-card:hover .gr-showcase-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.92) 100%);
}

.gr-showcase-content {
    position: relative;
    z-index: 3;
}

/* Card Titles (40px, Regular 400, LH 43px, Figma Nodes 171:743 & 171:737) */
.gr-showcase-title {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: clamp(26px, 2.6vw, 40px);
    font-weight: 400;
    line-height: 1.08;
    color: #FFFFFF;
    margin: 0 0 24px 0;
    letter-spacing: 0;
    max-width: 408px;
}

/* Outline Buttons (18px, Regular 400, Height 46px, Figma Nodes 171:744 & 171:738) */
.gr-showcase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    height: 46px;
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 0;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.gr-btn-outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}

.gr-btn-outline:hover,
.gr-showcase-action-card:hover .gr-btn-outline {
    background-color: #FFFFFF;
    color: #1E1E1E;
}

/* Responsive Media Queries */
@media (max-width: 1560px) {
    .gr-inspire-wrapper {
        padding-left: 50px;
        padding-right: 0;
    }
}

@media (max-width: 1279px) {
    .gr-inspire-wrapper {
        padding-left: 24px;
        padding-right: 0;
    }
}

@media (max-width: 991px) {
    .gr-inspire-wrapper {
        padding: 0 24px;
        margin-bottom: 0;
    }

    .gr-inspire-left-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
        padding-right: 0;
    }

    .gr-inspire-cards-col {
        flex: 0 0 100%;
        max-width: 100%;
        flex-direction: column;
    }

    .gr-showcase-action-card {
        max-width: 100%;
        height: 420px;
        padding: 30px 24px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .gr-inspire-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gr-showcase-action-card {
        height: 380px;
        padding: 30px 24px;
    }
}
