﻿:root {
    --tg-primary: #029e9d;
    --tg-primary-dark: #00a99d;
    --tg-accent: #ff6a00;
    --tg-text: #0f172a;
    --tg-muted: #64748b;
    --tg-border: #e8edf5;
    --tg-soft: #f8fafc;
    --tg-green-soft: #ecfdf5;
    --tg-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}
body,
body.site,
button,
input,
select,
textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}
/* tg-header */
.tgo-item-redesign .additional {
   display: none;
}
.tg-header {
    width: 100%;
    padding: 0;
    background: transparent;
    z-index: 1030;
}
.tg-topbar,
.tg-below-top,
.tg-header-inner,
.tg-mobile-panel {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}
.tg-topbar,
.tg-below-top {
    margin-bottom: 10px;
}
.tg-header-inner {
    min-height: 72px !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 34px;
    background: #ffffff;
    border-bottom: 1px solid rgba(232, 237, 245, 0.92);
}
.tg-header-left {
    flex: 0 0 auto;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.tg-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--tg-text);
}
.tg-logo img,
.tg-logo .logo {
    display: block;
    max-height: 32px;
    width: auto;
}
.tg-logo span {
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    color: var(--tg-text);
}
.tg-logo-desktop,
.tg-logo-mobile {
    display: inline-flex;
    align-items: center;
}
.tg-logo-mobile {
    display: none;
}
.tg-header-center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}
.tg-header-center ul,
.tg-header-center ol,
.tg-header-center .mod-menu,
.tg-header-center .metismenu,
.tg-header-center .nav,
.tg-header-center .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.tg-header-center li,
.tg-header-center .metismenu-item,
.tg-header-center .nav-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}
.tg-header-center a,
.tg-header-center span,
.tg-header-center button,
.tg-header-center .mod-menu__heading,
.tg-header-center .mm-toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--tg-text) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    position: relative;
}
.tg-header-center li.active > a,
.tg-header-center li.current > a,
.tg-header-center a:hover,
.tg-header-center a:focus,
.tg-header-center button:hover,
.tg-header-center button:focus {
    color: var(--tg-primary) !important;
}
.tg-header-center li.active > a::after,
.tg-header-center li.current > a::after,
.tg-header-center a:hover::after,
.tg-header-center a:focus::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--tg-accent);
    border-radius: 999px;
}
.tg-header-center .metismenu-item.parent,
.tg-header-center .metismenu-item.deeper,
.tg-header-center li.parent,
.tg-header-center li.deeper {
    position: relative !important;
}
.tg-header-center .metismenu-item.parent::before,
.tg-header-center .metismenu-item.deeper::before,
.tg-header-center li.parent::before,
.tg-header-center li.deeper::before {
    content: "";
    position: absolute;
    left: -18px;
    right: -18px;
    top: 100%;
    height: 22px;
    display: block;
    background: transparent;
    z-index: 1999;
}
.tg-header-center .mod-menu__sub,
.tg-header-center .mm-collapse,
.tg-header-center .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 2000 !important;
    display: none !important;
    min-width: 220px !important;
    margin-top: 10px !important;
    padding: 10px !important;
    background: #ffffff !important;
    border: 1px solid rgba(232, 237, 245, 0.96) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12) !important;
    pointer-events: auto !important;
}
.tg-header-center .mod-menu__sub::before,
.tg-header-center .mm-collapse::before,
.tg-header-center .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: transparent;
}
.tg-header-center li:hover > .mod-menu__sub,
.tg-header-center li:hover > .mm-collapse,
.tg-header-center li:hover > .dropdown-menu,
.tg-header-center li:focus-within > .mod-menu__sub,
.tg-header-center li:focus-within > .mm-collapse,
.tg-header-center li:focus-within > .dropdown-menu {
    display: grid !important;
    gap: 4px !important;
}
.tg-header-center .mod-menu__sub li,
.tg-header-center .mm-collapse li,
.tg-header-center .dropdown-menu li {
    display: block !important;
    width: 100% !important;
}
.tg-header-center .mod-menu__sub a,
.tg-header-center .mm-collapse a,
.tg-header-center .dropdown-menu a {
    width: 100% !important;
    justify-content: flex-start !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
    border-radius: 10px !important;
}
.tg-header-center .mod-menu__sub a:hover,
.tg-header-center .mm-collapse a:hover,
.tg-header-center .dropdown-menu a:hover {
    background: var(--tg-green-soft) !important;
    color: var(--tg-primary) !important;
}
.tg-header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 160px;
}
.tg-header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tg-header-tools form,
.tg-mobile-tools form {
    margin: 0;
}
.tg-icon-btn,
.tg-tool-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tg-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--tg-text);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    padding: 0;
}
.tg-tool-btn svg,
.tg-icon-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}
.tg-icon-btn:hover,
.tg-icon-btn:focus,
.tg-tool-btn:hover,
.tg-tool-btn:focus,
.tg-tool-dropdown.is-open > .tg-tool-btn {
    color: var(--tg-primary);
    border-color: rgba(34, 197, 94, 0.28);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}
.tg-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--tg-accent);
    color: #ffffff;
    font-size: 11px;
    line-height: 18px;
    font-weight: 800;
    text-align: center;
}
.tg-signin-btn,
.tg-signin-btn a,
.tg-header-tools .mod-login a,
.tg-header-tools .login-greeting + a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px 3px;
    border-radius: 22px;
    background: var(--tg-primary-dark);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    border: 0;
}
.tg-signin-btn:hover,
.tg-signin-btn a:hover,
.tg-header-tools .mod-login a:hover,
.tg-header-tools .login-greeting + a:hover {
    background-color: var(--tg-primary-dark) !important;
    color: #ffffff;
}
.tg-member-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--tg-primary-dark);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}
.tg-member-btn svg {
    width: 16px;
    height: 16px;
}
.tg-member-btn:hover,
.tg-member-btn:focus,
.tg-tool-dropdown.is-open > .tg-member-btn {
    color: #ffffff;
}
.tg-member-icon-btn {
    width: 58px;
    min-width: 58px;
    height: 32px;
    min-height: 30px;
    padding: 0;
    border-radius: 16px;
    gap: 4px;
}
.tg-member-icon-btn .tg-member-icon {
    width: 21px;
    height: 21px;
}
.tg-member-icon-btn .tg-member-chevron {
    width: 14px;
    height: 14px;
}
.tg-tool-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.tg-dropdown-panel {
    position: absolute;
    top: calc(100% + 16px);
    right: -50%;
    width: min(180px, calc(100vw - 32px));
    min-width: 180px;
    display: none;
    padding: 16px;
    background: #ffffff;
    border: 1px solid rgba(232, 237, 245, 0.96);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
    z-index: 2500;
}
.tg-dropdown-panel::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
    background: transparent;
}
.tg-tool-dropdown.is-open > .tg-dropdown-panel,
.tg-tool-dropdown:hover > .tg-dropdown-panel {
    display: block;
}
.tg-cart-panel {
    min-height: 92px;
}
.tg-login-panel,
.tg-member-panel {
    min-width: 180px;
}
.tg-empty-panel {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-muted);
    font-size: 14px;
    font-weight: 700;
}
.tg-member-panel a,
.tg-login-panel a,
.tg-cart-panel a {
    color: var(--tg-text);
    text-decoration: none;
}
.tg-member-panel a:hover,
.tg-login-panel a:hover,
.tg-cart-panel a:hover {
    color: var(--tg-primary);
}
.com-users-login {
    max-width: 450px;
    margin: 0 auto 50px;
}
.tg-search-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 5000;
}
.tg-search-overlay.is-open {
    display: block;
}
.tg-search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(8px);
}
.tg-search-overlay-box {
    position: relative;
    width: min(820px, calc(100vw - 32px));
    margin: 12vh auto 0;
    padding: 34px;
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}
.tg-search-title {
    margin-bottom: 18px;
    color: var(--tg-text);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
}
.tg-search-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--tg-text);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.tg-search-close:hover,
.tg-search-close:focus {
    background: #e8edf5;
}
.tg-search-wrap .mod-finder,
.tg-search-wrap .search,
.tg-search-wrap .finder,
.tg-search-overlay-content form,
.tg-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.tg-search-wrap input[type="search"],
.tg-search-wrap input[type="text"] {
    width: 160px;
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--tg-border);
    background: #ffffff;
    color: var(--tg-text);
    font-size: 13px;
    padding: 0 14px;
    box-shadow: none;
}
.tg-search-wrap button,
.tg-header-tools .btn,
.tg-mobile-tools .btn {
    min-height: 40px;
    border-radius: 999px;
}
.tg-search-overlay-content input[type="search"],
.tg-search-overlay-content input[type="text"],
.tg-search-form input[type="text"] {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--tg-border);
    border-radius: 16px;
    padding: 0 18px;
    color: var(--tg-text);
    background: #ffffff;
    font-size: 16px;
    outline: none;
}
.tg-search-overlay-content input[type="search"]:focus,
.tg-search-overlay-content input[type="text"]:focus,
.tg-search-form input[type="text"]:focus {
    border-color: rgba(34, 197, 94, 0.42);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.08);
}
.tg-search-overlay-content button[type="submit"],
.tg-search-form button[type="submit"] {
    min-height: 58px;
	min-width: 90px;
    padding: 0 26px;
    border: 0;
    border-radius: 16px;
    background: var(--tg-primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}
.tg-search-overlay-content button[type="submit"]:hover,
.tg-search-form button[type="submit"]:hover {
    background: var(--tg-primary-dark);
}
.tg-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--tg-border);
    border-radius: 14px;
    background: #ffffff;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.tg-menu-toggle span {
    width: 19px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--tg-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.tg-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.tg-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.tg-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.tg-mobile-panel {
    display: none;
    margin-top: 12px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(232, 237, 245, 0.92);
    border-radius: 18px;
    box-shadow: var(--tg-shadow);
}
.tg-mobile-panel.is-open {
    display: block;
}
.tg-mobile-panel ul,
.tg-mobile-panel ol,
.tg-mobile-panel .mod-menu,
.tg-mobile-panel .metismenu,
.tg-mobile-panel .nav,
.tg-mobile-panel .navbar-nav {
    display: grid !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.tg-mobile-panel li,
.tg-mobile-panel .metismenu-item,
.tg-mobile-panel .nav-item {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.tg-mobile-panel .metismenu-item > a,
.tg-mobile-panel .metismenu-item > span,
.tg-mobile-panel .metismenu-item > button.mod-menu__heading,
.tg-mobile-panel .nav-item > a,
.tg-mobile-panel .nav-item > span,
.tg-mobile-panel li > a,
.tg-mobile-panel li > span {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    width: 100% !important;
    padding: 11px 46px 11px 14px !important;
    border-radius: 12px !important;
    color: var(--tg-text) !important;
    background: transparent !important;
    text-decoration: none !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
}
.tg-mobile-panel .metismenu-item > a:hover,
.tg-mobile-panel .metismenu-item > a:focus,
.tg-mobile-panel .metismenu-item.current > a,
.tg-mobile-panel .metismenu-item.active > a,
.tg-mobile-panel li.current > a,
.tg-mobile-panel li.active > a {
    background: var(--tg-green-soft) !important;
    color: var(--tg-primary) !important;
}
.tg-mobile-panel .mm-toggler,
.tg-mobile-panel .mm-toggler-link {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: rgba(34, 197, 94, 0.08) !important;
    color: var(--tg-text) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}
.tg-mobile-panel .mm-toggler::after,
.tg-mobile-panel .mm-toggler-link::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}
.tg-mobile-panel li.mobile-submenu-open > .mm-toggler::after,
.tg-mobile-panel li.mobile-submenu-open > .mm-toggler-link::after,
.tg-mobile-panel li.mm-active > .mm-toggler::after,
.tg-mobile-panel li.mm-active > .mm-toggler-link::after {
    transform: rotate(-135deg) translateY(-2px);
}
.tg-mobile-panel .mod-menu__sub,
.tg-mobile-panel .mm-collapse,
.tg-mobile-panel .dropdown-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 3px 0 8px !important;
    padding: 6px 0 6px 14px !important;
    border: 0 !important;
    border-left: 2px solid rgba(34, 197, 94, 0.18) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.tg-mobile-panel li.mobile-submenu-open > .mod-menu__sub,
.tg-mobile-panel li.mobile-submenu-open > .mm-collapse,
.tg-mobile-panel li.mobile-submenu-open > .dropdown-menu,
.tg-mobile-panel li.mm-active > .mod-menu__sub,
.tg-mobile-panel li.mm-active > .mm-collapse,
.tg-mobile-panel li.mm-active > .dropdown-menu {
    display: grid !important;
    gap: 4px !important;
}
.tg-mobile-panel .mod-menu__sub a,
.tg-mobile-panel .mm-collapse a,
.tg-mobile-panel .dropdown-menu a {
    min-height: 40px !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--tg-muted) !important;
}
.tg-mobile-tools {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--tg-border);
}
.tg-mobile-tools input[type="search"],
.tg-mobile-tools input[type="text"] {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid var(--tg-border);
    padding: 0 14px;
}
.tg-mobile-search-button,
.tg-member-mobile-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tg-border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--tg-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
}
.tg-member-mobile-link {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 14px;
}
.tg-member-mobile-link svg {
    width: 22px;
    height: 22px;
}
.bs-lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 10050;
}
.bs-lang-switcher summary {
    list-style: none;
}
.bs-lang-switcher summary::-webkit-details-marker {
    display: none;
}
.bs-lang-toggle {
    height: 32px;
    min-width: 82px;
    padding: 0 14px;
    border: 1px solid #e6ebf2;
    border-radius: 999px;
    background: #ffffff;
    color: var(--tg-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.bs-lang-toggle:hover,
.bs-lang-switcher[open] .bs-lang-toggle {
    border-color: rgba(34, 197, 94, 0.35);
    background: var(--tg-green-soft);
    color: var(--tg-primary);
}
.bs-lang-current-flag,
.bs-lang-item-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    font-size: 16px;
    line-height: 1;
    flex: 0 0 24px;
}
.bs-lang-current-flag img {
   width: 14px;
}
.bs-lang-item-flag  img {
   width: 14px;
}
.bs-lang-current-label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.bs-lang-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    transition: transform 0.22s ease;
}
.bs-lang-switcher[open] .bs-lang-arrow {
    transform: rotate(180deg);
}
.bs-lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 190px;
    z-index: 10060;
}
.bs-lang-dropdown-inner {
    background: #ffffff;
    border: 1px solid #edf1f5;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
    padding: 10px;
    overflow: hidden;
}
.bs-lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #111827;
    transition: all 0.2s ease;
}
.bs-lang-item:hover {
    background: var(--tg-green-soft);
    color: var(--tg-primary);
}
.bs-lang-name {
    flex: 1 1 auto;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
}
.bs-lang-check {
    color: var(--tg-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tg-mobile-bottom-nav {
    display: none;
}
[data-rlta-type="accordions"] h3 {
  text-align: center;
}
body.wrapper-fluid .site-grid {
  grid-gap: 0 1em !important;
}
h1, .h1 {
  font-size: 18px !important;
}
h2, .h2 {
  font-size: 17px !important;
}
h3, .h3 {
  font-size: 16px !important;
}
h4, .h4 {
  font-size: 14px !important;
}
h5, .h5 {
  font-size: 13px !important;
}
h6, .h6 {
  font-size: 12px !important;
}
.alert-message {
  text-align: center !important;
  font-size: 20px !important;
}
table{
border: solid 1px #e0e0e0;
}
.breadcrumb {
background-color: #d8d8d8 !important;
}

.scroll-container {
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            padding: 10px 0;
            position: relative;
        }
.scroll-text {
            display: inline-block;
            white-space: nowrap;
            position: absolute;
			top: 0;
            animation: scroll 15s linear infinite;
        }
        @keyframes scroll {
            from {
                transform: translateX(0%);
            }
            to {
                transform: translateX(-100%);
            }
        }
/* header */
.container-below-top {
 width: 100%;
 background-color: #fff;
}
.container-below-top .mod-custom {
 margin: 0 auto;
}
.container-header {
 /* huo background-color: #f7f7f7; */
  background-color: #4e7661;
  box-shadow: unset;
  background-image: none;
}
.container-topbar {
  background-color: #4e7661;
  padding: 10px 0;
  text-align: right;
  min-height: 40px;
  margin-top: -26px;
}
.container-header .mod-menu {
 /* huo color: #4e7661; */
 color: #f9f9f9;
}
/* menu center */
.container-header .container-nav {
  justify-content: center;
}
.below-top-bg {
 padding: 10px 0;
}
.logo-img {
max-height: 40px;
margin-left: -10px;
}
/* login */
.login-note {
  display: none;
}
.mod-login {
  width: 300px;
  margin: 0 auto;
  padding: 20px 10px 0;
}
.mod-login-logout {
  width: 200px;
  margin: 0 auto;
  padding: 20px;
}
#com-users-login__form {
  display: none;
}
.com-users-login__options  {
  display: none;
}
/* alert */
#system-message-container joomla-alert[type="info"], #system-message-container joomla-alert[type="notice"] {
  --alert-accent-color: #4e7661;
  --alert-heading-text: #fffffff2;
  --alert-close-button: #4e7661;
  background-color: #fff;
}
#system-message-container joomla-alert{
  border: 1px solid #4e7661;
}
/* menu */
.container-banner {
  background-color: #e2eaf5;
}
#navbar1 {
  margin-left: -16px;
}
.container-header .navbar-toggler {
  /* huo color: #333 !important;
  cursor: pointer;
  border: 1px solid #333 !important;
  */
}
.navbar-toggler:focus {
  box-shadow: none;
}
/* button */
.btn-primary {
  --btn-color: #fff;
  --btn-bg: #4e7661;
  --btn-border-color: #4e7661;
  --btn-hover-color: #fff;
  --btn-hover-bg: #4e7661;
  --btn-hover-border-color: #4e7661;
  --btn-focus-shadow-rgb: 39,39,111;
  --btn-active-color: #fff;
  --btn-active-bg: #4e7661;
  --btn-active-border-color: #4e7661;
  --btn-active-shadow: inset 0 3px 5px #00000020;
  --btn-disabled-color: #fff;
  --btn-disabled-bg: #4e7661;
  --btn-disabled-border-color: #4e7661;
}
.btn-primary {
  background-color: #4e7661;
  border-color: #4e7661;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #446754;
    box-shadow: inset -1px -1px 1px rgba(0, 0, 0, 0.15);
    color: #ffffff;
	border: 1px solid #4e7661;
}
.pagenavigation .btn-secondary {
  background-color: #4e7661 !important;
  color: #fff !important;
  padding: 5px 20px !important;
}
/* link */
a {
  color: #4e7661;
}
a:hover {
  color: #4e7661;
}
a:not([class]) {
  text-decoration: none !important;
}

/* alert */
#system-message-container joomla-alert div{
 background-color: #e2eaf5;
}

/** huo
html[lang="en-gb"] .aq-dt-results {
max-height: 750px;
}

/* huo add */
.jj_class .page-header {
  display: none;
}
/** jj part */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --color-red-500: oklch(0.637 0.237 25.331);
    --color-gray-100: oklch(0.967 0.003 264.542);
    --color-gray-400: oklch(0.707 0.022 261.325);
    --color-gray-500: oklch(0.551 0.027 264.364);
    --color-gray-900: oklch(0.21 0.034 264.665);
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --radius-lg: 0.5rem;
    --default-font-family: var(--font-sans);
    --default-font-feature-settings: var(--font-sans--font-feature-settings);
    --default-font-variation-settings: var(--font-sans--font-variation-settings);
    --default-mono-font-family: var(--font-mono);
    --default-mono-font-feature-settings: var(--font-mono--font-feature-settings);
    --default-mono-font-variation-settings: var(--font-mono--font-variation-settings);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  body {
    line-height: inherit;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
    color: color-mix(in oklab, currentColor 50%, transparent);
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none!important;
  }
}
@layer utilities {
  .mt2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .h-auto {
    height: auto;
  }
  .w-20 {
    width: calc(var(--spacing) * 20);
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .items-center {
    align-items: center;
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .text-gray-400 {
    color: var(--color-gray-400);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-900 {
    color: var(--color-gray-900);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .md\:p-8 {
    @media (width >= 48rem) {
      padding: calc(var(--spacing) * 8);
    }
  }
  .lg\:grid-cols-4 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
}

/* huo add */
.readmore a {
 border-color: #575e64;
}
.page-header {
 display: none;
}
.article_class .page-header {
 display: block;
}
.page_header_p {
min-width: 243px;
}
.blog-item .item-content {
min-width: 243px;
}
.blog-items .blog-item {
    padding: 20px !important;
    background-color: #e2eaf5 !important;
    border-radius: 10px;
	border-left: solid 5px #4e7661 !important;
  }
.speaking_title {
  	 padding: 20px;
}
.speaking_title_no_border {
    padding: 20px 20px 0px 20px;
	border: none;
	width: 100%;
}
.choose_one {
  padding-left: 45px;
  font-size: 14px;
  font-weight: normal;
}
.sp7_p {
  margin: 0px 10px 0px 22px;
  padding-bottom: 20px;
  border-bottom: solid 1px #f9f9f9;
}
.jj_class .page-header {
  display: none;
}
.jj_container {
      width: 100%;
	  max-width: 960px;
	  margin: 0 auto;
      /* huo min-height: 100vh;*/
      background-color: white;
      border: 1px solid #d1d5db;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    .jj_header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #f3f4f6;
      border-bottom: 1px solid #d1d5db;
      padding: 0.5rem 1.5rem;
      font-weight: 600;
      color: #374151;
      flex-wrap: wrap;
    }

    .panel-wrapper {
      display: flex;
      flex-wrap: wrap;
    }

    .left-panel,
    .right-panel {
      padding: 1rem;
    }

    .left-panel {
      background-color: #f5f5f5;
      border-right: 1px solid #d1d5db;
      flex: 0 0 30%;
      box-sizing: border-box;
    }

    .right-panel {
      background-color: #EEF8F9;
      flex: 0 0 70%;
      box-sizing: border-box;
    }

    .panel-header {
      display: flex;
      align-items: flex-start;
    }

    .panel-header i {
      color: #1A578A;
      margin-right: 0.5rem;
      margin-top: 0.25rem;
    }

    .panel-title {
      font-size: 1.125rem;
      font-weight: 600;
      color: #1A578A;
      margin: 0;
    }

    p {
      line-height: 1.6;
      margin-top: 0;
    }

    ul {
      list-style-type: disc;
      margin-left: 1.5rem;
      margin-bottom: 1rem;
      line-height: 1.6;
      padding-left: 0;
    }

    textarea {
      width: 100%;
      height: 8rem;
      border: 1px solid #d1d5db;
	  border-radius: 5px;
      background-color: white;
      color: #1f2937;
      padding: 0.5rem;
      resize: none;
      font-family: inherit;
      font-size: 0.875rem;
      box-sizing: border-box;
    }
	#rlta-panel-xie-zuo-kuang [data-rlta-element="container"][data-rlta-state="ready"][data-rlta-theme="neutral"][data-rlta-type="tabs"] > [data-rlta-element="panels"] > [data-rlta-element="panel"] > [data-rlta-element="panel-content"] {
	 padding: 0 !important;
	}
  .keyking_note {
      font-size: 0.75rem;
      color: #374151;
      margin-top: 0.5rem;
      font-style: italic;
	  margin-top: 10px;
	  margin-left: 20px;
    }
	.pic_timer {
	 width: 100%;
	}
	.keyking_note_sp3-4 {
      font-size: 0.75rem;
      color: #374151;
      margin-top: 0.5rem;
      font-style: italic;
	  margin-top: 20px;
	  margin-left: 20px;
    }
    .percent60 {
	 width: 58%;
	 margin-left: 2%;
	 float: left;
	}
	.percent60 img {
	 max-height: 400px;
	}
	 .percent40 {
	 width: 40%;
	 margin-left: auto;
	 margin-right: auto;
	 margin-top: 160px;
	 float: left;
	}
	 .percent40 img {
	 margin: 0 auto;
	 }
	 .sample_class { 
	 max-width: 960px; 
	 margin: 0 auto;
	 }
    @media (max-width: 768px) {
	 .speaking_title {
  	 padding: 2px !important;
    }
	.choose_one {
     padding-left: 25px;
     }
      .left-panel,
      .right-panel {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid #d1d5db;
      }
	  .sp3-4-left-pic {
	   max-width: 93% !important;
	  }
	  .percent60 {
	  width: 100%;
	  margin: 10px !important;
	}
	 .percent40 {
	 width: 100%;
	 margin-top: 20px;
	}
	  #mod-custom111 textarea{
	   display: block;
	  }
      .right-panel {
        border-bottom: none;
      }
    }
/* 注意*/
.com-content-blog__links {
  display: none;
}
.pagination {
  --pagination-active-bg: #4e7661 !important;
  --pagination-active-border-color: #4e7661 !important;
  --pagination-disabled-color: #fff !important;
  max-width: 960px;
  margin: 0 auto !important;
  padding: 20px 0 10px 0 !important;
}
.page-link {
 color: #4e7661 !important;
}
.page-link.active, .active > .page-link {
  color: #ffffff !important;
}
/* writing task 2 */
.option_block {
  margin-left: 30px;
  margin-top: -23px;
}
/* speaking 5 */
 .three-parts {
  margin-left: 23px;
 }
 .backBtn {
			width: 62px;
            height: 24px;
            background-color: #A6192E;
            color: #fff;
            border: none;
			float:right;
			margin-right: 25px;
        }
 .div-container {
            display: none;
            padding: 20px;
        }

        #div1 { }
        #div2 { }
        #div3 { }

        .show {
            display: block;
        }

        #nextBtn {
            cursor: pointer;
            width: 61px;
            height: 24px;
        }
 .comparison-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
      }

      .box {
        border: 1px solid #ccc;
        padding: 16px;
      }

      .box img {
        width: 100%;
        height: auto;
        margin-bottom: 12px;
      }

      .light-green {
        background-color: #f0fdf4;
      }

      .pet-title {
        font-weight: bold;
        margin-bottom: 8px;
        color: #2d3748;
      }

      ul {
        font-size: 14px;
        color: #4a5568;
        padding-left: 20px;
      }

      .note {
        font-size: 12px;
        color: #4a5568;
        font-style: italic;
        margin-top: 16px;
      }



      /* 响应式样式 */
      @media (max-width: 768px) {
        .comparison-grid {
          grid-template-columns: 1fr; /* 列布局变成单列 */
        }

        .instruction {
          font-size: 16px;
        }

        .box {
          padding: 12px;
        }

        .header {
          flex-direction: column;
          text-align: center;
        }

        .header-left, .header-middle {
          margin-bottom: 8px;
        }
      }

      @media (max-width: 480px) {
        .instruction {
          font-size: 14px;
        }

        .pet-title {
          font-size: 16px;
        }

        .note {
          font-size: 10px;
        }

      }

/* CELPIP Category Blog cards and filters */
.celpip-filter-panel {
  margin-block: 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid #d9e2ec;
  border-radius: 0.75rem;
  background: #f8fafc;
}

.celpip-filter-section + .celpip-filter-section {
  margin-block-start: 1.25rem;
}

.celpip-filter-heading,
.celpip-mobile-filter-label {
  display: block;
  margin-block-end: 0.625rem;
  color: #243b53;
  font-weight: 700;
}

.celpip-date-filter-row,
.celpip-topic-filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.celpip-date-filter-button,
.celpip-topic-filter-button {
  min-block-size: 2.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid #9fb3c8;
  border-radius: 999px;
  background: #fff;
  color: #243b53;
  cursor: pointer;
  line-height: 1.2;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.celpip-date-filter-button:hover,
.celpip-topic-filter-button:hover {
  border-color: #486581;
  background: #eaf2f8;
}

.celpip-date-filter-button:focus-visible,
.celpip-topic-filter-button:focus-visible,
.celpip-card-link:focus-visible {
  outline: 3px solid #f6ad55;
  outline-offset: 3px;
}

.celpip-date-filter-button.is-active,
.celpip-topic-filter-button.is-active {
  border-color: #a6192e;
  background: #a6192e;
  color: #fff;
}

.celpip-date-filter-button {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
}

.celpip-mobile-filter-group + .celpip-mobile-filter-group {
  margin-block-start: 1rem;
}

.celpip-mobile-select {
  inline-size: 100%;
  max-inline-size: 100%;
}

.celpip-filter-mobile {
  display: none;
}

.celpip-filter-no-results {
  margin-block: 1.25rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #fff3cd;
  color: #664d03;
}

.celpip-category-blog .celpip-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-block: 1.5rem;
}

.celpip-card-grid.com-content-category-blog__items > .com-content-category-blog__item {
  min-inline-size: 0;
  margin: 0;
}

.celpip-card {
  block-size: 100%;
  overflow: hidden;
  border: 1px solid #d9e2ec;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.25rem 0.8rem rgba(36, 59, 83, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.celpip-card:hover {
  border-color: #9fb3c8;
  box-shadow: 0 0.6rem 1.3rem rgba(36, 59, 83, 0.14);
  transform: translateY(-2px);
}

.celpip-card-link {
  display: block;
  block-size: 100%;
  color: inherit;
  text-decoration: none;
}

.celpip-card-link:hover {
  color: inherit;
  text-decoration: none;
}

.celpip-card-content {
  display: flex;
  flex-direction: column;
  min-block-size: 100%;
  padding: 1.25rem;
}

.celpip-card-title {
  margin: 0;
  color: #102a43;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.35;
}

.celpip-card-subtitle {
  margin-block: 0.65rem 0;
  color: #486581;
  font-size: 0.95rem;
  line-height: 1.5;
}

.celpip-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-block-start: auto;
  padding-block-start: 1rem;
}

.celpip-card-tag {
  display: inline-flex;
  align-items: center;
  max-inline-size: 100%;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.celpip-card-date {
  background: #e6f6ff;
  color: #035388;
}

.celpip-card-topic {
  background: #e9f7ef;
  color: #216e4e;
}

.celpip-card-attribute {
  background: #fff3e0;
  color: #8a4b08;
}

.celpip-card-unpublished {
  opacity: 0.72;
}

@media (min-width: 1200px) {
  .celpip-category-blog .celpip-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .celpip-category-blog .celpip-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .celpip-filter-desktop {
    display: none;
  }

  .celpip-filter-mobile {
    display: block;
  }

  .celpip-category-blog .celpip-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .celpip-card-content {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .celpip-date-filter-button,
  .celpip-topic-filter-button,
  .celpip-card {
    transition: none;
  }
}

/* 首页题库卡片变量 */
@layer theme {
  :root,
  :host {
    --color-red-500: oklch(0.637 0.237 25.331);
    --color-gray-100: oklch(0.967 0.003 264.542);
    --color-gray-400: oklch(0.707 0.022 261.325);
    --color-gray-500: oklch(0.551 0.027 264.364);
    --color-gray-900: oklch(0.21 0.034 264.665);
    --color-white: #fff;

    --spacing: 0.25rem;

    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);

    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);

    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);

    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);

    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --radius-lg: 0.5rem;
  }
}

/* 首页题库卡片工具类 */
@layer utilities {
  .mt2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }

  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }

  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }

  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .h-auto {
    height: auto;
  }

  .w-20 {
    width: calc(var(--spacing) * 20);
  }

  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .items-center {
    align-items: center;
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }

  .bg-white {
    background-color: var(--color-white);
  }

  .p-4 {
    padding: calc(var(--spacing) * 4);
  }

  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--text-2xl--line-height);
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--text-lg--line-height);
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--text-sm--line-height);
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--text-xl--line-height);
  }

  .font-bold {
    font-weight: var(--font-weight-bold);
  }

  .font-semibold {
    font-weight: var(--font-weight-semibold);
  }

  .text-gray-400 {
    color: var(--color-gray-400);
  }

  .text-gray-500 {
    color: var(--color-gray-500);
  }

  .text-gray-900 {
    color: var(--color-gray-900);
  }

  .text-red-500 {
    color: var(--color-red-500);
  }

  .shadow-md {
    box-shadow:
      0 4px 6px -1px rgb(0 0 0 / 10%),
      0 2px 4px -2px rgb(0 0 0 / 10%);
  }
}

/* 平板：两列及较大外边距 */
@media (min-width: 48rem) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:p-8 {
    padding: calc(var(--spacing) * 8);
  }
}

/* 桌面：口语题库四列 */
@media (min-width: 64rem) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}