/*-- Updated design: homepage --*/

/* homeblock1 */

.service-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.card-service {
    flex: 0 0 100%;
    max-width: 100%;
    background-color: #42516F;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    color: #fff;
    position: relative;
    transition: background-color 0.3s ease;
}

.card-service__description {
    color: #fff;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .card-service {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .card-service {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}

@media (min-width: 992px) {
    .card-service {
        flex: 0 0 calc(33.333% - 0.67rem);
        max-width: calc(33.333% - 0.67rem);
    }
}

.card-service:hover {
    background-color: #FF7200;
}

.card-service__date {
    transition: color 0.3s ease;
}

.card-service__circle-title {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    color: #42516F;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card-service:hover .card-service__circle-title {
    color: #FF7200;
}

.card-service__learnmore {
    background-color: #FF7200;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    float: right;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.card-service:hover .card-service__learnmore {
    background-color: #42516F;
    color: #fff;
}

.card-service:hover .card-service__date-link {
    color: #fff !important;
}

/* homeblock-content */

.home-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    width: 100%;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.news-home__wrapper {
    grid-area: 1 / 1 / 2 / 2;
    display: flex;
    flex-direction: column;
}

.news-home__title {
    font-weight: bold;
    margin-bottom: 24px;
    color: #32325d;
}

.news-home__top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-home__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.news-home__item img {
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

.news-home__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.news-home__heading {
    font-size: 1rem;
    font-weight: bold;
}
.news-home__heading-link {
    display: inline;
    text-decoration: none;
    color: inherit;
    margin-bottom: 12px;
}
.news-home__heading-link h4 {
    margin: 0;
}
.news-home__date {
    font-size: 0.9rem;
    color: #ff7200;
    font-weight: bold;
    margin-bottom: 6px;
}
.news-home__desc {
    font-size: 0.8rem;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
    line-height: 1.3em;
}
.news-home__link {
    color: #ff7200;
    font-weight: bold;
    text-decoration: underline;
}

.recommended-course-home {
    grid-area: 2 / 1 / 3 / 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.recommended-course-home__title {
    font-weight: bold;
    margin-bottom: 24px;
    color: #32325d;
}

.recommended-course-home__carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.recommended-course-home__carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    scroll-behavior: smooth;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.recommended-course-home__carousel::-webkit-scrollbar {
    display: none;
}

.recommended-course-home__card {
    display: flex;
    flex-direction: column;
    color: #000;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    flex: 0 0 auto;
    width: 100%;
}

.recommended-course-home__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    cursor: pointer;
    z-index: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.recommended-course-home__arrow--prev {
    left: 10px;
}
.recommended-course-home__arrow--next {
    right: 10px;
}
.recommended-course-home__arrow::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
}
.recommended-course-home__arrow--prev::before {
    border-style: solid;
    border-width: 10px 12px 10px 0;
    border-color: transparent #ff7200 transparent transparent;
}
.recommended-course-home__arrow--next::before {
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #ff7200;
}
.recommended-course-home__arrow:focus {
    outline: none;
}

.recommended-course-home__card-image {
    position: relative;
}
.recommended-course-home__card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.recommended-course-home__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #ff7200;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 4px;
}
.recommended-course-home__card-body {
    display: flex;
    flex-direction: column;
    padding: 16px;
}
.recommended-course-home__card-heading {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
}
.recommended-course-home__card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}
.recommended-course-home__location-icon {
    width: 24px;
    height: 24px;
}
.recommended-course-home__location-text,
.recommended-course-home__time-tag {
    background-color: #eee;
    color: #696969;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 1rem;
}
.recommended-course-home__divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 8px 0;
}
.recommended-course-home__card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 5px;
    margin: 8px 0;
}
.recommended-course-home__meta-icon {
    width: 20px;
    height: 20px;
}
.recommended-course-home__meta-text {
    font-size: 0.9rem;
    color: #696969;
    font-weight: bold;
}
.recommended-course-home__card-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff7200;
    margin-top: 8px;
}

.logo-home {
    margin: 2rem 0;
}
.logo-home__carousel {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}
.logo-home__track {
    display: flex;
    justify-content: space-between;
    width: 100%;
    animation: scrollLogo 5s linear infinite;
}
.logo-home__track img {
    height: 1rem;
    object-fit: contain;
    padding: 0 10px;
}

@keyframes scrollLogo {
    0% { transform: translateX(0); }
    100% { transform: translateX(-20%); }
}

@media (min-width: 576px) {
    .logo-home__track img {
        height: 1.2rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .home-content {
      grid-template-columns: 1fr;
      gap: 20px;
      margin: 20px auto;
    }
    .recommended-course-home__carousel {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    .recommended-course-home__card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    .logo-home__track img {
        height: 1.2rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .home-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 30px auto;
    }
    .news-home__heading {
        font-size: 1.2rem;
        font-weight: bold;
    }
    .recommended-course-home__carousel {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .recommended-course-home__card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    .logo-home__track img {
        height: 1.2rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .home-content {
      grid-template-columns: 6fr 4fr;
      gap: 40px;
      margin: 40px auto;
    }
    .news-home__heading {
        font-size: 1.2rem;
        font-weight: bold;
    }
    .recommended-course-home__carousel-container {
        max-width: 100%;
        margin: 0 auto;
    }
    .logo-home__track img {
        height: 1.4rem;
    }
}

@media (min-width: 1200px) {
    .home-content {
      grid-template-columns: 6fr 4fr;
      gap: 40px;
      margin: 40px auto;
      max-width: 1200px;
    }
    .news-home__heading {
        font-size: 1.2rem;
        font-weight: bold;
    }
    .recommended-course-home__carousel-container {
        max-width: 100%;
        margin: 0 auto;
    }
    .logo-home__track img {
        height: 1.4rem;
    }
}

/* homeblock5--course-card */

.course-home{
    max-width: 1200px;
    margin: 48px auto;
    padding: 0 1rem;
}

.course-home__tabs {
    text-align: center;
    margin-bottom: 36px;
}

.course-home__tab-button {
    background: none;
    border: none;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 15px;
    cursor: pointer;
    padding: 5px 10px;
    color: #52525B;
    outline: none;
  }

.course-home__tab-button:focus {
    outline: none;
}

.course-home__tab-button--active {
    color: #ff7200;
    border-bottom: 2px solid #ff7200;
}

.course-home__list {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 20px;
}

@media (min-width: 576px) {
    .course-home__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .course-home__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .course-home__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .course-home__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .course-home__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.course-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.course-card__image {
    position: relative;
    width: 100%;
    height: 180px;
}

.course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff7200;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
}

.course-card__badge--reserve {
    background-color: #007bff;
}

.course-card__body {
    padding: 15px;
    line-height: 1.8;
}

.course-card__heading {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 12px;
}
.course-card__heading-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.course-card__divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 8px 0;
}

.course-card__location {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-card__location-icon {
    width: 24px;
}

.course-card__location-text,
.course-card__time-tag {
    font-size: 14px;
    font-weight: bold;
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 8px 0;
}

.course-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 5px;
}

.course-card__meta-icon {
    width: 16px;
    height: 16px;
}

.course-card__meta-text {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-card__price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-card__current-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff7200;
}

.course-home__more-button-container {
    text-align: center;
    margin-top: 20px;
}

.course-home__more-button {
    background-color: #41516f;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 60px;
    font-size: 10pt;
    cursor: pointer;
    line-height: 32px;
    font-weight: 600;
    transition: 0.3s ease-in;
    text-decoration: none;
    display: inline-block;
}

.course-home__more-button:hover {
    background-color: #ff7200;
    color: #fff;
}

/*-- Updated design: newspage & assesspage--*/

/* 注释 by wenzi_whw { */
/* .row { */
    /* display: flex; */
    /* flex-wrap: nowrap; */
/* } */
/* } */

.news-page__title,
.assess-page__title {
    font-size: 24px;
    font-family: 'Cabin', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #7F899B;
    position: relative;
    padding-bottom: 8px;
}

.news-page__title::after,
.assess-page__title::after {
    content: "";
    display: block;
    width: 120%;
    max-width: 160px;
    height: 2px;
    background-color: #7F899B;
    margin: 0.25rem auto;
}

.news-page__container,
.assess-page__container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border-bottom: 1px solid #ccc;
    font-family: 'Cabin', sans-serif;
    vertical-align: top;
    border-collapse: separate;
    border-spacing: 0 1rem;
}

table td:nth-child(1) {
    width: 120px;
}

table tr, table td {
    vertical-align: top;
    padding: 1rem;
}

.news-page__detail-date,
.assess-page__detail-date {
    text-align: left;
    min-width: 80px;
    position: relative;
    padding-left: 24px;
}

.news-page__detail-date::before,
.assess-page__detail-date::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #ff7200;
}

.news-page__detail-date > div,
.assess-page__detail-date > div {
    text-align: center;
}

.news-page__detail-weekday,
.assess-page__detail-weekday {
    font-size: 14px;
    color: #42516F;
    margin-bottom: 0.5rem;
}

.news-page__detail-day,
.assess-page__detail-day {
    font-size: 48px;
    font-weight: bold;
    color: #42516F;
    margin-bottom: 0.5rem;
}

.news-page__detail-ym,
.assess-page__detail-ym {
    font-size: 16px;
    color: #42516F;
}

.news-page__detail-text,
.assess-page__detail-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    text-align: left;
}

.news-page__detail-text-content,
.assess-page__detail-text-content {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    color: #42516F;
    margin: 0;
}

.news-page__detail-image,
.assess-page__detail-image {
    flex: 0 0 auto;
    width: 200px;
}

.news-page__detail-image img,
.assess-page__detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.news-page__content,
.assess-page__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    width: 100%;
    margin: 60px 0 60px 0;
}

.pagination .page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    font-size: 14px;
    color: #52525B;
    background-color: #fff;
    border: 1px solid #dee2e6;
    cursor: pointer;
}

.pagination .page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #ff7200;
    border-color: #ff7200;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination .page-link:hover {
    color: #ff7200;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .page-link:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(255,114,0,0.25);
}

@media (max-width: 1199.98px) {
    .sideBar {
      display: none !important;
    }

    .news-page__content,
    .assess-page__content {
      width: 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
}

@media (max-width: 768px) {
    .news-page__content,
    .assess-page__content {
      padding-left: 1rem !important;
      padding-right: 1rem !important;
      margin-top: 1rem !important;
    }

    .news-page__container,
    .assess-page__container {
        padding-left: 2vw;
        padding-right: 2vw;
    }
    .news-page__title,
    .assess-page__title {
        font-size: 20px;
    }
    .news-page__title::after,
    .assess-page__title::after {
        width: 100%;
        max-width: 120px;
    }
    table td:nth-child(1) {
        width: 80px;
    }
    .news-page__detail-date,
    .assess-page__detail-date {
        padding-left: 16px;
    }
    .news-page__detail-weekday,
    .assess-page__detail-weekday {
        font-size: 12px;
    }
    .news-page__detail-day,
    .assess-page__detail-day {
        font-size: 36px;
    }
    .news-page__detail-ym,
    .assess-page__detail-ym {
        font-size: 14px;
    }
    .news-page__detail-text-content,
    .assess-page__detail-text-content {
        font-size: 16px;
    }
    .news-page__detail-image,
    .assess-page__detail-image {
        width: 150px;
    }
    table tr, table td {
        padding: 0.5rem;
    }
    .pagination .page-link {
        padding: .25rem .5rem;
    }
}

@media (max-width: 576px) {
    .news-page__title,
    .assess-page__title {
      font-size: 18px;
    }
    .news-page__detail-day,
    .assess-page__detail-day {
      font-size: 30px;
    }
    .news-page__detail-text-content,
    .assess-page__detail-text-content {
      font-size: 16px;
    }
}

/*-- Updated design: news & assess_article page --*/

.news-page__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.col-10.mt-5.news-article {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem !important;
}

.news-article__inner {
    max-width: 100%;
    /* margin: 0 auto 60px; modify by wenzi_whw 20:07 2025-03-13*/
    padding: 0 20px;
    text-align: center;
}

.breadcrumbs {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 24px;
}
.breadcrumbs a {
    color: #6c757d;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: #ff7200;
}
.breadcrumbs-divider {
    margin-bottom: 36px;
}

.news-article__title {
    font-size: 24px;
    color: #52525B;
    margin-bottom: 8px;
    text-align: left;
}
.news-article__date {
    font-size: 14px;
    color: #52525B;
    margin-bottom: 20px;
    text-align: left;
}

.news-article__image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.news-article__content {
    font-size: 16px;
    color: #52525B;
    line-height: 1.8;
    text-align: left;
}
.news-article__content a {
    color: #ff7200;
    text-decoration: none;
    font-weight: bold;
}
.news-article__content a:hover {
    text-decoration: underline;
}

.news-article__link {
    color: #ff5722;
    font-weight: bold;
    text-align: left;
}

.news-article__note {
    font-size: 16px;
    color: #52525B;
    margin-top: 20px;
    text-align: left;
}

.news-article__share {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 16px;
    font-weight: bold;
}
.news-article__share-icon {
    width: 30px;
    height: 30px;
}
.news-article__share-container {
    margin-bottom: 60px;
}
.news-article__share-divider {
    width: 100%;
}

.course__title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #32325d;
}

@media (min-width: 576px) {
    .news-article__inner {
      padding: 0 1rem;
    }
}

@media (min-width: 768px) {
    .col-10.mt-5.news-article {
      max-width: 720px;
    }
    .news-article__inner {
      max-width: 100%;
      padding: 0 1rem;
    }
}

@media (min-width: 992px) {
    .col-10.mt-5.news-article {
      max-width: 960px;
    }
    .news-article__inner {
      max-width: 80%;
      padding: 0 20px;
    }
}

@media (min-width: 1200px) {
    .col-10.mt-5.news-article {
      max-width: 1140px;
      padding: 0 20px !important;
    }
    .news-article__inner {
      max-width: 70%;
    }
  }

@media (min-width: 1400px) {
    .col-10.mt-5.news-article {
      max-width: 1320px;
    }
    .news-article__inner {
      max-width: 65%;
    }
}

/*-- Updated design: coursepage --*/

.container.course-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 576px) {
    .container.course-page {
      max-width: 540px;
    }
  }
  @media (min-width: 768px) {
    .container.course-page {
      max-width: 720px;
    }
  }
  @media (min-width: 992px) {
    .container.course-page {
      max-width: 960px;
    }
  }
  @media (min-width: 1200px) {
    .container.course-page {
      max-width: 1140px;
    }
  }
  @media (min-width: 1400px) {
    .container.course-page {
      max-width: 1320px;
    }
}

.course-page__banner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.course-page__banner-background {
    width: 100%;
    height: 100%;
}
.course-page__banner-background img {
    width: 100%;
    height: auto;
}

.course-page__banner-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 20px 40px;
    border-radius: 4px;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 360px;
}

.course-page__banner-title {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 2px;
    color: black;
    margin-bottom: 20px;
}

.course-page__banner-text {
    font-size: 16px;
    color: black;
    line-height: 1.8;
    letter-spacing: 2px;
}

@media (min-width: 768px) {
    .course-page__banner-title {
      font-size: 24px;
    }
}

@media (max-width: 991px) {
    .course-page__banner {
      display: none;
    }
  }

@media (min-width: 992px) {
    .course-page__banner-box {
      left: 8%;
      transform: none;
    }
    .course-page__banner-title {
      font-size: 26px;
    }
}

.course-page__filter {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 24px;
}

.course-page__filter-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.course-page__filter-title {
    font-weight: bold;
    font-size: 16px;
}

.course-page__search-bar {
    display: flex;
    align-items: center;
    width: 300px;
}

.course-page__search-input {
    flex-grow: 1;
    height: 40px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.course-page__search-btn {
    background-color: #ff7200;
    color: white;
    height: 40px;
    width: 90px;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: horizontal-tb;
    padding: 0 10px;
}
.course-page__search-btn:hover {
    background-color: #fd7e14;
    color: white;
}

.course-page__location-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-page__location-icon {
    width: 28px;
    height: 28px;
}

.course-page__location {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    padding: 4px 8px;
}

.course-page__filter-group {
    margin-top: 10px;
}

.course-page__filter-label {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.course-page__filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-page__filter-btn {
    background-color: #eeeeee;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.course-page__filter-btn--active,
.course-page__location.active {
    background-color: #2c3e50;
    color: white;
}

@media (min-width: 768px) {
    .course-page__banner-title {
      font-size: 26px;
    }
}

  @media (min-width: 992px) {
    .course-page__banner-box {
      left: 8%;
      transform: none;
    }
}

.course__list {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

@media (min-width: 576px) {
    .course__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .course__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .course__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .course__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .course__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/*-- Updated design: course_content page --*/

.course-article,
.course__blocks-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 20px;
}

.course-article__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.course-article__image-column {
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
}

.course-article__info-column {
    flex-basis: 40%;
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 8px;
    padding-left: 20px;
}

.course-article__image-column img {
    width: 100%;
    height: auto;
    margin-top: 32px;
    border-radius: 8px;
}

.course-article__labels .course-article__label {
    background: #42516F;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 8px;
    color: white;
    font-size: 16px;
}

.course-article__title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.course-article__description p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #52525B;
}

.course-article__meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}
.course-article__meta-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.course-article__actions .btn {
    border: 2px solid #ff7200;
    background: transparent;
    color: #ff7200;
    padding: 6px 12px;
    margin-right: 8px;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.course-article__btn-icon {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.course-article__actions .btn:hover {
    background-color: rgba(255, 114, 0, 0.2);
}

.course-article__modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
.course-article__modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 40px 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.course-article__modal-content h4 {
    text-align: center;
    margin-top: 0;
}
.course-article__share {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    text-align: center;
}

.course-article__share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-article__share .course-article__share-icon {
    width: 56px;
    height: 56px;
    vertical-align: middle;
}

.course-article__share-label {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}

.course-article__modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.course-article__modal-close:hover,
.course-article__modal-close:focus {
    color: #000;
}
.course-article__modal-content input[type="email"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    order: 1;
}
.course-article__modal-note {
    font-size: 10pt;
    color: #52525B;
    margin-top: 0;
    text-align: left;
    order: 2;
}

.course-article__subscribe-btn {
    background-color: #ff7200;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    order: 3;
}
.course-article__subscribe-btn:hover {
    background-color: #e65c00;
}

.course-article__price {
    color: #ff7200;
    font-size: 20px;
    margin-bottom: 10px;
}
.course-article__current-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff7200;
}

.course-article__enroll-btn {
    background: #ff7200;
    color: white;
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
    max-width: 240px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
}

.course-article__blocks-container {
    background-color: #f0f0f0;
    width: 100%;
    margin-bottom: 60px;
}
.course-article__content-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.course-article__info-section {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    font-family: 'Cabin', sans-serif;
}
.course-article__info-section-header .o-section-subtitle {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    padding-left: 10px;
}
.course-article__info-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.course-article__info-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.course-article__icon-text {
    display: flex;
    align-items: center;
}
.course-article__info-item-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.course-article__info-item-value {
    display: block;
    font-size: 16px;
    color: #333;
}

.course-article__content-section {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    font-family: 'Cabin', sans-serif;
}
.course-article__content-section-header .o-section-subtitle {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    padding-left: 10px;
}
.course-article__content-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.course-article__content-block {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    flex: 1;
    min-width: calc(50% - 20px);
}
.course-article__block-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000;
}
.course-article__block-body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.course-article__training-target {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    font-family: 'Cabin', sans-serif;
}
.course-article__training-target-header .o-section-subtitle {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    padding-left: 10px;
}
.course-article__training-target-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.course-article__training-target-block {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    flex: 1;
    min-width: 100%;
}
.course-article__training-target-list {
    list-style: disc;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.course-article__notes {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    font-family: 'Cabin', sans-serif;
    margin-bottom: 60px;
}
.course-article__notes-header .o-section-subtitle {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    padding-left: 10px;
}
.course-article__notes-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.course-article__notes-block {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    flex: 1;
    min-width: 100%;
}
.course-article__notes-list {
    list-style: disc;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 767.98px) {
  .course-article__row {
    flex-direction: column;
  }
  .course-article__info-column {
    margin: 0;
    padding-left: 0;
  }
}

@media (min-width: 768px) {
  .course-article__row {
    gap: 24px;
  }
  .course-article__block-title {
    font-size: 22px;
  }
  .course-article__info-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .course-article__training-target-block {
    min-width: calc(50% - 20px);
  }
  .course-article__info-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .course-article__content-block {
    min-width: calc(33.333% - 20px);
  }
  .course-article__info-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
.my_color {
    color: #fff;
    background-color: #FF7200;
}