/* HEADER */
nav.rcg-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    box-shadow: none;
    z-index: 9999;
}

nav.rcg-header .rcg-header-inner {
    width: 100%;
    height: 80px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-sizing: border-box;
}

.rcg-logo img {
    height: 42px;
    width: auto;
    display: block;
}
.rcg-menu-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rcg-arrow {
    display: inline-flex;
    align-items: center;
    color: currentColor;
}
/* Ascunde Home / Acasă din meniul principal */
.rcg-menu-list .rcg-menu-item:has(.rcg-menu-link[title="Home"]),
.rcg-menu-list .rcg-menu-item:has(.rcg-menu-link[title="Acasă"]) {
    display: none !important;
}
/* Hide Moodle auto Categories item */
.rcg-menu-list a[href*="/course/index.php"],
.rcg-menu-list a[href*="/course/index.php"],
.rcg-menu-list a[href*="/course/categories.php"] {
    display: none !important;
}

.rcg-menu-list li:has(a[href*="/course/index.php"]),
.rcg-menu-list li:has(a[href*="/course/categories.php"]) {
    display: none !important;
}

/* MENU */
.rcg-main-menu {
    flex: 1;
    overflow: visible !important;
}
/* MENU - fără overflow în "..." */
.rcg-main-menu .moremenu {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
}

.rcg-main-menu .moremenu > .navbar-nav {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 32px !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
}

.rcg-main-menu .moremenu .dropdown.moremenu {
    display: none !important;
}

.rcg-main-menu .moremenu .nav-item {
    display: flex !important;
    position: relative !important;
    flex: 0 0 auto !important;
}

.rcg-main-menu .nav-link {
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    white-space: nowrap !important;
}

.rcg-main-menu .nav-link:hover,
.rcg-main-menu .nav-link.active,
.rcg-main-menu .active > .nav-link {
    color: #058BC5 !important;
}
.rcg-menu-list > li:first-child {
    display: none !important;
}
/* DROPDOWN */
.rcg-main-menu .nav-item.dropdown {
    position: relative !important;
}

.rcg-main-menu .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    min-width: 240px !important;
    padding: 10px 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.12) !important;
    z-index: 99999 !important;
}

/* bridge invizibil între link și dropdown */
.rcg-main-menu .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

/* deschide și pe hover, și pe click */
.rcg-main-menu .nav-item.dropdown:hover > .dropdown-menu,
.rcg-main-menu .nav-item.dropdown.show > .dropdown-menu,
.rcg-main-menu .dropdown-menu.show {
    display: block !important;
}

.rcg-main-menu .dropdown-menu a,
.rcg-main-menu .dropdown-item {
    display: block !important;
    padding: 12px 20px !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    background: transparent !important;
}

.rcg-main-menu .dropdown-menu a:hover,
.rcg-main-menu .dropdown-item:hover {
    color: #058BC5 !important;
    background: rgba(5,139,197,.08) !important;
}
.rcg-menu-list {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rcg-menu-item {
    position: relative;
    list-style: none;
}

.rcg-menu-link {
    color: #111 !important;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
}

.rcg-menu-item.active > .rcg-menu-link,
.rcg-menu-link:hover {
    color: #058BC5 !important;
}

.rcg-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: -18px;
    min-width: 280px;
    padding: 5px;
    margin: 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    z-index: 99999;
}

.rcg-dropdown::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    right: 0;
    height: 22px;
}

.rcg-menu-item.has-dropdown:hover .rcg-dropdown {
    display: block;
}

.rcg-dropdown li {
    list-style: none;
    margin: 0;
}

.rcg-dropdown a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    color: #182033 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all .18s ease;
}

.rcg-dropdown a:hover,
.rcg-dropdown li.active a {
    color: #058BC5 !important;
    background: rgba(5,139,197,.09);
}

/* RIGHT SIDE */
.rcg-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

/* LANGUAGE */
.rcg-lang .dropdown-toggle,
.rcg-lang a {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-transform: uppercase;
    padding: 0 !important;
}

.rcg-lang .dropdown-toggle:hover {
    color: #058BC5 !important;
}


/* BUTTONS */
.rcg-btn {
    height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1;
}

.rcg-btn-signup {
    background: #058BC5;
    border: 2px solid #058BC5;
    color: #fff !important;
}

.rcg-btn-login {
    background: #fff;
    border: 2px solid #058BC5;
    color: #058BC5 !important;
}

.rcg-btn-signup:hover {
    background: #0479ad;
    border-color: #0479ad;
}

.rcg-btn-login:hover {
    background: rgba(5,139,197,.08);
}

/* =========================================================
   RCG Academy - Popular Courses Section
   ========================================================= */

.rcg-popular-courses {
    max-width: 1920px;
    min-height: 1121px;
    margin: 0 auto;
    padding: 80px 0;
    background: #ffffff;
}

.rcg-popular-header {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

.rcg-popular-title {
    margin: 0 0 12px;
    color: #000000;
    font-family: Inter, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-align: center;
}

.rcg-popular-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0;
    text-align: center;
}

/* Grid */
.rcg-courses-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 342px);
    justify-content: center;
    gap: 80px 24px;
}

/* Card */
.rcg-course-card {
    position: relative;
    width: 342px;
    height: 661px;
    min-height: 661px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #ebe7e0;
    border-radius: 12px;
}

.rcg-course-card:first-child {
    border-color: #ffb900;
}

.rcg-course-card:nth-child(2) {
    border-color: #058bc5;
}

/* Image */
.rcg-course-image {
    position: relative;
    width: 342px;
    height: 280px;
    min-height: 280px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rcg-course-image-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Gold badge - only first card */
.rcg-course-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    right: auto;
    bottom: auto;
    width: 138px;
    height: 32px;
    min-height: 32px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    background: #ffb900;
    color: #000000;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 4;
}

.rcg-course-card:not(:first-child) .rcg-course-badge {
    display: none !important;
}

/* Category pill */
.rcg-course-category {
    position: absolute;
    right: 16px;
    bottom: 16px;
    top: auto;
    left: auto;
    width: auto;
    max-width: calc(100% - 32px);
    height: 28px;
    min-height: 28px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #016691;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 3;
}

/* Trainer strip */
.rcg-course-teacher {
    width: 342px;
    height: 57px;
    min-height: 57px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f2f5f7;
    color: #101828;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 100%;
}

.rcg-course-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* Body */
.rcg-course-body {
    width: 342px;
    height: 324px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Fixed title area, so cards align */
.rcg-course-title {
    display: block;
    min-height: 76px;
    max-height: 76px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #101828;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 140%;
    letter-spacing: 0;
    text-decoration: none;
}

.rcg-course-title:hover {
    color: #058bc5;
    text-decoration: none;
}

/* Fixed summary area, so bottom aligns */
.rcg-course-summary {
    height: auto;
    max-height: none;
    margin-bottom: 16px;
    overflow: visible;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
}

/* Bottom block pinned to bottom */
.rcg-course-bottom {
    margin-top: auto;
}

/* Meta area */
.rcg-course-meta {
    width: 294px;
    min-height: 32px;
    margin: 0;
    padding: 9px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 8px;
    border-top: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
}

.rcg-course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0;
    white-space: nowrap;
}

.rcg-course-meta-item i {
    font-size: 12px;
    line-height: 1;
}

/* Fallback daca mai exista rcg-course-price in template */
.rcg-course-price {
    width: 294px;
    min-height: 32px;
    margin: 0;
    padding: 9px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0;
    white-space: nowrap;
}

.rcg-course-price i {
    margin-right: 6px;
    font-size: 12px;
    line-height: 1;
}

/* Button area */
.rcg-course-actions {
    margin-top: 24px;
    padding: 0;
}

/* Course buttons */
.rcg-course-btn,
.btn.btn-primary.rcg-course-btn,
.btn.btn-secondary.rcg-course-btn {
    width: 218px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #058bc5;
    border-radius: 999px;
    background: #ffffff;
    color: #058bc5;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
}

.rcg-course-card:nth-child(2) .rcg-course-btn,
.rcg-course-card:nth-child(2) .btn.btn-primary.rcg-course-btn {
    background: #058bc5;
    color: #ffffff;
}

.rcg-course-btn:hover,
.btn.btn-primary.rcg-course-btn:hover,
.btn.btn-secondary.rcg-course-btn:hover {
    background: #058bc5;
    color: #ffffff;
    border-color: #058bc5;
    text-decoration: none;
}

/* Footer button */
.rcg-popular-footer {
    margin-top: 56px;
    text-align: center;
}

.rcg-view-all-btn,
.btn.btn-primary.rcg-view-all-btn,
.btn.btn-secondary.rcg-view-all-btn {
    min-width: 218px;
    height: 54px;
    min-height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #058bc5;
    border-radius: 999px;
    background: #058bc5;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
}

.rcg-view-all-btn:hover,
.btn.btn-primary.rcg-view-all-btn:hover,
.btn.btn-secondary.rcg-view-all-btn:hover {
    background: #047caf;
    border-color: #047caf;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1439px) {
    .rcg-courses-grid {
        grid-template-columns: repeat(2, 342px);
    }
}

@media (max-width: 767px) {
    .rcg-popular-courses {
        min-height: auto;
        padding: 48px 16px;
    }

    .rcg-popular-header {
        margin-bottom: 40px;
    }

    .rcg-popular-title {
        font-size: 32px;
    }

    .rcg-popular-subtitle {
        font-size: 15px;
    }

    .rcg-courses-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .rcg-course-card {
        width: 100%;
        max-width: 342px;
        height: auto;
        min-height: 661px;
        margin: 0 auto;
    }

    .rcg-course-image,
    .rcg-course-teacher,
    .rcg-course-body {
        width: 100%;
    }

    .rcg-course-meta,
    .rcg-course-price {
        width: 100%;
    }
}

/* =========================================================
   RCG Academy - Course Categories Section
   ========================================================= */

   .rcg-categories {
    width: 100%;
    max-width: 1920px;
    min-height: 900px;
    margin: 0 auto;
    padding: 72px 0 92px;
    background: #eaf8fd;
}

.rcg-categories-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.rcg-categories-hero {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.rcg-categories-title {
    margin: 0 0 12px;
    color: #000000;
    font-family: Inter, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-align: center;
}

.rcg-categories-subtitle {
    margin: 0;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0;
    text-align: center;
}

/* Category bar */

.rcg-categories-categorybar {
    max-width: 1440px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rcg-categories-chips {
    max-width: 1290px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.rcg-categories-chip {
    height: 40px;
    min-height: 40px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #016691;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.rcg-categories-chip:hover,
.rcg-categories-chip.is-active {
    background: #ffffff;
    color: #016691;
}

/* Arrows */

.rcg-categories-arrow,
.rcg-categories-slider-arrow {
    width: 64px;
    height: 64px;
    min-width: 64px;
    padding: 8px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rcg-categories-arrow span,
.rcg-categories-slider-arrow span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: #006591;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(16, 24, 40, 0.14);
}

.rcg-categories-arrow svg,
.rcg-categories-slider-arrow svg {
    width: 8px;
    height: 16px;
    display: block;
}

.rcg-categories-slider-arrow.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* Panels */

.rcg-categories-panel {
    display: none;
}

.rcg-categories-panel.is-active {
    display: block;
}

.rcg-categories-empty {
    text-align: center;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 16px;
}

/* Carousel */

.rcg-categories-slider {
    max-width: 1440px;
    margin: 0 auto;
}

.rcg-categories-viewport {
    width: calc((342px * 4) + (24px * 3)) !important;
    max-width: calc((342px * 4) + (24px * 3)) !important;
    overflow: hidden !important;
    margin: 0 auto !important;
}

.rcg-categories-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    justify-content: flex-start !important;
    transition: transform 0.28s ease;
    will-change: transform;
}

.rcg-categories-slide {
    flex: 0 0 342px !important;
    flex-basis: 342px !important;
    width: 342px !important;
    min-width: 342px !important;
    max-width: 342px !important;
}

/* Card */

.rcg-cat-card {
    position: relative;
    width: 342px !important;
    min-width: 342px !important;
    max-width: 342px !important;
    height: 661px;
    min-height: 661px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #ebe7e0;
    border-radius: 12px;
}

.rcg-cat-image {
    position: relative;
    width: 342px;
    height: 280px;
    min-height: 280px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rcg-cat-image-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.rcg-cat-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: calc(100% - 32px);
    height: 28px;
    min-height: 28px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #016691;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 3;
}

/* Teacher */

.rcg-cat-teacher {
    width: 342px;
    height: 57px;
    min-height: 57px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f2f5f7;
    color: #101828;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 100%;
    overflow: hidden;
}

.rcg-cat-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.rcg-cat-teacher-name {
    display: block;
    max-width: 250px;
    color: #101828;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Body */

.rcg-cat-body {
    width: 342px;
    height: 324px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rcg-cat-title {
    display: block;
    min-height: 76px;
    max-height: 76px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #101828;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 140%;
    letter-spacing: 0;
    text-decoration: none;
}

.rcg-cat-title:hover {
    color: #058bc5;
    text-decoration: none;
}

.rcg-cat-description {
    height: 84px;
    margin: 0 0 16px;
    overflow: hidden;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0;
}

.rcg-cat-bottom {
    margin-top: auto;
}

/* Price */

.rcg-cat-meta {
    width: 294px;
    min-height: 32px;
    margin: 0;
    padding: 9px 0;
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
}

.rcg-cat-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0;
    white-space: nowrap;
}

.rcg-cat-meta-item i {
    font-size: 12px;
    line-height: 1;
}

/* Button */

.rcg-cat-actions {
    margin-top: 24px;
    padding: 0;
}

.rcg-cat-button,
.btn.btn-primary.rcg-cat-button,
.btn.btn-secondary.rcg-cat-button {
    width: 218px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #058bc5;
    border-radius: 999px;
    background: #ffffff;
    color: #058bc5;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
}

.rcg-cat-button:hover,
.btn.btn-primary.rcg-cat-button:hover,
.btn.btn-secondary.rcg-cat-button:hover {
    background: #058bc5;
    color: #ffffff;
    border-color: #058bc5;
    text-decoration: none;
}

/* Bottom carousel nav */

.rcg-categories-bottom-nav {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rcg-categories-bottom-nav .rcg-categories-slider-arrow {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
}

.rcg-categories-bottom-nav .rcg-categories-slider-arrow span {
    width: 40px;
    height: 40px;
}

.rcg-categories-bottom-nav .rcg-categories-slider-arrow svg {
    width: 7px;
    height: 14px;
}

/* Responsive */

@media (max-width: 1439px) {
    .rcg-categories-inner {
        padding: 0 24px;
    }

    .rcg-categories-viewport {
        width: calc((342px * 2) + 24px) !important;
        max-width: calc((342px * 2) + 24px) !important;
    }
}

@media (max-width: 767px) {
    .rcg-categories {
        min-height: auto;
        padding: 56px 16px 80px;
    }

    .rcg-categories-inner {
        padding: 0;
    }

    .rcg-categories-hero {
        margin-bottom: 32px;
    }

    .rcg-categories-title {
        font-size: 32px;
    }

    .rcg-categories-subtitle {
        font-size: 15px;
    }

    .rcg-categories-categorybar {
        justify-content: flex-start;
    }

    .rcg-categories-chips {
        overflow-x: auto;
        justify-content: flex-start;
        max-width: calc(100% - 148px);
        padding-bottom: 4px;
    }

    .rcg-categories-chip {
        height: 36px;
        min-height: 36px;
        padding: 0 18px;
        font-size: 13px;
    }

    .rcg-categories-viewport {
        width: 342px !important;
        max-width: 342px !important;
    }

    .rcg-categories-slide,
    .rcg-cat-card {
        width: 342px !important;
        min-width: 342px !important;
        max-width: 342px !important;
        flex-basis: 342px !important;
    }
}

.rcg-original-products-nav-fallback {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

/* =========================================================
   RCG Academy - TrainerPro Section
   ========================================================= */

   .rcg-trainers-section {
    width: 100%;
    max-width: 1920px;
    min-height: 1112px;
    margin: 0 auto;
    padding: 80px 0;
    background: #ffffff;
}

.rcg-trainers-inner {
    max-width: 1440px;
    min-height: 952px;
    margin: 0 auto;
}

/* Heading */
.rcg-trainers-heading {
    width: 100%;
    height: 112px;
    margin: 0 auto 48px;
    text-align: center;
}

.rcg-trainers-heading-title {
    margin: 0 0 12px;
    color: #000000;
    font-family: Inter, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-align: center;
}

.rcg-trainers-heading-subtitle {
    margin: 0;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-align: center;
}

.rcg-trainers-filterbar {
    max-width: 1440px;
    margin: 0 auto 32px;
}

.rcg-trainers-cards-wrap {
    width: 100%;
    min-height: 690px;
}

.rcg-trainers-empty {
    max-width: 1440px;
    margin: 0 auto;
}

/* Grid */
.rcg-trainers-grid {
    width: calc((342px * 4) + (24px * 3));
    max-width: 1440px;
    min-height: 690px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 342px);
    gap: 24px;
    justify-content: center;
}

/* Carousel */
.rcg-trainers-slider-wrap {
    width: 100%;
    max-width: 1440px;
    min-height: 690px;
    margin: 0 auto;
}

.rcg-trainers-slider-viewport {
    width: calc((342px * 4) + (24px * 3));
    max-width: calc((342px * 4) + (24px * 3));
    overflow: hidden;
    margin: 0 auto;
}

.rcg-trainers-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    justify-content: flex-start;
    transition: transform 0.28s ease;
    will-change: transform;
}

.rcg-trainers-slide {
    flex: 0 0 342px;
    width: 342px;
    min-width: 342px;
    max-width: 342px;
}

/* Card */
.rcg-trainer-card {
    width: 342px;
    height: 690px;
    min-height: 690px;
    background: #ffffff;
    border: 2px solid #ebe7e0;
    border-radius: 12px;
    overflow: hidden;
}

.rcg-trainer-card-inner {
    width: 100%;
    height: 100%;
    padding: 52px 36px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rcg-trainer-photo-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto 28px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 160px;
}

.rcg-trainer-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Name */
.rcg-trainer-name {
    width: 100%;
    min-height: 38px;
    max-height: 38px;
    margin: 0 0 4px;
    overflow: hidden;
    color: #101828;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-align: center;
}

/* Professional title - always rendered */
.rcg-trainer-title {
    width: 100%;
    min-height: 45px;
    max-height: 45px;
    margin: 0 0 24px;
    overflow: hidden;
    color: #058bc5;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-align: center;
}

/* Bio - fixed area so it never goes under button */
.rcg-trainer-bio {
    width: 100%;
    height: 154px;
    max-height: 154px;
    margin: 0 0 24px;
    overflow: hidden;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-align: center;
}

/* Rating */
.rcg-trainer-rating {
    min-height: 20px;
    margin: 0 0 12px;
    color: #ffb900;
    font-family: Inter, sans-serif;
    font-size: 14px;
}

/* Profile button */
.rcg-trainer-profilebtn,
.btn.btn-primary.rcg-trainer-profilebtn,
.btn.btn-secondary.rcg-trainer-profilebtn,
.btn.btn-outline-primary.rcg-trainer-profilebtn {
    width: 166px;
    height: 54px;
    min-height: 54px;
    margin: 0 0 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #058bc5;
    border-radius: 999px;
    background: #ffffff;
    color: #058bc5;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
    flex: 0 0 54px;
}

.rcg-trainer-profilebtn:hover,
.btn.btn-primary.rcg-trainer-profilebtn:hover,
.btn.btn-secondary.rcg-trainer-profilebtn:hover,
.btn.btn-outline-primary.rcg-trainer-profilebtn:hover {
    background: #058bc5;
    color: #ffffff;
    border-color: #058bc5;
    text-decoration: none;
}

/* Social stays bottom and never overlaps */
.rcg-trainer-social {
    min-height: 22px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.rcg-trainer-social a {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #344054;
    font-size: 16px;
    text-decoration: none;
}

.rcg-trainer-social a:hover {
    color: #058bc5;
    text-decoration: none;
}

/* Carousel arrows */
.rcg-trainers-slider-nav {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rcg-trainers-nav {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rcg-trainers-nav span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #006591;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(16, 24, 40, 0.14);
}

.rcg-trainers-nav svg {
    width: 7px;
    height: 14px;
    display: block;
}

.rcg-trainers-nav.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* View all */
.rcg-trainers-viewall-wrap {
    max-width: 1440px;
    height: 54px;
    margin: 56px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rcg-trainers-viewall,
.btn.btn-primary.rcg-trainers-viewall,
.btn.btn-secondary.rcg-trainers-viewall {
    min-width: 218px;
    height: 54px;
    min-height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #058bc5;
    border-radius: 999px;
    background: #058bc5;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
}

.rcg-trainers-viewall:hover,
.btn.btn-primary.rcg-trainers-viewall:hover,
.btn.btn-secondary.rcg-trainers-viewall:hover {
    background: #047caf;
    border-color: #047caf;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1439px) {
    .rcg-trainers-inner {
        padding: 0 24px;
    }

    .rcg-trainers-grid {
        width: calc((342px * 2) + 24px);
        grid-template-columns: repeat(2, 342px);
    }

    .rcg-trainers-slider-viewport {
        width: calc((342px * 2) + 24px);
        max-width: calc((342px * 2) + 24px);
    }
}

@media (max-width: 767px) {
    .rcg-trainers-section {
        min-height: auto;
        padding: 56px 16px 80px;
    }

    .rcg-trainers-inner {
        padding: 0;
        min-height: auto;
    }

    .rcg-trainers-heading {
        height: auto;
        margin-bottom: 40px;
    }

    .rcg-trainers-heading-title {
        font-size: 32px;
    }

    .rcg-trainers-heading-subtitle {
        font-size: 15px;
    }

    .rcg-trainers-grid {
        width: 342px;
        grid-template-columns: 342px;
        gap: 32px;
    }

    .rcg-trainers-slider-viewport {
        width: 342px;
        max-width: 342px;
    }

    .rcg-trainer-card,
    .rcg-trainers-slide {
        width: 342px;
        min-width: 342px;
        max-width: 342px;
    }

    .rcg-trainer-card-inner {
        padding: 44px 28px 36px;
    }

    .rcg-trainer-name {
        font-size: 22px;
    }

    .rcg-trainer-bio {
        font-size: 15px;
    }
}

/* =========================================================
   RCG Academy - Events / Course Calendar
   ========================================================= */

   .rcg-events-section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 72px 0 88px;
    background: #ffffff;
}

.rcg-events-inner {
    max-width: 1440px;
    margin: 0 auto;
}

/* Heading */
.rcg-events-heading {
    max-width: 820px;
    margin: 0 auto 52px;
    text-align: center;
}

.rcg-events-title {
    margin: 0 0 12px;
    color: #000000;
    font-family: Inter, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-align: center;
}

.rcg-events-subtitle {
    margin: 0;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-align: center;
}

/* Grid */
.rcg-events-grid {
    width: calc((708px * 2) + 24px);
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 708px);
    gap: 24px;
    justify-content: center;
}

/* Card */
.rcg-event-card {
    width: 708px;
    height: 264px;
    display: grid;
    grid-template-columns: 178px 1fr;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #ebe7e0;
    border-radius: 16px;
}

.rcg-event-date {
    width: 178px;
    height: 264px;
    background: #0f2044;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.rcg-event-weekday {
    margin-bottom: 4px;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rcg-event-day {
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0;
}

.rcg-event-month {
    margin-top: 6px;
    color: #ffde00;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Content */
.rcg-event-content {
    height: 264px;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rcg-event-meta {
    min-height: 24px;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rcg-event-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #058bc5;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    white-space: nowrap;
}

.rcg-event-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #42be2f;
    display: inline-block;
}

.rcg-event-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #101828;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
    white-space: nowrap;
}

.rcg-event-time i {
    color: #0f2044;
    font-size: 16px;
}

.rcg-event-category {
    height: 28px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e8e3dc;
    color: #101828;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 100%;
    white-space: nowrap;
}

/* Title */
.rcg-event-card-title {
    min-height: 58px;
    max-height: 58px;
    margin: 0 0 16px;
    overflow: hidden;
    color: #000000;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0;
}

.rcg-event-card-title a {
    color: #000000;
    text-decoration: none;
}

.rcg-event-card-title a:hover {
    color: #058bc5;
    text-decoration: none;
}

/* Details */
.rcg-event-details {
    min-height: 22px;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 100%;
}

.rcg-event-details span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.rcg-event-details i {
    color: #0f2044;
    font-size: 14px;
}

/* Button */
.rcg-event-button,
.btn.btn-primary.rcg-event-button,
.btn.btn-secondary.rcg-event-button {
    width: 142px;
    height: 54px;
    min-height: 54px;
    margin-top: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #058bc5;
    border-radius: 999px;
    background: #058bc5;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
}

.rcg-event-button:hover,
.btn.btn-primary.rcg-event-button:hover,
.btn.btn-secondary.rcg-event-button:hover {
    background: #047caf;
    border-color: #047caf;
    color: #ffffff;
    text-decoration: none;
}

/* View all */
.rcg-events-viewall-wrap {
    max-width: 1440px;
    height: 54px;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rcg-events-viewall,
.btn.btn-primary.rcg-events-viewall,
.btn.btn-secondary.rcg-events-viewall {
    min-width: 282px;
    height: 54px;
    min-height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #058bc5;
    border-radius: 999px;
    background: #058bc5;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
}

.rcg-events-viewall:hover,
.btn.btn-primary.rcg-events-viewall:hover,
.btn.btn-secondary.rcg-events-viewall:hover {
    background: #047caf;
    border-color: #047caf;
    color: #ffffff;
    text-decoration: none;
}

/* Empty */
.rcg-events-empty {
    max-width: 708px;
    margin: 0 auto;
}

.rcg-events-empty-card {
    padding: 40px;
    background: #ffffff;
    border: 2px solid #ebe7e0;
    border-radius: 16px;
    text-align: center;
}

.rcg-events-empty-badge {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #e8e3dc;
    color: #101828;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.rcg-events-empty-card h3 {
    margin: 0 0 12px;
    color: #000000;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 800;
}

.rcg-events-empty-card p {
    margin: 0;
    color: #344054;
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 160%;
}

/* Responsive */
@media (max-width: 1439px) {
    .rcg-events-inner {
        padding: 0 24px;
    }

    .rcg-events-grid {
        width: 708px;
        grid-template-columns: 708px;
    }
}

@media (max-width: 767px) {
    .rcg-events-section {
        padding: 56px 16px 72px;
    }

    .rcg-events-inner {
        padding: 0;
    }

    .rcg-events-title {
        font-size: 32px;
    }

    .rcg-events-subtitle {
        font-size: 15px;
    }

    .rcg-events-heading {
        margin-bottom: 32px;
    }

    .rcg-events-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rcg-event-card {
        width: 100%;
        height: auto;
        min-height: 264px;
        grid-template-columns: 120px 1fr;
    }

    .rcg-event-date {
        width: 120px;
        height: auto;
        min-height: 264px;
    }

    .rcg-event-day {
        font-size: 44px;
    }

    .rcg-event-content {
        height: auto;
        min-height: 264px;
        padding: 24px 18px;
    }

    .rcg-event-meta {
        gap: 8px;
    }

    .rcg-event-card-title {
        font-size: 20px;
        min-height: auto;
        max-height: none;
    }

    .rcg-event-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (min-width: 576px) {
    #page-wrapper #page-footer {
        margin-top: 0px !important;
    }
}

/* =========================================================
   RCG Academy - Footer bottom override
   ========================================================= */

   #page-footer .rcg-footer-bottom-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 64px auto 0;
    padding: 0;
    border-top: 1px solid #058bc5;
}

#page-footer .rcg-footer-bottom {
    width: 100%;
    min-height: 72px;
    padding: 20px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

#page-footer .rcg-footer-bottom-left {
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0;
}

#page-footer .rcg-footer-bottom-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

#page-footer .rcg-footer-social-label {
    color: #ffffff;
    margin-right: 4px;
}

#page-footer .rcg-footer-bottom-right a {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
}

#page-footer .rcg-footer-bottom-right a:hover {
    color: #058bc5;
    text-decoration: none;
}

#page-footer .rcg-footer-bottom-right i {
    font-size: 16px;
    line-height: 1;
}

/* Hide any remaining default secondary footer content if RemUI injects it */
#page-footer .footer-secondarysection-wrapper.rcg-footer-bottom-wrapper ~ .footer-secondarysection-wrapper {
    display: none;
}

.d-block {
    display: none !important;
}

.footer-mainsection-wrapper {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    #page-footer .rcg-footer-bottom-wrapper {
        margin-top: 48px;
    }

    #page-footer .rcg-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 20px;
    }

    #page-footer .rcg-footer-bottom-right {
        justify-content: flex-start;
    }
}