﻿.carousel {
}

.carousel--legal-edu {
    margin-top: 24px;
}

.banner-top img {
    width: 100%;
}

.report {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0px;
}

.report-total {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.report .report-detail {
    padding: 24px;
    gap: 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 0 1 calc(25% - 6px);
    min-width: 0;
}

.report-detail .report-detail-title {
    min-height: 42px;
    color: #808089 !important;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.report-detail span {
    color: #27272A !important;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.recruitment-information {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

    .recruitment-information .report-detail {
        padding: 24px;
        gap: 8px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        width: 100%;
        flex: 0 1 calc(50% - 4px);
        min-width: 0;
    }

.recruitment-information-header {
    color: #003B8E;
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.recruitment-information-body {
    color: #27272A;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.carousel--wrapper {
    display: flex;
    align-items: center;
    column-gap: 16px;
    overflow: hidden;
    position: relative;
}

.carousel__list {
    flex: 1;
    display: flex;
    column-gap: 16px;
    flex-wrap: nowrap;
    transition: transform 0.8s ease;
}

.carousel__slide {
    min-width: 100%;
    display: flex;
    gap: 20px;
}

.carousel__item {
    flex: 0 0 calc(50% - 20px);
    flex-shrink: 0;
    min-width: 0;
    position: relative;
}

    .carousel__item:last-child {
        margin-right: 20px;
    }

.carousel__item--black {
    background-color: #27272A;
}

.carousel__item--blue {
    background: linear-gradient(90deg, #002D69 0%, #1278FE 100%);
}

.carousel__image {
    z-index: 0;
    position: absolute;
    right: 24px;
    width: 193px;
    height: 323px;
}

.carousel__content {
    position: relative;
}

.carousel__logo {
    width: 31.373px;
    height: 32px;
}

.carousel__title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
}

.carousel__heading {
    color: #fff;
    max-width: 345px;
    min-height: 108px;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.carousel__desc {
    color: #fff;
    max-width: 345px;
    min-height: 48px;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.carousel__btn {
    margin: 8px 0 24px;
    padding: 8px 12px;
    border-color: transparent;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: #1251EE;
    background-color: #FFF;
}

.carousel__slide-btn {
    z-index: 10;
    position: absolute;
    cursor: pointer;
    padding: 8px;
    border-radius: 9999px;
    background-color: rgba(0, 0, 0, 0.08);
}

.carousel__slide-btn-left {
    top: 50%;
    transform: translateY(-50%);
    left: -45px;
}

.carousel__slide-btn-right {
    top: 50%;
    transform: translateY(-50%);
    right: -45px;
}

.carousel__slide-btn svg {
    color: #C8C8C8;
    transition: color linear 0.3s;
}

.carousel__slide-btn:hover svg {
    color: #27272A;
}

.carousel__btn:hover {
    color: #fff;
}

.carousel__btn svg {
    margin-left: 8px;
}

.carousel__dot-wrapper {
    display: flex;
    column-gap: 7px;
    margin-top: 16px;
}

.carousel__dot {
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    background-color: #A6A6B0;
    transition: all linear 0.2s;
}

    .carousel__dot.active {
        width: 40px;
        background-color: #808089;
    }

.dialog__wrapper {
    display: flex;
    column-gap: 40px;
    flex-wrap: nowrap;
    padding: 40px;
    background-image: url("/TuPhap/images/trang-chu/background-dialog.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.dialog__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.dialog__label {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.dialog__title {
    color: #FC0;
    font-size: 32px;
    font-weight: 700;
}

.dialog__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}

.btn {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    border-color: transparent;
}

.btn-primary {
    padding: 8px 12px;
    color: #1251EE;
    background-color: #FFF;
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.20);
}

.dialog__timer {
    flex: 1;
    padding: 40px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.10);
}

.dialog__timer-header {
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
}

.dialog__timer-wrapper {
    display: flex;
    column-gap: 8px;
}

.timer__box {
    flex: 1;
    padding: 24px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.10);
}

.timer__number {
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
}

.timer__label {
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
}

.training-option {
    /*    position: relative;*/
    display: flex;
    align-items: center;
    min-height: 120px;
    padding: 24px;
    border-radius: 16px;
    background-color: #E6F2FA;
    overflow: hidden;
}

.training-options-wrapper {
    display: flex;
    column-gap: 16px;
}

.training-option {
    flex: 1;
}

.training-option__bg img {
    position: absolute;
    left: -10px;
    top: -10px;
    width: 80px;
    opacity: 0.4;
}

.training-option__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.training-option__title {
    max-width: 233.3px;
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
}

.training-option__icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
}

.training-options .training-option__content-fisrt svg {
    z-index: 0;
    position: absolute;
    bottom: -22px;
    right: -10px;
}

.training-options .training-option__content-second svg {
    z-index: 0;
    position: absolute;
    bottom: -22px;
    right: -20px;
}

.training-options .training-option__content-third svg {
    z-index: 0;
    position: absolute;
    top: -24px;
    right: -20px;
}

.courses {
    padding: 60px 0;
    margin-top: 30px;
    background-color: rgba(0, 0, 0, 0.05);
}

.courses__title {
    color: #003B8E;
    font-size: 32px;
    font-weight: 700;
}

.courses__tags {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4px;
    row-gap: 4px;
    margin-top: 8px;
}

.courses__tag {
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    transition: all linear 0.2s;
}

    .courses__tag:hover,
    .courses__tag .active {
        color: #fff;
        background-color: #27272A;
    }

.courses__tag-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
}

.courses__list {
    display: flex;
    column-gap: 14px;
    margin-top: 24px;
    flex-wrap: nowrap;
}

.courses__item {
    flex: 1;
    border-radius: 16px;
    border: 1px solid #DDDDE3;
    overflow: hidden;
    transition: all linear 0.2s;
}

    .courses__item:hover {
        transform: translateY(-5px);
        /* box-shadow: 5px 5px 2px #aaaaaa; */
    }

.courses__thumb {
    width: 100%;
    aspect-ratio: 5/3;
    object-fit: cover;
    object-position: center;
}

.courses__content {
    padding: 12px;
    height: 100%;
    background-color: #fff;
}

.courses__tag-list {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.courses__tag-mini {
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.courses__name {
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
}

.courses__desc {
    margin-top: 10px;
    color: #808089;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
}

.library {
    padding: 40px 0;
}

.library__title {
    color: #003B8E;
    font-size: 32px;
    font-weight: 700;
}

.library__sections {
    display: flex;
    column-gap: 14px;
    margin-top: 24px;
}

.library__section {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: 16px;
    background-color: #E6F2FA;
}

.library__section-header {
    display: flex;
    align-items: center;
    column-gap: 4px;
}

.library__section-title {
    font-size: 18px;
    font-weight: 600;
}

.library__items {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    margin-top: 8px;
}

.library__item {
    display: flex;
    gap: 12px;
    border-radius: 16px;
    background-color: #fff;
    overflow: hidden;
}

.library__thumb {
    width: 110px;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
}

.library__content {
    flex: 1;
    padding: 12px 12px 12px 0;
}

.library__tag-list {
    margin-bottom: 6px;
}

.library__tag {
    padding: 2px 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: rgba(0, 0, 0, 0.05);
}

.library__name {
    display: block;
    min-height: 48px;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
}

.library__rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.library__star {
    width: 13.333px;
    height: 13.333px;
}

.library__rating-text {
    font-size: 13px;
    color: #444;
}

.events {
    padding: 50px 0;
    background-color: #002D69;
}

.events__header {
    margin-bottom: 32px;
}

.events__title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.events__upcoming {
    display: flex;
    border-radius: 24px;
    overflow: hidden;
}

.events__icon {
    width: 20px;
    height: 20px;
}

.events__upcoming-content {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    padding: 24px 0px;
}

.events__info {
    padding: 0 24px;
}

.events__info-row,
.events__countdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.events__info-title {
    color: #003B8E;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
}

.events__info-desc {
    max-width: 462px;
    margin-top: 8px;
    font-size: 32px;
    font-weight: 700;
}

.events__countdown {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    padding: 0 24px;
    margin-top: 8px;
}

.events__countdown-label {
    font-size: 14px;
}

.events__timer {
    display: flex;
    gap: 8px;
}

.events__timer-item {
    flex: 1;
    text-align: center;
    padding: 4px 24px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.events__timer-value {
    color: #003B8E;
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
}

.events__timer-unit {
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
}

.events__button {
    margin-top: 20px;
}

    .events__button:hover {
        opacity: 0.8;
    }

.events__button-label {
    display: inline-block;
    padding: 8px 12px;
    margin-left: 24px;
    background: #0052ff;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}

.events__upcoming-image {
    flex: 2;
    border-radius: 8px;
    /* background: white; */
}

    .events__upcoming-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-height: 400px;
    }

.events__list {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.events__item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    padding-right: 16px;
    border-radius: 10px;
    background: #FFF;
    overflow: hidden;
}

    .events__item:first-of-type .events__item-icon-wrapper {
        background-color: #2A7FFF;
    }

    .events__item:last-of-type .events__item-icon-wrapper {
        background-color: #07BA6D;
    }

    .events__item:first-of-type .events__item-icon-wrapper img {
        margin-top: 10px;
    }

.events__item-icon-wrapper {
    height: 100%;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.events__item-content {
}

.events__item-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
}

.events__item-desc {
    color: #808089;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.events__item-button {
    display: block;
    margin-top: 8px;
    color: #0A68FF;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
}

.q-and-a {
    display: flex;
}

.qa-wrapper {
    display: flex;
    width: 100%;
    gap: 24px;
}

.qa-form-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 60px 16px 0px;
    background-image: url("/TuPhap/images/trang-chu/bg-form.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.qa-form {
    padding: 40px;
    border-color: transparent;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 5px 5px 5px #aaaaaa;
}

.qa-form__title {
    align-self: flex-start;
    color: #003B8E;
    font-size: 32px;
    font-weight: 700;
}

.qa-form__label {
    font-size: 14px;
    font-weight: 700;
    line-height: 150%;
}

.form-group label {
    position: initial;
}

.form-control {
    margin-top: 4px;
    padding: 8px 16px;
}

.input[type=text]:focus {
    border-color: none;
}

.qa-form__input,
.qa-form__textarea {
    min-width: 346px;
    border-radius: 8px !important;
    border-color: #ced4da;
}

.qa-form__textarea {
    min-height: 115px;
    font-size: 14px;
}

.qa-file-wrapper {
    width: 100%;
    margin-bottom: 10px;
}

.qa-label-title {
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
}

.qa-file-box {
    font-size: 16px;
    font-weight: 400;
    height: 50px;
    line-height: 28px;
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0 15px;
    outline: none;
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-body);
    box-shadow: var(--shadow-10);
    display: flex;
    align-items: center;
    gap: 14px;
}

.qa-file-text {
    flex: 1;
    color: #6b7280;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qa-divider {
    width: 1px;
    height: 18px;
    background: #e5e7eb;
}

.qa-choose-file {
    color: #2563eb;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

input[type="file"] {
    display: none;
}

.qa-form__file-display {
    background-color: #fff;
}

.qa-form__checkbox:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check {
    padding-left: 0;
}

.qa-form__link {
    color: #1A94FF !important;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}

.qa-form__submit-btn {
    color: #fff;
    background-color: #0A68FF;
}

    .qa-form__submit-btn:hover {
        opacity: 0.8;
    }

.qa-dialog {
    flex: 1;
    padding: 60px 40px;
    background-color: #fff;
}

.qa-dialog__item {
    max-width: 600px;
    padding: 16px;
    border-bottom: 1px solid #E6F2FA;
}

.qa-dialog__avatar-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 6px 7px;
}

img.qa-dialog__avatar-icon {
    width: 28px;
    height: 28px;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

.qa-dialog__author {
    font-size: 12px;
    font-weight: 700;
    line-height: 150%;
}

.qa-dialog__time {
    color: #808089;
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
}

.qa-dialog__title,
.qa-dialog__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.qa-dialog__title {
    -webkit-line-clamp: 1;
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
}

.qa-dialog__excerpt {
    -webkit-line-clamp: 2;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

.react-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.qa-dialog__stats {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.qa-dialog__stat {
    display: flex;
    align-items: center;
    column-gap: 2px;
    color: #A6A6B0;
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
}

    .qa-dialog__stat img {
        width: 16px;
        height: 16px;
    }

.qa-dialog__load-more-btn {
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    background-color: rgba(0, 0, 0, 0.10);
}

.ellipsis5 {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
}

#qa_agreement {
    opacity: 1;
    position: relative;
}

.dialog__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 150%;
    border-radius: 4px;
}


.skeleton {
    background: linear-gradient(90deg, #e9ecef 25%, #f1f3f5 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton--tag {
    display: inline-block;
    padding: 4px 12px;
    width: 100px;
    height: 28px;
    border-radius: 8px;
}

.skeleton--tag-small {
    width: 80px;
    height: 24px;
}

.skeleton--tag-large {
    width: 120px;
    height: 32px;
}

.skeleton--card {
    width: 100%;
    height: 200px;
    border-radius: 16px;
}

.skeleton--text {
    height: 16px;
    border-radius: 4px;
}

.skeleton--text-sm {
    height: 14px;
    width: 60%;
}

.skeleton--text-md {
    height: 16px;
    width: 80%;
}

.skeleton--text-lg {
    height: 18px;
    width: 100%;
}

.skeleton--title {
    height: 24px;
    width: 70%;
    border-radius: 4px;
}

.skeleton--avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton--button {
    height: 40px;
    width: 120px;
    border-radius: 8px;
}

.skeleton-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skeleton-container--tags {
    column-gap: 4px;
    row-gap: 4px;
    margin-top: 8px;
}

.skeleton-container--row {
    display: flex;
    gap: 12px;
}

.skeleton-container--column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.courses__tags .skeleton {
    border: 1px solid #DDDDE3;
}

.skeleton--course-card {
    flex: 1;
    border-radius: 16px;
    border: 1px solid #DDDDE3;
    overflow: hidden;
    background-color: #fff;
}

.skeleton--course-thumb {
    width: 100%;
    height: 200px;
    border-radius: 0;
}

.skeleton--course-content {
    padding: 12px;
}

.skeleton--course-tag {
    display: inline-block;
    width: 80px;
    height: 24px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.skeleton--course-title {
    height: 24px;
    width: 90%;
    margin-bottom: 10px;
    border-radius: 4px;
}

.skeleton--course-desc {
    height: 16px;
    width: 100%;
    margin-bottom: 6px;
    border-radius: 4px;
}

    .skeleton--course-desc:last-child {
        width: 70%;
    }

.skeleton-container--courses {
    display: flex;
    column-gap: 14px;
    margin-top: 24px;
    flex-wrap: nowrap;
}

.skeleton--library-item {
    display: flex;
    gap: 12px;
    border-radius: 16px;
    background-color: #fff;
    overflow: hidden;
    padding: 12px;
}

.skeleton--library-thumb {
    width: 110px;
    height: 80px;
    border-radius: 8px;
    flex-shrink: 0;
}

.skeleton--library-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton--library-tag {
    display: inline-block;
    width: 100px;
    height: 20px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.skeleton--library-name {
    height: 48px;
    width: 100%;
    border-radius: 4px;
}

.skeleton--library-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 16px;
}

.skeleton--library-rating-icon {
    width: 13.333px;
    height: 13.333px;
    border-radius: 2px;
}

.skeleton--library-rating-text {
    width: 30px;
    height: 13px;
    border-radius: 2px;
}

.skeleton-container--library {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    margin-top: 8px;
}

.skeleton--qa-post-item {
    max-width: 600px;
    padding: 16px;
    border-bottom: 1px solid #E6F2FA;
}

.skeleton--qa-post-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.skeleton--qa-post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton--qa-post-author {
    width: 120px;
    height: 14px;
    border-radius: 4px;
}

.skeleton--qa-post-time {
    width: 100px;
    height: 12px;
    border-radius: 4px;
}

.skeleton--qa-post-title {
    height: 24px;
    width: 90%;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton--qa-post-excerpt {
    height: 16px;
    width: 100%;
    margin-bottom: 4px;
    border-radius: 4px;
}

    .skeleton--qa-post-excerpt:last-of-type {
        width: 70%;
        margin-bottom: 8px;
    }

.skeleton--qa-post-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.skeleton--qa-post-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.skeleton--qa-post-stat-icon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.skeleton--qa-post-stat-text {
    width: 24px;
    height: 12px;
    border-radius: 2px;
}

.skeleton-container--qa-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.qa-dialog__list__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.qa-dialog__empty {
    text-align: center;
    padding: 24px 16px;
}

.qa-dialog__empty-icon {
    max-width: 120px;
    height: auto;
}

.qanda-input-wrapper {
    position: relative;
    width: 100%;
    margin-top: 6px;
}

.qanda-dropdown-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #555;
    pointer-events: none;
    transition: transform .2s ease;
}

.qanda-dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 220px;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 99;
}

    .qanda-dropdown li {
        padding: 12px 16px;
        cursor: pointer;
        transition: background 0.15s;
        font-size: 14px;
    }

        .qanda-dropdown li.selected {
            background: var(--color-primary) !important;
            color: white;
        }

        .qanda-dropdown li:hover {
            background: #f2f2f2;
        }

/* <1200px */
@media (max-width: 1199.98px) {
    .carousel__item {
        flex: 0 0 calc(50% - 12px);
    }

    .carousel__heading {
        font-size: 22px;
        min-height: 99px;
    }

    .carousel__desc {
        -webkit-line-clamp: 2;
    }

    .events__info-desc {
        font-size: 28px;
    }

    .qa-wrapper {
        gap: 20px;
    }
}

@media (max-width: 1099.98px) {
}

/* <992px */
@media (max-width: 991.98px) {
    .carousel__item {
        flex: 0 0 calc(60% - 12px);
    }

    .carousel__image {
        width: 160px;
        height: auto;
        right: 12px;
    }

    .carousel__heading {
        font-size: 20px;
    }

    .carousel__desc {
        font-size: 15px;
    }

    .carousel__slide-btn-left {
        left: -24px;
    }

    .carousel__slide-btn-right {
        right: -24px;
    }

    .courses__list,
    .events__list {
        flex-wrap: wrap;
    }

    .courses__item,
    .events__item {
        flex: 1 1 calc(50% - 12px);
        min-width: 280px;
        max-width: 100%;
    }

    .courses__item {
        flex: 0 0 calc((100% - 24px) / 3);
    }

    .events__upcoming {
        flex-direction: column;
    }

    .events__upcoming-image {
        width: 100%;
    }

    .qa-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .qa-form-wrapper {
        padding-right: 0;
        justify-content: center;
        padding: 16px;
    }

    .qa-form {
        width: 100%;
        max-width: 540px;
    }

    .qa-dialog {
        padding: 40px 24px;
    }

    .qa-dialog__item {
        max-width: unset !important;
    }

    .courses__list {
        gap: 16px;
    }

    .dialog__timer-wrapper {
        flex-wrap: wrap;
        gap: 8px;
    }

    .skeleton-container--courses {
        flex-wrap: wrap;
        gap: 16px;
    }

    .skeleton--course-card {
        flex: 1 1 calc(50% - 8px);
        min-width: 260px;
    }
}

/* <768px */
@media (max-width: 767.98px) {
    .banner-top img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }

    .report-total {
        flex-direction: row;
        padding: 5px;
    }

    .report .report-detail,
    .recruitment-information .report-detail {
        flex: 0 1 calc(50% - 4px);
        width: 100%;
    }

    .recruitment {
        flex-direction: column;
    }

    .recruitment-information-header {
        padding: 10px;
    }

    .recruitment-information-body {
        padding: 10px;
    }

    .carousel--wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .carousel__list {
        column-gap: 12px;
    }

    .carousel__item {
        flex: 0 0 100%;
    }

    /*    .carousel__image {
        position: static;
        width: 120px;
        height: auto;
        margin-left: auto;
    }*/

    .carousel__heading {
        font-size: 18px;
    }

    .carousel__desc {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .carousel__slide-btn-left,
    .carousel__slide-btn-right {
        display: none;
    }

    .dialog__wrapper {
        flex-direction: column;
        padding: 24px;
        row-gap: 24px;
    }

    .dialog__timer {
        padding: 24px;
    }

    .training-option {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 12px;
    }

    .training-options-wrapper {
        flex-direction: column;
        row-gap: 10px;
    }

    .training-option__content {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 8px;
    }

    .courses__list,
    .events__list {
        flex-direction: column;
        gap: 24px;
    }

    .courses__item,
    .events__item {
        flex: 1 1 100%;
        min-width: 0;
    }

    .events__title,
    .library__title,
    .courses__title {
        font-size: 26px;
    }

    .qa-wrapper {
        gap: 12px;
    }

    .qa-form {
        padding: 28px;
        max-width: 100%;
        box-shadow: 3px 3px 4px #ccc;
    }

    .qa-dialog {
        padding: 32px 16px;
    }

    .qa-dialog__item {
        padding: 12px 0;
    }

    .qa-dialog__title {
        font-size: 18px;
    }

    .qa-dialog__excerpt {
        font-size: 14px;
    }

    .events__item {
        gap: 12px;
    }


    .events__item-icon {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .events__item-content {
        flex: 1;
    }

    .library__sections {
        flex-direction: column;
        row-gap: 12px;
    }

    .skeleton--course-card {
        flex: 1 1 100%;
    }
}

/* <576px */
@media (max-width: 575.98px) {
    .carousel--legal-edu {
        margin-top: 12px;
    }

    .carousel__heading {
        font-size: 17px;
    }

    .carousel__desc {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }

    .carousel__btn {
        width: 100%;
        text-align: center;
    }

    .dialog__wrapper {
        margin: 0 2px;
    }

    .dialog__wrapper,
    .dialog__timer,
    .qa-form,
    .qa-dialog {
        padding: 16px;
    }

    .qa-form__input,
    .qa-form__textarea {
        min-width: 100%;
    }

    .events__upcoming {
        border-radius: 12px;
    }

    .events__info-desc {
        font-size: 22px;
    }

    .events__timer-item {
        padding: 4px 12px;
    }

    .courses {
        padding: 20px 0;
    }

    .courses__title {
        padding: 5px;
    }

    .library__header {
        padding-left: 5px;
    }

    .library__item {
        flex-direction: row;
        /*        align-items: center;*/
    }

    .qa-wrapper {
        gap: 10px;
    }

    .qa-form {
        padding: 22px;
    }

    .qa-form__input,
    .qa-form__textarea {
        min-width: 100%;
    }

    .qa-dialog__title {
        font-size: 17px;
    }

    .qa-dialog__excerpt {
        -webkit-line-clamp: 3;
    }

    .report .report-detail,
    .recruitment-information .report-detail {
        /*        flex: 0 1 100%;*/
        width: 100%;
    }

    .report-total {
        margin: 0 5px;
    }

    .training-options {
        margin: 0 10px;
    }
}

/* Helper: reduce gap on very small screens */
@media (max-width: 480px) {
    .carousel__list {
        column-gap: 8px;
    }

    .carousel__slide {
        width: 100%;
    }

        .carousel__slide .carousel__item {
            flex: 0 0 100%;
            max-width: 100%;
            padding: 12px;
        }

    .dialog__wrapper {
        row-gap: 16px;
    }

    .events {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .events__header {
        margin-bottom: 20px;
    }

    .events__item {
        flex-direction: column;
        padding: 16px;
    }

    .events__item-icon-wrapper {
        width: 100%;
        height: 200px;
        padding: 20px;
        border-radius: 10px;
    }
}
