/* Final Traditional Chinese locale safeguard.
   This file is loaded directly by /education/zh-tw/ after all shared styles.
   Important: CSS generated content is invisible to the JS text converter, so
   every Chinese pseudo-element that can appear on the Traditional page is
   overridden here as well. */
html[data-education-locale="zh-TW"] .hero-thesis{
  font-size:clamp(37px,3.25vw,48px)!important;
  line-height:1.17!important;
  letter-spacing:-.034em!important;
  font-weight:620!important;
  color:#111317!important;
  white-space:normal!important;
}
html[data-education-locale="zh-TW"] .hero-thesis::before,
html[lang^="zh-Hant"] .hero-thesis::before{
  content:none!important;
  display:none!important;
}

/* Shared styles contain several Simplified-Chinese strings in pseudo-elements.
   They bypass DOM conversion, so pin their Traditional equivalents here. */
html[data-education-locale="zh-TW"] .feedback-shot--wall-crop figcaption::after{
  content:"課程回饋"!important;
}
html[data-education-locale="zh-TW"] .student-media-grid .student-shot:last-child figcaption::after{
  content:"真實課程回饋"!important;
}
html[data-education-locale="zh-TW"] .contact-copy h2::before{
  content:"日本學部留學諮詢"!important;
}
html[data-education-locale="zh-TW"] #course-2026 .year-course-card:nth-child(2) .year-course-flow::before{
  content:"專題演習 · 14h"!important;
}
html[data-education-locale="zh-TW"] #course-2026 .year-course-card:nth-child(2) .year-course-flow::after{
  content:"真題整卷 · 10h"!important;
}

@media(max-width:767px){
  html[data-education-locale="zh-TW"] .hero-thesis{font-size:29px!important;line-height:1.19!important}
}
@media(max-width:390px){
  html[data-education-locale="zh-TW"] .hero-thesis{font-size:27px!important}
}
