.t-navbar {
    min-height: 80px;
    font-size: 16px;
}

.t-navbar-logo {
    max-width: 46px;
}

.t-navbar-logo-wide {
    max-width: 320px;
}

.t-text-indent {
    text-indent: 2rem;
}

.t-text-spaces {
    margin-left: 2rem;
}

.t-line-height-normal {
    line-height: 1.5;
}

.t-text-line-height {
    line-height: 1.75rem;
}

.t-text-line-height-lg {
    line-height: 2rem;
}

.t-prompt-container .t-prompt-image {
    width: 75%;
}

.t-base-prompt-container .t-base-prompt-image {
    width: 75%;
}

.t-text-grey {
    color: #6f6f6f;
}

.t-text-black-40 {
    color: rgba(0, 0, 0, 0.4);
}

.t-text-black-60 {
    color: rgba(0, 0, 0, 0.6);
}

.t-btn-primary {
    color: #fff;
    background-color: #277b4b;
    border-color: #226b41;
}

.t-btn-primary:hover {
    color: #fff;
    background-color: #1e693e;
    border-color: #185532;
}

.t-aspect-ratio {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 比例计算：9/16=0.5625 */
    overflow: hidden;
}

.t-aspect-ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .t-navbar {
        min-height: 60px;
        font-size: 1rem;
    }

    .t-navbar-logo {
        max-width: 32px;
    }

    .t-navbar-logo-wide {
        max-width: 240px;
    }

    .t-text-indent {
        text-indent: 1.4rem;
    }

    .t-text-spaces {
        margin-left: 1.4rem;
    }

    .t-text-line-height {
        line-height: 1.5rem;
    }

    .t-text-line-height-lg {
        line-height: 1.7rem;
    }

    .display-1 {
        font-size: 4.2rem;
    }

    .display-2 {
        font-size: 3.85rem;
    }

    .display-3 {
        font-size: 3.15rem;
    }

    .display-4 {
        font-size: 2.45rem;
    }

    .h1,
    h1 {
        font-size: 1.75rem;
    }

    .h2,
    h2 {
        font-size: 1.3rem;
    }

    .h3,
    h3 {
        font-size: 1.25rem;
    }

    .h4,
    h4 {
        font-size: 1.15rem;
    }

    .h5,
    h5 {
        font-size: 1rem;
    }

    .h6,
    h6 {
        font-size: 0.85rem;
    }

    body,
    .t-text-body {
        font-size: 0.85rem;
    }

    .dropdown-item {
        white-space: normal;
    }

    .t-prompt-container .t-prompt-image {
        width: 50%;
    }

    .t-base-prompt-container .t-base-prompt-image {
        width: 60%;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .t-navbar {
        min-height: 60px;
        font-size: 1rem;
    }

    .t-navbar-logo {
        max-width: 32px;
    }

    .t-navbar-logo-wide {
        max-width: 260px;
    }

    .t-text-indent {
        text-indent: 1.6rem;
    }

    .t-text-spaces {
        margin-left: 1.6rem;
    }

    .t-text-line-height {
        line-height: 1.5rem;
    }

    .t-text-line-height-lg {
        line-height: 1.7rem;
    }

    .display-1 {
        font-size: 4.8rem;
    }

    .display-2 {
        font-size: 4.4rem;
    }

    .display-3 {
        font-size: 3.6rem;
    }

    .display-4 {
        font-size: 2.8rem;
    }

    .h1,
    h1 {
        font-size: 2rem;
    }

    .h2,
    h2 {
        font-size: 1.6rem;
    }

    .h3,
    h3 {
        font-size: 1.4rem;
    }

    .h4,
    h4 {
        font-size: 1.2rem;
    }

    .h5,
    h5 {
        font-size: 1rem;
    }

    .h6,
    h6 {
        font-size: 0.85rem;
    }

    body,
    .t-text-body {
        font-size: 0.85rem;
    }

    .dropdown-item {
        white-space: normal;
    }

    .t-prompt-container .t-prompt-image {
        width: 50%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .t-navbar {
        min-height: 60px;
        font-size: 1rem;
    }

    .t-navbar-logo {
        max-width: 32px;
    }

    .t-navbar-logo-wide {
        max-width: 260px;
    }

    .dropdown-item {
        white-space: normal;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .t-navbar {
        min-height: 60px;
        font-size: 14px;
    }

    .t-lang-dropdown .dropdown-menu {
        font-size: 14px;
        min-width: auto;
    }

    .t-lang-dropdown .dropdown-menu .dropdown-item {
        min-width: 120px;
    }

    .t-navbar-logo-wide {
        max-width: 260px;
    }

    .dropdown-item {
        white-space: normal;
        min-width: 320px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

.t-nav-image {
    max-height: 1rem;
    vertical-align: -0.12rem;
}

.t-main-container {
    min-height: calc(100vh - 80px - 215px);
}

.t-bg-navbar {
    background-color: #005629;
}

.t-bg-navbar.navbar-dark .navbar-nav .nav-link {
    color: #f8f9fa;
}

.t-bg-footer {
    background-color: #277b4b;
    color: #f8f9fa;
}

.t-footer-title-border {
    text-decoration-line: underline;
    text-decoration-color: #faf2a0;
    text-decoration-thickness: 4px;
    text-underline-offset: 20px;
}

.t-text-purple {
    color: #005629;
}

.t-link-purple {
    color: #03823f;
}

.t-link-purple:hover {
    color: #005629;
}

.t-btn-outline-navbar {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

.t-btn-outline-navbar:hover {
    color: #005629;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

span.t-lang-btn::before {
    content: "";
    width: 1rem;
    height: 1rem;
    display: inline-block;
    background: url("../assets/lang.png");
    vertical-align: -0.12rem;
    background-size: contain;
    margin-right: 0.3rem;
}

.t-nav-btn {
    color: #f8f9fa;
    background-color: #005629;
    border-bottom: 2px solid #005629;
}

.t-nav-btn:hover {
    color: #f8f9fa;
    text-decoration: none;
    background-color: #006c33;
    border-bottom: 2px solid #f8f9fa;
    border-radius: 2px;
}

.t-lang-dropdown .dropdown-menu {
    margin-top: -2px;
    border-top-right-radius: 0;
}

.t-nav-btn.dropdown-toggle::after {
    display: none;
}

.t-navbar .t-btn-outline-navbar:not(:disabled):not(.disabled).active,
.t-navbar .t-btn-outline-navbar:not(:disabled):not(.disabled):active,
.t-navbar .show > .t-btn-outline-navbar.dropdown-toggle {
    color: #005629;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.t-navbar.navbar-dark .navbar-toggler {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

.t-navbar .dropdown-item:focus,
.t-navbar .dropdown-item:hover {
    color: #f8f9fa;
    text-decoration: none;
    background-color: #4db376;
}

.t-navbar .navbar-nav .nav-item:hover,
.t-navbar .navbar-nav .nav-item.active {
    color: #f8f9fa;
    text-decoration: none;
    background-color: #006c33;
    border-bottom: 2px solid #f8f9fa;
    border-radius: 2px;
}

.t-navbar .t-nav-expand-dropdown .dropdown-toggle::after {
    display: none;
}

.t-navbar .t-nav-expand-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: -2px;
    border-top-left-radius: 0;
}

.t-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: 0.5rem;
    color: #6c757d;
    content: ">";
}

.t-scrollbar {
    overflow: hidden auto;
}

.t-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 5px;
}

.t-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #343a401a;
}

.t-school-logo {
    max-height: 130px;
    object-fit: contain;
}

.t-school-logo-sm {
    max-height: 90px;
    object-fit: contain;
}

.t-border-bottom {
    border-bottom: 2px solid;
}

.t-border-bottom-sm {
    border-bottom: 1px solid;
}

.t-jumbotron-logo {
    max-height: 160px;
    object-fit: contain;
}

.t-jumbotron-logo-sm {
    max-height: 80px;
    object-fit: contain;
}

.t-bg-jumbotron {
    background-image: url(../assets/wave-white.png), linear-gradient(145deg, #006c33, #116d3d);
    background-size: contain;
    background-repeat: repeat-x;
    background-position: left bottom;
}

.t-expert-image {
    max-width: 240px;
}

.t-hover-pointer:hover {
    cursor: pointer;
}

.t-text-container {
    max-height: 9rem;
    width: 100%;
    overflow: hidden;
    overflow-wrap: break-word;
}

.t-text-original {
    display: none;
}

.t-text-ellipsis,
.t-text-original {
    line-height: 1.5rem;
}

.t-sch-txt {
    position: relative;
    max-height: 15rem;
    line-height: 1.5rem;
    overflow: hidden;
}

.t-sch-txt.t-bg-white::after {
    content: "";
    position: absolute;
    bottom: -4px;
    display: block;
    width: 100%;
    height: 4rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

.t-sch-txt.t-expanded {
    max-height: none;
    height: auto;
}

.t-arrow-container {
    position: relative;
    top: -2.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
}

.t-arrow {
    position: relative;
    width: 0.75rem;
    height: 0.75rem;
    border-top: 2px solid #03823f;
    border-left: 2px solid #03823f;
    transform: rotate(-135deg);
    cursor: pointer;
    opacity: 0.4;
}

.t-arrow:nth-child(1) {
    top: 1.25rem;
    animation-delay: -0.4s;
}

.t-arrow:nth-child(2) {
    animation-delay: -0.2s;
}

.t-arrow-container:hover .t-arrow {
    opacity: 1;
}

.t-arrow-container.t-arrow-up {
    top: 0;
}

.t-arrow-container.t-arrow-up .t-arrow {
    transform: rotate(45deg);
}

.t-arrow-container.t-arrow-up .t-arrow:nth-child(1) {
    top: 0.25rem;
}

.t-news-detail table {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.t-news-detail tbody td,
tfoot td {
    padding: 0.25rem;
}
