/* ═══════════════════════════════════════════
   RL Roles Carousel
   ═══════════════════════════════════════════ */

.rl-roles-section {
    padding: 120px 0;
    overflow: hidden;
}

.rl-roles-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
}

/* ── Sidebar ── */
.rl-roles-sidebar {
    flex: 0 0 280px;
    position: relative;
    z-index: 5;
}

.rl-roles-headline {
    font-family: 'Inter Display', sans-serif ;
    font-size: 48px ;
    font-weight: 600 ;
    line-height: 1.05;
    margin-bottom: 50px;
    color: #000000;
}

.rl-roles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rl-roles-list-item {
    font-family: 'Inter Display', sans-serif;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 0;
    color: #000000;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rl-roles-list-item:hover,
.rl-roles-list-item.is-active {
    opacity: 1;
    font-weight: 700;
}

/* ── Carousel Wrapper ── */
.rl-roles-carousel-wrapper {
    flex: 1;
    min-width: 0;
    /* Clip left, but extend right past the page edge */
    overflow: hidden;
    margin-right: calc(-50vw + 50%); /* extend to viewport edge */
    padding-right: calc(50vw - 50%); /* restore internal spacing */
}

.rl-roles-carousel {
    margin: 0;
}

.rl-roles-carousel .slick-list {
    overflow: visible !important;
}

.rl-roles-carousel .slick-track {
    display: flex;
}

.rl-role-slide {
    padding: 0 15px;
    outline: none;
}

.rl-role-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 20px;
    display: flex;
    gap: 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    height: 100%;
    min-height: 480px;
}

.rl-role-card__image-box {
    flex: 0 0 42%;
    background: #D4C9FB;
    border-radius: 24px;
    overflow: hidden;
}

.rl-role-card__image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rl-role-card__content {
    flex: 1;
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
}

.rl-role-card__title {
    font-family: 'Inter Display', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.05;
    color: #000;
}

.rl-role-card__desc {
    font-family: 'Inter Display', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 20px;
}

.rl-role-card__tasks {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.rl-role-card__tasks li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-family: 'Inter Display', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.rl-role-card__tasks li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.rl-role-card__cta {
    margin-top: auto;
    width: fit-content;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 22px 16px 32px;
    background: #000000;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.rl-role-card__cta:hover {
    transform: scale(1.02);
    background: #1a1a1a;
    color: #ffffff !important;
}

.rl-role-card__cta .rl-cta-arrow {
    background: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rl-role-card__cta .rl-cta-arrow svg {
    width: 16px;
    height: 16px;
    color: #000000;
    fill: #000000;
}

/* ── Navigation ── */
.rl-roles-nav {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.rl-roles-arrows {
    display: flex;
    gap: 12px;
}

.rl-roles-arrow {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.rl-roles-arrow:hover {
    opacity: 0.7;
}

.rl-roles-progress-container {
    flex: 0 0 300px;
    height: 4px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    position: relative;
}

.rl-roles-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #000000;
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Responsive – Carousel */
@media (max-width: 1200px) {
    .layout-carousel .rl-roles-container { gap: 40px; flex-direction: column; }
    .layout-carousel .rl-roles-sidebar { flex: 0 0 auto; }
}

@media (max-width: 768px) {
    .rl-roles-section { padding: 80px 0; }
    .layout-carousel .rl-role-card { flex-direction: column; height: auto; min-height: auto; }
    .layout-carousel .rl-role-card__image-box { aspect-ratio: 1/1; }
    .layout-carousel .rl-role-card__content { padding: 10px 0; }
    .layout-carousel .rl-role-card__title { font-size: 32px; }
    .rl-roles-headline,
    .rl-roles-grid-headline { font-size: 48px ; }
}


/* ═══════════════════════════════════════════
   RL Roles Grid Layout
   ═══════════════════════════════════════════ */

.rl-roles-grid-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

.rl-roles-grid-headline {
    font-family: 'Inter Display', sans-serif ;
    font-size: 48px ;
    font-weight: 600 ;
    line-height: 1.05;
    margin-bottom: 60px;
    color: #000000;
}

.rl-roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* ── Grid Card ── */
.rl-roles-grid-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.rl-roles-grid-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* ── Photo ── */
.rl-roles-grid-card__photo {
    position: relative;
    overflow: hidden;
    background: #D4C9FB;
}

.rl-roles-grid-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Info ── */
.rl-roles-grid-card__info {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.rl-roles-grid-card__title {
    font-family: 'Inter Display', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 12px 0;
    color: #000;
}

.rl-roles-grid-card__price {
    display: inline-block;
    background: #E9EDFB;
    color: #3a3a8a;
    font-family: 'Inter Display', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    width: fit-content;
}

.rl-roles-grid-card__desc {
    font-family: 'Inter Display', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

.rl-roles-grid-card__tasks {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.rl-roles-grid-card__tasks li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
    font-family: 'Inter Display', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}

.rl-roles-grid-card__tasks li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ── Tools ── */
.rl-roles-grid-card__tools {
    margin-top: auto;
    margin-bottom: 20px;
}

.rl-roles-grid-card__tools-label {
    display: block;
    font-family: 'Inter Display', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.rl-roles-grid-card__tools-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.rl-roles-grid-card__tool-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.rl-roles-grid-card__tool-logo:hover {
    opacity: 1;
}

/* ── CTA ── */
.rl-roles-grid-card__cta {
    display: inline-flex !important;
    align-items: center;
    gap: 16px;
    padding: 14px 20px 14px 28px;
    background: #000;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    font-family: 'Inter Display', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    transition: all 0.3s ease;
}

.rl-roles-grid-card__cta:hover {
    background: #1a1a1a;
    transform: scale(1.02);
    color: #fff !important;
}

.rl-roles-grid-card__cta .rl-cta-arrow {
    background: #ffffff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rl-roles-grid-card__cta .rl-cta-arrow svg {
    width: 14px;
    height: 14px;
    color: #000;
    fill: #000;
}

/* ── Grid Responsive ── */
@media (max-width: 1100px) {
    .rl-roles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rl-roles-grid-card {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .rl-roles-grid-headline {
        font-size: 48px ;
    }

    .rl-roles-grid-card {
        grid-template-columns: 1fr;
    }

    .rl-roles-grid-card__photo {
        aspect-ratio: 4/3;
    }

    .rl-roles-grid-card__title {
        font-size: 24px;
    }
}
