/* Document V1 adjustments, loaded after the existing page styles. */
:root { --content-width: 1120px; --section-title-size: 30px; }
body { font-size: 16px; letter-spacing: 0; }
.home-page h2, .about-copy h1, .history > h2, .about-faq > h2,
.tixi2-content > h1, .student-page-title, .course-page-title,
.detail-hero h1, .article-heading h1, .course-copy h1 {
  font-size: var(--section-title-size); line-height: 1.5; letter-spacing: 0;
}
.button { min-height: 38px; padding: 5px 18px; font-size: 16px; line-height: 26px; white-space: normal; text-align: center; }
.main-nav a, .detail-page .main-nav a, .tixi2-page .main-nav a, .tixi-page .main-nav a { font-size: 16px; letter-spacing: 0; }
.home-page .hero { height: 480px; }
.home-page .hero-content { padding-top: 172px; }
.home-page .hero h1 { font-size: 36px; line-height: 1.5; }
.home-page .hero p { margin-top: 18px; font-size: 17px; line-height: 28px; }
.home-page .hero-buttons { margin-top: 22px; }
.home-page .intro, .home-page .growth, .home-page .news, .home-page .certificates { padding-top: 64px; }
.home-page .intro::before, .home-page .news::before { display: none; }
.section-lead { max-width: 920px; min-height: 0; font-size: 16px; line-height: 28px; }
.section-sub { font-size: 16px; line-height: 26px; margin-top: 12px; }
.feature-tabs { height: 68px; margin-top: 32px; }
.feature-tab { font-size: 24px; line-height: 36px; gap: 12px; }
.feature-tab img { width: 36px; height: 36px; }
.feature-tab.active::after { width: 124px; height: 3px; }
.home-page .courses { padding-top: 24px; }
.pill-row { gap: 16px; margin-bottom: 24px; }
.pill { width: auto; flex: 1; max-width: none; min-height: 44px; padding: 8px 12px; font-size: 16px; line-height: 26px; white-space: normal; }
.home-page .course-grid { gap: 20px; }
:is(.home-page .course-grid, .course-list .course-grid) { width: min(920px, 100%); margin-inline: auto; }
.home-page .course-card { min-height: 0; padding: 20px 20px 14px; border-radius: 8px; }
:is(.home-page, .course-list, .course-system-page) .course-card { display: flex; flex-direction: column; }
:is(.home-page, .course-list, .course-system-page) .course-description { display: block; }
:is(.home-page, .course-list, .course-system-page) .course-actions { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 16px; }
:is(.course-list, .course-system-page) .course-actions .button { min-height: 36px; padding: 4px 14px; font-size: 14px; line-height: 26px; }
:is(.home-page, .course-list, .course-system-page) .course-description { border-bottom: 0; }
:is(.home-page, .course-list, .course-system-page) .course-actions { border-top: 1px solid #eee; }
.footer-legal-links { display: inline-flex; flex-wrap: wrap; gap: 0 16px; }
.footer-legal-links a { color: inherit; }
.footer-legal-links a:hover { color: var(--red); }
.home-page .course-art { border-radius: 6px; }
.home-page .course-details { margin-top: 18px; }
.home-page .course-heading { flex-wrap: wrap; gap: 4px 12px; }
.home-page .course-heading h3 { font-size: 22px; line-height: 32px; }
.home-page .course-heading span { font-size: 13px; white-space: normal; }
.home-page .course-description { flex-wrap: wrap; margin-top: 12px; gap: 12px; }
.home-page .course-description ul { padding-left: 22px; font-size: 16px; line-height: 28px; }
.home-page .course-meta { margin-top: 16px; padding-top: 10px; }
.home-page .course-meta p { font-size: 16px; line-height: 30px; }
.home-page .course-meta small { font-size: 12px; line-height: 22px; }
.home-page .family-video { margin-top: 32px; padding: 0; border-radius: 8px; overflow: hidden; box-shadow: none; }
.home-page .family-photo, .home-page .family-player { width: 100%; height: auto; aspect-ratio: var(--family-video-ratio, 16 / 9); border-radius: 8px; }
.home-page .family-player { background: transparent; object-fit: contain; }
.home-page .play-button { width: 90px; height: 70px; }
.segmented { gap: 28px; margin: 28px 0; }
.segment { width: 160px; height: 44px; font-size: 18px; line-height: 28px; }
.home-page .news-list { gap: 18px; }
.home-page .news-item { grid-template-columns: minmax(0, 1fr) 246px; min-height: 170px; gap: 24px; padding: 18px; border-radius: 8px; }
.home-page .news-copy h3 { font-size: 20px; line-height: 30px; }
.home-page .news-copy p { margin-top: 12px; font-size: 15px; line-height: 26px; }
.home-page .news-copy time { margin-top: 10px; font-size: 13px; line-height: 22px; }
.home-page .news-thumb { width: 246px; height: 137px; border-radius: 6px; }
.home-page .certificate-stage { --certificate-width: clamp(216px, 20.7vw, 288px); --certificate-space: 32px; height: calc(var(--certificate-width) * 916 / 1236 + var(--certificate-space) * 2); padding-block: var(--certificate-space); margin-top: 36px; }
.home-page .certificate-backdrop { background-size: 100% 100%; }
.certificate-carousel { position: relative; height: 100%; margin-inline: auto; padding: 0; overflow: clip; }
.certificate-track { position: relative; left: 0; display: flex; align-items: center; gap: 24px; height: 100%; }
.certificate-slide { flex: 0 0 auto; width: auto; height: 100%; display: flex; align-items: center; justify-content: center; }
.certificate-slide img { display: block; width: auto; height: 100%; max-width: none; object-fit: contain; }
.certificate-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.certificate-list-grid a { display: block; color: inherit; text-align: center; }
.certificate-list-grid img { display: block; width: 100%; height: 260px; object-fit: contain; background: #fff5f7; border-radius: 6px; }
.certificate-list-grid h2 { margin-top: 12px; font-size: 18px; line-height: 28px; }
.certificate-detail { text-align: center; }
.certificate-detail img { display: block; width: auto; max-width: 100%; max-height: 70vh; margin: 24px auto 0; object-fit: contain; }
.home-page .teachers, .home-page .students { height: auto; min-height: 0; padding: 24px 0; }
.home-page .teachers-viewport { width: min(var(--content-width), calc(100% - 64px)); margin: 0 auto; overflow: hidden; padding: 20px 0 12px; -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.teacher-carousel .swiper-wrapper { align-items: center; transition-timing-function: linear !important; }
.teacher-carousel .teacher-card { flex-shrink: 0; flex-basis: auto; width: 170px; height: 241px; border-radius: 8px; overflow: visible; background: none; }
.teacher-card > :is(a, .teacher-preview) { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 8px; background: transparent; transform: scale(.92); transition: transform .5s; }
.teacher-preview { padding: 0; border: 0; color: inherit; text-align: inherit; }
.teacher-card.swiper-slide-active > a { transform: scale(1.06); }
.teacher-carousel .teacher-card > :is(a, .teacher-preview), .teacher-carousel .teacher-card.swiper-slide-active > :is(a, .teacher-preview) { transform: none; transition: transform .25s ease, filter .25s ease, opacity .25s ease, box-shadow .25s ease; }
.teacher-carousel .teacher-card.is-highlighted, .teacher-carousel .teacher-card:focus-within { z-index: 2; }
.teacher-carousel .teacher-card.is-highlighted > .teacher-preview, .teacher-carousel .teacher-card:focus-within > .teacher-preview { transform: translateY(-13px); box-shadow: 0 14px 24px rgba(34,25,26,.22); }
.teacher-carousel.has-highlight .teacher-card:not(.is-highlighted) > .teacher-preview, .teacher-carousel:focus-within .teacher-card:not(:focus-within):not(.is-highlighted) > .teacher-preview { filter: blur(2px); opacity: .36; }
.teacher-card > :is(a, .teacher-preview) > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.teacher-card > a { cursor: zoom-in; }
.teacher-caption { bottom: 0; padding: 20px 4px 8px; background: linear-gradient(transparent, #22191aab); }
.teacher-caption h3 { font-size: 18px; line-height: 28px; letter-spacing: 0; }
.teacher-carousel .teacher-caption { inset: 0; padding: 0; background: linear-gradient(transparent 46%, rgba(34,25,26,.08) 54%, rgba(34,25,26,.82)); }
.teacher-carousel .teacher-caption h3 { position: absolute; top: 55%; left: 50%; min-width: 62%; max-width: calc(100% - 12px); height: 28px; padding: 0 6px; background: rgba(160,28,47,.7); transform: translateX(-50%); white-space: nowrap; }
.teacher-carousel .teacher-description { position: absolute; top: calc(55% + 36px); right: 4px; bottom: 7px; left: 4px; overflow: auto; overflow-wrap: anywhere; overscroll-behavior: contain; scrollbar-width: thin; font-size: 11px; line-height: 15px; }
.teacher-carousel .teacher-description p { position: static; min-height: 0; margin: 0; padding: 0; font: inherit; }
.teacher-description p:empty { display: none; }
.teacher-description::-webkit-scrollbar { width: 3px; }
.teacher-description::-webkit-scrollbar-thumb { border-radius: 3px; background: #ffffff80; }
.teacher-description:focus-visible { outline: 1px solid #fff; outline-offset: 1px; }
.students-content { gap: 24px; }
.student-carousel { width: 100%; min-width: 0; padding: 8px 0 0; }
.student-carousel .student-card { min-height: 0; height: 216px; padding: 16px; border-radius: 8px; transform: none; transition: border-color .2s; }
.student-carousel .student-card:hover { transform: none; border-color: var(--red); box-shadow: var(--shadow); }
.home-page .student-carousel { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.home-page .student-carousel .student-card { border-color: #eee6e8; border-left: 2px solid var(--red); }
.student-video-carousel, .student-carousel { min-width: 0; overflow: clip; }
.student-video-track, .student-review-track { position: relative; left: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; padding: 8px 0; }
.student-video-track .student-media-card { height: 208px; padding: 16px; border-color: #eee6e8; border-left: 2px solid var(--red); border-radius: 8px; }
.student-video-track .student-card-inner { height: 100%; padding: 0; }
.student-video-track .student-meta { font-size: 12px; line-height: 24px; }
.student-video-track .student-avatar { width: 24px; height: 24px; flex-basis: 24px; font-size: 12px; }
.student-video-track:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 1100px) { .student-video-track, .student-review-track { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 799px) { .student-video-track, .student-review-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 539px) { .student-video-track, .student-review-track { grid-auto-columns: 80%; } }
.student-video-player, .student-video-empty { display: block; width: 100%; min-height: 0; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: contain; }
.student-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.student-video-frame .student-video-player { height: 100%; }
.home-page .student-video-frame, .home-page .student-video-empty { flex: 1; min-height: 0; height: 0; }
.home-page .student-video-player { object-fit: cover; }
.student-video-status { margin: 6px 0; color: var(--red); font-size: 12px; }
.student-video-empty { display: grid; place-items: center; background: #111; color: #fff; font-size: 14px; }
.student-media-meta { min-width: 0; width: 100%; margin-top: 10px; flex-direction: row; align-items: center; gap: 8px; }
.student-media-meta .student-meta { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; overflow-wrap: normal; }
.student-media-meta .student-meta > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.student-media-card .student-media-meta .student-tag { flex: 0 1 48%; max-width: 48%; min-height: 20px; padding: 1px 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
[data-student-preview] { cursor: pointer; }
.student-carousel .student-card-inner { position: relative; height: 100%; padding: 0; }
.student-carousel .student-card-inner::before { display: none; }
.student-carousel .student-meta { min-width: 0; font-size: 12px; line-height: 24px; font-weight: 400; white-space: normal; overflow-wrap: anywhere; }
.student-carousel .student-avatar { width: 24px; height: 24px; flex-basis: 24px; font-size: 12px; }
.student-carousel .student-quote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 12px 0; font-size: 14px; line-height: 24px; }
.student-carousel .student-tag { max-width: 100%; min-height: 22px; padding: 2px 8px; font-size: 11px; line-height: 18px; white-space: normal; }
.student-list { padding-top: 40px; padding-bottom: 48px; }
.student-categories { display: flex; justify-content: center; gap: 64px; margin-bottom: 36px; }
.student-category { padding: 10px 4px 14px; border-bottom: 3px solid transparent; color: #777; font: 700 30px/1.5 var(--serif); }
.student-category.active { color: var(--red); border-color: var(--red); }
.student-category:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.student-list-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.student-list-grid .student-card { min-height: 0; height: 246px; padding: 0; border-radius: 8px; }
.student-list-grid .student-card-inner { padding: 20px 16px; }
.student-list-grid .student-card-inner::before { display: none; }
.student-list-grid .student-meta { font-size: 13px; line-height: 24px; overflow-wrap: anywhere; }
.student-list-grid .student-avatar { width: 26px; height: 26px; flex-basis: 26px; font-size: 13px; }
.student-list-grid .student-quote { margin-top: 16px; font-size: 15px; }
.student-list-grid .student-tag { font-size: 11px; padding: 2px 8px; }
.student-video-grid .student-media-card { height: auto; padding: 0; }
.student-video-grid .student-card-inner { padding: 16px; }
.student-video-grid .student-video-frame, .student-video-grid .student-video-empty { height: 160px; aspect-ratio: auto; }
.student-video-grid .student-video-player { aspect-ratio: auto; object-fit: cover; }
@media (max-width: 1100px) { .student-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .student-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .student-categories { gap: 32px; margin-bottom: 24px; } .student-category { font-size: 24px; } }
@media (max-width: 480px) { .student-list-grid { grid-template-columns: 1fr; } }
.student-list [data-student-preview]:focus { outline: none; }
.student-list .student-card:hover { border-color: rgba(181,27,50,.12); }
.student-list [data-student-preview]:focus-visible { background: #fff8f9; }
.student-list-page .student-preview-close:focus { outline: none; }
.student-list-page .student-preview-close:focus-visible { background: #f2f2f2; border-radius: 4px; }
.detail-page .students-page.container { width: min(var(--content-width), calc(100% - 64px)); }
.student-page-title { margin-bottom: 24px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; height: 52px; margin-top: 12px; --swiper-theme-color: var(--red); }
.carousel-prev, .carousel-next { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #e6dadd; border-radius: 50%; }
.carousel-prev::before, .carousel-next::before { content: ''; width: 8px; height: 8px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: rotate(45deg); }
.carousel-prev::before { transform: rotate(-135deg); }
.carousel-controls .swiper-button-disabled { opacity: .35; cursor: default; }
.carousel-controls .swiper-button-lock { display: none; }
.carousel-controls .carousel-pagination { position: relative; flex: 0 0 100px; width: 100px; left: auto; bottom: auto; transform: none; text-align: center; }
.carousel-controls > .carousel-pagination.swiper-pagination-bullets { left: auto; transform: none; }
.carousel-pagination .swiper-pagination-bullet { margin: 0 4px; }
.student-preview-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; border: 1px solid #eddde0; border-radius: 8px; padding: 40px 28px 28px; color: var(--ink); }
.student-preview-dialog::backdrop { background: #0006; }
.student-preview-dialog .student-quote { display: block; margin: 20px 0; font-size: 17px; line-height: 30px; overflow-wrap: anywhere; }
.student-preview-dialog .student-card-inner { height: auto; }
.student-preview-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; }
.student-preview-close::before, .student-preview-close::after { content: ''; position: absolute; top: 13px; left: 5px; width: 18px; height: 2px; background: #555; transform: rotate(45deg); }
.student-preview-close::after { transform: rotate(-45deg); }
.image-preview-dialog { width: min(900px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 42px 18px 18px; border: 0; border-radius: 8px; background: #111; }
.image-preview-dialog::backdrop { background: rgba(0,0,0,.78); }
.image-preview-dialog img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 100px); object-fit: contain; }
.image-preview-dialog.has-teacher img { max-height: calc(100dvh - 240px); }
.teacher-preview-caption { margin-top: 12px; color: #fff; text-align: center; }
.teacher-preview-caption h3 { font-size: 20px; line-height: 30px; }
.teacher-preview-caption p { margin-top: 4px; font-size: 14px; line-height: 22px; }
.image-preview-dialog .student-preview-close::before, .image-preview-dialog .student-preview-close::after { background: #fff; }
.image-preview-dialog .student-preview-close:focus-visible { outline: none; border-radius: 4px; background: #343434; }
.student-article-media { margin: 28px 0; }
.student-article-media img, .student-article-media video { display: block; width: min(708px, 100%); max-height: 70vh; height: auto; margin: 0 auto; border-radius: 12px; }
.tixi2-page .container { width: min(980px, calc(100% - 64px)); }
.tixi2-content { min-height: 0; padding-top: 40px; padding-bottom: 56px; }
.tixi2-content > h1 { margin-bottom: 24px; }
.systems-list { gap: 32px; }
.system-banner { height: auto; aspect-ratio: 1400/372; border-radius: 8px; }
.system-info { min-height: 0; padding-top: 14px; gap: 24px; }
.system-info h2 { margin: 0 0 10px; font-size: 21px; line-height: 32px; }
.system-info p { font-size: 16px; line-height: 26px; }
.tags { margin-bottom: 10px; }
.tags span { font-size: 13px; line-height: 20px; }
.system-link { width: 140px; height: 38px; font-size: 16px; }
.tixi2-page .header-actions { display: none; }
.about-intro { padding-top: 48px; }
.about-intro-grid { min-height: 0; gap: 32px; }
.about-copy > p { margin-top: 16px; font-size: 16px; line-height: 28px; letter-spacing: 0; }
.about-fields { margin-top: 16px; font-size: 16px; line-height: 28px; }
.about-values { margin-top: 0; grid-auto-rows: minmax(148px, auto); gap: 12px; }
.value-card { padding: 22px 12px; border-radius: 8px; }
.value-card h2 { font-size: 24px; line-height: 36px; }
.value-card p { margin-top: 10px; font-size: 16px; line-height: 26px; }
.value-card:not(:first-child) p { letter-spacing: 0; }
.about-banner { height: auto; aspect-ratio: 1400/438; margin-top: 36px; border-radius: 8px; }
.history { height: 510px; padding-top: 64px; background-size: 100% 360px; }
.history::before { top: 208px; }
.timeline-viewport { margin-top: 32px; }
.timeline-track { gap: 24px; padding-top: 112px; }
.timeline-item { width: 280px; flex-basis: 280px; height: auto; }
.timeline-item time { top: -112px; font-size: 30px; line-height: 45px; }
.timeline-item::before { top: -56px; left: 30px; width: 24px; height: 24px; }
.timeline-item::after { top: -50px; left: 36px; width: 12px; height: 12px; }
.timeline-card { width: 264px; min-height: 142px; padding: 16px 16px 16px 48px; border-radius: 8px; }
.timeline-card::before { left: 25px; top: -40px; height: 64px; }
.timeline-card::after { left: 20px; }
.timeline-card h3 { font-size: 21px; line-height: 32px; }
.timeline-card p { margin-top: 12px; font-size: 15px; line-height: 26px; }
.timeline-pagination { top: auto; bottom: 40px; }
.about-faq { padding-block: 64px; }
.faq-list { margin-top: 32px; }
.faq-item summary { padding-block: 20px; font-size: 19px; line-height: 30px; }
.faq-item summary::before { flex-basis: 10px; width: 10px; height: 10px; }
.faq-answer { padding: 0 22px 22px; font-size: 16px; line-height: 29px; }
.about-page .footer-main { grid-template-columns: minmax(0, 1fr) 82px 310px; gap: 32px; }
.footer-links, .about-page .footer-links { font-size: 16px; line-height: 26px; }
.footer-brand p, .about-page .footer-brand p { white-space: normal; letter-spacing: 0; overflow-wrap: anywhere; }
.footer-qrcodes figure, .footer-qrcodes img { width: 90px; }
.footer-qrcodes img { height: 90px; }
.footer-qrcodes figcaption { font-size: 16px; }

/* Keep the standalone lists at the same scale as the home page. */
.detail-page .course-list.container, .detail-page .news-page-list.container { width: min(var(--content-width), calc(100% - 64px)); }
.course-list, .news-page-list { padding-top: 40px; padding-bottom: 32px; }
.course-page-title { margin-bottom: 24px; }
:is(.course-list, .youxing-main) .course-grid { gap: 20px; }
:is(.course-list, .youxing-main) .course-card { min-height: 0; padding: 20px 20px 14px; border-radius: 8px; }
:is(.course-list, .youxing-main) .course-art { border-radius: 6px; }
:is(.course-list, .youxing-main) .course-details { margin-top: 18px; }
:is(.course-list, .youxing-main) .course-heading { flex-wrap: wrap; gap: 4px 12px; }
.course-list .course-heading h2, .youxing-main .course-heading h3 { font-size: 22px; line-height: 32px; text-align: left; overflow-wrap: anywhere; }
:is(.course-list, .youxing-main) .course-heading span { font-size: 13px; line-height: 22px; white-space: normal; }
:is(.course-list, .youxing-main) .course-description { flex-wrap: wrap; margin-top: 12px; padding-bottom: 12px; gap: 12px; }
:is(.course-list, .youxing-main) .course-description ul { padding-left: 22px; font-size: 16px; line-height: 28px; }
:is(.course-list, .youxing-main) .course-description .button { min-height: 36px; padding: 4px 14px; font-size: 14px; line-height: 26px; }
:is(.course-list, .youxing-main) .course-meta { margin-top: 12px; padding-top: 10px; }
:is(.course-list, .youxing-main) .course-meta p { font-size: 16px; line-height: 28px; }
:is(.course-list, .youxing-main) .course-meta small { font-size: 12px; line-height: 22px; }
.news-categories { gap: 28px; margin-bottom: 28px; }
.news-category { width: 160px; min-height: 44px; padding: 8px 16px; font-size: 18px; line-height: 28px; }
.news-page-list .news-list { gap: 18px; }
.news-page-list .news-item { grid-template-columns: minmax(0, 1fr) 246px; min-height: 170px; gap: 24px; padding: 18px; border-radius: 8px; }
.news-page-list .news-image-link, .news-page-list .news-thumb { border-radius: 6px; }
.news-page-list .news-copy h2 { font-size: 20px; line-height: 30px; }
.news-page-list .news-copy p { margin-top: 12px; font-size: 15px; line-height: 26px; }
.news-page-list .news-copy time { margin-top: 10px; font-size: 13px; line-height: 22px; }
.detail-page .list-pagination { gap: 8px; margin-top: 32px; padding: 18px 0 8px; font-size: 13px; line-height: 22px; }
.list-pagination .page-status { margin-bottom: 4px; font-size: 12px; line-height: 20px; }
.list-pagination .page-numbar { gap: 8px; }
.list-pagination a { min-width: 36px; min-height: 36px; padding: 6px 12px; border-radius: 6px; font-size: 13px; line-height: 22px; }

.youxing-page .container, .tixi-page .container { width: min(var(--content-width), calc(100% - 64px)); }
.youxing-page .main-nav a { font-size: 16px; letter-spacing: 0; }
.youxing-page .youxing-main { min-height: 0; padding-top: 24px; padding-bottom: 48px; }
.youxing-main > .breadcrumb { width: 100%; margin: 0 0 16px; }
.youxing-page .breadcrumb, .tixi-page .breadcrumb { height: auto; min-height: 56px; flex-wrap: wrap; gap: 8px; padding-block: 12px; font-size: 14px; line-height: 24px; }
.youxing-heading { margin-bottom: 28px; }
.youxing-heading h1 { font-size: var(--section-title-size); line-height: 1.5; }
.youxing-heading p { margin-top: 8px; font-size: 16px; line-height: 26px; }
.youxing-main .feature-grid { gap: 20px; margin-bottom: 24px; }
.youxing-main .feature-card { height: auto; min-height: 180px; padding: 24px; gap: 20px; border-radius: 8px; }
.youxing-main .feature-card > div { min-width: 0; }
.youxing-main .feature-card h2 { margin-bottom: 12px; font-size: 24px; line-height: 34px; }
.youxing-main .feature-card p { font-size: 16px; line-height: 27px; overflow-wrap: anywhere; }
.youxing-main .feature-icon { width: 72px; height: 72px; font-size: 36px; }
.tixi-page .course-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; min-height: 0; }
.tixi-page .course-gallery, .tixi-page .course-main-swiper, .tixi-page .course-thumb-swiper { width: 100%; }
.tixi-page .course-main-swiper, .tixi-page .course-main-swiper .swiper-slide { height: auto; aspect-ratio: 680/456; border-radius: 8px; }
.tixi-page .course-main-swiper .course-slide-image { border-radius: 8px; }
.tixi-page .course-thumb-swiper { height: auto; aspect-ratio: 680/108; margin-top: 14px; }
.tixi-page .course-thumb-swiper .swiper-slide { height: auto; border-radius: 6px; }
.tixi-page .course-thumb-swiper .course-slide-image { border-radius: 6px; }
.tixi-page .course-copy h1 { font-size: 28px; line-height: 42px; letter-spacing: 0; }
.tixi-page .title-underline { width: 280px; height: 14px; margin: -13px 0 24px; }
.tixi-page .course-intros { font-size: 16px; line-height: 28px; overflow-wrap: anywhere; }
.tixi-page .course-intros li, .tixi-page .course-intros p { margin-bottom: 16px; font-size: 16px; line-height: 28px; }
.tixi-page .course-intros li { padding-left: 22px; list-style: none; }
.tixi-page .course-intros .is-course-active { background-color: #fff1f3; border-radius: 6px; box-shadow: inset 3px 0 var(--red); }
.tixi-page .course-intros .is-course-active,
.tixi-page .course-intros .is-course-active * { color: var(--red) !important; }
.tixi-page .course-intros li::before { font-size: 21px; line-height: 28px; }
.tixi-page .site-footer { margin-top: 40px; }
@media (max-width: 1100px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-page .footer-main { grid-template-columns: 1fr 100px; }
  .home-page .news-item { grid-template-columns: minmax(0, 1fr) 30%; }
  .home-page .news-thumb { width: 100%; height: auto; }
  .news-page-list .news-item { grid-template-columns: minmax(0, 1fr) 30%; }
  .youxing-main .feature-card { padding: 20px; gap: 16px; }
  .youxing-main .feature-icon { width: 56px; height: 56px; font-size: 28px; }
  .tixi-page .course-gallery, .tixi-page .course-copy { max-width: 544px; }
  .tixi-page .course-gallery { margin-bottom: 28px; }
}
@media (max-width: 700px) {
  :root { --section-title-size: 24px; }
  .footer-links, .about-page .footer-links { font-size: 14px; line-height: 24px; }
  .detail-page .course-list.container, .detail-page .news-page-list.container { width: calc(100% - 40px); }
  .course-list, .news-page-list { padding-top: 28px; padding-bottom: 24px; }
  :is(.course-list, .youxing-main) .course-card { padding: 16px; }
  .course-list .course-heading h2, .youxing-main .course-heading h3 { font-size: 20px; line-height: 30px; }
  :is(.course-list, .youxing-main) .course-description ul { font-size: 14px; line-height: 26px; }
  :is(.course-list, .youxing-main) .course-meta p { font-size: 14px; line-height: 26px; }
  :is(.course-list, .youxing-main) .course-meta small { font-size: 11px; line-height: 20px; }
  .youxing-page .container, .tixi-page .container { width: calc(100% - 40px); }
  .youxing-page .youxing-main { padding-top: 12px; padding-bottom: 32px; }
  .youxing-page .breadcrumb, .tixi-page .breadcrumb { min-height: 48px; font-size: 12px; line-height: 20px; }
  .youxing-heading { margin-bottom: 24px; }
  .youxing-heading p { font-size: 14px; line-height: 24px; }
  .youxing-main .feature-grid { gap: 16px; }
  .youxing-main .feature-card { min-height: 0; padding: 18px; gap: 12px; }
  .youxing-main .feature-card h2 { font-size: 20px; line-height: 30px; }
  .youxing-main .feature-card p { font-size: 14px; line-height: 24px; }
  .youxing-main .feature-icon { width: 48px; height: 48px; font-size: 26px; }
  .tixi-page .course-copy h1 { font-size: 24px; line-height: 36px; }
  .tixi-page .title-underline { width: 240px; margin-bottom: 20px; }
  .tixi-page .course-intros, .tixi-page .course-intros li, .tixi-page .course-intros p { font-size: 14px; line-height: 26px; }
  .tixi-page .site-footer { margin-top: 32px; }
  .news-categories { gap: 16px; margin-bottom: 24px; }
  .news-category { width: 140px; min-height: 40px; padding: 6px 12px; font-size: 16px; }
  .news-page-list .news-item { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
  .news-page-list .news-copy h2 { font-size: 18px; line-height: 28px; }
  .news-page-list .news-copy p { font-size: 14px; line-height: 24px; }
  .news-page-list .news-copy time { font-size: 12px; line-height: 20px; }
  .detail-page .list-pagination { gap: 6px; margin-top: 24px; font-size: 12px; }
  .list-pagination .page-numbar { gap: 6px; }
  .list-pagination a { min-width: 34px; min-height: 36px; padding: 6px 8px; font-size: 12px; }
  .container, .tixi2-page .container, .detail-page .students-page.container, .home-page .teachers-viewport { width: calc(100% - 40px); }
  .home-page .hero { height: 520px; }
  .home-page .hero-content { padding-top: 330px; }
  .home-page .hero h1 { font-size: 23px; }
  .home-page .hero p { font-size: 14px; line-height: 24px; margin-top: 12px; }
  .home-page .hero-buttons { gap: 8px; margin-top: 16px; }
  .button { padding-inline: 10px; font-size: 13px; }
  .home-page .intro, .home-page .growth, .home-page .news, .home-page .certificates { padding-top: 40px; }
  .section-lead, .section-sub { font-size: 14px; line-height: 25px; }
  .feature-tab { font-size: 17px; gap: 6px; }
  .feature-tab img { width: 26px; height: 26px; }
  .feature-tab.active::after { width: 78px; }
  .pill { flex: 0 0 auto; font-size: 14px; }
  .home-page .course-card { padding: 16px; }
  .home-page .course-heading h3 { font-size: 20px; }
  .home-page .course-description ul { font-size: 14px; line-height: 26px; }
  .home-page .news-item { display: flex; gap: 16px; padding: 16px; }
  .home-page .news-copy h3 { font-size: 18px; line-height: 28px; }
  .home-page .news-thumb { width: 100%; }
  .segment { width: 140px; font-size: 16px; }
  .segmented { gap: 16px; }
  .home-page .certificate-stage { --certificate-width: 207px; --certificate-space: 24px; margin-top: 24px; }
  .certificate-slide img { height: 100%; }
  .certificate-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .certificate-list-grid img { height: 190px; }
  .certificate-list-grid h2 { font-size: 14px; line-height: 22px; }
  .student-carousel .student-card { height: 216px; }
  .system-info { display: block; }
  .system-info h2 { font-size: 18px; line-height: 28px; }
  .system-info p { font-size: 14px; }
  .system-link { margin-top: 12px; font-size: 14px; }
  .about-intro { padding-top: 32px; }
  .about-copy > p, .about-fields { font-size: 14px; line-height: 26px; }
  .about-values { grid-auto-rows: minmax(136px, auto); }
  .value-card { padding: 18px 8px; }
  .value-card h2 { font-size: 21px; line-height: 32px; }
  .value-card p { font-size: 13px; line-height: 22px; }
  .history { height: 450px; padding-top: 40px; background-size: auto 320px; }
  .history::before { top: 175px; }
  .timeline-track { padding-top: 112px; }
  .about-faq { padding-block: 40px; }
  .faq-item summary { font-size: 17px; line-height: 28px; }
  .faq-answer { font-size: 14px; line-height: 26px; }
  .about-page .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-qrcodes { gap: 16px; }
  .footer-qrcodes figure, .footer-qrcodes img { width: 80px; }
  .footer-qrcodes img { height: 80px; }
  .footer-qrcodes figcaption { font-size: 14px; }
  body { padding-bottom: 56px; }
  .quick-actions { left: 0; right: 0; bottom: 0; width: 100%; display: flex; border-radius: 0; }
  .quick-actions button { flex: 1; height: 56px; gap: 2px; }
  .quick-actions img { width: 22px; height: 22px; }
  .quick-actions button + button::before { left: 0; top: 12px; width: 1px; height: 32px; }
}
