/* ============================
   DEFAULT BUTTON
============================ */

.jr-button {
    display: inline-flex;
    align-items: stretch;
    padding: 0;
    border: none;
    background: transparent;
    text-decoration: none;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    transition: transform 0.2s ease;
}

.jr-button:hover {
    transform: translateY(-2px);
}

.jr-button .jr-button-text {
    background-color: #248A51;
    color: white;
    padding: 14px 25px 14px 30px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
    font-family: "SF UI Display", sans-serif;
    display: flex;
    align-items: center;

    /* SCSS slant */
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);

    z-index: 1;
    transition: background-color 0.3s ease;
}

.jr-button .jr-button-arrow-container {
    background-color: #1D252C;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* SCSS slant */
    clip-path: polygon(20px 0, calc(100% - 10px) 0, 100% 100%, 0 100%);

    margin-left: -20px;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.jr-button .jr-button-arrow-container .arrow {
    display: inline-block;
    width: 16px;
    height: 16px;
    mask: url("../../../assets/img/arrow_cta.svg") no-repeat center;
    -webkit-mask: url("../../../assets/img/arrow_cta.svg") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    background-color: white;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

/* Hover */
.jr-button:hover .jr-button-text {
    background-color: #1E2C37;
}

.jr-button:hover .jr-button-arrow-container {
    background-color: #1E2C37;
}

.jr-button:hover .jr-button-arrow-container .arrow {
    transform: translateX(3px);
}


/* ============================
   YELLOW BUTTON
============================ */

.jr-button-yellow .jr-button-text {
    background-color: #FFC400;
}


/* ============================
   BIG CTA CARD
============================ */

.jr-cta-card {
    background-color: #3D8B8B;
    padding: 40px 50px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    transition: transform 0.2s ease;
}

.jr-cta-card:hover {
    transform: translateY(-2px);
}

.jr-cta-card .jr-cta-content {
    flex: 1;
    color: white;
}

/* Title — Poppins 40px 400 */
.jr-cta-card .jr-cta-content .jr-cta-title {
    font-family: "Poppins", sans-serif;
    font-size: 40px;
    font-weight: 400;
    margin: 0 0 15px 0;
    color: white;
    line-height: 1.2;
}

/* Description — Poppins 20px 400 */
.jr-cta-card .jr-cta-content .jr-cta-desc {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    color: white;
    opacity: 0.95;
}

.jr-cta-card .jr-cta-button {
    display: none;
}