.department-topbar {
    background: #100f11;
    border-bottom: 1px solid rgba(185, 18, 2, 0.35);
    padding: 8px 0;
}

.department-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #bebebe;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.department-topbar__inner ul {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.department-topbar__inner a {
    color: #bebebe;
}

.department-topbar__inner a:hover {
    color: #fff;
}

.logo-box-one .department-brand,
.footer-logo-one .department-brand,
.department-brand {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.department-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 48px;
    height: 48px;
    padding: 0 10px;
    background: var(--thm-primary-color);
    color: #fff;
    font-family: var(--thm-heading-font-family);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.department-brand__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    white-space: nowrap;
}

.department-brand__text strong {
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.department-brand__text small {
    color: #bebebe;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.navbar-wrap > ul > li.active > a,
.navbar-wrap > ul > li.current > a {
    color: var(--thm-primary-color);
}

.navbar-wrap > ul > li.active > a::after,
.navbar-wrap > ul > li.current > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    height: 2px;
    background: var(--thm-primary-color);
}

.sticky-menu .navbar-wrap > ul > li.active > a::after,
.sticky-menu .navbar-wrap > ul > li.current > a::after {
    bottom: 24px;
}

.mobile-menu .navigation li.active > a,
.mobile-menu .navigation li.current > a {
    color: var(--thm-primary-color);
}

.mobile-menu .navigation li.active > a:before,
.mobile-menu .navigation li.current > a:before {
    height: 100%;
    width: 3px;
    background: var(--thm-primary-color);
}

.department-kicker {
    color: #ff4d3d;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.department-kicker__line {
    width: 50px;
    height: 2px;
    background-color: #ff4d3d;
    display: inline-block;
}

.banner-one__content .big-title h2 {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.banner-one__content .big-title p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 620px;
}

.department-faculty-card {
    background: #1a1a1c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 20px 28px;
    text-align: center;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.department-faculty-card:hover {
    transform: translateY(-6px);
    border-color: var(--thm-primary-color);
}

.department-faculty-card__photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--thm-primary-color);
}

.department-faculty-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-faculty-card__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #2a2a2c;
    color: #fff;
    font-size: 36px;
    font-weight: 600;
}

.team-one--department .team-one__single {
    margin-bottom: 30px;
}

.team-one--department .team-one__single-img {
    min-height: 320px;
    background: #1a1a1c;
}

.team-one--department .team-one__single-img img,
.team-one--department .team-one__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: top center;
}

.team-one--department .team-one__placeholder {
    color: #fff;
    font-size: 72px;
    font-weight: 600;
}

.team-one--department .team-one__next {
    margin-top: 50px;
}

.department-faculty-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 6px;
}

.department-faculty-card span,
.department-faculty-card p,
.department-faculty-card a {
    color: #bebebe;
    font-size: 14px;
}

.liuma-hero .banner-one__single {
    padding: 210px 0 150px;
}

.liuma-hero .banner-one__content .big-title {
    opacity: 1;
    transform: none;
}

.liuma-hero .banner-one__bg {
    transform: scale(1.03);
}

.liuma-hero .banner-one__content .big-title h2 {
    font-size: 92px;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.liuma-hero .banner-one__content .big-title p {
    max-width: 540px;
}

.liuma-hero__full {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    max-width: 560px;
    margin-bottom: 16px !important;
}

.liuma-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.liuma-hero__ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.liuma-hero__ghost:hover {
    border-color: var(--thm-primary-color);
}

.liuma-stamp {
    width: 320px;
    height: 320px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 6px var(--thm-primary-color);
}

.liuma-stamp img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

#about,
#activities,
#join {
    scroll-margin-top: 120px;
}

.liuma-card {
    background: #1a1a1c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 36px 28px;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.liuma-card:hover {
    transform: translateY(-6px);
    border-color: var(--thm-primary-color);
}

.liuma-card span {
    color: var(--thm-primary-color);
    font-size: 32px;
    display: inline-block;
    margin-bottom: 18px;
}

.liuma-card h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 12px;
}

.liuma-card p {
    color: #bebebe;
    margin-bottom: 0;
}

.liuma-path {
    padding: 40px 0 90px;
}

.liuma-step {
    background: #1a1a1c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 28px 36px;
    height: 100%;
}

.liuma-step__num {
    display: block;
    color: var(--thm-primary-color);
    font-family: var(--thm-heading-font-family);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    line-height: 1;
}

.liuma-step h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
}

.liuma-step p {
    color: #bebebe;
    margin-bottom: 0;
}

.liuma-join {
    padding: 90px 0 110px;
    background: #141416;
}

.liuma-join__note {
    color: #bebebe;
    margin-bottom: 24px;
    max-width: 460px;
}

.liuma-join__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.liuma-join__list li {
    position: relative;
    color: #fff;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.liuma-join__list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 10px;
    height: 10px;
    background: var(--thm-primary-color);
}

.liuma-join__form {
    background: #1a1a1c;
    border: 1px solid rgba(185, 18, 2, 0.28);
    padding: 40px 36px;
}

.liuma-join__form .input-box {
    margin-bottom: 18px;
}

.liuma-join__form input,
.liuma-join__form textarea {
    width: 100%;
    background: #141416;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 16px 18px;
    outline: none;
}

.liuma-join__form textarea {
    min-height: 140px;
    resize: vertical;
}

.liuma-join .ajax-response.success {
    color: #8fdfb0;
    margin-top: 16px;
}

.liuma-join .ajax-response.error {
    color: #ff6b6b;
    margin-top: 16px;
}

.dept-calendar {
    padding: 70px 0 90px;
}

.dept-calendar__intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.dept-calendar__intro .section-title {
    margin: 0;
}

.dept-calendar__intro .section-title h2 {
    margin-bottom: 0;
}

.dept-calendar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #bebebe;
    font-size: 13px;
}

.dept-calendar__legend i,
.dept-calendar__dots i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    vertical-align: middle;
    background: var(--thm-primary-color);
}

.dept-calendar__legend i {
    margin-right: 6px;
}

.kind-class { background: #4aa3ff !important; }
.kind-holiday { background: #d4a017 !important; }
.kind-office_holiday,
.kind-weekly_holiday { background: #c0392b !important; }
.kind-exam { background: #1cbb8c !important; }
.kind-event { background: #2e86ab !important; }
.kind-notice { background: #8e44ad !important; }
.kind-meeting { background: #1e8449 !important; }

.dept-calendar__panel,
.dept-calendar__month {
    background: #17161a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

.dept-calendar__panel-head,
.dept-calendar__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dept-calendar__panel-head h3,
.dept-calendar__nav h3 {
    color: #fff;
    margin: 0;
    font-size: 22px;
}

.dept-calendar__panel-head span,
.dept-calendar__panel-head em {
    display: block;
    color: #bebebe;
    font-style: normal;
    font-size: 13px;
}

.dept-calendar__panel-head em {
    white-space: nowrap;
}

.dept-calendar__panel-body {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.dept-calendar__nav {
    margin-bottom: 20px;
}

.dept-calendar__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(185, 18, 2, 0.18);
    color: #fff !important;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
}

.dept-calendar__nav-btn:hover {
    background: var(--thm-primary-color);
}

.dept-calendar__item {
    background: #100f11;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--thm-primary-color);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.dept-calendar__item:last-child {
    margin-bottom: 0;
}

.dept-calendar__item-top {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.dept-calendar__item strong,
.dept-calendar__item p {
    color: #fff;
    margin: 0;
}

.dept-calendar__kind {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #bebebe;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dept-calendar__meta,
.dept-calendar__status,
.dept-calendar__details,
.dept-calendar__empty,
.dept-calendar__note {
    color: #bebebe;
}

.dept-calendar__meta {
    margin-top: 8px !important;
}

.dept-calendar__details {
    white-space: pre-line;
    margin-top: 6px !important;
    font-size: 14px;
}

.dept-calendar__status {
    margin-top: 6px !important;
    font-size: 13px;
}

.dept-calendar__item a {
    display: inline-block;
    margin-top: 8px;
    color: var(--thm-primary-color);
}

.dept-calendar__empty {
    margin: 0;
    padding: 18px 0;
}

.dept-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.dept-calendar__weekday {
    text-align: center;
    color: #bebebe;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-bottom: 8px;
}

.dept-calendar__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 78px;
    padding: 12px 6px 10px;
    background: #100f11;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dept-calendar__cell:hover {
    border-color: rgba(185, 18, 2, 0.45);
}

.dept-calendar__day-num {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.dept-calendar__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    min-height: 9px;
}

.dept-calendar__cell.is-outside {
    opacity: 0.35;
}

.dept-calendar__cell.is-holiday {
    background: rgba(192, 57, 43, 0.12);
}

.dept-calendar__cell.is-today {
    border-color: var(--thm-primary-color);
}

.dept-calendar__cell.is-selected {
    background: var(--thm-primary-color);
    border-color: var(--thm-primary-color);
}

.dept-calendar__cell.is-selected .dept-calendar__dots i {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.dept-calendar__item.kind-class { border-left-color: #4aa3ff; }
.dept-calendar__item.kind-holiday { border-left-color: #d4a017; }
.dept-calendar__item.kind-office_holiday,
.dept-calendar__item.kind-weekly_holiday { border-left-color: #c0392b; }
.dept-calendar__item.kind-exam { border-left-color: #1cbb8c; }
.dept-calendar__item.kind-event { border-left-color: #2e86ab; }
.dept-calendar__item.kind-notice { border-left-color: #8e44ad; }
.dept-calendar__item.kind-meeting { border-left-color: #1e8449; }

.dept-calendar__note {
    margin: 0 0 10px;
    font-size: 14px;
}

@media (max-width: 991px) {
    .dept-calendar {
        padding: 50px 0 70px;
    }

    .dept-calendar__cell {
        min-height: 64px;
        padding: 10px 4px 8px;
    }

    .dept-calendar__day-num {
        font-size: 14px;
    }

    .dept-calendar__panel-body {
        max-height: none;
    }
}

@media (max-width: 991px) {
    .banner-one__content .big-title h2 {
        font-size: 36px;
    }

    .liuma-hero .banner-one__single {
        padding: 160px 0 100px;
    }

    .liuma-hero .banner-one__content .big-title h2 {
        font-size: 56px;
    }

    .liuma-stamp {
        width: 200px;
        height: 200px;
        box-shadow: 0 0 0 4px var(--thm-primary-color);
    }
}


.liuma-activities-grid .blog-page__single {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
}

.liuma-activities-grid .blog-page__single-img {
    flex-shrink: 0;
    height: 200px;
}

.liuma-activities-grid .blog-page__single-img a {
    display: block;
    height: 100%;
}

.liuma-activities-grid .blog-page__single-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.liuma-activities-grid .blog-page__single-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-top: 16px;
}

.liuma-activities-grid .meta-box {
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 13px;
}

.liuma-activities-grid .meta-box li {
    margin-right: 0;
}

.liuma-activities-grid .blog-page__single-content .title h2 {
    font-size: 23px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.liuma-activities-grid .btn-box {
    margin-top: auto;
}

.liuma-post-image {
    width: 100%;
    height: auto;
    aspect-ratio: 85 / 52;
}

.liuma-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.liuma-post-body {
    overflow-wrap: anywhere;
}

.liuma-post-body img,
.liuma-post-body video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.liuma-post-body video {
    width: 100%;
    max-height: 520px;
}

.liuma-post-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
