.fe-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(176, 32, 32, 0.28), transparent 34%),
        radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(125deg, #071428 0%, #102858 52%, #1a2748 100%);
}

.fe-hero--detail {
    background:
        linear-gradient(125deg, rgba(7, 20, 40, 0.9) 10%, rgba(16, 40, 88, 0.74) 55%, rgba(176, 32, 32, 0.42) 100%),
        var(--fe-detail-image, none) center/cover no-repeat,
        linear-gradient(160deg, #071428, #102858 55%, #1d2748);
}

.fe-hero__brand {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.fe-hero__title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
}

.fe-hero__text {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
}

.fe-hero__panel {
    margin-left: auto;
    max-width: 22rem;
    padding: 1.35rem 1.4rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.18);
}

.fe-hero__panel-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.85rem;
}

.fe-hero__list {
    list-style: none;
    padding: 0;
}

.fe-hero__list li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.35rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.95rem;
}

.fe-hero__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--brand-secondary);
    box-shadow: 0 0 0 4px rgba(176, 32, 32, 0.22);
}

.fe-section-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-secondary);
}

.fe-course-count {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: rgba(16, 40, 88, 0.06);
    border: 1px solid rgba(16, 40, 88, 0.08);
}

/* Featured enrolled course */
.fe-featured {
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(16, 40, 88, 0.08);
    box-shadow:
        0 0.85rem 2rem rgba(16, 40, 88, 0.08),
        0 0.15rem 0.4rem rgba(16, 40, 88, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fe-featured:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1.15rem 2.4rem rgba(16, 40, 88, 0.12),
        0 0.2rem 0.5rem rgba(16, 40, 88, 0.05);
}

.fe-featured__media {
    position: relative;
    display: block;
    min-height: 100%;
    background: #0d2048;
}

.fe-featured__media img,
.fe-featured__placeholder {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .fe-featured__media img,
    .fe-featured__placeholder {
        min-height: 100%;
        position: absolute;
        inset: 0;
    }

    .fe-featured__media {
        min-height: 100%;
    }
}

.fe-featured__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(145deg, #102858, #1d447f 55%, rgba(176, 32, 32, 0.75));
}

.fe-featured__enrolled {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f5132;
    background: #d1e7dd;
    box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.12);
}

.fe-featured__body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.5rem 1.65rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(176, 32, 32, 0.05), transparent 35%),
        #fff;
}

.fe-featured__category {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--brand-secondary);
    background: rgba(176, 32, 32, 0.08);
    border: 1px solid rgba(176, 32, 32, 0.16);
}

.fe-featured__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
}

.fe-featured__title a {
    color: var(--brand-primary);
    text-decoration: none;
}

.fe-featured__title a:hover {
    color: var(--brand-secondary);
}

.fe-featured__desc {
    color: var(--brand-muted);
    margin-bottom: 1rem;
}

.fe-featured__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
}

.fe-featured__chips span {
    padding: 0.28rem 0.65rem;
    border-radius: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: #f1f4f9;
}

.fe-featured__progress {
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: #f4f7fb;
    border: 1px solid rgba(16, 40, 88, 0.06);
}

.fe-featured__percent {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-secondary);
}

.fe-featured__bar {
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(16, 40, 88, 0.08);
    overflow: hidden;
}

.fe-featured__progress-meta {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-muted);
}

/* Catalogue cards */
.fe-course-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid rgba(16, 40, 88, 0.08);
    box-shadow: 0 0.45rem 1.1rem rgba(16, 40, 88, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fe-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 1.85rem rgba(16, 40, 88, 0.12);
}

.fe-course-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #102858;
}

.fe-course-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.fe-course-card:hover .fe-course-card__media img {
    transform: scale(1.04);
}

.fe-course-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(145deg, rgba(16, 40, 88, 0.98), rgba(176, 32, 32, 0.72));
}

.fe-course-card__badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: rgba(16, 40, 88, 0.78);
    backdrop-filter: blur(6px);
}

.fe-course-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.1rem 1.15rem 1.2rem;
}

.fe-course-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
}

.fe-course-card__title a {
    color: var(--brand-primary);
    text-decoration: none;
}

.fe-course-card__title a:hover {
    color: var(--brand-secondary);
}

.fe-course-card__desc {
    flex-grow: 1;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: var(--brand-muted);
}

.fe-course-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    margin-bottom: 0.95rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #66758a;
}

.fe-course-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(16, 40, 88, 0.08);
}

.fe-course-card__price {
    font-weight: 800;
    color: var(--brand-primary);
}

.fe-course-card__price s {
    margin-left: 0.35rem;
    font-weight: 600;
    font-size: 0.82rem;
    color: #8a96a8;
}

.fe-course-card__status {
    font-size: 0.82rem;
    font-weight: 800;
    color: #198754;
}

.fe-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 1.15rem;
    background: #fff;
    border: 1px dashed rgba(16, 40, 88, 0.18);
}

.fe-empty__icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--brand-secondary);
    background: rgba(176, 32, 32, 0.08);
}

.object-fit-cover {
    object-fit: cover;
}

.fe-progress-bar {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

.fe-dash-progress-card {
    background: rgba(255, 255, 255, 0.96);
}

.fe-dash-tips li {
    padding-left: 0.15rem;
}

.app-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid rgba(16, 40, 88, 0.08);
    border-radius: 1rem;
}

.app-pagination__info {
    color: var(--brand-muted);
    font-size: 0.88rem;
}

.app-pagination__list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.app-pagination__link {
    min-width: 2.15rem;
    height: 2.15rem;
    padding: 0 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    border: 1px solid #e3e7ee;
    background: #f5f7fb;
    color: #66758a;
    text-decoration: none;
    font-weight: 700;
}

.app-pagination__item.is-active .app-pagination__link {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}
